Skip to content

Commit

Permalink
PATCH: fix project/folder-tree path
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimdata-io committed Dec 14, 2023
1 parent 9698dc5 commit 570e320
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/src/apis/CollaborationApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

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

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

const response = await this.request({
path: `/cloud/{cloud_pk}/project/{id}/folder-trees`.replace(`{${"cloud_pk"}}`, encodeURIComponent(String(requestParameters.cloud_pk))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
path: `/cloud/{cloud_pk}/project/{id}/folder-tree`.replace(`{${"cloud_pk"}}`, encodeURIComponent(String(requestParameters.cloud_pk))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
method: 'GET',
headers: headerParameters,
query: queryParameters,
Expand Down

0 comments on commit 570e320

Please sign in to comment.