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

Commit 9ea2a48

Browse files
committed
PATCH: fix model_type notification
1 parent 19afe2d commit 9ea2a48

22 files changed

+157
-141
lines changed

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

966966
### Example
967967

docs/Document.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
1919
**createdAt** | **Date** | Creation date | [readonly]
2020
**updatedAt** | **Date** | Date of the last update | [readonly]
2121
**modelId** | **Number** | | [readonly]
22-
**modelType** | **String** | Model's type. Values can be IFC, DWG, DXF, GLTF, PDF, JPEG, PNG, OBJ, POINT_CLOUD | [readonly]
22+
**modelType** | **String** | Model's type. Values can be IFC, DWG, DXF, GLTF, PDF, JPEG, PNG, OBJ, POINT_CLOUD, PHOTOSPHERE | [readonly]
2323
**ifcId** | **Number** | DEPRECATED: Use 'model_id' instead. | [readonly]
2424
**headId** | **Number** | Document id of head version | [readonly]
2525
**isHeadVersion** | **Boolean** | Document is a head of version or is owned by another document | [readonly]
@@ -51,6 +51,8 @@ Name | Type | Description | Notes
5151

5252
* `POINT_CLOUD` (value: `"POINT_CLOUD"`)
5353

54+
* `PHOTOSPHERE` (value: `"PHOTOSPHERE"`)
55+
5456
* `null` (value: `"null"`)
5557

5658

docs/DocumentText.md

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

1111

1212

1313
## Enum: LanguageEnum
1414

1515

16-
* `italian` (value: `"italian"`)
17-
1816
* `german` (value: `"german"`)
1917

2018
* `english` (value: `"english"`)
2119

2220
* `spanish` (value: `"spanish"`)
2321

22+
* `italian` (value: `"italian"`)
23+
2424
* `french` (value: `"french"`)
2525

2626
* `null` (value: `"null"`)

docs/Model.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **Number** | | [readonly]
88
**name** | **String** | | [optional]
9-
**type** | **String** | * `IFC` - IFC * `DWG` - DWG * `DXF` - DXF * `GLTF` - GLTF * `PDF` - PDF * `JPEG` - JPEG * `PNG` - PNG * `OBJ` - OBJ * `POINT_CLOUD` - POINT_CLOUD * `METABUILDING` - METABUILDING * `PHOTOSPHERE` - PHOTOSPHERE * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING | [readonly]
9+
**type** | **String** | * `IFC` - IFC * `DWG` - DWG * `DXF` - DXF * `GLTF` - GLTF * `PDF` - PDF * `JPEG` - JPEG * `PNG` - PNG * `OBJ` - OBJ * `POINT_CLOUD` - POINT_CLOUD * `PHOTOSPHERE` - PHOTOSPHERE * `METABUILDING` - METABUILDING * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING | [readonly]
1010
**creator** | [**User**](User.md) | | [readonly]
1111
**status** | **String** | | [readonly]
1212
**source** | **String** | * `UPLOAD` - UPLOAD * `SPLIT` - SPLIT * `MERGE` - MERGE * `EXPORT` - EXPORT * `OPTIMIZED` - OPTIMIZED | [optional]
@@ -62,10 +62,10 @@ Name | Type | Description | Notes
6262

6363
* `POINT_CLOUD` (value: `"POINT_CLOUD"`)
6464

65-
* `METABUILDING` (value: `"METABUILDING"`)
66-
6765
* `PHOTOSPHERE` (value: `"PHOTOSPHERE"`)
6866

67+
* `METABUILDING` (value: `"METABUILDING"`)
68+
6969
* `PHOTOSPHERE_BUILDING` (value: `"PHOTOSPHERE_BUILDING"`)
7070

7171

