Skip to content

Commit

Permalink
PATCH: fix storey name open api
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimdata-io committed Sep 9, 2024
1 parent 1908960 commit 67a5338
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package/src/apis/CollaborationApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Create a document. If the document is one of {\'GLTF\', \'DXF\', \'DWG\', \'IFC\', \'OBJ\', \'POINT_CLOUD\'}, a model will be created and attached to this document Required scopes: document:write
* Create a document. If the document is one of {\'DXF\', \'OBJ\', \'DWG\', \'IFC\', \'GLTF\', \'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<runtime.ApiResponse<Document>> {
Expand Down Expand Up @@ -1780,7 +1780,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Create a document. If the document is one of {\'GLTF\', \'DXF\', \'DWG\', \'IFC\', \'OBJ\', \'POINT_CLOUD\'}, a model will be created and attached to this document Required scopes: document:write
* Create a document. If the document is one of {\'DXF\', \'OBJ\', \'DWG\', \'IFC\', \'GLTF\', \'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<Document> {
Expand Down
2 changes: 1 addition & 1 deletion package/src/models/Building.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface Building {
* @type {string}
* @memberof Building
*/
readonly name: string;
readonly name: string | null;
/**
* Elevation computed by BIMData on storey's objects geometries.
* @type {number}
Expand Down
2 changes: 1 addition & 1 deletion package/src/models/Storey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface Storey {
* @type {string}
* @memberof Storey
*/
readonly name: string;
readonly name: string | null;
/**
* Elevation computed by BIMData on storey's objects geometries.
* @type {number}
Expand Down

0 comments on commit 67a5338

Please sign in to comment.