@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
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { QrBillingEntityDto } from './qr-billing-entity-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateQrBillDocumentRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateQrBillDocumentRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Payment amount
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CreateQrBillDocumentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'amount': number;
|
|
30
|
+
/**
|
|
31
|
+
* Debtor information
|
|
32
|
+
* @type {QrBillingEntityDto}
|
|
33
|
+
* @memberof CreateQrBillDocumentRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'debtor': QrBillingEntityDto;
|
|
36
|
+
/**
|
|
37
|
+
* Payment message or reference
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateQrBillDocumentRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'message': string;
|
|
42
|
+
/**
|
|
43
|
+
* Creditor information
|
|
44
|
+
* @type {QrBillingEntityDto}
|
|
45
|
+
* @memberof CreateQrBillDocumentRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'creditor': QrBillingEntityDto;
|
|
48
|
+
/**
|
|
49
|
+
* Currency
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateQrBillDocumentRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'currency': CreateQrBillDocumentRequestDtoCurrencyEnum;
|
|
54
|
+
/**
|
|
55
|
+
* QR reference number
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateQrBillDocumentRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'reference': string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export const CreateQrBillDocumentRequestDtoCurrencyEnum = {
|
|
63
|
+
Chf: 'CHF',
|
|
64
|
+
Eur: 'EUR'
|
|
65
|
+
} as const;
|
|
66
|
+
|
|
67
|
+
export type CreateQrBillDocumentRequestDtoCurrencyEnum = typeof CreateQrBillDocumentRequestDtoCurrencyEnum[keyof typeof CreateQrBillDocumentRequestDtoCurrencyEnum];
|
|
68
|
+
|
|
69
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ExportDocumentRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ExportDocumentRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The key to the tenant setting which holds additional request data
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ExportDocumentRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'requestConfigKey': string;
|
|
29
|
+
/**
|
|
30
|
+
* The additional url path that should be appended to the base URL found in the tenant settings
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ExportDocumentRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'relativeUrl'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The bearer token to be used to authenticate the request. Yo do not need to include text \'Bearer\'
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ExportDocumentRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'customToken': string;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the key to be used to attach the file as form-data
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ExportDocumentRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'fileKey': string;
|
|
47
|
+
/**
|
|
48
|
+
* Additional form data to attach to the POST request
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof ExportDocumentRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'additionalFormData'?: object;
|
|
53
|
+
/**
|
|
54
|
+
* Additional headers to attach to the POST request
|
|
55
|
+
* @type {object}
|
|
56
|
+
* @memberof ExportDocumentRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'additionalHeaders'?: object;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ExportDocumentResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ExportDocumentResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* The status returned from the POST request
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ExportDocumentResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'status': number;
|
|
29
|
+
/**
|
|
30
|
+
* The response body returned from the POST request
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof ExportDocumentResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'body': object;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/index.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';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface QrBillingEntityDto
|
|
21
|
+
*/
|
|
22
|
+
export interface QrBillingEntityDto {
|
|
23
|
+
/**
|
|
24
|
+
* ZIP code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof QrBillingEntityDto
|
|
27
|
+
*/
|
|
28
|
+
'zip': string;
|
|
29
|
+
/**
|
|
30
|
+
* City name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof QrBillingEntityDto
|
|
33
|
+
*/
|
|
34
|
+
'city': string;
|
|
35
|
+
/**
|
|
36
|
+
* Name of the entity
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof QrBillingEntityDto
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* Street address
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof QrBillingEntityDto
|
|
45
|
+
*/
|
|
46
|
+
'address': string;
|
|
47
|
+
/**
|
|
48
|
+
* Country code (ISO 3166-1 alpha-2)
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof QrBillingEntityDto
|
|
51
|
+
*/
|
|
52
|
+
'country': string;
|
|
53
|
+
/**
|
|
54
|
+
* Building number
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof QrBillingEntityDto
|
|
57
|
+
*/
|
|
58
|
+
'buildingNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* IBAN account number
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof QrBillingEntityDto
|
|
63
|
+
*/
|
|
64
|
+
'account': string;
|
|
65
|
+
}
|
|
66
|
+
|