@emilgroup/document-sdk 1.38.0 → 1.38.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ import { UploadDocxTemplateRequestDto } from '../models';
26
26
  */
27
27
  export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configuration) => {
28
28
  /**
29
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
29
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
30
30
  * @summary Delete the docx template
31
31
  * @param {string} code
32
32
  * @param {string} [authorization] Bearer Token
@@ -35,7 +35,7 @@ export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configu
35
35
  */
36
36
  deleteDocxTemplate: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
37
  /**
38
- * Get a pre-signed download url for the given docx template.
38
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
39
39
  * @summary Get pre-signed url for downloading docx template
40
40
  * @param {string} code
41
41
  * @param {string} [authorization] Bearer Token
@@ -44,7 +44,7 @@ export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configu
44
44
  */
45
45
  downloadDocxTemplate: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
46
  /**
47
- * Get a docx template.
47
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
48
48
  * @summary Retrieve the docx template
49
49
  * @param {string} code
50
50
  * @param {string} [authorization] Bearer Token
@@ -53,7 +53,7 @@ export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configu
53
53
  */
54
54
  getDocxTemplate: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
55
  /**
56
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
56
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
57
57
  * @summary List docx templates
58
58
  * @param {string} [authorization] Bearer Token
59
59
  * @param {number} [pageSize] Page size
@@ -68,7 +68,7 @@ export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configu
68
68
  */
69
69
  listDocxTemplates: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
70
  /**
71
- * Updates a docx template metadata.
71
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
72
72
  * @summary Update the docx template
73
73
  * @param {string} code
74
74
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -78,7 +78,7 @@ export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configu
78
78
  */
79
79
  updateDocxTemplate: (code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
80
  /**
81
- * Upload a docx template via a presigned Url.
81
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
82
82
  * @summary Upload a docx template.
83
83
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
84
84
  * @param {string} [authorization] Bearer Token
@@ -93,7 +93,7 @@ export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configu
93
93
  */
94
94
  export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
95
95
  /**
96
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
96
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
97
97
  * @summary Delete the docx template
98
98
  * @param {string} code
99
99
  * @param {string} [authorization] Bearer Token
@@ -102,7 +102,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
102
102
  */
103
103
  deleteDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
104
104
  /**
105
- * Get a pre-signed download url for the given docx template.
105
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
106
106
  * @summary Get pre-signed url for downloading docx template
107
107
  * @param {string} code
108
108
  * @param {string} [authorization] Bearer Token
@@ -111,7 +111,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
111
111
  */
112
112
  downloadDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocxTemplateDownloadUrlResponseClass>>;
113
113
  /**
114
- * Get a docx template.
114
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
115
115
  * @summary Retrieve the docx template
116
116
  * @param {string} code
117
117
  * @param {string} [authorization] Bearer Token
@@ -120,7 +120,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
120
120
  */
121
121
  getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocxTemplateResponseClass>>;
122
122
  /**
123
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
123
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
124
124
  * @summary List docx templates
125
125
  * @param {string} [authorization] Bearer Token
126
126
  * @param {number} [pageSize] Page size
@@ -135,7 +135,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
135
135
  */
136
136
  listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>>;
137
137
  /**
138
- * Updates a docx template metadata.
138
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
139
139
  * @summary Update the docx template
140
140
  * @param {string} code
141
141
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -145,7 +145,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
145
145
  */
146
146
  updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDocxTemplateResponseClass>>;
147
147
  /**
148
- * Upload a docx template via a presigned Url.
148
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
149
149
  * @summary Upload a docx template.
150
150
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
151
151
  * @param {string} [authorization] Bearer Token
@@ -160,7 +160,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
160
160
  */
161
161
  export declare const DocxTemplatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
162
162
  /**
163
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
163
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
164
164
  * @summary Delete the docx template
165
165
  * @param {string} code
166
166
  * @param {string} [authorization] Bearer Token
@@ -169,7 +169,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
169
169
  */
170
170
  deleteDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
171
171
  /**
172
- * Get a pre-signed download url for the given docx template.
172
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
173
173
  * @summary Get pre-signed url for downloading docx template
174
174
  * @param {string} code
175
175
  * @param {string} [authorization] Bearer Token
@@ -178,7 +178,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
178
178
  */
179
179
  downloadDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<GetDocxTemplateDownloadUrlResponseClass>;
180
180
  /**
181
- * Get a docx template.
181
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
182
182
  * @summary Retrieve the docx template
183
183
  * @param {string} code
184
184
  * @param {string} [authorization] Bearer Token
@@ -187,7 +187,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
187
187
  */
188
188
  getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<GetDocxTemplateResponseClass>;
189
189
  /**
190
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
190
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
191
191
  * @summary List docx templates
192
192
  * @param {string} [authorization] Bearer Token
193
193
  * @param {number} [pageSize] Page size
@@ -202,7 +202,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
202
202
  */
203
203
  listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass>;
204
204
  /**
205
- * Updates a docx template metadata.
205
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
206
206
  * @summary Update the docx template
207
207
  * @param {string} code
208
208
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -212,7 +212,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
212
212
  */
213
213
  updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateDocxTemplateResponseClass>;
214
214
  /**
215
- * Upload a docx template via a presigned Url.
215
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
216
216
  * @summary Upload a docx template.
217
217
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
218
218
  * @param {string} [authorization] Bearer Token
@@ -385,7 +385,7 @@ export interface DocxTemplatesApiUploadDocxTemplateRequest {
385
385
  */
386
386
  export declare class DocxTemplatesApi extends BaseAPI {
387
387
  /**
388
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
388
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
389
389
  * @summary Delete the docx template
390
390
  * @param {DocxTemplatesApiDeleteDocxTemplateRequest} requestParameters Request parameters.
391
391
  * @param {*} [options] Override http request option.
@@ -394,7 +394,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
394
394
  */
395
395
  deleteDocxTemplate(requestParameters: DocxTemplatesApiDeleteDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
396
396
  /**
397
- * Get a pre-signed download url for the given docx template.
397
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
398
398
  * @summary Get pre-signed url for downloading docx template
399
399
  * @param {DocxTemplatesApiDownloadDocxTemplateRequest} requestParameters Request parameters.
400
400
  * @param {*} [options] Override http request option.
@@ -403,7 +403,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
403
403
  */
404
404
  downloadDocxTemplate(requestParameters: DocxTemplatesApiDownloadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocxTemplateDownloadUrlResponseClass, any>>;
405
405
  /**
406
- * Get a docx template.
406
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
407
407
  * @summary Retrieve the docx template
408
408
  * @param {DocxTemplatesApiGetDocxTemplateRequest} requestParameters Request parameters.
409
409
  * @param {*} [options] Override http request option.
@@ -412,7 +412,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
412
412
  */
413
413
  getDocxTemplate(requestParameters: DocxTemplatesApiGetDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocxTemplateResponseClass, any>>;
414
414
  /**
415
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
415
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
416
416
  * @summary List docx templates
417
417
  * @param {DocxTemplatesApiListDocxTemplatesRequest} requestParameters Request parameters.
418
418
  * @param {*} [options] Override http request option.
@@ -421,7 +421,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
421
421
  */
422
422
  listDocxTemplates(requestParameters?: DocxTemplatesApiListDocxTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocxTemplatesResponseClass, any>>;
423
423
  /**
424
- * Updates a docx template metadata.
424
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
425
425
  * @summary Update the docx template
426
426
  * @param {DocxTemplatesApiUpdateDocxTemplateRequest} requestParameters Request parameters.
427
427
  * @param {*} [options] Override http request option.
@@ -430,7 +430,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
430
430
  */
431
431
  updateDocxTemplate(requestParameters: DocxTemplatesApiUpdateDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDocxTemplateResponseClass, any>>;
432
432
  /**
433
- * Upload a docx template via a presigned Url.
433
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
434
434
  * @summary Upload a docx template.
435
435
  * @param {DocxTemplatesApiUploadDocxTemplateRequest} requestParameters Request parameters.
436
436
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
96
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
97
97
  * @summary Delete the docx template
98
98
  * @param {string} code
99
99
  * @param {string} [authorization] Bearer Token
@@ -141,7 +141,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  },
143
143
  /**
144
- * Get a pre-signed download url for the given docx template.
144
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
145
145
  * @summary Get pre-signed url for downloading docx template
146
146
  * @param {string} code
147
147
  * @param {string} [authorization] Bearer Token
@@ -189,7 +189,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
189
189
  });
190
190
  },
191
191
  /**
192
- * Get a docx template.
192
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
193
193
  * @summary Retrieve the docx template
194
194
  * @param {string} code
195
195
  * @param {string} [authorization] Bearer Token
@@ -237,7 +237,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
237
237
  });
238
238
  },
239
239
  /**
240
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
240
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
241
241
  * @summary List docx templates
242
242
  * @param {string} [authorization] Bearer Token
243
243
  * @param {number} [pageSize] Page size
@@ -309,7 +309,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
309
309
  });
310
310
  },
311
311
  /**
312
- * Updates a docx template metadata.
312
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
313
313
  * @summary Update the docx template
314
314
  * @param {string} code
315
315
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -362,7 +362,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
362
362
  });
363
363
  },
364
364
  /**
365
- * Upload a docx template via a presigned Url.
365
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
366
366
  * @summary Upload a docx template.
367
367
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
368
368
  * @param {string} [authorization] Bearer Token
@@ -421,7 +421,7 @@ var DocxTemplatesApiFp = function (configuration) {
421
421
  var localVarAxiosParamCreator = (0, exports.DocxTemplatesApiAxiosParamCreator)(configuration);
422
422
  return {
423
423
  /**
424
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
424
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
425
425
  * @summary Delete the docx template
426
426
  * @param {string} code
427
427
  * @param {string} [authorization] Bearer Token
@@ -442,7 +442,7 @@ var DocxTemplatesApiFp = function (configuration) {
442
442
  });
443
443
  },
444
444
  /**
445
- * Get a pre-signed download url for the given docx template.
445
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
446
446
  * @summary Get pre-signed url for downloading docx template
447
447
  * @param {string} code
448
448
  * @param {string} [authorization] Bearer Token
@@ -463,7 +463,7 @@ var DocxTemplatesApiFp = function (configuration) {
463
463
  });
464
464
  },
465
465
  /**
466
- * Get a docx template.
466
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
467
467
  * @summary Retrieve the docx template
468
468
  * @param {string} code
469
469
  * @param {string} [authorization] Bearer Token
@@ -484,7 +484,7 @@ var DocxTemplatesApiFp = function (configuration) {
484
484
  });
485
485
  },
486
486
  /**
487
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
487
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
488
488
  * @summary List docx templates
489
489
  * @param {string} [authorization] Bearer Token
490
490
  * @param {number} [pageSize] Page size
@@ -511,7 +511,7 @@ var DocxTemplatesApiFp = function (configuration) {
511
511
  });
512
512
  },
513
513
  /**
514
- * Updates a docx template metadata.
514
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
515
515
  * @summary Update the docx template
516
516
  * @param {string} code
517
517
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -533,7 +533,7 @@ var DocxTemplatesApiFp = function (configuration) {
533
533
  });
534
534
  },
535
535
  /**
536
- * Upload a docx template via a presigned Url.
536
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
537
537
  * @summary Upload a docx template.
538
538
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
539
539
  * @param {string} [authorization] Bearer Token
@@ -564,7 +564,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
564
564
  var localVarFp = (0, exports.DocxTemplatesApiFp)(configuration);
565
565
  return {
566
566
  /**
567
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
567
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
568
568
  * @summary Delete the docx template
569
569
  * @param {string} code
570
570
  * @param {string} [authorization] Bearer Token
@@ -575,7 +575,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
575
575
  return localVarFp.deleteDocxTemplate(code, authorization, options).then(function (request) { return request(axios, basePath); });
576
576
  },
577
577
  /**
578
- * Get a pre-signed download url for the given docx template.
578
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
579
579
  * @summary Get pre-signed url for downloading docx template
580
580
  * @param {string} code
581
581
  * @param {string} [authorization] Bearer Token
@@ -586,7 +586,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
586
586
  return localVarFp.downloadDocxTemplate(code, authorization, options).then(function (request) { return request(axios, basePath); });
587
587
  },
588
588
  /**
589
- * Get a docx template.
589
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
590
590
  * @summary Retrieve the docx template
591
591
  * @param {string} code
592
592
  * @param {string} [authorization] Bearer Token
@@ -597,7 +597,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
597
597
  return localVarFp.getDocxTemplate(code, authorization, options).then(function (request) { return request(axios, basePath); });
598
598
  },
599
599
  /**
600
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
600
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
601
601
  * @summary List docx templates
602
602
  * @param {string} [authorization] Bearer Token
603
603
  * @param {number} [pageSize] Page size
@@ -614,7 +614,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
614
614
  return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
615
615
  },
616
616
  /**
617
- * Updates a docx template metadata.
617
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
618
618
  * @summary Update the docx template
619
619
  * @param {string} code
620
620
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -626,7 +626,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
626
626
  return localVarFp.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
627
627
  },
628
628
  /**
629
- * Upload a docx template via a presigned Url.
629
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
630
630
  * @summary Upload a docx template.
631
631
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
632
632
  * @param {string} [authorization] Bearer Token
@@ -651,7 +651,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
651
651
  return _super !== null && _super.apply(this, arguments) || this;
652
652
  }
653
653
  /**
654
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
654
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
655
655
  * @summary Delete the docx template
656
656
  * @param {DocxTemplatesApiDeleteDocxTemplateRequest} requestParameters Request parameters.
657
657
  * @param {*} [options] Override http request option.
@@ -663,7 +663,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
663
663
  return (0, exports.DocxTemplatesApiFp)(this.configuration).deleteDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
664
664
  };
665
665
  /**
666
- * Get a pre-signed download url for the given docx template.
666
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
667
667
  * @summary Get pre-signed url for downloading docx template
668
668
  * @param {DocxTemplatesApiDownloadDocxTemplateRequest} requestParameters Request parameters.
669
669
  * @param {*} [options] Override http request option.
@@ -675,7 +675,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
675
675
  return (0, exports.DocxTemplatesApiFp)(this.configuration).downloadDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
676
676
  };
677
677
  /**
678
- * Get a docx template.
678
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
679
679
  * @summary Retrieve the docx template
680
680
  * @param {DocxTemplatesApiGetDocxTemplateRequest} requestParameters Request parameters.
681
681
  * @param {*} [options] Override http request option.
@@ -687,7 +687,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
687
687
  return (0, exports.DocxTemplatesApiFp)(this.configuration).getDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
688
688
  };
689
689
  /**
690
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
690
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
691
691
  * @summary List docx templates
692
692
  * @param {DocxTemplatesApiListDocxTemplatesRequest} requestParameters Request parameters.
693
693
  * @param {*} [options] Override http request option.
@@ -700,7 +700,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
700
700
  return (0, exports.DocxTemplatesApiFp)(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
701
701
  };
702
702
  /**
703
- * Updates a docx template metadata.
703
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
704
704
  * @summary Update the docx template
705
705
  * @param {DocxTemplatesApiUpdateDocxTemplateRequest} requestParameters Request parameters.
706
706
  * @param {*} [options] Override http request option.
@@ -712,7 +712,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
712
712
  return (0, exports.DocxTemplatesApiFp)(this.configuration).updateDocxTemplate(requestParameters.code, requestParameters.sharedUpdateDocxTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
713
713
  };
714
714
  /**
715
- * Upload a docx template via a presigned Url.
715
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
716
716
  * @summary Upload a docx template.
717
717
  * @param {DocxTemplatesApiUploadDocxTemplateRequest} requestParameters Request parameters.
718
718
  * @param {*} [options] Override http request option.
@@ -25,7 +25,7 @@ import { UpdateLayoutResponseClass } from '../models';
25
25
  */
26
26
  export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration) => {
27
27
  /**
28
- * This will create a layout.
28
+ * This will create a layout. **Required Permissions** \"document-management.layouts.create\"
29
29
  * @summary Create the layout
30
30
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
31
31
  * @param {string} [authorization] Bearer Token
@@ -34,7 +34,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
34
34
  */
35
35
  createLayout: (createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
36
  /**
37
- * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
37
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
38
38
  * @summary Delete the layout
39
39
  * @param {number} id
40
40
  * @param {string} [authorization] Bearer Token
@@ -43,7 +43,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
43
43
  */
44
44
  deleteLayout: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
45
  /**
46
- * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
46
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information. **Required Permissions** \"document-management.layouts.view\"
47
47
  * @summary Retrieve the layout
48
48
  * @param {string} id
49
49
  * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
@@ -53,7 +53,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
53
53
  */
54
54
  getLayout: (id: string, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
55
  /**
56
- * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
56
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.layouts.view\"
57
57
  * @summary List layouts
58
58
  * @param {string} [authorization] Bearer Token
59
59
  * @param {number} [pageSize] Page size
@@ -68,7 +68,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
68
68
  */
69
69
  listLayouts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
70
  /**
71
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
71
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
72
72
  * @summary Update the layout
73
73
  * @param {number} id
74
74
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
@@ -84,7 +84,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
84
84
  */
85
85
  export declare const LayoutsApiFp: (configuration?: Configuration) => {
86
86
  /**
87
- * This will create a layout.
87
+ * This will create a layout. **Required Permissions** \"document-management.layouts.create\"
88
88
  * @summary Create the layout
89
89
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
90
90
  * @param {string} [authorization] Bearer Token
@@ -93,7 +93,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
93
93
  */
94
94
  createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLayoutResponseClass>>;
95
95
  /**
96
- * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
96
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
97
97
  * @summary Delete the layout
98
98
  * @param {number} id
99
99
  * @param {string} [authorization] Bearer Token
@@ -102,7 +102,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
102
102
  */
103
103
  deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
104
104
  /**
105
- * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
105
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information. **Required Permissions** \"document-management.layouts.view\"
106
106
  * @summary Retrieve the layout
107
107
  * @param {string} id
108
108
  * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
@@ -112,7 +112,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
112
112
  */
113
113
  getLayout(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLayoutResponseClass>>;
114
114
  /**
115
- * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
115
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.layouts.view\"
116
116
  * @summary List layouts
117
117
  * @param {string} [authorization] Bearer Token
118
118
  * @param {number} [pageSize] Page size
@@ -127,7 +127,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
127
127
  */
128
128
  listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>>;
129
129
  /**
130
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
130
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
131
131
  * @summary Update the layout
132
132
  * @param {number} id
133
133
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
@@ -143,7 +143,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
143
143
  */
144
144
  export declare const LayoutsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
145
145
  /**
146
- * This will create a layout.
146
+ * This will create a layout. **Required Permissions** \"document-management.layouts.create\"
147
147
  * @summary Create the layout
148
148
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
149
149
  * @param {string} [authorization] Bearer Token
@@ -152,7 +152,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
152
152
  */
153
153
  createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLayoutResponseClass>;
154
154
  /**
155
- * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
155
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
156
156
  * @summary Delete the layout
157
157
  * @param {number} id
158
158
  * @param {string} [authorization] Bearer Token
@@ -161,7 +161,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
161
161
  */
162
162
  deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
163
163
  /**
164
- * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
164
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information. **Required Permissions** \"document-management.layouts.view\"
165
165
  * @summary Retrieve the layout
166
166
  * @param {string} id
167
167
  * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
@@ -171,7 +171,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
171
171
  */
172
172
  getLayout(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<GetLayoutResponseClass>;
173
173
  /**
174
- * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
174
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.layouts.view\"
175
175
  * @summary List layouts
176
176
  * @param {string} [authorization] Bearer Token
177
177
  * @param {number} [pageSize] Page size
@@ -186,7 +186,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
186
186
  */
187
187
  listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLayoutsResponseClass>;
188
188
  /**
189
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
189
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
190
190
  * @summary Update the layout
191
191
  * @param {number} id
192
192
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
@@ -347,7 +347,7 @@ export interface LayoutsApiUpdateLayoutRequest {
347
347
  */
348
348
  export declare class LayoutsApi extends BaseAPI {
349
349
  /**
350
- * This will create a layout.
350
+ * This will create a layout. **Required Permissions** \"document-management.layouts.create\"
351
351
  * @summary Create the layout
352
352
  * @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
353
353
  * @param {*} [options] Override http request option.
@@ -356,7 +356,7 @@ export declare class LayoutsApi extends BaseAPI {
356
356
  */
357
357
  createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLayoutResponseClass, any>>;
358
358
  /**
359
- * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
359
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
360
360
  * @summary Delete the layout
361
361
  * @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
362
362
  * @param {*} [options] Override http request option.
@@ -365,7 +365,7 @@ export declare class LayoutsApi extends BaseAPI {
365
365
  */
366
366
  deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
367
367
  /**
368
- * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
368
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information. **Required Permissions** \"document-management.layouts.view\"
369
369
  * @summary Retrieve the layout
370
370
  * @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
371
371
  * @param {*} [options] Override http request option.
@@ -374,7 +374,7 @@ export declare class LayoutsApi extends BaseAPI {
374
374
  */
375
375
  getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLayoutResponseClass, any>>;
376
376
  /**
377
- * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
377
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.layouts.view\"
378
378
  * @summary List layouts
379
379
  * @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
380
380
  * @param {*} [options] Override http request option.
@@ -383,7 +383,7 @@ export declare class LayoutsApi extends BaseAPI {
383
383
  */
384
384
  listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLayoutsResponseClass, any>>;
385
385
  /**
386
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
386
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
387
387
  * @summary Update the layout
388
388
  * @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
389
389
  * @param {*} [options] Override http request option.