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

Commit 8011414

Browse files
committed
PATCH: add group short name. (#920)
1 parent aa33f22 commit 8011414

21 files changed

Lines changed: 169 additions & 121 deletions

docs/CollaborationApi.md

Lines changed: 1 addition & 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 {'POINT_CLOUD', 'DXF', 'OBJ', 'DWG', 'IFC', 'PHOTOSPHERE', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
964+
Create a document. If the document is one of {'PHOTOSPHERE', 'GLTF', 'IFC', 'DWG', 'POINT_CLOUD', 'DXF', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
965965

966966
### Example
967967

docs/DocumentText.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ 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 * `italian` - italian * `english` - english * `spanish` - spanish * `german` - german | [optional]
9+
**language** | **String** | * `german` - german * `french` - french * `italian` - italian * `english` - english * `spanish` - spanish | [optional]
1010

1111

1212

1313
## Enum: LanguageEnum
1414

1515

16+
* `german` (value: `"german"`)
17+
1618
* `french` (value: `"french"`)
1719

1820
* `italian` (value: `"italian"`)
@@ -21,8 +23,6 @@ Name | Type | Description | Notes
2123

2224
* `spanish` (value: `"spanish"`)
2325

24-
* `german` (value: `"german"`)
25-
2626
* `null` (value: `"null"`)
2727

2828

docs/Group.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **Number** | | [readonly]
88
**name** | **String** | Full name of the group |
9+
**shortName** | **String** | Short name of the group | [optional]
910
**color** | **String** | | [optional]
1011
**members** | [**[UserProject]**](UserProject.md) | | [readonly]
1112

docs/GroupRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **String** | Full name of the group |
8+
**shortName** | **String** | Short name of the group | [optional]
89
**color** | **String** | | [optional]
910

1011

docs/PatchedDocumentTextRequest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
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 * `italian` - italian * `english` - english * `spanish` - spanish * `german` - german | [optional]
8+
**language** | **String** | * `german` - german * `french` - french * `italian` - italian * `english` - english * `spanish` - spanish | [optional]
99

1010

1111

1212
## Enum: LanguageEnum
1313

1414

15+
* `german` (value: `"german"`)
16+
1517
* `french` (value: `"french"`)
1618

1719
* `italian` (value: `"italian"`)
@@ -20,8 +22,6 @@ Name | Type | Description | Notes
2022

2123
* `spanish` (value: `"spanish"`)
2224

23-
* `german` (value: `"german"`)
24-
2525
* `null` (value: `"null"`)
2626

2727

docs/PatchedGroupRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **String** | Full name of the group | [optional]
8+
**shortName** | **String** | Short name of the group | [optional]
89
**color** | **String** | | [optional]
910

1011

docs/WriteFolder.md

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

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**createdAt** | **Date** | Creation date | [readonly]
8+
**id** | **Number** | | [readonly]
79
**createdBy** | [**ShortUser**](ShortUser.md) | | [readonly]
8-
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
9-
**name** | **String** | Name of the folder |
1010
**type** | **String** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
11+
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
12+
**groupsPermissions** | [**[GroupFolderRead]**](GroupFolderRead.md) | List of group permissions | [readonly]
1113
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
12-
**id** | **Number** | | [readonly]
1314
**parentId** | **Number** | | [optional]
14-
**updatedAt** | **Date** | Date of the last update | [readonly]
15-
**groupsPermissions** | [**[GroupFolderRead]**](GroupFolderRead.md) | List of group permissions | [readonly]
16-
**createdAt** | **Date** | Creation date | [readonly]
15+
**name** | **String** | Name of the folder |
1716
**nature** | **String** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
17+
**updatedAt** | **Date** | Date of the last update | [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-
**name** | **String** | Name of the folder |
87
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
98
**parentId** | **Number** | | [optional]
9+
**name** | **String** | Name of the folder |
1010
**children** | [**[WriteFolder]**](WriteFolder.md) | | [optional]
1111

1212

src/api/CollaborationApi.js

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

937937
/**
938938
* Create a document
939-
* Create a document. If the document is one of {'POINT_CLOUD', 'DXF', 'OBJ', 'DWG', 'IFC', 'PHOTOSPHERE', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
939+
* Create a document. If the document is one of {'PHOTOSPHERE', 'GLTF', 'IFC', 'DWG', 'POINT_CLOUD', 'DXF', 'OBJ'}, 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

src/model/DocumentText.js

Lines changed: 7 additions & 7 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 * `italian` - italian * `english` - english * `spanish` - spanish * `german` - german
80+
* * `german` - german * `french` - french * `italian` - italian * `english` - english * `spanish` - spanish
8181
* @member {module:model/DocumentText.LanguageEnum} language
8282
*/
8383
DocumentText.prototype['language'] = undefined;
@@ -93,6 +93,12 @@ DocumentText.prototype['language'] = undefined;
9393
*/
9494
DocumentText['LanguageEnum'] = {
9595

96+
/**
97+
* value: "german"
98+
* @const
99+
*/
100+
"german": "german",
101+
96102
/**
97103
* value: "french"
98104
* @const
@@ -117,12 +123,6 @@ DocumentText['LanguageEnum'] = {
117123
*/
118124
"spanish": "spanish",
119125

120-
/**
121-
* value: "german"
122-
* @const
123-
*/
124-
"german": "german",
125-
126126
/**
127127
* value: "null"
128128
* @const

0 commit comments

Comments
 (0)