Skip to content

Commit

Permalink
PATCH: add id project to serializer getProjectFolderTreeSerializers
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimdata-io committed Sep 21, 2023
1 parent 9c0042b commit a6a8524
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
24 changes: 12 additions & 12 deletions package/src/apis/CollaborationApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

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

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

/**
* Create a tag Required scopes: org:manage
* Create a tag Required scopes: document:write
* Create a tag
*/
async createTagRaw(requestParameters: CreateTagRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Tag>> {
Expand Down Expand Up @@ -1968,7 +1968,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Create a tag Required scopes: org:manage
* Create a tag Required scopes: document:write
* Create a tag
*/
async createTag(cloud_pk: number, project_pk: number, TagRequest: TagRequest, initOverrides?: RequestInit): Promise<Tag> {
Expand Down Expand Up @@ -2848,7 +2848,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Delete the tag Required scopes: org:manage
* Delete the tag Required scopes: document:write
* Delete the tag
*/
async deleteTagRaw(requestParameters: DeleteTagRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>> {
Expand Down Expand Up @@ -2897,7 +2897,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Delete the tag Required scopes: org:manage
* Delete the tag Required scopes: document:write
* Delete the tag
*/
async deleteTag(cloud_pk: number, id: number, project_pk: number, initOverrides?: RequestInit): Promise<void> {
Expand Down Expand Up @@ -5004,7 +5004,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Retrieve a tag in the project Required scopes: org:manage
* Retrieve a tag in the project Required scopes: document:read
* Retrieve a tag
*/
async getTagRaw(requestParameters: GetTagRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Tag>> {
Expand Down Expand Up @@ -5053,7 +5053,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Retrieve a tag in the project Required scopes: org:manage
* Retrieve a tag in the project Required scopes: document:read
* Retrieve a tag
*/
async getTag(cloud_pk: number, id: number, project_pk: number, initOverrides?: RequestInit): Promise<Tag> {
Expand All @@ -5062,7 +5062,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Retrieve all tags in the project Required scopes: org:manage
* Retrieve all tags in the project Required scopes: document:read
* Retrieve all tags
*/
async getTagsRaw(requestParameters: GetTagsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<Tag>>> {
Expand Down Expand Up @@ -5107,7 +5107,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Retrieve all tags in the project Required scopes: org:manage
* Retrieve all tags in the project Required scopes: document:read
* Retrieve all tags
*/
async getTags(cloud_pk: number, project_pk: number, initOverrides?: RequestInit): Promise<Array<Tag>> {
Expand Down Expand Up @@ -6809,7 +6809,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Update some fields of the tag Required scopes: org:manage
* Update some fields of the tag Required scopes: document:write
* Update some fields of the tag
*/
async updateTagRaw(requestParameters: UpdateTagRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Tag>> {
Expand Down Expand Up @@ -6861,7 +6861,7 @@ export class CollaborationApi extends runtime.BaseAPI {
}

/**
* Update some fields of the tag Required scopes: org:manage
* Update some fields of the tag Required scopes: document:write
* Update some fields of the tag
*/
async updateTag(cloud_pk: number, id: number, project_pk: number, PatchedTagRequest?: PatchedTagRequest, initOverrides?: RequestInit): Promise<Tag> {
Expand Down
8 changes: 8 additions & 0 deletions package/src/models/ProjectFolderTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ import {
* @interface ProjectFolderTree
*/
export interface ProjectFolderTree {
/**
*
* @type {number}
* @memberof ProjectFolderTree
*/
id: number;
/**
*
* @type {string}
Expand All @@ -50,6 +56,7 @@ export function ProjectFolderTreeFromJSONTyped(json: any, ignoreDiscriminator: b
}
return {

'id': json['id'],
'name': json['name'],
'folders': ((json['folders'] as Array<any>).map(FolderTreeFromJSON)),
};
Expand All @@ -64,6 +71,7 @@ export function ProjectFolderTreeToJSON(value?: ProjectFolderTree | null): any {
}
return {

'id': value.id,
'name': value.name,
'folders': ((value.folders as Array<any>).map(FolderTreeToJSON)),
};
Expand Down

0 comments on commit a6a8524

Please sign in to comment.