docs/ModelApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7498,7 +7498,7 @@ let projectPk = 56; // Number |
74987498
let opts = {
74997499
'source': "source_example", // String | * `UPLOAD` - UPLOAD * `SPLIT` - SPLIT * `MERGE` - MERGE * `EXPORT` - EXPORT * `OPTIMIZED` - OPTIMIZED
75007500
'status': ["null"], // [String] | * `C` - completed * `D` - deleted * `P` - pending * `W` - waiting * `I` - in process * `E` - errored * `X` - won't fix
7501-
'type': ["null"] // [String] | * `IFC` - IFC * `DWG` - DWG * `DXF` - DXF * `GLTF` - GLTF * `PDF` - PDF * `JPEG` - JPEG * `PNG` - PNG * `OBJ` - OBJ * `POINT_CLOUD` - POINT_CLOUD * `METABUILDING` - METABUILDING * `PHOTOSPHERE` - PHOTOSPHERE * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING
7501+
'type': ["null"] // [String] | * `IFC` - IFC * `DWG` - DWG * `DXF` - DXF * `GLTF` - GLTF * `PDF` - PDF * `JPEG` - JPEG * `PNG` - PNG * `OBJ` - OBJ * `POINT_CLOUD` - POINT_CLOUD * `PHOTOSPHERE` - PHOTOSPHERE * `METABUILDING` - METABUILDING * `PHOTOSPHERE` - PHOTOSPHERE * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING
75027502
};
75037503
apiInstance.getModels(cloudPk, projectPk, opts).then((data) => {
75047504
console.log('API called successfully. Returned data: ' + data);
@@ -7517,7 +7517,7 @@ Name | Type | Description | Notes
75177517
**projectPk** | **Number**| |
75187518
**source** | **String**| * `UPLOAD` - UPLOAD * `SPLIT` - SPLIT * `MERGE` - MERGE * `EXPORT` - EXPORT * `OPTIMIZED` - OPTIMIZED | [optional]
75197519
**status** | [**[String]**](String.md)| * `C` - completed * `D` - deleted * `P` - pending * `W` - waiting * `I` - in process * `E` - errored * `X` - won't fix | [optional]
7520-
**type** | [**[String]**](String.md)| * `IFC` - IFC * `DWG` - DWG * `DXF` - DXF * `GLTF` - GLTF * `PDF` - PDF * `JPEG` - JPEG * `PNG` - PNG * `OBJ` - OBJ * `POINT_CLOUD` - POINT_CLOUD * `METABUILDING` - METABUILDING * `PHOTOSPHERE` - PHOTOSPHERE * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING | [optional]
7520+
**type** | [**[String]**](String.md)| * `IFC` - IFC * `DWG` - DWG * `DXF` - DXF * `GLTF` - GLTF * `PDF` - PDF * `JPEG` - JPEG * `PNG` - PNG * `OBJ` - OBJ * `POINT_CLOUD` - POINT_CLOUD * `PHOTOSPHERE` - PHOTOSPHERE * `METABUILDING` - METABUILDING * `PHOTOSPHERE` - PHOTOSPHERE * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING | [optional]
75217521

75227522
### Return type
75237523

docs/ModelSerializerWithoutChildren.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **Number** | | [readonly]
88
**name** | **String** | | [optional]
9-
**type** | **String** | * `IFC` - IFC * `DWG` - DWG * `DXF` - DXF * `GLTF` - GLTF * `PDF` - PDF * `JPEG` - JPEG * `PNG` - PNG * `OBJ` - OBJ * `POINT_CLOUD` - POINT_CLOUD * `METABUILDING` - METABUILDING * `PHOTOSPHERE` - PHOTOSPHERE * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING | [readonly]
9+
**type** | **String** | * `IFC` - IFC * `DWG` - DWG * `DXF` - DXF * `GLTF` - GLTF * `PDF` - PDF * `JPEG` - JPEG * `PNG` - PNG * `OBJ` - OBJ * `POINT_CLOUD` - POINT_CLOUD * `PHOTOSPHERE` - PHOTOSPHERE * `METABUILDING` - METABUILDING * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING | [readonly]
1010
**creator** | [**User**](User.md) | | [readonly]
1111
**status** | **String** | | [readonly]
1212
**source** | **String** | * `UPLOAD` - UPLOAD * `SPLIT` - SPLIT * `MERGE` - MERGE * `EXPORT` - EXPORT * `OPTIMIZED` - OPTIMIZED | [optional]
@@ -61,10 +61,10 @@ Name | Type | Description | Notes
6161

6262
* `POINT_CLOUD` (value: `"POINT_CLOUD"`)
6363

64-
* `METABUILDING` (value: `"METABUILDING"`)
65-
6664
* `PHOTOSPHERE` (value: `"PHOTOSPHERE"`)
6765

66+
* `METABUILDING` (value: `"METABUILDING"`)
67+
6868
* `PHOTOSPHERE_BUILDING` (value: `"PHOTOSPHERE_BUILDING"`)
6969

7070

docs/PatchedDocumentTextRequest.md

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

1010

1111

1212
## Enum: LanguageEnum
1313

1414

15-
* `italian` (value: `"italian"`)
16-
1715
* `german` (value: `"german"`)
1816

1917
* `english` (value: `"english"`)
2018

2119
* `spanish` (value: `"spanish"`)
2220

21+
* `italian` (value: `"italian"`)
22+
2323
* `french` (value: `"french"`)
2424

2525
* `null` (value: `"null"`)

docs/RecursiveFolderChildren.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**createdBy** | [**ShortUser**](ShortUser.md) | | [optional]
1010
**type** | **String** | DEPRECATED: Use 'nature' instead. Values can be 'Folder', 'Document' or 'Ifc'. It is usefull to parse the tree and discriminate folders and files | [readonly]
1111
**nature** | **String** | Values can be 'Folder', 'Document' or 'Model'. It is usefull to parse the tree and discriminate folders and files | [readonly]
12-
**modelType** | **String** | Model's type. Values can be IFC, DWG, DXF, GLTF, PDF, JPEG, PNG, OBJ, POINT_CLOUD | [readonly]
12+
**modelType** | **String** | Model's type. Values can be IFC, DWG, DXF, GLTF, PDF, JPEG, PNG, OBJ, POINT_CLOUD, PHOTOSPHERE | [readonly]
1313
**name** | **String** | |
1414
**createdAt** | **Date** | |
1515
**updatedAt** | **Date** | |
@@ -76,6 +76,8 @@ Name | Type | Description | Notes
7676

7777
* `POINT_CLOUD` (value: `"POINT_CLOUD"`)
7878

79+
* `PHOTOSPHERE` (value: `"PHOTOSPHERE"`)
80+
7981
* `null` (value: `"null"`)
8082

8183

docs/WriteFolder.md

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

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**nature** | **String** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
8-
**id** | **Number** | | [readonly]
9-
**parentId** | **Number** | | [optional]
107
**name** | **String** | Name of the folder |
8+
**createdAt** | **Date** | Creation date | [readonly]
119
**defaultPermission** | **Number** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
10+
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
11+
**id** | **Number** | | [readonly]
1212
**type** | **String** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
13+
**parentId** | **Number** | | [optional]
14+
**nature** | **String** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
1315
**createdBy** | [**ShortUser**](ShortUser.md) | | [readonly]
14-
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
1516
**groupsPermissions** | [**[GroupFolderRead]**](GroupFolderRead.md) | List of group permissions | [readonly]
1617
**updatedAt** | **Date** | Date of the last update | [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

0 commit comments

Comments
 (0)