@emilgroup/payment-sdk 1.22.1-beta.8 → 1.22.1-beta.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +48 -18
- package/api/bank-orders-api.ts +48 -23
- package/api/bank-transaction-api.ts +181 -26
- package/api/billing-addresses-api.ts +40 -15
- package/api/credit-allocation-api.ts +24 -9
- package/api/exceeding-credits-api.ts +24 -9
- package/api/health-check-api.ts +1 -1
- package/api/ibanvalidator-api.ts +8 -3
- package/api/payment-methods-api.ts +24 -9
- package/api/payment-receipts-api.ts +40 -15
- package/api/payment-reminders-api.ts +32 -12
- package/api/payment-requests-api.ts +52 -27
- package/api/payment-setup-api.ts +16 -6
- package/api/payments-api.ts +46 -16
- package/api/payout-methods-api.ts +48 -18
- package/api/policy-payment-methods-api.ts +24 -9
- package/api/refunds-api.ts +24 -9
- package/api/tenant-bank-account-api.ts +40 -15
- package/api/webhooks-api.ts +2 -2
- package/base.ts +239 -43
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-accounts-api.js +82 -46
- package/dist/api/bank-orders-api.d.ts +13 -13
- package/dist/api/bank-orders-api.js +73 -44
- package/dist/api/bank-transaction-api.d.ts +80 -14
- package/dist/api/bank-transaction-api.js +194 -52
- package/dist/api/billing-addresses-api.d.ts +5 -5
- package/dist/api/billing-addresses-api.js +71 -39
- package/dist/api/credit-allocation-api.d.ts +3 -3
- package/dist/api/credit-allocation-api.js +41 -23
- package/dist/api/exceeding-credits-api.d.ts +3 -3
- package/dist/api/exceeding-credits-api.js +41 -23
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/health-check-api.js +1 -1
- package/dist/api/ibanvalidator-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.js +15 -8
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-methods-api.js +41 -23
- package/dist/api/payment-receipts-api.d.ts +5 -5
- package/dist/api/payment-receipts-api.js +67 -38
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-reminders-api.js +56 -31
- package/dist/api/payment-requests-api.d.ts +17 -17
- package/dist/api/payment-requests-api.js +76 -47
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payment-setup-api.js +30 -16
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +62 -34
- package/dist/api/payout-methods-api.d.ts +6 -6
- package/dist/api/payout-methods-api.js +82 -46
- package/dist/api/policy-payment-methods-api.d.ts +3 -3
- package/dist/api/policy-payment-methods-api.js +41 -23
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/refunds-api.js +37 -22
- package/dist/api/tenant-bank-account-api.d.ts +5 -5
- package/dist/api/tenant-bank-account-api.js +67 -38
- package/dist/api/webhooks-api.d.ts +2 -2
- package/dist/api/webhooks-api.js +2 -2
- package/dist/base.d.ts +26 -0
- package/dist/base.js +243 -60
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/bank-order-entity.d.ts +1 -0
- package/dist/models/bank-order-entity.js +1 -0
- package/dist/models/bank-transaction-class.d.ts +7 -0
- package/dist/models/bank-transaction-entity.d.ts +7 -0
- package/dist/models/bank-transaction-invoice-entity.d.ts +24 -0
- package/dist/models/create-bank-order-request-dto.d.ts +3 -2
- package/dist/models/create-bank-order-request-dto.js +1 -0
- package/dist/models/create-payment-order-dto.d.ts +1 -1
- package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/exceeding-credit-entity.d.ts +6 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +30 -0
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +15 -0
- package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +25 -0
- package/dist/models/link-bank-transaction-payment-requests-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-receipt-class.d.ts +13 -1
- package/dist/models/payment-receipt-entity.d.ts +139 -0
- package/dist/models/payment-receipt-entity.js +20 -0
- package/dist/models/payment-request-class.d.ts +19 -0
- package/dist/models/payment-request-class.js +1 -0
- package/dist/models/payment-request-entity.d.ts +223 -0
- package/dist/models/payment-request-entity.js +39 -0
- package/dist/models/shared-transaction-class.d.ts +6 -0
- package/dist/models/transaction-entity.d.ts +6 -0
- package/dist/models/update-bank-order-request-dto.d.ts +2 -2
- package/models/bank-order-entity.ts +1 -0
- package/models/bank-transaction-class.ts +7 -0
- package/models/bank-transaction-entity.ts +7 -0
- package/models/bank-transaction-invoice-entity.ts +24 -0
- package/models/create-bank-order-request-dto.ts +3 -2
- package/models/create-payment-order-dto.ts +1 -1
- package/models/create-payment-receipt-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- package/models/exceeding-credit-entity.ts +6 -0
- package/models/index.ts +4 -0
- package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +36 -0
- package/models/link-bank-transaction-payment-requests-response-class.ts +31 -0
- package/models/payment-class-without-expand-properties.ts +1 -1
- package/models/payment-class.ts +1 -1
- package/models/payment-receipt-class.ts +13 -1
- package/models/payment-receipt-entity.ts +148 -0
- package/models/payment-request-class.ts +19 -0
- package/models/payment-request-entity.ts +233 -0
- package/models/shared-transaction-class.ts +6 -0
- package/models/transaction-entity.ts +6 -0
- package/models/update-bank-order-request-dto.ts +2 -2
- package/package.json +2 -2
|
@@ -77,6 +77,30 @@ export interface BankTransactionInvoiceEntity {
|
|
|
77
77
|
* @memberof BankTransactionInvoiceEntity
|
|
78
78
|
*/
|
|
79
79
|
'bankTransaction': BankTransactionEntity;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof BankTransactionInvoiceEntity
|
|
84
|
+
*/
|
|
85
|
+
'unlinkCode'?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof BankTransactionInvoiceEntity
|
|
90
|
+
*/
|
|
91
|
+
'unlinkedPaymentCode'?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {Array<string>}
|
|
95
|
+
* @memberof BankTransactionInvoiceEntity
|
|
96
|
+
*/
|
|
97
|
+
'unlinkedCreditCodes'?: Array<string> | null;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof BankTransactionInvoiceEntity
|
|
102
|
+
*/
|
|
103
|
+
'unlinkEventPublishedAt'?: string | null;
|
|
80
104
|
/**
|
|
81
105
|
*
|
|
82
106
|
* @type {string}
|
|
@@ -52,16 +52,17 @@ export interface CreateBankOrderRequestDto {
|
|
|
52
52
|
*/
|
|
53
53
|
'executionDate': string;
|
|
54
54
|
/**
|
|
55
|
-
* Latest due date.
|
|
55
|
+
* Latest due date. Required for \'direct_debit\' and \'commission_payment\'; ignored for \'claim_payment\' and \'refund_payment\', where the execution date is stored in its place.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof CreateBankOrderRequestDto
|
|
58
58
|
*/
|
|
59
|
-
'dueDate'
|
|
59
|
+
'dueDate'?: string;
|
|
60
60
|
}
|
|
61
61
|
export declare const CreateBankOrderRequestDtoTypeEnum: {
|
|
62
62
|
readonly DirectDebit: "direct_debit";
|
|
63
63
|
readonly PremiumPayment: "premium_payment";
|
|
64
64
|
readonly ClaimPayment: "claim_payment";
|
|
65
|
+
readonly RefundPayment: "refund_payment";
|
|
65
66
|
readonly CommissionPayment: "commission_payment";
|
|
66
67
|
};
|
|
67
68
|
export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
|
|
@@ -18,6 +18,7 @@ exports.CreateBankOrderRequestDtoTypeEnum = {
|
|
|
18
18
|
DirectDebit: 'direct_debit',
|
|
19
19
|
PremiumPayment: 'premium_payment',
|
|
20
20
|
ClaimPayment: 'claim_payment',
|
|
21
|
+
RefundPayment: 'refund_payment',
|
|
21
22
|
CommissionPayment: 'commission_payment'
|
|
22
23
|
};
|
|
23
24
|
exports.CreateBankOrderRequestDtoStatusEnum = {
|
|
@@ -28,7 +28,7 @@ export interface CreatePaymentOrderDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'comment'?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePaymentOrderDto
|
|
34
34
|
*/
|
|
@@ -34,7 +34,7 @@ export interface CreatePaymentReceiptRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreatePaymentReceiptRequestDto
|
|
40
40
|
*/
|
|
@@ -60,7 +60,7 @@ export interface CreatePaymentRequestDto {
|
|
|
60
60
|
*/
|
|
61
61
|
'productSlug'?: string;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof CreatePaymentRequestDto
|
|
66
66
|
*/
|
|
@@ -131,6 +131,12 @@ export interface ExceedingCreditEntity {
|
|
|
131
131
|
* @memberof ExceedingCreditEntity
|
|
132
132
|
*/
|
|
133
133
|
'tenantHierarchy': string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {boolean}
|
|
137
|
+
* @memberof ExceedingCreditEntity
|
|
138
|
+
*/
|
|
139
|
+
'createdEventPending': boolean;
|
|
134
140
|
}
|
|
135
141
|
export declare const ExceedingCreditEntityCurrencyEnum: {
|
|
136
142
|
readonly Eur: "EUR";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -92,6 +92,8 @@ export * from './inline-response503';
|
|
|
92
92
|
export * from './invoice-allocation-dto';
|
|
93
93
|
export * from './invoice-match-suggestion-class';
|
|
94
94
|
export * from './invoice-match-suggestion-entity';
|
|
95
|
+
export * from './link-bank-transaction-payment-requests-request-dto-rest';
|
|
96
|
+
export * from './link-bank-transaction-payment-requests-response-class';
|
|
95
97
|
export * from './link-bank-transaction-request-dto-rest';
|
|
96
98
|
export * from './link-bank-transactions-response-class';
|
|
97
99
|
export * from './list-bank-accounts-response-class';
|
|
@@ -117,8 +119,10 @@ export * from './payment-class-without-expand-properties';
|
|
|
117
119
|
export * from './payment-entity';
|
|
118
120
|
export * from './payment-method-class';
|
|
119
121
|
export * from './payment-receipt-class';
|
|
122
|
+
export * from './payment-receipt-entity';
|
|
120
123
|
export * from './payment-reminder-class';
|
|
121
124
|
export * from './payment-request-class';
|
|
125
|
+
export * from './payment-request-entity';
|
|
122
126
|
export * from './payout-method-class';
|
|
123
127
|
export * from './policy-payment-method-class';
|
|
124
128
|
export * from './primary-bank-account-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -108,6 +108,8 @@ __exportStar(require("./inline-response503"), exports);
|
|
|
108
108
|
__exportStar(require("./invoice-allocation-dto"), exports);
|
|
109
109
|
__exportStar(require("./invoice-match-suggestion-class"), exports);
|
|
110
110
|
__exportStar(require("./invoice-match-suggestion-entity"), exports);
|
|
111
|
+
__exportStar(require("./link-bank-transaction-payment-requests-request-dto-rest"), exports);
|
|
112
|
+
__exportStar(require("./link-bank-transaction-payment-requests-response-class"), exports);
|
|
111
113
|
__exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
|
|
112
114
|
__exportStar(require("./link-bank-transactions-response-class"), exports);
|
|
113
115
|
__exportStar(require("./list-bank-accounts-response-class"), exports);
|
|
@@ -133,8 +135,10 @@ __exportStar(require("./payment-class-without-expand-properties"), exports);
|
|
|
133
135
|
__exportStar(require("./payment-entity"), exports);
|
|
134
136
|
__exportStar(require("./payment-method-class"), exports);
|
|
135
137
|
__exportStar(require("./payment-receipt-class"), exports);
|
|
138
|
+
__exportStar(require("./payment-receipt-entity"), exports);
|
|
136
139
|
__exportStar(require("./payment-reminder-class"), exports);
|
|
137
140
|
__exportStar(require("./payment-request-class"), exports);
|
|
141
|
+
__exportStar(require("./payment-request-entity"), exports);
|
|
138
142
|
__exportStar(require("./payout-method-class"), exports);
|
|
139
143
|
__exportStar(require("./policy-payment-method-class"), exports);
|
|
140
144
|
__exportStar(require("./primary-bank-account-response-class"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
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 LinkBankTransactionPaymentRequestsRequestDtoRest
|
|
16
|
+
*/
|
|
17
|
+
export interface LinkBankTransactionPaymentRequestsRequestDtoRest {
|
|
18
|
+
/**
|
|
19
|
+
* Codes of the open payout payment requests the outgoing bank transaction paid; up to 1000, no duplicates, empty when only bank orders are linked. Together with the payment requests of the bank orders their amounts must add up to the transaction amount.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof LinkBankTransactionPaymentRequestsRequestDtoRest
|
|
22
|
+
*/
|
|
23
|
+
'paymentRequestCodes': Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Codes of payout bank orders the transaction paid whole: the link pays every open payment request each order holds in the transaction currency. Up to 1000, no duplicates; a payment request may not also be listed in paymentRequestCodes.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof LinkBankTransactionPaymentRequestsRequestDtoRest
|
|
28
|
+
*/
|
|
29
|
+
'bankOrderCodes'?: Array<string>;
|
|
30
|
+
}
|
|
@@ -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 { BankTransactionClass } from './bank-transaction-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LinkBankTransactionPaymentRequestsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface LinkBankTransactionPaymentRequestsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The linked bank transaction, with the payment receipts the link created
|
|
21
|
+
* @type {BankTransactionClass}
|
|
22
|
+
* @memberof LinkBankTransactionPaymentRequestsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'bankTransaction': BankTransactionClass;
|
|
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 });
|
|
@@ -76,7 +76,7 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
76
76
|
*/
|
|
77
77
|
'productSlug'?: string;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof PaymentClassWithoutExpandProperties
|
|
82
82
|
*/
|
|
@@ -83,7 +83,7 @@ export interface PaymentClass {
|
|
|
83
83
|
*/
|
|
84
84
|
'productSlug'?: string;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @memberof PaymentClass
|
|
89
89
|
*/
|
|
@@ -46,7 +46,7 @@ export interface PaymentReceiptClass {
|
|
|
46
46
|
*/
|
|
47
47
|
'direction': PaymentReceiptClassDirectionEnum;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof PaymentReceiptClass
|
|
52
52
|
*/
|
|
@@ -57,6 +57,12 @@ export interface PaymentReceiptClass {
|
|
|
57
57
|
* @memberof PaymentReceiptClass
|
|
58
58
|
*/
|
|
59
59
|
'paymentRequestCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The number of the payment request the payment receipt pays; read from the payment request, not stored on the receipt.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentReceiptClass
|
|
64
|
+
*/
|
|
65
|
+
'paymentRequestNumber'?: string;
|
|
60
66
|
/**
|
|
61
67
|
* The payment service provider that produced the payment receipt.
|
|
62
68
|
* @type {string}
|
|
@@ -69,6 +75,12 @@ export interface PaymentReceiptClass {
|
|
|
69
75
|
* @memberof PaymentReceiptClass
|
|
70
76
|
*/
|
|
71
77
|
'comment'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The code of the bank transaction whose link created the payment receipt; unset for a receipt created by hand.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PaymentReceiptClass
|
|
82
|
+
*/
|
|
83
|
+
'bankTransactionCode'?: string;
|
|
72
84
|
/**
|
|
73
85
|
* Time at which the object was created.
|
|
74
86
|
* @type {string}
|
|
@@ -0,0 +1,139 @@
|
|
|
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 { BankTransactionEntity } from './bank-transaction-entity';
|
|
13
|
+
import { PaymentRequestEntity } from './payment-request-entity';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaymentReceiptEntity
|
|
18
|
+
*/
|
|
19
|
+
export interface PaymentReceiptEntity {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof PaymentReceiptEntity
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PaymentReceiptEntity
|
|
30
|
+
*/
|
|
31
|
+
'code': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof PaymentReceiptEntity
|
|
36
|
+
*/
|
|
37
|
+
'amount': number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof PaymentReceiptEntity
|
|
42
|
+
*/
|
|
43
|
+
'currency': string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PaymentReceiptEntity
|
|
48
|
+
*/
|
|
49
|
+
'direction': PaymentReceiptEntityDirectionEnum;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof PaymentReceiptEntity
|
|
54
|
+
*/
|
|
55
|
+
'dateOfPayment': string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof PaymentReceiptEntity
|
|
60
|
+
*/
|
|
61
|
+
'paymentRequestCode'?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof PaymentReceiptEntity
|
|
66
|
+
*/
|
|
67
|
+
'psp'?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PaymentReceiptEntity
|
|
72
|
+
*/
|
|
73
|
+
'comment'?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof PaymentReceiptEntity
|
|
78
|
+
*/
|
|
79
|
+
'paymentRequestNumber'?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {PaymentRequestEntity}
|
|
83
|
+
* @memberof PaymentReceiptEntity
|
|
84
|
+
*/
|
|
85
|
+
'paymentRequest'?: PaymentRequestEntity;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof PaymentReceiptEntity
|
|
90
|
+
*/
|
|
91
|
+
'bankTransactionId'?: number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PaymentReceiptEntity
|
|
96
|
+
*/
|
|
97
|
+
'bankTransactionCode'?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {BankTransactionEntity}
|
|
101
|
+
* @memberof PaymentReceiptEntity
|
|
102
|
+
*/
|
|
103
|
+
'bankTransaction'?: BankTransactionEntity;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof PaymentReceiptEntity
|
|
108
|
+
*/
|
|
109
|
+
'createdAt'?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof PaymentReceiptEntity
|
|
114
|
+
*/
|
|
115
|
+
'updatedAt'?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof PaymentReceiptEntity
|
|
120
|
+
*/
|
|
121
|
+
'deletedAt'?: string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof PaymentReceiptEntity
|
|
126
|
+
*/
|
|
127
|
+
'owner': string;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof PaymentReceiptEntity
|
|
132
|
+
*/
|
|
133
|
+
'tenantHierarchy': string;
|
|
134
|
+
}
|
|
135
|
+
export declare const PaymentReceiptEntityDirectionEnum: {
|
|
136
|
+
readonly Collect: "collect";
|
|
137
|
+
readonly Disburse: "disburse";
|
|
138
|
+
};
|
|
139
|
+
export type PaymentReceiptEntityDirectionEnum = typeof PaymentReceiptEntityDirectionEnum[keyof typeof PaymentReceiptEntityDirectionEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
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.PaymentReceiptEntityDirectionEnum = void 0;
|
|
17
|
+
exports.PaymentReceiptEntityDirectionEnum = {
|
|
18
|
+
Collect: 'collect',
|
|
19
|
+
Disburse: 'disburse'
|
|
20
|
+
};
|
|
@@ -106,6 +106,24 @@ export interface PaymentRequestClass {
|
|
|
106
106
|
* @memberof PaymentRequestClass
|
|
107
107
|
*/
|
|
108
108
|
'partnerCode': string;
|
|
109
|
+
/**
|
|
110
|
+
* Code of the bank order that contains this payment request. Absent while the request is in no bank order.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof PaymentRequestClass
|
|
113
|
+
*/
|
|
114
|
+
'bankOrderCode'?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Order number of the bank order that contains this payment request.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof PaymentRequestClass
|
|
119
|
+
*/
|
|
120
|
+
'bankOrderNumber'?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Whether the request can be added to a bank order. Claim payouts: the partner has an active payout method. Refunds: the policy\'s active payment method is EIS SEPA with an IBAN.
|
|
123
|
+
* @type {boolean}
|
|
124
|
+
* @memberof PaymentRequestClass
|
|
125
|
+
*/
|
|
126
|
+
'recipientHasBankDetails'?: boolean;
|
|
109
127
|
/**
|
|
110
128
|
* Code of the payment method used for this payment request.
|
|
111
129
|
* @type {string}
|
|
@@ -147,6 +165,7 @@ export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirecti
|
|
|
147
165
|
export declare const PaymentRequestClassFinancialEntityTypeEnum: {
|
|
148
166
|
readonly ClaimRegulation: "claim_regulation";
|
|
149
167
|
readonly RefundAllocation: "refund_allocation";
|
|
168
|
+
readonly CommissionSettlement: "commission_settlement";
|
|
150
169
|
readonly Other: "other";
|
|
151
170
|
};
|
|
152
171
|
export type PaymentRequestClassFinancialEntityTypeEnum = typeof PaymentRequestClassFinancialEntityTypeEnum[keyof typeof PaymentRequestClassFinancialEntityTypeEnum];
|
|
@@ -21,6 +21,7 @@ exports.PaymentRequestClassDirectionEnum = {
|
|
|
21
21
|
exports.PaymentRequestClassFinancialEntityTypeEnum = {
|
|
22
22
|
ClaimRegulation: 'claim_regulation',
|
|
23
23
|
RefundAllocation: 'refund_allocation',
|
|
24
|
+
CommissionSettlement: 'commission_settlement',
|
|
24
25
|
Other: 'other'
|
|
25
26
|
};
|
|
26
27
|
exports.PaymentRequestClassDomainEntityTypeEnum = {
|