@emilgroup/payment-sdk-node 1.22.1-beta.94 → 1.23.1-beta.10
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 +8 -0
- package/README.md +2 -2
- package/api/payment-requests-api.ts +697 -0
- package/api.ts +2 -0
- package/dist/api/payment-requests-api.d.ts +393 -0
- package/dist/api/payment-requests-api.js +648 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-payment-request-request-dto.d.ts +72 -0
- package/dist/models/create-payment-request-request-dto.js +26 -0
- package/dist/models/create-payment-request-response-class.d.ts +25 -0
- package/dist/models/create-payment-request-response-class.js +15 -0
- package/dist/models/get-payment-request-response-class.d.ts +25 -0
- package/dist/models/get-payment-request-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-payment-requests-response-class.d.ts +31 -0
- package/dist/models/list-payment-requests-response-class.js +15 -0
- package/dist/models/payment-request-class.d.ts +111 -0
- package/dist/models/payment-request-class.js +34 -0
- package/dist/models/update-payment-request-request-dto.d.ts +39 -0
- package/dist/models/update-payment-request-request-dto.js +24 -0
- package/dist/models/update-payment-request-response-class.d.ts +25 -0
- package/dist/models/update-payment-request-response-class.js +15 -0
- package/models/create-payment-request-request-dto.ts +82 -0
- package/models/create-payment-request-response-class.ts +31 -0
- package/models/get-payment-request-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/list-payment-requests-response-class.ts +37 -0
- package/models/payment-request-class.ts +122 -0
- package/models/update-payment-request-request-dto.ts +48 -0
- package/models/update-payment-request-response-class.ts +31 -0
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './api/exceeding-credits-api';
|
|
|
18
18
|
export * from './api/health-check-api';
|
|
19
19
|
export * from './api/payment-methods-api';
|
|
20
20
|
export * from './api/payment-reminders-api';
|
|
21
|
+
export * from './api/payment-requests-api';
|
|
21
22
|
export * from './api/payment-setup-api';
|
|
22
23
|
export * from './api/payments-api';
|
|
23
24
|
export * from './api/payout-methods-api';
|
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/payment-methods-api"), exports);
|
|
38
38
|
__exportStar(require("./api/payment-reminders-api"), exports);
|
|
39
|
+
__exportStar(require("./api/payment-requests-api"), exports);
|
|
39
40
|
__exportStar(require("./api/payment-setup-api"), exports);
|
|
40
41
|
__exportStar(require("./api/payments-api"), exports);
|
|
41
42
|
__exportStar(require("./api/payout-methods-api"), exports);
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CreatePaymentRequestRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentRequestRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Payment amount in cents. 100 to charge 1€.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* Currency code for the payment request.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'currency': string;
|
|
30
|
+
/**
|
|
31
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'direction': CreatePaymentRequestRequestDtoDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Code of the source entity (e.g., invoice code, claim code) that this payment request is associated with.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'sourceEntityCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Type of the payment request. Defines the business context or purpose of the payment.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'type': CreatePaymentRequestRequestDtoTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'paymentMethodCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Optional field containing extra information about the payment request.
|
|
56
|
+
* @type {object}
|
|
57
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'metadata'?: object;
|
|
60
|
+
}
|
|
61
|
+
export declare const CreatePaymentRequestRequestDtoDirectionEnum: {
|
|
62
|
+
readonly Collect: "collect";
|
|
63
|
+
readonly Disburse: "disburse";
|
|
64
|
+
};
|
|
65
|
+
export type CreatePaymentRequestRequestDtoDirectionEnum = typeof CreatePaymentRequestRequestDtoDirectionEnum[keyof typeof CreatePaymentRequestRequestDtoDirectionEnum];
|
|
66
|
+
export declare const CreatePaymentRequestRequestDtoTypeEnum: {
|
|
67
|
+
readonly Other: "other";
|
|
68
|
+
readonly Claim: "claim";
|
|
69
|
+
readonly Premium: "premium";
|
|
70
|
+
readonly Commission: "commission";
|
|
71
|
+
};
|
|
72
|
+
export type CreatePaymentRequestRequestDtoTypeEnum = typeof CreatePaymentRequestRequestDtoTypeEnum[keyof typeof CreatePaymentRequestRequestDtoTypeEnum];
|
|
@@ -0,0 +1,26 @@
|
|
|
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 });
|
|
16
|
+
exports.CreatePaymentRequestRequestDtoTypeEnum = exports.CreatePaymentRequestRequestDtoDirectionEnum = void 0;
|
|
17
|
+
exports.CreatePaymentRequestRequestDtoDirectionEnum = {
|
|
18
|
+
Collect: 'collect',
|
|
19
|
+
Disburse: 'disburse'
|
|
20
|
+
};
|
|
21
|
+
exports.CreatePaymentRequestRequestDtoTypeEnum = {
|
|
22
|
+
Other: 'other',
|
|
23
|
+
Claim: 'claim',
|
|
24
|
+
Premium: 'premium',
|
|
25
|
+
Commission: 'commission'
|
|
26
|
+
};
|
|
@@ -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 { PaymentRequestClass } from './payment-request-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePaymentRequestResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePaymentRequestResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created payment request with all its details.
|
|
21
|
+
* @type {PaymentRequestClass}
|
|
22
|
+
* @memberof CreatePaymentRequestResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentRequest': PaymentRequestClass;
|
|
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 { PaymentRequestClass } from './payment-request-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetPaymentRequestResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPaymentRequestResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The payment request retrieved by its code.
|
|
21
|
+
* @type {PaymentRequestClass}
|
|
22
|
+
* @memberof GetPaymentRequestResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentRequest': PaymentRequestClass;
|
|
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
|
@@ -36,6 +36,8 @@ export * from './create-payment-order-request-dto';
|
|
|
36
36
|
export * from './create-payment-reminder-request-dto';
|
|
37
37
|
export * from './create-payment-reminder-response-class';
|
|
38
38
|
export * from './create-payment-request-dto';
|
|
39
|
+
export * from './create-payment-request-request-dto';
|
|
40
|
+
export * from './create-payment-request-response-class';
|
|
39
41
|
export * from './create-payment-response-class';
|
|
40
42
|
export * from './create-payout-method-request-dto';
|
|
41
43
|
export * from './create-payout-method-response-class';
|
|
@@ -63,6 +65,7 @@ export * from './get-credit-allocation-response-class';
|
|
|
63
65
|
export * from './get-exceeding-credit-response-class';
|
|
64
66
|
export * from './get-payment-method-response-class';
|
|
65
67
|
export * from './get-payment-reminder-response-class';
|
|
68
|
+
export * from './get-payment-request-response-class';
|
|
66
69
|
export * from './get-payment-response-class';
|
|
67
70
|
export * from './get-payout-method-response-class';
|
|
68
71
|
export * from './get-refund-response-class';
|
|
@@ -92,6 +95,7 @@ export * from './list-credit-allocations-response-class';
|
|
|
92
95
|
export * from './list-exceeding-credits-response-class';
|
|
93
96
|
export * from './list-payment-methods-response-class';
|
|
94
97
|
export * from './list-payment-reminders-response-class';
|
|
98
|
+
export * from './list-payment-requests-response-class';
|
|
95
99
|
export * from './list-payments-response-class';
|
|
96
100
|
export * from './list-payout-methods-response-class';
|
|
97
101
|
export * from './list-policy-payment-methods-response-class';
|
|
@@ -105,6 +109,7 @@ export * from './payment-class-without-expand-properties';
|
|
|
105
109
|
export * from './payment-entity';
|
|
106
110
|
export * from './payment-method-class';
|
|
107
111
|
export * from './payment-reminder-class';
|
|
112
|
+
export * from './payment-request-class';
|
|
108
113
|
export * from './payout-method-class';
|
|
109
114
|
export * from './policy-payment-method-class';
|
|
110
115
|
export * from './primary-bank-account-response-class';
|
|
@@ -129,6 +134,8 @@ export * from './update-bank-order-request-dto';
|
|
|
129
134
|
export * from './update-bank-order-response-class';
|
|
130
135
|
export * from './update-billing-address-request-dto';
|
|
131
136
|
export * from './update-billing-address-response-class';
|
|
137
|
+
export * from './update-payment-request-request-dto';
|
|
138
|
+
export * from './update-payment-request-response-class';
|
|
132
139
|
export * from './update-tenant-bank-account-response-class';
|
|
133
140
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
134
141
|
export * from './validate-pspconfig-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -52,6 +52,8 @@ __exportStar(require("./create-payment-order-request-dto"), exports);
|
|
|
52
52
|
__exportStar(require("./create-payment-reminder-request-dto"), exports);
|
|
53
53
|
__exportStar(require("./create-payment-reminder-response-class"), exports);
|
|
54
54
|
__exportStar(require("./create-payment-request-dto"), exports);
|
|
55
|
+
__exportStar(require("./create-payment-request-request-dto"), exports);
|
|
56
|
+
__exportStar(require("./create-payment-request-response-class"), exports);
|
|
55
57
|
__exportStar(require("./create-payment-response-class"), exports);
|
|
56
58
|
__exportStar(require("./create-payout-method-request-dto"), exports);
|
|
57
59
|
__exportStar(require("./create-payout-method-response-class"), exports);
|
|
@@ -79,6 +81,7 @@ __exportStar(require("./get-credit-allocation-response-class"), exports);
|
|
|
79
81
|
__exportStar(require("./get-exceeding-credit-response-class"), exports);
|
|
80
82
|
__exportStar(require("./get-payment-method-response-class"), exports);
|
|
81
83
|
__exportStar(require("./get-payment-reminder-response-class"), exports);
|
|
84
|
+
__exportStar(require("./get-payment-request-response-class"), exports);
|
|
82
85
|
__exportStar(require("./get-payment-response-class"), exports);
|
|
83
86
|
__exportStar(require("./get-payout-method-response-class"), exports);
|
|
84
87
|
__exportStar(require("./get-refund-response-class"), exports);
|
|
@@ -108,6 +111,7 @@ __exportStar(require("./list-credit-allocations-response-class"), exports);
|
|
|
108
111
|
__exportStar(require("./list-exceeding-credits-response-class"), exports);
|
|
109
112
|
__exportStar(require("./list-payment-methods-response-class"), exports);
|
|
110
113
|
__exportStar(require("./list-payment-reminders-response-class"), exports);
|
|
114
|
+
__exportStar(require("./list-payment-requests-response-class"), exports);
|
|
111
115
|
__exportStar(require("./list-payments-response-class"), exports);
|
|
112
116
|
__exportStar(require("./list-payout-methods-response-class"), exports);
|
|
113
117
|
__exportStar(require("./list-policy-payment-methods-response-class"), exports);
|
|
@@ -121,6 +125,7 @@ __exportStar(require("./payment-class-without-expand-properties"), exports);
|
|
|
121
125
|
__exportStar(require("./payment-entity"), exports);
|
|
122
126
|
__exportStar(require("./payment-method-class"), exports);
|
|
123
127
|
__exportStar(require("./payment-reminder-class"), exports);
|
|
128
|
+
__exportStar(require("./payment-request-class"), exports);
|
|
124
129
|
__exportStar(require("./payout-method-class"), exports);
|
|
125
130
|
__exportStar(require("./policy-payment-method-class"), exports);
|
|
126
131
|
__exportStar(require("./primary-bank-account-response-class"), exports);
|
|
@@ -145,6 +150,8 @@ __exportStar(require("./update-bank-order-request-dto"), exports);
|
|
|
145
150
|
__exportStar(require("./update-bank-order-response-class"), exports);
|
|
146
151
|
__exportStar(require("./update-billing-address-request-dto"), exports);
|
|
147
152
|
__exportStar(require("./update-billing-address-response-class"), exports);
|
|
153
|
+
__exportStar(require("./update-payment-request-request-dto"), exports);
|
|
154
|
+
__exportStar(require("./update-payment-request-response-class"), exports);
|
|
148
155
|
__exportStar(require("./update-tenant-bank-account-response-class"), exports);
|
|
149
156
|
__exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
|
|
150
157
|
__exportStar(require("./validate-pspconfig-request-dto"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { PaymentRequestClass } from './payment-request-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPaymentRequestsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPaymentRequestsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of payment requests.
|
|
21
|
+
* @type {Array<PaymentRequestClass>}
|
|
22
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PaymentRequestClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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,111 @@
|
|
|
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 PaymentRequestClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentRequestClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PaymentRequestClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PaymentRequestClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Payment amount in cents. 100 represents 1€.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PaymentRequestClass
|
|
34
|
+
*/
|
|
35
|
+
'amount': number;
|
|
36
|
+
/**
|
|
37
|
+
* Currency code for the payment request.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PaymentRequestClass
|
|
40
|
+
*/
|
|
41
|
+
'currency': string;
|
|
42
|
+
/**
|
|
43
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentRequestClass
|
|
46
|
+
*/
|
|
47
|
+
'direction': PaymentRequestClassDirectionEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Code of the source entity (e.g., invoice code, claim code) that this payment request is associated with.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentRequestClass
|
|
52
|
+
*/
|
|
53
|
+
'sourceEntityCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Type of the payment request. Defines the business context or purpose of the payment.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PaymentRequestClass
|
|
58
|
+
*/
|
|
59
|
+
'type': PaymentRequestClassTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Current status of the payment request. Valid statuses: open, approved, pending, succeeded, failed, withdrawn.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentRequestClass
|
|
64
|
+
*/
|
|
65
|
+
'status': PaymentRequestClassStatusEnum;
|
|
66
|
+
/**
|
|
67
|
+
* Code of the payment method used for this payment request.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentRequestClass
|
|
70
|
+
*/
|
|
71
|
+
'paymentMethodCode'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Type of the payment method (e.g., sepa_debit, credit_card, bank_transfer).
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentRequestClass
|
|
76
|
+
*/
|
|
77
|
+
'paymentMethodType'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Payment Service Provider (PSP) used for processing the payment (e.g., stripe, braintree, adyen, eis).
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PaymentRequestClass
|
|
82
|
+
*/
|
|
83
|
+
'paymentMethodPsp'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Optional field containing extra information about the payment request.
|
|
86
|
+
* @type {object}
|
|
87
|
+
* @memberof PaymentRequestClass
|
|
88
|
+
*/
|
|
89
|
+
'metadata'?: object;
|
|
90
|
+
}
|
|
91
|
+
export declare const PaymentRequestClassDirectionEnum: {
|
|
92
|
+
readonly Collect: "collect";
|
|
93
|
+
readonly Disburse: "disburse";
|
|
94
|
+
};
|
|
95
|
+
export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirectionEnum[keyof typeof PaymentRequestClassDirectionEnum];
|
|
96
|
+
export declare const PaymentRequestClassTypeEnum: {
|
|
97
|
+
readonly Other: "other";
|
|
98
|
+
readonly Claim: "claim";
|
|
99
|
+
readonly Premium: "premium";
|
|
100
|
+
readonly Commission: "commission";
|
|
101
|
+
};
|
|
102
|
+
export type PaymentRequestClassTypeEnum = typeof PaymentRequestClassTypeEnum[keyof typeof PaymentRequestClassTypeEnum];
|
|
103
|
+
export declare const PaymentRequestClassStatusEnum: {
|
|
104
|
+
readonly Open: "open";
|
|
105
|
+
readonly Approved: "approved";
|
|
106
|
+
readonly Pending: "pending";
|
|
107
|
+
readonly Succeeded: "succeeded";
|
|
108
|
+
readonly Failed: "failed";
|
|
109
|
+
readonly Withdrawn: "withdrawn";
|
|
110
|
+
};
|
|
111
|
+
export type PaymentRequestClassStatusEnum = typeof PaymentRequestClassStatusEnum[keyof typeof PaymentRequestClassStatusEnum];
|
|
@@ -0,0 +1,34 @@
|
|
|
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 });
|
|
16
|
+
exports.PaymentRequestClassStatusEnum = exports.PaymentRequestClassTypeEnum = exports.PaymentRequestClassDirectionEnum = void 0;
|
|
17
|
+
exports.PaymentRequestClassDirectionEnum = {
|
|
18
|
+
Collect: 'collect',
|
|
19
|
+
Disburse: 'disburse'
|
|
20
|
+
};
|
|
21
|
+
exports.PaymentRequestClassTypeEnum = {
|
|
22
|
+
Other: 'other',
|
|
23
|
+
Claim: 'claim',
|
|
24
|
+
Premium: 'premium',
|
|
25
|
+
Commission: 'commission'
|
|
26
|
+
};
|
|
27
|
+
exports.PaymentRequestClassStatusEnum = {
|
|
28
|
+
Open: 'open',
|
|
29
|
+
Approved: 'approved',
|
|
30
|
+
Pending: 'pending',
|
|
31
|
+
Succeeded: 'succeeded',
|
|
32
|
+
Failed: 'failed',
|
|
33
|
+
Withdrawn: 'withdrawn'
|
|
34
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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 UpdatePaymentRequestRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdatePaymentRequestRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the object.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdatePaymentRequestRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* New status for the payment request. Valid statuses: open, approved, pending, succeeded, failed, withdrawn
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdatePaymentRequestRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'status': UpdatePaymentRequestRequestDtoStatusEnum;
|
|
30
|
+
}
|
|
31
|
+
export declare const UpdatePaymentRequestRequestDtoStatusEnum: {
|
|
32
|
+
readonly Open: "open";
|
|
33
|
+
readonly Approved: "approved";
|
|
34
|
+
readonly Pending: "pending";
|
|
35
|
+
readonly Succeeded: "succeeded";
|
|
36
|
+
readonly Failed: "failed";
|
|
37
|
+
readonly Withdrawn: "withdrawn";
|
|
38
|
+
};
|
|
39
|
+
export type UpdatePaymentRequestRequestDtoStatusEnum = typeof UpdatePaymentRequestRequestDtoStatusEnum[keyof typeof UpdatePaymentRequestRequestDtoStatusEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
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 });
|
|
16
|
+
exports.UpdatePaymentRequestRequestDtoStatusEnum = void 0;
|
|
17
|
+
exports.UpdatePaymentRequestRequestDtoStatusEnum = {
|
|
18
|
+
Open: 'open',
|
|
19
|
+
Approved: 'approved',
|
|
20
|
+
Pending: 'pending',
|
|
21
|
+
Succeeded: 'succeeded',
|
|
22
|
+
Failed: 'failed',
|
|
23
|
+
Withdrawn: 'withdrawn'
|
|
24
|
+
};
|
|
@@ -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 { PaymentRequestClass } from './payment-request-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdatePaymentRequestResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdatePaymentRequestResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The updated payment request with the new status.
|
|
21
|
+
* @type {PaymentRequestClass}
|
|
22
|
+
* @memberof UpdatePaymentRequestResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentRequest': PaymentRequestClass;
|
|
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 });
|