Skip to content

Commit 5d24a50

Browse files
committed
PATCH: zone: parent_id field may be null
1 parent ed7d50a commit 5d24a50

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package/src/apis/CollaborationApi.ts

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

15661566
/**
1567-
* Create a document. If the document is one of {\'DXF\', \'IFC\', \'GLTF\', \'OBJ\', \'POINT_CLOUD\', \'DWG\'}, a model will be created and attached to this document Required scopes: document:write
1567+
* Create a document. If the document is one of {\'OBJ\', \'DWG\', \'POINT_CLOUD\', \'DXF\', \'IFC\', \'GLTF\'}, a model will be created and attached to this document Required scopes: document:write
15681568
* Create a document
15691569
*/
15701570
async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Document>> {
@@ -1667,7 +1667,7 @@ export class CollaborationApi extends runtime.BaseAPI {
16671667
}
16681668

16691669
/**
1670-
* Create a document. If the document is one of {\'DXF\', \'IFC\', \'GLTF\', \'OBJ\', \'POINT_CLOUD\', \'DWG\'}, a model will be created and attached to this document Required scopes: document:write
1670+
* Create a document. If the document is one of {\'OBJ\', \'DWG\', \'POINT_CLOUD\', \'DXF\', \'IFC\', \'GLTF\'}, a model will be created and attached to this document Required scopes: document:write
16711671
* Create a document
16721672
*/
16731673
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/PatchedZoneRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface PatchedZoneRequest {
5555
* @type {number}
5656
* @memberof PatchedZoneRequest
5757
*/
58-
parent_id?: number;
58+
parent_id?: number | null;
5959
/**
6060
*
6161
* @type {Array<ZoneSpaceRequest>}

package/src/models/Zone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface Zone {
5555
* @type {number}
5656
* @memberof Zone
5757
*/
58-
parent_id?: number;
58+
parent_id?: number | null;
5959
/**
6060
*
6161
* @type {Array<ZoneSpace>}

package/src/models/ZoneRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface ZoneRequest {
4949
* @type {number}
5050
* @memberof ZoneRequest
5151
*/
52-
parent_id?: number;
52+
parent_id?: number | null;
5353
/**
5454
*
5555
* @type {Array<ZoneSpaceRequest>}

0 commit comments

Comments
 (0)