@emilgroup/document-sdk-node 1.49.1-beta.22 → 1.49.1-beta.26
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 -10
- package/api/documents-api.ts +44 -22
- package/api/docx-templates-api.ts +24 -12
- package/api/layouts-api.ts +20 -10
- package/api/product-documents-api.ts +24 -12
- package/api/search-keywords-api.ts +4 -2
- package/api/searchable-document-owners-api.ts +4 -2
- package/api/searchable-documents-api.ts +4 -2
- package/common.ts +3 -2
- package/dist/api/document-templates-api.d.ts +5 -5
- package/dist/api/document-templates-api.js +29 -18
- package/dist/api/documents-api.d.ts +11 -11
- package/dist/api/documents-api.js +68 -41
- package/dist/api/docx-templates-api.d.ts +6 -6
- package/dist/api/docx-templates-api.js +39 -23
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/layouts-api.js +29 -18
- package/dist/api/product-documents-api.d.ts +6 -6
- package/dist/api/product-documents-api.js +33 -21
- package/dist/api/search-keywords-api.d.ts +1 -1
- package/dist/api/search-keywords-api.js +4 -3
- package/dist/api/searchable-document-owners-api.d.ts +1 -1
- package/dist/api/searchable-document-owners-api.js +4 -3
- package/dist/api/searchable-documents-api.d.ts +1 -1
- package/dist/api/searchable-documents-api.js +4 -3
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/package.json +2 -2
|
@@ -107,7 +107,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createDocTemplate: function (createDocTemplateRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deleteDocTemplate: function (id, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -205,7 +211,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
205
211
|
getDocTemplate: function (id, authorization, expand, options) {
|
|
206
212
|
if (options === void 0) { options = {}; }
|
|
207
213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
209
215
|
return __generator(this, function (_a) {
|
|
210
216
|
switch (_a.label) {
|
|
211
217
|
case 0:
|
|
@@ -231,8 +237,9 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
231
237
|
if (expand !== undefined) {
|
|
232
238
|
localVarQueryParameter['expand'] = expand;
|
|
233
239
|
}
|
|
234
|
-
|
|
235
|
-
|
|
240
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
241
|
+
if (authorizationValue) {
|
|
242
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
243
|
}
|
|
237
244
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
238
245
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -261,7 +268,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
261
268
|
listDocTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
262
269
|
if (options === void 0) { options = {}; }
|
|
263
270
|
return __awaiter(_this, void 0, void 0, function () {
|
|
264
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
271
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
265
272
|
return __generator(this, function (_a) {
|
|
266
273
|
switch (_a.label) {
|
|
267
274
|
case 0:
|
|
@@ -299,8 +306,9 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
299
306
|
if (expand !== undefined) {
|
|
300
307
|
localVarQueryParameter['expand'] = expand;
|
|
301
308
|
}
|
|
302
|
-
|
|
303
|
-
|
|
309
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
310
|
+
if (authorizationValue) {
|
|
311
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
304
312
|
}
|
|
305
313
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
306
314
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -325,7 +333,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
325
333
|
updateDocTemplate: function (id, updateDocTemplateRequestDto, authorization, options) {
|
|
326
334
|
if (options === void 0) { options = {}; }
|
|
327
335
|
return __awaiter(_this, void 0, void 0, function () {
|
|
328
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
336
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
329
337
|
return __generator(this, function (_a) {
|
|
330
338
|
switch (_a.label) {
|
|
331
339
|
case 0:
|
|
@@ -345,13 +353,16 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
345
353
|
localVarQueryParameter = {};
|
|
346
354
|
// authentication bearer required
|
|
347
355
|
// http bearer authentication required
|
|
348
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
356
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
357
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
358
|
+
];
|
|
349
359
|
case 1:
|
|
350
360
|
// authentication bearer required
|
|
351
361
|
// http bearer authentication required
|
|
352
362
|
_a.sent();
|
|
353
|
-
|
|
354
|
-
|
|
363
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
364
|
+
if (authorizationValue) {
|
|
365
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
355
366
|
}
|
|
356
367
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
368
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -658,7 +658,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
658
658
|
* @throws {RequiredError}
|
|
659
659
|
* @memberof DocumentsApi
|
|
660
660
|
*/
|
|
661
|
-
createDocument(requestParameters: DocumentsApiCreateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDocumentSyncResponseClass, any, {}>>;
|
|
661
|
+
createDocument(requestParameters: DocumentsApiCreateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDocumentSyncResponseClass, any, {}, any>>;
|
|
662
662
|
/**
|
|
663
663
|
* This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days. **Required Permissions** \"document-management.documents.create\"
|
|
664
664
|
* @summary Upload documents using pre-signed URL
|
|
@@ -667,7 +667,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
667
667
|
* @throws {RequiredError}
|
|
668
668
|
* @memberof DocumentsApi
|
|
669
669
|
*/
|
|
670
|
-
createPresignedPost(requestParameters: DocumentsApiCreatePresignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
|
|
670
|
+
createPresignedPost(requestParameters: DocumentsApiCreatePresignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}, any>>;
|
|
671
671
|
/**
|
|
672
672
|
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
673
673
|
* @summary Create the QR bill document
|
|
@@ -676,7 +676,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
676
676
|
* @throws {RequiredError}
|
|
677
677
|
* @memberof DocumentsApi
|
|
678
678
|
*/
|
|
679
|
-
createQrBillDocument(requestParameters: DocumentsApiCreateQrBillDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateQrBillDocumentResponseClass, any, {}>>;
|
|
679
|
+
createQrBillDocument(requestParameters: DocumentsApiCreateQrBillDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateQrBillDocumentResponseClass, any, {}, any>>;
|
|
680
680
|
/**
|
|
681
681
|
* Permanently deletes the document. Supply the unique code that was returned when you created the document and this will delete it. **Required Permissions** \"document-management.documents.delete\"
|
|
682
682
|
* @summary Delete the document
|
|
@@ -685,7 +685,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
685
685
|
* @throws {RequiredError}
|
|
686
686
|
* @memberof DocumentsApi
|
|
687
687
|
*/
|
|
688
|
-
deleteDocument(requestParameters: DocumentsApiDeleteDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
688
|
+
deleteDocument(requestParameters: DocumentsApiDeleteDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}, any>>;
|
|
689
689
|
/**
|
|
690
690
|
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
691
691
|
* @summary Export internal document
|
|
@@ -694,7 +694,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
694
694
|
* @throws {RequiredError}
|
|
695
695
|
* @memberof DocumentsApi
|
|
696
696
|
*/
|
|
697
|
-
exportDocument(requestParameters: DocumentsApiExportDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportDocumentResponseClass, any, {}>>;
|
|
697
|
+
exportDocument(requestParameters: DocumentsApiExportDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportDocumentResponseClass, any, {}, any>>;
|
|
698
698
|
/**
|
|
699
699
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
700
700
|
* @summary Fetches a document download URL
|
|
@@ -703,7 +703,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
703
703
|
* @throws {RequiredError}
|
|
704
704
|
* @memberof DocumentsApi
|
|
705
705
|
*/
|
|
706
|
-
getDocumentDownloadUrl(requestParameters: DocumentsApiGetDocumentDownloadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocumentDownloadUrlResponseClass, any, {}>>;
|
|
706
|
+
getDocumentDownloadUrl(requestParameters: DocumentsApiGetDocumentDownloadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocumentDownloadUrlResponseClass, any, {}, any>>;
|
|
707
707
|
/**
|
|
708
708
|
* This will return a presigned URL for a random S3 key
|
|
709
709
|
* @summary Fetches a presigned URL for a S3 key
|
|
@@ -712,7 +712,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
712
712
|
* @throws {RequiredError}
|
|
713
713
|
* @memberof DocumentsApi
|
|
714
714
|
*/
|
|
715
|
-
getSignedS3keyUrl(requestParameters: DocumentsApiGetSignedS3keyUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSignedS3KeyUrlResponseClass, any, {}>>;
|
|
715
|
+
getSignedS3keyUrl(requestParameters: DocumentsApiGetSignedS3keyUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSignedS3KeyUrlResponseClass, any, {}, any>>;
|
|
716
716
|
/**
|
|
717
717
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
718
718
|
* @summary List documents
|
|
@@ -721,7 +721,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
721
721
|
* @throws {RequiredError}
|
|
722
722
|
* @memberof DocumentsApi
|
|
723
723
|
*/
|
|
724
|
-
listDocuments(requestParameters?: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any, {}>>;
|
|
724
|
+
listDocuments(requestParameters?: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any, {}, any>>;
|
|
725
725
|
/**
|
|
726
726
|
* Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
|
|
727
727
|
* @summary Create the merged document
|
|
@@ -730,7 +730,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
730
730
|
* @throws {RequiredError}
|
|
731
731
|
* @memberof DocumentsApi
|
|
732
732
|
*/
|
|
733
|
-
mergeDocuments(requestParameters: DocumentsApiMergeDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MergeDocumentsResponseClass, any, {}>>;
|
|
733
|
+
mergeDocuments(requestParameters: DocumentsApiMergeDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MergeDocumentsResponseClass, any, {}, any>>;
|
|
734
734
|
/**
|
|
735
735
|
* This will save an external document in the database and return it. This is useful if one needs to call a third party API and store the document in EIS and then, for instance, send it to a client. **Required Permissions** \"document-management.documents.create\"
|
|
736
736
|
* @summary Save external document
|
|
@@ -739,7 +739,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
739
739
|
* @throws {RequiredError}
|
|
740
740
|
* @memberof DocumentsApi
|
|
741
741
|
*/
|
|
742
|
-
saveExternalDocument(requestParameters: DocumentsApiSaveExternalDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
742
|
+
saveExternalDocument(requestParameters: DocumentsApiSaveExternalDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}, any>>;
|
|
743
743
|
/**
|
|
744
744
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.documents.update\"
|
|
745
745
|
* @summary Update the document
|
|
@@ -748,5 +748,5 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
748
748
|
* @throws {RequiredError}
|
|
749
749
|
* @memberof DocumentsApi
|
|
750
750
|
*/
|
|
751
|
-
updateDocument(requestParameters: DocumentsApiUpdateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDocumentResponseClass, any, {}>>;
|
|
751
|
+
updateDocument(requestParameters: DocumentsApiUpdateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDocumentResponseClass, any, {}, any>>;
|
|
752
752
|
}
|
|
@@ -107,7 +107,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createDocument: function (createDocumentRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
createPresignedPost: function (createPresignedPostRequestDto, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -173,13 +176,16 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
173
176
|
localVarQueryParameter = {};
|
|
174
177
|
// authentication bearer required
|
|
175
178
|
// http bearer authentication required
|
|
176
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
179
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
181
|
+
];
|
|
177
182
|
case 1:
|
|
178
183
|
// authentication bearer required
|
|
179
184
|
// http bearer authentication required
|
|
180
185
|
_a.sent();
|
|
181
|
-
|
|
182
|
-
|
|
186
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
187
|
+
if (authorizationValue) {
|
|
188
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
183
189
|
}
|
|
184
190
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -205,7 +211,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
205
211
|
createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
|
|
206
212
|
if (options === void 0) { options = {}; }
|
|
207
213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
209
215
|
return __generator(this, function (_a) {
|
|
210
216
|
switch (_a.label) {
|
|
211
217
|
case 0:
|
|
@@ -222,13 +228,16 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
222
228
|
localVarQueryParameter = {};
|
|
223
229
|
// authentication bearer required
|
|
224
230
|
// http bearer authentication required
|
|
225
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
231
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
232
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
233
|
+
];
|
|
226
234
|
case 1:
|
|
227
235
|
// authentication bearer required
|
|
228
236
|
// http bearer authentication required
|
|
229
237
|
_a.sent();
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
232
241
|
}
|
|
233
242
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
234
243
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -254,7 +263,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
254
263
|
deleteDocument: function (code, authorization, options) {
|
|
255
264
|
if (options === void 0) { options = {}; }
|
|
256
265
|
return __awaiter(_this, void 0, void 0, function () {
|
|
257
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
266
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
258
267
|
return __generator(this, function (_a) {
|
|
259
268
|
switch (_a.label) {
|
|
260
269
|
case 0:
|
|
@@ -272,13 +281,16 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
272
281
|
localVarQueryParameter = {};
|
|
273
282
|
// authentication bearer required
|
|
274
283
|
// http bearer authentication required
|
|
275
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
284
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
285
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
286
|
+
];
|
|
276
287
|
case 1:
|
|
277
288
|
// authentication bearer required
|
|
278
289
|
// http bearer authentication required
|
|
279
290
|
_a.sent();
|
|
280
|
-
|
|
281
|
-
|
|
291
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
292
|
+
if (authorizationValue) {
|
|
293
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
282
294
|
}
|
|
283
295
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
284
296
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -303,7 +315,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
303
315
|
exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
|
|
304
316
|
if (options === void 0) { options = {}; }
|
|
305
317
|
return __awaiter(_this, void 0, void 0, function () {
|
|
306
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
318
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
307
319
|
return __generator(this, function (_a) {
|
|
308
320
|
switch (_a.label) {
|
|
309
321
|
case 0:
|
|
@@ -323,13 +335,16 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
323
335
|
localVarQueryParameter = {};
|
|
324
336
|
// authentication bearer required
|
|
325
337
|
// http bearer authentication required
|
|
326
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
338
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
339
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
340
|
+
];
|
|
327
341
|
case 1:
|
|
328
342
|
// authentication bearer required
|
|
329
343
|
// http bearer authentication required
|
|
330
344
|
_a.sent();
|
|
331
|
-
|
|
332
|
-
|
|
345
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
346
|
+
if (authorizationValue) {
|
|
347
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
333
348
|
}
|
|
334
349
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
335
350
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -356,7 +371,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
356
371
|
getDocumentDownloadUrl: function (code, authorization, contentDisposition, options) {
|
|
357
372
|
if (options === void 0) { options = {}; }
|
|
358
373
|
return __awaiter(_this, void 0, void 0, function () {
|
|
359
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
374
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
360
375
|
return __generator(this, function (_a) {
|
|
361
376
|
switch (_a.label) {
|
|
362
377
|
case 0:
|
|
@@ -382,8 +397,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
382
397
|
if (contentDisposition !== undefined) {
|
|
383
398
|
localVarQueryParameter['contentDisposition'] = contentDisposition;
|
|
384
399
|
}
|
|
385
|
-
|
|
386
|
-
|
|
400
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
401
|
+
if (authorizationValue) {
|
|
402
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
387
403
|
}
|
|
388
404
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
389
405
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -408,7 +424,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
408
424
|
getSignedS3keyUrl: function (s3Key, authorization, contentDisposition, options) {
|
|
409
425
|
if (options === void 0) { options = {}; }
|
|
410
426
|
return __awaiter(_this, void 0, void 0, function () {
|
|
411
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
427
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
412
428
|
return __generator(this, function (_a) {
|
|
413
429
|
switch (_a.label) {
|
|
414
430
|
case 0:
|
|
@@ -436,8 +452,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
436
452
|
if (contentDisposition !== undefined) {
|
|
437
453
|
localVarQueryParameter['contentDisposition'] = contentDisposition;
|
|
438
454
|
}
|
|
439
|
-
|
|
440
|
-
|
|
455
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
456
|
+
if (authorizationValue) {
|
|
457
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
441
458
|
}
|
|
442
459
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
443
460
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -467,7 +484,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
467
484
|
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
468
485
|
if (options === void 0) { options = {}; }
|
|
469
486
|
return __awaiter(_this, void 0, void 0, function () {
|
|
470
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
487
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
471
488
|
return __generator(this, function (_a) {
|
|
472
489
|
switch (_a.label) {
|
|
473
490
|
case 0:
|
|
@@ -508,8 +525,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
508
525
|
if (filters !== undefined) {
|
|
509
526
|
localVarQueryParameter['filters'] = filters;
|
|
510
527
|
}
|
|
511
|
-
|
|
512
|
-
|
|
528
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
529
|
+
if (authorizationValue) {
|
|
530
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
513
531
|
}
|
|
514
532
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
515
533
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -533,7 +551,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
533
551
|
mergeDocuments: function (mergeDocumentsRequestDto, authorization, options) {
|
|
534
552
|
if (options === void 0) { options = {}; }
|
|
535
553
|
return __awaiter(_this, void 0, void 0, function () {
|
|
536
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
554
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
537
555
|
return __generator(this, function (_a) {
|
|
538
556
|
switch (_a.label) {
|
|
539
557
|
case 0:
|
|
@@ -550,13 +568,16 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
550
568
|
localVarQueryParameter = {};
|
|
551
569
|
// authentication bearer required
|
|
552
570
|
// http bearer authentication required
|
|
553
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
571
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
572
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
573
|
+
];
|
|
554
574
|
case 1:
|
|
555
575
|
// authentication bearer required
|
|
556
576
|
// http bearer authentication required
|
|
557
577
|
_a.sent();
|
|
558
|
-
|
|
559
|
-
|
|
578
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
579
|
+
if (authorizationValue) {
|
|
580
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
560
581
|
}
|
|
561
582
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
562
583
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -582,7 +603,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
582
603
|
saveExternalDocument: function (saveExternalDocumentRequestDto, authorization, options) {
|
|
583
604
|
if (options === void 0) { options = {}; }
|
|
584
605
|
return __awaiter(_this, void 0, void 0, function () {
|
|
585
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
606
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
586
607
|
return __generator(this, function (_a) {
|
|
587
608
|
switch (_a.label) {
|
|
588
609
|
case 0:
|
|
@@ -599,13 +620,16 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
599
620
|
localVarQueryParameter = {};
|
|
600
621
|
// authentication bearer required
|
|
601
622
|
// http bearer authentication required
|
|
602
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
623
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
624
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
625
|
+
];
|
|
603
626
|
case 1:
|
|
604
627
|
// authentication bearer required
|
|
605
628
|
// http bearer authentication required
|
|
606
629
|
_a.sent();
|
|
607
|
-
|
|
608
|
-
|
|
630
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
631
|
+
if (authorizationValue) {
|
|
632
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
609
633
|
}
|
|
610
634
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
611
635
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -632,7 +656,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
632
656
|
updateDocument: function (code, updateDocumentRequestDto, authorization, options) {
|
|
633
657
|
if (options === void 0) { options = {}; }
|
|
634
658
|
return __awaiter(_this, void 0, void 0, function () {
|
|
635
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
659
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
636
660
|
return __generator(this, function (_a) {
|
|
637
661
|
switch (_a.label) {
|
|
638
662
|
case 0:
|
|
@@ -652,13 +676,16 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
652
676
|
localVarQueryParameter = {};
|
|
653
677
|
// authentication bearer required
|
|
654
678
|
// http bearer authentication required
|
|
655
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
679
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
680
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
681
|
+
];
|
|
656
682
|
case 1:
|
|
657
683
|
// authentication bearer required
|
|
658
684
|
// http bearer authentication required
|
|
659
685
|
_a.sent();
|
|
660
|
-
|
|
661
|
-
|
|
686
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
687
|
+
if (authorizationValue) {
|
|
688
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
662
689
|
}
|
|
663
690
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
664
691
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -392,7 +392,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
392
392
|
* @throws {RequiredError}
|
|
393
393
|
* @memberof DocxTemplatesApi
|
|
394
394
|
*/
|
|
395
|
-
deleteDocxTemplate(requestParameters: DocxTemplatesApiDeleteDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
395
|
+
deleteDocxTemplate(requestParameters: DocxTemplatesApiDeleteDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
396
396
|
/**
|
|
397
397
|
* Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
|
|
398
398
|
* @summary Get pre-signed url for downloading docx template
|
|
@@ -401,7 +401,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
401
401
|
* @throws {RequiredError}
|
|
402
402
|
* @memberof DocxTemplatesApi
|
|
403
403
|
*/
|
|
404
|
-
downloadDocxTemplate(requestParameters: DocxTemplatesApiDownloadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocxTemplateDownloadUrlResponseClass, any, {}>>;
|
|
404
|
+
downloadDocxTemplate(requestParameters: DocxTemplatesApiDownloadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocxTemplateDownloadUrlResponseClass, any, {}, any>>;
|
|
405
405
|
/**
|
|
406
406
|
* Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
|
|
407
407
|
* @summary Retrieve the docx template
|
|
@@ -410,7 +410,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
410
410
|
* @throws {RequiredError}
|
|
411
411
|
* @memberof DocxTemplatesApi
|
|
412
412
|
*/
|
|
413
|
-
getDocxTemplate(requestParameters: DocxTemplatesApiGetDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocxTemplateResponseClass, any, {}>>;
|
|
413
|
+
getDocxTemplate(requestParameters: DocxTemplatesApiGetDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocxTemplateResponseClass, any, {}, any>>;
|
|
414
414
|
/**
|
|
415
415
|
* 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. **Required Permissions** \"document-management.docx-templates.view\"
|
|
416
416
|
* @summary List docx templates
|
|
@@ -419,7 +419,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
419
419
|
* @throws {RequiredError}
|
|
420
420
|
* @memberof DocxTemplatesApi
|
|
421
421
|
*/
|
|
422
|
-
listDocxTemplates(requestParameters?: DocxTemplatesApiListDocxTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocxTemplatesResponseClass, any, {}>>;
|
|
422
|
+
listDocxTemplates(requestParameters?: DocxTemplatesApiListDocxTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocxTemplatesResponseClass, any, {}, any>>;
|
|
423
423
|
/**
|
|
424
424
|
* Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
|
|
425
425
|
* @summary Update the docx template
|
|
@@ -428,7 +428,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
428
428
|
* @throws {RequiredError}
|
|
429
429
|
* @memberof DocxTemplatesApi
|
|
430
430
|
*/
|
|
431
|
-
updateDocxTemplate(requestParameters: DocxTemplatesApiUpdateDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDocxTemplateResponseClass, any, {}>>;
|
|
431
|
+
updateDocxTemplate(requestParameters: DocxTemplatesApiUpdateDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDocxTemplateResponseClass, any, {}, any>>;
|
|
432
432
|
/**
|
|
433
433
|
* Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
|
|
434
434
|
* @summary Upload a docx template.
|
|
@@ -437,5 +437,5 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
437
437
|
* @throws {RequiredError}
|
|
438
438
|
* @memberof DocxTemplatesApi
|
|
439
439
|
*/
|
|
440
|
-
uploadDocxTemplate(requestParameters: DocxTemplatesApiUploadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
|
|
440
|
+
uploadDocxTemplate(requestParameters: DocxTemplatesApiUploadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}, any>>;
|
|
441
441
|
}
|