@emilgroup/payment-sdk 1.22.1-beta.51 → 1.22.1-beta.53
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 +2 -0
- package/README.md +2 -2
- package/api/bank-orders-api.ts +8 -8
- package/api/exceeding-credits-api.ts +107 -0
- package/api/payment-requests-api.ts +12 -12
- package/base.ts +36 -15
- package/configuration.ts +11 -0
- package/dist/api/bank-orders-api.d.ts +8 -8
- package/dist/api/bank-orders-api.js +6 -6
- package/dist/api/exceeding-credits-api.d.ts +57 -0
- package/dist/api/exceeding-credits-api.js +93 -0
- package/dist/api/payment-requests-api.d.ts +12 -12
- package/dist/api/payment-requests-api.js +9 -9
- package/dist/base.d.ts +1 -0
- package/dist/base.js +36 -16
- package/dist/configuration.d.ts +9 -0
- package/dist/configuration.js +1 -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 +1 -1
- 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/credit-allocation-class.d.ts +6 -0
- package/dist/models/credit-allocation-entity.d.ts +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -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 +1 -1
- package/dist/models/payment-request-class.d.ts +12 -6
- package/dist/models/shared-transaction-class.d.ts +6 -0
- package/dist/models/transaction-entity.d.ts +6 -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 +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-payment-request-request-dto.ts +6 -0
- package/models/credit-allocation-class.ts +6 -0
- package/models/credit-allocation-entity.ts +6 -0
- package/models/index.ts +2 -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 +1 -1
- package/models/payment-request-class.ts +12 -6
- package/models/shared-transaction-class.ts +6 -0
- package/models/transaction-entity.ts +6 -0
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ export interface CreatePaymentOrderDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'comment'?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePaymentOrderDto
|
|
34
34
|
*/
|
|
@@ -34,7 +34,7 @@ export interface CreatePaymentReceiptRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreatePaymentReceiptRequestDto
|
|
40
40
|
*/
|
|
@@ -60,7 +60,7 @@ export interface CreatePaymentRequestDto {
|
|
|
60
60
|
*/
|
|
61
61
|
'productSlug'?: string;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof CreatePaymentRequestDto
|
|
66
66
|
*/
|
|
@@ -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}
|
|
@@ -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}
|
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';
|
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);
|
|
@@ -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
|
}
|
|
@@ -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
|
*/
|
|
@@ -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}
|
|
@@ -69,4 +69,10 @@ export interface SharedTransactionClass {
|
|
|
69
69
|
* @memberof SharedTransactionClass
|
|
70
70
|
*/
|
|
71
71
|
'updatedBy': string;
|
|
72
|
+
/**
|
|
73
|
+
* Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SharedTransactionClass
|
|
76
|
+
*/
|
|
77
|
+
'bankTransactionCode'?: string;
|
|
72
78
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateExceedingCreditRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateExceedingCreditRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The amount of the credit
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'amount': number;
|
|
29
|
+
/**
|
|
30
|
+
* The description of the credit
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'description'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The policy code of the credit
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'policyCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* The transaction code of the credit
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'bankTransactionCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* The invoice code of the credit
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateExceedingCreditRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'invoiceCode': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ExceedingCreditClass } from './exceeding-credit-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateExceedingCreditResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateExceedingCreditResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Exceeding credit
|
|
26
|
+
* @type {ExceedingCreditClass}
|
|
27
|
+
* @memberof CreateExceedingCreditResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'exceedingCredit': ExceedingCreditClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -33,7 +33,7 @@ export interface CreatePaymentOrderDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'comment'?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* 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.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreatePaymentOrderDto
|
|
39
39
|
*/
|
|
@@ -39,7 +39,7 @@ export interface CreatePaymentReceiptRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* 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.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreatePaymentReceiptRequestDto
|
|
45
45
|
*/
|
|
@@ -63,7 +63,7 @@ export interface CreatePaymentRequestDto {
|
|
|
63
63
|
*/
|
|
64
64
|
'productSlug'?: string;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* 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.
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof CreatePaymentRequestDto
|
|
69
69
|
*/
|
|
@@ -74,6 +74,12 @@ export interface CreatePaymentRequestRequestDto {
|
|
|
74
74
|
* @memberof CreatePaymentRequestRequestDto
|
|
75
75
|
*/
|
|
76
76
|
'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Code of the settlement the payment request was created for.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'settlementCode'?: string;
|
|
77
83
|
/**
|
|
78
84
|
* Code of the partner the payment request was created for.
|
|
79
85
|
* @type {string}
|
|
@@ -39,6 +39,12 @@ export interface CreditAllocationClass {
|
|
|
39
39
|
* @memberof CreditAllocationClass
|
|
40
40
|
*/
|
|
41
41
|
'exceedingCreditCodes': Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Partner code derived from the policy related to the exceeding credits.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreditAllocationClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode': string;
|
|
42
48
|
/**
|
|
43
49
|
* Policy code associated with the credit.
|
|
44
50
|
* @type {string}
|
package/models/index.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';
|
|
@@ -22,17 +22,17 @@ import { BillingAddressClass } from './billing-address-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface ListBillingAddressesResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
25
|
+
* The billing addresses
|
|
26
|
+
* @type {Array<BillingAddressClass>}
|
|
27
27
|
* @memberof ListBillingAddressesResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'items': Array<BillingAddressClass>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
33
|
* @memberof ListBillingAddressesResponseClass
|
|
34
34
|
*/
|
|
35
|
-
'
|
|
35
|
+
'nextPageToken': string;
|
|
36
36
|
/**
|
|
37
37
|
* Items per page.
|
|
38
38
|
* @type {number}
|
|
@@ -40,10 +40,10 @@ export interface ListBillingAddressesResponseClass {
|
|
|
40
40
|
*/
|
|
41
41
|
'itemsPerPage': number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
45
|
* @memberof ListBillingAddressesResponseClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'totalItems': number;
|
|
48
48
|
}
|
|
49
49
|
|