@emilgroup/document-sdk-node 1.49.1-beta.32 → 1.49.1-beta.34

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.
@@ -107,10 +107,9 @@ 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, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
111
- var _a;
112
- return __generator(this, function (_b) {
113
- switch (_b.label) {
110
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
+ return __generator(this, function (_a) {
112
+ switch (_a.label) {
114
113
  case 0:
115
114
  // verify required parameter 'createDocTemplateRequestDto' is not null or undefined
116
115
  (0, common_1.assertParamExists)('createDocTemplate', 'createDocTemplateRequestDto', createDocTemplateRequestDto);
@@ -125,19 +124,13 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
125
124
  localVarQueryParameter = {};
126
125
  // authentication bearer required
127
126
  // http bearer authentication required
128
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
129
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
130
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
131
- ];
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
132
128
  case 1:
133
129
  // authentication bearer required
134
130
  // http bearer authentication required
135
- _b.sent();
136
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
137
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
138
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
139
- if (authorizationValue || authorizationKeepEmpty) {
140
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
131
+ _a.sent();
132
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
141
134
  }
142
135
  localVarHeaderParameter['Content-Type'] = 'application/json';
143
136
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -163,10 +156,9 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
163
156
  deleteDocTemplate: function (id, authorization, options) {
164
157
  if (options === void 0) { options = {}; }
165
158
  return __awaiter(_this, void 0, void 0, function () {
166
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
167
- var _a;
168
- return __generator(this, function (_b) {
169
- switch (_b.label) {
159
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
+ return __generator(this, function (_a) {
161
+ switch (_a.label) {
170
162
  case 0:
171
163
  // verify required parameter 'id' is not null or undefined
172
164
  (0, common_1.assertParamExists)('deleteDocTemplate', 'id', id);
@@ -182,19 +174,13 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
182
174
  localVarQueryParameter = {};
183
175
  // authentication bearer required
184
176
  // http bearer authentication required
185
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
186
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
187
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
188
- ];
177
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
189
178
  case 1:
190
179
  // authentication bearer required
191
180
  // http bearer authentication required
192
- _b.sent();
193
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
194
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
195
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
196
- if (authorizationValue || authorizationKeepEmpty) {
197
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
181
+ _a.sent();
182
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
198
184
  }
199
185
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
200
186
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -219,10 +205,9 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
219
205
  getDocTemplate: function (id, authorization, expand, options) {
220
206
  if (options === void 0) { options = {}; }
221
207
  return __awaiter(_this, void 0, void 0, function () {
222
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
223
- var _a;
224
- return __generator(this, function (_b) {
225
- switch (_b.label) {
208
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
+ return __generator(this, function (_a) {
210
+ switch (_a.label) {
226
211
  case 0:
227
212
  // verify required parameter 'id' is not null or undefined
228
213
  (0, common_1.assertParamExists)('getDocTemplate', 'id', id);
@@ -242,15 +227,12 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
242
227
  case 1:
243
228
  // authentication bearer required
244
229
  // http bearer authentication required
245
- _b.sent();
230
+ _a.sent();
246
231
  if (expand !== undefined) {
247
232
  localVarQueryParameter['expand'] = expand;
248
233
  }
249
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
250
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
251
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
252
- if (authorizationValue || authorizationKeepEmpty) {
253
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
234
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
254
236
  }
255
237
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
256
238
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -279,10 +261,9 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
279
261
  listDocTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
280
262
  if (options === void 0) { options = {}; }
281
263
  return __awaiter(_this, void 0, void 0, function () {
282
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
283
- var _a;
284
- return __generator(this, function (_b) {
285
- switch (_b.label) {
264
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
265
+ return __generator(this, function (_a) {
266
+ switch (_a.label) {
286
267
  case 0:
287
268
  localVarPath = "/documentservice/v1/doc-templates";
288
269
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -299,7 +280,7 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
299
280
  case 1:
300
281
  // authentication bearer required
301
282
  // http bearer authentication required
302
- _b.sent();
283
+ _a.sent();
303
284
  if (pageSize !== undefined) {
304
285
  localVarQueryParameter['pageSize'] = pageSize;
305
286
  }
@@ -318,11 +299,8 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
318
299
  if (expand !== undefined) {
319
300
  localVarQueryParameter['expand'] = expand;
320
301
  }
321
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
322
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
323
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
324
- if (authorizationValue || authorizationKeepEmpty) {
325
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
302
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
303
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
326
304
  }
327
305
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
328
306
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -347,10 +325,9 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
347
325
  updateDocTemplate: function (id, updateDocTemplateRequestDto, authorization, options) {
348
326
  if (options === void 0) { options = {}; }
349
327
  return __awaiter(_this, void 0, void 0, function () {
350
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
351
- var _a;
352
- return __generator(this, function (_b) {
353
- switch (_b.label) {
328
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
329
+ return __generator(this, function (_a) {
330
+ switch (_a.label) {
354
331
  case 0:
355
332
  // verify required parameter 'id' is not null or undefined
356
333
  (0, common_1.assertParamExists)('updateDocTemplate', 'id', id);
@@ -368,19 +345,13 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
368
345
  localVarQueryParameter = {};
369
346
  // authentication bearer required
370
347
  // http bearer authentication required
371
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
372
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
373
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
374
- ];
348
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
375
349
  case 1:
376
350
  // authentication bearer required
377
351
  // http bearer authentication required
378
- _b.sent();
379
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
380
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
381
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
382
- if (authorizationValue || authorizationKeepEmpty) {
383
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
352
+ _a.sent();
353
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
354
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
384
355
  }
385
356
  localVarHeaderParameter['Content-Type'] = 'application/json';
386
357
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -613,7 +584,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
613
584
  */
614
585
  DocumentTemplatesApi.prototype.createDocTemplate = function (requestParameters, options) {
615
586
  var _this = this;
616
- return (0, exports.DocumentTemplatesApiFp)(this.configuration).createDocTemplate(requestParameters.createDocTemplateRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
587
+ return (0, exports.DocumentTemplatesApiFp)(this.configuration).createDocTemplate(requestParameters.createDocTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
617
588
  };
618
589
  /**
619
590
  * Permanently deletes the document template. Supply the unique code that was returned when you created the document template and this will delete it. **Required Permissions** \"document-management.templates.delete\"
@@ -625,7 +596,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
625
596
  */
626
597
  DocumentTemplatesApi.prototype.deleteDocTemplate = function (requestParameters, options) {
627
598
  var _this = this;
628
- return (0, exports.DocumentTemplatesApiFp)(this.configuration).deleteDocTemplate(requestParameters.id, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
599
+ return (0, exports.DocumentTemplatesApiFp)(this.configuration).deleteDocTemplate(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
629
600
  };
630
601
  /**
631
602
  * Retrieves the details of the document template that was previously created. Supply the unique document template id that was returned when you created it and Emil Api will return the corresponding document template information. **Required Permissions** \"document-management.templates.view\"
@@ -637,7 +608,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
637
608
  */
638
609
  DocumentTemplatesApi.prototype.getDocTemplate = function (requestParameters, options) {
639
610
  var _this = this;
640
- return (0, exports.DocumentTemplatesApiFp)(this.configuration).getDocTemplate(requestParameters.id, requestParameters.authorization, requestParameters.expand, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
611
+ return (0, exports.DocumentTemplatesApiFp)(this.configuration).getDocTemplate(requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
641
612
  };
642
613
  /**
643
614
  * Returns a list of document templates you have previously created. The document templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.templates.view\"
@@ -650,7 +621,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
650
621
  DocumentTemplatesApi.prototype.listDocTemplates = function (requestParameters, options) {
651
622
  var _this = this;
652
623
  if (requestParameters === void 0) { requestParameters = {}; }
653
- return (0, exports.DocumentTemplatesApiFp)(this.configuration).listDocTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
624
+ return (0, exports.DocumentTemplatesApiFp)(this.configuration).listDocTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
654
625
  };
655
626
  /**
656
627
  * Updates the specified document template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.templates.update\"
@@ -662,7 +633,7 @@ var DocumentTemplatesApi = /** @class */ (function (_super) {
662
633
  */
663
634
  DocumentTemplatesApi.prototype.updateDocTemplate = function (requestParameters, options) {
664
635
  var _this = this;
665
- return (0, exports.DocumentTemplatesApiFp)(this.configuration).updateDocTemplate(requestParameters.id, requestParameters.updateDocTemplateRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
636
+ return (0, exports.DocumentTemplatesApiFp)(this.configuration).updateDocTemplate(requestParameters.id, requestParameters.updateDocTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
666
637
  };
667
638
  return DocumentTemplatesApi;
668
639
  }(base_1.BaseAPI));
@@ -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, {}, any>>;
661
+ createDocument(requestParameters: DocumentsApiCreateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDocumentSyncResponseClass, 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, {}, any>>;
670
+ createPresignedPost(requestParameters: DocumentsApiCreatePresignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, 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, {}, any>>;
679
+ createQrBillDocument(requestParameters: DocumentsApiCreateQrBillDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateQrBillDocumentResponseClass, 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, {}, any>>;
688
+ deleteDocument(requestParameters: DocumentsApiDeleteDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, 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, {}, any>>;
697
+ exportDocument(requestParameters: DocumentsApiExportDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportDocumentResponseClass, 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, {}, any>>;
706
+ getDocumentDownloadUrl(requestParameters: DocumentsApiGetDocumentDownloadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocumentDownloadUrlResponseClass, 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, {}, any>>;
715
+ getSignedS3keyUrl(requestParameters: DocumentsApiGetSignedS3keyUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSignedS3KeyUrlResponseClass, 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, {}, any>>;
724
+ listDocuments(requestParameters?: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, 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, {}, any>>;
733
+ mergeDocuments(requestParameters: DocumentsApiMergeDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MergeDocumentsResponseClass, 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, {}, any>>;
742
+ saveExternalDocument(requestParameters: DocumentsApiSaveExternalDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, 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, {}, any>>;
751
+ updateDocument(requestParameters: DocumentsApiUpdateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDocumentResponseClass, any, {}>>;
752
752
  }