@emilgroup/payment-sdk 1.22.1-beta.76 → 1.22.1-beta.77
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 +0 -6
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +12 -24
- package/api/bank-orders-api.ts +10 -20
- package/api/bank-transaction-api.ts +20 -154
- package/api/billing-addresses-api.ts +10 -20
- package/api/credit-allocation-api.ts +6 -12
- package/api/exceeding-credits-api.ts +4 -117
- package/api/ibanvalidator-api.ts +2 -4
- package/api/payment-methods-api.ts +6 -12
- package/api/payment-receipts-api.ts +10 -20
- package/api/payment-reminders-api.ts +8 -16
- package/api/payment-requests-api.ts +22 -32
- package/api/payment-setup-api.ts +4 -8
- package/api/payments-api.ts +12 -24
- package/api/payout-methods-api.ts +12 -24
- package/api/policy-payment-methods-api.ts +6 -12
- package/api/refunds-api.ts +6 -12
- package/api/tenant-bank-account-api.ts +10 -20
- package/base.ts +41 -174
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-accounts-api.js +22 -36
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-orders-api.js +18 -29
- package/dist/api/bank-transaction-api.d.ts +14 -80
- package/dist/api/bank-transaction-api.js +28 -144
- package/dist/api/billing-addresses-api.d.ts +5 -5
- package/dist/api/billing-addresses-api.js +19 -32
- package/dist/api/credit-allocation-api.d.ts +3 -3
- package/dist/api/credit-allocation-api.js +11 -18
- package/dist/api/exceeding-credits-api.d.ts +2 -59
- package/dist/api/exceeding-credits-api.js +7 -107
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.js +4 -7
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-methods-api.js +11 -18
- package/dist/api/payment-receipts-api.d.ts +5 -5
- package/dist/api/payment-receipts-api.js +18 -29
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-reminders-api.js +15 -25
- package/dist/api/payment-requests-api.d.ts +17 -17
- package/dist/api/payment-requests-api.js +27 -38
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payment-setup-api.js +8 -14
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +18 -28
- package/dist/api/payout-methods-api.d.ts +6 -6
- package/dist/api/payout-methods-api.js +22 -36
- package/dist/api/policy-payment-methods-api.d.ts +3 -3
- package/dist/api/policy-payment-methods-api.js +11 -18
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/refunds-api.js +10 -15
- package/dist/api/tenant-bank-account-api.d.ts +5 -5
- package/dist/api/tenant-bank-account-api.js +18 -29
- package/dist/api/webhooks-api.d.ts +2 -2
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/bank-transaction-class.d.ts +0 -7
- package/dist/models/bank-transaction-entity.d.ts +0 -7
- package/dist/models/bank-transaction-invoice-entity.d.ts +0 -24
- 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 +0 -6
- package/dist/models/credit-allocation-class.d.ts +0 -6
- package/dist/models/credit-allocation-entity.d.ts +0 -6
- package/dist/models/exceeding-credit-entity.d.ts +0 -6
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
- package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
- package/dist/models/list-payment-requests-response-class.d.ts +18 -6
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +18 -6
- 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 -13
- package/dist/models/payment-request-class.d.ts +6 -13
- package/dist/models/payment-request-class.js +0 -1
- package/dist/models/shared-transaction-class.d.ts +0 -6
- package/dist/models/transaction-entity.d.ts +0 -6
- package/models/bank-transaction-class.ts +0 -7
- package/models/bank-transaction-entity.ts +0 -7
- package/models/bank-transaction-invoice-entity.ts +0 -24
- 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 +0 -6
- package/models/credit-allocation-class.ts +0 -6
- package/models/credit-allocation-entity.ts +0 -6
- package/models/exceeding-credit-entity.ts +0 -6
- package/models/index.ts +0 -6
- package/models/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +18 -6
- package/models/list-payment-receipts-response-class.ts +9 -9
- package/models/list-payment-requests-response-class.ts +18 -6
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +18 -6
- 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 -13
- package/models/payment-request-class.ts +6 -13
- package/models/shared-transaction-class.ts +0 -6
- package/models/transaction-entity.ts +0 -6
- package/package.json +2 -2
- package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
- package/dist/models/create-exceeding-credit-request-dto.js +0 -15
- package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
- package/dist/models/create-exceeding-credit-response-class.js +0 -15
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
- package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
- package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
- package/dist/models/payment-receipt-entity.d.ts +0 -139
- package/dist/models/payment-receipt-entity.js +0 -20
- package/dist/models/payment-request-entity.d.ts +0 -223
- package/dist/models/payment-request-entity.js +0 -39
- package/models/create-exceeding-credit-request-dto.ts +0 -54
- package/models/create-exceeding-credit-response-class.ts +0 -31
- package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
- package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
- package/models/payment-receipt-entity.ts +0 -148
- package/models/payment-request-entity.ts +0 -233
|
@@ -16,18 +16,18 @@ import { BillingAddressClass } from './billing-address-class';
|
|
|
16
16
|
* @interface ListBillingAddressesResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListBillingAddressesResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The billing addresses
|
|
21
|
-
* @type {Array<BillingAddressClass>}
|
|
22
|
-
* @memberof ListBillingAddressesResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<BillingAddressClass>;
|
|
25
19
|
/**
|
|
26
20
|
* Next page token.
|
|
27
21
|
* @type {string}
|
|
28
22
|
* @memberof ListBillingAddressesResponseClass
|
|
29
23
|
*/
|
|
30
24
|
'nextPageToken': string;
|
|
25
|
+
/**
|
|
26
|
+
* Total amount of items.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListBillingAddressesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'totalItems': number;
|
|
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
|
+
* The billing addresses
|
|
39
|
+
* @type {Array<BillingAddressClass>}
|
|
40
40
|
* @memberof ListBillingAddressesResponseClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'items': Array<BillingAddressClass>;
|
|
43
43
|
}
|
|
@@ -16,16 +16,28 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
|
|
|
16
16
|
* @interface ListExceedingCreditsResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListExceedingCreditsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The list of exceeding credits.
|
|
21
|
-
* @type {Array<ExceedingCreditClass>}
|
|
22
|
-
* @memberof ListExceedingCreditsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<ExceedingCreditClass>;
|
|
25
19
|
/**
|
|
26
20
|
* Next page token.
|
|
27
21
|
* @type {string}
|
|
28
22
|
* @memberof ListExceedingCreditsResponseClass
|
|
29
23
|
*/
|
|
30
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
|
+
/**
|
|
38
|
+
* The list of exceeding credits.
|
|
39
|
+
* @type {Array<ExceedingCreditClass>}
|
|
40
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'items': Array<ExceedingCreditClass>;
|
|
31
43
|
}
|
|
@@ -16,18 +16,18 @@ import { PaymentReceiptClass } from './payment-receipt-class';
|
|
|
16
16
|
* @interface ListPaymentReceiptsResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListPaymentReceiptsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The list of payment receipts.
|
|
21
|
-
* @type {Array<PaymentReceiptClass>}
|
|
22
|
-
* @memberof ListPaymentReceiptsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<PaymentReceiptClass>;
|
|
25
19
|
/**
|
|
26
20
|
* Next page token.
|
|
27
21
|
* @type {string}
|
|
28
22
|
* @memberof ListPaymentReceiptsResponseClass
|
|
29
23
|
*/
|
|
30
24
|
'nextPageToken': string;
|
|
25
|
+
/**
|
|
26
|
+
* Total amount of items.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'totalItems': number;
|
|
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
|
+
* The list of payment receipts.
|
|
39
|
+
* @type {Array<PaymentReceiptClass>}
|
|
40
40
|
* @memberof ListPaymentReceiptsResponseClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'items': Array<PaymentReceiptClass>;
|
|
43
43
|
}
|
|
@@ -16,16 +16,28 @@ import { PaymentRequestClass } from './payment-request-class';
|
|
|
16
16
|
* @interface ListPaymentRequestsResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListPaymentRequestsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The list of payment requests.
|
|
21
|
-
* @type {Array<PaymentRequestClass>}
|
|
22
|
-
* @memberof ListPaymentRequestsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<PaymentRequestClass>;
|
|
25
19
|
/**
|
|
26
20
|
* Next page token.
|
|
27
21
|
* @type {string}
|
|
28
22
|
* @memberof ListPaymentRequestsResponseClass
|
|
29
23
|
*/
|
|
30
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
|
+
/**
|
|
38
|
+
* The list of payment requests.
|
|
39
|
+
* @type {Array<PaymentRequestClass>}
|
|
40
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'items': Array<PaymentRequestClass>;
|
|
31
43
|
}
|
|
@@ -16,18 +16,18 @@ import { PayoutMethodClass } from './payout-method-class';
|
|
|
16
16
|
* @interface ListPayoutMethodsResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListPayoutMethodsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The payout methods
|
|
21
|
-
* @type {Array<PayoutMethodClass>}
|
|
22
|
-
* @memberof ListPayoutMethodsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<PayoutMethodClass>;
|
|
25
19
|
/**
|
|
26
20
|
* Next page token.
|
|
27
21
|
* @type {string}
|
|
28
22
|
* @memberof ListPayoutMethodsResponseClass
|
|
29
23
|
*/
|
|
30
24
|
'nextPageToken': string;
|
|
25
|
+
/**
|
|
26
|
+
* Total amount of items.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'totalItems': number;
|
|
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
|
+
* The payout methods
|
|
39
|
+
* @type {Array<PayoutMethodClass>}
|
|
40
40
|
* @memberof ListPayoutMethodsResponseClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'items': Array<PayoutMethodClass>;
|
|
43
43
|
}
|
|
@@ -16,16 +16,28 @@ import { RefundClass } from './refund-class';
|
|
|
16
16
|
* @interface ListRefundsResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListRefundsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The list of refunds.
|
|
21
|
-
* @type {Array<RefundClass>}
|
|
22
|
-
* @memberof ListRefundsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<RefundClass>;
|
|
25
19
|
/**
|
|
26
20
|
* Next page token.
|
|
27
21
|
* @type {string}
|
|
28
22
|
* @memberof ListRefundsResponseClass
|
|
29
23
|
*/
|
|
30
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
|
+
/**
|
|
38
|
+
* The list of refunds.
|
|
39
|
+
* @type {Array<RefundClass>}
|
|
40
|
+
* @memberof ListRefundsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'items': Array<RefundClass>;
|
|
31
43
|
}
|
|
@@ -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
|
+
* Time at which the payment was actually received.
|
|
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
|
+
* Time at which the payment was actually received.
|
|
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
|
+
* Date the payment was confirmed
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof PaymentReceiptClass
|
|
52
52
|
*/
|
|
@@ -57,12 +57,6 @@ 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;
|
|
66
60
|
/**
|
|
67
61
|
* The payment service provider that produced the payment receipt.
|
|
68
62
|
* @type {string}
|
|
@@ -75,12 +69,6 @@ export interface PaymentReceiptClass {
|
|
|
75
69
|
* @memberof PaymentReceiptClass
|
|
76
70
|
*/
|
|
77
71
|
'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;
|
|
84
72
|
/**
|
|
85
73
|
* Time at which the object was created.
|
|
86
74
|
* @type {string}
|
|
@@ -94,18 +94,6 @@ 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;
|
|
109
97
|
/**
|
|
110
98
|
* Code of the bank order that contains this payment request. Absent while the request is in no bank order.
|
|
111
99
|
* @type {string}
|
|
@@ -124,6 +112,12 @@ export interface PaymentRequestClass {
|
|
|
124
112
|
* @memberof PaymentRequestClass
|
|
125
113
|
*/
|
|
126
114
|
'recipientHasBankDetails'?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Code of the partner the payment request was created for.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof PaymentRequestClass
|
|
119
|
+
*/
|
|
120
|
+
'partnerCode': string;
|
|
127
121
|
/**
|
|
128
122
|
* Code of the payment method used for this payment request.
|
|
129
123
|
* @type {string}
|
|
@@ -165,7 +159,6 @@ export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirecti
|
|
|
165
159
|
export declare const PaymentRequestClassFinancialEntityTypeEnum: {
|
|
166
160
|
readonly ClaimRegulation: "claim_regulation";
|
|
167
161
|
readonly RefundAllocation: "refund_allocation";
|
|
168
|
-
readonly CommissionSettlement: "commission_settlement";
|
|
169
162
|
readonly Other: "other";
|
|
170
163
|
};
|
|
171
164
|
export type PaymentRequestClassFinancialEntityTypeEnum = typeof PaymentRequestClassFinancialEntityTypeEnum[keyof typeof PaymentRequestClassFinancialEntityTypeEnum];
|
|
@@ -21,7 +21,6 @@ exports.PaymentRequestClassDirectionEnum = {
|
|
|
21
21
|
exports.PaymentRequestClassFinancialEntityTypeEnum = {
|
|
22
22
|
ClaimRegulation: 'claim_regulation',
|
|
23
23
|
RefundAllocation: 'refund_allocation',
|
|
24
|
-
CommissionSettlement: 'commission_settlement',
|
|
25
24
|
Other: 'other'
|
|
26
25
|
};
|
|
27
26
|
exports.PaymentRequestClassDomainEntityTypeEnum = {
|
|
@@ -69,10 +69,4 @@ 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;
|
|
78
72
|
}
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
import { BankOrderClass } from './bank-order-class';
|
|
17
17
|
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
18
18
|
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
19
|
-
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
20
19
|
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
21
20
|
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
22
21
|
|
|
@@ -158,12 +157,6 @@ export interface BankTransactionClass {
|
|
|
158
157
|
* @memberof BankTransactionClass
|
|
159
158
|
*/
|
|
160
159
|
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
161
|
-
/**
|
|
162
|
-
* Payment receipts created by linking this outgoing transaction to payment requests
|
|
163
|
-
* @type {Array<PaymentReceiptClass>}
|
|
164
|
-
* @memberof BankTransactionClass
|
|
165
|
-
*/
|
|
166
|
-
'paymentReceipts'?: Array<PaymentReceiptClass>;
|
|
167
160
|
}
|
|
168
161
|
|
|
169
162
|
export const BankTransactionClassLabelEnum = {
|
|
@@ -17,7 +17,6 @@ import { BankOrderEntity } from './bank-order-entity';
|
|
|
17
17
|
import { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
|
|
18
18
|
import { ExceedingCreditEntity } from './exceeding-credit-entity';
|
|
19
19
|
import { InvoiceMatchSuggestionEntity } from './invoice-match-suggestion-entity';
|
|
20
|
-
import { PaymentReceiptEntity } from './payment-receipt-entity';
|
|
21
20
|
import { SuggestionGenerationProgressEntity } from './suggestion-generation-progress-entity';
|
|
22
21
|
import { TenantBankAccountEntity } from './tenant-bank-account-entity';
|
|
23
22
|
|
|
@@ -141,12 +140,6 @@ export interface BankTransactionEntity {
|
|
|
141
140
|
* @memberof BankTransactionEntity
|
|
142
141
|
*/
|
|
143
142
|
'exceedingCredits': Array<ExceedingCreditEntity>;
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {Array<PaymentReceiptEntity>}
|
|
147
|
-
* @memberof BankTransactionEntity
|
|
148
|
-
*/
|
|
149
|
-
'paymentReceipts': Array<PaymentReceiptEntity>;
|
|
150
143
|
/**
|
|
151
144
|
*
|
|
152
145
|
* @type {string}
|
|
@@ -82,30 +82,6 @@ export interface BankTransactionInvoiceEntity {
|
|
|
82
82
|
* @memberof BankTransactionInvoiceEntity
|
|
83
83
|
*/
|
|
84
84
|
'bankTransaction': BankTransactionEntity;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof BankTransactionInvoiceEntity
|
|
89
|
-
*/
|
|
90
|
-
'unlinkCode'?: string | null;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof BankTransactionInvoiceEntity
|
|
95
|
-
*/
|
|
96
|
-
'unlinkedPaymentCode'?: string | null;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {Array<string>}
|
|
100
|
-
* @memberof BankTransactionInvoiceEntity
|
|
101
|
-
*/
|
|
102
|
-
'unlinkedCreditCodes'?: Array<string> | null;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof BankTransactionInvoiceEntity
|
|
107
|
-
*/
|
|
108
|
-
'unlinkEventPublishedAt'?: string | null;
|
|
109
85
|
/**
|
|
110
86
|
*
|
|
111
87
|
* @type {string}
|
|
@@ -33,7 +33,7 @@ export interface CreatePaymentOrderDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'comment'?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Optional payment date.
|
|
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
|
+
* Date the payment was confirmed
|
|
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
|
+
* Optional payment date.
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof CreatePaymentRequestDto
|
|
69
69
|
*/
|
|
@@ -74,12 +74,6 @@ 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;
|
|
83
77
|
/**
|
|
84
78
|
* Code of the partner the payment request was created for.
|
|
85
79
|
* @type {string}
|
|
@@ -39,12 +39,6 @@ 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;
|
|
48
42
|
/**
|
|
49
43
|
* Policy code associated with the credit.
|
|
50
44
|
* @type {string}
|
|
@@ -136,12 +136,6 @@ export interface ExceedingCreditEntity {
|
|
|
136
136
|
* @memberof ExceedingCreditEntity
|
|
137
137
|
*/
|
|
138
138
|
'tenantHierarchy': string;
|
|
139
|
-
/**
|
|
140
|
-
*
|
|
141
|
-
* @type {boolean}
|
|
142
|
-
* @memberof ExceedingCreditEntity
|
|
143
|
-
*/
|
|
144
|
-
'createdEventPending': boolean;
|
|
145
139
|
}
|
|
146
140
|
|
|
147
141
|
export const ExceedingCreditEntityCurrencyEnum = {
|
package/models/index.ts
CHANGED
|
@@ -31,8 +31,6 @@ 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';
|
|
36
34
|
export * from './create-payment-method-response-class';
|
|
37
35
|
export * from './create-payment-order-dto';
|
|
38
36
|
export * from './create-payment-order-request-dto';
|
|
@@ -92,8 +90,6 @@ export * from './inline-response503';
|
|
|
92
90
|
export * from './invoice-allocation-dto';
|
|
93
91
|
export * from './invoice-match-suggestion-class';
|
|
94
92
|
export * from './invoice-match-suggestion-entity';
|
|
95
|
-
export * from './link-bank-transaction-payment-requests-request-dto-rest';
|
|
96
|
-
export * from './link-bank-transaction-payment-requests-response-class';
|
|
97
93
|
export * from './link-bank-transaction-request-dto-rest';
|
|
98
94
|
export * from './link-bank-transactions-response-class';
|
|
99
95
|
export * from './list-bank-accounts-response-class';
|
|
@@ -119,10 +115,8 @@ export * from './payment-class-without-expand-properties';
|
|
|
119
115
|
export * from './payment-entity';
|
|
120
116
|
export * from './payment-method-class';
|
|
121
117
|
export * from './payment-receipt-class';
|
|
122
|
-
export * from './payment-receipt-entity';
|
|
123
118
|
export * from './payment-reminder-class';
|
|
124
119
|
export * from './payment-request-class';
|
|
125
|
-
export * from './payment-request-entity';
|
|
126
120
|
export * from './payout-method-class';
|
|
127
121
|
export * from './policy-payment-method-class';
|
|
128
122
|
export * from './primary-bank-account-response-class';
|
|
@@ -21,18 +21,18 @@ import { BillingAddressClass } from './billing-address-class';
|
|
|
21
21
|
* @interface ListBillingAddressesResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListBillingAddressesResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The billing addresses
|
|
26
|
-
* @type {Array<BillingAddressClass>}
|
|
27
|
-
* @memberof ListBillingAddressesResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<BillingAddressClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListBillingAddressesResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListBillingAddressesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
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
|
+
* The billing addresses
|
|
44
|
+
* @type {Array<BillingAddressClass>}
|
|
45
45
|
* @memberof ListBillingAddressesResponseClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'items': Array<BillingAddressClass>;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -21,17 +21,29 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
|
|
|
21
21
|
* @interface ListExceedingCreditsResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListExceedingCreditsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The list of exceeding credits.
|
|
26
|
-
* @type {Array<ExceedingCreditClass>}
|
|
27
|
-
* @memberof ListExceedingCreditsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<ExceedingCreditClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListExceedingCreditsResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The list of exceeding credits.
|
|
44
|
+
* @type {Array<ExceedingCreditClass>}
|
|
45
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<ExceedingCreditClass>;
|
|
36
48
|
}
|
|
37
49
|
|