@emilgroup/document-sdk-node 1.37.0 → 1.37.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.
@@ -97,7 +97,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
100
+ * 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\"
101
101
  * @summary Delete the docx template
102
102
  * @param {string} code
103
103
  * @param {string} [authorization] Bearer Token
@@ -145,7 +145,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  },
147
147
  /**
148
- * Get a pre-signed download url for the given docx template.
148
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
149
149
  * @summary Get pre-signed url for downloading docx template
150
150
  * @param {string} code
151
151
  * @param {string} [authorization] Bearer Token
@@ -193,7 +193,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
193
193
  });
194
194
  },
195
195
  /**
196
- * Get a docx template.
196
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
197
197
  * @summary Retrieve the docx template
198
198
  * @param {string} code
199
199
  * @param {string} [authorization] Bearer Token
@@ -241,7 +241,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
241
241
  });
242
242
  },
243
243
  /**
244
- * 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.
244
+ * 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\"
245
245
  * @summary List docx templates
246
246
  * @param {string} [authorization] Bearer Token
247
247
  * @param {number} [pageSize] Page size
@@ -313,7 +313,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
313
313
  });
314
314
  },
315
315
  /**
316
- * Updates a docx template metadata.
316
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
317
317
  * @summary Update the docx template
318
318
  * @param {string} code
319
319
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -366,7 +366,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
366
366
  });
367
367
  },
368
368
  /**
369
- * Upload a docx template via a presigned Url.
369
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
370
370
  * @summary Upload a docx template.
371
371
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
372
372
  * @param {string} [authorization] Bearer Token
@@ -425,7 +425,7 @@ var DocxTemplatesApiFp = function (configuration) {
425
425
  var localVarAxiosParamCreator = (0, exports.DocxTemplatesApiAxiosParamCreator)(configuration);
426
426
  return {
427
427
  /**
428
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
428
+ * 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\"
429
429
  * @summary Delete the docx template
430
430
  * @param {string} code
431
431
  * @param {string} [authorization] Bearer Token
@@ -446,7 +446,7 @@ var DocxTemplatesApiFp = function (configuration) {
446
446
  });
447
447
  },
448
448
  /**
449
- * Get a pre-signed download url for the given docx template.
449
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
450
450
  * @summary Get pre-signed url for downloading docx template
451
451
  * @param {string} code
452
452
  * @param {string} [authorization] Bearer Token
@@ -467,7 +467,7 @@ var DocxTemplatesApiFp = function (configuration) {
467
467
  });
468
468
  },
469
469
  /**
470
- * Get a docx template.
470
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
471
471
  * @summary Retrieve the docx template
472
472
  * @param {string} code
473
473
  * @param {string} [authorization] Bearer Token
@@ -488,7 +488,7 @@ var DocxTemplatesApiFp = function (configuration) {
488
488
  });
489
489
  },
490
490
  /**
491
- * 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.
491
+ * 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\"
492
492
  * @summary List docx templates
493
493
  * @param {string} [authorization] Bearer Token
494
494
  * @param {number} [pageSize] Page size
@@ -515,7 +515,7 @@ var DocxTemplatesApiFp = function (configuration) {
515
515
  });
516
516
  },
517
517
  /**
518
- * Updates a docx template metadata.
518
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
519
519
  * @summary Update the docx template
520
520
  * @param {string} code
521
521
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -537,7 +537,7 @@ var DocxTemplatesApiFp = function (configuration) {
537
537
  });
538
538
  },
539
539
  /**
540
- * Upload a docx template via a presigned Url.
540
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
541
541
  * @summary Upload a docx template.
542
542
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
543
543
  * @param {string} [authorization] Bearer Token
@@ -568,7 +568,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
568
568
  var localVarFp = (0, exports.DocxTemplatesApiFp)(configuration);
569
569
  return {
570
570
  /**
571
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
571
+ * 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\"
572
572
  * @summary Delete the docx template
573
573
  * @param {string} code
574
574
  * @param {string} [authorization] Bearer Token
@@ -579,7 +579,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
579
579
  return localVarFp.deleteDocxTemplate(code, authorization, options).then(function (request) { return request(axios, basePath); });
580
580
  },
581
581
  /**
582
- * Get a pre-signed download url for the given docx template.
582
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
583
583
  * @summary Get pre-signed url for downloading docx template
584
584
  * @param {string} code
585
585
  * @param {string} [authorization] Bearer Token
@@ -590,7 +590,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
590
590
  return localVarFp.downloadDocxTemplate(code, authorization, options).then(function (request) { return request(axios, basePath); });
591
591
  },
592
592
  /**
593
- * Get a docx template.
593
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
594
594
  * @summary Retrieve the docx template
595
595
  * @param {string} code
596
596
  * @param {string} [authorization] Bearer Token
@@ -601,7 +601,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
601
601
  return localVarFp.getDocxTemplate(code, authorization, options).then(function (request) { return request(axios, basePath); });
602
602
  },
603
603
  /**
604
- * 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.
604
+ * 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\"
605
605
  * @summary List docx templates
606
606
  * @param {string} [authorization] Bearer Token
607
607
  * @param {number} [pageSize] Page size
@@ -618,7 +618,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
618
618
  return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
619
619
  },
620
620
  /**
621
- * Updates a docx template metadata.
621
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
622
622
  * @summary Update the docx template
623
623
  * @param {string} code
624
624
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -630,7 +630,7 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
630
630
  return localVarFp.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
631
631
  },
632
632
  /**
633
- * Upload a docx template via a presigned Url.
633
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
634
634
  * @summary Upload a docx template.
635
635
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
636
636
  * @param {string} [authorization] Bearer Token
@@ -655,7 +655,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
655
655
  return _super !== null && _super.apply(this, arguments) || this;
656
656
  }
657
657
  /**
658
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
658
+ * 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\"
659
659
  * @summary Delete the docx template
660
660
  * @param {DocxTemplatesApiDeleteDocxTemplateRequest} requestParameters Request parameters.
661
661
  * @param {*} [options] Override http request option.
@@ -667,7 +667,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
667
667
  return (0, exports.DocxTemplatesApiFp)(this.configuration).deleteDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
668
668
  };
669
669
  /**
670
- * Get a pre-signed download url for the given docx template.
670
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
671
671
  * @summary Get pre-signed url for downloading docx template
672
672
  * @param {DocxTemplatesApiDownloadDocxTemplateRequest} requestParameters Request parameters.
673
673
  * @param {*} [options] Override http request option.
@@ -679,7 +679,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
679
679
  return (0, exports.DocxTemplatesApiFp)(this.configuration).downloadDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
680
680
  };
681
681
  /**
682
- * Get a docx template.
682
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
683
683
  * @summary Retrieve the docx template
684
684
  * @param {DocxTemplatesApiGetDocxTemplateRequest} requestParameters Request parameters.
685
685
  * @param {*} [options] Override http request option.
@@ -691,7 +691,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
691
691
  return (0, exports.DocxTemplatesApiFp)(this.configuration).getDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
692
692
  };
693
693
  /**
694
- * 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.
694
+ * 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\"
695
695
  * @summary List docx templates
696
696
  * @param {DocxTemplatesApiListDocxTemplatesRequest} requestParameters Request parameters.
697
697
  * @param {*} [options] Override http request option.
@@ -704,7 +704,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
704
704
  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); });
705
705
  };
706
706
  /**
707
- * Updates a docx template metadata.
707
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
708
708
  * @summary Update the docx template
709
709
  * @param {DocxTemplatesApiUpdateDocxTemplateRequest} requestParameters Request parameters.
710
710
  * @param {*} [options] Override http request option.
@@ -716,7 +716,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
716
716
  return (0, exports.DocxTemplatesApiFp)(this.configuration).updateDocxTemplate(requestParameters.code, requestParameters.sharedUpdateDocxTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
717
717
  };
718
718
  /**
719
- * Upload a docx template via a presigned Url.
719
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
720
720
  * @summary Upload a docx template.
721
721
  * @param {DocxTemplatesApiUploadDocxTemplateRequest} requestParameters Request parameters.
722
722
  * @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.