@emilgroup/payment-sdk 1.22.1-beta.5 → 1.22.1-beta.51
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 -2
- package/README.md +2 -2
- package/api/exceeding-credits-api.ts +0 -107
- package/api/payment-requests-api.ts +12 -12
- package/dist/api/exceeding-credits-api.d.ts +0 -57
- package/dist/api/exceeding-credits-api.js +0 -93
- package/dist/api/payment-requests-api.d.ts +12 -12
- package/dist/api/payment-requests-api.js +9 -9
- package/dist/models/bank-order-entity.d.ts +1 -0
- package/dist/models/bank-order-entity.js +1 -0
- package/dist/models/create-bank-order-request-dto.d.ts +3 -2
- package/dist/models/create-bank-order-request-dto.js +1 -0
- 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/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- 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 +1 -1
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-entity.d.ts +1 -1
- package/dist/models/payment-request-class.d.ts +14 -2
- package/dist/models/update-bank-order-request-dto.d.ts +2 -2
- package/models/bank-order-entity.ts +1 -0
- package/models/create-bank-order-request-dto.ts +3 -2
- 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/index.ts +0 -2
- 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 +1 -1
- package/models/payment-class.ts +1 -1
- package/models/payment-entity.ts +1 -1
- package/models/payment-request-class.ts +14 -2
- package/models/update-bank-order-request-dto.ts +2 -2
- package/package.json +1 -1
- 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/models/create-exceeding-credit-request-dto.ts +0 -54
- package/models/create-exceeding-credit-response-class.ts +0 -31
|
@@ -249,11 +249,11 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
251
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
252
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
253
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber,
|
|
252
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
253
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
254
254
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
255
255
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
256
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
256
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
257
257
|
* @param {*} [options] Override http request option.
|
|
258
258
|
* @throws {RequiredError}
|
|
259
259
|
*/
|
|
@@ -448,11 +448,11 @@ var PaymentRequestsApiFp = function (configuration) {
|
|
|
448
448
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
449
449
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
450
450
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
451
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
452
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber,
|
|
451
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
452
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
453
453
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
454
454
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
455
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
455
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
456
456
|
* @param {*} [options] Override http request option.
|
|
457
457
|
* @throws {RequiredError}
|
|
458
458
|
*/
|
|
@@ -541,11 +541,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
|
|
|
541
541
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
542
542
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
543
543
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
544
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
545
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber,
|
|
544
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
545
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
546
546
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
547
547
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
548
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
548
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
549
549
|
* @param {*} [options] Override http request option.
|
|
550
550
|
* @throws {RequiredError}
|
|
551
551
|
*/
|
|
@@ -143,6 +143,7 @@ export declare const BankOrderEntityTypeEnum: {
|
|
|
143
143
|
readonly DirectDebit: "direct_debit";
|
|
144
144
|
readonly PremiumPayment: "premium_payment";
|
|
145
145
|
readonly ClaimPayment: "claim_payment";
|
|
146
|
+
readonly RefundPayment: "refund_payment";
|
|
146
147
|
readonly CommissionPayment: "commission_payment";
|
|
147
148
|
};
|
|
148
149
|
export type BankOrderEntityTypeEnum = typeof BankOrderEntityTypeEnum[keyof typeof BankOrderEntityTypeEnum];
|
|
@@ -18,6 +18,7 @@ exports.BankOrderEntityTypeEnum = {
|
|
|
18
18
|
DirectDebit: 'direct_debit',
|
|
19
19
|
PremiumPayment: 'premium_payment',
|
|
20
20
|
ClaimPayment: 'claim_payment',
|
|
21
|
+
RefundPayment: 'refund_payment',
|
|
21
22
|
CommissionPayment: 'commission_payment'
|
|
22
23
|
};
|
|
23
24
|
exports.BankOrderEntityStatusEnum = {
|
|
@@ -52,16 +52,17 @@ export interface CreateBankOrderRequestDto {
|
|
|
52
52
|
*/
|
|
53
53
|
'executionDate': string;
|
|
54
54
|
/**
|
|
55
|
-
* Latest due date.
|
|
55
|
+
* Latest due date. Required for \'direct_debit\' and \'commission_payment\'; ignored for \'claim_payment\' and \'refund_payment\', where the execution date is stored in its place.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof CreateBankOrderRequestDto
|
|
58
58
|
*/
|
|
59
|
-
'dueDate'
|
|
59
|
+
'dueDate'?: string;
|
|
60
60
|
}
|
|
61
61
|
export declare const CreateBankOrderRequestDtoTypeEnum: {
|
|
62
62
|
readonly DirectDebit: "direct_debit";
|
|
63
63
|
readonly PremiumPayment: "premium_payment";
|
|
64
64
|
readonly ClaimPayment: "claim_payment";
|
|
65
|
+
readonly RefundPayment: "refund_payment";
|
|
65
66
|
readonly CommissionPayment: "commission_payment";
|
|
66
67
|
};
|
|
67
68
|
export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
|
|
@@ -18,6 +18,7 @@ exports.CreateBankOrderRequestDtoTypeEnum = {
|
|
|
18
18
|
DirectDebit: 'direct_debit',
|
|
19
19
|
PremiumPayment: 'premium_payment',
|
|
20
20
|
ClaimPayment: 'claim_payment',
|
|
21
|
+
RefundPayment: 'refund_payment',
|
|
21
22
|
CommissionPayment: 'commission_payment'
|
|
22
23
|
};
|
|
23
24
|
exports.CreateBankOrderRequestDtoStatusEnum = {
|
|
@@ -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}
|
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';
|
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);
|
|
@@ -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}
|
|
@@ -95,11 +95,23 @@ export interface PaymentRequestClass {
|
|
|
95
95
|
*/
|
|
96
96
|
'status': PaymentRequestClassStatusEnum;
|
|
97
97
|
/**
|
|
98
|
-
* Code of the
|
|
98
|
+
* Code of the bank order that contains this payment request. Absent while the request is in no bank order.
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @memberof PaymentRequestClass
|
|
101
101
|
*/
|
|
102
|
-
'
|
|
102
|
+
'bankOrderCode'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Order number of the bank order that contains this payment request.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof PaymentRequestClass
|
|
107
|
+
*/
|
|
108
|
+
'bankOrderNumber'?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Whether the request can be added to a bank order. Claim payouts: the partner has an active payout method. Refunds: the policy\'s active payment method is EIS SEPA with an IBAN.
|
|
111
|
+
* @type {boolean}
|
|
112
|
+
* @memberof PaymentRequestClass
|
|
113
|
+
*/
|
|
114
|
+
'recipientHasBankDetails'?: boolean;
|
|
103
115
|
/**
|
|
104
116
|
* Code of the partner the payment request was created for.
|
|
105
117
|
* @type {string}
|
|
@@ -46,11 +46,11 @@ export interface UpdateBankOrderRequestDto {
|
|
|
46
46
|
*/
|
|
47
47
|
'executionDate': string;
|
|
48
48
|
/**
|
|
49
|
-
* Latest due date.
|
|
49
|
+
* Latest due date. Required for \'direct_debit\' and \'commission_payment\' orders; optional for \'claim_payment\' and \'refund_payment\', where the execution date is stored in its place (a sent value is still checked against the execution date).
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof UpdateBankOrderRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'dueDate'
|
|
53
|
+
'dueDate'?: string;
|
|
54
54
|
}
|
|
55
55
|
export declare const UpdateBankOrderRequestDtoStatusEnum: {
|
|
56
56
|
readonly Open: "open";
|
|
@@ -57,17 +57,18 @@ export interface CreateBankOrderRequestDto {
|
|
|
57
57
|
*/
|
|
58
58
|
'executionDate': string;
|
|
59
59
|
/**
|
|
60
|
-
* Latest due date.
|
|
60
|
+
* Latest due date. Required for \'direct_debit\' and \'commission_payment\'; ignored for \'claim_payment\' and \'refund_payment\', where the execution date is stored in its place.
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof CreateBankOrderRequestDto
|
|
63
63
|
*/
|
|
64
|
-
'dueDate'
|
|
64
|
+
'dueDate'?: string;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export const CreateBankOrderRequestDtoTypeEnum = {
|
|
68
68
|
DirectDebit: 'direct_debit',
|
|
69
69
|
PremiumPayment: 'premium_payment',
|
|
70
70
|
ClaimPayment: 'claim_payment',
|
|
71
|
+
RefundPayment: 'refund_payment',
|
|
71
72
|
CommissionPayment: 'commission_payment'
|
|
72
73
|
} as const;
|
|
73
74
|
|
|
@@ -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}
|
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';
|
|
@@ -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
|
|