Skip to content

Commit 11c3e4c

Browse files
committed
MAJOR: chore: remove deprecated ifc routes from doc (#725)
1 parent 57c0e58 commit 11c3e4c

File tree

11 files changed

+16
-23436
lines changed

11 files changed

+16
-23436
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ docs/GroupFolderRead.md
6262
docs/GroupRequest.md
6363
docs/IfcAccessToken.md
6464
docs/IfcAccessTokenRequest.md
65-
docs/IfcApi.md
6665
docs/IfcExportRequest.md
6766
docs/IfcMergeRequest.md
6867
docs/IfcOptimizeRequest.md
@@ -255,7 +254,6 @@ mocha.opts
255254
src/ApiClient.js
256255
src/api/BcfApi.js
257256
src/api/CollaborationApi.js
258-
src/api/IfcApi.js
259257
src/api/ModelApi.js
260258
src/api/SsoApi.js
261259
src/api/WebhookApi.js
@@ -504,7 +502,6 @@ src/model/ZoneSpaceRelationRequest.js
504502
src/model/ZoneSpaceRequest.js
505503
test/api/BcfApi.spec.js
506504
test/api/CollaborationApi.spec.js
507-
test/api/IfcApi.spec.js
508505
test/api/ModelApi.spec.js
509506
test/api/SsoApi.spec.js
510507
test/api/WebhookApi.spec.js

README.md

Lines changed: 0 additions & 153 deletions
Large diffs are not rendered by default.

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ Name | Type | Description | Notes
961961
962962
Create a document
963963

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

966966
### Example
967967

docs/IfcApi.md

Lines changed: 0 additions & 10638 deletions
This file was deleted.

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-
**name** | **String** | Name of the folder |
87
**parentId** | **Number** | | [optional]
8+
**name** | **String** | Name of the folder |
99
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
1010
**children** | [**[WriteFolderRequest]**](WriteFolderRequest.md) | | [optional]
1111

src/api/CollaborationApi.js

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

867867
/**
868868
* Create a document
869-
* 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
869+
* Create a document. If the document is one of {'GLTF', 'DXF', 'IFC', 'POINT_CLOUD', 'DWG', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
870870
* @param {Number} cloudPk A unique integer value identifying this cloud.
871871
* @param {Number} projectPk A unique integer value identifying this project.
872872
* @param {String} name Shown name of the file
@@ -932,7 +932,7 @@ export default class CollaborationApi {
932932

933933
/**
934934
* Create a document
935-
* 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
935+
* Create a document. If the document is one of {'GLTF', 'DXF', 'IFC', 'POINT_CLOUD', 'DWG', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
936936
* @param {Number} cloudPk A unique integer value identifying this cloud.
937937
* @param {Number} projectPk A unique integer value identifying this project.
938938
* @param {String} name Shown name of the file

src/api/IfcApi.js

Lines changed: 0 additions & 11036 deletions
This file was deleted.

src/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ import ZoneSpaceRelationRequest from './model/ZoneSpaceRelationRequest';
257257
import ZoneSpaceRequest from './model/ZoneSpaceRequest';
258258
import BcfApi from './api/BcfApi';
259259
import CollaborationApi from './api/CollaborationApi';
260-
import IfcApi from './api/IfcApi';
261260
import ModelApi from './api/ModelApi';
262261
import SsoApi from './api/SsoApi';
263262
import WebhookApi from './api/WebhookApi';
@@ -1765,12 +1764,6 @@ export {
17651764
*/
17661765
CollaborationApi,
17671766

1768-
/**
1769-
* The IfcApi service constructor.
1770-
* @property {module:api/IfcApi}
1771-
*/
1772-
IfcApi,
1773-
17741767
/**
17751768
* The ModelApi service constructor.
17761769
* @property {module:api/ModelApi}

src/model/WriteFolderRequest.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ class WriteFolderRequest {
4949
if (data) {
5050
obj = obj || new WriteFolderRequest();
5151

52-
if (data.hasOwnProperty('name')) {
53-
obj['name'] = ApiClient.convertToType(data['name'], 'String');
54-
}
5552
if (data.hasOwnProperty('parent_id')) {
5653
obj['parent_id'] = ApiClient.convertToType(data['parent_id'], 'Number');
5754
}
55+
if (data.hasOwnProperty('name')) {
56+
obj['name'] = ApiClient.convertToType(data['name'], 'String');
57+
}
5858
if (data.hasOwnProperty('default_permission')) {
5959
obj['default_permission'] = ApiClient.convertToType(data['default_permission'], 'Number');
6060
}
@@ -69,15 +69,15 @@ class WriteFolderRequest {
6969
}
7070

7171
/**
72-
* Name of the folder
73-
* @member {String} name
72+
* @member {Number} parent_id
7473
*/
75-
WriteFolderRequest.prototype['name'] = undefined;
74+
WriteFolderRequest.prototype['parent_id'] = undefined;
7675

7776
/**
78-
* @member {Number} parent_id
77+
* Name of the folder
78+
* @member {String} name
7979
*/
80-
WriteFolderRequest.prototype['parent_id'] = undefined;
80+
WriteFolderRequest.prototype['name'] = undefined;
8181

8282
/**
8383
* Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write

0 commit comments

Comments
 (0)