@emilgroup/document-sdk 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/api/docx-templates-api.ts +760 -0
- package/api.ts +2 -0
- package/dist/api/docx-templates-api.d.ts +428 -0
- package/dist/api/docx-templates-api.js +722 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/get-docx-template-download-url-response-class.d.ts +24 -0
- package/dist/models/get-docx-template-download-url-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/shared-update-docx-template-request-dto.d.ts +36 -0
- package/dist/models/shared-update-docx-template-request-dto.js +15 -0
- package/dist/models/upload-docx-template-request-dto.d.ts +54 -0
- package/dist/models/upload-docx-template-request-dto.js +15 -0
- package/models/get-docx-template-download-url-response-class.ts +30 -0
- package/models/index.ts +3 -0
- package/models/shared-update-docx-template-request-dto.ts +42 -0
- package/models/upload-docx-template-request-dto.ts +60 -0
- package/package.json +1 -1
|
@@ -0,0 +1,760 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { DeleteResponseClass } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { GetDocxTemplateDownloadUrlResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { SharedUpdateDocxTemplateRequestDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UploadDocxTemplateRequestDto } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* DocxTemplatesApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
|
|
39
|
+
* @summary Delete the docx template
|
|
40
|
+
* @param {string} code
|
|
41
|
+
* @param {string} [authorization] Bearer Token
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
deleteDocxTemplate: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'code' is not null or undefined
|
|
47
|
+
assertParamExists('deleteDocxTemplate', 'code', code)
|
|
48
|
+
const localVarPath = `/documentservice/v1/docx-templates/{code}`
|
|
49
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
let baseAccessToken;
|
|
54
|
+
if (configuration) {
|
|
55
|
+
baseOptions = configuration.baseOptions;
|
|
56
|
+
baseAccessToken = configuration.accessToken;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
60
|
+
const localVarHeaderParameter = {} as any;
|
|
61
|
+
const localVarQueryParameter = {} as any;
|
|
62
|
+
|
|
63
|
+
// authentication bearer required
|
|
64
|
+
// http bearer authentication required
|
|
65
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66
|
+
|
|
67
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
68
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
url: toPathString(localVarUrlObj),
|
|
79
|
+
options: localVarRequestOptions,
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* Get a pre-signed download url for the given docx template.
|
|
84
|
+
* @summary Get pre-signed url for downloading docx template
|
|
85
|
+
* @param {string} code
|
|
86
|
+
* @param {string} [authorization] Bearer Token
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
downloadDocxTemplate: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91
|
+
// verify required parameter 'code' is not null or undefined
|
|
92
|
+
assertParamExists('downloadDocxTemplate', 'code', code)
|
|
93
|
+
const localVarPath = `/documentservice/v1/docx-templates/{code}/download-url`
|
|
94
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
95
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
96
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
97
|
+
let baseOptions;
|
|
98
|
+
let baseAccessToken;
|
|
99
|
+
if (configuration) {
|
|
100
|
+
baseOptions = configuration.baseOptions;
|
|
101
|
+
baseAccessToken = configuration.accessToken;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
105
|
+
const localVarHeaderParameter = {} as any;
|
|
106
|
+
const localVarQueryParameter = {} as any;
|
|
107
|
+
|
|
108
|
+
// authentication bearer required
|
|
109
|
+
// http bearer authentication required
|
|
110
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
111
|
+
|
|
112
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
113
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
119
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
121
|
+
|
|
122
|
+
return {
|
|
123
|
+
url: toPathString(localVarUrlObj),
|
|
124
|
+
options: localVarRequestOptions,
|
|
125
|
+
};
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
* Get a docx template.
|
|
129
|
+
* @summary Retrieve the docx template
|
|
130
|
+
* @param {string} code
|
|
131
|
+
* @param {string} [authorization] Bearer Token
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
getDocxTemplate: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
136
|
+
// verify required parameter 'code' is not null or undefined
|
|
137
|
+
assertParamExists('getDocxTemplate', 'code', code)
|
|
138
|
+
const localVarPath = `/documentservice/v1/docx-templates/{code}`
|
|
139
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
140
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
141
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
142
|
+
let baseOptions;
|
|
143
|
+
let baseAccessToken;
|
|
144
|
+
if (configuration) {
|
|
145
|
+
baseOptions = configuration.baseOptions;
|
|
146
|
+
baseAccessToken = configuration.accessToken;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
150
|
+
const localVarHeaderParameter = {} as any;
|
|
151
|
+
const localVarQueryParameter = {} as any;
|
|
152
|
+
|
|
153
|
+
// authentication bearer required
|
|
154
|
+
// http bearer authentication required
|
|
155
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
156
|
+
|
|
157
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
158
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
165
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
166
|
+
|
|
167
|
+
return {
|
|
168
|
+
url: toPathString(localVarUrlObj),
|
|
169
|
+
options: localVarRequestOptions,
|
|
170
|
+
};
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
* Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
174
|
+
* @summary List docx templates
|
|
175
|
+
* @param {string} [authorization] Bearer Token
|
|
176
|
+
* @param {number} [pageSize] Page size
|
|
177
|
+
* @param {string} [pageToken] Page token
|
|
178
|
+
* @param {string} [filter] List filter
|
|
179
|
+
* @param {string} [search] Search query
|
|
180
|
+
* @param {string} [order] Ordering criteria
|
|
181
|
+
* @param {string} [expand] Extra fields to fetch
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
listDocxTemplates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
186
|
+
const localVarPath = `/documentservice/v1/docx-templates`;
|
|
187
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
188
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
189
|
+
let baseOptions;
|
|
190
|
+
let baseAccessToken;
|
|
191
|
+
if (configuration) {
|
|
192
|
+
baseOptions = configuration.baseOptions;
|
|
193
|
+
baseAccessToken = configuration.accessToken;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
197
|
+
const localVarHeaderParameter = {} as any;
|
|
198
|
+
const localVarQueryParameter = {} as any;
|
|
199
|
+
|
|
200
|
+
// authentication bearer required
|
|
201
|
+
// http bearer authentication required
|
|
202
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
203
|
+
|
|
204
|
+
if (pageSize !== undefined) {
|
|
205
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
if (pageToken !== undefined) {
|
|
209
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
if (filter !== undefined) {
|
|
213
|
+
localVarQueryParameter['filter'] = filter;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
if (search !== undefined) {
|
|
217
|
+
localVarQueryParameter['search'] = search;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
if (order !== undefined) {
|
|
221
|
+
localVarQueryParameter['order'] = order;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
if (expand !== undefined) {
|
|
225
|
+
localVarQueryParameter['expand'] = expand;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
229
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
235
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
237
|
+
|
|
238
|
+
return {
|
|
239
|
+
url: toPathString(localVarUrlObj),
|
|
240
|
+
options: localVarRequestOptions,
|
|
241
|
+
};
|
|
242
|
+
},
|
|
243
|
+
/**
|
|
244
|
+
* Updates a docx template metadata.
|
|
245
|
+
* @summary Update the docx template
|
|
246
|
+
* @param {string} code
|
|
247
|
+
* @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
|
|
248
|
+
* @param {string} [authorization] Bearer Token
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
updateDocxTemplate: async (code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
253
|
+
// verify required parameter 'code' is not null or undefined
|
|
254
|
+
assertParamExists('updateDocxTemplate', 'code', code)
|
|
255
|
+
// verify required parameter 'sharedUpdateDocxTemplateRequestDto' is not null or undefined
|
|
256
|
+
assertParamExists('updateDocxTemplate', 'sharedUpdateDocxTemplateRequestDto', sharedUpdateDocxTemplateRequestDto)
|
|
257
|
+
const localVarPath = `/documentservice/v1/docx-templates/{code}`
|
|
258
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
259
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
260
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
261
|
+
let baseOptions;
|
|
262
|
+
let baseAccessToken;
|
|
263
|
+
if (configuration) {
|
|
264
|
+
baseOptions = configuration.baseOptions;
|
|
265
|
+
baseAccessToken = configuration.accessToken;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
269
|
+
const localVarHeaderParameter = {} as any;
|
|
270
|
+
const localVarQueryParameter = {} as any;
|
|
271
|
+
|
|
272
|
+
// authentication bearer required
|
|
273
|
+
// http bearer authentication required
|
|
274
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
275
|
+
|
|
276
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
277
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
283
|
+
|
|
284
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
285
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
286
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
287
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sharedUpdateDocxTemplateRequestDto, localVarRequestOptions, configuration)
|
|
288
|
+
|
|
289
|
+
return {
|
|
290
|
+
url: toPathString(localVarUrlObj),
|
|
291
|
+
options: localVarRequestOptions,
|
|
292
|
+
};
|
|
293
|
+
},
|
|
294
|
+
/**
|
|
295
|
+
* Upload a docx template via a presigned Url.
|
|
296
|
+
* @summary Upload a docx template.
|
|
297
|
+
* @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
|
|
298
|
+
* @param {string} [authorization] Bearer Token
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
uploadDocxTemplate: async (uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
303
|
+
// verify required parameter 'uploadDocxTemplateRequestDto' is not null or undefined
|
|
304
|
+
assertParamExists('uploadDocxTemplate', 'uploadDocxTemplateRequestDto', uploadDocxTemplateRequestDto)
|
|
305
|
+
const localVarPath = `/documentservice/v1/docx-templates`;
|
|
306
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
307
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
308
|
+
let baseOptions;
|
|
309
|
+
let baseAccessToken;
|
|
310
|
+
if (configuration) {
|
|
311
|
+
baseOptions = configuration.baseOptions;
|
|
312
|
+
baseAccessToken = configuration.accessToken;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
316
|
+
const localVarHeaderParameter = {} as any;
|
|
317
|
+
const localVarQueryParameter = {} as any;
|
|
318
|
+
|
|
319
|
+
// authentication bearer required
|
|
320
|
+
// http bearer authentication required
|
|
321
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
322
|
+
|
|
323
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
324
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
330
|
+
|
|
331
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
332
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
333
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
334
|
+
localVarRequestOptions.data = serializeDataIfNeeded(uploadDocxTemplateRequestDto, localVarRequestOptions, configuration)
|
|
335
|
+
|
|
336
|
+
return {
|
|
337
|
+
url: toPathString(localVarUrlObj),
|
|
338
|
+
options: localVarRequestOptions,
|
|
339
|
+
};
|
|
340
|
+
},
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* DocxTemplatesApi - functional programming interface
|
|
346
|
+
* @export
|
|
347
|
+
*/
|
|
348
|
+
export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
349
|
+
const localVarAxiosParamCreator = DocxTemplatesApiAxiosParamCreator(configuration)
|
|
350
|
+
return {
|
|
351
|
+
/**
|
|
352
|
+
* Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
|
|
353
|
+
* @summary Delete the docx template
|
|
354
|
+
* @param {string} code
|
|
355
|
+
* @param {string} [authorization] Bearer Token
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
async deleteDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDocxTemplate(code, authorization, options);
|
|
361
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
362
|
+
},
|
|
363
|
+
/**
|
|
364
|
+
* Get a pre-signed download url for the given docx template.
|
|
365
|
+
* @summary Get pre-signed url for downloading docx template
|
|
366
|
+
* @param {string} code
|
|
367
|
+
* @param {string} [authorization] Bearer Token
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
async downloadDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocxTemplateDownloadUrlResponseClass>> {
|
|
372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadDocxTemplate(code, authorization, options);
|
|
373
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
|
+
},
|
|
375
|
+
/**
|
|
376
|
+
* Get a docx template.
|
|
377
|
+
* @summary Retrieve the docx template
|
|
378
|
+
* @param {string} code
|
|
379
|
+
* @param {string} [authorization] Bearer Token
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
*/
|
|
383
|
+
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocxTemplate(code, authorization, options);
|
|
385
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
386
|
+
},
|
|
387
|
+
/**
|
|
388
|
+
* Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
389
|
+
* @summary List docx templates
|
|
390
|
+
* @param {string} [authorization] Bearer Token
|
|
391
|
+
* @param {number} [pageSize] Page size
|
|
392
|
+
* @param {string} [pageToken] Page token
|
|
393
|
+
* @param {string} [filter] List filter
|
|
394
|
+
* @param {string} [search] Search query
|
|
395
|
+
* @param {string} [order] Ordering criteria
|
|
396
|
+
* @param {string} [expand] Extra fields to fetch
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
*/
|
|
400
|
+
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
402
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
403
|
+
},
|
|
404
|
+
/**
|
|
405
|
+
* Updates a docx template metadata.
|
|
406
|
+
* @summary Update the docx template
|
|
407
|
+
* @param {string} code
|
|
408
|
+
* @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
|
|
409
|
+
* @param {string} [authorization] Bearer Token
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
414
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options);
|
|
415
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
416
|
+
},
|
|
417
|
+
/**
|
|
418
|
+
* Upload a docx template via a presigned Url.
|
|
419
|
+
* @summary Upload a docx template.
|
|
420
|
+
* @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
|
|
421
|
+
* @param {string} [authorization] Bearer Token
|
|
422
|
+
* @param {*} [options] Override http request option.
|
|
423
|
+
* @throws {RequiredError}
|
|
424
|
+
*/
|
|
425
|
+
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
426
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options);
|
|
427
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
428
|
+
},
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* DocxTemplatesApi - factory interface
|
|
434
|
+
* @export
|
|
435
|
+
*/
|
|
436
|
+
export const DocxTemplatesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
437
|
+
const localVarFp = DocxTemplatesApiFp(configuration)
|
|
438
|
+
return {
|
|
439
|
+
/**
|
|
440
|
+
* Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
|
|
441
|
+
* @summary Delete the docx template
|
|
442
|
+
* @param {string} code
|
|
443
|
+
* @param {string} [authorization] Bearer Token
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
*/
|
|
447
|
+
deleteDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
448
|
+
return localVarFp.deleteDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
449
|
+
},
|
|
450
|
+
/**
|
|
451
|
+
* Get a pre-signed download url for the given docx template.
|
|
452
|
+
* @summary Get pre-signed url for downloading docx template
|
|
453
|
+
* @param {string} code
|
|
454
|
+
* @param {string} [authorization] Bearer Token
|
|
455
|
+
* @param {*} [options] Override http request option.
|
|
456
|
+
* @throws {RequiredError}
|
|
457
|
+
*/
|
|
458
|
+
downloadDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<GetDocxTemplateDownloadUrlResponseClass> {
|
|
459
|
+
return localVarFp.downloadDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
460
|
+
},
|
|
461
|
+
/**
|
|
462
|
+
* Get a docx template.
|
|
463
|
+
* @summary Retrieve the docx template
|
|
464
|
+
* @param {string} code
|
|
465
|
+
* @param {string} [authorization] Bearer Token
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<object> {
|
|
470
|
+
return localVarFp.getDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
471
|
+
},
|
|
472
|
+
/**
|
|
473
|
+
* Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
474
|
+
* @summary List docx templates
|
|
475
|
+
* @param {string} [authorization] Bearer Token
|
|
476
|
+
* @param {number} [pageSize] Page size
|
|
477
|
+
* @param {string} [pageToken] Page token
|
|
478
|
+
* @param {string} [filter] List filter
|
|
479
|
+
* @param {string} [search] Search query
|
|
480
|
+
* @param {string} [order] Ordering criteria
|
|
481
|
+
* @param {string} [expand] Extra fields to fetch
|
|
482
|
+
* @param {*} [options] Override http request option.
|
|
483
|
+
* @throws {RequiredError}
|
|
484
|
+
*/
|
|
485
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<object> {
|
|
486
|
+
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
487
|
+
},
|
|
488
|
+
/**
|
|
489
|
+
* Updates a docx template metadata.
|
|
490
|
+
* @summary Update the docx template
|
|
491
|
+
* @param {string} code
|
|
492
|
+
* @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
|
|
493
|
+
* @param {string} [authorization] Bearer Token
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
*/
|
|
497
|
+
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
|
|
498
|
+
return localVarFp.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
499
|
+
},
|
|
500
|
+
/**
|
|
501
|
+
* Upload a docx template via a presigned Url.
|
|
502
|
+
* @summary Upload a docx template.
|
|
503
|
+
* @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
|
|
504
|
+
* @param {string} [authorization] Bearer Token
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
|
|
509
|
+
return localVarFp.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
510
|
+
},
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Request parameters for deleteDocxTemplate operation in DocxTemplatesApi.
|
|
516
|
+
* @export
|
|
517
|
+
* @interface DocxTemplatesApiDeleteDocxTemplateRequest
|
|
518
|
+
*/
|
|
519
|
+
export interface DocxTemplatesApiDeleteDocxTemplateRequest {
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {string}
|
|
523
|
+
* @memberof DocxTemplatesApiDeleteDocxTemplate
|
|
524
|
+
*/
|
|
525
|
+
readonly code: string
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Bearer Token
|
|
529
|
+
* @type {string}
|
|
530
|
+
* @memberof DocxTemplatesApiDeleteDocxTemplate
|
|
531
|
+
*/
|
|
532
|
+
readonly authorization?: string
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Request parameters for downloadDocxTemplate operation in DocxTemplatesApi.
|
|
537
|
+
* @export
|
|
538
|
+
* @interface DocxTemplatesApiDownloadDocxTemplateRequest
|
|
539
|
+
*/
|
|
540
|
+
export interface DocxTemplatesApiDownloadDocxTemplateRequest {
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type {string}
|
|
544
|
+
* @memberof DocxTemplatesApiDownloadDocxTemplate
|
|
545
|
+
*/
|
|
546
|
+
readonly code: string
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Bearer Token
|
|
550
|
+
* @type {string}
|
|
551
|
+
* @memberof DocxTemplatesApiDownloadDocxTemplate
|
|
552
|
+
*/
|
|
553
|
+
readonly authorization?: string
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Request parameters for getDocxTemplate operation in DocxTemplatesApi.
|
|
558
|
+
* @export
|
|
559
|
+
* @interface DocxTemplatesApiGetDocxTemplateRequest
|
|
560
|
+
*/
|
|
561
|
+
export interface DocxTemplatesApiGetDocxTemplateRequest {
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof DocxTemplatesApiGetDocxTemplate
|
|
566
|
+
*/
|
|
567
|
+
readonly code: string
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Bearer Token
|
|
571
|
+
* @type {string}
|
|
572
|
+
* @memberof DocxTemplatesApiGetDocxTemplate
|
|
573
|
+
*/
|
|
574
|
+
readonly authorization?: string
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Request parameters for listDocxTemplates operation in DocxTemplatesApi.
|
|
579
|
+
* @export
|
|
580
|
+
* @interface DocxTemplatesApiListDocxTemplatesRequest
|
|
581
|
+
*/
|
|
582
|
+
export interface DocxTemplatesApiListDocxTemplatesRequest {
|
|
583
|
+
/**
|
|
584
|
+
* Bearer Token
|
|
585
|
+
* @type {string}
|
|
586
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
587
|
+
*/
|
|
588
|
+
readonly authorization?: string
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Page size
|
|
592
|
+
* @type {number}
|
|
593
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
594
|
+
*/
|
|
595
|
+
readonly pageSize?: number
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Page token
|
|
599
|
+
* @type {string}
|
|
600
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
601
|
+
*/
|
|
602
|
+
readonly pageToken?: string
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* List filter
|
|
606
|
+
* @type {string}
|
|
607
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
608
|
+
*/
|
|
609
|
+
readonly filter?: string
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Search query
|
|
613
|
+
* @type {string}
|
|
614
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
615
|
+
*/
|
|
616
|
+
readonly search?: string
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Ordering criteria
|
|
620
|
+
* @type {string}
|
|
621
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
622
|
+
*/
|
|
623
|
+
readonly order?: string
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Extra fields to fetch
|
|
627
|
+
* @type {string}
|
|
628
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
629
|
+
*/
|
|
630
|
+
readonly expand?: string
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Request parameters for updateDocxTemplate operation in DocxTemplatesApi.
|
|
635
|
+
* @export
|
|
636
|
+
* @interface DocxTemplatesApiUpdateDocxTemplateRequest
|
|
637
|
+
*/
|
|
638
|
+
export interface DocxTemplatesApiUpdateDocxTemplateRequest {
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @type {string}
|
|
642
|
+
* @memberof DocxTemplatesApiUpdateDocxTemplate
|
|
643
|
+
*/
|
|
644
|
+
readonly code: string
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @type {SharedUpdateDocxTemplateRequestDto}
|
|
649
|
+
* @memberof DocxTemplatesApiUpdateDocxTemplate
|
|
650
|
+
*/
|
|
651
|
+
readonly sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Bearer Token
|
|
655
|
+
* @type {string}
|
|
656
|
+
* @memberof DocxTemplatesApiUpdateDocxTemplate
|
|
657
|
+
*/
|
|
658
|
+
readonly authorization?: string
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Request parameters for uploadDocxTemplate operation in DocxTemplatesApi.
|
|
663
|
+
* @export
|
|
664
|
+
* @interface DocxTemplatesApiUploadDocxTemplateRequest
|
|
665
|
+
*/
|
|
666
|
+
export interface DocxTemplatesApiUploadDocxTemplateRequest {
|
|
667
|
+
/**
|
|
668
|
+
*
|
|
669
|
+
* @type {UploadDocxTemplateRequestDto}
|
|
670
|
+
* @memberof DocxTemplatesApiUploadDocxTemplate
|
|
671
|
+
*/
|
|
672
|
+
readonly uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Bearer Token
|
|
676
|
+
* @type {string}
|
|
677
|
+
* @memberof DocxTemplatesApiUploadDocxTemplate
|
|
678
|
+
*/
|
|
679
|
+
readonly authorization?: string
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* DocxTemplatesApi - object-oriented interface
|
|
684
|
+
* @export
|
|
685
|
+
* @class DocxTemplatesApi
|
|
686
|
+
* @extends {BaseAPI}
|
|
687
|
+
*/
|
|
688
|
+
export class DocxTemplatesApi extends BaseAPI {
|
|
689
|
+
/**
|
|
690
|
+
* Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
|
|
691
|
+
* @summary Delete the docx template
|
|
692
|
+
* @param {DocxTemplatesApiDeleteDocxTemplateRequest} requestParameters Request parameters.
|
|
693
|
+
* @param {*} [options] Override http request option.
|
|
694
|
+
* @throws {RequiredError}
|
|
695
|
+
* @memberof DocxTemplatesApi
|
|
696
|
+
*/
|
|
697
|
+
public deleteDocxTemplate(requestParameters: DocxTemplatesApiDeleteDocxTemplateRequest, options?: AxiosRequestConfig) {
|
|
698
|
+
return DocxTemplatesApiFp(this.configuration).deleteDocxTemplate(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Get a pre-signed download url for the given docx template.
|
|
703
|
+
* @summary Get pre-signed url for downloading docx template
|
|
704
|
+
* @param {DocxTemplatesApiDownloadDocxTemplateRequest} requestParameters Request parameters.
|
|
705
|
+
* @param {*} [options] Override http request option.
|
|
706
|
+
* @throws {RequiredError}
|
|
707
|
+
* @memberof DocxTemplatesApi
|
|
708
|
+
*/
|
|
709
|
+
public downloadDocxTemplate(requestParameters: DocxTemplatesApiDownloadDocxTemplateRequest, options?: AxiosRequestConfig) {
|
|
710
|
+
return DocxTemplatesApiFp(this.configuration).downloadDocxTemplate(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Get a docx template.
|
|
715
|
+
* @summary Retrieve the docx template
|
|
716
|
+
* @param {DocxTemplatesApiGetDocxTemplateRequest} requestParameters Request parameters.
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
* @memberof DocxTemplatesApi
|
|
720
|
+
*/
|
|
721
|
+
public getDocxTemplate(requestParameters: DocxTemplatesApiGetDocxTemplateRequest, options?: AxiosRequestConfig) {
|
|
722
|
+
return DocxTemplatesApiFp(this.configuration).getDocxTemplate(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
727
|
+
* @summary List docx templates
|
|
728
|
+
* @param {DocxTemplatesApiListDocxTemplatesRequest} requestParameters Request parameters.
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
* @memberof DocxTemplatesApi
|
|
732
|
+
*/
|
|
733
|
+
public listDocxTemplates(requestParameters: DocxTemplatesApiListDocxTemplatesRequest = {}, options?: AxiosRequestConfig) {
|
|
734
|
+
return DocxTemplatesApiFp(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Updates a docx template metadata.
|
|
739
|
+
* @summary Update the docx template
|
|
740
|
+
* @param {DocxTemplatesApiUpdateDocxTemplateRequest} requestParameters Request parameters.
|
|
741
|
+
* @param {*} [options] Override http request option.
|
|
742
|
+
* @throws {RequiredError}
|
|
743
|
+
* @memberof DocxTemplatesApi
|
|
744
|
+
*/
|
|
745
|
+
public updateDocxTemplate(requestParameters: DocxTemplatesApiUpdateDocxTemplateRequest, options?: AxiosRequestConfig) {
|
|
746
|
+
return DocxTemplatesApiFp(this.configuration).updateDocxTemplate(requestParameters.code, requestParameters.sharedUpdateDocxTemplateRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Upload a docx template via a presigned Url.
|
|
751
|
+
* @summary Upload a docx template.
|
|
752
|
+
* @param {DocxTemplatesApiUploadDocxTemplateRequest} requestParameters Request parameters.
|
|
753
|
+
* @param {*} [options] Override http request option.
|
|
754
|
+
* @throws {RequiredError}
|
|
755
|
+
* @memberof DocxTemplatesApi
|
|
756
|
+
*/
|
|
757
|
+
public uploadDocxTemplate(requestParameters: DocxTemplatesApiUploadDocxTemplateRequest, options?: AxiosRequestConfig) {
|
|
758
|
+
return DocxTemplatesApiFp(this.configuration).uploadDocxTemplate(requestParameters.uploadDocxTemplateRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
759
|
+
}
|
|
760
|
+
}
|