Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit 2e5d203

Browse files
committed
MINOR: order in zones and spacezones
1 parent c97c61e commit 2e5d203

20 files changed

+105
-15
lines changed

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ Name | Type | Description | Notes
955955
956956
Create a document
957957

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

960960
### Example
961961

docs/PatchedZoneRequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Name | Type | Description | Notes
88
**uuid** | **String** | | [optional]
99
**zones** | [**[ZoneRequest]**](ZoneRequest.md) | | [optional]
1010
**parentId** | **Number** | | [optional]
11-
**spaces** | [**[SpaceRequest]**](SpaceRequest.md) | | [optional]
11+
**spaces** | [**[ZoneSpaceRequest]**](ZoneSpaceRequest.md) | | [optional]
1212
**color** | **String** | | [optional]
13+
**order** | **Number** | | [optional]
1314

1415

docs/PatchedZoneSpaceRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
77
**name** | **String** | | [optional]
88
**longname** | **String** | | [optional]
99
**uuid** | **String** | | [optional]
10+
**order** | **Number** | | [optional]
1011

1112

docs/Zone.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Name | Type | Description | Notes
99
**uuid** | **String** | |
1010
**zones** | [**[Zone]**](Zone.md) | | [optional]
1111
**parentId** | **Number** | | [optional]
12-
**spaces** | [**[Space]**](Space.md) | | [optional]
12+
**spaces** | [**[ZoneSpace]**](ZoneSpace.md) | | [optional]
1313
**createdAt** | **Date** | | [readonly]
1414
**updatedAt** | **Date** | | [readonly]
1515
**color** | **String** | | [optional]
16+
**order** | **Number** | | [optional]
1617

1718

docs/ZoneRequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Name | Type | Description | Notes
88
**uuid** | **String** | |
99
**zones** | [**[ZoneRequest]**](ZoneRequest.md) | | [optional]
1010
**parentId** | **Number** | | [optional]
11-
**spaces** | [**[SpaceRequest]**](SpaceRequest.md) | | [optional]
11+
**spaces** | [**[ZoneSpaceRequest]**](ZoneSpaceRequest.md) | | [optional]
1212
**color** | **String** | | [optional]
13+
**order** | **Number** | | [optional]
1314

1415

docs/ZoneSpace.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**longname** | **String** | | [optional]
1010
**uuid** | **String** | |
1111
**zoneSet** | **[Number]** | | [readonly]
12+
**order** | **Number** | | [optional]
1213
**createdAt** | **Date** | | [readonly]
1314
**updatedAt** | **Date** | | [readonly]
1415

docs/ZoneSpaceRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
77
**name** | **String** | | [optional]
88
**longname** | **String** | | [optional]
99
**uuid** | **String** | |
10+
**order** | **Number** | | [optional]
1011

1112

src/api/CollaborationApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ export default class CollaborationApi {
858858

859859
/**
860860
* Create a document
861-
* Create a document. If the document is one of {'POINT_CLOUD', 'GLTF', 'DXF', 'IFC', 'OBJ', 'DWG'}, a model will be created and attached to this document Required scopes: document:write
861+
* Create a document. If the document is one of {'IFC', 'GLTF', 'POINT_CLOUD', 'DWG', 'OBJ', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
862862
* @param {Number} cloudPk A unique integer value identifying this cloud.
863863
* @param {Number} projectPk A unique integer value identifying this project.
864864
* @param {String} name Shown name of the file
@@ -924,7 +924,7 @@ export default class CollaborationApi {
924924

925925
/**
926926
* Create a document
927-
* Create a document. If the document is one of {'POINT_CLOUD', 'GLTF', 'DXF', 'IFC', 'OBJ', 'DWG'}, a model will be created and attached to this document Required scopes: document:write
927+
* Create a document. If the document is one of {'IFC', 'GLTF', 'POINT_CLOUD', 'DWG', 'OBJ', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
928928
* @param {Number} cloudPk A unique integer value identifying this cloud.
929929
* @param {Number} projectPk A unique integer value identifying this project.
930930
* @param {String} name Shown name of the file

src/model/PatchedZoneRequest.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*/
1313

1414
import ApiClient from '../ApiClient';
15-
import SpaceRequest from './SpaceRequest';
1615
import ZoneRequest from './ZoneRequest';
16+
import ZoneSpaceRequest from './ZoneSpaceRequest';
1717

1818
/**
1919
* The PatchedZoneRequest model module.
@@ -63,11 +63,14 @@ class PatchedZoneRequest {
6363
obj['parent_id'] = ApiClient.convertToType(data['parent_id'], 'Number');
6464
}
6565
if (data.hasOwnProperty('spaces')) {
66-
obj['spaces'] = ApiClient.convertToType(data['spaces'], [SpaceRequest]);
66+
obj['spaces'] = ApiClient.convertToType(data['spaces'], [ZoneSpaceRequest]);
6767
}
6868
if (data.hasOwnProperty('color')) {
6969
obj['color'] = ApiClient.convertToType(data['color'], 'String');
7070
}
71+
if (data.hasOwnProperty('order')) {
72+
obj['order'] = ApiClient.convertToType(data['order'], 'Number');
73+
}
7174
}
7275
return obj;
7376
}
@@ -96,7 +99,7 @@ PatchedZoneRequest.prototype['zones'] = undefined;
9699
PatchedZoneRequest.prototype['parent_id'] = undefined;
97100

98101
/**
99-
* @member {Array.<module:model/SpaceRequest>} spaces
102+
* @member {Array.<module:model/ZoneSpaceRequest>} spaces
100103
*/
101104
PatchedZoneRequest.prototype['spaces'] = undefined;
102105

@@ -105,6 +108,11 @@ PatchedZoneRequest.prototype['spaces'] = undefined;
105108
*/
106109
PatchedZoneRequest.prototype['color'] = undefined;
107110

111+
/**
112+
* @member {Number} order
113+
*/
114+
PatchedZoneRequest.prototype['order'] = undefined;
115+
108116

109117

110118

src/model/PatchedZoneSpaceRequest.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ class PatchedZoneSpaceRequest {
5656
if (data.hasOwnProperty('uuid')) {
5757
obj['uuid'] = ApiClient.convertToType(data['uuid'], 'String');
5858
}
59+
if (data.hasOwnProperty('order')) {
60+
obj['order'] = ApiClient.convertToType(data['order'], 'Number');
61+
}
5962
}
6063
return obj;
6164
}
@@ -78,6 +81,11 @@ PatchedZoneSpaceRequest.prototype['longname'] = undefined;
7881
*/
7982
PatchedZoneSpaceRequest.prototype['uuid'] = undefined;
8083

84+
/**
85+
* @member {Number} order
86+
*/
87+
PatchedZoneSpaceRequest.prototype['order'] = undefined;
88+
8189

8290

8391

0 commit comments

Comments
 (0)