Skip to content

Commit f423783

Browse files
committed
PATCH: empty commit for release viewport rename
1 parent a28932b commit f423783

File tree

11 files changed

+109
-109
lines changed

11 files changed

+109
-109
lines changed

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ Name | Type | Description | Notes
960960
961961
Create a document
962962

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

965965
### Example
966966

docs/Mask2D.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **Number** | | [readonly]
8-
**viewport** | **[[Number]]** | Viewport of the manually created mask to show only a part of the model. |
8+
**cropPath** | **[[Number]]** | Crop path of the manually created mask to show only a part of the model. |
99
**createdAt** | **Date** | Creation date | [readonly]
1010
**updatedAt** | **Date** | Date of the last update | [readonly]
1111

docs/Mask2DRequest.md

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

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**viewport** | **[[Number]]** | Viewport of the manually created mask to show only a part of the model. |
7+
**cropPath** | **[[Number]]** | Crop path of the manually created mask to show only a part of the model. |
88

99

docs/WriteFolder.md

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

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**createdAt** | **Date** | Creation date | [readonly]
8-
**parentId** | **Number** | | [optional]
7+
**nature** | **String** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
8+
**updatedAt** | **Date** | Date of the last update | [readonly]
99
**id** | **Number** | | [readonly]
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-
**updatedAt** | **Date** | Date of the last update | [readonly]
13-
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
14-
**name** | **String** | Name of the folder |
11+
**parentId** | **Number** | | [optional]
1512
**createdBy** | [**ShortUser**](ShortUser.md) | | [readonly]
13+
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
1614
**groupsPermissions** | [**[GroupFolderRead]**](GroupFolderRead.md) | List of group permissions | [readonly]
17-
**nature** | **String** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
15+
**createdAt** | **Date** | Creation date | [readonly]
16+
**name** | **String** | Name of the folder |
17+
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
1818
**children** | [**[WriteFolder]**](WriteFolder.md) | | [optional]
1919

2020

2121

22-
## Enum: UserPermissionEnum
22+
## Enum: DefaultPermissionEnum
2323

2424

2525
* `1` (value: `1`)
@@ -32,7 +32,7 @@ Name | Type | Description | Notes
3232

3333

3434

35-
## Enum: DefaultPermissionEnum
35+
## Enum: UserPermissionEnum
3636

3737

3838
* `1` (value: `1`)

src/api/CollaborationApi.js

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

867867
/**
868868
* Create a document
869-
* Create a document. If the document is one of {'GLTF', 'DWG', 'DXF', 'POINT_CLOUD', 'IFC', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
869+
* Create a document. If the document is one of {'DXF', 'IFC', 'DWG', 'OBJ', 'POINT_CLOUD', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
870870
* @param {Number} cloudPk A unique integer value identifying this cloud.
871871
* @param {Number} projectPk A unique integer value identifying this project.
872872
* @param {String} name Shown name of the file
@@ -934,7 +934,7 @@ export default class CollaborationApi {
934934

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

src/model/Mask2D.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ class Mask2D {
2323
* Constructs a new <code>Mask2D</code>.
2424
* @alias module:model/Mask2D
2525
* @param id {Number}
26-
* @param viewport {Array.<Array.<Number>>} Viewport of the manually created mask to show only a part of the model.
26+
* @param cropPath {Array.<Array.<Number>>} Crop path of the manually created mask to show only a part of the model.
2727
* @param createdAt {Date} Creation date
2828
* @param updatedAt {Date} Date of the last update
2929
*/
30-
constructor(id, viewport, createdAt, updatedAt) {
30+
constructor(id, cropPath, createdAt, updatedAt) {
3131

32-
Mask2D.initialize(this, id, viewport, createdAt, updatedAt);
32+
Mask2D.initialize(this, id, cropPath, createdAt, updatedAt);
3333
}
3434

3535
/**
3636
* Initializes the fields of this object.
3737
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
3838
* Only for internal use.
3939
*/
40-
static initialize(obj, id, viewport, createdAt, updatedAt) {
40+
static initialize(obj, id, cropPath, createdAt, updatedAt) {
4141
obj['id'] = id;
42-
obj['viewport'] = viewport;
42+
obj['crop_path'] = cropPath;
4343
obj['created_at'] = createdAt;
4444
obj['updated_at'] = updatedAt;
4545
}
@@ -58,8 +58,8 @@ class Mask2D {
5858
if (data.hasOwnProperty('id')) {
5959
obj['id'] = ApiClient.convertToType(data['id'], 'Number');
6060
}
61-
if (data.hasOwnProperty('viewport')) {
62-
obj['viewport'] = ApiClient.convertToType(data['viewport'], [['Number']]);
61+
if (data.hasOwnProperty('crop_path')) {
62+
obj['crop_path'] = ApiClient.convertToType(data['crop_path'], [['Number']]);
6363
}
6464
if (data.hasOwnProperty('created_at')) {
6565
obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
@@ -80,10 +80,10 @@ class Mask2D {
8080
Mask2D.prototype['id'] = undefined;
8181

8282
/**
83-
* Viewport of the manually created mask to show only a part of the model.
84-
* @member {Array.<Array.<Number>>} viewport
83+
* Crop path of the manually created mask to show only a part of the model.
84+
* @member {Array.<Array.<Number>>} crop_path
8585
*/
86-
Mask2D.prototype['viewport'] = undefined;
86+
Mask2D.prototype['crop_path'] = undefined;
8787

8888
/**
8989
* Creation date

src/model/Mask2DRequest.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ class Mask2DRequest {
2222
/**
2323
* Constructs a new <code>Mask2DRequest</code>.
2424
* @alias module:model/Mask2DRequest
25-
* @param viewport {Array.<Array.<Number>>} Viewport of the manually created mask to show only a part of the model.
25+
* @param cropPath {Array.<Array.<Number>>} Crop path of the manually created mask to show only a part of the model.
2626
*/
27-
constructor(viewport) {
27+
constructor(cropPath) {
2828

29-
Mask2DRequest.initialize(this, viewport);
29+
Mask2DRequest.initialize(this, cropPath);
3030
}
3131

3232
/**
3333
* Initializes the fields of this object.
3434
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
3535
* Only for internal use.
3636
*/
37-
static initialize(obj, viewport) {
38-
obj['viewport'] = viewport;
37+
static initialize(obj, cropPath) {
38+
obj['crop_path'] = cropPath;
3939
}
4040

4141
/**
@@ -49,8 +49,8 @@ class Mask2DRequest {
4949
if (data) {
5050
obj = obj || new Mask2DRequest();
5151

52-
if (data.hasOwnProperty('viewport')) {
53-
obj['viewport'] = ApiClient.convertToType(data['viewport'], [['Number']]);
52+
if (data.hasOwnProperty('crop_path')) {
53+
obj['crop_path'] = ApiClient.convertToType(data['crop_path'], [['Number']]);
5454
}
5555
}
5656
return obj;
@@ -60,10 +60,10 @@ class Mask2DRequest {
6060
}
6161

6262
/**
63-
* Viewport of the manually created mask to show only a part of the model.
64-
* @member {Array.<Array.<Number>>} viewport
63+
* Crop path of the manually created mask to show only a part of the model.
64+
* @member {Array.<Array.<Number>>} crop_path
6565
*/
66-
Mask2DRequest.prototype['viewport'] = undefined;
66+
Mask2DRequest.prototype['crop_path'] = undefined;
6767

6868

6969

0 commit comments

Comments
 (0)