Skip to content

Commit 8c46d02

Browse files
committed
MINOR: labeling API on JPEG, PNG & PDF model (#870)
* Add basic labels. * WIP: label route for worker. * Add label retrieving at the org level. * Rename BCF Label view to avoid swagger warning about conflict * Add test for malicious requests on label routes. * Rename Model Label view & serialiser. * Rework color formating for label. * Compile the color regex. * Fix typo in help text describing color format.
1 parent 479d5b2 commit 8c46d02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2212
-201
lines changed

.openapi-generator/FILES

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
README.md
55
docs/Auth.md
66
docs/BcfApi.md
7+
docs/BcfLabel.md
8+
docs/BcfLabelRequest.md
79
docs/BcfProject.md
810
docs/BcfProjectRequest.md
911
docs/Building.md
@@ -55,6 +57,8 @@ docs/FolderWithoutChildren.md
5557
docs/FolderWithoutChildrenRequest.md
5658
docs/FullTopic.md
5759
docs/FullTopicRequest.md
60+
docs/Geometry2dPoint.md
61+
docs/Geometry2dPointRequest.md
5862
docs/GeometryPoint.md
5963
docs/GeometryPointRequest.md
6064
docs/Group.md
@@ -68,8 +72,6 @@ docs/IfcMergeRequest.md
6872
docs/IfcOptimizeRequest.md
6973
docs/ImportGroupRequest.md
7074
docs/Invitation.md
71-
docs/Label.md
72-
docs/LabelRequest.md
7375
docs/Layer.md
7476
docs/LayerElement.md
7577
docs/LayerElementRequest.md
@@ -95,12 +97,15 @@ docs/ModelDocumentRequest.md
9597
docs/ModelErrors.md
9698
docs/ModelErrorsRequest.md
9799
docs/ModelFiles.md
100+
docs/ModelLabel.md
101+
docs/ModelLabelRequest.md
98102
docs/ModelSerializerWithoutChildren.md
99103
docs/ModelWithPositioningPlan.md
100104
docs/Organization.md
101105
docs/OrganizationRequest.md
102106
docs/OrthogonalCamera.md
103107
docs/OrthogonalCameraRequest.md
108+
docs/PatchedBcfLabelRequest.md
104109
docs/PatchedBcfProjectRequest.md
105110
docs/PatchedClassificationRequest.md
106111
docs/PatchedCloudRequest.md
@@ -113,9 +118,9 @@ docs/PatchedFullTopicRequest.md
113118
docs/PatchedGroupFolderRequest.md
114119
docs/PatchedGroupRequest.md
115120
docs/PatchedIfcAccessTokenRequest.md
116-
docs/PatchedLabelRequest.md
117121
docs/PatchedLayerRequest.md
118122
docs/PatchedMask2DRequest.md
123+
docs/PatchedModelLabelRequest.md
119124
docs/PatchedModelRequest.md
120125
docs/PatchedPinRequest.md
121126
docs/PatchedPositioningPlanRequest.md
@@ -277,6 +282,8 @@ src/api/SsoApi.js
277282
src/api/WebhookApi.js
278283
src/index.js
279284
src/model/Auth.js
285+
src/model/BcfLabel.js
286+
src/model/BcfLabelRequest.js
280287
src/model/BcfProject.js
281288
src/model/BcfProjectRequest.js
282289
src/model/Building.js
@@ -327,6 +334,8 @@ src/model/FolderWithoutChildren.js
327334
src/model/FolderWithoutChildrenRequest.js
328335
src/model/FullTopic.js
329336
src/model/FullTopicRequest.js
337+
src/model/Geometry2dPoint.js
338+
src/model/Geometry2dPointRequest.js
330339
src/model/GeometryPoint.js
331340
src/model/GeometryPointRequest.js
332341
src/model/Group.js
@@ -340,8 +349,6 @@ src/model/IfcMergeRequest.js
340349
src/model/IfcOptimizeRequest.js
341350
src/model/ImportGroupRequest.js
342351
src/model/Invitation.js
343-
src/model/Label.js
344-
src/model/LabelRequest.js
345352
src/model/Layer.js
346353
src/model/LayerElement.js
347354
src/model/LayerElementRequest.js
@@ -366,12 +373,15 @@ src/model/ModelDocumentRequest.js
366373
src/model/ModelErrors.js
367374
src/model/ModelErrorsRequest.js
368375
src/model/ModelFiles.js
376+
src/model/ModelLabel.js
377+
src/model/ModelLabelRequest.js
369378
src/model/ModelSerializerWithoutChildren.js
370379
src/model/ModelWithPositioningPlan.js
371380
src/model/Organization.js
372381
src/model/OrganizationRequest.js
373382
src/model/OrthogonalCamera.js
374383
src/model/OrthogonalCameraRequest.js
384+
src/model/PatchedBcfLabelRequest.js
375385
src/model/PatchedBcfProjectRequest.js
376386
src/model/PatchedClassificationRequest.js
377387
src/model/PatchedCloudRequest.js
@@ -384,9 +394,9 @@ src/model/PatchedFullTopicRequest.js
384394
src/model/PatchedGroupFolderRequest.js
385395
src/model/PatchedGroupRequest.js
386396
src/model/PatchedIfcAccessTokenRequest.js
387-
src/model/PatchedLabelRequest.js
388397
src/model/PatchedLayerRequest.js
389398
src/model/PatchedMask2DRequest.js
399+
src/model/PatchedModelLabelRequest.js
390400
src/model/PatchedModelRequest.js
391401
src/model/PatchedPinRequest.js
392402
src/model/PatchedPositioningPlanRequest.js
@@ -542,6 +552,8 @@ test/api/ModelApi.spec.js
542552
test/api/SsoApi.spec.js
543553
test/api/WebhookApi.spec.js
544554
test/model/Auth.spec.js
555+
test/model/BcfLabel.spec.js
556+
test/model/BcfLabelRequest.spec.js
545557
test/model/BcfProject.spec.js
546558
test/model/BcfProjectRequest.spec.js
547559
test/model/Building.spec.js
@@ -592,6 +604,8 @@ test/model/FolderWithoutChildren.spec.js
592604
test/model/FolderWithoutChildrenRequest.spec.js
593605
test/model/FullTopic.spec.js
594606
test/model/FullTopicRequest.spec.js
607+
test/model/Geometry2dPoint.spec.js
608+
test/model/Geometry2dPointRequest.spec.js
595609
test/model/GeometryPoint.spec.js
596610
test/model/GeometryPointRequest.spec.js
597611
test/model/Group.spec.js
@@ -605,8 +619,6 @@ test/model/IfcMergeRequest.spec.js
605619
test/model/IfcOptimizeRequest.spec.js
606620
test/model/ImportGroupRequest.spec.js
607621
test/model/Invitation.spec.js
608-
test/model/Label.spec.js
609-
test/model/LabelRequest.spec.js
610622
test/model/Layer.spec.js
611623
test/model/LayerElement.spec.js
612624
test/model/LayerElementRequest.spec.js
@@ -631,12 +643,15 @@ test/model/ModelDocumentRequest.spec.js
631643
test/model/ModelErrors.spec.js
632644
test/model/ModelErrorsRequest.spec.js
633645
test/model/ModelFiles.spec.js
646+
test/model/ModelLabel.spec.js
647+
test/model/ModelLabelRequest.spec.js
634648
test/model/ModelSerializerWithoutChildren.spec.js
635649
test/model/ModelWithPositioningPlan.spec.js
636650
test/model/Organization.spec.js
637651
test/model/OrganizationRequest.spec.js
638652
test/model/OrthogonalCamera.spec.js
639653
test/model/OrthogonalCameraRequest.spec.js
654+
test/model/PatchedBcfLabelRequest.spec.js
640655
test/model/PatchedBcfProjectRequest.spec.js
641656
test/model/PatchedClassificationRequest.spec.js
642657
test/model/PatchedCloudRequest.spec.js
@@ -649,9 +664,9 @@ test/model/PatchedFullTopicRequest.spec.js
649664
test/model/PatchedGroupFolderRequest.spec.js
650665
test/model/PatchedGroupRequest.spec.js
651666
test/model/PatchedIfcAccessTokenRequest.spec.js
652-
test/model/PatchedLabelRequest.spec.js
653667
test/model/PatchedLayerRequest.spec.js
654668
test/model/PatchedMask2DRequest.spec.js
669+
test/model/PatchedModelLabelRequest.spec.js
655670
test/model/PatchedModelRequest.spec.js
656671
test/model/PatchedPinRequest.spec.js
657672
test/model/PatchedPositioningPlanRequest.spec.js

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ Class | Method | HTTP request | Description
331331
*bimdata.ModelApi* | [**createElementPropertySetProperty**](docs/ModelApi.md#createElementPropertySetProperty) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{element_uuid}/propertyset/{propertyset_pk}/property | Create a property to a PropertySet
332332
*bimdata.ModelApi* | [**createElementPropertySetPropertyDefinition**](docs/ModelApi.md#createElementPropertySetPropertyDefinition) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{element_uuid}/propertyset/{propertyset_pk}/property/{property_pk}/propertydefinition | Create a Definition to a Property
333333
*bimdata.ModelApi* | [**createElementPropertySetPropertyDefinitionUnit**](docs/ModelApi.md#createElementPropertySetPropertyDefinitionUnit) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{element_uuid}/propertyset/{propertyset_pk}/property/{property_pk}/propertydefinition/{propertydefinition_pk}/unit | Create a Unit to a Definition
334+
*bimdata.ModelApi* | [**createLabel**](docs/ModelApi.md#createLabel) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/label | Create a label in the model
334335
*bimdata.ModelApi* | [**createLayer**](docs/ModelApi.md#createLayer) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/layer | Create a layer in the model
335336
*bimdata.ModelApi* | [**createMask2D**](docs/ModelApi.md#createMask2D) | **PUT** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/mask-2d | Create or update a 2D mask for the model
336337
*bimdata.ModelApi* | [**createMetaBuilding**](docs/ModelApi.md#createMetaBuilding) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/create-metabuilding | Create an empty 3D Model
@@ -356,6 +357,7 @@ Class | Method | HTTP request | Description
356357
*bimdata.ModelApi* | [**deleteBuildingPlan**](docs/ModelApi.md#deleteBuildingPlan) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/building/{building_uuid}/plan/{id} | Delete the relation between a 2d model and a building
357358
*bimdata.ModelApi* | [**deleteDrawing**](docs/ModelApi.md#deleteDrawing) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/drawing/{id} | Delete a drawing of a model
358359
*bimdata.ModelApi* | [**deleteElement**](docs/ModelApi.md#deleteElement) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{uuid} | Delete an element of a model
360+
*bimdata.ModelApi* | [**deleteLabel**](docs/ModelApi.md#deleteLabel) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/label/{id} | Delete a label
359361
*bimdata.ModelApi* | [**deleteLayer**](docs/ModelApi.md#deleteLayer) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/layer/{id} | Delete a layer of a model
360362
*bimdata.ModelApi* | [**deleteMask2D**](docs/ModelApi.md#deleteMask2D) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/mask-2d | Delete the 2D mask for the model
361363
*bimdata.ModelApi* | [**deleteModel**](docs/ModelApi.md#deleteModel) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{id} | Delete a model
@@ -393,6 +395,8 @@ Class | Method | HTTP request | Description
393395
*bimdata.ModelApi* | [**getElementPropertySets**](docs/ModelApi.md#getElementPropertySets) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{element_uuid}/propertyset | Retrieve all PropertySets of an element
394396
*bimdata.ModelApi* | [**getElements**](docs/ModelApi.md#getElements) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element | Retrieve all elements of a model
395397
*bimdata.ModelApi* | [**getElementsFromClassification**](docs/ModelApi.md#getElementsFromClassification) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/classification/{model_classification_pk}/element | Retrieve all elements with the classification
398+
*bimdata.ModelApi* | [**getLabel**](docs/ModelApi.md#getLabel) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/label/{id} | Retrieve one label of the model
399+
*bimdata.ModelApi* | [**getLabels**](docs/ModelApi.md#getLabels) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/label | Retrieve all labels of the model
396400
*bimdata.ModelApi* | [**getLayer**](docs/ModelApi.md#getLayer) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/layer/{id} | Retrieve a layer of a model
397401
*bimdata.ModelApi* | [**getLayers**](docs/ModelApi.md#getLayers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/layer | Retrieve all layers of a model
398402
*bimdata.ModelApi* | [**getMaterial**](docs/ModelApi.md#getMaterial) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{element_uuid}/material/{id} | Retrieve a material of a model
@@ -446,6 +450,7 @@ Class | Method | HTTP request | Description
446450
*bimdata.ModelApi* | [**updateDrawing**](docs/ModelApi.md#updateDrawing) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/drawing/{id} | Update some fields of a drawing
447451
*bimdata.ModelApi* | [**updateElement**](docs/ModelApi.md#updateElement) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{uuid} | Update some fields of an element
448452
*bimdata.ModelApi* | [**updateElementPropertySetProperty**](docs/ModelApi.md#updateElementPropertySetProperty) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/{element_uuid}/propertyset/{propertyset_pk}/property/{id} | Update a property from an element
453+
*bimdata.ModelApi* | [**updateLabel**](docs/ModelApi.md#updateLabel) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/label/{id} | Update some fields of a label
449454
*bimdata.ModelApi* | [**updateLayer**](docs/ModelApi.md#updateLayer) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/layer/{id} | Update some fields of a layer
450455
*bimdata.ModelApi* | [**updateMask2D**](docs/ModelApi.md#updateMask2D) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/mask-2d | Partial update of a 2D mask for the model
451456
*bimdata.ModelApi* | [**updateModel**](docs/ModelApi.md#updateModel) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/model/{id} | Update some fields of a model
@@ -488,6 +493,8 @@ Class | Method | HTTP request | Description
488493
## Documentation for Models
489494

490495
- [bimdata.Auth](docs/Auth.md)
496+
- [bimdata.BcfLabel](docs/BcfLabel.md)
497+
- [bimdata.BcfLabelRequest](docs/BcfLabelRequest.md)
491498
- [bimdata.BcfProject](docs/BcfProject.md)
492499
- [bimdata.BcfProjectRequest](docs/BcfProjectRequest.md)
493500
- [bimdata.Building](docs/Building.md)
@@ -538,6 +545,8 @@ Class | Method | HTTP request | Description
538545
- [bimdata.FolderWithoutChildrenRequest](docs/FolderWithoutChildrenRequest.md)
539546
- [bimdata.FullTopic](docs/FullTopic.md)
540547
- [bimdata.FullTopicRequest](docs/FullTopicRequest.md)
548+
- [bimdata.Geometry2dPoint](docs/Geometry2dPoint.md)
549+
- [bimdata.Geometry2dPointRequest](docs/Geometry2dPointRequest.md)
541550
- [bimdata.GeometryPoint](docs/GeometryPoint.md)
542551
- [bimdata.GeometryPointRequest](docs/GeometryPointRequest.md)
543552
- [bimdata.Group](docs/Group.md)
@@ -551,8 +560,6 @@ Class | Method | HTTP request | Description
551560
- [bimdata.IfcOptimizeRequest](docs/IfcOptimizeRequest.md)
552561
- [bimdata.ImportGroupRequest](docs/ImportGroupRequest.md)
553562
- [bimdata.Invitation](docs/Invitation.md)
554-
- [bimdata.Label](docs/Label.md)
555-
- [bimdata.LabelRequest](docs/LabelRequest.md)
556563
- [bimdata.Layer](docs/Layer.md)
557564
- [bimdata.LayerElement](docs/LayerElement.md)
558565
- [bimdata.LayerElementRequest](docs/LayerElementRequest.md)
@@ -577,12 +584,15 @@ Class | Method | HTTP request | Description
577584
- [bimdata.ModelErrors](docs/ModelErrors.md)
578585
- [bimdata.ModelErrorsRequest](docs/ModelErrorsRequest.md)
579586
- [bimdata.ModelFiles](docs/ModelFiles.md)
587+
- [bimdata.ModelLabel](docs/ModelLabel.md)
588+
- [bimdata.ModelLabelRequest](docs/ModelLabelRequest.md)
580589
- [bimdata.ModelSerializerWithoutChildren](docs/ModelSerializerWithoutChildren.md)
581590
- [bimdata.ModelWithPositioningPlan](docs/ModelWithPositioningPlan.md)
582591
- [bimdata.Organization](docs/Organization.md)
583592
- [bimdata.OrganizationRequest](docs/OrganizationRequest.md)
584593
- [bimdata.OrthogonalCamera](docs/OrthogonalCamera.md)
585594
- [bimdata.OrthogonalCameraRequest](docs/OrthogonalCameraRequest.md)
595+
- [bimdata.PatchedBcfLabelRequest](docs/PatchedBcfLabelRequest.md)
586596
- [bimdata.PatchedBcfProjectRequest](docs/PatchedBcfProjectRequest.md)
587597
- [bimdata.PatchedClassificationRequest](docs/PatchedClassificationRequest.md)
588598
- [bimdata.PatchedCloudRequest](docs/PatchedCloudRequest.md)
@@ -595,9 +605,9 @@ Class | Method | HTTP request | Description
595605
- [bimdata.PatchedGroupFolderRequest](docs/PatchedGroupFolderRequest.md)
596606
- [bimdata.PatchedGroupRequest](docs/PatchedGroupRequest.md)
597607
- [bimdata.PatchedIfcAccessTokenRequest](docs/PatchedIfcAccessTokenRequest.md)
598-
- [bimdata.PatchedLabelRequest](docs/PatchedLabelRequest.md)
599608
- [bimdata.PatchedLayerRequest](docs/PatchedLayerRequest.md)
600609
- [bimdata.PatchedMask2DRequest](docs/PatchedMask2DRequest.md)
610+
- [bimdata.PatchedModelLabelRequest](docs/PatchedModelLabelRequest.md)
601611
- [bimdata.PatchedModelRequest](docs/PatchedModelRequest.md)
602612
- [bimdata.PatchedPinRequest](docs/PatchedPinRequest.md)
603613
- [bimdata.PatchedPositioningPlanRequest](docs/PatchedPositioningPlanRequest.md)

docs/BcfApi.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
133133

134134
## createExtensionLabel
135135

136-
> Label createExtensionLabel(projectsPk, labelRequest)
136+
> BcfLabel createExtensionLabel(projectsPk, bcfLabelRequest)
137137
138138
Create a Label
139139

@@ -157,8 +157,8 @@ Bearer.apiKey = 'YOUR API KEY';
157157

158158
let apiInstance = new bimdata.BcfApi();
159159
let projectsPk = 56; // Number |
160-
let labelRequest = new bimdata.LabelRequest(); // LabelRequest |
161-
apiInstance.createExtensionLabel(projectsPk, labelRequest).then((data) => {
160+
let bcfLabelRequest = new bimdata.BcfLabelRequest(); // BcfLabelRequest |
161+
apiInstance.createExtensionLabel(projectsPk, bcfLabelRequest).then((data) => {
162162
console.log('API called successfully. Returned data: ' + data);
163163
}, (error) => {
164164
console.error(error);
@@ -172,11 +172,11 @@ apiInstance.createExtensionLabel(projectsPk, labelRequest).then((data) => {
172172
Name | Type | Description | Notes
173173
------------- | ------------- | ------------- | -------------
174174
**projectsPk** | **Number**| |
175-
**labelRequest** | [**LabelRequest**](LabelRequest.md)| |
175+
**bcfLabelRequest** | [**BcfLabelRequest**](BcfLabelRequest.md)| |
176176

177177
### Return type
178178

179-
[**Label**](Label.md)
179+
[**BcfLabel**](BcfLabel.md)
180180

181181
### Authorization
182182

@@ -3274,7 +3274,7 @@ Name | Type | Description | Notes
32743274

32753275
## updateExtensionLabel
32763276

3277-
> Label updateExtensionLabel(id, projectsPk, opts)
3277+
> BcfLabel updateExtensionLabel(id, projectsPk, opts)
32783278
32793279
Update a Label
32803280

@@ -3300,7 +3300,7 @@ let apiInstance = new bimdata.BcfApi();
33003300
let id = 56; // Number | A unique integer value identifying this label.
33013301
let projectsPk = 56; // Number |
33023302
let opts = {
3303-
'patchedLabelRequest': new bimdata.PatchedLabelRequest() // PatchedLabelRequest |
3303+
'patchedBcfLabelRequest': new bimdata.PatchedBcfLabelRequest() // PatchedBcfLabelRequest |
33043304
};
33053305
apiInstance.updateExtensionLabel(id, projectsPk, opts).then((data) => {
33063306
console.log('API called successfully. Returned data: ' + data);
@@ -3317,11 +3317,11 @@ Name | Type | Description | Notes
33173317
------------- | ------------- | ------------- | -------------
33183318
**id** | **Number**| A unique integer value identifying this label. |
33193319
**projectsPk** | **Number**| |
3320-
**patchedLabelRequest** | [**PatchedLabelRequest**](PatchedLabelRequest.md)| | [optional]
3320+
**patchedBcfLabelRequest** | [**PatchedBcfLabelRequest**](PatchedBcfLabelRequest.md)| | [optional]
33213321

33223322
### Return type
33233323

3324-
[**Label**](Label.md)
3324+
[**BcfLabel**](BcfLabel.md)
33253325

33263326
### Authorization
33273327

docs/Label.md renamed to docs/BcfLabel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# bimdata.Label
1+
# bimdata.BcfLabel
22

33
## Properties
44

docs/LabelRequest.md renamed to docs/BcfLabelRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# bimdata.LabelRequest
1+
# bimdata.BcfLabelRequest
22

33
## Properties
44

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ Name | Type | Description | Notes
882882
883883
Create a document
884884

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

887887
### Example
888888

docs/DetailedExtensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**topicLabels** | [**[Label]**](Label.md) | | [optional]
7+
**topicLabels** | [**[BcfLabel]**](BcfLabel.md) | | [optional]
88
**topicTypes** | [**[TopicType]**](TopicType.md) | | [optional]
99
**topicStatuses** | [**[TopicStatus]**](TopicStatus.md) | | [optional]
1010
**priorities** | [**[Priority]**](Priority.md) | | [optional]

docs/Geometry2dPoint.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# bimdata.Geometry2dPoint
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**x** | **Number** | |
8+
**y** | **Number** | |
9+
10+

docs/Geometry2dPointRequest.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# bimdata.Geometry2dPointRequest
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**x** | **Number** | |
8+
**y** | **Number** | |
9+
10+

0 commit comments

Comments
 (0)