Skip to content

Commit 57c0e58

Browse files
committed
MINOR: Feat/add link between zone and storey (#723)
* Add a link between zone and storey. * Zone-storey, use uuid instead of pk. * Rename storey as storey_uuid in zone serializer. * Split update/remove storey from zone test.
1 parent 59336cc commit 57c0e58

26 files changed

+256
-20
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ docs/Viewpoint.md
232232
docs/ViewpointRequest.md
233233
docs/Visa.md
234234
docs/VisaAttachment.md
235+
docs/VisaAttachmentRequest.md
235236
docs/VisaComment.md
236237
docs/VisaCommentRequest.md
237238
docs/VisaRequest.md
@@ -484,6 +485,7 @@ src/model/Viewpoint.js
484485
src/model/ViewpointRequest.js
485486
src/model/Visa.js
486487
src/model/VisaAttachment.js
488+
src/model/VisaAttachmentRequest.js
487489
src/model/VisaComment.js
488490
src/model/VisaCommentRequest.js
489491
src/model/VisaRequest.js
@@ -731,6 +733,7 @@ test/model/Viewpoint.spec.js
731733
test/model/ViewpointRequest.spec.js
732734
test/model/Visa.spec.js
733735
test/model/VisaAttachment.spec.js
736+
test/model/VisaAttachmentRequest.spec.js
734737
test/model/VisaComment.spec.js
735738
test/model/VisaCommentRequest.spec.js
736739
test/model/VisaRequest.spec.js

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ Class | Method | HTTP request | Description
859859
- [bimdata.ViewpointRequest](docs/ViewpointRequest.md)
860860
- [bimdata.Visa](docs/Visa.md)
861861
- [bimdata.VisaAttachment](docs/VisaAttachment.md)
862+
- [bimdata.VisaAttachmentRequest](docs/VisaAttachmentRequest.md)
862863
- [bimdata.VisaComment](docs/VisaComment.md)
863864
- [bimdata.VisaCommentRequest](docs/VisaCommentRequest.md)
864865
- [bimdata.VisaRequest](docs/VisaRequest.md)

docs/CollaborationApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Name | Type | Description | Notes
246246

247247
### HTTP request headers
248248

249-
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
249+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded, application/json
250250
- **Accept**: application/json
251251

252252

@@ -961,7 +961,7 @@ Name | Type | Description | Notes
961961
962962
Create a document
963963

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

966966
### Example
967967

@@ -2744,7 +2744,7 @@ Name | Type | Description | Notes
27442744

27452745
### HTTP request headers
27462746

2747-
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
2747+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded, application/json
27482748
- **Accept**: application/json
27492749

27502750

docs/FolderWithoutChildrenRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**parentId** | **Number** | | [optional]
88
**name** | **String** | Name of the folder |
99
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
10+
**propagate** | **Boolean** | | [optional] [default to false]
1011

1112

1213

docs/PatchedFolderWithoutChildrenRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**parentId** | **Number** | | [optional]
88
**name** | **String** | Name of the folder | [optional]
99
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
10+
**propagate** | **Boolean** | | [optional] [default to false]
1011

1112

1213

docs/PatchedZoneRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ Name | Type | Description | Notes
1111
**spaces** | [**[ZoneSpaceRequest]**](ZoneSpaceRequest.md) | | [optional]
1212
**color** | **String** | | [optional]
1313
**order** | **Number** | | [optional]
14+
**storeyUuid** | **String** | IFC element or element type UUID | [optional]
1415

1516

docs/VisaAttachmentRequest.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# bimdata.VisaAttachmentRequest
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**attachment** | **File** | | [optional]
8+
9+

docs/WriteFolderRequest.md

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

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**parentId** | **Number** | | [optional]
87
**name** | **String** | Name of the folder |
8+
**parentId** | **Number** | | [optional]
99
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
1010
**children** | [**[WriteFolderRequest]**](WriteFolderRequest.md) | | [optional]
1111

docs/Zone.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ Name | Type | Description | Notes
1414
**updatedAt** | **Date** | | [readonly]
1515
**color** | **String** | | [optional]
1616
**order** | **Number** | | [optional]
17+
**storeyUuid** | **String** | IFC element or element type UUID | [optional]
1718

1819

docs/ZoneRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ Name | Type | Description | Notes
1111
**spaces** | [**[ZoneSpaceRequest]**](ZoneSpaceRequest.md) | | [optional]
1212
**color** | **String** | | [optional]
1313
**order** | **Number** | | [optional]
14+
**storeyUuid** | **String** | IFC element or element type UUID | [optional]
1415

1516

0 commit comments

Comments
 (0)