@emilgroup/document-sdk-node 1.41.1-beta.0 → 1.41.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -194,6 +194,55 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  });
196
196
  },
197
+ /**
198
+ * Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
199
+ * @summary Create the QR bill document
200
+ * @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
201
+ * @param {string} [authorization] Bearer Token
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
206
+ if (options === void 0) { options = {}; }
207
+ return __awaiter(_this, void 0, void 0, function () {
208
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
+ return __generator(this, function (_a) {
210
+ switch (_a.label) {
211
+ case 0:
212
+ // verify required parameter 'createQrBillDocumentRequestDto' is not null or undefined
213
+ (0, common_1.assertParamExists)('createQrBillDocument', 'createQrBillDocumentRequestDto', createQrBillDocumentRequestDto);
214
+ localVarPath = "/documentservice/v1/documents/qr-bill";
215
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
216
+ if (configuration) {
217
+ baseOptions = configuration.baseOptions;
218
+ baseAccessToken = configuration.accessToken;
219
+ }
220
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
221
+ localVarHeaderParameter = {};
222
+ localVarQueryParameter = {};
223
+ // authentication bearer required
224
+ // http bearer authentication required
225
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
226
+ case 1:
227
+ // authentication bearer required
228
+ // http bearer authentication required
229
+ _a.sent();
230
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
231
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
232
+ }
233
+ localVarHeaderParameter['Content-Type'] = 'application/json';
234
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
235
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
237
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createQrBillDocumentRequestDto, localVarRequestOptions, configuration);
238
+ return [2 /*return*/, {
239
+ url: (0, common_1.toPathString)(localVarUrlObj),
240
+ options: localVarRequestOptions,
241
+ }];
242
+ }
243
+ });
244
+ });
245
+ },
197
246
  /**
198
247
  * 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\"
199
248
  * @summary Delete the document
@@ -242,6 +291,59 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
242
291
  });
243
292
  });
244
293
  },
294
+ /**
295
+ * This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
296
+ * @summary Export internal document
297
+ * @param {string} code Document code
298
+ * @param {ExportDocumentRequestDto} exportDocumentRequestDto
299
+ * @param {string} [authorization] Bearer Token
300
+ * @param {*} [options] Override http request option.
301
+ * @throws {RequiredError}
302
+ */
303
+ exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
304
+ if (options === void 0) { options = {}; }
305
+ return __awaiter(_this, void 0, void 0, function () {
306
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
307
+ return __generator(this, function (_a) {
308
+ switch (_a.label) {
309
+ case 0:
310
+ // verify required parameter 'code' is not null or undefined
311
+ (0, common_1.assertParamExists)('exportDocument', 'code', code);
312
+ // verify required parameter 'exportDocumentRequestDto' is not null or undefined
313
+ (0, common_1.assertParamExists)('exportDocument', 'exportDocumentRequestDto', exportDocumentRequestDto);
314
+ localVarPath = "/documentservice/v1/documents/{code}/export-document"
315
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
316
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
317
+ if (configuration) {
318
+ baseOptions = configuration.baseOptions;
319
+ baseAccessToken = configuration.accessToken;
320
+ }
321
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
322
+ localVarHeaderParameter = {};
323
+ localVarQueryParameter = {};
324
+ // authentication bearer required
325
+ // http bearer authentication required
326
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
327
+ case 1:
328
+ // authentication bearer required
329
+ // http bearer authentication required
330
+ _a.sent();
331
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
332
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
333
+ }
334
+ localVarHeaderParameter['Content-Type'] = 'application/json';
335
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
336
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
337
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
338
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(exportDocumentRequestDto, localVarRequestOptions, configuration);
339
+ return [2 /*return*/, {
340
+ url: (0, common_1.toPathString)(localVarUrlObj),
341
+ options: localVarRequestOptions,
342
+ }];
343
+ }
344
+ });
345
+ });
346
+ },
245
347
  /**
246
348
  * This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
247
349
  * @summary Fetches a document download URL
@@ -421,7 +523,56 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
421
523
  });
422
524
  },
423
525
  /**
424
- * 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\"
526
+ * Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
527
+ * @summary Create the merged document
528
+ * @param {MergeDocumentsRequestDto} mergeDocumentsRequestDto
529
+ * @param {string} [authorization] Bearer Token
530
+ * @param {*} [options] Override http request option.
531
+ * @throws {RequiredError}
532
+ */
533
+ mergeDocuments: function (mergeDocumentsRequestDto, authorization, options) {
534
+ if (options === void 0) { options = {}; }
535
+ return __awaiter(_this, void 0, void 0, function () {
536
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
537
+ return __generator(this, function (_a) {
538
+ switch (_a.label) {
539
+ case 0:
540
+ // verify required parameter 'mergeDocumentsRequestDto' is not null or undefined
541
+ (0, common_1.assertParamExists)('mergeDocuments', 'mergeDocumentsRequestDto', mergeDocumentsRequestDto);
542
+ localVarPath = "/documentservice/v1/documents/merge";
543
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
544
+ if (configuration) {
545
+ baseOptions = configuration.baseOptions;
546
+ baseAccessToken = configuration.accessToken;
547
+ }
548
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
549
+ localVarHeaderParameter = {};
550
+ localVarQueryParameter = {};
551
+ // authentication bearer required
552
+ // http bearer authentication required
553
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
554
+ case 1:
555
+ // authentication bearer required
556
+ // http bearer authentication required
557
+ _a.sent();
558
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
559
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
560
+ }
561
+ localVarHeaderParameter['Content-Type'] = 'application/json';
562
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
563
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
564
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
565
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mergeDocumentsRequestDto, localVarRequestOptions, configuration);
566
+ return [2 /*return*/, {
567
+ url: (0, common_1.toPathString)(localVarUrlObj),
568
+ options: localVarRequestOptions,
569
+ }];
570
+ }
571
+ });
572
+ });
573
+ },
574
+ /**
575
+ * 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\"
425
576
  * @summary Save external document
426
577
  * @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
427
578
  * @param {string} [authorization] Bearer Token
@@ -574,6 +725,27 @@ var DocumentsApiFp = function (configuration) {
574
725
  });
575
726
  });
576
727
  },
728
+ /**
729
+ * Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
730
+ * @summary Create the QR bill document
731
+ * @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
732
+ * @param {string} [authorization] Bearer Token
733
+ * @param {*} [options] Override http request option.
734
+ * @throws {RequiredError}
735
+ */
736
+ createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
737
+ return __awaiter(this, void 0, void 0, function () {
738
+ var localVarAxiosArgs;
739
+ return __generator(this, function (_a) {
740
+ switch (_a.label) {
741
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createQrBillDocument(createQrBillDocumentRequestDto, authorization, options)];
742
+ case 1:
743
+ localVarAxiosArgs = _a.sent();
744
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
745
+ }
746
+ });
747
+ });
748
+ },
577
749
  /**
578
750
  * 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\"
579
751
  * @summary Delete the document
@@ -595,6 +767,28 @@ var DocumentsApiFp = function (configuration) {
595
767
  });
596
768
  });
597
769
  },
770
+ /**
771
+ * This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
772
+ * @summary Export internal document
773
+ * @param {string} code Document code
774
+ * @param {ExportDocumentRequestDto} exportDocumentRequestDto
775
+ * @param {string} [authorization] Bearer Token
776
+ * @param {*} [options] Override http request option.
777
+ * @throws {RequiredError}
778
+ */
779
+ exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
780
+ return __awaiter(this, void 0, void 0, function () {
781
+ var localVarAxiosArgs;
782
+ return __generator(this, function (_a) {
783
+ switch (_a.label) {
784
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportDocument(code, exportDocumentRequestDto, authorization, options)];
785
+ case 1:
786
+ localVarAxiosArgs = _a.sent();
787
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
788
+ }
789
+ });
790
+ });
791
+ },
598
792
  /**
599
793
  * This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
600
794
  * @summary Fetches a document download URL
@@ -667,7 +861,28 @@ var DocumentsApiFp = function (configuration) {
667
861
  });
668
862
  },
669
863
  /**
670
- * 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\"
864
+ * Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
865
+ * @summary Create the merged document
866
+ * @param {MergeDocumentsRequestDto} mergeDocumentsRequestDto
867
+ * @param {string} [authorization] Bearer Token
868
+ * @param {*} [options] Override http request option.
869
+ * @throws {RequiredError}
870
+ */
871
+ mergeDocuments: function (mergeDocumentsRequestDto, authorization, options) {
872
+ return __awaiter(this, void 0, void 0, function () {
873
+ var localVarAxiosArgs;
874
+ return __generator(this, function (_a) {
875
+ switch (_a.label) {
876
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.mergeDocuments(mergeDocumentsRequestDto, authorization, options)];
877
+ case 1:
878
+ localVarAxiosArgs = _a.sent();
879
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
880
+ }
881
+ });
882
+ });
883
+ },
884
+ /**
885
+ * 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\"
671
886
  * @summary Save external document
672
887
  * @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
673
888
  * @param {string} [authorization] Bearer Token
@@ -741,6 +956,17 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
741
956
  createPresignedPost: function (createPresignedPostRequestDto, authorization, options) {
742
957
  return localVarFp.createPresignedPost(createPresignedPostRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
743
958
  },
959
+ /**
960
+ * Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
961
+ * @summary Create the QR bill document
962
+ * @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
963
+ * @param {string} [authorization] Bearer Token
964
+ * @param {*} [options] Override http request option.
965
+ * @throws {RequiredError}
966
+ */
967
+ createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
968
+ return localVarFp.createQrBillDocument(createQrBillDocumentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
969
+ },
744
970
  /**
745
971
  * 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\"
746
972
  * @summary Delete the document
@@ -752,6 +978,18 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
752
978
  deleteDocument: function (code, authorization, options) {
753
979
  return localVarFp.deleteDocument(code, authorization, options).then(function (request) { return request(axios, basePath); });
754
980
  },
981
+ /**
982
+ * This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
983
+ * @summary Export internal document
984
+ * @param {string} code Document code
985
+ * @param {ExportDocumentRequestDto} exportDocumentRequestDto
986
+ * @param {string} [authorization] Bearer Token
987
+ * @param {*} [options] Override http request option.
988
+ * @throws {RequiredError}
989
+ */
990
+ exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
991
+ return localVarFp.exportDocument(code, exportDocumentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
992
+ },
755
993
  /**
756
994
  * This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
757
995
  * @summary Fetches a document download URL
@@ -794,7 +1032,18 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
794
1032
  return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
795
1033
  },
796
1034
  /**
797
- * 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\"
1035
+ * Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
1036
+ * @summary Create the merged document
1037
+ * @param {MergeDocumentsRequestDto} mergeDocumentsRequestDto
1038
+ * @param {string} [authorization] Bearer Token
1039
+ * @param {*} [options] Override http request option.
1040
+ * @throws {RequiredError}
1041
+ */
1042
+ mergeDocuments: function (mergeDocumentsRequestDto, authorization, options) {
1043
+ return localVarFp.mergeDocuments(mergeDocumentsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1044
+ },
1045
+ /**
1046
+ * 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\"
798
1047
  * @summary Save external document
799
1048
  * @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
800
1049
  * @param {string} [authorization] Bearer Token
@@ -854,6 +1103,18 @@ var DocumentsApi = /** @class */ (function (_super) {
854
1103
  var _this = this;
855
1104
  return (0, exports.DocumentsApiFp)(this.configuration).createPresignedPost(requestParameters.createPresignedPostRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
856
1105
  };
1106
+ /**
1107
+ * Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
1108
+ * @summary Create the QR bill document
1109
+ * @param {DocumentsApiCreateQrBillDocumentRequest} requestParameters Request parameters.
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ * @memberof DocumentsApi
1113
+ */
1114
+ DocumentsApi.prototype.createQrBillDocument = function (requestParameters, options) {
1115
+ var _this = this;
1116
+ return (0, exports.DocumentsApiFp)(this.configuration).createQrBillDocument(requestParameters.createQrBillDocumentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1117
+ };
857
1118
  /**
858
1119
  * 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\"
859
1120
  * @summary Delete the document
@@ -866,6 +1127,18 @@ var DocumentsApi = /** @class */ (function (_super) {
866
1127
  var _this = this;
867
1128
  return (0, exports.DocumentsApiFp)(this.configuration).deleteDocument(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
868
1129
  };
1130
+ /**
1131
+ * This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
1132
+ * @summary Export internal document
1133
+ * @param {DocumentsApiExportDocumentRequest} requestParameters Request parameters.
1134
+ * @param {*} [options] Override http request option.
1135
+ * @throws {RequiredError}
1136
+ * @memberof DocumentsApi
1137
+ */
1138
+ DocumentsApi.prototype.exportDocument = function (requestParameters, options) {
1139
+ var _this = this;
1140
+ return (0, exports.DocumentsApiFp)(this.configuration).exportDocument(requestParameters.code, requestParameters.exportDocumentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1141
+ };
869
1142
  /**
870
1143
  * This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
871
1144
  * @summary Fetches a document download URL
@@ -904,7 +1177,19 @@ var DocumentsApi = /** @class */ (function (_super) {
904
1177
  return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
905
1178
  };
906
1179
  /**
907
- * 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\"
1180
+ * Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
1181
+ * @summary Create the merged document
1182
+ * @param {DocumentsApiMergeDocumentsRequest} requestParameters Request parameters.
1183
+ * @param {*} [options] Override http request option.
1184
+ * @throws {RequiredError}
1185
+ * @memberof DocumentsApi
1186
+ */
1187
+ DocumentsApi.prototype.mergeDocuments = function (requestParameters, options) {
1188
+ var _this = this;
1189
+ return (0, exports.DocumentsApiFp)(this.configuration).mergeDocuments(requestParameters.mergeDocumentsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1190
+ };
1191
+ /**
1192
+ * 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\"
908
1193
  * @summary Save external document
909
1194
  * @param {DocumentsApiSaveExternalDocumentRequest} requestParameters Request parameters.
910
1195
  * @param {*} [options] Override http request option.
@@ -0,0 +1,60 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { QrBillingEntityDto } from './qr-billing-entity-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateQrBillDocumentRequestDto
17
+ */
18
+ export interface CreateQrBillDocumentRequestDto {
19
+ /**
20
+ * Payment amount
21
+ * @type {number}
22
+ * @memberof CreateQrBillDocumentRequestDto
23
+ */
24
+ 'amount': number;
25
+ /**
26
+ * Debtor information
27
+ * @type {QrBillingEntityDto}
28
+ * @memberof CreateQrBillDocumentRequestDto
29
+ */
30
+ 'debtor': QrBillingEntityDto;
31
+ /**
32
+ * Payment message or reference
33
+ * @type {string}
34
+ * @memberof CreateQrBillDocumentRequestDto
35
+ */
36
+ 'message': string;
37
+ /**
38
+ * Creditor information
39
+ * @type {QrBillingEntityDto}
40
+ * @memberof CreateQrBillDocumentRequestDto
41
+ */
42
+ 'creditor': QrBillingEntityDto;
43
+ /**
44
+ * Currency
45
+ * @type {string}
46
+ * @memberof CreateQrBillDocumentRequestDto
47
+ */
48
+ 'currency': CreateQrBillDocumentRequestDtoCurrencyEnum;
49
+ /**
50
+ * QR reference number
51
+ * @type {string}
52
+ * @memberof CreateQrBillDocumentRequestDto
53
+ */
54
+ 'reference': string;
55
+ }
56
+ export declare const CreateQrBillDocumentRequestDtoCurrencyEnum: {
57
+ readonly Chf: "CHF";
58
+ readonly Eur: "EUR";
59
+ };
60
+ export type CreateQrBillDocumentRequestDtoCurrencyEnum = typeof CreateQrBillDocumentRequestDtoCurrencyEnum[keyof typeof CreateQrBillDocumentRequestDtoCurrencyEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateQrBillDocumentRequestDtoCurrencyEnum = void 0;
17
+ exports.CreateQrBillDocumentRequestDtoCurrencyEnum = {
18
+ Chf: 'CHF',
19
+ Eur: 'EUR'
20
+ };
@@ -0,0 +1,54 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExportDocumentRequestDto
16
+ */
17
+ export interface ExportDocumentRequestDto {
18
+ /**
19
+ * The key to the tenant setting which holds additional request data
20
+ * @type {string}
21
+ * @memberof ExportDocumentRequestDto
22
+ */
23
+ 'requestConfigKey': string;
24
+ /**
25
+ * The additional url path that should be appended to the base URL found in the tenant settings
26
+ * @type {string}
27
+ * @memberof ExportDocumentRequestDto
28
+ */
29
+ 'relativeUrl'?: string;
30
+ /**
31
+ * The bearer token to be used to authenticate the request. Yo do not need to include text \'Bearer\'
32
+ * @type {string}
33
+ * @memberof ExportDocumentRequestDto
34
+ */
35
+ 'customToken': string;
36
+ /**
37
+ * The name of the key to be used to attach the file as form-data
38
+ * @type {string}
39
+ * @memberof ExportDocumentRequestDto
40
+ */
41
+ 'fileKey': string;
42
+ /**
43
+ * Additional form data to attach to the POST request
44
+ * @type {object}
45
+ * @memberof ExportDocumentRequestDto
46
+ */
47
+ 'additionalFormData'?: object;
48
+ /**
49
+ * Additional headers to attach to the POST request
50
+ * @type {object}
51
+ * @memberof ExportDocumentRequestDto
52
+ */
53
+ 'additionalHeaders'?: object;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExportDocumentResponseClass
16
+ */
17
+ export interface ExportDocumentResponseClass {
18
+ /**
19
+ * The status returned from the POST request
20
+ * @type {number}
21
+ * @memberof ExportDocumentResponseClass
22
+ */
23
+ 'status': number;
24
+ /**
25
+ * The response body returned from the POST request
26
+ * @type {object}
27
+ * @memberof ExportDocumentResponseClass
28
+ */
29
+ 'body': object;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,6 +7,7 @@ export * from './create-layout-request-dto';
7
7
  export * from './create-layout-response-class';
8
8
  export * from './create-presigned-post-request-dto';
9
9
  export * from './create-presigned-post-response-class';
10
+ export * from './create-qr-bill-document-request-dto';
10
11
  export * from './delete-layout-request-dto';
11
12
  export * from './delete-product-document-request-dto';
12
13
  export * from './delete-request-dto';
@@ -15,6 +16,8 @@ export * from './doc-template-class';
15
16
  export * from './document-class';
16
17
  export * from './docx-template-class';
17
18
  export * from './download-document-request-dto';
19
+ export * from './export-document-request-dto';
20
+ export * from './export-document-response-class';
18
21
  export * from './get-doc-template-request-dto';
19
22
  export * from './get-doc-template-response-class';
20
23
  export * from './get-document-download-url-response-class';
@@ -44,7 +47,10 @@ export * from './list-searchable-document-owners-request-dto';
44
47
  export * from './list-searchable-document-owners-response-class';
45
48
  export * from './list-searchable-documents-request-dto';
46
49
  export * from './list-searchable-documents-response-class';
50
+ export * from './merge-documents-request-dto';
51
+ export * from './merge-documents-response-class';
47
52
  export * from './product-document-class';
53
+ export * from './qr-billing-entity-dto';
48
54
  export * from './save-external-document-request-dto';
49
55
  export * from './searchable-document-class';
50
56
  export * from './searchable-document-owner-class';
@@ -23,6 +23,7 @@ __exportStar(require("./create-layout-request-dto"), exports);
23
23
  __exportStar(require("./create-layout-response-class"), exports);
24
24
  __exportStar(require("./create-presigned-post-request-dto"), exports);
25
25
  __exportStar(require("./create-presigned-post-response-class"), exports);
26
+ __exportStar(require("./create-qr-bill-document-request-dto"), exports);
26
27
  __exportStar(require("./delete-layout-request-dto"), exports);
27
28
  __exportStar(require("./delete-product-document-request-dto"), exports);
28
29
  __exportStar(require("./delete-request-dto"), exports);
@@ -31,6 +32,8 @@ __exportStar(require("./doc-template-class"), exports);
31
32
  __exportStar(require("./document-class"), exports);
32
33
  __exportStar(require("./docx-template-class"), exports);
33
34
  __exportStar(require("./download-document-request-dto"), exports);
35
+ __exportStar(require("./export-document-request-dto"), exports);
36
+ __exportStar(require("./export-document-response-class"), exports);
34
37
  __exportStar(require("./get-doc-template-request-dto"), exports);
35
38
  __exportStar(require("./get-doc-template-response-class"), exports);
36
39
  __exportStar(require("./get-document-download-url-response-class"), exports);
@@ -60,7 +63,10 @@ __exportStar(require("./list-searchable-document-owners-request-dto"), exports);
60
63
  __exportStar(require("./list-searchable-document-owners-response-class"), exports);
61
64
  __exportStar(require("./list-searchable-documents-request-dto"), exports);
62
65
  __exportStar(require("./list-searchable-documents-response-class"), exports);
66
+ __exportStar(require("./merge-documents-request-dto"), exports);
67
+ __exportStar(require("./merge-documents-response-class"), exports);
63
68
  __exportStar(require("./product-document-class"), exports);
69
+ __exportStar(require("./qr-billing-entity-dto"), exports);
64
70
  __exportStar(require("./save-external-document-request-dto"), exports);
65
71
  __exportStar(require("./searchable-document-class"), exports);
66
72
  __exportStar(require("./searchable-document-owner-class"), exports);