Skip to content

Commit 4afbee7

Browse files
committed
PATCH: add office_preview to dms-tree serializer
1 parent 0f1e051 commit 4afbee7

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

bimdata_api_client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8303,7 +8303,7 @@ def create_document(
83038303
):
83048304
"""Create a document # noqa: E501
83058305

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

bimdata_api_client/model/recursive_folder_children.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def openapi_types():
143143
'description': (str, none_type,), # noqa: E501
144144
'size': (int, none_type,), # noqa: E501
145145
'file': (str, none_type,), # noqa: E501
146+
'office_preview': (str, none_type,), # noqa: E501
146147
'children': ([RecursiveFolderChildren], none_type,), # noqa: E501
147148
}
148149

@@ -172,6 +173,7 @@ def discriminator():
172173
'description': 'description', # noqa: E501
173174
'size': 'size', # noqa: E501
174175
'file': 'file', # noqa: E501
176+
'office_preview': 'office_preview', # noqa: E501
175177
'children': 'children', # noqa: E501
176178
}
177179

@@ -249,6 +251,7 @@ def _from_openapi_data(cls, id, parent_id, type, nature, model_type, name, creat
249251
description (str, none_type): [optional] # noqa: E501
250252
size (int, none_type): [optional] # noqa: E501
251253
file (str, none_type): [optional] # noqa: E501
254+
office_preview (str, none_type): [optional] # noqa: E501
252255
children ([RecursiveFolderChildren], none_type): [optional] # noqa: E501
253256
"""
254257

@@ -356,6 +359,7 @@ def __init__(self, id, name, created_at, updated_at, *args, **kwargs): # noqa:
356359
description (str, none_type): [optional] # noqa: E501
357360
size (int, none_type): [optional] # noqa: E501
358361
file (str, none_type): [optional] # noqa: E501
362+
office_preview (str, none_type): [optional] # noqa: E501
359363
children ([RecursiveFolderChildren], none_type): [optional] # noqa: E501
360364
"""
361365

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ Name | Type | Description | Notes
15261526
15271527
Create a document
15281528

1529-
Create a document. If the document is one of {'OBJ', 'IFC', 'DWG', 'POINT_CLOUD', 'GLTF', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
1529+
Create a document. If the document is one of {'IFC', 'DXF', 'DWG', 'GLTF', 'OBJ', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write
15301530

15311531
### Example
15321532

docs/RecursiveFolderChildren.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
2424
**description** | **str, none_type** | | [optional]
2525
**size** | **int, none_type** | | [optional]
2626
**file** | **str, none_type** | | [optional]
27+
**office_preview** | **str, none_type** | | [optional]
2728
**children** | [**[RecursiveFolderChildren], none_type**](RecursiveFolderChildren.md) | | [optional]
2829
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
2930

0 commit comments

Comments
 (0)