@emilgroup/document-sdk 1.39.1-beta.0 → 1.40.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.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/document-sdk@1.39.1-beta.0 --save
20
+ npm install @emilgroup/document-sdk@1.40.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/document-sdk@1.39.1-beta.0
24
+ yarn add @emilgroup/document-sdk@1.40.0
25
25
  ```
26
26
 
27
27
  And then you can import `DocumentsApi`.
@@ -41,7 +41,7 @@ import { UpdateDocTemplateResponseClass } from '../models';
41
41
  export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: Configuration) {
42
42
  return {
43
43
  /**
44
- * This will create a document template. **Required Permissions** \"document-management.documents.create\"
44
+ * This will create a document template. **Required Permissions** \"document-management.templates.create\"
45
45
  * @summary Create the document template
46
46
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
47
47
  * @param {string} [authorization] Bearer Token
@@ -88,7 +88,7 @@ export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: C
88
88
  };
89
89
  },
90
90
  /**
91
- * 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\"
91
+ * 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.templates.delete\"
92
92
  * @summary Delete the document template
93
93
  * @param {number} id
94
94
  * @param {string} [authorization] Bearer Token
@@ -133,7 +133,7 @@ export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: C
133
133
  };
134
134
  },
135
135
  /**
136
- * 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\"
136
+ * 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.templates.view\"
137
137
  * @summary Retrieve the document template
138
138
  * @param {number} id
139
139
  * @param {string} [authorization] Bearer Token
@@ -183,7 +183,7 @@ export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: C
183
183
  };
184
184
  },
185
185
  /**
186
- * 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\"
186
+ * 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.templates.view\"
187
187
  * @summary List document templates
188
188
  * @param {string} [authorization] Bearer Token
189
189
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -254,7 +254,7 @@ export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: C
254
254
  };
255
255
  },
256
256
  /**
257
- * 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\"
257
+ * 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.templates.update\"
258
258
  * @summary Update the document template
259
259
  * @param {number} id
260
260
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -315,7 +315,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
315
315
  const localVarAxiosParamCreator = DocumentTemplatesApiAxiosParamCreator(configuration)
316
316
  return {
317
317
  /**
318
- * This will create a document template. **Required Permissions** \"document-management.documents.create\"
318
+ * This will create a document template. **Required Permissions** \"document-management.templates.create\"
319
319
  * @summary Create the document template
320
320
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
321
321
  * @param {string} [authorization] Bearer Token
@@ -327,7 +327,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
327
327
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
328
328
  },
329
329
  /**
330
- * 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\"
330
+ * 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.templates.delete\"
331
331
  * @summary Delete the document template
332
332
  * @param {number} id
333
333
  * @param {string} [authorization] Bearer Token
@@ -339,7 +339,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
339
339
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
340
340
  },
341
341
  /**
342
- * 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\"
342
+ * 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.templates.view\"
343
343
  * @summary Retrieve the document template
344
344
  * @param {number} id
345
345
  * @param {string} [authorization] Bearer Token
@@ -352,7 +352,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
352
352
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
353
353
  },
354
354
  /**
355
- * 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\"
355
+ * 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.templates.view\"
356
356
  * @summary List document templates
357
357
  * @param {string} [authorization] Bearer Token
358
358
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -369,7 +369,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
369
369
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
370
370
  },
371
371
  /**
372
- * 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\"
372
+ * 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.templates.update\"
373
373
  * @summary Update the document template
374
374
  * @param {number} id
375
375
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -392,7 +392,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
392
392
  const localVarFp = DocumentTemplatesApiFp(configuration)
393
393
  return {
394
394
  /**
395
- * This will create a document template. **Required Permissions** \"document-management.documents.create\"
395
+ * This will create a document template. **Required Permissions** \"document-management.templates.create\"
396
396
  * @summary Create the document template
397
397
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
398
398
  * @param {string} [authorization] Bearer Token
@@ -403,7 +403,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
403
403
  return localVarFp.createDocTemplate(createDocTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
404
404
  },
405
405
  /**
406
- * 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\"
406
+ * 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.templates.delete\"
407
407
  * @summary Delete the document template
408
408
  * @param {number} id
409
409
  * @param {string} [authorization] Bearer Token
@@ -414,7 +414,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
414
414
  return localVarFp.deleteDocTemplate(id, authorization, options).then((request) => request(axios, basePath));
415
415
  },
416
416
  /**
417
- * 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\"
417
+ * 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.templates.view\"
418
418
  * @summary Retrieve the document template
419
419
  * @param {number} id
420
420
  * @param {string} [authorization] Bearer Token
@@ -426,7 +426,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
426
426
  return localVarFp.getDocTemplate(id, authorization, expand, options).then((request) => request(axios, basePath));
427
427
  },
428
428
  /**
429
- * 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\"
429
+ * 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.templates.view\"
430
430
  * @summary List document templates
431
431
  * @param {string} [authorization] Bearer Token
432
432
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -442,7 +442,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
442
442
  return localVarFp.listDocTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
443
443
  },
444
444
  /**
445
- * 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\"
445
+ * 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.templates.update\"
446
446
  * @summary Update the document template
447
447
  * @param {number} id
448
448
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -618,7 +618,7 @@ export interface DocumentTemplatesApiUpdateDocTemplateRequest {
618
618
  */
619
619
  export class DocumentTemplatesApi extends BaseAPI {
620
620
  /**
621
- * This will create a document template. **Required Permissions** \"document-management.documents.create\"
621
+ * This will create a document template. **Required Permissions** \"document-management.templates.create\"
622
622
  * @summary Create the document template
623
623
  * @param {DocumentTemplatesApiCreateDocTemplateRequest} requestParameters Request parameters.
624
624
  * @param {*} [options] Override http request option.
@@ -630,7 +630,7 @@ export class DocumentTemplatesApi extends BaseAPI {
630
630
  }
631
631
 
632
632
  /**
633
- * 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\"
633
+ * 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.templates.delete\"
634
634
  * @summary Delete the document template
635
635
  * @param {DocumentTemplatesApiDeleteDocTemplateRequest} requestParameters Request parameters.
636
636
  * @param {*} [options] Override http request option.
@@ -642,7 +642,7 @@ export class DocumentTemplatesApi extends BaseAPI {
642
642
  }
643
643
 
644
644
  /**
645
- * 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\"
645
+ * 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.templates.view\"
646
646
  * @summary Retrieve the document template
647
647
  * @param {DocumentTemplatesApiGetDocTemplateRequest} requestParameters Request parameters.
648
648
  * @param {*} [options] Override http request option.
@@ -654,7 +654,7 @@ export class DocumentTemplatesApi extends BaseAPI {
654
654
  }
655
655
 
656
656
  /**
657
- * 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\"
657
+ * 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.templates.view\"
658
658
  * @summary List document templates
659
659
  * @param {DocumentTemplatesApiListDocTemplatesRequest} requestParameters Request parameters.
660
660
  * @param {*} [options] Override http request option.
@@ -666,7 +666,7 @@ export class DocumentTemplatesApi extends BaseAPI {
666
666
  }
667
667
 
668
668
  /**
669
- * 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\"
669
+ * 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.templates.update\"
670
670
  * @summary Update the document template
671
671
  * @param {DocumentTemplatesApiUpdateDocTemplateRequest} requestParameters Request parameters.
672
672
  * @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. **Required Permissions** \"document-management.documents.create\"
28
+ * This will create a document template. **Required Permissions** \"document-management.templates.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. **Required Permissions** \"document-management.documents.delete\"
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.templates.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. **Required Permissions** \"document-management.documents.view\"
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.templates.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. **Required Permissions** \"document-management.documents.view\"
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.templates.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. **Required Permissions** \"document-management.documents.update\"
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.templates.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. **Required Permissions** \"document-management.documents.create\"
86
+ * This will create a document template. **Required Permissions** \"document-management.templates.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. **Required Permissions** \"document-management.documents.delete\"
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.templates.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. **Required Permissions** \"document-management.documents.view\"
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.templates.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. **Required Permissions** \"document-management.documents.view\"
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.templates.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. **Required Permissions** \"document-management.documents.update\"
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.templates.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. **Required Permissions** \"document-management.documents.create\"
144
+ * This will create a document template. **Required Permissions** \"document-management.templates.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. **Required Permissions** \"document-management.documents.delete\"
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.templates.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. **Required Permissions** \"document-management.documents.view\"
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.templates.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. **Required Permissions** \"document-management.documents.view\"
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.templates.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. **Required Permissions** \"document-management.documents.update\"
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.templates.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. **Required Permissions** \"document-management.documents.create\"
341
+ * This will create a document template. **Required Permissions** \"document-management.templates.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. **Required Permissions** \"document-management.documents.delete\"
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.templates.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. **Required Permissions** \"document-management.documents.view\"
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.templates.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. **Required Permissions** \"document-management.documents.view\"
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.templates.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. **Required Permissions** \"document-management.documents.update\"
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.templates.update\"
378
378
  * @summary Update the document template
379
379
  * @param {DocumentTemplatesApiUpdateDocTemplateRequest} requestParameters Request parameters.
380
380
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create a document template. **Required Permissions** \"document-management.documents.create\"
96
+ * This will create a document template. **Required Permissions** \"document-management.templates.create\"
97
97
  * @summary Create the document template
98
98
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
99
99
  * @param {string} [authorization] Bearer Token
@@ -142,7 +142,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * 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\"
145
+ * 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.templates.delete\"
146
146
  * @summary Delete the document template
147
147
  * @param {number} id
148
148
  * @param {string} [authorization] Bearer Token
@@ -190,7 +190,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * 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\"
193
+ * 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.templates.view\"
194
194
  * @summary Retrieve the document template
195
195
  * @param {number} id
196
196
  * @param {string} [authorization] Bearer Token
@@ -242,7 +242,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
245
- * 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\"
245
+ * 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.templates.view\"
246
246
  * @summary List document templates
247
247
  * @param {string} [authorization] Bearer Token
248
248
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -310,7 +310,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
310
310
  });
311
311
  },
312
312
  /**
313
- * 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\"
313
+ * 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.templates.update\"
314
314
  * @summary Update the document template
315
315
  * @param {number} id
316
316
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -373,7 +373,7 @@ var DocumentTemplatesApiFp = function (configuration) {
373
373
  var localVarAxiosParamCreator = (0, exports.DocumentTemplatesApiAxiosParamCreator)(configuration);
374
374
  return {
375
375
  /**
376
- * This will create a document template. **Required Permissions** \"document-management.documents.create\"
376
+ * This will create a document template. **Required Permissions** \"document-management.templates.create\"
377
377
  * @summary Create the document template
378
378
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
379
379
  * @param {string} [authorization] Bearer Token
@@ -394,7 +394,7 @@ var DocumentTemplatesApiFp = function (configuration) {
394
394
  });
395
395
  },
396
396
  /**
397
- * 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\"
397
+ * 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.templates.delete\"
398
398
  * @summary Delete the document template
399
399
  * @param {number} id
400
400
  * @param {string} [authorization] Bearer Token
@@ -415,7 +415,7 @@ var DocumentTemplatesApiFp = function (configuration) {
415
415
  });
416
416
  },
417
417
  /**
418
- * 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\"
418
+ * 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.templates.view\"
419
419
  * @summary Retrieve the document template
420
420
  * @param {number} id
421
421
  * @param {string} [authorization] Bearer Token
@@ -437,7 +437,7 @@ var DocumentTemplatesApiFp = function (configuration) {
437
437
  });
438
438
  },
439
439
  /**
440
- * 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\"
440
+ * 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.templates.view\"
441
441
  * @summary List document templates
442
442
  * @param {string} [authorization] Bearer Token
443
443
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -463,7 +463,7 @@ var DocumentTemplatesApiFp = function (configuration) {
463
463
  });
464
464
  },
465
465
  /**
466
- * 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\"
466
+ * 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.templates.update\"
467
467
  * @summary Update the document template
468
468
  * @param {number} id
469
469
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -495,7 +495,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
495
495
  var localVarFp = (0, exports.DocumentTemplatesApiFp)(configuration);
496
496
  return {
497
497
  /**
498
- * This will create a document template. **Required Permissions** \"document-management.documents.create\"
498
+ * This will create a document template. **Required Permissions** \"document-management.templates.create\"
499
499
  * @summary Create the document template
500
500
  * @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
501
501
  * @param {string} [authorization] Bearer Token
@@ -506,7 +506,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
506
506
  return localVarFp.createDocTemplate(createDocTemplateRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
507
507
  },
508
508
  /**
509
- * 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\"
509
+ * 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.templates.delete\"
510
510
  * @summary Delete the document template
511
511
  * @param {number} id
512
512
  * @param {string} [authorization] Bearer Token
@@ -517,7 +517,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
517
517
  return localVarFp.deleteDocTemplate(id, authorization, options).then(function (request) { return request(axios, basePath); });
518
518
  },
519
519
  /**
520
- * 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\"
520
+ * 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.templates.view\"
521
521
  * @summary Retrieve the document template
522
522
  * @param {number} id
523
523
  * @param {string} [authorization] Bearer Token
@@ -529,7 +529,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
529
529
  return localVarFp.getDocTemplate(id, authorization, expand, options).then(function (request) { return request(axios, basePath); });
530
530
  },
531
531
  /**
532
- * 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\"
532
+ * 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.templates.view\"
533
533
  * @summary List document templates
534
534
  * @param {string} [authorization] Bearer Token
535
535
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
@@ -545,7 +545,7 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
545
545
  return localVarFp.listDocTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
546
546
  },
547
547
  /**
548
- * 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\"
548
+ * 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.templates.update\"
549
549
  * @summary Update the document template
550
550
  * @param {number} id
551
551
  * @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
@@ -571,7 +571,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
571
571
  return _super !== null && _super.apply(this, arguments) || this;
572
572
  }
573
573
  /**
574
- * This will create a document template. **Required Permissions** \"document-management.documents.create\"
574
+ * This will create a document template. **Required Permissions** \"document-management.templates.create\"
575
575
  * @summary Create the document template
576
576
  * @param {DocumentTemplatesApiCreateDocTemplateRequest} requestParameters Request parameters.
577
577
  * @param {*} [options] Override http request option.
@@ -583,7 +583,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
583
583
  return (0, exports.DocumentTemplatesApiFp)(this.configuration).createDocTemplate(requestParameters.createDocTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
584
584
  };
585
585
  /**
586
- * 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\"
586
+ * 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.templates.delete\"
587
587
  * @summary Delete the document template
588
588
  * @param {DocumentTemplatesApiDeleteDocTemplateRequest} requestParameters Request parameters.
589
589
  * @param {*} [options] Override http request option.
@@ -595,7 +595,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
595
595
  return (0, exports.DocumentTemplatesApiFp)(this.configuration).deleteDocTemplate(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
596
596
  };
597
597
  /**
598
- * 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\"
598
+ * 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.templates.view\"
599
599
  * @summary Retrieve the document template
600
600
  * @param {DocumentTemplatesApiGetDocTemplateRequest} requestParameters Request parameters.
601
601
  * @param {*} [options] Override http request option.
@@ -607,7 +607,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
607
607
  return (0, exports.DocumentTemplatesApiFp)(this.configuration).getDocTemplate(requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
608
608
  };
609
609
  /**
610
- * 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\"
610
+ * 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.templates.view\"
611
611
  * @summary List document templates
612
612
  * @param {DocumentTemplatesApiListDocTemplatesRequest} requestParameters Request parameters.
613
613
  * @param {*} [options] Override http request option.
@@ -620,7 +620,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
620
620
  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); });
621
621
  };
622
622
  /**
623
- * 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\"
623
+ * 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.templates.update\"
624
624
  * @summary Update the document template
625
625
  * @param {DocumentTemplatesApiUpdateDocTemplateRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk",
3
- "version": "1.39.1-beta.0",
3
+ "version": "1.40.0",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [