@emilgroup/payment-sdk-node 1.23.0 → 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 +22 -0
- package/README.md +2 -2
- package/api/billing-addresses-api.ts +681 -0
- package/api/payment-requests-api.ts +697 -0
- package/api/payout-methods-api.ts +676 -0
- package/api/tenant-bank-account-api.ts +12 -12
- package/api.ts +6 -0
- package/dist/api/billing-addresses-api.d.ts +384 -0
- package/dist/api/billing-addresses-api.js +640 -0
- package/dist/api/payment-requests-api.d.ts +393 -0
- package/dist/api/payment-requests-api.js +648 -0
- package/dist/api/payout-methods-api.d.ts +382 -0
- package/dist/api/payout-methods-api.js +639 -0
- package/dist/api/tenant-bank-account-api.d.ts +12 -12
- package/dist/api/tenant-bank-account-api.js +9 -9
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/models/bank-order-class.d.ts +3 -3
- package/dist/models/bank-order-entity.d.ts +3 -2
- package/dist/models/bank-order-entity.js +2 -1
- package/dist/models/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/create-bank-order-request-dto.d.ts +4 -3
- package/dist/models/create-bank-order-request-dto.js +2 -1
- package/dist/models/create-billing-address-request-dto.d.ts +66 -0
- package/dist/models/create-billing-address-request-dto.js +15 -0
- package/dist/models/create-billing-address-response-class.d.ts +25 -0
- package/dist/models/create-billing-address-response-class.js +15 -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/create-payout-method-request-dto.d.ts +60 -0
- package/dist/models/create-payout-method-request-dto.js +15 -0
- package/dist/models/create-payout-method-response-class.d.ts +25 -0
- package/dist/models/create-payout-method-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +17 -0
- package/dist/models/create-tenant-bank-account-request-dto.js +11 -1
- package/dist/models/get-billing-address-response-class.d.ts +25 -0
- package/dist/models/get-billing-address-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/get-payout-method-response-class.d.ts +25 -0
- package/dist/models/get-payout-method-response-class.js +15 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
- package/dist/models/list-billing-addresses-response-class.js +15 -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/list-payout-methods-response-class.d.ts +43 -0
- package/dist/models/list-payout-methods-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/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +17 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +11 -1
- package/dist/models/tenant-bank-account-class.d.ts +17 -0
- package/dist/models/tenant-bank-account-class.js +11 -1
- package/dist/models/tenant-bank-account-entity.d.ts +17 -0
- package/dist/models/tenant-bank-account-entity.js +11 -1
- package/dist/models/update-bank-order-request-dto.d.ts +3 -3
- package/dist/models/update-billing-address-request-dto.d.ts +66 -0
- package/dist/models/update-billing-address-request-dto.js +15 -0
- package/dist/models/update-billing-address-response-class.d.ts +25 -0
- package/dist/models/update-billing-address-response-class.js +15 -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/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +17 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +11 -1
- package/models/bank-order-class.ts +3 -3
- package/models/bank-order-entity.ts +4 -3
- package/models/billing-address-class.ts +114 -0
- package/models/create-bank-order-request-dto.ts +5 -4
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-payment-request-request-dto.ts +82 -0
- package/models/create-payment-request-response-class.ts +31 -0
- package/models/create-payout-method-request-dto.ts +66 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +18 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-payment-request-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +19 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- package/models/list-payment-requests-response-class.ts +37 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/payment-request-class.ts +122 -0
- package/models/payout-method-class.ts +121 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +18 -0
- package/models/tenant-bank-account-class.ts +18 -0
- package/models/tenant-bank-account-entity.ts +18 -0
- package/models/update-bank-order-request-dto.ts +3 -3
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-payment-request-request-dto.ts +48 -0
- package/models/update-payment-request-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +18 -0
- package/package.json +2 -2
|
@@ -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,115 @@
|
|
|
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 { BillingAddressClass } from './billing-address-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PayoutMethodClass
|
|
17
|
+
*/
|
|
18
|
+
export interface PayoutMethodClass {
|
|
19
|
+
/**
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PayoutMethodClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the object.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PayoutMethodClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* First name
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PayoutMethodClass
|
|
35
|
+
*/
|
|
36
|
+
'firstName': string;
|
|
37
|
+
/**
|
|
38
|
+
* Last name
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PayoutMethodClass
|
|
41
|
+
*/
|
|
42
|
+
'lastName': string;
|
|
43
|
+
/**
|
|
44
|
+
* IBAN
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PayoutMethodClass
|
|
47
|
+
*/
|
|
48
|
+
'iban': string;
|
|
49
|
+
/**
|
|
50
|
+
* BIC
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof PayoutMethodClass
|
|
53
|
+
*/
|
|
54
|
+
'bic': string;
|
|
55
|
+
/**
|
|
56
|
+
* Bank name
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof PayoutMethodClass
|
|
59
|
+
*/
|
|
60
|
+
'bankName': string;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the payout method is active
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof PayoutMethodClass
|
|
65
|
+
*/
|
|
66
|
+
'isActive': boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Billing address code
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof PayoutMethodClass
|
|
71
|
+
*/
|
|
72
|
+
'billingAddressCode': string;
|
|
73
|
+
/**
|
|
74
|
+
* Unique identifier of the account that this object belongs to.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof PayoutMethodClass
|
|
77
|
+
*/
|
|
78
|
+
'accountCode': string;
|
|
79
|
+
/**
|
|
80
|
+
* Unique identifier of the partner that this object belongs to.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof PayoutMethodClass
|
|
83
|
+
*/
|
|
84
|
+
'partnerCode': string;
|
|
85
|
+
/**
|
|
86
|
+
* Billing address
|
|
87
|
+
* @type {BillingAddressClass}
|
|
88
|
+
* @memberof PayoutMethodClass
|
|
89
|
+
*/
|
|
90
|
+
'billingAddress'?: BillingAddressClass;
|
|
91
|
+
/**
|
|
92
|
+
* Time at which the object was created.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof PayoutMethodClass
|
|
95
|
+
*/
|
|
96
|
+
'createdAt': string;
|
|
97
|
+
/**
|
|
98
|
+
* Time at which the object was updated.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof PayoutMethodClass
|
|
101
|
+
*/
|
|
102
|
+
'updatedAt': string;
|
|
103
|
+
/**
|
|
104
|
+
* Identifier of the user who created the record.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof PayoutMethodClass
|
|
107
|
+
*/
|
|
108
|
+
'createdBy': string;
|
|
109
|
+
/**
|
|
110
|
+
* Identifier of the user who last updated the record.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof PayoutMethodClass
|
|
113
|
+
*/
|
|
114
|
+
'updatedBy': string;
|
|
115
|
+
}
|
|
@@ -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 });
|
|
@@ -111,6 +111,12 @@ export interface TenantBankAccountClassWithoutExpandProperties {
|
|
|
111
111
|
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
112
112
|
*/
|
|
113
113
|
'sepaPainVersion': TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum;
|
|
114
|
+
/**
|
|
115
|
+
* Payout Pain version
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
118
|
+
*/
|
|
119
|
+
'payoutPainVersion': TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum;
|
|
114
120
|
}
|
|
115
121
|
export declare const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum: {
|
|
116
122
|
readonly _00302: "pain.008.003.02";
|
|
@@ -122,3 +128,14 @@ export declare const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersio
|
|
|
122
128
|
readonly _00111: "pain.008.001.11";
|
|
123
129
|
};
|
|
124
130
|
export type TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum];
|
|
131
|
+
export declare const TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum: {
|
|
132
|
+
readonly _00302: "pain.001.003.02";
|
|
133
|
+
readonly _00108: "pain.001.001.08";
|
|
134
|
+
readonly _00108Gbic5: "pain.001.001.08_GBIC_5";
|
|
135
|
+
readonly _00802: "pain.001.008.02";
|
|
136
|
+
readonly _00109: "pain.001.001.09";
|
|
137
|
+
readonly _00109Gbic5: "pain.001.001.09_GBIC_5";
|
|
138
|
+
readonly _00110: "pain.001.001.10";
|
|
139
|
+
readonly _00111: "pain.001.001.11";
|
|
140
|
+
};
|
|
141
|
+
export type TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = void 0;
|
|
16
|
+
exports.TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = exports.TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = void 0;
|
|
17
17
|
exports.TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = {
|
|
18
18
|
_00302: 'pain.008.003.02',
|
|
19
19
|
_00108: 'pain.008.001.08',
|
|
@@ -23,3 +23,13 @@ exports.TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = {
|
|
|
23
23
|
_00110: 'pain.008.001.10',
|
|
24
24
|
_00111: 'pain.008.001.11'
|
|
25
25
|
};
|
|
26
|
+
exports.TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = {
|
|
27
|
+
_00302: 'pain.001.003.02',
|
|
28
|
+
_00108: 'pain.001.001.08',
|
|
29
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
30
|
+
_00802: 'pain.001.008.02',
|
|
31
|
+
_00109: 'pain.001.001.09',
|
|
32
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
33
|
+
_00110: 'pain.001.001.10',
|
|
34
|
+
_00111: 'pain.001.001.11'
|
|
35
|
+
};
|
|
@@ -118,6 +118,12 @@ export interface TenantBankAccountClass {
|
|
|
118
118
|
* @memberof TenantBankAccountClass
|
|
119
119
|
*/
|
|
120
120
|
'sepaPainVersion': TenantBankAccountClassSepaPainVersionEnum;
|
|
121
|
+
/**
|
|
122
|
+
* Payout Pain version
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof TenantBankAccountClass
|
|
125
|
+
*/
|
|
126
|
+
'payoutPainVersion': TenantBankAccountClassPayoutPainVersionEnum;
|
|
121
127
|
}
|
|
122
128
|
export declare const TenantBankAccountClassSepaPainVersionEnum: {
|
|
123
129
|
readonly _00302: "pain.008.003.02";
|
|
@@ -129,3 +135,14 @@ export declare const TenantBankAccountClassSepaPainVersionEnum: {
|
|
|
129
135
|
readonly _00111: "pain.008.001.11";
|
|
130
136
|
};
|
|
131
137
|
export type TenantBankAccountClassSepaPainVersionEnum = typeof TenantBankAccountClassSepaPainVersionEnum[keyof typeof TenantBankAccountClassSepaPainVersionEnum];
|
|
138
|
+
export declare const TenantBankAccountClassPayoutPainVersionEnum: {
|
|
139
|
+
readonly _00302: "pain.001.003.02";
|
|
140
|
+
readonly _00108: "pain.001.001.08";
|
|
141
|
+
readonly _00108Gbic5: "pain.001.001.08_GBIC_5";
|
|
142
|
+
readonly _00802: "pain.001.008.02";
|
|
143
|
+
readonly _00109: "pain.001.001.09";
|
|
144
|
+
readonly _00109Gbic5: "pain.001.001.09_GBIC_5";
|
|
145
|
+
readonly _00110: "pain.001.001.10";
|
|
146
|
+
readonly _00111: "pain.001.001.11";
|
|
147
|
+
};
|
|
148
|
+
export type TenantBankAccountClassPayoutPainVersionEnum = typeof TenantBankAccountClassPayoutPainVersionEnum[keyof typeof TenantBankAccountClassPayoutPainVersionEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TenantBankAccountClassSepaPainVersionEnum = void 0;
|
|
16
|
+
exports.TenantBankAccountClassPayoutPainVersionEnum = exports.TenantBankAccountClassSepaPainVersionEnum = void 0;
|
|
17
17
|
exports.TenantBankAccountClassSepaPainVersionEnum = {
|
|
18
18
|
_00302: 'pain.008.003.02',
|
|
19
19
|
_00108: 'pain.008.001.08',
|
|
@@ -23,3 +23,13 @@ exports.TenantBankAccountClassSepaPainVersionEnum = {
|
|
|
23
23
|
_00110: 'pain.008.001.10',
|
|
24
24
|
_00111: 'pain.008.001.11'
|
|
25
25
|
};
|
|
26
|
+
exports.TenantBankAccountClassPayoutPainVersionEnum = {
|
|
27
|
+
_00302: 'pain.001.003.02',
|
|
28
|
+
_00108: 'pain.001.001.08',
|
|
29
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
30
|
+
_00802: 'pain.001.008.02',
|
|
31
|
+
_00109: 'pain.001.001.09',
|
|
32
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
33
|
+
_00110: 'pain.001.001.10',
|
|
34
|
+
_00111: 'pain.001.001.11'
|
|
35
|
+
};
|
|
@@ -100,6 +100,12 @@ export interface TenantBankAccountEntity {
|
|
|
100
100
|
* @memberof TenantBankAccountEntity
|
|
101
101
|
*/
|
|
102
102
|
'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof TenantBankAccountEntity
|
|
107
|
+
*/
|
|
108
|
+
'payoutPainVersion'?: TenantBankAccountEntityPayoutPainVersionEnum;
|
|
103
109
|
/**
|
|
104
110
|
*
|
|
105
111
|
* @type {string}
|
|
@@ -141,3 +147,14 @@ export declare const TenantBankAccountEntitySepaPainVersionEnum: {
|
|
|
141
147
|
readonly _00111: "pain.008.001.11";
|
|
142
148
|
};
|
|
143
149
|
export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
|
|
150
|
+
export declare const TenantBankAccountEntityPayoutPainVersionEnum: {
|
|
151
|
+
readonly _00302: "pain.001.003.02";
|
|
152
|
+
readonly _00108: "pain.001.001.08";
|
|
153
|
+
readonly _00108Gbic5: "pain.001.001.08_GBIC_5";
|
|
154
|
+
readonly _00802: "pain.001.008.02";
|
|
155
|
+
readonly _00109: "pain.001.001.09";
|
|
156
|
+
readonly _00109Gbic5: "pain.001.001.09_GBIC_5";
|
|
157
|
+
readonly _00110: "pain.001.001.10";
|
|
158
|
+
readonly _00111: "pain.001.001.11";
|
|
159
|
+
};
|
|
160
|
+
export type TenantBankAccountEntityPayoutPainVersionEnum = typeof TenantBankAccountEntityPayoutPainVersionEnum[keyof typeof TenantBankAccountEntityPayoutPainVersionEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TenantBankAccountEntitySepaPainVersionEnum = void 0;
|
|
16
|
+
exports.TenantBankAccountEntityPayoutPainVersionEnum = exports.TenantBankAccountEntitySepaPainVersionEnum = void 0;
|
|
17
17
|
exports.TenantBankAccountEntitySepaPainVersionEnum = {
|
|
18
18
|
_00302: 'pain.008.003.02',
|
|
19
19
|
_00108: 'pain.008.001.08',
|
|
@@ -23,3 +23,13 @@ exports.TenantBankAccountEntitySepaPainVersionEnum = {
|
|
|
23
23
|
_00110: 'pain.008.001.10',
|
|
24
24
|
_00111: 'pain.008.001.11'
|
|
25
25
|
};
|
|
26
|
+
exports.TenantBankAccountEntityPayoutPainVersionEnum = {
|
|
27
|
+
_00302: 'pain.001.003.02',
|
|
28
|
+
_00108: 'pain.001.001.08',
|
|
29
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
30
|
+
_00802: 'pain.001.008.02',
|
|
31
|
+
_00109: 'pain.001.001.09',
|
|
32
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
33
|
+
_00110: 'pain.001.001.10',
|
|
34
|
+
_00111: 'pain.001.001.11'
|
|
35
|
+
};
|
|
@@ -34,11 +34,11 @@ export interface UpdateBankOrderRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'tenantBankAccountCode': string;
|
|
36
36
|
/**
|
|
37
|
-
* List of
|
|
38
|
-
* @type {Array<
|
|
37
|
+
* List of entity codes associated with bank order.
|
|
38
|
+
* @type {Array<string>}
|
|
39
39
|
* @memberof UpdateBankOrderRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'entityCodes': Array<string>;
|
|
42
42
|
/**
|
|
43
43
|
* Day of execution of bank order.
|
|
44
44
|
* @type {string}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 UpdateBillingAddressRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateBillingAddressRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* First name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'firstName': string;
|
|
24
|
+
/**
|
|
25
|
+
* Last name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'lastName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Street name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'street': string;
|
|
36
|
+
/**
|
|
37
|
+
* House number
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'houseNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* ZIP code
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'zipCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* City
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'city': string;
|
|
54
|
+
/**
|
|
55
|
+
* Country code
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'countryCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier of the partner that this object belongs to.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'partnerCode': string;
|
|
66
|
+
}
|
|
@@ -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 { BillingAddressClass } from './billing-address-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateBillingAddressResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateBillingAddressResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The updated billing address
|
|
21
|
+
* @type {BillingAddressClass}
|
|
22
|
+
* @memberof UpdateBillingAddressResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'billingAddress': BillingAddressClass;
|
|
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,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
|
+
}
|