@emilgroup/payment-sdk-node 1.23.0 → 1.23.1-beta.11
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,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 });
|
|
@@ -69,6 +69,12 @@ export interface UpdateTenantBankAccountRestRequestDto {
|
|
|
69
69
|
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
70
70
|
*/
|
|
71
71
|
'sepaPainVersion': UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Payout Pain version
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'payoutPainVersion': UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum;
|
|
72
78
|
}
|
|
73
79
|
export declare const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum: {
|
|
74
80
|
readonly _00302: "pain.008.003.02";
|
|
@@ -80,3 +86,14 @@ export declare const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum: {
|
|
|
80
86
|
readonly _00111: "pain.008.001.11";
|
|
81
87
|
};
|
|
82
88
|
export type UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum];
|
|
89
|
+
export declare const UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum: {
|
|
90
|
+
readonly _00302: "pain.001.003.02";
|
|
91
|
+
readonly _00108: "pain.001.001.08";
|
|
92
|
+
readonly _00108Gbic5: "pain.001.001.08_GBIC_5";
|
|
93
|
+
readonly _00802: "pain.001.008.02";
|
|
94
|
+
readonly _00109: "pain.001.001.09";
|
|
95
|
+
readonly _00109Gbic5: "pain.001.001.09_GBIC_5";
|
|
96
|
+
readonly _00110: "pain.001.001.10";
|
|
97
|
+
readonly _00111: "pain.001.001.11";
|
|
98
|
+
};
|
|
99
|
+
export type UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = void 0;
|
|
16
|
+
exports.UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = void 0;
|
|
17
17
|
exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
|
|
18
18
|
_00302: 'pain.008.003.02',
|
|
19
19
|
_00108: 'pain.008.001.08',
|
|
@@ -23,3 +23,13 @@ exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
|
|
|
23
23
|
_00110: 'pain.008.001.10',
|
|
24
24
|
_00111: 'pain.008.001.11'
|
|
25
25
|
};
|
|
26
|
+
exports.UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = {
|
|
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
|
+
};
|
|
@@ -71,11 +71,11 @@ export interface BankOrderClass {
|
|
|
71
71
|
*/
|
|
72
72
|
'tenantBankAccountCode': string;
|
|
73
73
|
/**
|
|
74
|
-
* List of
|
|
75
|
-
* @type {Array<
|
|
74
|
+
* List of entity codes associated with bank order.
|
|
75
|
+
* @type {Array<string>}
|
|
76
76
|
* @memberof BankOrderClass
|
|
77
77
|
*/
|
|
78
|
-
'
|
|
78
|
+
'entityCodes': Array<string>;
|
|
79
79
|
/**
|
|
80
80
|
* Day of execution of bank order.
|
|
81
81
|
* @type {string}
|
|
@@ -85,10 +85,10 @@ export interface BankOrderEntity {
|
|
|
85
85
|
'tenantBankAccountCode': string;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
* @type {Array<
|
|
88
|
+
* @type {Array<string>}
|
|
89
89
|
* @memberof BankOrderEntity
|
|
90
90
|
*/
|
|
91
|
-
'
|
|
91
|
+
'entityCodes': Array<string>;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
94
|
* @type {Array<BankTransactionEntity>}
|
|
@@ -148,7 +148,8 @@ export interface BankOrderEntity {
|
|
|
148
148
|
export const BankOrderEntityTypeEnum = {
|
|
149
149
|
DirectDebit: 'direct_debit',
|
|
150
150
|
PremiumPayment: 'premium_payment',
|
|
151
|
-
ClaimPayment: 'claim_payment'
|
|
151
|
+
ClaimPayment: 'claim_payment',
|
|
152
|
+
CommissionPayment: 'commission_payment'
|
|
152
153
|
} as const;
|
|
153
154
|
|
|
154
155
|
export type BankOrderEntityTypeEnum = typeof BankOrderEntityTypeEnum[keyof typeof BankOrderEntityTypeEnum];
|
|
@@ -0,0 +1,114 @@
|
|
|
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 BillingAddressClass
|
|
21
|
+
*/
|
|
22
|
+
export interface BillingAddressClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof BillingAddressClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BillingAddressClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* First name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BillingAddressClass
|
|
39
|
+
*/
|
|
40
|
+
'firstName': string;
|
|
41
|
+
/**
|
|
42
|
+
* Last name
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BillingAddressClass
|
|
45
|
+
*/
|
|
46
|
+
'lastName': string;
|
|
47
|
+
/**
|
|
48
|
+
* Street name
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BillingAddressClass
|
|
51
|
+
*/
|
|
52
|
+
'street': string;
|
|
53
|
+
/**
|
|
54
|
+
* House number
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BillingAddressClass
|
|
57
|
+
*/
|
|
58
|
+
'houseNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* ZIP code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof BillingAddressClass
|
|
63
|
+
*/
|
|
64
|
+
'zipCode': string;
|
|
65
|
+
/**
|
|
66
|
+
* City
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof BillingAddressClass
|
|
69
|
+
*/
|
|
70
|
+
'city': string;
|
|
71
|
+
/**
|
|
72
|
+
* Country code
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof BillingAddressClass
|
|
75
|
+
*/
|
|
76
|
+
'countryCode'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Unique identifier of the account that this object belongs to.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof BillingAddressClass
|
|
81
|
+
*/
|
|
82
|
+
'accountCode': string;
|
|
83
|
+
/**
|
|
84
|
+
* Unique identifier of the partner that this object belongs to.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof BillingAddressClass
|
|
87
|
+
*/
|
|
88
|
+
'partnerCode': string;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was created.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof BillingAddressClass
|
|
93
|
+
*/
|
|
94
|
+
'createdAt': string;
|
|
95
|
+
/**
|
|
96
|
+
* Time at which the object was updated.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof BillingAddressClass
|
|
99
|
+
*/
|
|
100
|
+
'updatedAt': string;
|
|
101
|
+
/**
|
|
102
|
+
* Identifier of the user who created the record.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof BillingAddressClass
|
|
105
|
+
*/
|
|
106
|
+
'createdBy': string;
|
|
107
|
+
/**
|
|
108
|
+
* Identifier of the user who last updated the record.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof BillingAddressClass
|
|
111
|
+
*/
|
|
112
|
+
'updatedBy': string;
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -45,11 +45,11 @@ export interface CreateBankOrderRequestDto {
|
|
|
45
45
|
*/
|
|
46
46
|
'tenantBankAccountCode': string;
|
|
47
47
|
/**
|
|
48
|
-
* List of
|
|
49
|
-
* @type {Array<
|
|
48
|
+
* List of entity codes associated with bank order.
|
|
49
|
+
* @type {Array<string>}
|
|
50
50
|
* @memberof CreateBankOrderRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'entityCodes': Array<string>;
|
|
53
53
|
/**
|
|
54
54
|
* Day of execution of bank order.
|
|
55
55
|
* @type {string}
|
|
@@ -67,7 +67,8 @@ export interface CreateBankOrderRequestDto {
|
|
|
67
67
|
export const CreateBankOrderRequestDtoTypeEnum = {
|
|
68
68
|
DirectDebit: 'direct_debit',
|
|
69
69
|
PremiumPayment: 'premium_payment',
|
|
70
|
-
ClaimPayment: 'claim_payment'
|
|
70
|
+
ClaimPayment: 'claim_payment',
|
|
71
|
+
CommissionPayment: 'commission_payment'
|
|
71
72
|
} as const;
|
|
72
73
|
|
|
73
74
|
export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CreateBillingAddressRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBillingAddressRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* First name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateBillingAddressRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'firstName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Last name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateBillingAddressRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'lastName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Street name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateBillingAddressRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'street': string;
|
|
41
|
+
/**
|
|
42
|
+
* House number
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateBillingAddressRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'houseNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* ZIP code
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateBillingAddressRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'zipCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* City
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateBillingAddressRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'city': string;
|
|
59
|
+
/**
|
|
60
|
+
* Country code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateBillingAddressRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'countryCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the partner that this object belongs to.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateBillingAddressRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'partnerCode': string;
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -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 { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateBillingAddressResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateBillingAddressResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created billing address
|
|
26
|
+
* @type {BillingAddressClass}
|
|
27
|
+
* @memberof CreateBillingAddressResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'billingAddress': BillingAddressClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
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 CreatePaymentRequestRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePaymentRequestRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Payment amount in cents. 100 to charge 1€.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'amount': number;
|
|
29
|
+
/**
|
|
30
|
+
* Currency code for the payment request (ISO 4217 format).
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'currency': string;
|
|
35
|
+
/**
|
|
36
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'direction': CreatePaymentRequestRequestDtoDirectionEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Code of the source entity (e.g., invoice code, claim code) that this payment request is associated with.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'sourceEntityCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Type of the payment request. Defines the business context or purpose of the payment.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'type': CreatePaymentRequestRequestDtoTypeEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'paymentMethodCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Optional field containing extra information about the payment request.
|
|
61
|
+
* @type {object}
|
|
62
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'metadata'?: object;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const CreatePaymentRequestRequestDtoDirectionEnum = {
|
|
68
|
+
Collect: 'collect',
|
|
69
|
+
Disburse: 'disburse'
|
|
70
|
+
} as const;
|
|
71
|
+
|
|
72
|
+
export type CreatePaymentRequestRequestDtoDirectionEnum = typeof CreatePaymentRequestRequestDtoDirectionEnum[keyof typeof CreatePaymentRequestRequestDtoDirectionEnum];
|
|
73
|
+
export const CreatePaymentRequestRequestDtoTypeEnum = {
|
|
74
|
+
Other: 'other',
|
|
75
|
+
Claim: 'claim',
|
|
76
|
+
Premium: 'premium',
|
|
77
|
+
Commission: 'commission'
|
|
78
|
+
} as const;
|
|
79
|
+
|
|
80
|
+
export type CreatePaymentRequestRequestDtoTypeEnum = typeof CreatePaymentRequestRequestDtoTypeEnum[keyof typeof CreatePaymentRequestRequestDtoTypeEnum];
|
|
81
|
+
|
|
82
|
+
|
|
@@ -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 { PaymentRequestClass } from './payment-request-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePaymentRequestResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePaymentRequestResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created payment request with all its details.
|
|
26
|
+
* @type {PaymentRequestClass}
|
|
27
|
+
* @memberof CreatePaymentRequestResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentRequest': PaymentRequestClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 CreatePayoutMethodRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePayoutMethodRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the partner that this object belongs to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'partnerCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* First name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'firstName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Last name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'lastName': string;
|
|
41
|
+
/**
|
|
42
|
+
* IBAN
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'iban': string;
|
|
47
|
+
/**
|
|
48
|
+
* BIC
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'bic': string;
|
|
53
|
+
/**
|
|
54
|
+
* Bank name
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'bankName': string;
|
|
59
|
+
/**
|
|
60
|
+
* Billing address code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'billingAddressCode': string;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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 { PayoutMethodClass } from './payout-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePayoutMethodResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePayoutMethodResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created payout method
|
|
26
|
+
* @type {PayoutMethodClass}
|
|
27
|
+
* @memberof CreatePayoutMethodResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'payoutMethod': PayoutMethodClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -80,6 +80,12 @@ export interface CreateTenantBankAccountRequestDto {
|
|
|
80
80
|
* @memberof CreateTenantBankAccountRequestDto
|
|
81
81
|
*/
|
|
82
82
|
'sepaPainVersion': CreateTenantBankAccountRequestDtoSepaPainVersionEnum;
|
|
83
|
+
/**
|
|
84
|
+
* Payout Pain version
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'payoutPainVersion': CreateTenantBankAccountRequestDtoPayoutPainVersionEnum;
|
|
83
89
|
}
|
|
84
90
|
|
|
85
91
|
export const CreateTenantBankAccountRequestDtoSepaPainVersionEnum = {
|
|
@@ -93,5 +99,17 @@ export const CreateTenantBankAccountRequestDtoSepaPainVersionEnum = {
|
|
|
93
99
|
} as const;
|
|
94
100
|
|
|
95
101
|
export type CreateTenantBankAccountRequestDtoSepaPainVersionEnum = typeof CreateTenantBankAccountRequestDtoSepaPainVersionEnum[keyof typeof CreateTenantBankAccountRequestDtoSepaPainVersionEnum];
|
|
102
|
+
export const CreateTenantBankAccountRequestDtoPayoutPainVersionEnum = {
|
|
103
|
+
_00302: 'pain.001.003.02',
|
|
104
|
+
_00108: 'pain.001.001.08',
|
|
105
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
106
|
+
_00802: 'pain.001.008.02',
|
|
107
|
+
_00109: 'pain.001.001.09',
|
|
108
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
109
|
+
_00110: 'pain.001.001.10',
|
|
110
|
+
_00111: 'pain.001.001.11'
|
|
111
|
+
} as const;
|
|
112
|
+
|
|
113
|
+
export type CreateTenantBankAccountRequestDtoPayoutPainVersionEnum = typeof CreateTenantBankAccountRequestDtoPayoutPainVersionEnum[keyof typeof CreateTenantBankAccountRequestDtoPayoutPainVersionEnum];
|
|
96
114
|
|
|
97
115
|
|
|
@@ -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 { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetBillingAddressResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBillingAddressResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The billing address
|
|
26
|
+
* @type {BillingAddressClass}
|
|
27
|
+
* @memberof GetBillingAddressResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'billingAddress': BillingAddressClass;
|
|
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 { PaymentRequestClass } from './payment-request-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPaymentRequestResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPaymentRequestResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payment request retrieved by its code.
|
|
26
|
+
* @type {PaymentRequestClass}
|
|
27
|
+
* @memberof GetPaymentRequestResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentRequest': PaymentRequestClass;
|
|
30
|
+
}
|
|
31
|
+
|