@emilgroup/payment-sdk 1.22.1-beta.83 → 1.22.1-beta.85
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 +13 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +48 -18
- package/api/bank-order-texts-api.ts +265 -0
- package/api/bank-orders-api.ts +40 -15
- 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 +240 -6
- 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/api.ts +2 -0
- 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-order-texts-api.d.ts +144 -0
- package/dist/api/bank-order-texts-api.js +325 -0
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-orders-api.js +67 -38
- 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 +116 -2
- package/dist/api/exceeding-credits-api.js +226 -15
- 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/api.d.ts +1 -0
- package/dist/api.js +1 -0
- 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-texts-class.d.ts +42 -0
- package/dist/models/bank-order-texts-class.js +15 -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-exceeding-credit-request-dto.d.ts +48 -0
- package/dist/models/create-exceeding-credit-request-dto.js +15 -0
- package/dist/models/create-exceeding-credit-response-class.d.ts +25 -0
- package/dist/models/create-exceeding-credit-response-class.js +15 -0
- package/dist/models/create-payment-order-dto.d.ts +1 -1
- package/dist/models/create-payment-receipt-request-dto.d.ts +3 -3
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-request-dto.d.ts +6 -0
- package/dist/models/create-return-premium-credits-request-dto.d.ts +24 -0
- package/dist/models/create-return-premium-credits-request-dto.js +15 -0
- package/dist/models/create-return-premium-credits-response-class.d.ts +25 -0
- package/dist/models/create-return-premium-credits-response-class.js +15 -0
- package/dist/models/credit-allocation-class.d.ts +6 -0
- package/dist/models/credit-allocation-entity.d.ts +6 -0
- package/dist/models/exceeding-credit-class.d.ts +25 -2
- package/dist/models/exceeding-credit-class.js +5 -1
- package/dist/models/exceeding-credit-entity.d.ts +31 -2
- package/dist/models/exceeding-credit-entity.js +5 -1
- package/dist/models/get-bank-order-texts-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-texts-response-class.js +15 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -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/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +6 -18
- package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
- package/dist/models/list-payment-requests-response-class.d.ts +6 -18
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +6 -18
- package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
- package/dist/models/payment-class.d.ts +2 -2
- package/dist/models/payment-entity.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 +13 -6
- 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-texts-request-dto.d.ts +32 -0
- package/dist/models/update-bank-order-texts-request-dto.js +15 -0
- package/dist/models/update-bank-order-texts-response-class.d.ts +25 -0
- package/dist/models/update-bank-order-texts-response-class.js +15 -0
- package/models/bank-order-texts-class.ts +48 -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-exceeding-credit-request-dto.ts +54 -0
- package/models/create-exceeding-credit-response-class.ts +31 -0
- package/models/create-payment-order-dto.ts +1 -1
- package/models/create-payment-receipt-request-dto.ts +3 -3
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-payment-request-request-dto.ts +6 -0
- package/models/create-return-premium-credits-request-dto.ts +30 -0
- package/models/create-return-premium-credits-response-class.ts +31 -0
- package/models/credit-allocation-class.ts +6 -0
- package/models/credit-allocation-entity.ts +6 -0
- package/models/exceeding-credit-class.ts +26 -2
- package/models/exceeding-credit-entity.ts +32 -2
- package/models/get-bank-order-texts-response-class.ts +31 -0
- package/models/index.ts +12 -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/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +6 -18
- package/models/list-payment-receipts-response-class.ts +9 -9
- package/models/list-payment-requests-response-class.ts +6 -18
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +6 -18
- package/models/payment-class-without-expand-properties.ts +2 -2
- package/models/payment-class.ts +2 -2
- package/models/payment-entity.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 +13 -6
- 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-texts-request-dto.ts +36 -0
- package/models/update-bank-order-texts-response-class.ts +31 -0
- package/package.json +2 -2
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { BankOrderClass } from './bank-order-class';
|
|
13
13
|
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
14
14
|
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
15
|
+
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
15
16
|
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
16
17
|
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
17
18
|
/**
|
|
@@ -152,6 +153,12 @@ export interface BankTransactionClass {
|
|
|
152
153
|
* @memberof BankTransactionClass
|
|
153
154
|
*/
|
|
154
155
|
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
156
|
+
/**
|
|
157
|
+
* Payment receipts created by linking this outgoing transaction to payment requests
|
|
158
|
+
* @type {Array<PaymentReceiptClass>}
|
|
159
|
+
* @memberof BankTransactionClass
|
|
160
|
+
*/
|
|
161
|
+
'paymentReceipts'?: Array<PaymentReceiptClass>;
|
|
155
162
|
}
|
|
156
163
|
export declare const BankTransactionClassLabelEnum: {
|
|
157
164
|
readonly Automated: "automated";
|
|
@@ -13,6 +13,7 @@ import { BankOrderEntity } from './bank-order-entity';
|
|
|
13
13
|
import { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
|
|
14
14
|
import { ExceedingCreditEntity } from './exceeding-credit-entity';
|
|
15
15
|
import { InvoiceMatchSuggestionEntity } from './invoice-match-suggestion-entity';
|
|
16
|
+
import { PaymentReceiptEntity } from './payment-receipt-entity';
|
|
16
17
|
import { SuggestionGenerationProgressEntity } from './suggestion-generation-progress-entity';
|
|
17
18
|
import { TenantBankAccountEntity } from './tenant-bank-account-entity';
|
|
18
19
|
/**
|
|
@@ -137,6 +138,12 @@ export interface BankTransactionEntity {
|
|
|
137
138
|
* @memberof BankTransactionEntity
|
|
138
139
|
*/
|
|
139
140
|
'exceedingCredits': Array<ExceedingCreditEntity>;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {Array<PaymentReceiptEntity>}
|
|
144
|
+
* @memberof BankTransactionEntity
|
|
145
|
+
*/
|
|
146
|
+
'paymentReceipts': Array<PaymentReceiptEntity>;
|
|
140
147
|
/**
|
|
141
148
|
*
|
|
142
149
|
* @type {string}
|
|
@@ -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}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 CreateExceedingCreditRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateExceedingCreditRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The amount of the credit
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* The description of the credit
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'description'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The policy code of the credit
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'policyCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* The transaction code of the credit
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'bankTransactionCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* The invoice code of the credit
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'invoiceCode': string;
|
|
48
|
+
}
|
|
@@ -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 { ExceedingCreditClass } from './exceeding-credit-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateExceedingCreditResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateExceedingCreditResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Exceeding credit
|
|
21
|
+
* @type {ExceedingCreditClass}
|
|
22
|
+
* @memberof CreateExceedingCreditResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'exceedingCredit': ExceedingCreditClass;
|
|
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 });
|
|
@@ -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
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreatePaymentReceiptRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Amount in cents, always positive. In the payment request\'s direction it pays the request, at most what it still has open; in the opposite direction it records money that came back, at most what its receipts have paid.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof CreatePaymentReceiptRequestDto
|
|
22
22
|
*/
|
|
@@ -28,13 +28,13 @@ export interface CreatePaymentReceiptRequestDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'currency': string;
|
|
30
30
|
/**
|
|
31
|
-
* The flow of the payment: disburse or collect
|
|
31
|
+
* The flow of the payment: disburse or collect. The payment request\'s own direction pays it; the opposite direction records money that came back, for example a returned payout is collect on a disburse request.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof 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
|
*/
|
|
@@ -69,6 +69,12 @@ export interface CreatePaymentRequestRequestDto {
|
|
|
69
69
|
* @memberof CreatePaymentRequestRequestDto
|
|
70
70
|
*/
|
|
71
71
|
'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Code of the settlement the payment request was created for.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'settlementCode'?: string;
|
|
72
78
|
/**
|
|
73
79
|
* Code of the partner the payment request was created for.
|
|
74
80
|
* @type {string}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 CreateReturnPremiumCreditsRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateReturnPremiumCreditsRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The code of the reversing document (withdrawal, correction or final invoice) to create the return-premium credits for
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateReturnPremiumCreditsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'reversingInvoiceCode': string;
|
|
24
|
+
}
|
|
@@ -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 { ExceedingCreditClass } from './exceeding-credit-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateReturnPremiumCreditsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateReturnPremiumCreditsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The return-premium credits of the reversing document, one per reversed invoice that gets money back
|
|
21
|
+
* @type {Array<ExceedingCreditClass>}
|
|
22
|
+
* @memberof CreateReturnPremiumCreditsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'exceedingCredits': Array<ExceedingCreditClass>;
|
|
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 });
|
|
@@ -34,6 +34,12 @@ export interface CreditAllocationClass {
|
|
|
34
34
|
* @memberof CreditAllocationClass
|
|
35
35
|
*/
|
|
36
36
|
'exceedingCreditCodes': Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Partner code derived from the policy related to the exceeding credits.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreditAllocationClass
|
|
41
|
+
*/
|
|
42
|
+
'partnerCode': string;
|
|
37
43
|
/**
|
|
38
44
|
* Policy code associated with the credit.
|
|
39
45
|
* @type {string}
|
|
@@ -28,11 +28,29 @@ export interface ExceedingCreditClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'currency'?: ExceedingCreditClassCurrencyEnum;
|
|
30
30
|
/**
|
|
31
|
-
* The bank transaction code of the credit
|
|
31
|
+
* The bank transaction code of the credit; empty on a return-premium credit, which no bank transaction caused
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ExceedingCreditClass
|
|
34
34
|
*/
|
|
35
|
-
'bankTransactionCode'
|
|
35
|
+
'bankTransactionCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Where the credit comes from: overpayment (the customer paid more than invoiced) or return_premium (a reversing document gave back more than the customer still owes)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ExceedingCreditClass
|
|
40
|
+
*/
|
|
41
|
+
'origin': ExceedingCreditClassOriginEnum;
|
|
42
|
+
/**
|
|
43
|
+
* The withdrawal, correction or termination invoice that caused a return-premium credit
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ExceedingCreditClass
|
|
46
|
+
*/
|
|
47
|
+
'reversingInvoiceCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The number of the invoice that caused a return-premium credit
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ExceedingCreditClass
|
|
52
|
+
*/
|
|
53
|
+
'reversingInvoiceNumber'?: string;
|
|
36
54
|
/**
|
|
37
55
|
* The description of the credit
|
|
38
56
|
* @type {string}
|
|
@@ -120,3 +138,8 @@ export declare const ExceedingCreditClassCurrencyEnum: {
|
|
|
120
138
|
readonly Sek: "SEK";
|
|
121
139
|
};
|
|
122
140
|
export type ExceedingCreditClassCurrencyEnum = typeof ExceedingCreditClassCurrencyEnum[keyof typeof ExceedingCreditClassCurrencyEnum];
|
|
141
|
+
export declare const ExceedingCreditClassOriginEnum: {
|
|
142
|
+
readonly Overpayment: "overpayment";
|
|
143
|
+
readonly ReturnPremium: "return_premium";
|
|
144
|
+
};
|
|
145
|
+
export type ExceedingCreditClassOriginEnum = typeof ExceedingCreditClassOriginEnum[keyof typeof ExceedingCreditClassOriginEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ExceedingCreditClassCurrencyEnum = void 0;
|
|
16
|
+
exports.ExceedingCreditClassOriginEnum = exports.ExceedingCreditClassCurrencyEnum = void 0;
|
|
17
17
|
exports.ExceedingCreditClassCurrencyEnum = {
|
|
18
18
|
Eur: 'EUR',
|
|
19
19
|
Usd: 'USD',
|
|
@@ -27,3 +27,7 @@ exports.ExceedingCreditClassCurrencyEnum = {
|
|
|
27
27
|
Nok: 'NOK',
|
|
28
28
|
Sek: 'SEK'
|
|
29
29
|
};
|
|
30
|
+
exports.ExceedingCreditClassOriginEnum = {
|
|
31
|
+
Overpayment: 'overpayment',
|
|
32
|
+
ReturnPremium: 'return_premium'
|
|
33
|
+
};
|
|
@@ -58,19 +58,37 @@ export interface ExceedingCreditEntity {
|
|
|
58
58
|
* @type {number}
|
|
59
59
|
* @memberof ExceedingCreditEntity
|
|
60
60
|
*/
|
|
61
|
-
'bankTransactionId'
|
|
61
|
+
'bankTransactionId'?: number;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {BankTransactionEntity}
|
|
65
65
|
* @memberof ExceedingCreditEntity
|
|
66
66
|
*/
|
|
67
|
-
'bankTransaction'
|
|
67
|
+
'bankTransaction'?: BankTransactionEntity;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof ExceedingCreditEntity
|
|
72
72
|
*/
|
|
73
73
|
'bankTransactionCode': string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof ExceedingCreditEntity
|
|
78
|
+
*/
|
|
79
|
+
'origin': ExceedingCreditEntityOriginEnum;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof ExceedingCreditEntity
|
|
84
|
+
*/
|
|
85
|
+
'reversingInvoiceCode'?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof ExceedingCreditEntity
|
|
90
|
+
*/
|
|
91
|
+
'reversingInvoiceNumber'?: string;
|
|
74
92
|
/**
|
|
75
93
|
*
|
|
76
94
|
* @type {string}
|
|
@@ -131,6 +149,12 @@ export interface ExceedingCreditEntity {
|
|
|
131
149
|
* @memberof ExceedingCreditEntity
|
|
132
150
|
*/
|
|
133
151
|
'tenantHierarchy': string;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {boolean}
|
|
155
|
+
* @memberof ExceedingCreditEntity
|
|
156
|
+
*/
|
|
157
|
+
'createdEventPending': boolean;
|
|
134
158
|
}
|
|
135
159
|
export declare const ExceedingCreditEntityCurrencyEnum: {
|
|
136
160
|
readonly Eur: "EUR";
|
|
@@ -146,3 +170,8 @@ export declare const ExceedingCreditEntityCurrencyEnum: {
|
|
|
146
170
|
readonly Sek: "SEK";
|
|
147
171
|
};
|
|
148
172
|
export type ExceedingCreditEntityCurrencyEnum = typeof ExceedingCreditEntityCurrencyEnum[keyof typeof ExceedingCreditEntityCurrencyEnum];
|
|
173
|
+
export declare const ExceedingCreditEntityOriginEnum: {
|
|
174
|
+
readonly Overpayment: "overpayment";
|
|
175
|
+
readonly ReturnPremium: "return_premium";
|
|
176
|
+
};
|
|
177
|
+
export type ExceedingCreditEntityOriginEnum = typeof ExceedingCreditEntityOriginEnum[keyof typeof ExceedingCreditEntityOriginEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ExceedingCreditEntityCurrencyEnum = void 0;
|
|
16
|
+
exports.ExceedingCreditEntityOriginEnum = exports.ExceedingCreditEntityCurrencyEnum = void 0;
|
|
17
17
|
exports.ExceedingCreditEntityCurrencyEnum = {
|
|
18
18
|
Eur: 'EUR',
|
|
19
19
|
Usd: 'USD',
|
|
@@ -27,3 +27,7 @@ exports.ExceedingCreditEntityCurrencyEnum = {
|
|
|
27
27
|
Nok: 'NOK',
|
|
28
28
|
Sek: 'SEK'
|
|
29
29
|
};
|
|
30
|
+
exports.ExceedingCreditEntityOriginEnum = {
|
|
31
|
+
Overpayment: 'overpayment',
|
|
32
|
+
ReturnPremium: 'return_premium'
|
|
33
|
+
};
|
|
@@ -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 { BankOrderTextsClass } from './bank-order-texts-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetBankOrderTextsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetBankOrderTextsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Bank order texts of the tenant
|
|
21
|
+
* @type {BankOrderTextsClass}
|
|
22
|
+
* @memberof GetBankOrderTextsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'bankOrderTexts': BankOrderTextsClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './bank-account-class-without-expand-properties';
|
|
|
4
4
|
export * from './bank-data-class';
|
|
5
5
|
export * from './bank-order-class';
|
|
6
6
|
export * from './bank-order-entity';
|
|
7
|
+
export * from './bank-order-texts-class';
|
|
7
8
|
export * from './bank-order-xml-file-class';
|
|
8
9
|
export * from './bank-order-xml-file-entity';
|
|
9
10
|
export * from './bank-transaction-class';
|
|
@@ -31,6 +32,8 @@ export * from './create-billing-address-request-dto';
|
|
|
31
32
|
export * from './create-billing-address-response-class';
|
|
32
33
|
export * from './create-credit-allocation-request-dto';
|
|
33
34
|
export * from './create-credit-allocation-response-class';
|
|
35
|
+
export * from './create-exceeding-credit-request-dto';
|
|
36
|
+
export * from './create-exceeding-credit-response-class';
|
|
34
37
|
export * from './create-payment-method-response-class';
|
|
35
38
|
export * from './create-payment-order-dto';
|
|
36
39
|
export * from './create-payment-order-request-dto';
|
|
@@ -50,6 +53,8 @@ export * from './create-policy-payment-method-response-class';
|
|
|
50
53
|
export * from './create-psp-payment-method-request-dto';
|
|
51
54
|
export * from './create-refund-request-dto';
|
|
52
55
|
export * from './create-refund-response-class';
|
|
56
|
+
export * from './create-return-premium-credits-request-dto';
|
|
57
|
+
export * from './create-return-premium-credits-response-class';
|
|
53
58
|
export * from './create-tenant-bank-account-request-dto';
|
|
54
59
|
export * from './create-tenant-bank-account-response-class';
|
|
55
60
|
export * from './credit-allocation-class';
|
|
@@ -63,6 +68,7 @@ export * from './exceeding-credit-entity';
|
|
|
63
68
|
export * from './generate-invoice-match-suggestions-response-class';
|
|
64
69
|
export * from './get-bank-account-response-class';
|
|
65
70
|
export * from './get-bank-order-response-class';
|
|
71
|
+
export * from './get-bank-order-texts-response-class';
|
|
66
72
|
export * from './get-bank-transactions-response-class';
|
|
67
73
|
export * from './get-billing-address-response-class';
|
|
68
74
|
export * from './get-credit-allocation-response-class';
|
|
@@ -90,6 +96,8 @@ export * from './inline-response503';
|
|
|
90
96
|
export * from './invoice-allocation-dto';
|
|
91
97
|
export * from './invoice-match-suggestion-class';
|
|
92
98
|
export * from './invoice-match-suggestion-entity';
|
|
99
|
+
export * from './link-bank-transaction-payment-requests-request-dto-rest';
|
|
100
|
+
export * from './link-bank-transaction-payment-requests-response-class';
|
|
93
101
|
export * from './link-bank-transaction-request-dto-rest';
|
|
94
102
|
export * from './link-bank-transactions-response-class';
|
|
95
103
|
export * from './list-bank-accounts-response-class';
|
|
@@ -115,8 +123,10 @@ export * from './payment-class-without-expand-properties';
|
|
|
115
123
|
export * from './payment-entity';
|
|
116
124
|
export * from './payment-method-class';
|
|
117
125
|
export * from './payment-receipt-class';
|
|
126
|
+
export * from './payment-receipt-entity';
|
|
118
127
|
export * from './payment-reminder-class';
|
|
119
128
|
export * from './payment-request-class';
|
|
129
|
+
export * from './payment-request-entity';
|
|
120
130
|
export * from './payout-method-class';
|
|
121
131
|
export * from './policy-payment-method-class';
|
|
122
132
|
export * from './primary-bank-account-response-class';
|
|
@@ -139,6 +149,8 @@ export * from './update-bank-account-request-dto-rest';
|
|
|
139
149
|
export * from './update-bank-account-response-class';
|
|
140
150
|
export * from './update-bank-order-request-dto';
|
|
141
151
|
export * from './update-bank-order-response-class';
|
|
152
|
+
export * from './update-bank-order-texts-request-dto';
|
|
153
|
+
export * from './update-bank-order-texts-response-class';
|
|
142
154
|
export * from './update-billing-address-request-dto';
|
|
143
155
|
export * from './update-billing-address-response-class';
|
|
144
156
|
export * from './update-payment-receipt-response-class';
|