@emilgroup/document-sdk 1.27.1-beta.0 → 1.27.1-beta.2
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/.openapi-generator/FILES +0 -36
- package/README.md +2 -2
- package/api/document-templates-api.ts +71 -67
- package/api/documents-api.ts +29 -39
- package/api/docx-templates-api.ts +12 -24
- package/api/layouts-api.ts +10 -20
- package/api/product-documents-api.ts +8 -14
- package/api/search-keywords-api.ts +2 -4
- package/api/searchable-document-owners-api.ts +2 -4
- package/api/searchable-documents-api.ts +16 -16
- package/dist/api/document-templates-api.d.ts +54 -59
- package/dist/api/document-templates-api.js +47 -34
- package/dist/api/documents-api.d.ts +31 -37
- package/dist/api/documents-api.js +11 -9
- package/dist/api/docx-templates-api.d.ts +18 -24
- package/dist/api/layouts-api.d.ts +15 -20
- package/dist/api/product-documents-api.d.ts +12 -15
- package/dist/api/search-keywords-api.d.ts +3 -4
- package/dist/api/searchable-document-owners-api.d.ts +3 -4
- package/dist/api/searchable-documents-api.d.ts +12 -13
- package/dist/api/searchable-documents-api.js +11 -9
- package/dist/models/create-doc-template-request-dto.d.ts +2 -2
- package/dist/models/create-document-request-dto.d.ts +10 -10
- package/dist/models/create-presigned-post-request-dto.d.ts +4 -4
- package/dist/models/index.d.ts +0 -36
- package/dist/models/index.js +0 -36
- package/dist/models/list-searchable-document-owners-request-dto.d.ts +1 -8
- package/dist/models/list-searchable-document-owners-request-dto.js +0 -7
- package/dist/models/list-searchable-documents-request-dto.d.ts +1 -8
- package/dist/models/list-searchable-documents-request-dto.js +0 -7
- package/dist/models/product-document-class.d.ts +12 -0
- package/dist/models/update-doc-template-request-dto.d.ts +2 -2
- package/dist/models/update-document-request-dto.d.ts +5 -5
- package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
- package/dist/models/upload-product-document-request-dto.d.ts +2 -2
- package/models/create-doc-template-request-dto.ts +2 -2
- package/models/create-document-request-dto.ts +10 -10
- package/models/create-presigned-post-request-dto.ts +4 -4
- package/models/index.ts +0 -36
- package/models/list-searchable-document-owners-request-dto.ts +1 -11
- package/models/list-searchable-documents-request-dto.ts +1 -11
- package/models/product-document-class.ts +12 -0
- package/models/update-doc-template-request-dto.ts +2 -2
- package/models/update-document-request-dto.ts +5 -5
- package/models/upload-docx-template-request-dto.ts +1 -1
- package/models/upload-product-document-request-dto.ts +2 -2
- package/package.json +1 -1
- package/dist/models/create-doc-template-response-class.d.ts +0 -25
- package/dist/models/create-doc-template-response-class.js +0 -15
- package/dist/models/create-document-sync-response-class.d.ts +0 -25
- package/dist/models/create-document-sync-response-class.js +0 -15
- package/dist/models/create-layout-response-class.d.ts +0 -25
- package/dist/models/create-layout-response-class.js +0 -15
- package/dist/models/create-presigned-post-response-class.d.ts +0 -30
- package/dist/models/create-presigned-post-response-class.js +0 -15
- package/dist/models/delete-response-class.d.ts +0 -24
- package/dist/models/delete-response-class.js +0 -15
- package/dist/models/doc-template-class.d.ts +0 -92
- package/dist/models/doc-template-class.js +0 -15
- package/dist/models/document-class.d.ts +0 -165
- package/dist/models/document-class.js +0 -53
- package/dist/models/docx-template-class.d.ts +0 -90
- package/dist/models/docx-template-class.js +0 -15
- package/dist/models/download-document-request-dto.d.ts +0 -30
- package/dist/models/download-document-request-dto.js +0 -15
- package/dist/models/get-doc-template-request-dto.d.ts +0 -30
- package/dist/models/get-doc-template-request-dto.js +0 -15
- package/dist/models/get-doc-template-response-class.d.ts +0 -25
- package/dist/models/get-doc-template-response-class.js +0 -15
- package/dist/models/get-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-document-download-url-response-class.js +0 -15
- package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
- package/dist/models/get-docx-template-download-url-response-class.js +0 -15
- package/dist/models/get-docx-template-response-class.d.ts +0 -25
- package/dist/models/get-docx-template-response-class.js +0 -15
- package/dist/models/get-layout-response-class.d.ts +0 -25
- package/dist/models/get-layout-response-class.js +0 -15
- package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-product-document-download-url-response-class.js +0 -15
- package/dist/models/get-product-document-response-class.d.ts +0 -25
- package/dist/models/get-product-document-response-class.js +0 -15
- package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
- package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
- package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
- package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
- package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
- package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
- package/dist/models/html-template-class.d.ts +0 -66
- package/dist/models/html-template-class.js +0 -21
- package/dist/models/layout-class.d.ts +0 -79
- package/dist/models/layout-class.js +0 -15
- package/dist/models/list-doc-template-request-dto.d.ts +0 -54
- package/dist/models/list-doc-template-request-dto.js +0 -15
- package/dist/models/list-doc-templates-response-class.d.ts +0 -31
- package/dist/models/list-doc-templates-response-class.js +0 -15
- package/dist/models/list-documents-response-class.d.ts +0 -31
- package/dist/models/list-documents-response-class.js +0 -15
- package/dist/models/list-docx-templates-response-class.d.ts +0 -31
- package/dist/models/list-docx-templates-response-class.js +0 -15
- package/dist/models/list-layouts-response-class.d.ts +0 -31
- package/dist/models/list-layouts-response-class.js +0 -15
- package/dist/models/list-search-keywords-response-class.d.ts +0 -24
- package/dist/models/list-search-keywords-response-class.js +0 -15
- package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
- package/dist/models/list-searchable-document-owners-response-class.js +0 -15
- package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
- package/dist/models/list-searchable-documents-response-class.js +0 -15
- package/dist/models/searchable-document-class.d.ts +0 -66
- package/dist/models/searchable-document-class.js +0 -15
- package/dist/models/searchable-document-owner-class.d.ts +0 -30
- package/dist/models/searchable-document-owner-class.js +0 -15
- package/dist/models/update-doc-template-response-class.d.ts +0 -25
- package/dist/models/update-doc-template-response-class.js +0 -15
- package/dist/models/update-document-response-class.d.ts +0 -25
- package/dist/models/update-document-response-class.js +0 -15
- package/dist/models/update-docx-template-response-class.d.ts +0 -25
- package/dist/models/update-docx-template-response-class.js +0 -15
- package/dist/models/update-layout-response-class.d.ts +0 -25
- package/dist/models/update-layout-response-class.js +0 -15
- package/models/create-doc-template-response-class.ts +0 -31
- package/models/create-document-sync-response-class.ts +0 -31
- package/models/create-layout-response-class.ts +0 -31
- package/models/create-presigned-post-response-class.ts +0 -36
- package/models/delete-response-class.ts +0 -30
- package/models/doc-template-class.ts +0 -98
- package/models/document-class.ts +0 -175
- package/models/docx-template-class.ts +0 -96
- package/models/download-document-request-dto.ts +0 -36
- package/models/get-doc-template-request-dto.ts +0 -36
- package/models/get-doc-template-response-class.ts +0 -31
- package/models/get-document-download-url-response-class.ts +0 -30
- package/models/get-docx-template-download-url-response-class.ts +0 -30
- package/models/get-docx-template-response-class.ts +0 -31
- package/models/get-layout-response-class.ts +0 -31
- package/models/get-product-document-download-url-response-class.ts +0 -30
- package/models/get-product-document-response-class.ts +0 -31
- package/models/get-signed-s3-key-url-response-class.ts +0 -30
- package/models/grpc-create-doc-template-request-dto.ts +0 -61
- package/models/grpc-update-doc-template-request-dto.ts +0 -67
- package/models/html-template-class.ts +0 -75
- package/models/layout-class.ts +0 -85
- package/models/list-doc-template-request-dto.ts +0 -60
- package/models/list-doc-templates-response-class.ts +0 -37
- package/models/list-documents-response-class.ts +0 -37
- package/models/list-docx-templates-response-class.ts +0 -37
- package/models/list-layouts-response-class.ts +0 -37
- package/models/list-search-keywords-response-class.ts +0 -30
- package/models/list-searchable-document-owners-response-class.ts +0 -31
- package/models/list-searchable-documents-response-class.ts +0 -37
- package/models/searchable-document-class.ts +0 -72
- package/models/searchable-document-owner-class.ts +0 -36
- package/models/update-doc-template-response-class.ts +0 -31
- package/models/update-document-response-class.ts +0 -31
- package/models/update-docx-template-response-class.ts +0 -31
- package/models/update-layout-response-class.ts +0 -31
|
@@ -13,12 +13,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateDocTemplateRequestDto } from '../models';
|
|
16
|
-
import { CreateDocTemplateResponseClass } from '../models';
|
|
17
|
-
import { DeleteResponseClass } from '../models';
|
|
18
|
-
import { GetDocTemplateResponseClass } from '../models';
|
|
19
|
-
import { ListDocTemplatesResponseClass } from '../models';
|
|
20
16
|
import { UpdateDocTemplateRequestDto } from '../models';
|
|
21
|
-
import { UpdateDocTemplateResponseClass } from '../models';
|
|
22
17
|
/**
|
|
23
18
|
* DocumentTemplatesApi - axios parameter creator
|
|
24
19
|
* @export
|
|
@@ -46,26 +41,26 @@ export declare const DocumentTemplatesApiAxiosParamCreator: (configuration?: Con
|
|
|
46
41
|
* 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.
|
|
47
42
|
* @summary Retrieve the document template
|
|
48
43
|
* @param {number} id
|
|
44
|
+
* @param {string} expand Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
49
45
|
* @param {string} [authorization] Bearer Token
|
|
50
|
-
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
51
46
|
* @param {*} [options] Override http request option.
|
|
52
47
|
* @throws {RequiredError}
|
|
53
48
|
*/
|
|
54
|
-
getDocTemplate: (id: number,
|
|
49
|
+
getDocTemplate: (id: number, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
50
|
/**
|
|
56
51
|
* 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.
|
|
57
52
|
* @summary List document templates
|
|
53
|
+
* @param {number} pageSize A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
54
|
+
* @param {string} pageToken A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
55
|
+
* @param {string} filter Filter response by productSlug, slug and name.
|
|
56
|
+
* @param {string} search Search document templates by name | slug
|
|
57
|
+
* @param {string} order Order response by createdAt.
|
|
58
|
+
* @param {string} expand Expand response by bodyTemplate.
|
|
58
59
|
* @param {string} [authorization] Bearer Token
|
|
59
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
60
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
61
|
-
* @param {string} [filter] Filter response by productSlug, slug and name.
|
|
62
|
-
* @param {string} [search] Search document templates by name | slug
|
|
63
|
-
* @param {string} [order] Order response by createdAt.
|
|
64
|
-
* @param {string} [expand] Expand response by bodyTemplate.
|
|
65
60
|
* @param {*} [options] Override http request option.
|
|
66
61
|
* @throws {RequiredError}
|
|
67
62
|
*/
|
|
68
|
-
listDocTemplates: (
|
|
63
|
+
listDocTemplates: (pageSize: number, pageToken: string, filter: string, search: string, order: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
64
|
/**
|
|
70
65
|
* Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
71
66
|
* @summary Update the document template
|
|
@@ -90,7 +85,7 @@ export declare const DocumentTemplatesApiFp: (configuration?: Configuration) =>
|
|
|
90
85
|
* @param {*} [options] Override http request option.
|
|
91
86
|
* @throws {RequiredError}
|
|
92
87
|
*/
|
|
93
|
-
createDocTemplate(createDocTemplateRequestDto: CreateDocTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
88
|
+
createDocTemplate(createDocTemplateRequestDto: CreateDocTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
94
89
|
/**
|
|
95
90
|
* Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
|
|
96
91
|
* @summary Delete the document template
|
|
@@ -99,31 +94,31 @@ export declare const DocumentTemplatesApiFp: (configuration?: Configuration) =>
|
|
|
99
94
|
* @param {*} [options] Override http request option.
|
|
100
95
|
* @throws {RequiredError}
|
|
101
96
|
*/
|
|
102
|
-
deleteDocTemplate(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
97
|
+
deleteDocTemplate(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
103
98
|
/**
|
|
104
99
|
* 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.
|
|
105
100
|
* @summary Retrieve the document template
|
|
106
101
|
* @param {number} id
|
|
102
|
+
* @param {string} expand Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
107
103
|
* @param {string} [authorization] Bearer Token
|
|
108
|
-
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
109
104
|
* @param {*} [options] Override http request option.
|
|
110
105
|
* @throws {RequiredError}
|
|
111
106
|
*/
|
|
112
|
-
getDocTemplate(id: number,
|
|
107
|
+
getDocTemplate(id: number, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
113
108
|
/**
|
|
114
109
|
* 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.
|
|
115
110
|
* @summary List document templates
|
|
111
|
+
* @param {number} pageSize A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
112
|
+
* @param {string} pageToken A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
113
|
+
* @param {string} filter Filter response by productSlug, slug and name.
|
|
114
|
+
* @param {string} search Search document templates by name | slug
|
|
115
|
+
* @param {string} order Order response by createdAt.
|
|
116
|
+
* @param {string} expand Expand response by bodyTemplate.
|
|
116
117
|
* @param {string} [authorization] Bearer Token
|
|
117
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
118
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
119
|
-
* @param {string} [filter] Filter response by productSlug, slug and name.
|
|
120
|
-
* @param {string} [search] Search document templates by name | slug
|
|
121
|
-
* @param {string} [order] Order response by createdAt.
|
|
122
|
-
* @param {string} [expand] Expand response by bodyTemplate.
|
|
123
118
|
* @param {*} [options] Override http request option.
|
|
124
119
|
* @throws {RequiredError}
|
|
125
120
|
*/
|
|
126
|
-
listDocTemplates(
|
|
121
|
+
listDocTemplates(pageSize: number, pageToken: string, filter: string, search: string, order: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
127
122
|
/**
|
|
128
123
|
* Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
129
124
|
* @summary Update the document template
|
|
@@ -133,7 +128,7 @@ export declare const DocumentTemplatesApiFp: (configuration?: Configuration) =>
|
|
|
133
128
|
* @param {*} [options] Override http request option.
|
|
134
129
|
* @throws {RequiredError}
|
|
135
130
|
*/
|
|
136
|
-
updateDocTemplate(id: number, updateDocTemplateRequestDto: UpdateDocTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
131
|
+
updateDocTemplate(id: number, updateDocTemplateRequestDto: UpdateDocTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
137
132
|
};
|
|
138
133
|
/**
|
|
139
134
|
* DocumentTemplatesApi - factory interface
|
|
@@ -148,7 +143,7 @@ export declare const DocumentTemplatesApiFactory: (configuration?: Configuration
|
|
|
148
143
|
* @param {*} [options] Override http request option.
|
|
149
144
|
* @throws {RequiredError}
|
|
150
145
|
*/
|
|
151
|
-
createDocTemplate(createDocTemplateRequestDto: CreateDocTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
146
|
+
createDocTemplate(createDocTemplateRequestDto: CreateDocTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
152
147
|
/**
|
|
153
148
|
* Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
|
|
154
149
|
* @summary Delete the document template
|
|
@@ -157,31 +152,31 @@ export declare const DocumentTemplatesApiFactory: (configuration?: Configuration
|
|
|
157
152
|
* @param {*} [options] Override http request option.
|
|
158
153
|
* @throws {RequiredError}
|
|
159
154
|
*/
|
|
160
|
-
deleteDocTemplate(id: number, authorization?: string, options?: any): AxiosPromise<
|
|
155
|
+
deleteDocTemplate(id: number, authorization?: string, options?: any): AxiosPromise<void>;
|
|
161
156
|
/**
|
|
162
157
|
* 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.
|
|
163
158
|
* @summary Retrieve the document template
|
|
164
159
|
* @param {number} id
|
|
160
|
+
* @param {string} expand Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
165
161
|
* @param {string} [authorization] Bearer Token
|
|
166
|
-
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
167
162
|
* @param {*} [options] Override http request option.
|
|
168
163
|
* @throws {RequiredError}
|
|
169
164
|
*/
|
|
170
|
-
getDocTemplate(id: number,
|
|
165
|
+
getDocTemplate(id: number, expand: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
171
166
|
/**
|
|
172
167
|
* 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.
|
|
173
168
|
* @summary List document templates
|
|
169
|
+
* @param {number} pageSize A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
170
|
+
* @param {string} pageToken A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
171
|
+
* @param {string} filter Filter response by productSlug, slug and name.
|
|
172
|
+
* @param {string} search Search document templates by name | slug
|
|
173
|
+
* @param {string} order Order response by createdAt.
|
|
174
|
+
* @param {string} expand Expand response by bodyTemplate.
|
|
174
175
|
* @param {string} [authorization] Bearer Token
|
|
175
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
176
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
177
|
-
* @param {string} [filter] Filter response by productSlug, slug and name.
|
|
178
|
-
* @param {string} [search] Search document templates by name | slug
|
|
179
|
-
* @param {string} [order] Order response by createdAt.
|
|
180
|
-
* @param {string} [expand] Expand response by bodyTemplate.
|
|
181
176
|
* @param {*} [options] Override http request option.
|
|
182
177
|
* @throws {RequiredError}
|
|
183
178
|
*/
|
|
184
|
-
listDocTemplates(
|
|
179
|
+
listDocTemplates(pageSize: number, pageToken: string, filter: string, search: string, order: string, expand: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
185
180
|
/**
|
|
186
181
|
* Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
187
182
|
* @summary Update the document template
|
|
@@ -191,7 +186,7 @@ export declare const DocumentTemplatesApiFactory: (configuration?: Configuration
|
|
|
191
186
|
* @param {*} [options] Override http request option.
|
|
192
187
|
* @throws {RequiredError}
|
|
193
188
|
*/
|
|
194
|
-
updateDocTemplate(id: number, updateDocTemplateRequestDto: UpdateDocTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
189
|
+
updateDocTemplate(id: number, updateDocTemplateRequestDto: UpdateDocTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
195
190
|
};
|
|
196
191
|
/**
|
|
197
192
|
* Request parameters for createDocTemplate operation in DocumentTemplatesApi.
|
|
@@ -244,17 +239,17 @@ export interface DocumentTemplatesApiGetDocTemplateRequest {
|
|
|
244
239
|
*/
|
|
245
240
|
readonly id: number;
|
|
246
241
|
/**
|
|
247
|
-
*
|
|
242
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
248
243
|
* @type {string}
|
|
249
244
|
* @memberof DocumentTemplatesApiGetDocTemplate
|
|
250
245
|
*/
|
|
251
|
-
readonly
|
|
246
|
+
readonly expand: string;
|
|
252
247
|
/**
|
|
253
|
-
*
|
|
248
|
+
* Bearer Token
|
|
254
249
|
* @type {string}
|
|
255
250
|
* @memberof DocumentTemplatesApiGetDocTemplate
|
|
256
251
|
*/
|
|
257
|
-
readonly
|
|
252
|
+
readonly authorization?: string;
|
|
258
253
|
}
|
|
259
254
|
/**
|
|
260
255
|
* Request parameters for listDocTemplates operation in DocumentTemplatesApi.
|
|
@@ -262,48 +257,48 @@ export interface DocumentTemplatesApiGetDocTemplateRequest {
|
|
|
262
257
|
* @interface DocumentTemplatesApiListDocTemplatesRequest
|
|
263
258
|
*/
|
|
264
259
|
export interface DocumentTemplatesApiListDocTemplatesRequest {
|
|
265
|
-
/**
|
|
266
|
-
* Bearer Token
|
|
267
|
-
* @type {string}
|
|
268
|
-
* @memberof DocumentTemplatesApiListDocTemplates
|
|
269
|
-
*/
|
|
270
|
-
readonly authorization?: string;
|
|
271
260
|
/**
|
|
272
261
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
273
262
|
* @type {number}
|
|
274
263
|
* @memberof DocumentTemplatesApiListDocTemplates
|
|
275
264
|
*/
|
|
276
|
-
readonly pageSize
|
|
265
|
+
readonly pageSize: number;
|
|
277
266
|
/**
|
|
278
267
|
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
279
268
|
* @type {string}
|
|
280
269
|
* @memberof DocumentTemplatesApiListDocTemplates
|
|
281
270
|
*/
|
|
282
|
-
readonly pageToken
|
|
271
|
+
readonly pageToken: string;
|
|
283
272
|
/**
|
|
284
273
|
* Filter response by productSlug, slug and name.
|
|
285
274
|
* @type {string}
|
|
286
275
|
* @memberof DocumentTemplatesApiListDocTemplates
|
|
287
276
|
*/
|
|
288
|
-
readonly filter
|
|
277
|
+
readonly filter: string;
|
|
289
278
|
/**
|
|
290
279
|
* Search document templates by name | slug
|
|
291
280
|
* @type {string}
|
|
292
281
|
* @memberof DocumentTemplatesApiListDocTemplates
|
|
293
282
|
*/
|
|
294
|
-
readonly search
|
|
283
|
+
readonly search: string;
|
|
295
284
|
/**
|
|
296
285
|
* Order response by createdAt.
|
|
297
286
|
* @type {string}
|
|
298
287
|
* @memberof DocumentTemplatesApiListDocTemplates
|
|
299
288
|
*/
|
|
300
|
-
readonly order
|
|
289
|
+
readonly order: string;
|
|
301
290
|
/**
|
|
302
291
|
* Expand response by bodyTemplate.
|
|
303
292
|
* @type {string}
|
|
304
293
|
* @memberof DocumentTemplatesApiListDocTemplates
|
|
305
294
|
*/
|
|
306
|
-
readonly expand
|
|
295
|
+
readonly expand: string;
|
|
296
|
+
/**
|
|
297
|
+
* Bearer Token
|
|
298
|
+
* @type {string}
|
|
299
|
+
* @memberof DocumentTemplatesApiListDocTemplates
|
|
300
|
+
*/
|
|
301
|
+
readonly authorization?: string;
|
|
307
302
|
}
|
|
308
303
|
/**
|
|
309
304
|
* Request parameters for updateDocTemplate operation in DocumentTemplatesApi.
|
|
@@ -345,7 +340,7 @@ export declare class DocumentTemplatesApi extends BaseAPI {
|
|
|
345
340
|
* @throws {RequiredError}
|
|
346
341
|
* @memberof DocumentTemplatesApi
|
|
347
342
|
*/
|
|
348
|
-
createDocTemplate(requestParameters: DocumentTemplatesApiCreateDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
343
|
+
createDocTemplate(requestParameters: DocumentTemplatesApiCreateDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
349
344
|
/**
|
|
350
345
|
* Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it.
|
|
351
346
|
* @summary Delete the document template
|
|
@@ -354,7 +349,7 @@ export declare class DocumentTemplatesApi extends BaseAPI {
|
|
|
354
349
|
* @throws {RequiredError}
|
|
355
350
|
* @memberof DocumentTemplatesApi
|
|
356
351
|
*/
|
|
357
|
-
deleteDocTemplate(requestParameters: DocumentTemplatesApiDeleteDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
352
|
+
deleteDocTemplate(requestParameters: DocumentTemplatesApiDeleteDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
358
353
|
/**
|
|
359
354
|
* 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.
|
|
360
355
|
* @summary Retrieve the document template
|
|
@@ -363,7 +358,7 @@ export declare class DocumentTemplatesApi extends BaseAPI {
|
|
|
363
358
|
* @throws {RequiredError}
|
|
364
359
|
* @memberof DocumentTemplatesApi
|
|
365
360
|
*/
|
|
366
|
-
getDocTemplate(requestParameters: DocumentTemplatesApiGetDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
361
|
+
getDocTemplate(requestParameters: DocumentTemplatesApiGetDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
367
362
|
/**
|
|
368
363
|
* 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.
|
|
369
364
|
* @summary List document templates
|
|
@@ -372,7 +367,7 @@ export declare class DocumentTemplatesApi extends BaseAPI {
|
|
|
372
367
|
* @throws {RequiredError}
|
|
373
368
|
* @memberof DocumentTemplatesApi
|
|
374
369
|
*/
|
|
375
|
-
listDocTemplates(requestParameters
|
|
370
|
+
listDocTemplates(requestParameters: DocumentTemplatesApiListDocTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
376
371
|
/**
|
|
377
372
|
* Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
378
373
|
* @summary Update the document template
|
|
@@ -381,5 +376,5 @@ export declare class DocumentTemplatesApi extends BaseAPI {
|
|
|
381
376
|
* @throws {RequiredError}
|
|
382
377
|
* @memberof DocumentTemplatesApi
|
|
383
378
|
*/
|
|
384
|
-
updateDocTemplate(requestParameters: DocumentTemplatesApiUpdateDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
379
|
+
updateDocTemplate(requestParameters: DocumentTemplatesApiUpdateDocTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
385
380
|
}
|
|
@@ -193,12 +193,12 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
193
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.
|
|
194
194
|
* @summary Retrieve the document template
|
|
195
195
|
* @param {number} id
|
|
196
|
+
* @param {string} expand Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
196
197
|
* @param {string} [authorization] Bearer Token
|
|
197
|
-
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
201
|
-
getDocTemplate: function (id,
|
|
201
|
+
getDocTemplate: function (id, expand, authorization, options) {
|
|
202
202
|
if (options === void 0) { options = {}; }
|
|
203
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -207,6 +207,8 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
case 0:
|
|
208
208
|
// verify required parameter 'id' is not null or undefined
|
|
209
209
|
(0, common_1.assertParamExists)('getDocTemplate', 'id', id);
|
|
210
|
+
// verify required parameter 'expand' is not null or undefined
|
|
211
|
+
(0, common_1.assertParamExists)('getDocTemplate', 'expand', expand);
|
|
210
212
|
localVarPath = "/documentservice/v1/doc-templates/{id}"
|
|
211
213
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
212
214
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -244,23 +246,35 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
244
246
|
/**
|
|
245
247
|
* 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.
|
|
246
248
|
* @summary List document templates
|
|
249
|
+
* @param {number} pageSize A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
250
|
+
* @param {string} pageToken A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
251
|
+
* @param {string} filter Filter response by productSlug, slug and name.
|
|
252
|
+
* @param {string} search Search document templates by name | slug
|
|
253
|
+
* @param {string} order Order response by createdAt.
|
|
254
|
+
* @param {string} expand Expand response by bodyTemplate.
|
|
247
255
|
* @param {string} [authorization] Bearer Token
|
|
248
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
249
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
250
|
-
* @param {string} [filter] Filter response by productSlug, slug and name.
|
|
251
|
-
* @param {string} [search] Search document templates by name | slug
|
|
252
|
-
* @param {string} [order] Order response by createdAt.
|
|
253
|
-
* @param {string} [expand] Expand response by bodyTemplate.
|
|
254
256
|
* @param {*} [options] Override http request option.
|
|
255
257
|
* @throws {RequiredError}
|
|
256
258
|
*/
|
|
257
|
-
listDocTemplates: function (
|
|
259
|
+
listDocTemplates: function (pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
258
260
|
if (options === void 0) { options = {}; }
|
|
259
261
|
return __awaiter(_this, void 0, void 0, function () {
|
|
260
262
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
261
263
|
return __generator(this, function (_a) {
|
|
262
264
|
switch (_a.label) {
|
|
263
265
|
case 0:
|
|
266
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
267
|
+
(0, common_1.assertParamExists)('listDocTemplates', 'pageSize', pageSize);
|
|
268
|
+
// verify required parameter 'pageToken' is not null or undefined
|
|
269
|
+
(0, common_1.assertParamExists)('listDocTemplates', 'pageToken', pageToken);
|
|
270
|
+
// verify required parameter 'filter' is not null or undefined
|
|
271
|
+
(0, common_1.assertParamExists)('listDocTemplates', 'filter', filter);
|
|
272
|
+
// verify required parameter 'search' is not null or undefined
|
|
273
|
+
(0, common_1.assertParamExists)('listDocTemplates', 'search', search);
|
|
274
|
+
// verify required parameter 'order' is not null or undefined
|
|
275
|
+
(0, common_1.assertParamExists)('listDocTemplates', 'order', order);
|
|
276
|
+
// verify required parameter 'expand' is not null or undefined
|
|
277
|
+
(0, common_1.assertParamExists)('listDocTemplates', 'expand', expand);
|
|
264
278
|
localVarPath = "/documentservice/v1/doc-templates";
|
|
265
279
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
266
280
|
if (configuration) {
|
|
@@ -418,17 +432,17 @@ var DocumentTemplatesApiFp = function (configuration) {
|
|
|
418
432
|
* 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.
|
|
419
433
|
* @summary Retrieve the document template
|
|
420
434
|
* @param {number} id
|
|
435
|
+
* @param {string} expand Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
421
436
|
* @param {string} [authorization] Bearer Token
|
|
422
|
-
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
423
437
|
* @param {*} [options] Override http request option.
|
|
424
438
|
* @throws {RequiredError}
|
|
425
439
|
*/
|
|
426
|
-
getDocTemplate: function (id,
|
|
440
|
+
getDocTemplate: function (id, expand, authorization, options) {
|
|
427
441
|
return __awaiter(this, void 0, void 0, function () {
|
|
428
442
|
var localVarAxiosArgs;
|
|
429
443
|
return __generator(this, function (_a) {
|
|
430
444
|
switch (_a.label) {
|
|
431
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDocTemplate(id,
|
|
445
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDocTemplate(id, expand, authorization, options)];
|
|
432
446
|
case 1:
|
|
433
447
|
localVarAxiosArgs = _a.sent();
|
|
434
448
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -439,22 +453,22 @@ var DocumentTemplatesApiFp = function (configuration) {
|
|
|
439
453
|
/**
|
|
440
454
|
* 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.
|
|
441
455
|
* @summary List document templates
|
|
456
|
+
* @param {number} pageSize A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
457
|
+
* @param {string} pageToken A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
458
|
+
* @param {string} filter Filter response by productSlug, slug and name.
|
|
459
|
+
* @param {string} search Search document templates by name | slug
|
|
460
|
+
* @param {string} order Order response by createdAt.
|
|
461
|
+
* @param {string} expand Expand response by bodyTemplate.
|
|
442
462
|
* @param {string} [authorization] Bearer Token
|
|
443
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
444
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
445
|
-
* @param {string} [filter] Filter response by productSlug, slug and name.
|
|
446
|
-
* @param {string} [search] Search document templates by name | slug
|
|
447
|
-
* @param {string} [order] Order response by createdAt.
|
|
448
|
-
* @param {string} [expand] Expand response by bodyTemplate.
|
|
449
463
|
* @param {*} [options] Override http request option.
|
|
450
464
|
* @throws {RequiredError}
|
|
451
465
|
*/
|
|
452
|
-
listDocTemplates: function (
|
|
466
|
+
listDocTemplates: function (pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
453
467
|
return __awaiter(this, void 0, void 0, function () {
|
|
454
468
|
var localVarAxiosArgs;
|
|
455
469
|
return __generator(this, function (_a) {
|
|
456
470
|
switch (_a.label) {
|
|
457
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocTemplates(
|
|
471
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocTemplates(pageSize, pageToken, filter, search, order, expand, authorization, options)];
|
|
458
472
|
case 1:
|
|
459
473
|
localVarAxiosArgs = _a.sent();
|
|
460
474
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -520,29 +534,29 @@ var DocumentTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
520
534
|
* 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.
|
|
521
535
|
* @summary Retrieve the document template
|
|
522
536
|
* @param {number} id
|
|
537
|
+
* @param {string} expand Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
523
538
|
* @param {string} [authorization] Bearer Token
|
|
524
|
-
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
525
539
|
* @param {*} [options] Override http request option.
|
|
526
540
|
* @throws {RequiredError}
|
|
527
541
|
*/
|
|
528
|
-
getDocTemplate: function (id,
|
|
529
|
-
return localVarFp.getDocTemplate(id,
|
|
542
|
+
getDocTemplate: function (id, expand, authorization, options) {
|
|
543
|
+
return localVarFp.getDocTemplate(id, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
530
544
|
},
|
|
531
545
|
/**
|
|
532
546
|
* 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.
|
|
533
547
|
* @summary List document templates
|
|
548
|
+
* @param {number} pageSize A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
549
|
+
* @param {string} pageToken A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
550
|
+
* @param {string} filter Filter response by productSlug, slug and name.
|
|
551
|
+
* @param {string} search Search document templates by name | slug
|
|
552
|
+
* @param {string} order Order response by createdAt.
|
|
553
|
+
* @param {string} expand Expand response by bodyTemplate.
|
|
534
554
|
* @param {string} [authorization] Bearer Token
|
|
535
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
536
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
537
|
-
* @param {string} [filter] Filter response by productSlug, slug and name.
|
|
538
|
-
* @param {string} [search] Search document templates by name | slug
|
|
539
|
-
* @param {string} [order] Order response by createdAt.
|
|
540
|
-
* @param {string} [expand] Expand response by bodyTemplate.
|
|
541
555
|
* @param {*} [options] Override http request option.
|
|
542
556
|
* @throws {RequiredError}
|
|
543
557
|
*/
|
|
544
|
-
listDocTemplates: function (
|
|
545
|
-
return localVarFp.listDocTemplates(
|
|
558
|
+
listDocTemplates: function (pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
559
|
+
return localVarFp.listDocTemplates(pageSize, pageToken, filter, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
546
560
|
},
|
|
547
561
|
/**
|
|
548
562
|
* Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -604,7 +618,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
|
|
|
604
618
|
*/
|
|
605
619
|
DocumentTemplatesApi.prototype.getDocTemplate = function (requestParameters, options) {
|
|
606
620
|
var _this = this;
|
|
607
|
-
return (0, exports.DocumentTemplatesApiFp)(this.configuration).getDocTemplate(requestParameters.id, requestParameters.
|
|
621
|
+
return (0, exports.DocumentTemplatesApiFp)(this.configuration).getDocTemplate(requestParameters.id, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
608
622
|
};
|
|
609
623
|
/**
|
|
610
624
|
* 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.
|
|
@@ -616,8 +630,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
|
|
|
616
630
|
*/
|
|
617
631
|
DocumentTemplatesApi.prototype.listDocTemplates = function (requestParameters, options) {
|
|
618
632
|
var _this = this;
|
|
619
|
-
|
|
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); });
|
|
633
|
+
return (0, exports.DocumentTemplatesApiFp)(this.configuration).listDocTemplates(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
621
634
|
};
|
|
622
635
|
/**
|
|
623
636
|
* Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|