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

Commit 2951f64

Browse files
committed
MINOR: add id__in document filter
1 parent 51ddb48 commit 2951f64

12 files changed

+145
-135
lines changed

docs/CollaborationApi.md

Lines changed: 5 additions & 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 {'IFC', 'POINT_CLOUD', 'DWG', 'DXF', 'GLTF', 'OBJ'}, 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', 'OBJ', 'IFC', 'DWG', 'POINT_CLOUD', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
965965

966966
### Example
967967

@@ -3428,6 +3428,7 @@ let opts = {
34283428
'fileNameEndswith': "fileNameEndswith_example", // String |
34293429
'fileNameStartswith': "fileNameStartswith_example", // String |
34303430
'hasVisa': true, // Boolean |
3431+
'idIn': [null], // [Number] | Multiple values may be separated by commas.
34313432
'name': "name_example", // String |
34323433
'nameContains': "nameContains_example", // String |
34333434
'nameEndswith': "nameEndswith_example", // String |
@@ -3474,6 +3475,7 @@ Name | Type | Description | Notes
34743475
**fileNameEndswith** | **String**| | [optional]
34753476
**fileNameStartswith** | **String**| | [optional]
34763477
**hasVisa** | **Boolean**| | [optional]
3478+
**idIn** | [**[Number]**](Number.md)| Multiple values may be separated by commas. | [optional]
34773479
**name** | **String**| | [optional]
34783480
**nameContains** | **String**| | [optional]
34793481
**nameEndswith** | **String**| | [optional]
@@ -3619,6 +3621,7 @@ let opts = {
36193621
'fileNameEndswith': "fileNameEndswith_example", // String |
36203622
'fileNameStartswith': "fileNameStartswith_example", // String |
36213623
'hasVisa': true, // Boolean |
3624+
'idIn': [null], // [Number] | Multiple values may be separated by commas.
36223625
'name': "name_example", // String |
36233626
'nameContains': "nameContains_example", // String |
36243627
'nameEndswith': "nameEndswith_example", // String |
@@ -3665,6 +3668,7 @@ Name | Type | Description | Notes
36653668
**fileNameEndswith** | **String**| | [optional]
36663669
**fileNameStartswith** | **String**| | [optional]
36673670
**hasVisa** | **Boolean**| | [optional]
3671+
**idIn** | [**[Number]**](Number.md)| Multiple values may be separated by commas. | [optional]
36683672
**name** | **String**| | [optional]
36693673
**nameContains** | **String**| | [optional]
36703674
**nameEndswith** | **String**| | [optional]

docs/DocumentText.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **Number** | | [readonly]
88
**text** | **String** | The full text representation of a document if the feature is enabled and the file format supported | [optional]
9-
**language** | **String** | * `french` - french * `spanish` - spanish * `german` - german * `english` - english * `italian` - italian | [optional]
9+
**language** | **String** | * `german` - german * `english` - english * `italian` - italian * `spanish` - spanish * `french` - french | [optional]
1010

1111

1212

1313
## Enum: LanguageEnum
1414

1515

16-
* `french` (value: `"french"`)
17-
18-
* `spanish` (value: `"spanish"`)
19-
2016
* `german` (value: `"german"`)
2117

2218
* `english` (value: `"english"`)
2319

2420
* `italian` (value: `"italian"`)
2521

22+
* `spanish` (value: `"spanish"`)
23+
24+
* `french` (value: `"french"`)
25+
2626
* `null` (value: `"null"`)
2727

2828

docs/PatchedDocumentTextRequest.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**text** | **String** | The full text representation of a document if the feature is enabled and the file format supported | [optional]
8-
**language** | **String** | * `french` - french * `spanish` - spanish * `german` - german * `english` - english * `italian` - italian | [optional]
8+
**language** | **String** | * `german` - german * `english` - english * `italian` - italian * `spanish` - spanish * `french` - french | [optional]
99

1010

1111

1212
## Enum: LanguageEnum
1313

1414

15-
* `french` (value: `"french"`)
16-
17-
* `spanish` (value: `"spanish"`)
18-
1915
* `german` (value: `"german"`)
2016

2117
* `english` (value: `"english"`)
2218

2319
* `italian` (value: `"italian"`)
2420

21+
* `spanish` (value: `"spanish"`)
22+
23+
* `french` (value: `"french"`)
24+
2525
* `null` (value: `"null"`)
2626

2727

docs/WriteFolder.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**type** | **String** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
8-
**parentId** | **Number** | | [optional]
9-
**createdAt** | **Date** | Creation date | [readonly]
10-
**createdBy** | [**ShortUser**](ShortUser.md) | | [readonly]
11-
**id** | **Number** | | [readonly]
127
**name** | **String** | Name of the folder |
13-
**updatedAt** | **Date** | Date of the last update | [readonly]
148
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
15-
**groupsPermissions** | [**[GroupFolderRead]**](GroupFolderRead.md) | List of group permissions | [readonly]
9+
**createdBy** | [**ShortUser**](ShortUser.md) | | [readonly]
1610
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
11+
**groupsPermissions** | [**[GroupFolderRead]**](GroupFolderRead.md) | List of group permissions | [readonly]
12+
**id** | **Number** | | [readonly]
13+
**updatedAt** | **Date** | Date of the last update | [readonly]
1714
**nature** | **String** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
15+
**parentId** | **Number** | | [optional]
16+
**type** | **String** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
17+
**createdAt** | **Date** | Creation date | [readonly]
1818
**children** | [**[WriteFolder]**](WriteFolder.md) | | [optional]
1919

2020

docs/WriteFolderRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**parentId** | **Number** | | [optional]
87
**name** | **String** | Name of the folder |
98
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
9+
**parentId** | **Number** | | [optional]
1010
**children** | [**[WriteFolder]**](WriteFolder.md) | | [optional]
1111

1212

src/api/CollaborationApi.js

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

869869
/**
870870
* Create a document
871-
* Create a document. If the document is one of {'IFC', 'POINT_CLOUD', 'DWG', 'DXF', 'GLTF', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
871+
* Create a document. If the document is one of {'GLTF', 'OBJ', 'IFC', 'DWG', 'POINT_CLOUD', 'DXF'}, 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
@@ -936,7 +936,7 @@ export default class CollaborationApi {
936936

937937
/**
938938
* Create a document
939-
* Create a document. If the document is one of {'IFC', 'POINT_CLOUD', 'DWG', 'DXF', 'GLTF', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
939+
* Create a document. If the document is one of {'GLTF', 'OBJ', 'IFC', 'DWG', 'POINT_CLOUD', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
940940
* @param {Number} cloudPk A unique integer value identifying this cloud.
941941
* @param {Number} projectPk A unique integer value identifying this project.
942942
* @param {String} name Shown name of the file
@@ -3178,6 +3178,7 @@ export default class CollaborationApi {
31783178
* @param {String} opts.fileNameEndswith
31793179
* @param {String} opts.fileNameStartswith
31803180
* @param {Boolean} opts.hasVisa
3181+
* @param {Array.<Number>} opts.idIn Multiple values may be separated by commas.
31813182
* @param {String} opts.name
31823183
* @param {String} opts.nameContains
31833184
* @param {String} opts.nameEndswith
@@ -3227,6 +3228,7 @@ export default class CollaborationApi {
32273228
'file_name__endswith': opts['fileNameEndswith'],
32283229
'file_name__startswith': opts['fileNameStartswith'],
32293230
'has__visa': opts['hasVisa'],
3231+
'id__in': this.apiClient.buildCollectionParam(opts['idIn'], 'csv'),
32303232
'name': opts['name'],
32313233
'name__contains': opts['nameContains'],
32323234
'name__endswith': opts['nameEndswith'],
@@ -3280,6 +3282,7 @@ export default class CollaborationApi {
32803282
* @param {String} opts.fileNameEndswith
32813283
* @param {String} opts.fileNameStartswith
32823284
* @param {Boolean} opts.hasVisa
3285+
* @param {Array.<Number>} opts.idIn Multiple values may be separated by commas.
32833286
* @param {String} opts.name
32843287
* @param {String} opts.nameContains
32853288
* @param {String} opts.nameEndswith
@@ -3389,6 +3392,7 @@ export default class CollaborationApi {
33893392
* @param {String} opts.fileNameEndswith
33903393
* @param {String} opts.fileNameStartswith
33913394
* @param {Boolean} opts.hasVisa
3395+
* @param {Array.<Number>} opts.idIn Multiple values may be separated by commas.
33923396
* @param {String} opts.name
33933397
* @param {String} opts.nameContains
33943398
* @param {String} opts.nameEndswith
@@ -3442,6 +3446,7 @@ export default class CollaborationApi {
34423446
'file_name__endswith': opts['fileNameEndswith'],
34433447
'file_name__startswith': opts['fileNameStartswith'],
34443448
'has__visa': opts['hasVisa'],
3449+
'id__in': this.apiClient.buildCollectionParam(opts['idIn'], 'csv'),
34453450
'name': opts['name'],
34463451
'name__contains': opts['nameContains'],
34473452
'name__endswith': opts['nameEndswith'],
@@ -3495,6 +3500,7 @@ export default class CollaborationApi {
34953500
* @param {String} opts.fileNameEndswith
34963501
* @param {String} opts.fileNameStartswith
34973502
* @param {Boolean} opts.hasVisa
3503+
* @param {Array.<Number>} opts.idIn Multiple values may be separated by commas.
34983504
* @param {String} opts.name
34993505
* @param {String} opts.nameContains
35003506
* @param {String} opts.nameEndswith

src/model/DocumentText.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ DocumentText.prototype['id'] = undefined;
7777
DocumentText.prototype['text'] = undefined;
7878

7979
/**
80-
* * `french` - french * `spanish` - spanish * `german` - german * `english` - english * `italian` - italian
80+
* * `german` - german * `english` - english * `italian` - italian * `spanish` - spanish * `french` - french
8181
* @member {module:model/DocumentText.LanguageEnum} language
8282
*/
8383
DocumentText.prototype['language'] = undefined;
@@ -94,34 +94,34 @@ DocumentText.prototype['language'] = undefined;
9494
DocumentText['LanguageEnum'] = {
9595

9696
/**
97-
* value: "french"
97+
* value: "german"
9898
* @const
9999
*/
100-
"french": "french",
100+
"german": "german",
101101

102102
/**
103-
* value: "spanish"
103+
* value: "english"
104104
* @const
105105
*/
106-
"spanish": "spanish",
106+
"english": "english",
107107

108108
/**
109-
* value: "german"
109+
* value: "italian"
110110
* @const
111111
*/
112-
"german": "german",
112+
"italian": "italian",
113113

114114
/**
115-
* value: "english"
115+
* value: "spanish"
116116
* @const
117117
*/
118-
"english": "english",
118+
"spanish": "spanish",
119119

120120
/**
121-
* value: "italian"
121+
* value: "french"
122122
* @const
123123
*/
124-
"italian": "italian",
124+
"french": "french",
125125

126126
/**
127127
* value: "null"

src/model/PatchedDocumentTextRequest.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class PatchedDocumentTextRequest {
6767
PatchedDocumentTextRequest.prototype['text'] = undefined;
6868

6969
/**
70-
* * `french` - french * `spanish` - spanish * `german` - german * `english` - english * `italian` - italian
70+
* * `german` - german * `english` - english * `italian` - italian * `spanish` - spanish * `french` - french
7171
* @member {module:model/PatchedDocumentTextRequest.LanguageEnum} language
7272
*/
7373
PatchedDocumentTextRequest.prototype['language'] = undefined;
@@ -84,34 +84,34 @@ PatchedDocumentTextRequest.prototype['language'] = undefined;
8484
PatchedDocumentTextRequest['LanguageEnum'] = {
8585

8686
/**
87-
* value: "french"
87+
* value: "german"
8888
* @const
8989
*/
90-
"french": "french",
90+
"german": "german",
9191

9292
/**
93-
* value: "spanish"
93+
* value: "english"
9494
* @const
9595
*/
96-
"spanish": "spanish",
96+
"english": "english",
9797

9898
/**
99-
* value: "german"
99+
* value: "italian"
100100
* @const
101101
*/
102-
"german": "german",
102+
"italian": "italian",
103103

104104
/**
105-
* value: "english"
105+
* value: "spanish"
106106
* @const
107107
*/
108-
"english": "english",
108+
"spanish": "spanish",
109109

110110
/**
111-
* value: "italian"
111+
* value: "french"
112112
* @const
113113
*/
114-
"italian": "italian",
114+
"french": "french",
115115

116116
/**
117117
* value: "null"

0 commit comments

Comments
 (0)