Skip to content

Commit 0e46a00

Browse files
committed
MINOR: empty commit to release lib with xkt chunk
1 parent 83e88fa commit 0e46a00

21 files changed

+1036
-34
lines changed

.openapi-generator/FILES

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,10 @@ bimdata-api-client/model/web_hook.py
259259
bimdata-api-client/model/web_hook_request.py
260260
bimdata-api-client/model/write_folder.py
261261
bimdata-api-client/model/write_folder_request.py
262+
bimdata-api-client/model/xkt_chunk.py
263+
bimdata-api-client/model/xkt_chunk_request.py
262264
bimdata-api-client/model/xkt_file.py
265+
bimdata-api-client/model/xkt_file_request.py
263266
bimdata-api-client/model/zone.py
264267
bimdata-api-client/model/zone_request.py
265268
bimdata-api-client/model/zone_space.py
@@ -518,7 +521,10 @@ docs/WebHookRequest.md
518521
docs/WebhookApi.md
519522
docs/WriteFolder.md
520523
docs/WriteFolderRequest.md
524+
docs/XktChunk.md
525+
docs/XktChunkRequest.md
521526
docs/XktFile.md
527+
docs/XktFileRequest.md
522528
docs/Zone.md
523529
docs/ZoneRequest.md
524530
docs/ZoneSpace.md
@@ -778,7 +784,10 @@ test/test_web_hook_request.py
778784
test/test_webhook_api.py
779785
test/test_write_folder.py
780786
test/test_write_folder_request.py
787+
test/test_xkt_chunk.py
788+
test/test_xkt_chunk_request.py
781789
test/test_xkt_file.py
790+
test/test_xkt_file_request.py
782791
test/test_zone.py
783792
test/test_zone_request.py
784793
test/test_zone_space.py

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,10 @@ Class | Method | HTTP request | Description
748748
- [WebHookRequest](docs/WebHookRequest.md)
749749
- [WriteFolder](docs/WriteFolder.md)
750750
- [WriteFolderRequest](docs/WriteFolderRequest.md)
751+
- [XktChunk](docs/XktChunk.md)
752+
- [XktChunkRequest](docs/XktChunkRequest.md)
751753
- [XktFile](docs/XktFile.md)
754+
- [XktFileRequest](docs/XktFileRequest.md)
752755
- [Zone](docs/Zone.md)
753756
- [ZoneRequest](docs/ZoneRequest.md)
754757
- [ZoneSpace](docs/ZoneSpace.md)

