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

Commit 9a2b797

Browse files
committed
PATCH: fix model export doc response
1 parent d9bc24e commit 9a2b797

File tree

11 files changed

+21
-275
lines changed

11 files changed

+21
-275
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ docs/IfcAccessTokenRequest.md
6262
docs/IfcApi.md
6363
docs/IfcChecker.md
6464
docs/IfcCheckerRequest.md
65-
docs/IfcExport.md
6665
docs/IfcExportRequest.md
6766
docs/IfcMergeRequest.md
6867
docs/IfcOptimizeRequest.md
@@ -320,7 +319,6 @@ src/model/IfcAccessToken.js
320319
src/model/IfcAccessTokenRequest.js
321320
src/model/IfcChecker.js
322321
src/model/IfcCheckerRequest.js
323-
src/model/IfcExport.js
324322
src/model/IfcExportRequest.js
325323
src/model/IfcMergeRequest.js
326324
src/model/IfcOptimizeRequest.js
@@ -571,7 +569,6 @@ test/model/IfcAccessToken.spec.js
571569
test/model/IfcAccessTokenRequest.spec.js
572570
test/model/IfcChecker.spec.js
573571
test/model/IfcCheckerRequest.spec.js
574-
test/model/IfcExport.spec.js
575572
test/model/IfcExportRequest.spec.js
576573
test/model/IfcMergeRequest.spec.js
577574
test/model/IfcOptimizeRequest.spec.js

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,6 @@ Class | Method | HTTP request | Description
700700
- [bimdata.IfcAccessTokenRequest](docs/IfcAccessTokenRequest.md)
701701
- [bimdata.IfcChecker](docs/IfcChecker.md)
702702
- [bimdata.IfcCheckerRequest](docs/IfcCheckerRequest.md)
703-
- [bimdata.IfcExport](docs/IfcExport.md)
704703
- [bimdata.IfcExportRequest](docs/IfcExportRequest.md)
705704
- [bimdata.IfcMergeRequest](docs/IfcMergeRequest.md)
706705
- [bimdata.IfcOptimizeRequest](docs/IfcOptimizeRequest.md)

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ Name | Type | Description | Notes
889889
890890
Create a document
891891

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

894894
### Example
895895

docs/IfcApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4176,7 +4176,7 @@ null (empty response body)
41764176

41774177
## exportIfcDeprecated
41784178

4179-
> IfcExport exportIfcDeprecated(cloudPk, id, projectPk, ifcExportRequest)
4179+
> exportIfcDeprecated(cloudPk, id, projectPk, ifcExportRequest)
41804180
41814181
Export IFC
41824182

