Skip to content

Commit fafac8e

Browse files
committed
PATCH: ModelOnModel lib API release (empty commit to trigger CI)
1 parent 08a0ef7 commit fafac8e

30 files changed

+3346
-261
lines changed

.openapi-generator/FILES

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,11 @@ bimdata_api_client/model/model_document_request.py
109109
bimdata_api_client/model/model_errors.py
110110
bimdata_api_client/model/model_errors_request.py
111111
bimdata_api_client/model/model_files.py
112+
bimdata_api_client/model/model_in_model_position.py
112113
bimdata_api_client/model/model_label.py
113114
bimdata_api_client/model/model_label_request.py
115+
bimdata_api_client/model/model_on_model_position.py
116+
bimdata_api_client/model/model_on_model_position_request.py
114117
bimdata_api_client/model/model_property.py
115118
bimdata_api_client/model/model_serializer_without_children.py
116119
bimdata_api_client/model/model_with_positioning_plan.py
@@ -135,6 +138,7 @@ bimdata_api_client/model/patched_ifc_access_token_request.py
135138
bimdata_api_client/model/patched_layer_request.py
136139
bimdata_api_client/model/patched_mask2_d_request.py
137140
bimdata_api_client/model/patched_model_label_request.py
141+
bimdata_api_client/model/patched_model_on_model_position_request.py
138142
bimdata_api_client/model/patched_model_request.py
139143
bimdata_api_client/model/patched_pin_request.py
140144
bimdata_api_client/model/patched_positioning_plan_request.py
@@ -385,8 +389,11 @@ docs/ModelDocumentRequest.md
385389
docs/ModelErrors.md
386390
docs/ModelErrorsRequest.md
387391
docs/ModelFiles.md
392+
docs/ModelInModelPosition.md
388393
docs/ModelLabel.md
389394
docs/ModelLabelRequest.md
395+
docs/ModelOnModelPosition.md
396+
docs/ModelOnModelPositionRequest.md
390397
docs/ModelProperty.md
391398
docs/ModelSerializerWithoutChildren.md
392399
docs/ModelWithPositioningPlan.md
@@ -411,6 +418,7 @@ docs/PatchedIfcAccessTokenRequest.md
411418
docs/PatchedLayerRequest.md
412419
docs/PatchedMask2DRequest.md
413420
docs/PatchedModelLabelRequest.md
421+
docs/PatchedModelOnModelPositionRequest.md
414422
docs/PatchedModelRequest.md
415423
docs/PatchedPinRequest.md
416424
docs/PatchedPositioningPlanRequest.md
@@ -664,8 +672,11 @@ test/test_model_document_request.py
664672
test/test_model_errors.py
665673
test/test_model_errors_request.py
666674
test/test_model_files.py
675+
test/test_model_in_model_position.py
667676
test/test_model_label.py
668677
test/test_model_label_request.py
678+
test/test_model_on_model_position.py
679+
test/test_model_on_model_position_request.py
669680
test/test_model_property.py
670681
test/test_model_serializer_without_children.py
671682
test/test_model_with_positioning_plan.py
@@ -690,6 +701,7 @@ test/test_patched_ifc_access_token_request.py
690701
test/test_patched_layer_request.py
691702
test/test_patched_mask2_d_request.py
692703
test/test_patched_model_label_request.py
704+
test/test_patched_model_on_model_position_request.py
693705
test/test_patched_model_request.py
694706
test/test_patched_pin_request.py
695707
test/test_patched_positioning_plan_request.py

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ Class | Method | HTTP request | Description
372372
*ModelApi* | [**create_multi_page_model**](docs/ModelApi.md#create_multi_page_model) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/create-multipage-model | Create a multi page model
373373
*ModelApi* | [**create_photosphere**](docs/ModelApi.md#create_photosphere) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/create-photosphere | Create a photopshere model from an image file
374374
*ModelApi* | [**create_photosphere_building**](docs/ModelApi.md#create_photosphere_building) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/create-photosphere-building | Create an empty Photosphere Building Model
375+
*ModelApi* | [**create_postioned_model**](docs/ModelApi.md#create_postioned_model) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/positioned-model | Add a child model and it's position on the model
375376
*ModelApi* | [**create_property_set**](docs/ModelApi.md#create_property_set) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/propertyset | Create one or many PropertySet
376377
*ModelApi* | [**create_property_set_element_relations**](docs/ModelApi.md#create_property_set_element_relations) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/propertyset-element | Create association between PropertySet and element
377378
*ModelApi* | [**create_raw_elements**](docs/ModelApi.md#create_raw_elements) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/raw | Create elements in an optimized format
@@ -396,6 +397,7 @@ Class | Method | HTTP request | Description
396397
*ModelApi* | [**delete_model_property_definition**](docs/ModelApi.md#delete_model_property_definition) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/propertydefinition/{id} | Delete a PropertyDefinitions of a model
397398
*ModelApi* | [**delete_model_unit**](docs/ModelApi.md#delete_model_unit) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/unit/{id} | Delete a Unit of a model
398399
*ModelApi* | [**delete_model_without_doc**](docs/ModelApi.md#delete_model_without_doc) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/delete-model | Delete the Model without deleting the related document
400+
*ModelApi* | [**delete_postioned_model**](docs/ModelApi.md#delete_postioned_model) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/positioned-model/{id} | Remove a child model and its position from the model
399401
*ModelApi* | [**delete_property_set**](docs/ModelApi.md#delete_property_set) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/propertyset/{id} | Delete a PropertySet of a model
400402
*ModelApi* | [**delete_space**](docs/ModelApi.md#delete_space) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/space/{id} | Delete a space
401403
*ModelApi* | [**delete_storey**](docs/ModelApi.md#delete_storey) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/storey/{uuid} | Delete a storey of a model
@@ -443,6 +445,8 @@ Class | Method | HTTP request | Description
443445
*ModelApi* | [**get_model_unit**](docs/ModelApi.md#get_model_unit) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/unit/{id} | Retrieve a Unit of a model
444446
*ModelApi* | [**get_model_units**](docs/ModelApi.md#get_model_units) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/unit | Retrieve all Units of a model
445447
*ModelApi* | [**get_models**](docs/ModelApi.md#get_models) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model | Retrieve all models
448+
*ModelApi* | [**get_postioned_model**](docs/ModelApi.md#get_postioned_model) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/positioned-model/{id} | Retrieve one specific child model & position on the model
449+
*ModelApi* | [**get_postioned_models**](docs/ModelApi.md#get_postioned_models) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/positioned-model | Retrieve all positioned child model & positions on the model
446450
*ModelApi* | [**get_processor_handler**](docs/ModelApi.md#get_processor_handler) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/processorhandler/{id} | Retrieve a processor handler
447451
*ModelApi* | [**get_processor_handlers**](docs/ModelApi.md#get_processor_handlers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/processorhandler | Get all processor handlers
448452
*ModelApi* | [**get_properties_types**](docs/ModelApi.md#get_properties_types) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/properties | Retrieve all property types and their value type used in this model
@@ -466,6 +470,7 @@ Class | Method | HTTP request | Description
466470
*ModelApi* | [**get_zones**](docs/ModelApi.md#get_zones) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone | Retrieve zones of a model
467471
*ModelApi* | [**link_documents_of_element**](docs/ModelApi.md#link_documents_of_element) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{element_uuid}/documents | Link one or many documents to an element
468472
*ModelApi* | [**list_classification_element_relations**](docs/ModelApi.md#list_classification_element_relations) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/classification-element | List all associations between classifications and elements
473+
*ModelApi* | [**list_models_positioned_in**](docs/ModelApi.md#list_models_positioned_in) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/positioned-in | List all models where the model is positioned in
469474
*ModelApi* | [**merge_ifcs**](docs/ModelApi.md#merge_ifcs) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/merge | Merge IFC files
470475
*ModelApi* | [**optimize_ifc**](docs/ModelApi.md#optimize_ifc) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/optimize | Optimize the IFC
471476
*ModelApi* | [**remove_all_element_property_set**](docs/ModelApi.md#remove_all_element_property_set) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{element_uuid}/propertyset/all | Remove all property sets from element
@@ -495,6 +500,7 @@ Class | Method | HTTP request | Description
495500
*ModelApi* | [**update_order_building_plan**](docs/ModelApi.md#update_order_building_plan) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/building/{building_uuid}/plan/order | Update order of all plan of a building
496501
*ModelApi* | [**update_order_storey_plan**](docs/ModelApi.md#update_order_storey_plan) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/storey/{storey_uuid}/plan/order | Update order of all plan of a storey
497502
*ModelApi* | [**update_order_storeys**](docs/ModelApi.md#update_order_storeys) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/storey/order | Update order of all storey of a model
503+
*ModelApi* | [**update_postioned_model**](docs/ModelApi.md#update_postioned_model) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/positioned-model/{id} | Update the position of a child model on the model
498504
*ModelApi* | [**update_processor_handler**](docs/ModelApi.md#update_processor_handler) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/processorhandler/{id} | Update the status of a processor handler
499505
*ModelApi* | [**update_property_set**](docs/ModelApi.md#update_property_set) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/propertyset/{id} | Update some fields of a PropertySet
500506
*ModelApi* | [**update_space**](docs/ModelApi.md#update_space) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/space/{id} | Update some fields of a space
@@ -620,8 +626,11 @@ Class | Method | HTTP request | Description
620626
- [ModelErrors](docs/ModelErrors.md)
621627
- [ModelErrorsRequest](docs/ModelErrorsRequest.md)
622628
- [ModelFiles](docs/ModelFiles.md)
629+
- [ModelInModelPosition](docs/ModelInModelPosition.md)
623630
- [ModelLabel](docs/ModelLabel.md)
624631
- [ModelLabelRequest](docs/ModelLabelRequest.md)
632+
- [ModelOnModelPosition](docs/ModelOnModelPosition.md)
633+
- [ModelOnModelPositionRequest](docs/ModelOnModelPositionRequest.md)
625634
- [ModelProperty](docs/ModelProperty.md)
626635
- [ModelSerializerWithoutChildren](docs/ModelSerializerWithoutChildren.md)
627636
- [ModelWithPositioningPlan](docs/ModelWithPositioningPlan.md)
@@ -646,6 +655,7 @@ Class | Method | HTTP request | Description
646655
- [PatchedLayerRequest](docs/PatchedLayerRequest.md)
647656
- [PatchedMask2DRequest](docs/PatchedMask2DRequest.md)
648657
- [PatchedModelLabelRequest](docs/PatchedModelLabelRequest.md)
658+
- [PatchedModelOnModelPositionRequest](docs/PatchedModelOnModelPositionRequest.md)
649659
- [PatchedModelRequest](docs/PatchedModelRequest.md)
650660
- [PatchedPinRequest](docs/PatchedPinRequest.md)
651661
- [PatchedPositioningPlanRequest](docs/PatchedPositioningPlanRequest.md)

bimdata_api_client/api/collaboration_api.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3469,6 +3469,7 @@ def __init__(self, api_client=None):
34693469
'file_name__contains',
34703470
'file_name__endswith',
34713471
'file_name__startswith',
3472+
'file_type',
34723473
'has__visa',
34733474
'id__in',
34743475
'name',
@@ -3562,6 +3563,8 @@ def __init__(self, api_client=None):
35623563
(str,),
35633564
'file_name__startswith':
35643565
(str,),
3566+
'file_type':
3567+
(str,),
35653568
'has__visa':
35663569
(bool,),
35673570
'id__in':
@@ -3619,6 +3622,7 @@ def __init__(self, api_client=None):
36193622
'file_name__contains': 'file_name__contains',
36203623
'file_name__endswith': 'file_name__endswith',
36213624
'file_name__startswith': 'file_name__startswith',
3625+
'file_type': 'file_type',
36223626
'has__visa': 'has__visa',
36233627
'id__in': 'id__in',
36243628
'name': 'name',
@@ -3655,6 +3659,7 @@ def __init__(self, api_client=None):
36553659
'file_name__contains': 'query',
36563660
'file_name__endswith': 'query',
36573661
'file_name__startswith': 'query',
3662+
'file_type': 'query',
36583663
'has__visa': 'query',
36593664
'id__in': 'query',
36603665
'name': 'query',
@@ -3787,6 +3792,7 @@ def __init__(self, api_client=None):
37873792
'file_name__contains',
37883793
'file_name__endswith',
37893794
'file_name__startswith',
3795+
'file_type',
37903796
'has__visa',
37913797
'id__in',
37923798
'name',
@@ -3882,6 +3888,8 @@ def __init__(self, api_client=None):
38823888
(str,),
38833889
'file_name__startswith':
38843890
(str,),
3891+
'file_type':
3892+
(str,),
38853893
'has__visa':
38863894
(bool,),
38873895
'id__in':
@@ -3938,6 +3946,7 @@ def __init__(self, api_client=None):
39383946
'file_name__contains': 'file_name__contains',
39393947
'file_name__endswith': 'file_name__endswith',
39403948
'file_name__startswith': 'file_name__startswith',
3949+
'file_type': 'file_type',
39413950
'has__visa': 'has__visa',
39423951
'id__in': 'id__in',
39433952
'name': 'name',
@@ -3974,6 +3983,7 @@ def __init__(self, api_client=None):
39743983
'file_name__contains': 'query',
39753984
'file_name__endswith': 'query',
39763985
'file_name__startswith': 'query',
3986+
'file_type': 'query',
39773987
'has__visa': 'query',
39783988
'id__in': 'query',
39793989
'name': 'query',
@@ -8930,7 +8940,7 @@ def create_document(
89308940
):
89318941
"""Create a document # noqa: E501
89328942

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

@@ -12118,6 +12128,7 @@ def get_documents(
1211812128
file_name__contains (str): [optional]
1211912129
file_name__endswith (str): [optional]
1212012130
file_name__startswith (str): [optional]
12131+
file_type (str): [optional]
1212112132
has__visa (bool): [optional]
1212212133
id__in ([int]): Multiple values may be separated by commas.. [optional]
1212312134
name (str): [optional]
@@ -12320,6 +12331,7 @@ def get_folder_documents(
1232012331
file_name__contains (str): [optional]
1232112332
file_name__endswith (str): [optional]
1232212333
file_name__startswith (str): [optional]
12334+
file_type (str): [optional]
1232312335
has__visa (bool): [optional]
1232412336
id__in ([int]): Multiple values may be separated by commas.. [optional]
1232512337
name (str): [optional]

0 commit comments

Comments
 (0)