From 3aac344d21906fb255166c4138ab12b6f1f7a8a1 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Mon, 9 Sep 2024 16:38:56 +0000 Subject: [PATCH] PATCH: fix bimdata_elevation open api field type --- package/src/apis/CollaborationApi.ts | 4 ++-- package/src/models/Building.ts | 4 ++-- package/src/models/Storey.ts | 4 ++-- package/src/models/WriteFolderRequest.ts | 16 ++++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package/src/apis/CollaborationApi.ts b/package/src/apis/CollaborationApi.ts index 1055094..d5bf3ed 100644 --- a/package/src/apis/CollaborationApi.ts +++ b/package/src/apis/CollaborationApi.ts @@ -1677,7 +1677,7 @@ export class CollaborationApi extends runtime.BaseAPI { } /** - * 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 + * 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 * Create a document */ async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit): Promise> { @@ -1780,7 +1780,7 @@ export class CollaborationApi extends runtime.BaseAPI { } /** - * 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 + * 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 * Create a document */ 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 { diff --git a/package/src/models/Building.ts b/package/src/models/Building.ts index 55ddbe9..1f46bde 100644 --- a/package/src/models/Building.ts +++ b/package/src/models/Building.ts @@ -40,10 +40,10 @@ export interface Building { readonly name: string; /** * Elevation computed by BIMData on storey's objects geometries. - * @type {string} + * @type {number} * @memberof Building */ - readonly bimdata_elevation: string; + readonly bimdata_elevation: number; /** * * @type {Array} diff --git a/package/src/models/Storey.ts b/package/src/models/Storey.ts index 147f8e8..4fab830 100644 --- a/package/src/models/Storey.ts +++ b/package/src/models/Storey.ts @@ -40,10 +40,10 @@ export interface Storey { readonly name: string; /** * Elevation computed by BIMData on storey's objects geometries. - * @type {string} + * @type {number} * @memberof Storey */ - readonly bimdata_elevation: string; + readonly bimdata_elevation: number; /** * * @type {Array} diff --git a/package/src/models/WriteFolderRequest.ts b/package/src/models/WriteFolderRequest.ts index 67c289c..afb6dd8 100644 --- a/package/src/models/WriteFolderRequest.ts +++ b/package/src/models/WriteFolderRequest.ts @@ -29,18 +29,18 @@ export interface WriteFolderRequest { * @memberof WriteFolderRequest */ default_permission?: WriteFolderRequestDefaultPermissionEnum; - /** - * - * @type {number} - * @memberof WriteFolderRequest - */ - parent_id?: number | null; /** * Name of the folder * @type {string} * @memberof WriteFolderRequest */ name: string; + /** + * + * @type {number} + * @memberof WriteFolderRequest + */ + parent_id?: number | null; /** * * @type {Array} @@ -70,8 +70,8 @@ export function WriteFolderRequestFromJSONTyped(json: any, ignoreDiscriminator: return { 'default_permission': !exists(json, 'default_permission') ? undefined : json['default_permission'], - 'parent_id': !exists(json, 'parent_id') ? undefined : json['parent_id'], 'name': json['name'], + 'parent_id': !exists(json, 'parent_id') ? undefined : json['parent_id'], 'children': !exists(json, 'children') ? undefined : (json['children'] === null ? null : (json['children'] as Array).map(WriteFolderRequestFromJSON)), }; } @@ -86,8 +86,8 @@ export function WriteFolderRequestToJSON(value?: WriteFolderRequest | null): any return { 'default_permission': value.default_permission, - 'parent_id': value.parent_id, 'name': value.name, + 'parent_id': value.parent_id, 'children': value.children === undefined ? undefined : (value.children === null ? null : (value.children as Array).map(WriteFolderRequestToJSON)), }; }