@emilgroup/document-sdk-node 1.41.0 → 1.41.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/api/documents-api.ts +229 -4
- package/dist/api/documents-api.d.ts +126 -4
- package/dist/api/documents-api.js +196 -4
- package/dist/models/create-qr-bill-document-request-dto.d.ts +60 -0
- package/dist/models/create-qr-bill-document-request-dto.js +20 -0
- package/dist/models/export-document-request-dto.d.ts +54 -0
- package/dist/models/export-document-request-dto.js +15 -0
- package/dist/models/export-document-response-class.d.ts +30 -0
- package/dist/models/export-document-response-class.js +15 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/qr-billing-entity-dto.d.ts +60 -0
- package/dist/models/qr-billing-entity-dto.js +15 -0
- package/models/create-qr-bill-document-request-dto.ts +69 -0
- package/models/export-document-request-dto.ts +60 -0
- package/models/export-document-response-class.ts +36 -0
- package/models/index.ts +4 -0
- package/models/qr-billing-entity-dto.ts +66 -0
- package/package.json +1 -1
|
@@ -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,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
421
523
|
});
|
|
422
524
|
},
|
|
423
525
|
/**
|
|
424
|
-
* This will save an external document in the database and return it.
|
|
526
|
+
* 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
527
|
* @summary Save external document
|
|
426
528
|
* @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
|
|
427
529
|
* @param {string} [authorization] Bearer Token
|
|
@@ -574,6 +676,27 @@ var DocumentsApiFp = function (configuration) {
|
|
|
574
676
|
});
|
|
575
677
|
});
|
|
576
678
|
},
|
|
679
|
+
/**
|
|
680
|
+
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
681
|
+
* @summary Create the QR bill document
|
|
682
|
+
* @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
|
|
683
|
+
* @param {string} [authorization] Bearer Token
|
|
684
|
+
* @param {*} [options] Override http request option.
|
|
685
|
+
* @throws {RequiredError}
|
|
686
|
+
*/
|
|
687
|
+
createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
|
|
688
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
689
|
+
var localVarAxiosArgs;
|
|
690
|
+
return __generator(this, function (_a) {
|
|
691
|
+
switch (_a.label) {
|
|
692
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createQrBillDocument(createQrBillDocumentRequestDto, authorization, options)];
|
|
693
|
+
case 1:
|
|
694
|
+
localVarAxiosArgs = _a.sent();
|
|
695
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
696
|
+
}
|
|
697
|
+
});
|
|
698
|
+
});
|
|
699
|
+
},
|
|
577
700
|
/**
|
|
578
701
|
* 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
702
|
* @summary Delete the document
|
|
@@ -595,6 +718,28 @@ var DocumentsApiFp = function (configuration) {
|
|
|
595
718
|
});
|
|
596
719
|
});
|
|
597
720
|
},
|
|
721
|
+
/**
|
|
722
|
+
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
723
|
+
* @summary Export internal document
|
|
724
|
+
* @param {string} code Document code
|
|
725
|
+
* @param {ExportDocumentRequestDto} exportDocumentRequestDto
|
|
726
|
+
* @param {string} [authorization] Bearer Token
|
|
727
|
+
* @param {*} [options] Override http request option.
|
|
728
|
+
* @throws {RequiredError}
|
|
729
|
+
*/
|
|
730
|
+
exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
|
|
731
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
732
|
+
var localVarAxiosArgs;
|
|
733
|
+
return __generator(this, function (_a) {
|
|
734
|
+
switch (_a.label) {
|
|
735
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportDocument(code, exportDocumentRequestDto, authorization, options)];
|
|
736
|
+
case 1:
|
|
737
|
+
localVarAxiosArgs = _a.sent();
|
|
738
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
739
|
+
}
|
|
740
|
+
});
|
|
741
|
+
});
|
|
742
|
+
},
|
|
598
743
|
/**
|
|
599
744
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
600
745
|
* @summary Fetches a document download URL
|
|
@@ -667,7 +812,7 @@ var DocumentsApiFp = function (configuration) {
|
|
|
667
812
|
});
|
|
668
813
|
},
|
|
669
814
|
/**
|
|
670
|
-
* This will save an external document in the database and return it.
|
|
815
|
+
* 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
816
|
* @summary Save external document
|
|
672
817
|
* @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
|
|
673
818
|
* @param {string} [authorization] Bearer Token
|
|
@@ -741,6 +886,17 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
741
886
|
createPresignedPost: function (createPresignedPostRequestDto, authorization, options) {
|
|
742
887
|
return localVarFp.createPresignedPost(createPresignedPostRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
743
888
|
},
|
|
889
|
+
/**
|
|
890
|
+
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
891
|
+
* @summary Create the QR bill document
|
|
892
|
+
* @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
|
|
893
|
+
* @param {string} [authorization] Bearer Token
|
|
894
|
+
* @param {*} [options] Override http request option.
|
|
895
|
+
* @throws {RequiredError}
|
|
896
|
+
*/
|
|
897
|
+
createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
|
|
898
|
+
return localVarFp.createQrBillDocument(createQrBillDocumentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
899
|
+
},
|
|
744
900
|
/**
|
|
745
901
|
* 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
902
|
* @summary Delete the document
|
|
@@ -752,6 +908,18 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
752
908
|
deleteDocument: function (code, authorization, options) {
|
|
753
909
|
return localVarFp.deleteDocument(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
754
910
|
},
|
|
911
|
+
/**
|
|
912
|
+
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
913
|
+
* @summary Export internal document
|
|
914
|
+
* @param {string} code Document code
|
|
915
|
+
* @param {ExportDocumentRequestDto} exportDocumentRequestDto
|
|
916
|
+
* @param {string} [authorization] Bearer Token
|
|
917
|
+
* @param {*} [options] Override http request option.
|
|
918
|
+
* @throws {RequiredError}
|
|
919
|
+
*/
|
|
920
|
+
exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
|
|
921
|
+
return localVarFp.exportDocument(code, exportDocumentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
922
|
+
},
|
|
755
923
|
/**
|
|
756
924
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
757
925
|
* @summary Fetches a document download URL
|
|
@@ -794,7 +962,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
794
962
|
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
795
963
|
},
|
|
796
964
|
/**
|
|
797
|
-
* This will save an external document in the database and return it.
|
|
965
|
+
* 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
966
|
* @summary Save external document
|
|
799
967
|
* @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
|
|
800
968
|
* @param {string} [authorization] Bearer Token
|
|
@@ -854,6 +1022,18 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
854
1022
|
var _this = this;
|
|
855
1023
|
return (0, exports.DocumentsApiFp)(this.configuration).createPresignedPost(requestParameters.createPresignedPostRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
856
1024
|
};
|
|
1025
|
+
/**
|
|
1026
|
+
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
1027
|
+
* @summary Create the QR bill document
|
|
1028
|
+
* @param {DocumentsApiCreateQrBillDocumentRequest} requestParameters Request parameters.
|
|
1029
|
+
* @param {*} [options] Override http request option.
|
|
1030
|
+
* @throws {RequiredError}
|
|
1031
|
+
* @memberof DocumentsApi
|
|
1032
|
+
*/
|
|
1033
|
+
DocumentsApi.prototype.createQrBillDocument = function (requestParameters, options) {
|
|
1034
|
+
var _this = this;
|
|
1035
|
+
return (0, exports.DocumentsApiFp)(this.configuration).createQrBillDocument(requestParameters.createQrBillDocumentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1036
|
+
};
|
|
857
1037
|
/**
|
|
858
1038
|
* 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
1039
|
* @summary Delete the document
|
|
@@ -866,6 +1046,18 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
866
1046
|
var _this = this;
|
|
867
1047
|
return (0, exports.DocumentsApiFp)(this.configuration).deleteDocument(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
868
1048
|
};
|
|
1049
|
+
/**
|
|
1050
|
+
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
1051
|
+
* @summary Export internal document
|
|
1052
|
+
* @param {DocumentsApiExportDocumentRequest} requestParameters Request parameters.
|
|
1053
|
+
* @param {*} [options] Override http request option.
|
|
1054
|
+
* @throws {RequiredError}
|
|
1055
|
+
* @memberof DocumentsApi
|
|
1056
|
+
*/
|
|
1057
|
+
DocumentsApi.prototype.exportDocument = function (requestParameters, options) {
|
|
1058
|
+
var _this = this;
|
|
1059
|
+
return (0, exports.DocumentsApiFp)(this.configuration).exportDocument(requestParameters.code, requestParameters.exportDocumentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1060
|
+
};
|
|
869
1061
|
/**
|
|
870
1062
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
871
1063
|
* @summary Fetches a document download URL
|
|
@@ -904,7 +1096,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
904
1096
|
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
1097
|
};
|
|
906
1098
|
/**
|
|
907
|
-
* This will save an external document in the database and return it.
|
|
1099
|
+
* 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
1100
|
* @summary Save external document
|
|
909
1101
|
* @param {DocumentsApiSaveExternalDocumentRequest} requestParameters Request parameters.
|
|
910
1102
|
* @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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -45,6 +48,7 @@ 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';
|
|
47
50
|
export * from './product-document-class';
|
|
51
|
+
export * from './qr-billing-entity-dto';
|
|
48
52
|
export * from './save-external-document-request-dto';
|
|
49
53
|
export * from './searchable-document-class';
|
|
50
54
|
export * from './searchable-document-owner-class';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|
|
@@ -61,6 +64,7 @@ __exportStar(require("./list-searchable-document-owners-response-class"), export
|
|
|
61
64
|
__exportStar(require("./list-searchable-documents-request-dto"), exports);
|
|
62
65
|
__exportStar(require("./list-searchable-documents-response-class"), exports);
|
|
63
66
|
__exportStar(require("./product-document-class"), exports);
|
|
67
|
+
__exportStar(require("./qr-billing-entity-dto"), exports);
|
|
64
68
|
__exportStar(require("./save-external-document-request-dto"), exports);
|
|
65
69
|
__exportStar(require("./searchable-document-class"), exports);
|
|
66
70
|
__exportStar(require("./searchable-document-owner-class"), exports);
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface QrBillingEntityDto
|
|
16
|
+
*/
|
|
17
|
+
export interface QrBillingEntityDto {
|
|
18
|
+
/**
|
|
19
|
+
* ZIP code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof QrBillingEntityDto
|
|
22
|
+
*/
|
|
23
|
+
'zip': string;
|
|
24
|
+
/**
|
|
25
|
+
* City name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QrBillingEntityDto
|
|
28
|
+
*/
|
|
29
|
+
'city': string;
|
|
30
|
+
/**
|
|
31
|
+
* Name of the entity
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof QrBillingEntityDto
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* Street address
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof QrBillingEntityDto
|
|
40
|
+
*/
|
|
41
|
+
'address': string;
|
|
42
|
+
/**
|
|
43
|
+
* Country code (ISO 3166-1 alpha-2)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof QrBillingEntityDto
|
|
46
|
+
*/
|
|
47
|
+
'country': string;
|
|
48
|
+
/**
|
|
49
|
+
* Building number
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof QrBillingEntityDto
|
|
52
|
+
*/
|
|
53
|
+
'buildingNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* IBAN account number
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof QrBillingEntityDto
|
|
58
|
+
*/
|
|
59
|
+
'account': string;
|
|
60
|
+
}
|
|
@@ -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 });
|