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

Commit ca16101

Browse files
committed
PATCH: fix project access token enum (#555)
1 parent 14dbd0c commit ca16101

8 files changed

+6
-54
lines changed

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ Name | Type | Description | Notes
824824
825825
Create a document
826826

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

829829
### Example
830830

docs/PatchedProjectAccessTokenRequest.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ Name | Type | Description | Notes
2828

2929
* `model:write` (value: `"model:write"`)
3030

31-
* `empty` (value: `""`)
32-
33-
* `null` (value: `"null"`)
34-
3531

3632

3733

docs/ProjectAccessToken.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ Name | Type | Description | Notes
2929

3030
* `model:write` (value: `"model:write"`)
3131

32-
* `empty` (value: `""`)
33-
34-
* `null` (value: `"null"`)
35-
3632

3733

3834

docs/ProjectAccessTokenRequest.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ Name | Type | Description | Notes
2828

2929
* `model:write` (value: `"model:write"`)
3030

31-
* `empty` (value: `""`)
32-
33-
* `null` (value: `"null"`)
34-
3531

3632

3733

src/api/CollaborationApi.js

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

752752
/**
753753
* Create a document
754-
* Create a document. If the document is one of {'DXF', 'BFX', 'DAE', 'IFC', 'GLTF', 'DWG', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
754+
* Create a document. If the document is one of {'OBJ', 'DWG', 'IFC', 'DXF', 'BFX', 'DAE', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
755755
* @param {Number} cloudPk A unique integer value identifying this cloud.
756756
* @param {Number} projectPk A unique integer value identifying this project.
757757
* @param {String} name Shown name of the file
@@ -819,7 +819,7 @@ export default class CollaborationApi {
819819

820820
/**
821821
* Create a document
822-
* Create a document. If the document is one of {'DXF', 'BFX', 'DAE', 'IFC', 'GLTF', 'DWG', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
822+
* Create a document. If the document is one of {'OBJ', 'DWG', 'IFC', 'DXF', 'BFX', 'DAE', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
823823
* @param {Number} cloudPk A unique integer value identifying this cloud.
824824
* @param {Number} projectPk A unique integer value identifying this project.
825825
* @param {String} name Shown name of the file

src/model/PatchedProjectAccessTokenRequest.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,7 @@ PatchedProjectAccessTokenRequest['ScopesEnum'] = {
127127
* value: "model:write"
128128
* @const
129129
*/
130-
"model:write": "model:write",
131-
132-
/**
133-
* value: ""
134-
* @const
135-
*/
136-
"empty": "",
137-
138-
/**
139-
* value: "null"
140-
* @const
141-
*/
142-
"null": "null"
130+
"model:write": "model:write"
143131
};
144132

145133

src/model/ProjectAccessToken.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,7 @@ ProjectAccessToken['ScopesEnum'] = {
139139
* value: "model:write"
140140
* @const
141141
*/
142-
"model:write": "model:write",
143-
144-
/**
145-
* value: ""
146-
* @const
147-
*/
148-
"empty": "",
149-
150-
/**
151-
* value: "null"
152-
* @const
153-
*/
154-
"null": "null"
142+
"model:write": "model:write"
155143
};
156144

157145

src/model/ProjectAccessTokenRequest.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,7 @@ ProjectAccessTokenRequest['ScopesEnum'] = {
129129
* value: "model:write"
130130
* @const
131131
*/
132-
"model:write": "model:write",
133-
134-
/**
135-
* value: ""
136-
* @const
137-
*/
138-
"empty": "",
139-
140-
/**
141-
* value: "null"
142-
* @const
143-
*/
144-
"null": "null"
132+
"model:write": "model:write"
145133
};
146134

147135

0 commit comments

Comments
 (0)