Skip to content

Commit f5de6fb

Browse files
committed
MINOR: Add log for cloud invitations (#746)
* Add cloud invitation logs. * Add log for canceled invitations. * Add migration to delete unwanted UserProject. * Fix typo. * Better log action naming. * Fix migration. * Rename log decorators.
1 parent 8cdef99 commit f5de6fb

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package/src/apis/CollaborationApi.ts

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

16581658
/**
1659-
* Create a document. If the document is one of {\'OBJ\', \'POINT_CLOUD\', \'DXF\', \'DWG\', \'GLTF\', \'IFC\'}, a model will be created and attached to this document Required scopes: document:write
1659+
* Create a document. If the document is one of {\'POINT_CLOUD\', \'DWG\', \'IFC\', \'DXF\', \'GLTF\', \'OBJ\'}, a model will be created and attached to this document Required scopes: document:write
16601660
* Create a document
16611661
*/
16621662
async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Document>> {
@@ -1759,7 +1759,7 @@ export class CollaborationApi extends runtime.BaseAPI {
17591759
}
17601760

17611761
/**
1762-
* Create a document. If the document is one of {\'OBJ\', \'POINT_CLOUD\', \'DXF\', \'DWG\', \'GLTF\', \'IFC\'}, a model will be created and attached to this document Required scopes: document:write
1762+
* Create a document. If the document is one of {\'POINT_CLOUD\', \'DWG\', \'IFC\', \'DXF\', \'GLTF\', \'OBJ\'}, a model will be created and attached to this document Required scopes: document:write
17631763
* Create a document
17641764
*/
17651765
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/WriteFolderRequest.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ import { exists, mapValues } from '../runtime';
1919
* @interface WriteFolderRequest
2020
*/
2121
export interface WriteFolderRequest {
22+
/**
23+
* Name of the folder
24+
* @type {string}
25+
* @memberof WriteFolderRequest
26+
*/
27+
name: string;
2228
/**
2329
* Permission for a Folder
2430
*
@@ -29,12 +35,6 @@ export interface WriteFolderRequest {
2935
* @memberof WriteFolderRequest
3036
*/
3137
default_permission?: WriteFolderRequestDefaultPermissionEnum;
32-
/**
33-
* Name of the folder
34-
* @type {string}
35-
* @memberof WriteFolderRequest
36-
*/
37-
name: string;
3838
/**
3939
*
4040
* @type {number}
@@ -69,8 +69,8 @@ export function WriteFolderRequestFromJSONTyped(json: any, ignoreDiscriminator:
6969
}
7070
return {
7171

72-
'default_permission': !exists(json, 'default_permission') ? undefined : json['default_permission'],
7372
'name': json['name'],
73+
'default_permission': !exists(json, 'default_permission') ? undefined : json['default_permission'],
7474
'parent_id': !exists(json, 'parent_id') ? undefined : json['parent_id'],
7575
'children': !exists(json, 'children') ? undefined : (json['children'] === null ? null : (json['children'] as Array<any>).map(WriteFolderRequestFromJSON)),
7676
};
@@ -85,8 +85,8 @@ export function WriteFolderRequestToJSON(value?: WriteFolderRequest | null): any
8585
}
8686
return {
8787

88-
'default_permission': value.default_permission,
8988
'name': value.name,
89+
'default_permission': value.default_permission,
9090
'parent_id': value.parent_id,
9191
'children': value.children === undefined ? undefined : (value.children === null ? null : (value.children as Array<any>).map(WriteFolderRequestToJSON)),
9292
};

0 commit comments

Comments
 (0)