@emilgroup/payment-sdk 1.22.1-beta.83 → 1.22.1-beta.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +48 -18
- 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/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 +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/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-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/index.d.ts +8 -0
- package/dist/models/index.js +8 -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/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/index.ts +8 -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/package.json +2 -2
|
@@ -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
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ export * from './create-billing-address-request-dto';
|
|
|
31
31
|
export * from './create-billing-address-response-class';
|
|
32
32
|
export * from './create-credit-allocation-request-dto';
|
|
33
33
|
export * from './create-credit-allocation-response-class';
|
|
34
|
+
export * from './create-exceeding-credit-request-dto';
|
|
35
|
+
export * from './create-exceeding-credit-response-class';
|
|
34
36
|
export * from './create-payment-method-response-class';
|
|
35
37
|
export * from './create-payment-order-dto';
|
|
36
38
|
export * from './create-payment-order-request-dto';
|
|
@@ -50,6 +52,8 @@ export * from './create-policy-payment-method-response-class';
|
|
|
50
52
|
export * from './create-psp-payment-method-request-dto';
|
|
51
53
|
export * from './create-refund-request-dto';
|
|
52
54
|
export * from './create-refund-response-class';
|
|
55
|
+
export * from './create-return-premium-credits-request-dto';
|
|
56
|
+
export * from './create-return-premium-credits-response-class';
|
|
53
57
|
export * from './create-tenant-bank-account-request-dto';
|
|
54
58
|
export * from './create-tenant-bank-account-response-class';
|
|
55
59
|
export * from './credit-allocation-class';
|
|
@@ -90,6 +94,8 @@ export * from './inline-response503';
|
|
|
90
94
|
export * from './invoice-allocation-dto';
|
|
91
95
|
export * from './invoice-match-suggestion-class';
|
|
92
96
|
export * from './invoice-match-suggestion-entity';
|
|
97
|
+
export * from './link-bank-transaction-payment-requests-request-dto-rest';
|
|
98
|
+
export * from './link-bank-transaction-payment-requests-response-class';
|
|
93
99
|
export * from './link-bank-transaction-request-dto-rest';
|
|
94
100
|
export * from './link-bank-transactions-response-class';
|
|
95
101
|
export * from './list-bank-accounts-response-class';
|
|
@@ -115,8 +121,10 @@ export * from './payment-class-without-expand-properties';
|
|
|
115
121
|
export * from './payment-entity';
|
|
116
122
|
export * from './payment-method-class';
|
|
117
123
|
export * from './payment-receipt-class';
|
|
124
|
+
export * from './payment-receipt-entity';
|
|
118
125
|
export * from './payment-reminder-class';
|
|
119
126
|
export * from './payment-request-class';
|
|
127
|
+
export * from './payment-request-entity';
|
|
120
128
|
export * from './payout-method-class';
|
|
121
129
|
export * from './policy-payment-method-class';
|
|
122
130
|
export * from './primary-bank-account-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -47,6 +47,8 @@ __exportStar(require("./create-billing-address-request-dto"), exports);
|
|
|
47
47
|
__exportStar(require("./create-billing-address-response-class"), exports);
|
|
48
48
|
__exportStar(require("./create-credit-allocation-request-dto"), exports);
|
|
49
49
|
__exportStar(require("./create-credit-allocation-response-class"), exports);
|
|
50
|
+
__exportStar(require("./create-exceeding-credit-request-dto"), exports);
|
|
51
|
+
__exportStar(require("./create-exceeding-credit-response-class"), exports);
|
|
50
52
|
__exportStar(require("./create-payment-method-response-class"), exports);
|
|
51
53
|
__exportStar(require("./create-payment-order-dto"), exports);
|
|
52
54
|
__exportStar(require("./create-payment-order-request-dto"), exports);
|
|
@@ -66,6 +68,8 @@ __exportStar(require("./create-policy-payment-method-response-class"), exports);
|
|
|
66
68
|
__exportStar(require("./create-psp-payment-method-request-dto"), exports);
|
|
67
69
|
__exportStar(require("./create-refund-request-dto"), exports);
|
|
68
70
|
__exportStar(require("./create-refund-response-class"), exports);
|
|
71
|
+
__exportStar(require("./create-return-premium-credits-request-dto"), exports);
|
|
72
|
+
__exportStar(require("./create-return-premium-credits-response-class"), exports);
|
|
69
73
|
__exportStar(require("./create-tenant-bank-account-request-dto"), exports);
|
|
70
74
|
__exportStar(require("./create-tenant-bank-account-response-class"), exports);
|
|
71
75
|
__exportStar(require("./credit-allocation-class"), exports);
|
|
@@ -106,6 +110,8 @@ __exportStar(require("./inline-response503"), exports);
|
|
|
106
110
|
__exportStar(require("./invoice-allocation-dto"), exports);
|
|
107
111
|
__exportStar(require("./invoice-match-suggestion-class"), exports);
|
|
108
112
|
__exportStar(require("./invoice-match-suggestion-entity"), exports);
|
|
113
|
+
__exportStar(require("./link-bank-transaction-payment-requests-request-dto-rest"), exports);
|
|
114
|
+
__exportStar(require("./link-bank-transaction-payment-requests-response-class"), exports);
|
|
109
115
|
__exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
|
|
110
116
|
__exportStar(require("./link-bank-transactions-response-class"), exports);
|
|
111
117
|
__exportStar(require("./list-bank-accounts-response-class"), exports);
|
|
@@ -131,8 +137,10 @@ __exportStar(require("./payment-class-without-expand-properties"), exports);
|
|
|
131
137
|
__exportStar(require("./payment-entity"), exports);
|
|
132
138
|
__exportStar(require("./payment-method-class"), exports);
|
|
133
139
|
__exportStar(require("./payment-receipt-class"), exports);
|
|
140
|
+
__exportStar(require("./payment-receipt-entity"), exports);
|
|
134
141
|
__exportStar(require("./payment-reminder-class"), exports);
|
|
135
142
|
__exportStar(require("./payment-request-class"), exports);
|
|
143
|
+
__exportStar(require("./payment-request-entity"), exports);
|
|
136
144
|
__exportStar(require("./payout-method-class"), exports);
|
|
137
145
|
__exportStar(require("./policy-payment-method-class"), exports);
|
|
138
146
|
__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 });
|
|
@@ -17,17 +17,17 @@ import { BillingAddressClass } from './billing-address-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ListBillingAddressesResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
20
|
+
* The billing addresses
|
|
21
|
+
* @type {Array<BillingAddressClass>}
|
|
22
22
|
* @memberof ListBillingAddressesResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'items': Array<BillingAddressClass>;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
28
|
* @memberof ListBillingAddressesResponseClass
|
|
29
29
|
*/
|
|
30
|
-
'
|
|
30
|
+
'nextPageToken': string;
|
|
31
31
|
/**
|
|
32
32
|
* Items per page.
|
|
33
33
|
* @type {number}
|
|
@@ -35,9 +35,9 @@ export interface ListBillingAddressesResponseClass {
|
|
|
35
35
|
*/
|
|
36
36
|
'itemsPerPage': number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
40
|
* @memberof ListBillingAddressesResponseClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'totalItems': number;
|
|
43
43
|
}
|