bimdata-api-client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8815,7 +8815,7 @@ def create_document(
88158815
):
88168816
"""Create a document # noqa: E501
88178817

8818-
Create a document. If the document is one of {'GLTF', 'OBJ', 'IFC', 'POINT_CLOUD', 'DWG', 'DXF'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
8818+
Create a document. If the document is one of {'GLTF', 'IFC', 'POINT_CLOUD', 'DWG', 'DXF', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
88198819
This method makes a synchronous HTTP request by default. To make an
88208820
asynchronous HTTP request, please pass async_req=True
88218821

bimdata-api-client/api/model_api.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3363,6 +3363,7 @@ def __init__(self, api_client=None):
33633363
'project_pk',
33643364
'version',
33653365
'file',
3366+
'chunks',
33663367
],
33673368
'required': [
33683369
'cloud_pk',
@@ -3400,22 +3401,27 @@ def __init__(self, api_client=None):
34003401
(int,),
34013402
'file':
34023403
(file_type,),
3404+
'chunks':
3405+
([file_type],),
34033406
},
34043407
'attribute_map': {
34053408
'cloud_pk': 'cloud_pk',
34063409
'id': 'id',
34073410
'project_pk': 'project_pk',
34083411
'version': 'version',
34093412
'file': 'file',
3413+
'chunks': 'chunks',
34103414
},
34113415
'location_map': {
34123416
'cloud_pk': 'path',
34133417
'id': 'path',
34143418
'project_pk': 'path',
34153419
'version': 'form',
34163420
'file': 'form',
3421+
'chunks': 'form',
34173422
},
34183423
'collection_format_map': {
3424+
'chunks': 'csv',
34193425
}
34203426
},
34213427
headers_map={
@@ -15872,6 +15878,7 @@ def create_xkt_file(
1587215878
file (file_type):
1587315879

1587415880
Keyword Args:
15881+
chunks ([file_type]): [optional]
1587515882
_return_http_data_only (bool): response data without head status
1587615883
code and headers. Default is True.
1587715884
_preload_content (bool): if False, the urllib3.HTTPResponse object

bimdata-api-client/model/write_folder.py

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ def openapi_types():
107107
"""
108108
lazy_import()
109109
return {
110-
'updated_at': (datetime,), # noqa: E501
111-
'id': (int,), # noqa: E501
112-
'type': (str,), # noqa: E501
110+
'created_at': (datetime,), # noqa: E501
113111
'user_permission': (int,), # noqa: E501
114112
'name': (str,), # noqa: E501
115-
'created_at': (datetime,), # noqa: E501
113+
'groups_permissions': ([GroupFolderRead],), # noqa: E501
114+
'id': (int,), # noqa: E501
115+
'type': (str,), # noqa: E501
116116
'nature': (str,), # noqa: E501
117117
'created_by': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
118-
'groups_permissions': ([GroupFolderRead],), # noqa: E501
118+
'updated_at': (datetime,), # noqa: E501
119119
'parent_id': (int, none_type,), # noqa: E501
120120
'default_permission': (int,), # noqa: E501
121121
'children': ([WriteFolder], none_type,), # noqa: E501
@@ -127,48 +127,48 @@ def discriminator():
127127

128128

129129
attribute_map = {
130-
'updated_at': 'updated_at', # noqa: E501
131-
'id': 'id', # noqa: E501
132-
'type': 'type', # noqa: E501
130+
'created_at': 'created_at', # noqa: E501
133131
'user_permission': 'user_permission', # noqa: E501
134132
'name': 'name', # noqa: E501
135-
'created_at': 'created_at', # noqa: E501
133+
'groups_permissions': 'groups_permissions', # noqa: E501
134+
'id': 'id', # noqa: E501
135+
'type': 'type', # noqa: E501
136136
'nature': 'nature', # noqa: E501
137137
'created_by': 'created_by', # noqa: E501
138-
'groups_permissions': 'groups_permissions', # noqa: E501
138+
'updated_at': 'updated_at', # noqa: E501
139139
'parent_id': 'parent_id', # noqa: E501
140140
'default_permission': 'default_permission', # noqa: E501
141141
'children': 'children', # noqa: E501
142142
}
143143

144144
read_only_vars = {
145-
'updated_at', # noqa: E501
145+
'created_at', # noqa: E501
146+
'user_permission', # noqa: E501
147+
'groups_permissions', # noqa: E501
146148
'id', # noqa: E501
147149
'type', # noqa: E501
148-
'user_permission', # noqa: E501
149-
'created_at', # noqa: E501
150150
'nature', # noqa: E501
151151
'created_by', # noqa: E501
152-
'groups_permissions', # noqa: E501
152+
'updated_at', # noqa: E501
153153
}
154154

155155
_composed_schemas = {}
156156

157157
@classmethod
158158
@convert_js_args_to_python_args
159-
def _from_openapi_data(cls, updated_at, id, type, user_permission, name, created_at, nature, created_by, groups_permissions, *args, **kwargs): # noqa: E501
159+
def _from_openapi_data(cls, created_at, user_permission, name, groups_permissions, id, type, nature, created_by, updated_at, *args, **kwargs): # noqa: E501
160160
"""WriteFolder - a model defined in OpenAPI
161161
162162
Args:
163-
updated_at (datetime): Date of the last update
164-
id (int):
165-
type (str): DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files
163+
created_at (datetime): Creation date
166164
user_permission (int): Aggregate of group user permissions and folder default permission
167165
name (str): Name of the folder
168-
created_at (datetime): Creation date
166+
groups_permissions ([GroupFolderRead]): List of group permissions
167+
id (int):
168+
type (str): DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files
169169
nature (str): Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files
170170
created_by (bool, date, datetime, dict, float, int, list, str, none_type):
171-
groups_permissions ([GroupFolderRead]): List of group permissions
171+
updated_at (datetime): Date of the last update
172172
173173
Keyword Args:
174174
_check_type (bool): if True, values for parameters in openapi_types
@@ -231,15 +231,15 @@ def _from_openapi_data(cls, updated_at, id, type, user_permission, name, created
231231
self._configuration = _configuration
232232
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
233233

234-
self.updated_at = updated_at
235-
self.id = id
236-
self.type = type
234+
self.created_at = created_at
237235
self.user_permission = user_permission
238236
self.name = name
239-
self.created_at = created_at
237+
self.groups_permissions = groups_permissions
238+
self.id = id
239+
self.type = type
240240
self.nature = nature
241241
self.created_by = created_by
242-
self.groups_permissions = groups_permissions
242+
self.updated_at = updated_at
243243
for var_name, var_value in kwargs.items():
244244
if var_name not in self.attribute_map and \
245245
self._configuration is not None and \

0 commit comments

Comments
 (0)