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

Commit 9e44b9d

Browse files
committed
PATCH: Fix/inline serializer fields (#560)
Fix CreateStoreyPlan and BuildingStoreyPlan
1 parent ca16101 commit 9e44b9d

21 files changed

+837
-99
lines changed

.openapi-generator/FILES

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ docs/BcfApi.md
66
docs/BcfProject.md
77
docs/BcfProjectRequest.md
88
docs/Building.md
9+
docs/BuildingModelPlanRequest.md
910
docs/CheckPlan.md
1011
docs/CheckPlanRequest.md
1112
docs/CheckerApi.md
@@ -124,6 +125,7 @@ docs/PatchedRuleRequest.md
124125
docs/PatchedRulesetRequest.md
125126
docs/PatchedSpaceRequest.md
126127
docs/PatchedStageRequest.md
128+
docs/PatchedStoreyBuildingRequest.md
127129
docs/PatchedSystemRequest.md
128130
docs/PatchedTagRequest.md
129131
docs/PatchedTopicRequest.md
@@ -212,6 +214,8 @@ docs/SsoApi.md
212214
docs/Stage.md
213215
docs/StageRequest.md
214216
docs/Storey.md
217+
docs/StoreyBuildingRequest.md
218+
docs/StoreyModelPlanRequest.md
215219
docs/System.md
216220
docs/SystemRequest.md
217221
docs/Tag.md
@@ -262,6 +266,7 @@ src/index.js
262266
src/model/BcfProject.js
263267
src/model/BcfProjectRequest.js
264268
src/model/Building.js
269+
src/model/BuildingModelPlanRequest.js
265270
src/model/CheckPlan.js
266271
src/model/CheckPlanRequest.js
267272
src/model/CheckerResult.js
@@ -376,6 +381,7 @@ src/model/PatchedRuleRequest.js
376381
src/model/PatchedRulesetRequest.js
377382
src/model/PatchedSpaceRequest.js
378383
src/model/PatchedStageRequest.js
384+
src/model/PatchedStoreyBuildingRequest.js
379385
src/model/PatchedSystemRequest.js
380386
src/model/PatchedTagRequest.js
381387
src/model/PatchedTopicRequest.js
@@ -463,6 +469,8 @@ src/model/SpaceRequest.js
463469
src/model/Stage.js
464470
src/model/StageRequest.js
465471
src/model/Storey.js
472+
src/model/StoreyBuildingRequest.js
473+
src/model/StoreyModelPlanRequest.js
466474
src/model/System.js
467475
src/model/SystemRequest.js
468476
src/model/Tag.js
@@ -508,6 +516,7 @@ test/api/WebhookApi.spec.js
508516
test/model/BcfProject.spec.js
509517
test/model/BcfProjectRequest.spec.js
510518
test/model/Building.spec.js
519+
test/model/BuildingModelPlanRequest.spec.js
511520
test/model/CheckPlan.spec.js
512521
test/model/CheckPlanRequest.spec.js
513522
test/model/CheckerResult.spec.js
@@ -622,6 +631,7 @@ test/model/PatchedRuleRequest.spec.js
622631
test/model/PatchedRulesetRequest.spec.js
623632
test/model/PatchedSpaceRequest.spec.js
624633
test/model/PatchedStageRequest.spec.js
634+
test/model/PatchedStoreyBuildingRequest.spec.js
625635
test/model/PatchedSystemRequest.spec.js
626636
test/model/PatchedTagRequest.spec.js
627637
test/model/PatchedTopicRequest.spec.js
@@ -709,6 +719,8 @@ test/model/SpaceRequest.spec.js
709719
test/model/Stage.spec.js
710720
test/model/StageRequest.spec.js
711721
test/model/Storey.spec.js
722+
test/model/StoreyBuildingRequest.spec.js
723+
test/model/StoreyModelPlanRequest.spec.js
712724
test/model/System.spec.js
713725
test/model/SystemRequest.spec.js
714726
test/model/Tag.spec.js

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ Class | Method | HTTP request | Description
639639
- [bimdata.BcfProject](docs/BcfProject.md)
640640
- [bimdata.BcfProjectRequest](docs/BcfProjectRequest.md)
641641
- [bimdata.Building](docs/Building.md)
642+
- [bimdata.BuildingModelPlanRequest](docs/BuildingModelPlanRequest.md)
642643
- [bimdata.CheckPlan](docs/CheckPlan.md)
643644
- [bimdata.CheckPlanRequest](docs/CheckPlanRequest.md)
644645
- [bimdata.CheckerResult](docs/CheckerResult.md)
@@ -753,6 +754,7 @@ Class | Method | HTTP request | Description
753754
- [bimdata.PatchedRulesetRequest](docs/PatchedRulesetRequest.md)
754755
- [bimdata.PatchedSpaceRequest](docs/PatchedSpaceRequest.md)
755756
- [bimdata.PatchedStageRequest](docs/PatchedStageRequest.md)
757+
- [bimdata.PatchedStoreyBuildingRequest](docs/PatchedStoreyBuildingRequest.md)
756758
- [bimdata.PatchedSystemRequest](docs/PatchedSystemRequest.md)
757759
- [bimdata.PatchedTagRequest](docs/PatchedTagRequest.md)
758760
- [bimdata.PatchedTopicRequest](docs/PatchedTopicRequest.md)
@@ -840,6 +842,8 @@ Class | Method | HTTP request | Description
840842
- [bimdata.Stage](docs/Stage.md)
841843
- [bimdata.StageRequest](docs/StageRequest.md)
842844
- [bimdata.Storey](docs/Storey.md)
845+
- [bimdata.StoreyBuildingRequest](docs/StoreyBuildingRequest.md)
846+
- [bimdata.StoreyModelPlanRequest](docs/StoreyModelPlanRequest.md)
843847
- [bimdata.System](docs/System.md)
844848
- [bimdata.SystemRequest](docs/SystemRequest.md)
845849
- [bimdata.Tag](docs/Tag.md)

docs/BuildingModelPlanRequest.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# bimdata.BuildingModelPlanRequest
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **Number** | |
8+
9+

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

829829
### Example
830830

docs/IfcApi.md

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ Name | Type | Description | Notes
11111111

11121112
## createBuildingDeprecated
11131113

1114-
> Building createBuildingDeprecated(cloudPk, ifcPk, projectPk)
1114+
> Building createBuildingDeprecated(cloudPk, ifcPk, projectPk, storeyBuildingRequest)
11151115
11161116
Create a building of a model
11171117

@@ -1143,7 +1143,8 @@ let apiInstance = new bimdata.IfcApi();
11431143
let cloudPk = 56; // Number | A unique integer value identifying this cloud.
11441144
let ifcPk = 56; // Number | A unique integer value identifying this model.
11451145
let projectPk = 56; // Number | A unique integer value identifying this project.
1146-
apiInstance.createBuildingDeprecated(cloudPk, ifcPk, projectPk).then((data) => {
1146+
let storeyBuildingRequest = new bimdata.StoreyBuildingRequest(); // StoreyBuildingRequest |
1147+
apiInstance.createBuildingDeprecated(cloudPk, ifcPk, projectPk, storeyBuildingRequest).then((data) => {
11471148
console.log('API called successfully. Returned data: ' + data);
11481149
}, (error) => {
11491150
console.error(error);
@@ -1159,6 +1160,7 @@ Name | Type | Description | Notes
11591160
**cloudPk** | **Number**| A unique integer value identifying this cloud. |
11601161
**ifcPk** | **Number**| A unique integer value identifying this model. |
11611162
**projectPk** | **Number**| A unique integer value identifying this project. |
1163+
**storeyBuildingRequest** | [**StoreyBuildingRequest**](StoreyBuildingRequest.md)| |
11621164

11631165
### Return type
11641166

@@ -1170,13 +1172,13 @@ Name | Type | Description | Notes
11701172

11711173
### HTTP request headers
11721174

1173-
- **Content-Type**: Not defined
1175+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
11741176
- **Accept**: application/json
11751177

11761178

11771179
## createBuildingPlanDeprecated
11781180

1179-
> Building createBuildingPlanDeprecated(buildingUuid, cloudPk, ifcPk, projectPk)
1181+
> Building createBuildingPlanDeprecated(buildingUuid, cloudPk, ifcPk, projectPk, buildingModelPlanRequest)
11801182
11811183
Create a relation between a 2d model and a building
11821184

@@ -1209,7 +1211,8 @@ let buildingUuid = "buildingUuid_example"; // String |
12091211
let cloudPk = 56; // Number | A unique integer value identifying this cloud.
12101212
let ifcPk = 56; // Number | A unique integer value identifying this model.
12111213
let projectPk = 56; // Number | A unique integer value identifying this project.
1212-
apiInstance.createBuildingPlanDeprecated(buildingUuid, cloudPk, ifcPk, projectPk).then((data) => {
1214+
let buildingModelPlanRequest = new bimdata.BuildingModelPlanRequest(); // BuildingModelPlanRequest |
1215+
apiInstance.createBuildingPlanDeprecated(buildingUuid, cloudPk, ifcPk, projectPk, buildingModelPlanRequest).then((data) => {
12131216
console.log('API called successfully. Returned data: ' + data);
12141217
}, (error) => {
12151218
console.error(error);
@@ -1226,6 +1229,7 @@ Name | Type | Description | Notes
12261229
**cloudPk** | **Number**| A unique integer value identifying this cloud. |
12271230
**ifcPk** | **Number**| A unique integer value identifying this model. |
12281231
**projectPk** | **Number**| A unique integer value identifying this project. |
1232+
**buildingModelPlanRequest** | [**BuildingModelPlanRequest**](BuildingModelPlanRequest.md)| |
12291233

12301234
### Return type
12311235

@@ -1237,7 +1241,7 @@ Name | Type | Description | Notes
12371241

12381242
### HTTP request headers
12391243

1240-
- **Content-Type**: Not defined
1244+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
12411245
- **Accept**: application/json
12421246

12431247

@@ -2485,7 +2489,7 @@ Name | Type | Description | Notes
24852489

24862490
## createStoreyDeprecated
24872491

2488-
> Storey createStoreyDeprecated(cloudPk, ifcPk, projectPk)
2492+
> Storey createStoreyDeprecated(cloudPk, ifcPk, projectPk, storeyBuildingRequest)
24892493
24902494
Create a storey of a model
24912495

@@ -2517,7 +2521,8 @@ let apiInstance = new bimdata.IfcApi();
25172521
let cloudPk = 56; // Number | A unique integer value identifying this cloud.
25182522
let ifcPk = 56; // Number | A unique integer value identifying this model.
25192523
let projectPk = 56; // Number | A unique integer value identifying this project.
2520-
apiInstance.createStoreyDeprecated(cloudPk, ifcPk, projectPk).then((data) => {
2524+
let storeyBuildingRequest = new bimdata.StoreyBuildingRequest(); // StoreyBuildingRequest |
2525+
apiInstance.createStoreyDeprecated(cloudPk, ifcPk, projectPk, storeyBuildingRequest).then((data) => {
25212526
console.log('API called successfully. Returned data: ' + data);
25222527
}, (error) => {
25232528
console.error(error);
@@ -2533,6 +2538,7 @@ Name | Type | Description | Notes
25332538
**cloudPk** | **Number**| A unique integer value identifying this cloud. |
25342539
**ifcPk** | **Number**| A unique integer value identifying this model. |
25352540
**projectPk** | **Number**| A unique integer value identifying this project. |
2541+
**storeyBuildingRequest** | [**StoreyBuildingRequest**](StoreyBuildingRequest.md)| |
25362542

25372543
### Return type
25382544

@@ -2544,13 +2550,13 @@ Name | Type | Description | Notes
25442550

25452551
### HTTP request headers
25462552

2547-
- **Content-Type**: Not defined
2553+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
25482554
- **Accept**: application/json
25492555

25502556

25512557
## createStoreyPlanDeprecated
25522558

2553-
> Storey createStoreyPlanDeprecated(cloudPk, ifcPk, projectPk, storeyUuid)
2559+
> Storey createStoreyPlanDeprecated(cloudPk, ifcPk, projectPk, storeyUuid, storeyModelPlanRequest)
25542560
25552561
Create a relation between a 2d model and a storey
25562562

@@ -2583,7 +2589,8 @@ let cloudPk = 56; // Number | A unique integer value identifying this cloud.
25832589
let ifcPk = 56; // Number | A unique integer value identifying this model.
25842590
let projectPk = 56; // Number | A unique integer value identifying this project.
25852591
let storeyUuid = "storeyUuid_example"; // String |
2586-
apiInstance.createStoreyPlanDeprecated(cloudPk, ifcPk, projectPk, storeyUuid).then((data) => {
2592+
let storeyModelPlanRequest = new bimdata.StoreyModelPlanRequest(); // StoreyModelPlanRequest |
2593+
apiInstance.createStoreyPlanDeprecated(cloudPk, ifcPk, projectPk, storeyUuid, storeyModelPlanRequest).then((data) => {
25872594
console.log('API called successfully. Returned data: ' + data);
25882595
}, (error) => {
25892596
console.error(error);
@@ -2600,6 +2607,7 @@ Name | Type | Description | Notes
26002607
**ifcPk** | **Number**| A unique integer value identifying this model. |
26012608
**projectPk** | **Number**| A unique integer value identifying this project. |
26022609
**storeyUuid** | **String**| |
2610+
**storeyModelPlanRequest** | [**StoreyModelPlanRequest**](StoreyModelPlanRequest.md)| |
26032611

26042612
### Return type
26052613

@@ -2611,7 +2619,7 @@ Name | Type | Description | Notes
26112619

26122620
### HTTP request headers
26132621

2614-
- **Content-Type**: Not defined
2622+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
26152623
- **Accept**: application/json
26162624

26172625

@@ -9050,7 +9058,7 @@ Name | Type | Description | Notes
90509058

90519059
## updateBuildingDeprecated
90529060

9053-
> Building updateBuildingDeprecated(cloudPk, ifcPk, projectPk, uuid)
9061+
> Building updateBuildingDeprecated(cloudPk, ifcPk, projectPk, uuid, opts)
90549062
90559063
Update some fields of a building
90569064

@@ -9083,7 +9091,10 @@ let cloudPk = 56; // Number | A unique integer value identifying this cloud.
90839091
let ifcPk = 56; // Number | A unique integer value identifying this model.
90849092
let projectPk = 56; // Number | A unique integer value identifying this project.
90859093
let uuid = "uuid_example"; // String |
9086-
apiInstance.updateBuildingDeprecated(cloudPk, ifcPk, projectPk, uuid).then((data) => {
9094+
let opts = {
9095+
'patchedStoreyBuildingRequest': new bimdata.PatchedStoreyBuildingRequest() // PatchedStoreyBuildingRequest |
9096+
};
9097+
apiInstance.updateBuildingDeprecated(cloudPk, ifcPk, projectPk, uuid, opts).then((data) => {
90879098
console.log('API called successfully. Returned data: ' + data);
90889099
}, (error) => {
90899100
console.error(error);
@@ -9100,6 +9111,7 @@ Name | Type | Description | Notes
91009111
**ifcPk** | **Number**| A unique integer value identifying this model. |
91019112
**projectPk** | **Number**| A unique integer value identifying this project. |
91029113
**uuid** | **String**| |
9114+
**patchedStoreyBuildingRequest** | [**PatchedStoreyBuildingRequest**](PatchedStoreyBuildingRequest.md)| | [optional]
91039115

91049116
### Return type
91059117

@@ -9111,7 +9123,7 @@ Name | Type | Description | Notes
91119123

91129124
### HTTP request headers
91139125

9114-
- **Content-Type**: Not defined
9126+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
91159127
- **Accept**: application/json
91169128

91179129

@@ -10334,7 +10346,7 @@ Name | Type | Description | Notes
1033410346

1033510347
## updateStoreyDeprecated
1033610348

10337-
> Storey updateStoreyDeprecated(cloudPk, ifcPk, projectPk, uuid)
10349+
> Storey updateStoreyDeprecated(cloudPk, ifcPk, projectPk, uuid, opts)
1033810350
1033910351
Update some fields of a storey
1034010352

@@ -10367,7 +10379,10 @@ let cloudPk = 56; // Number | A unique integer value identifying this cloud.
1036710379
let ifcPk = 56; // Number | A unique integer value identifying this model.
1036810380
let projectPk = 56; // Number | A unique integer value identifying this project.
1036910381
let uuid = "uuid_example"; // String |
10370-
apiInstance.updateStoreyDeprecated(cloudPk, ifcPk, projectPk, uuid).then((data) => {
10382+
let opts = {
10383+
'patchedStoreyBuildingRequest': new bimdata.PatchedStoreyBuildingRequest() // PatchedStoreyBuildingRequest |
10384+
};
10385+
apiInstance.updateStoreyDeprecated(cloudPk, ifcPk, projectPk, uuid, opts).then((data) => {
1037110386
console.log('API called successfully. Returned data: ' + data);
1037210387
}, (error) => {
1037310388
console.error(error);
@@ -10384,6 +10399,7 @@ Name | Type | Description | Notes
1038410399
**ifcPk** | **Number**| A unique integer value identifying this model. |
1038510400
**projectPk** | **Number**| A unique integer value identifying this project. |
1038610401
**uuid** | **String**| |
10402+
**patchedStoreyBuildingRequest** | [**PatchedStoreyBuildingRequest**](PatchedStoreyBuildingRequest.md)| | [optional]
1038710403

1038810404
### Return type
1038910405

@@ -10395,7 +10411,7 @@ Name | Type | Description | Notes
1039510411

1039610412
### HTTP request headers
1039710413

10398-
- **Content-Type**: Not defined
10414+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
1039910415
- **Accept**: application/json
1040010416

1040110417

0 commit comments

Comments
 (0)