Skip to content

Commit 3aac344

Browse files
committed
PATCH: fix bimdata_elevation open api field type
1 parent b85a4c3 commit 3aac344

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

package/src/apis/CollaborationApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ export class CollaborationApi extends runtime.BaseAPI {
16771677
}
16781678

16791679
/**
1680-
* Create a document. If the document is one of {\'POINT_CLOUD\', \'DXF\', \'GLTF\', \'DWG\', \'IFC\', \'OBJ\'}, a model will be created and attached to this document Required scopes: document:write
1680+
* Create a document. If the document is one of {\'OBJ\', \'GLTF\', \'IFC\', \'DXF\', \'DWG\', \'POINT_CLOUD\'}, a model will be created and attached to this document Required scopes: document:write
16811681
* Create a document
16821682
*/
16831683
async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Document>> {
@@ -1780,7 +1780,7 @@ export class CollaborationApi extends runtime.BaseAPI {
17801780
}
17811781

17821782
/**
1783-
* Create a document. If the document is one of {\'POINT_CLOUD\', \'DXF\', \'GLTF\', \'DWG\', \'IFC\', \'OBJ\'}, a model will be created and attached to this document Required scopes: document:write
1783+
* Create a document. If the document is one of {\'OBJ\', \'GLTF\', \'IFC\', \'DXF\', \'DWG\', \'POINT_CLOUD\'}, a model will be created and attached to this document Required scopes: document:write
17841784
* Create a document
17851785
*/
17861786
async createDocument(cloud_pk: number, project_pk: number, name: string, file: Blob, parent_id?: number | null, file_name?: string, description?: string | null, model_source?: CreateDocumentModelSourceEnum, ifc_source?: CreateDocumentIfcSourceEnum, successor_of?: number, initOverrides?: RequestInit): Promise<Document> {

package/src/models/Building.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ export interface Building {
4040
readonly name: string;
4141
/**
4242
* Elevation computed by BIMData on storey's objects geometries.
43-
* @type {string}
43+
* @type {number}
4444
* @memberof Building
4545
*/
46-
readonly bimdata_elevation: string;
46+
readonly bimdata_elevation: number;
4747
/**
4848
*
4949
* @type {Array<ModelWithPositioningPlan>}

package/src/models/Storey.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ export interface Storey {
4040
readonly name: string;
4141
/**
4242
* Elevation computed by BIMData on storey's objects geometries.
43-
* @type {string}
43+
* @type {number}
4444
* @memberof Storey
4545
*/
46-
readonly bimdata_elevation: string;
46+
readonly bimdata_elevation: number;
4747
/**
4848
*
4949
* @type {Array<ModelWithPositioningPlan>}

package/src/models/WriteFolderRequest.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ export interface WriteFolderRequest {
2929
* @memberof WriteFolderRequest
3030
*/
3131
default_permission?: WriteFolderRequestDefaultPermissionEnum;
32-
/**
33-
*
34-
* @type {number}
35-
* @memberof WriteFolderRequest
36-
*/
37-
parent_id?: number | null;
3832
/**
3933
* Name of the folder
4034
* @type {string}
4135
* @memberof WriteFolderRequest
4236
*/
4337
name: string;
38+
/**
39+
*
40+
* @type {number}
41+
* @memberof WriteFolderRequest
42+
*/
43+
parent_id?: number | null;
4444
/**
4545
*
4646
* @type {Array<WriteFolderRequest>}
@@ -70,8 +70,8 @@ export function WriteFolderRequestFromJSONTyped(json: any, ignoreDiscriminator:
7070
return {
7171

7272
'default_permission': !exists(json, 'default_permission') ? undefined : json['default_permission'],
73-
'parent_id': !exists(json, 'parent_id') ? undefined : json['parent_id'],
7473
'name': json['name'],
74+
'parent_id': !exists(json, 'parent_id') ? undefined : json['parent_id'],
7575
'children': !exists(json, 'children') ? undefined : (json['children'] === null ? null : (json['children'] as Array<any>).map(WriteFolderRequestFromJSON)),
7676
};
7777
}
@@ -86,8 +86,8 @@ export function WriteFolderRequestToJSON(value?: WriteFolderRequest | null): any
8686
return {
8787

8888
'default_permission': value.default_permission,
89-
'parent_id': value.parent_id,
9089
'name': value.name,
90+
'parent_id': value.parent_id,
9191
'children': value.children === undefined ? undefined : (value.children === null ? null : (value.children as Array<any>).map(WriteFolderRequestToJSON)),
9292
};
9393
}

0 commit comments

Comments
 (0)