diff --git a/package/src/apis/BcfApi.ts b/package/src/apis/BcfApi.ts index a09d202..98a269f 100644 --- a/package/src/apis/BcfApi.ts +++ b/package/src/apis/BcfApi.ts @@ -255,6 +255,7 @@ export interface DownloadBcfExportRequest { export interface DownloadBcfExportXlsxRequest { id: number; format?: string; + locale?: DownloadBcfExportXlsxLocaleEnum; topics?: string; } @@ -1657,6 +1658,10 @@ export class BcfApi extends runtime.BaseAPI { queryParameters['format'] = requestParameters.format; } + if (requestParameters.locale !== undefined) { + queryParameters['locale'] = requestParameters.locale; + } + if (requestParameters.topics !== undefined) { queryParameters['topics'] = requestParameters.topics; } @@ -1695,8 +1700,8 @@ export class BcfApi extends runtime.BaseAPI { * This is not a standard route. Export project\'s topics in excel format Required scopes: bcf:read * Export project\'s topics in excel format */ - async downloadBcfExportXlsx(id: number, format?: string, topics?: string, initOverrides?: RequestInit): Promise { - const response = await this.downloadBcfExportXlsxRaw({ id: id, format: format, topics: topics }, initOverrides); + async downloadBcfExportXlsx(id: number, format?: string, locale?: DownloadBcfExportXlsxLocaleEnum, topics?: string, initOverrides?: RequestInit): Promise { + const response = await this.downloadBcfExportXlsxRaw({ id: id, format: format, locale: locale, topics: topics }, initOverrides); return await response.value(); } @@ -4169,6 +4174,14 @@ export enum CreateViewpointImgFormatEnum { export enum DeleteViewpointImgFormatEnum { Url = 'url' } +/** + * @export + * @enum {string} + */ +export enum DownloadBcfExportXlsxLocaleEnum { + En = 'en', + Fr = 'fr' +} /** * @export * @enum {string} diff --git a/package/src/apis/CollaborationApi.ts b/package/src/apis/CollaborationApi.ts index 8e9478d..1b133ee 100644 --- a/package/src/apis/CollaborationApi.ts +++ b/package/src/apis/CollaborationApi.ts @@ -1574,7 +1574,7 @@ export class CollaborationApi extends runtime.BaseAPI { } /** - * Create a document. If the document is one of {\'POINT_CLOUD\', \'IFC\', \'GLTF\', \'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 {\'POINT_CLOUD\', \'OBJ\', \'DWG\', \'IFC\', \'DXF\', \'GLTF\'}, a model will be created and attached to this document Required scopes: document:write * Create a document */ async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit): Promise> { @@ -1677,7 +1677,7 @@ export class CollaborationApi extends runtime.BaseAPI { } /** - * Create a document. If the document is one of {\'POINT_CLOUD\', \'IFC\', \'GLTF\', \'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 {\'POINT_CLOUD\', \'OBJ\', \'DWG\', \'IFC\', \'DXF\', \'GLTF\'}, 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 {