Skip to content

Commit a6fc713

Browse files
committed
PATCH: Add document history count (#681)
* add document history count * typo fixe
1 parent a9ad097 commit a6fc713

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

docs/BcfApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,7 @@ let apiInstance = new bimdata.BcfApi();
13981398
let id = 56; // Number | A unique integer value identifying this project.
13991399
let opts = {
14001400
'format': "format_example", // String | topic format to export, comma separated. Default = standard
1401+
'locale': "locale_example", // String | Locale of the exported file. Available locales are 'en' and 'fr'. If set locale is not supported, 'en' will be used
14011402
'topics': "topics_example" // String | topic guids to export, comma separated. Default = all
14021403
};
14031404
apiInstance.downloadBcfExportXlsx(id, opts).then((data) => {
@@ -1415,6 +1416,7 @@ Name | Type | Description | Notes
14151416
------------- | ------------- | ------------- | -------------
14161417
**id** | **Number**| A unique integer value identifying this project. |
14171418
**format** | **String**| topic format to export, comma separated. Default = standard | [optional]
1419+
**locale** | **String**| Locale of the exported file. Available locales are 'en' and 'fr'. If set locale is not supported, 'en' will be used | [optional]
14181420
**topics** | **String**| topic guids to export, comma separated. Default = all | [optional]
14191421

14201422
### Return type

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ Name | Type | Description | Notes
956956
957957
Create a document
958958

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

961961
### Example
962962

src/api/BcfApi.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,7 @@ export default class BcfApi {
12421242
* @param {Number} id A unique integer value identifying this project.
12431243
* @param {Object} opts Optional parameters
12441244
* @param {String} opts.format topic format to export, comma separated. Default = standard
1245+
* @param {module:model/String} opts.locale Locale of the exported file. Available locales are 'en' and 'fr'. If set locale is not supported, 'en' will be used
12451246
* @param {String} opts.topics topic guids to export, comma separated. Default = all
12461247
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
12471248
*/
@@ -1258,6 +1259,7 @@ export default class BcfApi {
12581259
};
12591260
let queryParams = {
12601261
'format': opts['format'],
1262+
'locale': opts['locale'],
12611263
'topics': opts['topics']
12621264
};
12631265
let headerParams = {
@@ -1282,6 +1284,7 @@ export default class BcfApi {
12821284
* @param {Number} id A unique integer value identifying this project.
12831285
* @param {Object} opts Optional parameters
12841286
* @param {String} opts.format topic format to export, comma separated. Default = standard
1287+
* @param {module:model/String} opts.locale Locale of the exported file. Available locales are 'en' and 'fr'. If set locale is not supported, 'en' will be used
12851288
* @param {String} opts.topics topic guids to export, comma separated. Default = all
12861289
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
12871290
*/

src/api/CollaborationApi.js

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

860860
/**
861861
* Create a document
862-
* Create a document. If the document is one of {'POINT_CLOUD', 'IFC', 'GLTF', 'DWG', 'OBJ', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
862+
* Create a document. If the document is one of {'POINT_CLOUD', 'OBJ', 'DWG', 'IFC', 'DXF', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
863863
* @param {Number} cloudPk A unique integer value identifying this cloud.
864864
* @param {Number} projectPk A unique integer value identifying this project.
865865
* @param {String} name Shown name of the file
@@ -925,7 +925,7 @@ export default class CollaborationApi {
925925

926926
/**
927927
* Create a document
928-
* Create a document. If the document is one of {'POINT_CLOUD', 'IFC', 'GLTF', 'DWG', 'OBJ', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
928+
* Create a document. If the document is one of {'POINT_CLOUD', 'OBJ', 'DWG', 'IFC', 'DXF', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
929929
* @param {Number} cloudPk A unique integer value identifying this cloud.
930930
* @param {Number} projectPk A unique integer value identifying this project.
931931
* @param {String} name Shown name of the file

0 commit comments

Comments
 (0)