@@ -4209,8 +4209,8 @@ let cloudPk = 56; // Number |
42094209
let id = 56; // Number | A unique integer value identifying this model.
42104210
let projectPk = 56; // Number |
42114211
let ifcExportRequest = new bimdata.IfcExportRequest(); // IfcExportRequest |
4212-
apiInstance.exportIfcDeprecated(cloudPk, id, projectPk, ifcExportRequest).then((data) => {
4213-
console.log('API called successfully. Returned data: ' + data);
4212+
apiInstance.exportIfcDeprecated(cloudPk, id, projectPk, ifcExportRequest).then(() => {
4213+
console.log('API called successfully.');
42144214
}, (error) => {
42154215
console.error(error);
42164216
});
@@ -4229,7 +4229,7 @@ Name | Type | Description | Notes
42294229

42304230
### Return type
42314231

4232-
[**IfcExport**](IfcExport.md)
4232+
null (empty response body)
42334233

42344234
### Authorization
42354235

@@ -4238,7 +4238,7 @@ Name | Type | Description | Notes
42384238
### HTTP request headers
42394239

42404240
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
4241-
- **Accept**: application/json
4241+
- **Accept**: Not defined
42424242

42434243

42444244
## fullUpdateElementDeprecated

docs/IfcExport.md

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

docs/ModelApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3889,7 +3889,7 @@ null (empty response body)
38893889

38903890
## exportIfc
38913891

3892-
> IfcExport exportIfc(cloudPk, id, projectPk, ifcExportRequest)
3892+
> exportIfc(cloudPk, id, projectPk, ifcExportRequest)
38933893
38943894
Export IFC
38953895

@@ -3922,8 +3922,8 @@ let cloudPk = 56; // Number |
39223922
let id = 56; // Number | A unique integer value identifying this model.
39233923
let projectPk = 56; // Number |
39243924
let ifcExportRequest = new bimdata.IfcExportRequest(); // IfcExportRequest |
3925-
apiInstance.exportIfc(cloudPk, id, projectPk, ifcExportRequest).then((data) => {
3926-
console.log('API called successfully. Returned data: ' + data);
3925+
apiInstance.exportIfc(cloudPk, id, projectPk, ifcExportRequest).then(() => {
3926+
console.log('API called successfully.');
39273927
}, (error) => {
39283928
console.error(error);
39293929
});
@@ -3942,7 +3942,7 @@ Name | Type | Description | Notes
39423942

39433943
### Return type
39443944

3945-
[**IfcExport**](IfcExport.md)
3945+
null (empty response body)
39463946

39473947
### Authorization
39483948

@@ -3951,7 +3951,7 @@ Name | Type | Description | Notes
39513951
### HTTP request headers
39523952

39533953
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
3954-
- **Accept**: application/json
3954+
- **Accept**: Not defined
39553955

39563956

39573957
## fullUpdateElement

src/api/CollaborationApi.js

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

801801
/**
802802
* Create a document
803-
* Create a document. If the document is one of {'GLTF', 'DWG', 'DXF', 'DAE', 'OBJ', 'POINT_CLOUD', 'BFX', 'IFC'}, a model will be created and attached to this document Required scopes: document:write
803+
* Create a document. If the document is one of {'POINT_CLOUD', 'DAE', 'DXF', 'GLTF', 'BFX', 'DWG', 'IFC', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
804804
* @param {Number} cloudPk A unique integer value identifying this cloud.
805805
* @param {Number} projectPk A unique integer value identifying this project.
806806
* @param {String} name Shown name of the file
@@ -868,7 +868,7 @@ export default class CollaborationApi {
868868

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

src/api/IfcApi.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import IfcAccessToken from '../model/IfcAccessToken';
3232
import IfcAccessTokenRequest from '../model/IfcAccessTokenRequest';
3333
import IfcChecker from '../model/IfcChecker';
3434
import IfcCheckerRequest from '../model/IfcCheckerRequest';
35-
import IfcExport from '../model/IfcExport';
3635
import IfcExportRequest from '../model/IfcExportRequest';
3736
import IfcMergeRequest from '../model/IfcMergeRequest';
3837
import IfcOptimizeRequest from '../model/IfcOptimizeRequest';
@@ -4251,7 +4250,7 @@ export default class IfcApi {
42514250
* @param {Number} id A unique integer value identifying this model.
42524251
* @param {Number} projectPk
42534252
* @param {module:model/IfcExportRequest} ifcExportRequest
4254-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/IfcExport} and HTTP response
4253+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
42554254
*/
42564255
exportIfcDeprecatedWithHttpInfo(cloudPk, id, projectPk, ifcExportRequest) {
42574256
let postBody = ifcExportRequest;
@@ -4286,8 +4285,8 @@ export default class IfcApi {
42864285

42874286
let authNames = ['ApiKey', 'BIMData_Connect', 'BIMData_Connect', 'Bearer'];
42884287
let contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
4289-
let accepts = ['application/json'];
4290-
let returnType = IfcExport;
4288+
let accepts = [];
4289+
let returnType = null;
42914290
return this.apiClient.callApi(
42924291
'/cloud/{cloud_pk}/project/{project_pk}/ifc/{id}/export', 'POST',
42934292
pathParams, queryParams, headerParams, formParams, postBody,
@@ -4302,7 +4301,7 @@ export default class IfcApi {
43024301
* @param {Number} id A unique integer value identifying this model.
43034302
* @param {Number} projectPk
43044303
* @param {module:model/IfcExportRequest} ifcExportRequest
4305-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/IfcExport}
4304+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
43064305
*/
43074306
exportIfcDeprecated(cloudPk, id, projectPk, ifcExportRequest) {
43084307
return this.exportIfcDeprecatedWithHttpInfo(cloudPk, id, projectPk, ifcExportRequest)

src/api/ModelApi.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import ElementPropertySetRelationRequest from '../model/ElementPropertySetRelati
2828
import ElementRequest from '../model/ElementRequest';
2929
import IfcAccessToken from '../model/IfcAccessToken';
3030
import IfcAccessTokenRequest from '../model/IfcAccessTokenRequest';
31-
import IfcExport from '../model/IfcExport';
3231
import IfcExportRequest from '../model/IfcExportRequest';
3332
import IfcMergeRequest from '../model/IfcMergeRequest';
3433
import IfcOptimizeRequest from '../model/IfcOptimizeRequest';
@@ -3959,7 +3958,7 @@ export default class ModelApi {
39593958
* @param {Number} id A unique integer value identifying this model.
39603959
* @param {Number} projectPk
39613960
* @param {module:model/IfcExportRequest} ifcExportRequest
3962-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/IfcExport} and HTTP response
3961+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
39633962
*/
39643963
exportIfcWithHttpInfo(cloudPk, id, projectPk, ifcExportRequest) {
39653964
let postBody = ifcExportRequest;
@@ -3994,8 +3993,8 @@ export default class ModelApi {
39943993

39953994
let authNames = ['ApiKey', 'BIMData_Connect', 'BIMData_Connect', 'Bearer'];
39963995
let contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
3997-
let accepts = ['application/json'];
3998-
let returnType = IfcExport;
3996+
let accepts = [];
3997+
let returnType = null;
39993998
return this.apiClient.callApi(
40003999
'/cloud/{cloud_pk}/project/{project_pk}/model/{id}/export', 'POST',
40014000
pathParams, queryParams, headerParams, formParams, postBody,
@@ -4010,7 +4009,7 @@ export default class ModelApi {
40104009
* @param {Number} id A unique integer value identifying this model.
40114010
* @param {Number} projectPk
40124011
* @param {module:model/IfcExportRequest} ifcExportRequest
4013-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/IfcExport}
4012+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
40144013
*/
40154014
exportIfc(cloudPk, id, projectPk, ifcExportRequest) {
40164015
return this.exportIfcWithHttpInfo(cloudPk, id, projectPk, ifcExportRequest)

src/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ import IfcAccessToken from './model/IfcAccessToken';
6969
import IfcAccessTokenRequest from './model/IfcAccessTokenRequest';
7070
import IfcChecker from './model/IfcChecker';
7171
import IfcCheckerRequest from './model/IfcCheckerRequest';
72-
import IfcExport from './model/IfcExport';
7372
import IfcExportRequest from './model/IfcExportRequest';
7473
import IfcMergeRequest from './model/IfcMergeRequest';
7574
import IfcOptimizeRequest from './model/IfcOptimizeRequest';
@@ -640,12 +639,6 @@ export {
640639
*/
641640
IfcCheckerRequest,
642641

643-
/**
644-
* The IfcExport model constructor.
645-
* @property {module:model/IfcExport}
646-
*/
647-
IfcExport,
648-
649642
/**
650643
* The IfcExportRequest model constructor.
651644
* @property {module:model/IfcExportRequest}

0 commit comments

Comments
 (0)