@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
|
@@ -16,28 +16,16 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
|
|
|
16
16
|
* @interface ListExceedingCreditsResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListExceedingCreditsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Next page token.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ListExceedingCreditsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'nextPageToken': string;
|
|
25
|
-
/**
|
|
26
|
-
* Total amount of items.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof ListExceedingCreditsResponseClass
|
|
29
|
-
*/
|
|
30
|
-
'totalItems': number;
|
|
31
|
-
/**
|
|
32
|
-
* Items per page.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ListExceedingCreditsResponseClass
|
|
35
|
-
*/
|
|
36
|
-
'itemsPerPage': number;
|
|
37
19
|
/**
|
|
38
20
|
* The list of exceeding credits.
|
|
39
21
|
* @type {Array<ExceedingCreditClass>}
|
|
40
22
|
* @memberof ListExceedingCreditsResponseClass
|
|
41
23
|
*/
|
|
42
24
|
'items': Array<ExceedingCreditClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
43
31
|
}
|
|
@@ -17,17 +17,17 @@ import { PaymentReceiptClass } from './payment-receipt-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ListPaymentReceiptsResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
20
|
+
* The list of payment receipts.
|
|
21
|
+
* @type {Array<PaymentReceiptClass>}
|
|
22
22
|
* @memberof ListPaymentReceiptsResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'items': Array<PaymentReceiptClass>;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
28
|
* @memberof ListPaymentReceiptsResponseClass
|
|
29
29
|
*/
|
|
30
|
-
'
|
|
30
|
+
'nextPageToken': string;
|
|
31
31
|
/**
|
|
32
32
|
* Items per page.
|
|
33
33
|
* @type {number}
|
|
@@ -35,9 +35,9 @@ export interface ListPaymentReceiptsResponseClass {
|
|
|
35
35
|
*/
|
|
36
36
|
'itemsPerPage': number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
40
|
* @memberof ListPaymentReceiptsResponseClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'totalItems': number;
|
|
43
43
|
}
|
|
@@ -16,28 +16,16 @@ import { PaymentRequestClass } from './payment-request-class';
|
|
|
16
16
|
* @interface ListPaymentRequestsResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListPaymentRequestsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Next page token.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ListPaymentRequestsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'nextPageToken': string;
|
|
25
|
-
/**
|
|
26
|
-
* Total amount of items.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof ListPaymentRequestsResponseClass
|
|
29
|
-
*/
|
|
30
|
-
'totalItems': number;
|
|
31
|
-
/**
|
|
32
|
-
* Items per page.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ListPaymentRequestsResponseClass
|
|
35
|
-
*/
|
|
36
|
-
'itemsPerPage': number;
|
|
37
19
|
/**
|
|
38
20
|
* The list of payment requests.
|
|
39
21
|
* @type {Array<PaymentRequestClass>}
|
|
40
22
|
* @memberof ListPaymentRequestsResponseClass
|
|
41
23
|
*/
|
|
42
24
|
'items': Array<PaymentRequestClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
43
31
|
}
|
|
@@ -17,17 +17,17 @@ import { PayoutMethodClass } from './payout-method-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ListPayoutMethodsResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
20
|
+
* The payout methods
|
|
21
|
+
* @type {Array<PayoutMethodClass>}
|
|
22
22
|
* @memberof ListPayoutMethodsResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'items': Array<PayoutMethodClass>;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
28
|
* @memberof ListPayoutMethodsResponseClass
|
|
29
29
|
*/
|
|
30
|
-
'
|
|
30
|
+
'nextPageToken': string;
|
|
31
31
|
/**
|
|
32
32
|
* Items per page.
|
|
33
33
|
* @type {number}
|
|
@@ -35,9 +35,9 @@ export interface ListPayoutMethodsResponseClass {
|
|
|
35
35
|
*/
|
|
36
36
|
'itemsPerPage': number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
40
|
* @memberof ListPayoutMethodsResponseClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'totalItems': number;
|
|
43
43
|
}
|
|
@@ -16,28 +16,16 @@ import { RefundClass } from './refund-class';
|
|
|
16
16
|
* @interface ListRefundsResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListRefundsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Next page token.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ListRefundsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'nextPageToken': string;
|
|
25
|
-
/**
|
|
26
|
-
* Total amount of items.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof ListRefundsResponseClass
|
|
29
|
-
*/
|
|
30
|
-
'totalItems': number;
|
|
31
|
-
/**
|
|
32
|
-
* Items per page.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ListRefundsResponseClass
|
|
35
|
-
*/
|
|
36
|
-
'itemsPerPage': number;
|
|
37
19
|
/**
|
|
38
20
|
* The list of refunds.
|
|
39
21
|
* @type {Array<RefundClass>}
|
|
40
22
|
* @memberof ListRefundsResponseClass
|
|
41
23
|
*/
|
|
42
24
|
'items': Array<RefundClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListRefundsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
43
31
|
}
|
|
@@ -44,7 +44,7 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PaymentClassWithoutExpandProperties
|
|
46
46
|
*/
|
|
47
|
-
'partnerCode'
|
|
47
|
+
'partnerCode': string;
|
|
48
48
|
/**
|
|
49
49
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
50
50
|
* @type {number}
|
|
@@ -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
|
*/
|
|
@@ -45,7 +45,7 @@ export interface PaymentClass {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof PaymentClass
|
|
47
47
|
*/
|
|
48
|
-
'partnerCode'
|
|
48
|
+
'partnerCode': string;
|
|
49
49
|
/**
|
|
50
50
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
51
51
|
* @type {number}
|
|
@@ -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
|
+
};
|
|
@@ -94,6 +94,18 @@ export interface PaymentRequestClass {
|
|
|
94
94
|
* @memberof PaymentRequestClass
|
|
95
95
|
*/
|
|
96
96
|
'status': PaymentRequestClassStatusEnum;
|
|
97
|
+
/**
|
|
98
|
+
* Code of the settlement the payment request was created for.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof PaymentRequestClass
|
|
101
|
+
*/
|
|
102
|
+
'settlementCode'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Code of the partner the payment request was created for.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof PaymentRequestClass
|
|
107
|
+
*/
|
|
108
|
+
'partnerCode': string;
|
|
97
109
|
/**
|
|
98
110
|
* Code of the bank order that contains this payment request. Absent while the request is in no bank order.
|
|
99
111
|
* @type {string}
|
|
@@ -112,12 +124,6 @@ export interface PaymentRequestClass {
|
|
|
112
124
|
* @memberof PaymentRequestClass
|
|
113
125
|
*/
|
|
114
126
|
'recipientHasBankDetails'?: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Code of the partner the payment request was created for.
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof PaymentRequestClass
|
|
119
|
-
*/
|
|
120
|
-
'partnerCode': string;
|
|
121
127
|
/**
|
|
122
128
|
* Code of the payment method used for this payment request.
|
|
123
129
|
* @type {string}
|
|
@@ -159,6 +165,7 @@ export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirecti
|
|
|
159
165
|
export declare const PaymentRequestClassFinancialEntityTypeEnum: {
|
|
160
166
|
readonly ClaimRegulation: "claim_regulation";
|
|
161
167
|
readonly RefundAllocation: "refund_allocation";
|
|
168
|
+
readonly CommissionSettlement: "commission_settlement";
|
|
162
169
|
readonly Other: "other";
|
|
163
170
|
};
|
|
164
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 = {
|
|
@@ -0,0 +1,223 @@
|
|
|
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 { CreditAllocationEntity } from './credit-allocation-entity';
|
|
13
|
+
import { PaymentReceiptEntity } from './payment-receipt-entity';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaymentRequestEntity
|
|
18
|
+
*/
|
|
19
|
+
export interface PaymentRequestEntity {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof PaymentRequestEntity
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PaymentRequestEntity
|
|
30
|
+
*/
|
|
31
|
+
'code': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PaymentRequestEntity
|
|
36
|
+
*/
|
|
37
|
+
'paymentRequestNumber': string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof PaymentRequestEntity
|
|
42
|
+
*/
|
|
43
|
+
'amount': number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PaymentRequestEntity
|
|
48
|
+
*/
|
|
49
|
+
'currency': string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof PaymentRequestEntity
|
|
54
|
+
*/
|
|
55
|
+
'direction': PaymentRequestEntityDirectionEnum;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof PaymentRequestEntity
|
|
60
|
+
*/
|
|
61
|
+
'financialEntityCode': string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof PaymentRequestEntity
|
|
66
|
+
*/
|
|
67
|
+
'financialEntityNumber': string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PaymentRequestEntity
|
|
72
|
+
*/
|
|
73
|
+
'financialEntityType': PaymentRequestEntityFinancialEntityTypeEnum;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof PaymentRequestEntity
|
|
78
|
+
*/
|
|
79
|
+
'domainEntityCode': string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof PaymentRequestEntity
|
|
84
|
+
*/
|
|
85
|
+
'domainEntityNumber': string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof PaymentRequestEntity
|
|
90
|
+
*/
|
|
91
|
+
'domainEntityType': PaymentRequestEntityDomainEntityTypeEnum;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PaymentRequestEntity
|
|
96
|
+
*/
|
|
97
|
+
'status': PaymentRequestEntityStatusEnum;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof PaymentRequestEntity
|
|
102
|
+
*/
|
|
103
|
+
'partnerCode': string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof PaymentRequestEntity
|
|
108
|
+
*/
|
|
109
|
+
'paymentMethodCode'?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof PaymentRequestEntity
|
|
114
|
+
*/
|
|
115
|
+
'paymentMethodType'?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof PaymentRequestEntity
|
|
120
|
+
*/
|
|
121
|
+
'paymentMethodPsp'?: string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof PaymentRequestEntity
|
|
126
|
+
*/
|
|
127
|
+
'settlementCode'?: string;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof PaymentRequestEntity
|
|
132
|
+
*/
|
|
133
|
+
'bankOrderCode'?: string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof PaymentRequestEntity
|
|
138
|
+
*/
|
|
139
|
+
'bankOrderNumber'?: string;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {boolean}
|
|
143
|
+
* @memberof PaymentRequestEntity
|
|
144
|
+
*/
|
|
145
|
+
'recipientHasBankDetails'?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {Array<PaymentReceiptEntity>}
|
|
149
|
+
* @memberof PaymentRequestEntity
|
|
150
|
+
*/
|
|
151
|
+
'paymentReceipts': Array<PaymentReceiptEntity>;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {CreditAllocationEntity}
|
|
155
|
+
* @memberof PaymentRequestEntity
|
|
156
|
+
*/
|
|
157
|
+
'creditAllocation'?: CreditAllocationEntity;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {{ [key: string]: object; }}
|
|
161
|
+
* @memberof PaymentRequestEntity
|
|
162
|
+
*/
|
|
163
|
+
'metadata'?: {
|
|
164
|
+
[key: string]: object;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof PaymentRequestEntity
|
|
170
|
+
*/
|
|
171
|
+
'createdAt': string;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof PaymentRequestEntity
|
|
176
|
+
*/
|
|
177
|
+
'updatedAt': string;
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof PaymentRequestEntity
|
|
182
|
+
*/
|
|
183
|
+
'deletedAt'?: string;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof PaymentRequestEntity
|
|
188
|
+
*/
|
|
189
|
+
'owner': string;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof PaymentRequestEntity
|
|
194
|
+
*/
|
|
195
|
+
'tenantHierarchy': string;
|
|
196
|
+
}
|
|
197
|
+
export declare const PaymentRequestEntityDirectionEnum: {
|
|
198
|
+
readonly Collect: "collect";
|
|
199
|
+
readonly Disburse: "disburse";
|
|
200
|
+
};
|
|
201
|
+
export type PaymentRequestEntityDirectionEnum = typeof PaymentRequestEntityDirectionEnum[keyof typeof PaymentRequestEntityDirectionEnum];
|
|
202
|
+
export declare const PaymentRequestEntityFinancialEntityTypeEnum: {
|
|
203
|
+
readonly ClaimRegulation: "claim_regulation";
|
|
204
|
+
readonly RefundAllocation: "refund_allocation";
|
|
205
|
+
readonly CommissionSettlement: "commission_settlement";
|
|
206
|
+
readonly Other: "other";
|
|
207
|
+
};
|
|
208
|
+
export type PaymentRequestEntityFinancialEntityTypeEnum = typeof PaymentRequestEntityFinancialEntityTypeEnum[keyof typeof PaymentRequestEntityFinancialEntityTypeEnum];
|
|
209
|
+
export declare const PaymentRequestEntityDomainEntityTypeEnum: {
|
|
210
|
+
readonly Other: "other";
|
|
211
|
+
readonly Claim: "claim";
|
|
212
|
+
readonly Policy: "policy";
|
|
213
|
+
};
|
|
214
|
+
export type PaymentRequestEntityDomainEntityTypeEnum = typeof PaymentRequestEntityDomainEntityTypeEnum[keyof typeof PaymentRequestEntityDomainEntityTypeEnum];
|
|
215
|
+
export declare const PaymentRequestEntityStatusEnum: {
|
|
216
|
+
readonly Open: "open";
|
|
217
|
+
readonly Approved: "approved";
|
|
218
|
+
readonly Pending: "pending";
|
|
219
|
+
readonly Paid: "paid";
|
|
220
|
+
readonly Failed: "failed";
|
|
221
|
+
readonly Withdrawn: "withdrawn";
|
|
222
|
+
};
|
|
223
|
+
export type PaymentRequestEntityStatusEnum = typeof PaymentRequestEntityStatusEnum[keyof typeof PaymentRequestEntityStatusEnum];
|