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

Commit be7fda4

Browse files
committed
MINOR: add 360_viewer_file
1 parent dd7c4e9 commit be7fda4

File tree

12 files changed

+92
-79
lines changed

12 files changed

+92
-79
lines changed

docs/BcfApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ Bearer.apiKey = 'YOUR API KEY';
716716
//Bearer.apiKeyPrefix = 'Token';
717717

718718
var apiInstance = new bimdata.BcfApi();
719-
var id = 56; // Number | A unique integer value identifying this project.
719+
var id = "id_example"; // String |
720720
var bcfProject = new bimdata.BcfProject(); // BcfProject |
721721
apiInstance.fullUpdateBcfProject(id, bcfProject).then(function(data) {
722722
console.log('API called successfully. Returned data: ' + data);
@@ -730,7 +730,7 @@ apiInstance.fullUpdateBcfProject(id, bcfProject).then(function(data) {
730730

731731
Name | Type | Description | Notes
732732
------------- | ------------- | ------------- | -------------
733-
**id** | **Number**| A unique integer value identifying this project. |
733+
**id** | **String**| |
734734
**bcfProject** | [**BcfProject**](BcfProject.md)| |
735735

736736
### Return type
@@ -1122,7 +1122,7 @@ Bearer.apiKey = 'YOUR API KEY';
11221122
//Bearer.apiKeyPrefix = 'Token';
11231123

11241124
var apiInstance = new bimdata.BcfApi();
1125-
var id = 56; // Number | A unique integer value identifying this project.
1125+
var id = "id_example"; // String |
11261126
apiInstance.getBcfProject(id).then(function(data) {
11271127
console.log('API called successfully. Returned data: ' + data);
11281128
}, function(error) {
@@ -1135,7 +1135,7 @@ apiInstance.getBcfProject(id).then(function(data) {
11351135

11361136
Name | Type | Description | Notes
11371137
------------- | ------------- | ------------- | -------------
1138-
**id** | **Number**| A unique integer value identifying this project. |
1138+
**id** | **String**| |
11391139

11401140
### Return type
11411141

@@ -2080,7 +2080,7 @@ Bearer.apiKey = 'YOUR API KEY';
20802080
//Bearer.apiKeyPrefix = 'Token';
20812081

20822082
var apiInstance = new bimdata.BcfApi();
2083-
var id = 56; // Number | A unique integer value identifying this project.
2083+
var id = "id_example"; // String |
20842084
var bcfProject = new bimdata.BcfProject(); // BcfProject |
20852085
apiInstance.updateBcfProject(id, bcfProject).then(function(data) {
20862086
console.log('API called successfully. Returned data: ' + data);
@@ -2094,7 +2094,7 @@ apiInstance.updateBcfProject(id, bcfProject).then(function(data) {
20942094

20952095
Name | Type | Description | Notes
20962096
------------- | ------------- | ------------- | -------------
2097-
**id** | **Number**| A unique integer value identifying this project. |
2097+
**id** | **String**| |
20982098
**bcfProject** | [**BcfProject**](BcfProject.md)| |
20992099

21002100
### Return type

docs/Ifc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**mapFile** | **String** | | [optional]
1717
**gltfFile** | **String** | | [optional]
1818
**bvhTreeFile** | **String** | | [optional]
19+
**viewer360File** | **String** | | [optional]
1920
**errorDetail** | **String** | | [optional]
2021
**projectId** | **String** | | [optional]
2122

docs/IfcApi.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ Name | Type | Description | Notes
842842
843843

844844

845-
Create an property_set that will be automatically linked to the element
845+
Create an property_set that will be automatically linked to the element
846846

847847
### Example
848848
```javascript
@@ -1068,7 +1068,7 @@ Name | Type | Description | Notes
10681068
10691069

10701070

1071-
Bulk create available. You can either post an object or a list of objects. Is you post a list, the response will be a list (in the same order) of created objects or of errors if any If at least one create succeeded, the status code will be 201. If every create failed, the status code we'll be 400 with the list of errors If classification created already exists, it will just be added to item's classifications and will not be duplicated
1071+
Bulk create available. You can either post an object or a list of objects. Is you post a list, the response will be a list (in the same order) of created objects or of errors if any If at least one create succeeded, the status code will be 201. If every create failed, the status code we'll be 400 with the list of errors If classification created already exists, it will just be added to item's classifications and will not be duplicated
10721072

10731073
### Example
10741074
```javascript
@@ -1121,7 +1121,7 @@ Name | Type | Description | Notes
11211121
11221122

11231123

1124-
Bulk create available. You can either post an object or a list of objects. Is you post a list, the response will be a list (in the same order) of created objects or of errors if any If at least one create succeeded, the status code will be 201. If every create failed, the status code we'll be 400 with the list of errors If classification created already exists, it will just be added to item's classifications and will not be duplicated
1124+
Bulk create available. You can either post an object or a list of objects. Is you post a list, the response will be a list (in the same order) of created objects or of errors if any If at least one create succeeded, the status code will be 201. If every create failed, the status code we'll be 400 with the list of errors If classification created already exists, it will just be added to item's classifications and will not be duplicated
11251125

11261126
### Example
11271127
```javascript
@@ -1174,7 +1174,7 @@ Name | Type | Description | Notes
11741174
11751175

11761176

1177-
Bulk create available. You can either post an object or a list of objects. Is you post a list, the response will be a list (in the same order) of created objects or of errors if any If at least one create succeeded, the status code will be 201. If every create failed, the status code we'll be 400 with the list of errors If classification created already exists, it will just be added to item's classifications and will not be duplicated
1177+
Bulk create available. You can either post an object or a list of objects. Is you post a list, the response will be a list (in the same order) of created objects or of errors if any If at least one create succeeded, the status code will be 201. If every create failed, the status code we'll be 400 with the list of errors If classification created already exists, it will just be added to item's classifications and will not be duplicated
11781178

11791179
### Example
11801180
```javascript
@@ -1280,7 +1280,7 @@ null (empty response body)
12801280
12811281

12821282

1283-
You can use the same optimized structure to post multiple elements ,property_sets, properties, definitions and units at once. If the structure is malformed, an error 500 without more explaination will be returned
1283+
You can use the same optimized structure to post multiple elements, property_sets, properties, definitions and units at once. If the structure is malformed, an error 500 without more explaination may be returned
12841284

12851285
### Example
12861286
```javascript
@@ -1543,6 +1543,8 @@ null (empty response body)
15431543
15441544

15451545

1546+
Delete IFC. Will also delete all properties and generated files. If the IFC is heavy, it can take several seconds.
1547+
15461548
### Example
15471549
```javascript
15481550
var bimdata = require('@bimdata/bimdata-api-client');
@@ -2004,6 +2006,8 @@ Name | Type | Description | Notes
20042006
20052007

20062008

2009+
Update all IFC attributes
2010+
20072011
### Example
20082012
```javascript
20092013
var bimdata = require('@bimdata/bimdata-api-client');
@@ -3078,6 +3082,8 @@ Name | Type | Description | Notes
30783082
30793083

30803084

3085+
Get one IFC details
3086+
30813087
### Example
30823088
```javascript
30833089
var bimdata = require('@bimdata/bimdata-api-client');
@@ -3731,6 +3737,8 @@ Name | Type | Description | Notes
37313737
37323738

37333739

3740+
Returns all IFCs of the project
3741+
37343742
### Example
37353743
```javascript
37363744
var bimdata = require('@bimdata/bimdata-api-client');
@@ -3882,7 +3890,7 @@ Name | Type | Description | Notes
38823890
38833891

38843892

3885-
Returns elements ,property_sets, properties, definitions and units in a optimized structure
3893+
Returns elements, property_sets, properties, definitions and units in a JSON optimized structure
38863894

38873895
### Example
38883896
```javascript
@@ -4353,7 +4361,7 @@ null (empty response body)
43534361
43544362

43554363

4356-
Delete the relation between the element and the property set. Does not delete any object
4364+
Delete the relation between the element and the property set. Does not delete any object
43574365

43584366
### Example
43594367
```javascript
@@ -4685,6 +4693,8 @@ Name | Type | Description | Notes
46854693
46864694

46874695

4696+
Update some IFC attributes
4697+
46884698
### Example
46894699
```javascript
46904700
var bimdata = require('@bimdata/bimdata-api-client');
@@ -4757,7 +4767,8 @@ var opts = {
47574767
'systemsFile': "/path/to/file", // File |
47584768
'mapFile': "/path/to/file", // File |
47594769
'gltfFile': "/path/to/file", // File |
4760-
'bvhTreeFile': "/path/to/file" // File |
4770+
'bvhTreeFile': "/path/to/file", // File |
4771+
'viewer360File': "/path/to/file" // File |
47614772
};
47624773
apiInstance.updateIfcFiles(cloudPk, id, projectPk, opts).then(function(data) {
47634774
console.log('API called successfully. Returned data: ' + data);
@@ -4779,6 +4790,7 @@ Name | Type | Description | Notes
47794790
**mapFile** | **File**| | [optional]
47804791
**gltfFile** | **File**| | [optional]
47814792
**bvhTreeFile** | **File**| | [optional]
4793+
**viewer360File** | **File**| | [optional]
47824794

47834795
### Return type
47844796

docs/IfcFiles.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
88
**mapFile** | **String** | | [optional]
99
**gltfFile** | **String** | | [optional]
1010
**bvhTreeFile** | **String** | | [optional]
11+
**viewer360File** | **String** | | [optional]
1112

1213

docs/ProjectApi.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,14 @@ var cloudPk = "cloudPk_example"; // String |
109109
var projectPk = "projectPk_example"; // String |
110110
var name = "name_example"; // String |
111111
var opts = {
112-
'id': 56, // Number |
113112
'parent': 56, // Number |
114113
'parentId': 56, // Number |
115114
'creator': 56, // Number |
116115
'project': 56, // Number |
117116
'fileName': "fileName_example", // String |
118117
'description': "description_example", // String |
119118
'file': "/path/to/file", // File |
120-
'size': 56, // Number |
121-
'createdAt': new Date("2013-10-20T19:20:30+01:00"), // Date |
122-
'updatedAt': new Date("2013-10-20T19:20:30+01:00"), // Date |
123-
'ifcId': "ifcId_example" // String |
119+
'size': 56 // Number |
124120
};
125121
apiInstance.createDocument(cloudPk, projectPk, name, opts).then(function(data) {
126122
console.log('API called successfully. Returned data: ' + data);
@@ -137,7 +133,6 @@ Name | Type | Description | Notes
137133
**cloudPk** | **String**| |
138134
**projectPk** | **String**| |
139135
**name** | **String**| |
140-
**id** | **Number**| | [optional]
141136
**parent** | **Number**| | [optional]
142137
**parentId** | **Number**| | [optional]
143138
**creator** | **Number**| | [optional]
@@ -146,9 +141,6 @@ Name | Type | Description | Notes
146141
**description** | **String**| | [optional]
147142
**file** | **File**| | [optional]
148143
**size** | **Number**| | [optional]
149-
**createdAt** | **Date**| | [optional]
150-
**updatedAt** | **Date**| | [optional]
151-
**ifcId** | **String**| | [optional]
152144

153145
### Return type
154146

@@ -624,18 +616,14 @@ var id = 56; // Number | A unique integer value identifying this document.
624616
var projectPk = "projectPk_example"; // String |
625617
var name = "name_example"; // String |
626618
var opts = {
627-
'id': 56, // Number |
628619
'parent': 56, // Number |
629620
'parentId': 56, // Number |
630621
'creator': 56, // Number |
631622
'project': 56, // Number |
632623
'fileName': "fileName_example", // String |
633624
'description': "description_example", // String |
634625
'file': "/path/to/file", // File |
635-
'size': 56, // Number |
636-
'createdAt': new Date("2013-10-20T19:20:30+01:00"), // Date |
637-
'updatedAt': new Date("2013-10-20T19:20:30+01:00"), // Date |
638-
'ifcId': "ifcId_example" // String |
626+
'size': 56 // Number |
639627
};
640628
apiInstance.fullUpdateDocument(cloudPk, id, projectPk, name, opts).then(function(data) {
641629
console.log('API called successfully. Returned data: ' + data);
@@ -653,7 +641,6 @@ Name | Type | Description | Notes
653641
**id** | **Number**| A unique integer value identifying this document. |
654642
**projectPk** | **String**| |
655643
**name** | **String**| |
656-
**id** | **Number**| | [optional]
657644
**parent** | **Number**| | [optional]
658645
**parentId** | **Number**| | [optional]
659646
**creator** | **Number**| | [optional]
@@ -662,9 +649,6 @@ Name | Type | Description | Notes
662649
**description** | **String**| | [optional]
663650
**file** | **File**| | [optional]
664651
**size** | **Number**| | [optional]
665-
**createdAt** | **Date**| | [optional]
666-
**updatedAt** | **Date**| | [optional]
667-
**ifcId** | **String**| | [optional]
668652

669653
### Return type
670654

src/api/BcfApi.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@
912912

913913

914914
/**
915-
* @param {Number} id A unique integer value identifying this project.
915+
* @param {String} id
916916
* @param {module:model/BcfProject} bcfProject
917917
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BcfProject} and HTTP response
918918
*/
@@ -955,7 +955,7 @@
955955
}
956956

957957
/**
958-
* @param {Number} id A unique integer value identifying this project.
958+
* @param {String} id
959959
* @param {module:model/BcfProject} bcfProject
960960
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BcfProject}
961961
*/
@@ -1480,7 +1480,7 @@
14801480

14811481

14821482
/**
1483-
* @param {Number} id A unique integer value identifying this project.
1483+
* @param {String} id
14841484
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BcfProject} and HTTP response
14851485
*/
14861486
this.getBcfProjectWithHttpInfo = function(id) {
@@ -1517,7 +1517,7 @@
15171517
}
15181518

15191519
/**
1520-
* @param {Number} id A unique integer value identifying this project.
1520+
* @param {String} id
15211521
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BcfProject}
15221522
*/
15231523
this.getBcfProject = function(id) {
@@ -2672,7 +2672,7 @@
26722672

26732673

26742674
/**
2675-
* @param {Number} id A unique integer value identifying this project.
2675+
* @param {String} id
26762676
* @param {module:model/BcfProject} bcfProject
26772677
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BcfProject} and HTTP response
26782678
*/
@@ -2715,7 +2715,7 @@
27152715
}
27162716

27172717
/**
2718-
* @param {Number} id A unique integer value identifying this project.
2718+
* @param {String} id
27192719
* @param {module:model/BcfProject} bcfProject
27202720
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BcfProject}
27212721
*/

0 commit comments

Comments
 (0)