@emilgroup/document-sdk 1.42.0 → 1.42.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
|
@@ -190,6 +190,55 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
});
|
|
192
192
|
},
|
|
193
|
+
/**
|
|
194
|
+
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
195
|
+
* @summary Create the QR bill document
|
|
196
|
+
* @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
|
|
197
|
+
* @param {string} [authorization] Bearer Token
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
|
|
202
|
+
if (options === void 0) { options = {}; }
|
|
203
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
205
|
+
return __generator(this, function (_a) {
|
|
206
|
+
switch (_a.label) {
|
|
207
|
+
case 0:
|
|
208
|
+
// verify required parameter 'createQrBillDocumentRequestDto' is not null or undefined
|
|
209
|
+
(0, common_1.assertParamExists)('createQrBillDocument', 'createQrBillDocumentRequestDto', createQrBillDocumentRequestDto);
|
|
210
|
+
localVarPath = "/documentservice/v1/documents/qr-bill";
|
|
211
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
212
|
+
if (configuration) {
|
|
213
|
+
baseOptions = configuration.baseOptions;
|
|
214
|
+
baseAccessToken = configuration.accessToken;
|
|
215
|
+
}
|
|
216
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
217
|
+
localVarHeaderParameter = {};
|
|
218
|
+
localVarQueryParameter = {};
|
|
219
|
+
// authentication bearer required
|
|
220
|
+
// http bearer authentication required
|
|
221
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
222
|
+
case 1:
|
|
223
|
+
// authentication bearer required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
_a.sent();
|
|
226
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
227
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
228
|
+
}
|
|
229
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
230
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
231
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
233
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createQrBillDocumentRequestDto, localVarRequestOptions, configuration);
|
|
234
|
+
return [2 /*return*/, {
|
|
235
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
236
|
+
options: localVarRequestOptions,
|
|
237
|
+
}];
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
},
|
|
193
242
|
/**
|
|
194
243
|
* 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\"
|
|
195
244
|
* @summary Delete the document
|
|
@@ -238,6 +287,59 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
238
287
|
});
|
|
239
288
|
});
|
|
240
289
|
},
|
|
290
|
+
/**
|
|
291
|
+
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
292
|
+
* @summary Export internal document
|
|
293
|
+
* @param {string} code Document code
|
|
294
|
+
* @param {ExportDocumentRequestDto} exportDocumentRequestDto
|
|
295
|
+
* @param {string} [authorization] Bearer Token
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
|
|
300
|
+
if (options === void 0) { options = {}; }
|
|
301
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
302
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
303
|
+
return __generator(this, function (_a) {
|
|
304
|
+
switch (_a.label) {
|
|
305
|
+
case 0:
|
|
306
|
+
// verify required parameter 'code' is not null or undefined
|
|
307
|
+
(0, common_1.assertParamExists)('exportDocument', 'code', code);
|
|
308
|
+
// verify required parameter 'exportDocumentRequestDto' is not null or undefined
|
|
309
|
+
(0, common_1.assertParamExists)('exportDocument', 'exportDocumentRequestDto', exportDocumentRequestDto);
|
|
310
|
+
localVarPath = "/documentservice/v1/documents/{code}/export-document"
|
|
311
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
312
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
313
|
+
if (configuration) {
|
|
314
|
+
baseOptions = configuration.baseOptions;
|
|
315
|
+
baseAccessToken = configuration.accessToken;
|
|
316
|
+
}
|
|
317
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
318
|
+
localVarHeaderParameter = {};
|
|
319
|
+
localVarQueryParameter = {};
|
|
320
|
+
// authentication bearer required
|
|
321
|
+
// http bearer authentication required
|
|
322
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
323
|
+
case 1:
|
|
324
|
+
// authentication bearer required
|
|
325
|
+
// http bearer authentication required
|
|
326
|
+
_a.sent();
|
|
327
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
328
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
329
|
+
}
|
|
330
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
331
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
332
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
333
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
334
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(exportDocumentRequestDto, localVarRequestOptions, configuration);
|
|
335
|
+
return [2 /*return*/, {
|
|
336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
337
|
+
options: localVarRequestOptions,
|
|
338
|
+
}];
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
});
|
|
342
|
+
},
|
|
241
343
|
/**
|
|
242
344
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
243
345
|
* @summary Fetches a document download URL
|
|
@@ -417,7 +519,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
417
519
|
});
|
|
418
520
|
},
|
|
419
521
|
/**
|
|
420
|
-
* This will save an external document in the database and return it.
|
|
522
|
+
* 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\"
|
|
421
523
|
* @summary Save external document
|
|
422
524
|
* @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
|
|
423
525
|
* @param {string} [authorization] Bearer Token
|
|
@@ -570,6 +672,27 @@ var DocumentsApiFp = function (configuration) {
|
|
|
570
672
|
});
|
|
571
673
|
});
|
|
572
674
|
},
|
|
675
|
+
/**
|
|
676
|
+
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
677
|
+
* @summary Create the QR bill document
|
|
678
|
+
* @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
|
|
679
|
+
* @param {string} [authorization] Bearer Token
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
|
|
684
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
685
|
+
var localVarAxiosArgs;
|
|
686
|
+
return __generator(this, function (_a) {
|
|
687
|
+
switch (_a.label) {
|
|
688
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createQrBillDocument(createQrBillDocumentRequestDto, authorization, options)];
|
|
689
|
+
case 1:
|
|
690
|
+
localVarAxiosArgs = _a.sent();
|
|
691
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
692
|
+
}
|
|
693
|
+
});
|
|
694
|
+
});
|
|
695
|
+
},
|
|
573
696
|
/**
|
|
574
697
|
* 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\"
|
|
575
698
|
* @summary Delete the document
|
|
@@ -591,6 +714,28 @@ var DocumentsApiFp = function (configuration) {
|
|
|
591
714
|
});
|
|
592
715
|
});
|
|
593
716
|
},
|
|
717
|
+
/**
|
|
718
|
+
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
719
|
+
* @summary Export internal document
|
|
720
|
+
* @param {string} code Document code
|
|
721
|
+
* @param {ExportDocumentRequestDto} exportDocumentRequestDto
|
|
722
|
+
* @param {string} [authorization] Bearer Token
|
|
723
|
+
* @param {*} [options] Override http request option.
|
|
724
|
+
* @throws {RequiredError}
|
|
725
|
+
*/
|
|
726
|
+
exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
|
|
727
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
728
|
+
var localVarAxiosArgs;
|
|
729
|
+
return __generator(this, function (_a) {
|
|
730
|
+
switch (_a.label) {
|
|
731
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportDocument(code, exportDocumentRequestDto, authorization, options)];
|
|
732
|
+
case 1:
|
|
733
|
+
localVarAxiosArgs = _a.sent();
|
|
734
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
735
|
+
}
|
|
736
|
+
});
|
|
737
|
+
});
|
|
738
|
+
},
|
|
594
739
|
/**
|
|
595
740
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
596
741
|
* @summary Fetches a document download URL
|
|
@@ -663,7 +808,7 @@ var DocumentsApiFp = function (configuration) {
|
|
|
663
808
|
});
|
|
664
809
|
},
|
|
665
810
|
/**
|
|
666
|
-
* This will save an external document in the database and return it.
|
|
811
|
+
* 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\"
|
|
667
812
|
* @summary Save external document
|
|
668
813
|
* @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
|
|
669
814
|
* @param {string} [authorization] Bearer Token
|
|
@@ -737,6 +882,17 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
737
882
|
createPresignedPost: function (createPresignedPostRequestDto, authorization, options) {
|
|
738
883
|
return localVarFp.createPresignedPost(createPresignedPostRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
739
884
|
},
|
|
885
|
+
/**
|
|
886
|
+
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
887
|
+
* @summary Create the QR bill document
|
|
888
|
+
* @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
|
|
889
|
+
* @param {string} [authorization] Bearer Token
|
|
890
|
+
* @param {*} [options] Override http request option.
|
|
891
|
+
* @throws {RequiredError}
|
|
892
|
+
*/
|
|
893
|
+
createQrBillDocument: function (createQrBillDocumentRequestDto, authorization, options) {
|
|
894
|
+
return localVarFp.createQrBillDocument(createQrBillDocumentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
895
|
+
},
|
|
740
896
|
/**
|
|
741
897
|
* 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\"
|
|
742
898
|
* @summary Delete the document
|
|
@@ -748,6 +904,18 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
748
904
|
deleteDocument: function (code, authorization, options) {
|
|
749
905
|
return localVarFp.deleteDocument(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
750
906
|
},
|
|
907
|
+
/**
|
|
908
|
+
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
909
|
+
* @summary Export internal document
|
|
910
|
+
* @param {string} code Document code
|
|
911
|
+
* @param {ExportDocumentRequestDto} exportDocumentRequestDto
|
|
912
|
+
* @param {string} [authorization] Bearer Token
|
|
913
|
+
* @param {*} [options] Override http request option.
|
|
914
|
+
* @throws {RequiredError}
|
|
915
|
+
*/
|
|
916
|
+
exportDocument: function (code, exportDocumentRequestDto, authorization, options) {
|
|
917
|
+
return localVarFp.exportDocument(code, exportDocumentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
918
|
+
},
|
|
751
919
|
/**
|
|
752
920
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
753
921
|
* @summary Fetches a document download URL
|
|
@@ -790,7 +958,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
790
958
|
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
791
959
|
},
|
|
792
960
|
/**
|
|
793
|
-
* This will save an external document in the database and return it.
|
|
961
|
+
* 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\"
|
|
794
962
|
* @summary Save external document
|
|
795
963
|
* @param {SaveExternalDocumentRequestDto} saveExternalDocumentRequestDto
|
|
796
964
|
* @param {string} [authorization] Bearer Token
|
|
@@ -850,6 +1018,18 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
850
1018
|
var _this = this;
|
|
851
1019
|
return (0, exports.DocumentsApiFp)(this.configuration).createPresignedPost(requestParameters.createPresignedPostRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
852
1020
|
};
|
|
1021
|
+
/**
|
|
1022
|
+
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
1023
|
+
* @summary Create the QR bill document
|
|
1024
|
+
* @param {DocumentsApiCreateQrBillDocumentRequest} requestParameters Request parameters.
|
|
1025
|
+
* @param {*} [options] Override http request option.
|
|
1026
|
+
* @throws {RequiredError}
|
|
1027
|
+
* @memberof DocumentsApi
|
|
1028
|
+
*/
|
|
1029
|
+
DocumentsApi.prototype.createQrBillDocument = function (requestParameters, options) {
|
|
1030
|
+
var _this = this;
|
|
1031
|
+
return (0, exports.DocumentsApiFp)(this.configuration).createQrBillDocument(requestParameters.createQrBillDocumentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1032
|
+
};
|
|
853
1033
|
/**
|
|
854
1034
|
* 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\"
|
|
855
1035
|
* @summary Delete the document
|
|
@@ -862,6 +1042,18 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
862
1042
|
var _this = this;
|
|
863
1043
|
return (0, exports.DocumentsApiFp)(this.configuration).deleteDocument(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
864
1044
|
};
|
|
1045
|
+
/**
|
|
1046
|
+
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
1047
|
+
* @summary Export internal document
|
|
1048
|
+
* @param {DocumentsApiExportDocumentRequest} requestParameters Request parameters.
|
|
1049
|
+
* @param {*} [options] Override http request option.
|
|
1050
|
+
* @throws {RequiredError}
|
|
1051
|
+
* @memberof DocumentsApi
|
|
1052
|
+
*/
|
|
1053
|
+
DocumentsApi.prototype.exportDocument = function (requestParameters, options) {
|
|
1054
|
+
var _this = this;
|
|
1055
|
+
return (0, exports.DocumentsApiFp)(this.configuration).exportDocument(requestParameters.code, requestParameters.exportDocumentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1056
|
+
};
|
|
865
1057
|
/**
|
|
866
1058
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
867
1059
|
* @summary Fetches a document download URL
|
|
@@ -900,7 +1092,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
900
1092
|
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); });
|
|
901
1093
|
};
|
|
902
1094
|
/**
|
|
903
|
-
* This will save an external document in the database and return it.
|
|
1095
|
+
* 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\"
|
|
904
1096
|
* @summary Save external document
|
|
905
1097
|
* @param {DocumentsApiSaveExternalDocumentRequest} requestParameters Request parameters.
|
|
906
1098
|
* @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 });
|