@emilgroup/document-sdk-node 1.38.0 → 1.38.1-beta.1
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 +2 -2
- package/api/document-templates-api.ts +20 -20
- package/dist/api/document-templates-api.d.ts +20 -20
- package/dist/api/document-templates-api.js +20 -20
- package/package.json +1 -1
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-node@1.38.
|
|
20
|
+
npm install @emilgroup/document-sdk-node@1.38.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk-node@1.38.
|
|
24
|
+
yarn add @emilgroup/document-sdk-node@1.38.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
|
@@ -45,7 +45,7 @@ const FormData = require('form-data');
|
|
|
45
45
|
export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
46
46
|
return {
|
|
47
47
|
/**
|
|
48
|
-
* This will create a document template. **Required Permissions** \"document-management.
|
|
48
|
+
* This will create a document template. **Required Permissions** \"document-management.templates.create\"
|
|
49
49
|
* @summary Create the document template
|
|
50
50
|
* @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
|
|
51
51
|
* @param {string} [authorization] Bearer Token
|
|
@@ -92,7 +92,7 @@ export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: C
|
|
|
92
92
|
};
|
|
93
93
|
},
|
|
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.
|
|
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
|
|
@@ -137,7 +137,7 @@ export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: C
|
|
|
137
137
|
};
|
|
138
138
|
},
|
|
139
139
|
/**
|
|
140
|
-
* 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.
|
|
140
|
+
* 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\"
|
|
141
141
|
* @summary Retrieve the document template
|
|
142
142
|
* @param {number} id
|
|
143
143
|
* @param {string} [authorization] Bearer Token
|
|
@@ -187,7 +187,7 @@ export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: C
|
|
|
187
187
|
};
|
|
188
188
|
},
|
|
189
189
|
/**
|
|
190
|
-
* 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.
|
|
190
|
+
* 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\"
|
|
191
191
|
* @summary List document templates
|
|
192
192
|
* @param {string} [authorization] Bearer Token
|
|
193
193
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -258,7 +258,7 @@ export const DocumentTemplatesApiAxiosParamCreator = function (configuration?: C
|
|
|
258
258
|
};
|
|
259
259
|
},
|
|
260
260
|
/**
|
|
261
|
-
* 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.
|
|
261
|
+
* 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\"
|
|
262
262
|
* @summary Update the document template
|
|
263
263
|
* @param {number} id
|
|
264
264
|
* @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
|
|
@@ -319,7 +319,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
319
319
|
const localVarAxiosParamCreator = DocumentTemplatesApiAxiosParamCreator(configuration)
|
|
320
320
|
return {
|
|
321
321
|
/**
|
|
322
|
-
* This will create a document template. **Required Permissions** \"document-management.
|
|
322
|
+
* This will create a document template. **Required Permissions** \"document-management.templates.create\"
|
|
323
323
|
* @summary Create the document template
|
|
324
324
|
* @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
|
|
325
325
|
* @param {string} [authorization] Bearer Token
|
|
@@ -331,7 +331,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
331
331
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
332
332
|
},
|
|
333
333
|
/**
|
|
334
|
-
* 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.
|
|
334
|
+
* 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\"
|
|
335
335
|
* @summary Delete the document template
|
|
336
336
|
* @param {number} id
|
|
337
337
|
* @param {string} [authorization] Bearer Token
|
|
@@ -343,7 +343,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
343
343
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
344
344
|
},
|
|
345
345
|
/**
|
|
346
|
-
* 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.
|
|
346
|
+
* 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\"
|
|
347
347
|
* @summary Retrieve the document template
|
|
348
348
|
* @param {number} id
|
|
349
349
|
* @param {string} [authorization] Bearer Token
|
|
@@ -356,7 +356,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
356
356
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
357
357
|
},
|
|
358
358
|
/**
|
|
359
|
-
* 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.
|
|
359
|
+
* 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\"
|
|
360
360
|
* @summary List document templates
|
|
361
361
|
* @param {string} [authorization] Bearer Token
|
|
362
362
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -373,7 +373,7 @@ export const DocumentTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
373
373
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
374
|
},
|
|
375
375
|
/**
|
|
376
|
-
* 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.
|
|
376
|
+
* 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\"
|
|
377
377
|
* @summary Update the document template
|
|
378
378
|
* @param {number} id
|
|
379
379
|
* @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
|
|
@@ -396,7 +396,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
|
|
|
396
396
|
const localVarFp = DocumentTemplatesApiFp(configuration)
|
|
397
397
|
return {
|
|
398
398
|
/**
|
|
399
|
-
* This will create a document template. **Required Permissions** \"document-management.
|
|
399
|
+
* This will create a document template. **Required Permissions** \"document-management.templates.create\"
|
|
400
400
|
* @summary Create the document template
|
|
401
401
|
* @param {CreateDocTemplateRequestDto} createDocTemplateRequestDto
|
|
402
402
|
* @param {string} [authorization] Bearer Token
|
|
@@ -407,7 +407,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
|
|
|
407
407
|
return localVarFp.createDocTemplate(createDocTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
408
408
|
},
|
|
409
409
|
/**
|
|
410
|
-
* 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.
|
|
410
|
+
* 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\"
|
|
411
411
|
* @summary Delete the document template
|
|
412
412
|
* @param {number} id
|
|
413
413
|
* @param {string} [authorization] Bearer Token
|
|
@@ -418,7 +418,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
|
|
|
418
418
|
return localVarFp.deleteDocTemplate(id, authorization, options).then((request) => request(axios, basePath));
|
|
419
419
|
},
|
|
420
420
|
/**
|
|
421
|
-
* 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.
|
|
421
|
+
* 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\"
|
|
422
422
|
* @summary Retrieve the document template
|
|
423
423
|
* @param {number} id
|
|
424
424
|
* @param {string} [authorization] Bearer Token
|
|
@@ -430,7 +430,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
|
|
|
430
430
|
return localVarFp.getDocTemplate(id, authorization, expand, options).then((request) => request(axios, basePath));
|
|
431
431
|
},
|
|
432
432
|
/**
|
|
433
|
-
* 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.
|
|
433
|
+
* 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\"
|
|
434
434
|
* @summary List document templates
|
|
435
435
|
* @param {string} [authorization] Bearer Token
|
|
436
436
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -446,7 +446,7 @@ export const DocumentTemplatesApiFactory = function (configuration?: Configurati
|
|
|
446
446
|
return localVarFp.listDocTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
447
447
|
},
|
|
448
448
|
/**
|
|
449
|
-
* 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.
|
|
449
|
+
* 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\"
|
|
450
450
|
* @summary Update the document template
|
|
451
451
|
* @param {number} id
|
|
452
452
|
* @param {UpdateDocTemplateRequestDto} updateDocTemplateRequestDto
|
|
@@ -622,7 +622,7 @@ export interface DocumentTemplatesApiUpdateDocTemplateRequest {
|
|
|
622
622
|
*/
|
|
623
623
|
export class DocumentTemplatesApi extends BaseAPI {
|
|
624
624
|
/**
|
|
625
|
-
* This will create a document template. **Required Permissions** \"document-management.
|
|
625
|
+
* This will create a document template. **Required Permissions** \"document-management.templates.create\"
|
|
626
626
|
* @summary Create the document template
|
|
627
627
|
* @param {DocumentTemplatesApiCreateDocTemplateRequest} requestParameters Request parameters.
|
|
628
628
|
* @param {*} [options] Override http request option.
|
|
@@ -634,7 +634,7 @@ export class DocumentTemplatesApi extends BaseAPI {
|
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
/**
|
|
637
|
-
* 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.
|
|
637
|
+
* 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\"
|
|
638
638
|
* @summary Delete the document template
|
|
639
639
|
* @param {DocumentTemplatesApiDeleteDocTemplateRequest} requestParameters Request parameters.
|
|
640
640
|
* @param {*} [options] Override http request option.
|
|
@@ -646,7 +646,7 @@ export class DocumentTemplatesApi extends BaseAPI {
|
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
|
-
* 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.
|
|
649
|
+
* 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\"
|
|
650
650
|
* @summary Retrieve the document template
|
|
651
651
|
* @param {DocumentTemplatesApiGetDocTemplateRequest} requestParameters Request parameters.
|
|
652
652
|
* @param {*} [options] Override http request option.
|
|
@@ -658,7 +658,7 @@ export class DocumentTemplatesApi extends BaseAPI {
|
|
|
658
658
|
}
|
|
659
659
|
|
|
660
660
|
/**
|
|
661
|
-
* 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.
|
|
661
|
+
* 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\"
|
|
662
662
|
* @summary List document templates
|
|
663
663
|
* @param {DocumentTemplatesApiListDocTemplatesRequest} requestParameters Request parameters.
|
|
664
664
|
* @param {*} [options] Override http request option.
|
|
@@ -670,7 +670,7 @@ export class DocumentTemplatesApi extends BaseAPI {
|
|
|
670
670
|
}
|
|
671
671
|
|
|
672
672
|
/**
|
|
673
|
-
* 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.
|
|
673
|
+
* 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\"
|
|
674
674
|
* @summary Update the document template
|
|
675
675
|
* @param {DocumentTemplatesApiUpdateDocTemplateRequest} requestParameters Request parameters.
|
|
676
676
|
* @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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
@@ -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. **Required Permissions** \"document-management.
|
|
100
|
+
* This will create a document template. **Required Permissions** \"document-management.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
380
|
+
* This will create a document template. **Required Permissions** \"document-management.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
502
|
+
* This will create a document template. **Required Permissions** \"document-management.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
578
|
+
* This will create a document template. **Required Permissions** \"document-management.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.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. **Required Permissions** \"document-management.
|
|
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.templates.update\"
|
|
628
628
|
* @summary Update the document template
|
|
629
629
|
* @param {DocumentTemplatesApiUpdateDocTemplateRequest} requestParameters Request parameters.
|
|
630
630
|
* @param {*} [options] Override http request option.
|