@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.
@@ -33,7 +33,7 @@ const FormData = require('form-data');
33
33
  export const SearchableDocumentsApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
36
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
37
37
  * @summary List searchable documents
38
38
  * @param {string} searchText Text to search in the documents.
39
39
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
@@ -103,7 +103,7 @@ export const SearchableDocumentsApiFp = function(configuration?: Configuration)
103
103
  const localVarAxiosParamCreator = SearchableDocumentsApiAxiosParamCreator(configuration)
104
104
  return {
105
105
  /**
106
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
106
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
107
107
  * @summary List searchable documents
108
108
  * @param {string} searchText Text to search in the documents.
109
109
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
@@ -127,7 +127,7 @@ export const SearchableDocumentsApiFactory = function (configuration?: Configura
127
127
  const localVarFp = SearchableDocumentsApiFp(configuration)
128
128
  return {
129
129
  /**
130
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
130
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
131
131
  * @summary List searchable documents
132
132
  * @param {string} searchText Text to search in the documents.
133
133
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
@@ -185,7 +185,7 @@ export interface SearchableDocumentsApiListSearchableDocumentsRequest {
185
185
  */
186
186
  export class SearchableDocumentsApi extends BaseAPI {
187
187
  /**
188
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
188
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
189
189
  * @summary List searchable documents
190
190
  * @param {SearchableDocumentsApiListSearchableDocumentsRequest} requestParameters Request parameters.
191
191
  * @param {*} [options] Override http request option.
@@ -25,7 +25,7 @@ import { UpdateDocTemplateResponseClass } from '../models';
25
25
  */
26
26
  export declare const DocumentTemplatesApiAxiosParamCreator: (configuration?: Configuration) => {
27
27
  /**
28
- * This will create a document template.
28
+ * This will create a document template. **Required Permissions** \"document-management.documents.create\"
29
29
  * @summary Create the document template
30
30
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
31
31
  * @param {string} [authorization] Bearer Token
@@ -34,7 +34,7 @@ export declare const DocumentTemplatesApiAxiosParamCreator: (configuration?: Con
34
34
  */
35
35
  createDocTemplate: (createDocTemplateRequestDto: CreateDocTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
36
  /**
37
- * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
37
+ * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.documents.delete\"
38
38
  * @summary Delete the document template
39
39
  * @param {number} id
40
40
  * @param {string} [authorization] Bearer Token
@@ -43,7 +43,7 @@ export declare const DocumentTemplatesApiAxiosParamCreator: (configuration?: Con
43
43
  */
44
44
  deleteDocTemplate: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
45
  /**
46
- * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information.
46
+ * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.documents.view\"
47
47
  * @summary Retrieve the document template
48
48
  * @param {number} id
49
49
  * @param {string} [authorization] Bearer Token
@@ -53,7 +53,7 @@ export declare const DocumentTemplatesApiAxiosParamCreator: (configuration?: Con
53
53
  */
54
54
  getDocTemplate: (id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
55
  /**
56
- * Returns a list of document templates you have previously created. The document 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 document templates you have previously created. The document 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.documents.view\"
57
57
  * @summary List document templates
58
58
  * @param {string} [authorization] Bearer Token
59
59
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -67,7 +67,7 @@ export declare const DocumentTemplatesApiAxiosParamCreator: (configuration?: Con
67
67
  */
68
68
  listDocTemplates: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
69
  /**
70
- * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
70
+ * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
71
71
  * @summary Update the document template
72
72
  * @param {number} id
73
73
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -83,7 +83,7 @@ export declare const DocumentTemplatesApiAxiosParamCreator: (configuration?: Con
83
83
  */
84
84
  export declare const DocumentTemplatesApiFp: (configuration?: Configuration) => {
85
85
  /**
86
- * This will create a document template.
86
+ * This will create a document template. **Required Permissions** \"document-management.documents.create\"
87
87
  * @summary Create the document template
88
88
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
89
89
  * @param {string} [authorization] Bearer Token
@@ -92,7 +92,7 @@ export declare const DocumentTemplatesApiFp: (configuration?: Configuration) =>
92
92
  */
93
93
  createDocTemplate(createDocTemplateRequestDto: CreateDocTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDocTemplateResponseClass>>;
94
94
  /**
95
- * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
95
+ * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.documents.delete\"
96
96
  * @summary Delete the document template
97
97
  * @param {number} id
98
98
  * @param {string} [authorization] Bearer Token
@@ -101,7 +101,7 @@ export declare const DocumentTemplatesApiFp: (configuration?: Configuration) =>
101
101
  */
102
102
  deleteDocTemplate(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
103
103
  /**
104
- * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information.
104
+ * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.documents.view\"
105
105
  * @summary Retrieve the document template
106
106
  * @param {number} id
107
107
  * @param {string} [authorization] Bearer Token
@@ -111,7 +111,7 @@ export declare const DocumentTemplatesApiFp: (configuration?: Configuration) =>
111
111
  */
112
112
  getDocTemplate(id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocTemplateResponseClass>>;
113
113
  /**
114
- * Returns a list of document templates you have previously created. The document templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
114
+ * Returns a list of document templates you have previously created. The document 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.documents.view\"
115
115
  * @summary List document templates
116
116
  * @param {string} [authorization] Bearer Token
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -125,7 +125,7 @@ export declare const DocumentTemplatesApiFp: (configuration?: Configuration) =>
125
125
  */
126
126
  listDocTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocTemplatesResponseClass>>;
127
127
  /**
128
- * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
128
+ * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
129
129
  * @summary Update the document template
130
130
  * @param {number} id
131
131
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -141,7 +141,7 @@ export declare const DocumentTemplatesApiFp: (configuration?: Configuration) =>
141
141
  */
142
142
  export declare const DocumentTemplatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
143
143
  /**
144
- * This will create a document template.
144
+ * This will create a document template. **Required Permissions** \"document-management.documents.create\"
145
145
  * @summary Create the document template
146
146
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
147
147
  * @param {string} [authorization] Bearer Token
@@ -150,7 +150,7 @@ export declare const DocumentTemplatesApiFactory: (configuration?: Configuration
150
150
  */
151
151
  createDocTemplate(createDocTemplateRequestDto: CreateDocTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDocTemplateResponseClass>;
152
152
  /**
153
- * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
153
+ * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.documents.delete\"
154
154
  * @summary Delete the document template
155
155
  * @param {number} id
156
156
  * @param {string} [authorization] Bearer Token
@@ -159,7 +159,7 @@ export declare const DocumentTemplatesApiFactory: (configuration?: Configuration
159
159
  */
160
160
  deleteDocTemplate(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
161
161
  /**
162
- * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information.
162
+ * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.documents.view\"
163
163
  * @summary Retrieve the document template
164
164
  * @param {number} id
165
165
  * @param {string} [authorization] Bearer Token
@@ -169,7 +169,7 @@ export declare const DocumentTemplatesApiFactory: (configuration?: Configuration
169
169
  */
170
170
  getDocTemplate(id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetDocTemplateResponseClass>;
171
171
  /**
172
- * Returns a list of document templates you have previously created. The document templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
172
+ * Returns a list of document templates you have previously created. The document 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.documents.view\"
173
173
  * @summary List document templates
174
174
  * @param {string} [authorization] Bearer Token
175
175
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -183,7 +183,7 @@ export declare const DocumentTemplatesApiFactory: (configuration?: Configuration
183
183
  */
184
184
  listDocTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocTemplatesResponseClass>;
185
185
  /**
186
- * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
186
+ * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
187
187
  * @summary Update the document template
188
188
  * @param {number} id
189
189
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -338,7 +338,7 @@ export interface DocumentTemplatesApiUpdateDocTemplateRequest {
338
338
  */
339
339
  export declare class DocumentTemplatesApi extends BaseAPI {
340
340
  /**
341
- * This will create a document template.
341
+ * This will create a document template. **Required Permissions** \"document-management.documents.create\"
342
342
  * @summary Create the document template
343
343
  * @param {DocumentTemplatesApiCreateDocTemplateRequest} requestParameters Request parameters.
344
344
  * @param {*} [options] Override http request option.
@@ -347,7 +347,7 @@ export declare class DocumentTemplatesApi extends BaseAPI {
347
347
  */
348
348
  createDocTemplate(requestParameters: DocumentTemplatesApiCreateDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDocTemplateResponseClass, any>>;
349
349
  /**
350
- * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
350
+ * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.documents.delete\"
351
351
  * @summary Delete the document template
352
352
  * @param {DocumentTemplatesApiDeleteDocTemplateRequest} requestParameters Request parameters.
353
353
  * @param {*} [options] Override http request option.
@@ -356,7 +356,7 @@ export declare class DocumentTemplatesApi extends BaseAPI {
356
356
  */
357
357
  deleteDocTemplate(requestParameters: DocumentTemplatesApiDeleteDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
358
358
  /**
359
- * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information.
359
+ * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.documents.view\"
360
360
  * @summary Retrieve the document template
361
361
  * @param {DocumentTemplatesApiGetDocTemplateRequest} requestParameters Request parameters.
362
362
  * @param {*} [options] Override http request option.
@@ -365,7 +365,7 @@ export declare class DocumentTemplatesApi extends BaseAPI {
365
365
  */
366
366
  getDocTemplate(requestParameters: DocumentTemplatesApiGetDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocTemplateResponseClass, any>>;
367
367
  /**
368
- * Returns a list of document templates you have previously created. The document templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
368
+ * Returns a list of document templates you have previously created. The document 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.documents.view\"
369
369
  * @summary List document templates
370
370
  * @param {DocumentTemplatesApiListDocTemplatesRequest} requestParameters Request parameters.
371
371
  * @param {*} [options] Override http request option.
@@ -374,7 +374,7 @@ export declare class DocumentTemplatesApi extends BaseAPI {
374
374
  */
375
375
  listDocTemplates(requestParameters?: DocumentTemplatesApiListDocTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocTemplatesResponseClass, any>>;
376
376
  /**
377
- * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
377
+ * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
378
378
  * @summary Update the document template
379
379
  * @param {DocumentTemplatesApiUpdateDocTemplateRequest} requestParameters Request parameters.
380
380
  * @param {*} [options] Override http request option.
@@ -97,7 +97,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create a document template.
100
+ * This will create a document template. **Required Permissions** \"document-management.documents.create\"
101
101
  * @summary Create the document template
102
102
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
103
103
  * @param {string} [authorization] Bearer Token
@@ -146,7 +146,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
149
+ * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.documents.delete\"
150
150
  * @summary Delete the document template
151
151
  * @param {number} id
152
152
  * @param {string} [authorization] Bearer Token
@@ -194,7 +194,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information.
197
+ * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.documents.view\"
198
198
  * @summary Retrieve the document template
199
199
  * @param {number} id
200
200
  * @param {string} [authorization] Bearer Token
@@ -246,7 +246,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
246
246
  });
247
247
  },
248
248
  /**
249
- * Returns a list of document templates you have previously created. The document templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
249
+ * Returns a list of document templates you have previously created. The document 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.documents.view\"
250
250
  * @summary List document templates
251
251
  * @param {string} [authorization] Bearer Token
252
252
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -314,7 +314,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
314
314
  });
315
315
  },
316
316
  /**
317
- * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
317
+ * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
318
318
  * @summary Update the document template
319
319
  * @param {number} id
320
320
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -377,7 +377,7 @@ var DocumentTemplatesApiFp = function (configuration) {
377
377
  var localVarAxiosParamCreator = (0, exports.DocumentTemplatesApiAxiosParamCreator)(configuration);
378
378
  return {
379
379
  /**
380
- * This will create a document template.
380
+ * This will create a document template. **Required Permissions** \"document-management.documents.create\"
381
381
  * @summary Create the document template
382
382
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
383
383
  * @param {string} [authorization] Bearer Token
@@ -398,7 +398,7 @@ var DocumentTemplatesApiFp = function (configuration) {
398
398
  });
399
399
  },
400
400
  /**
401
- * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
401
+ * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.documents.delete\"
402
402
  * @summary Delete the document template
403
403
  * @param {number} id
404
404
  * @param {string} [authorization] Bearer Token
@@ -419,7 +419,7 @@ var DocumentTemplatesApiFp = function (configuration) {
419
419
  });
420
420
  },
421
421
  /**
422
- * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information.
422
+ * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.documents.view\"
423
423
  * @summary Retrieve the document template
424
424
  * @param {number} id
425
425
  * @param {string} [authorization] Bearer Token
@@ -441,7 +441,7 @@ var DocumentTemplatesApiFp = function (configuration) {
441
441
  });
442
442
  },
443
443
  /**
444
- * Returns a list of document templates you have previously created. The document templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
444
+ * Returns a list of document templates you have previously created. The document 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.documents.view\"
445
445
  * @summary List document templates
446
446
  * @param {string} [authorization] Bearer Token
447
447
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -467,7 +467,7 @@ var DocumentTemplatesApiFp = function (configuration) {
467
467
  });
468
468
  },
469
469
  /**
470
- * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
470
+ * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
471
471
  * @summary Update the document template
472
472
  * @param {number} id
473
473
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -499,7 +499,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
499
499
  var localVarFp = (0, exports.DocumentTemplatesApiFp)(configuration);
500
500
  return {
501
501
  /**
502
- * This will create a document template.
502
+ * This will create a document template. **Required Permissions** \"document-management.documents.create\"
503
503
  * @summary Create the document template
504
504
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
505
505
  * @param {string} [authorization] Bearer Token
@@ -510,7 +510,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
510
510
  return localVarFp.createDocTemplate(createDocTemplateRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
511
511
  },
512
512
  /**
513
- * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
513
+ * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.documents.delete\"
514
514
  * @summary Delete the document template
515
515
  * @param {number} id
516
516
  * @param {string} [authorization] Bearer Token
@@ -521,7 +521,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
521
521
  return localVarFp.deleteDocTemplate(id, authorization, options).then(function (request) { return request(axios, basePath); });
522
522
  },
523
523
  /**
524
- * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information.
524
+ * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.documents.view\"
525
525
  * @summary Retrieve the document template
526
526
  * @param {number} id
527
527
  * @param {string} [authorization] Bearer Token
@@ -533,7 +533,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
533
533
  return localVarFp.getDocTemplate(id, authorization, expand, options).then(function (request) { return request(axios, basePath); });
534
534
  },
535
535
  /**
536
- * Returns a list of document templates you have previously created. The document templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
536
+ * Returns a list of document templates you have previously created. The document 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.documents.view\"
537
537
  * @summary List document templates
538
538
  * @param {string} [authorization] Bearer Token
539
539
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -549,7 +549,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
549
549
  return localVarFp.listDocTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
550
550
  },
551
551
  /**
552
- * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
552
+ * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
553
553
  * @summary Update the document template
554
554
  * @param {number} id
555
555
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -575,7 +575,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
575
575
  return _super !== null && _super.apply(this, arguments) || this;
576
576
  }
577
577
  /**
578
- * This will create a document template.
578
+ * This will create a document template. **Required Permissions** \"document-management.documents.create\"
579
579
  * @summary Create the document template
580
580
  * @param {DocumentTemplatesApiCreateDocTemplateRequest} requestParameters Request parameters.
581
581
  * @param {*} [options] Override http request option.
@@ -587,7 +587,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
587
587
  return (0, exports.DocumentTemplatesApiFp)(this.configuration).createDocTemplate(requestParameters.createDocTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
588
588
  };
589
589
  /**
590
- * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
590
+ * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.documents.delete\"
591
591
  * @summary Delete the document template
592
592
  * @param {DocumentTemplatesApiDeleteDocTemplateRequest} requestParameters Request parameters.
593
593
  * @param {*} [options] Override http request option.
@@ -599,7 +599,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
599
599
  return (0, exports.DocumentTemplatesApiFp)(this.configuration).deleteDocTemplate(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
600
600
  };
601
601
  /**
602
- * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information.
602
+ * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.documents.view\"
603
603
  * @summary Retrieve the document template
604
604
  * @param {DocumentTemplatesApiGetDocTemplateRequest} requestParameters Request parameters.
605
605
  * @param {*} [options] Override http request option.
@@ -611,7 +611,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
611
611
  return (0, exports.DocumentTemplatesApiFp)(this.configuration).getDocTemplate(requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
612
612
  };
613
613
  /**
614
- * Returns a list of document templates you have previously created. The document templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
614
+ * Returns a list of document templates you have previously created. The document 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.documents.view\"
615
615
  * @summary List document templates
616
616
  * @param {DocumentTemplatesApiListDocTemplatesRequest} requestParameters Request parameters.
617
617
  * @param {*} [options] Override http request option.
@@ -624,7 +624,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
624
624
  return (0, exports.DocumentTemplatesApiFp)(this.configuration).listDocTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
625
625
  };
626
626
  /**
627
- * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
627
+ * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
628
628
  * @summary Update the document template
629
629
  * @param {DocumentTemplatesApiUpdateDocTemplateRequest} requestParameters Request parameters.
630
630
  * @param {*} [options] Override http request option.