@emilgroup/payment-sdk-node 1.23.1-beta.35 → 1.23.1-beta.36
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 +7 -0
- package/README.md +2 -2
- package/api/payment-receipts-api.ts +680 -0
- package/api.ts +2 -0
- package/dist/api/payment-receipts-api.d.ts +383 -0
- package/dist/api/payment-receipts-api.js +641 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-payment-receipt-request-dto.d.ts +54 -0
- package/dist/models/create-payment-receipt-request-dto.js +15 -0
- package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/create-payment-receipt-response-class.js +15 -0
- package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/get-payment-receipt-response-class.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
- package/dist/models/list-payment-receipts-response-class.js +15 -0
- package/dist/models/payment-receipt-class.d.ts +90 -0
- package/dist/models/payment-receipt-class.js +15 -0
- package/dist/models/payment-request-class.d.ts +7 -0
- package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/update-payment-receipt-response-class.js +15 -0
- package/models/create-payment-receipt-request-dto.ts +60 -0
- package/models/create-payment-receipt-response-class.ts +31 -0
- package/models/get-payment-receipt-response-class.ts +31 -0
- package/models/index.ts +6 -0
- package/models/list-payment-receipts-response-class.ts +49 -0
- package/models/payment-receipt-class.ts +96 -0
- package/models/payment-request-class.ts +7 -0
- package/models/update-payment-receipt-response-class.ts +31 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -36,6 +36,7 @@ __exportStar(require("./api/exceeding-credits-api"), exports);
|
|
|
36
36
|
__exportStar(require("./api/health-check-api"), exports);
|
|
37
37
|
__exportStar(require("./api/ibanvalidator-api"), exports);
|
|
38
38
|
__exportStar(require("./api/payment-methods-api"), exports);
|
|
39
|
+
__exportStar(require("./api/payment-receipts-api"), exports);
|
|
39
40
|
__exportStar(require("./api/payment-reminders-api"), exports);
|
|
40
41
|
__exportStar(require("./api/payment-requests-api"), exports);
|
|
41
42
|
__exportStar(require("./api/payment-setup-api"), exports);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 CreatePaymentReceiptRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentReceiptRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* amount
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* currency
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'currency': string;
|
|
30
|
+
/**
|
|
31
|
+
* direction
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'direction': string;
|
|
36
|
+
/**
|
|
37
|
+
* paymentRequestCode
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'paymentRequestCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* psp
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'psp'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* comment
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'comment'?: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePaymentReceiptResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePaymentReceiptResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created payment receipt with all its details.
|
|
21
|
+
* @type {PaymentReceiptClass}
|
|
22
|
+
* @memberof CreatePaymentReceiptResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetPaymentReceiptResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPaymentReceiptResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The payment receipt retrieved by its code.
|
|
21
|
+
* @type {PaymentReceiptClass}
|
|
22
|
+
* @memberof GetPaymentReceiptResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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
|
@@ -34,6 +34,8 @@ export * from './create-credit-allocation-response-class';
|
|
|
34
34
|
export * from './create-payment-method-response-class';
|
|
35
35
|
export * from './create-payment-order-dto';
|
|
36
36
|
export * from './create-payment-order-request-dto';
|
|
37
|
+
export * from './create-payment-receipt-request-dto';
|
|
38
|
+
export * from './create-payment-receipt-response-class';
|
|
37
39
|
export * from './create-payment-reminder-request-dto';
|
|
38
40
|
export * from './create-payment-reminder-response-class';
|
|
39
41
|
export * from './create-payment-request-dto';
|
|
@@ -66,6 +68,7 @@ export * from './get-billing-address-response-class';
|
|
|
66
68
|
export * from './get-credit-allocation-response-class';
|
|
67
69
|
export * from './get-exceeding-credit-response-class';
|
|
68
70
|
export * from './get-payment-method-response-class';
|
|
71
|
+
export * from './get-payment-receipt-response-class';
|
|
69
72
|
export * from './get-payment-reminder-response-class';
|
|
70
73
|
export * from './get-payment-request-response-class';
|
|
71
74
|
export * from './get-payment-response-class';
|
|
@@ -96,6 +99,7 @@ export * from './list-billing-addresses-response-class';
|
|
|
96
99
|
export * from './list-credit-allocations-response-class';
|
|
97
100
|
export * from './list-exceeding-credits-response-class';
|
|
98
101
|
export * from './list-payment-methods-response-class';
|
|
102
|
+
export * from './list-payment-receipts-response-class';
|
|
99
103
|
export * from './list-payment-reminders-response-class';
|
|
100
104
|
export * from './list-payment-requests-response-class';
|
|
101
105
|
export * from './list-payments-response-class';
|
|
@@ -110,6 +114,7 @@ export * from './payment-class';
|
|
|
110
114
|
export * from './payment-class-without-expand-properties';
|
|
111
115
|
export * from './payment-entity';
|
|
112
116
|
export * from './payment-method-class';
|
|
117
|
+
export * from './payment-receipt-class';
|
|
113
118
|
export * from './payment-reminder-class';
|
|
114
119
|
export * from './payment-request-class';
|
|
115
120
|
export * from './payout-method-class';
|
|
@@ -136,6 +141,7 @@ export * from './update-bank-order-request-dto';
|
|
|
136
141
|
export * from './update-bank-order-response-class';
|
|
137
142
|
export * from './update-billing-address-request-dto';
|
|
138
143
|
export * from './update-billing-address-response-class';
|
|
144
|
+
export * from './update-payment-receipt-response-class';
|
|
139
145
|
export * from './update-payment-request-request-dto';
|
|
140
146
|
export * from './update-payment-request-response-class';
|
|
141
147
|
export * from './update-tenant-bank-account-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -50,6 +50,8 @@ __exportStar(require("./create-credit-allocation-response-class"), exports);
|
|
|
50
50
|
__exportStar(require("./create-payment-method-response-class"), exports);
|
|
51
51
|
__exportStar(require("./create-payment-order-dto"), exports);
|
|
52
52
|
__exportStar(require("./create-payment-order-request-dto"), exports);
|
|
53
|
+
__exportStar(require("./create-payment-receipt-request-dto"), exports);
|
|
54
|
+
__exportStar(require("./create-payment-receipt-response-class"), exports);
|
|
53
55
|
__exportStar(require("./create-payment-reminder-request-dto"), exports);
|
|
54
56
|
__exportStar(require("./create-payment-reminder-response-class"), exports);
|
|
55
57
|
__exportStar(require("./create-payment-request-dto"), exports);
|
|
@@ -82,6 +84,7 @@ __exportStar(require("./get-billing-address-response-class"), exports);
|
|
|
82
84
|
__exportStar(require("./get-credit-allocation-response-class"), exports);
|
|
83
85
|
__exportStar(require("./get-exceeding-credit-response-class"), exports);
|
|
84
86
|
__exportStar(require("./get-payment-method-response-class"), exports);
|
|
87
|
+
__exportStar(require("./get-payment-receipt-response-class"), exports);
|
|
85
88
|
__exportStar(require("./get-payment-reminder-response-class"), exports);
|
|
86
89
|
__exportStar(require("./get-payment-request-response-class"), exports);
|
|
87
90
|
__exportStar(require("./get-payment-response-class"), exports);
|
|
@@ -112,6 +115,7 @@ __exportStar(require("./list-billing-addresses-response-class"), exports);
|
|
|
112
115
|
__exportStar(require("./list-credit-allocations-response-class"), exports);
|
|
113
116
|
__exportStar(require("./list-exceeding-credits-response-class"), exports);
|
|
114
117
|
__exportStar(require("./list-payment-methods-response-class"), exports);
|
|
118
|
+
__exportStar(require("./list-payment-receipts-response-class"), exports);
|
|
115
119
|
__exportStar(require("./list-payment-reminders-response-class"), exports);
|
|
116
120
|
__exportStar(require("./list-payment-requests-response-class"), exports);
|
|
117
121
|
__exportStar(require("./list-payments-response-class"), exports);
|
|
@@ -126,6 +130,7 @@ __exportStar(require("./payment-class"), exports);
|
|
|
126
130
|
__exportStar(require("./payment-class-without-expand-properties"), exports);
|
|
127
131
|
__exportStar(require("./payment-entity"), exports);
|
|
128
132
|
__exportStar(require("./payment-method-class"), exports);
|
|
133
|
+
__exportStar(require("./payment-receipt-class"), exports);
|
|
129
134
|
__exportStar(require("./payment-reminder-class"), exports);
|
|
130
135
|
__exportStar(require("./payment-request-class"), exports);
|
|
131
136
|
__exportStar(require("./payout-method-class"), exports);
|
|
@@ -152,6 +157,7 @@ __exportStar(require("./update-bank-order-request-dto"), exports);
|
|
|
152
157
|
__exportStar(require("./update-bank-order-response-class"), exports);
|
|
153
158
|
__exportStar(require("./update-billing-address-request-dto"), exports);
|
|
154
159
|
__exportStar(require("./update-billing-address-response-class"), exports);
|
|
160
|
+
__exportStar(require("./update-payment-receipt-response-class"), exports);
|
|
155
161
|
__exportStar(require("./update-payment-request-request-dto"), exports);
|
|
156
162
|
__exportStar(require("./update-payment-request-response-class"), exports);
|
|
157
163
|
__exportStar(require("./update-tenant-bank-account-response-class"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPaymentReceiptsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPaymentReceiptsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of payment receipts.
|
|
21
|
+
* @type {Array<PaymentReceiptClass>}
|
|
22
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PaymentReceiptClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 PaymentReceiptClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentReceiptClass {
|
|
18
|
+
/**
|
|
19
|
+
* id
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PaymentReceiptClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PaymentReceiptClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* amount in cents.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PaymentReceiptClass
|
|
34
|
+
*/
|
|
35
|
+
'amount': number;
|
|
36
|
+
/**
|
|
37
|
+
* currency
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PaymentReceiptClass
|
|
40
|
+
*/
|
|
41
|
+
'currency': string;
|
|
42
|
+
/**
|
|
43
|
+
* The receipt direction. Collect for incoming payments, Disburse for outgoing payments.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentReceiptClass
|
|
46
|
+
*/
|
|
47
|
+
'direction': string;
|
|
48
|
+
/**
|
|
49
|
+
* The code of the payment request associated with the payment receipt.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentReceiptClass
|
|
52
|
+
*/
|
|
53
|
+
'paymentRequestCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The payment service provider that produced the payment receipt.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PaymentReceiptClass
|
|
58
|
+
*/
|
|
59
|
+
'psp'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* An optional comment associated with the payment receipt.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentReceiptClass
|
|
64
|
+
*/
|
|
65
|
+
'comment'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was created.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentReceiptClass
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was updated.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentReceiptClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
/**
|
|
79
|
+
* Identifier of the user who created the record.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PaymentReceiptClass
|
|
82
|
+
*/
|
|
83
|
+
'createdBy': string;
|
|
84
|
+
/**
|
|
85
|
+
* Identifier of the user who last updated the record.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PaymentReceiptClass
|
|
88
|
+
*/
|
|
89
|
+
'updatedBy': string;
|
|
90
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -117,6 +118,12 @@ export interface PaymentRequestClass {
|
|
|
117
118
|
* @memberof PaymentRequestClass
|
|
118
119
|
*/
|
|
119
120
|
'metadata'?: object;
|
|
121
|
+
/**
|
|
122
|
+
* The list of payment receipts.
|
|
123
|
+
* @type {Array<PaymentReceiptClass>}
|
|
124
|
+
* @memberof PaymentRequestClass
|
|
125
|
+
*/
|
|
126
|
+
'paymentReceipts': Array<PaymentReceiptClass>;
|
|
120
127
|
}
|
|
121
128
|
export declare const PaymentRequestClassDirectionEnum: {
|
|
122
129
|
readonly Collect: "collect";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdatePaymentReceiptResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdatePaymentReceiptResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The updated payment receipt.
|
|
21
|
+
* @type {PaymentReceiptClass}
|
|
22
|
+
* @memberof UpdatePaymentReceiptResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 CreatePaymentReceiptRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePaymentReceiptRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* amount
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'amount': number;
|
|
29
|
+
/**
|
|
30
|
+
* currency
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'currency': string;
|
|
35
|
+
/**
|
|
36
|
+
* direction
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'direction': string;
|
|
41
|
+
/**
|
|
42
|
+
* paymentRequestCode
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'paymentRequestCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* psp
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'psp'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* comment
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'comment'?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePaymentReceiptResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePaymentReceiptResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created payment receipt with all its details.
|
|
26
|
+
* @type {PaymentReceiptClass}
|
|
27
|
+
* @memberof CreatePaymentReceiptResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPaymentReceiptResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPaymentReceiptResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payment receipt retrieved by its code.
|
|
26
|
+
* @type {PaymentReceiptClass}
|
|
27
|
+
* @memberof GetPaymentReceiptResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -34,6 +34,8 @@ export * from './create-credit-allocation-response-class';
|
|
|
34
34
|
export * from './create-payment-method-response-class';
|
|
35
35
|
export * from './create-payment-order-dto';
|
|
36
36
|
export * from './create-payment-order-request-dto';
|
|
37
|
+
export * from './create-payment-receipt-request-dto';
|
|
38
|
+
export * from './create-payment-receipt-response-class';
|
|
37
39
|
export * from './create-payment-reminder-request-dto';
|
|
38
40
|
export * from './create-payment-reminder-response-class';
|
|
39
41
|
export * from './create-payment-request-dto';
|
|
@@ -66,6 +68,7 @@ export * from './get-billing-address-response-class';
|
|
|
66
68
|
export * from './get-credit-allocation-response-class';
|
|
67
69
|
export * from './get-exceeding-credit-response-class';
|
|
68
70
|
export * from './get-payment-method-response-class';
|
|
71
|
+
export * from './get-payment-receipt-response-class';
|
|
69
72
|
export * from './get-payment-reminder-response-class';
|
|
70
73
|
export * from './get-payment-request-response-class';
|
|
71
74
|
export * from './get-payment-response-class';
|
|
@@ -96,6 +99,7 @@ export * from './list-billing-addresses-response-class';
|
|
|
96
99
|
export * from './list-credit-allocations-response-class';
|
|
97
100
|
export * from './list-exceeding-credits-response-class';
|
|
98
101
|
export * from './list-payment-methods-response-class';
|
|
102
|
+
export * from './list-payment-receipts-response-class';
|
|
99
103
|
export * from './list-payment-reminders-response-class';
|
|
100
104
|
export * from './list-payment-requests-response-class';
|
|
101
105
|
export * from './list-payments-response-class';
|
|
@@ -110,6 +114,7 @@ export * from './payment-class';
|
|
|
110
114
|
export * from './payment-class-without-expand-properties';
|
|
111
115
|
export * from './payment-entity';
|
|
112
116
|
export * from './payment-method-class';
|
|
117
|
+
export * from './payment-receipt-class';
|
|
113
118
|
export * from './payment-reminder-class';
|
|
114
119
|
export * from './payment-request-class';
|
|
115
120
|
export * from './payout-method-class';
|
|
@@ -136,6 +141,7 @@ export * from './update-bank-order-request-dto';
|
|
|
136
141
|
export * from './update-bank-order-response-class';
|
|
137
142
|
export * from './update-billing-address-request-dto';
|
|
138
143
|
export * from './update-billing-address-response-class';
|
|
144
|
+
export * from './update-payment-receipt-response-class';
|
|
139
145
|
export * from './update-payment-request-request-dto';
|
|
140
146
|
export * from './update-payment-request-response-class';
|
|
141
147
|
export * from './update-tenant-bank-account-response-class';
|