@emilgroup/payment-sdk 1.22.1-beta.82 → 1.22.1-beta.83
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 -8
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +18 -48
- package/api/bank-orders-api.ts +15 -40
- package/api/bank-transaction-api.ts +26 -181
- package/api/billing-addresses-api.ts +15 -40
- package/api/credit-allocation-api.ts +9 -24
- package/api/exceeding-credits-api.ts +6 -240
- package/api/health-check-api.ts +1 -1
- package/api/ibanvalidator-api.ts +3 -8
- package/api/payment-methods-api.ts +9 -24
- package/api/payment-receipts-api.ts +15 -40
- package/api/payment-reminders-api.ts +12 -32
- package/api/payment-requests-api.ts +27 -52
- package/api/payment-setup-api.ts +6 -16
- package/api/payments-api.ts +16 -46
- package/api/payout-methods-api.ts +18 -48
- package/api/policy-payment-methods-api.ts +9 -24
- package/api/refunds-api.ts +9 -24
- package/api/tenant-bank-account-api.ts +15 -40
- package/api/webhooks-api.ts +2 -2
- package/base.ts +43 -239
- 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 +46 -82
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-orders-api.js +38 -67
- package/dist/api/bank-transaction-api.d.ts +14 -80
- package/dist/api/bank-transaction-api.js +52 -194
- package/dist/api/billing-addresses-api.d.ts +5 -5
- package/dist/api/billing-addresses-api.js +39 -71
- package/dist/api/credit-allocation-api.d.ts +3 -3
- package/dist/api/credit-allocation-api.js +23 -41
- package/dist/api/exceeding-credits-api.d.ts +2 -116
- package/dist/api/exceeding-credits-api.js +15 -226
- 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 +8 -15
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-methods-api.js +23 -41
- package/dist/api/payment-receipts-api.d.ts +5 -5
- package/dist/api/payment-receipts-api.js +38 -67
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-reminders-api.js +31 -56
- package/dist/api/payment-requests-api.d.ts +17 -17
- package/dist/api/payment-requests-api.js +47 -76
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payment-setup-api.js +16 -30
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +34 -62
- package/dist/api/payout-methods-api.d.ts +6 -6
- package/dist/api/payout-methods-api.js +46 -82
- package/dist/api/policy-payment-methods-api.d.ts +3 -3
- package/dist/api/policy-payment-methods-api.js +23 -41
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/refunds-api.js +22 -37
- package/dist/api/tenant-bank-account-api.d.ts +5 -5
- package/dist/api/tenant-bank-account-api.js +38 -67
- package/dist/api/webhooks-api.d.ts +2 -2
- package/dist/api/webhooks-api.js +2 -2
- package/dist/base.d.ts +0 -26
- package/dist/base.js +60 -243
- 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 +3 -3
- 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-class.d.ts +2 -25
- package/dist/models/exceeding-credit-class.js +1 -5
- package/dist/models/exceeding-credit-entity.d.ts +2 -31
- package/dist/models/exceeding-credit-entity.js +1 -5
- package/dist/models/index.d.ts +0 -8
- package/dist/models/index.js +0 -8
- 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 +3 -3
- 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-class.ts +2 -26
- package/models/exceeding-credit-entity.ts +2 -32
- package/models/index.ts +0 -8
- 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/create-return-premium-credits-request-dto.d.ts +0 -24
- package/dist/models/create-return-premium-credits-request-dto.js +0 -15
- package/dist/models/create-return-premium-credits-response-class.d.ts +0 -25
- package/dist/models/create-return-premium-credits-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/create-return-premium-credits-request-dto.ts +0 -30
- package/models/create-return-premium-credits-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,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreatePaymentReceiptRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* amount
|
|
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
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePaymentReceiptRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Date the payment was confirmed
|
|
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
|
+
* Optional payment date.
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof CreatePaymentRequestDto
|
|
66
66
|
*/
|
|
@@ -69,12 +69,6 @@ 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;
|
|
78
72
|
/**
|
|
79
73
|
* Code of the partner the payment request was created for.
|
|
80
74
|
* @type {string}
|
|
@@ -34,12 +34,6 @@ 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;
|
|
43
37
|
/**
|
|
44
38
|
* Policy code associated with the credit.
|
|
45
39
|
* @type {string}
|
|
@@ -28,29 +28,11 @@ 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
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ExceedingCreditClass
|
|
34
34
|
*/
|
|
35
|
-
'bankTransactionCode'
|
|
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;
|
|
35
|
+
'bankTransactionCode': string;
|
|
54
36
|
/**
|
|
55
37
|
* The description of the credit
|
|
56
38
|
* @type {string}
|
|
@@ -138,8 +120,3 @@ export declare const ExceedingCreditClassCurrencyEnum: {
|
|
|
138
120
|
readonly Sek: "SEK";
|
|
139
121
|
};
|
|
140
122
|
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.
|
|
16
|
+
exports.ExceedingCreditClassCurrencyEnum = void 0;
|
|
17
17
|
exports.ExceedingCreditClassCurrencyEnum = {
|
|
18
18
|
Eur: 'EUR',
|
|
19
19
|
Usd: 'USD',
|
|
@@ -27,7 +27,3 @@ exports.ExceedingCreditClassCurrencyEnum = {
|
|
|
27
27
|
Nok: 'NOK',
|
|
28
28
|
Sek: 'SEK'
|
|
29
29
|
};
|
|
30
|
-
exports.ExceedingCreditClassOriginEnum = {
|
|
31
|
-
Overpayment: 'overpayment',
|
|
32
|
-
ReturnPremium: 'return_premium'
|
|
33
|
-
};
|
|
@@ -58,37 +58,19 @@ 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;
|
|
92
74
|
/**
|
|
93
75
|
*
|
|
94
76
|
* @type {string}
|
|
@@ -149,12 +131,6 @@ export interface ExceedingCreditEntity {
|
|
|
149
131
|
* @memberof ExceedingCreditEntity
|
|
150
132
|
*/
|
|
151
133
|
'tenantHierarchy': string;
|
|
152
|
-
/**
|
|
153
|
-
*
|
|
154
|
-
* @type {boolean}
|
|
155
|
-
* @memberof ExceedingCreditEntity
|
|
156
|
-
*/
|
|
157
|
-
'createdEventPending': boolean;
|
|
158
134
|
}
|
|
159
135
|
export declare const ExceedingCreditEntityCurrencyEnum: {
|
|
160
136
|
readonly Eur: "EUR";
|
|
@@ -170,8 +146,3 @@ export declare const ExceedingCreditEntityCurrencyEnum: {
|
|
|
170
146
|
readonly Sek: "SEK";
|
|
171
147
|
};
|
|
172
148
|
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.
|
|
16
|
+
exports.ExceedingCreditEntityCurrencyEnum = void 0;
|
|
17
17
|
exports.ExceedingCreditEntityCurrencyEnum = {
|
|
18
18
|
Eur: 'EUR',
|
|
19
19
|
Usd: 'USD',
|
|
@@ -27,7 +27,3 @@ 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,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';
|
|
@@ -52,8 +50,6 @@ export * from './create-policy-payment-method-response-class';
|
|
|
52
50
|
export * from './create-psp-payment-method-request-dto';
|
|
53
51
|
export * from './create-refund-request-dto';
|
|
54
52
|
export * from './create-refund-response-class';
|
|
55
|
-
export * from './create-return-premium-credits-request-dto';
|
|
56
|
-
export * from './create-return-premium-credits-response-class';
|
|
57
53
|
export * from './create-tenant-bank-account-request-dto';
|
|
58
54
|
export * from './create-tenant-bank-account-response-class';
|
|
59
55
|
export * from './credit-allocation-class';
|
|
@@ -94,8 +90,6 @@ export * from './inline-response503';
|
|
|
94
90
|
export * from './invoice-allocation-dto';
|
|
95
91
|
export * from './invoice-match-suggestion-class';
|
|
96
92
|
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';
|
|
99
93
|
export * from './link-bank-transaction-request-dto-rest';
|
|
100
94
|
export * from './link-bank-transactions-response-class';
|
|
101
95
|
export * from './list-bank-accounts-response-class';
|
|
@@ -121,10 +115,8 @@ export * from './payment-class-without-expand-properties';
|
|
|
121
115
|
export * from './payment-entity';
|
|
122
116
|
export * from './payment-method-class';
|
|
123
117
|
export * from './payment-receipt-class';
|
|
124
|
-
export * from './payment-receipt-entity';
|
|
125
118
|
export * from './payment-reminder-class';
|
|
126
119
|
export * from './payment-request-class';
|
|
127
|
-
export * from './payment-request-entity';
|
|
128
120
|
export * from './payout-method-class';
|
|
129
121
|
export * from './policy-payment-method-class';
|
|
130
122
|
export * from './primary-bank-account-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -47,8 +47,6 @@ __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);
|
|
52
50
|
__exportStar(require("./create-payment-method-response-class"), exports);
|
|
53
51
|
__exportStar(require("./create-payment-order-dto"), exports);
|
|
54
52
|
__exportStar(require("./create-payment-order-request-dto"), exports);
|
|
@@ -68,8 +66,6 @@ __exportStar(require("./create-policy-payment-method-response-class"), exports);
|
|
|
68
66
|
__exportStar(require("./create-psp-payment-method-request-dto"), exports);
|
|
69
67
|
__exportStar(require("./create-refund-request-dto"), exports);
|
|
70
68
|
__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);
|
|
73
69
|
__exportStar(require("./create-tenant-bank-account-request-dto"), exports);
|
|
74
70
|
__exportStar(require("./create-tenant-bank-account-response-class"), exports);
|
|
75
71
|
__exportStar(require("./credit-allocation-class"), exports);
|
|
@@ -110,8 +106,6 @@ __exportStar(require("./inline-response503"), exports);
|
|
|
110
106
|
__exportStar(require("./invoice-allocation-dto"), exports);
|
|
111
107
|
__exportStar(require("./invoice-match-suggestion-class"), exports);
|
|
112
108
|
__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);
|
|
115
109
|
__exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
|
|
116
110
|
__exportStar(require("./link-bank-transactions-response-class"), exports);
|
|
117
111
|
__exportStar(require("./list-bank-accounts-response-class"), exports);
|
|
@@ -137,10 +131,8 @@ __exportStar(require("./payment-class-without-expand-properties"), exports);
|
|
|
137
131
|
__exportStar(require("./payment-entity"), exports);
|
|
138
132
|
__exportStar(require("./payment-method-class"), exports);
|
|
139
133
|
__exportStar(require("./payment-receipt-class"), exports);
|
|
140
|
-
__exportStar(require("./payment-receipt-entity"), exports);
|
|
141
134
|
__exportStar(require("./payment-reminder-class"), exports);
|
|
142
135
|
__exportStar(require("./payment-request-class"), exports);
|
|
143
|
-
__exportStar(require("./payment-request-entity"), exports);
|
|
144
136
|
__exportStar(require("./payout-method-class"), exports);
|
|
145
137
|
__exportStar(require("./policy-payment-method-class"), exports);
|
|
146
138
|
__exportStar(require("./primary-bank-account-response-class"), exports);
|
|
@@ -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
|
}
|