@emilgroup/payment-sdk-node 1.28.1-beta.36 → 1.28.1-beta.38

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.
Files changed (70) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +8 -8
  4. package/api/exceeding-credits-api.ts +107 -0
  5. package/api/jobs-api.ts +169 -0
  6. package/api/payment-requests-api.ts +12 -12
  7. package/api.ts +2 -0
  8. package/dist/api/bank-orders-api.d.ts +8 -8
  9. package/dist/api/bank-orders-api.js +6 -6
  10. package/dist/api/exceeding-credits-api.d.ts +57 -0
  11. package/dist/api/exceeding-credits-api.js +93 -0
  12. package/dist/api/jobs-api.d.ts +97 -0
  13. package/dist/api/jobs-api.js +228 -0
  14. package/dist/api/payment-requests-api.d.ts +12 -12
  15. package/dist/api/payment-requests-api.js +9 -9
  16. package/dist/api.d.ts +1 -0
  17. package/dist/api.js +1 -0
  18. package/dist/models/create-bank-order-request-dto.d.ts +2 -2
  19. package/dist/models/create-exceeding-credit-request-dto.d.ts +48 -0
  20. package/dist/models/create-exceeding-credit-request-dto.js +15 -0
  21. package/dist/models/create-exceeding-credit-response-class.d.ts +25 -0
  22. package/dist/models/create-exceeding-credit-response-class.js +15 -0
  23. package/dist/models/create-payment-request-request-dto.d.ts +12 -0
  24. package/dist/models/credit-allocation-class.d.ts +6 -0
  25. package/dist/models/credit-allocation-entity.d.ts +6 -0
  26. package/dist/models/index.d.ts +5 -0
  27. package/dist/models/index.js +5 -0
  28. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  29. package/dist/models/list-exceeding-credits-response-class.d.ts +6 -18
  30. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  31. package/dist/models/list-payment-requests-response-class.d.ts +6 -18
  32. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  33. package/dist/models/list-refunds-response-class.d.ts +6 -18
  34. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  35. package/dist/models/payment-class.d.ts +1 -1
  36. package/dist/models/payment-entity.d.ts +1 -1
  37. package/dist/models/payment-request-class.d.ts +30 -0
  38. package/dist/models/run-job-grpc-request-dto.d.ts +63 -0
  39. package/dist/models/run-job-grpc-request-dto.js +23 -0
  40. package/dist/models/run-job-request-dto.d.ts +63 -0
  41. package/dist/models/run-job-request-dto.js +23 -0
  42. package/dist/models/run-job-response-class.d.ts +24 -0
  43. package/dist/models/run-job-response-class.js +15 -0
  44. package/dist/models/shared-transaction-class.d.ts +6 -0
  45. package/dist/models/transaction-entity.d.ts +6 -0
  46. package/dist/models/update-bank-order-request-dto.d.ts +2 -2
  47. package/models/create-bank-order-request-dto.ts +2 -2
  48. package/models/create-exceeding-credit-request-dto.ts +54 -0
  49. package/models/create-exceeding-credit-response-class.ts +31 -0
  50. package/models/create-payment-request-request-dto.ts +12 -0
  51. package/models/credit-allocation-class.ts +6 -0
  52. package/models/credit-allocation-entity.ts +6 -0
  53. package/models/index.ts +5 -0
  54. package/models/list-billing-addresses-response-class.ts +9 -9
  55. package/models/list-exceeding-credits-response-class.ts +6 -18
  56. package/models/list-payment-receipts-response-class.ts +9 -9
  57. package/models/list-payment-requests-response-class.ts +6 -18
  58. package/models/list-payout-methods-response-class.ts +9 -9
  59. package/models/list-refunds-response-class.ts +6 -18
  60. package/models/payment-class-without-expand-properties.ts +1 -1
  61. package/models/payment-class.ts +1 -1
  62. package/models/payment-entity.ts +1 -1
  63. package/models/payment-request-class.ts +30 -0
  64. package/models/run-job-grpc-request-dto.ts +73 -0
  65. package/models/run-job-request-dto.ts +73 -0
  66. package/models/run-job-response-class.ts +30 -0
  67. package/models/shared-transaction-class.ts +6 -0
  68. package/models/transaction-entity.ts +6 -0
  69. package/models/update-bank-order-request-dto.ts +2 -2
  70. package/package.json +1 -1
@@ -94,6 +94,36 @@ 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
+ /**
110
+ * Code of the bank order that contains this payment request. Absent while the request is in no bank order.
111
+ * @type {string}
112
+ * @memberof PaymentRequestClass
113
+ */
114
+ 'bankOrderCode'?: string;
115
+ /**
116
+ * Order number of the bank order that contains this payment request.
117
+ * @type {string}
118
+ * @memberof PaymentRequestClass
119
+ */
120
+ 'bankOrderNumber'?: string;
121
+ /**
122
+ * Whether the recipient partner has an active payout method, i.e. the request can be added to a bank order.
123
+ * @type {boolean}
124
+ * @memberof PaymentRequestClass
125
+ */
126
+ 'recipientHasBankDetails'?: boolean;
97
127
  /**
98
128
  * Code of the payment method used for this payment request.
99
129
  * @type {string}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RunJobGrpcRequestDto
16
+ */
17
+ export interface RunJobGrpcRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RunJobGrpcRequestDto
22
+ */
23
+ 'jobName': RunJobGrpcRequestDtoJobNameEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RunJobGrpcRequestDto
28
+ */
29
+ 'tenantBankAccountCode': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RunJobGrpcRequestDto
34
+ */
35
+ 'executionDate'?: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof RunJobGrpcRequestDto
40
+ */
41
+ 'leadDays'?: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof RunJobGrpcRequestDto
46
+ */
47
+ 'dateField'?: RunJobGrpcRequestDtoDateFieldEnum;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof RunJobGrpcRequestDto
52
+ */
53
+ 'dryRun'?: boolean;
54
+ }
55
+ export declare const RunJobGrpcRequestDtoJobNameEnum: {
56
+ readonly BankOrders: "bank-orders";
57
+ };
58
+ export type RunJobGrpcRequestDtoJobNameEnum = typeof RunJobGrpcRequestDtoJobNameEnum[keyof typeof RunJobGrpcRequestDtoJobNameEnum];
59
+ export declare const RunJobGrpcRequestDtoDateFieldEnum: {
60
+ readonly DueDate: "dueDate";
61
+ readonly CreatedAt: "createdAt";
62
+ };
63
+ export type RunJobGrpcRequestDtoDateFieldEnum = typeof RunJobGrpcRequestDtoDateFieldEnum[keyof typeof RunJobGrpcRequestDtoDateFieldEnum];
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RunJobGrpcRequestDtoDateFieldEnum = exports.RunJobGrpcRequestDtoJobNameEnum = void 0;
17
+ exports.RunJobGrpcRequestDtoJobNameEnum = {
18
+ BankOrders: 'bank-orders'
19
+ };
20
+ exports.RunJobGrpcRequestDtoDateFieldEnum = {
21
+ DueDate: 'dueDate',
22
+ CreatedAt: 'createdAt'
23
+ };
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RunJobRequestDto
16
+ */
17
+ export interface RunJobRequestDto {
18
+ /**
19
+ * Job to run.
20
+ * @type {string}
21
+ * @memberof RunJobRequestDto
22
+ */
23
+ 'jobName': RunJobRequestDtoJobNameEnum;
24
+ /**
25
+ * Tenant bank account the bank orders are created for.
26
+ * @type {string}
27
+ * @memberof RunJobRequestDto
28
+ */
29
+ 'tenantBankAccountCode': string;
30
+ /**
31
+ * Date the run acts as if it were running on (YYYY-MM-DD). Defaults to today.
32
+ * @type {string}
33
+ * @memberof RunJobRequestDto
34
+ */
35
+ 'executionDate'?: string;
36
+ /**
37
+ * Also collect invoices due up to this many days after executionDate. Defaults to 0.
38
+ * @type {number}
39
+ * @memberof RunJobRequestDto
40
+ */
41
+ 'leadDays'?: number;
42
+ /**
43
+ * Invoice date the selection window applies to. Defaults to dueDate.
44
+ * @type {string}
45
+ * @memberof RunJobRequestDto
46
+ */
47
+ 'dateField'?: RunJobRequestDtoDateFieldEnum;
48
+ /**
49
+ * Log what would be created without creating bank orders.
50
+ * @type {boolean}
51
+ * @memberof RunJobRequestDto
52
+ */
53
+ 'dryRun'?: boolean;
54
+ }
55
+ export declare const RunJobRequestDtoJobNameEnum: {
56
+ readonly BankOrders: "bank-orders";
57
+ };
58
+ export type RunJobRequestDtoJobNameEnum = typeof RunJobRequestDtoJobNameEnum[keyof typeof RunJobRequestDtoJobNameEnum];
59
+ export declare const RunJobRequestDtoDateFieldEnum: {
60
+ readonly DueDate: "dueDate";
61
+ readonly CreatedAt: "createdAt";
62
+ };
63
+ export type RunJobRequestDtoDateFieldEnum = typeof RunJobRequestDtoDateFieldEnum[keyof typeof RunJobRequestDtoDateFieldEnum];
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RunJobRequestDtoDateFieldEnum = exports.RunJobRequestDtoJobNameEnum = void 0;
17
+ exports.RunJobRequestDtoJobNameEnum = {
18
+ BankOrders: 'bank-orders'
19
+ };
20
+ exports.RunJobRequestDtoDateFieldEnum = {
21
+ DueDate: 'dueDate',
22
+ CreatedAt: 'createdAt'
23
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RunJobResponseClass
16
+ */
17
+ export interface RunJobResponseClass {
18
+ /**
19
+ * The job run was accepted and is executing in the background.
20
+ * @type {boolean}
21
+ * @memberof RunJobResponseClass
22
+ */
23
+ 'success': boolean;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -69,4 +69,10 @@ export interface SharedTransactionClass {
69
69
  * @memberof SharedTransactionClass
70
70
  */
71
71
  'updatedBy': string;
72
+ /**
73
+ * Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
74
+ * @type {string}
75
+ * @memberof SharedTransactionClass
76
+ */
77
+ 'bankTransactionCode'?: string;
72
78
  }
@@ -71,6 +71,12 @@ export interface TransactionEntity {
71
71
  * @memberof TransactionEntity
72
72
  */
73
73
  'bankTransactionId'?: number;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof TransactionEntity
78
+ */
79
+ 'bankTransactionCode'?: string;
74
80
  /**
75
81
  *
76
82
  * @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\', 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': string;
53
+ 'dueDate'?: string;
54
54
  }
55
55
  export declare const UpdateBankOrderRequestDtoStatusEnum: {
56
56
  readonly Open: "open";
@@ -57,11 +57,11 @@ 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\', where the execution date is stored in its place.
61
61
  * @type {string}
62
62
  * @memberof CreateBankOrderRequestDto
63
63
  */
64
- 'dueDate': string;
64
+ 'dueDate'?: string;
65
65
  }
66
66
 
67
67
  export const CreateBankOrderRequestDtoTypeEnum = {
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateExceedingCreditRequestDto
21
+ */
22
+ export interface CreateExceedingCreditRequestDto {
23
+ /**
24
+ * The amount of the credit
25
+ * @type {number}
26
+ * @memberof CreateExceedingCreditRequestDto
27
+ */
28
+ 'amount': number;
29
+ /**
30
+ * The description of the credit
31
+ * @type {string}
32
+ * @memberof CreateExceedingCreditRequestDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * The policy code of the credit
37
+ * @type {string}
38
+ * @memberof CreateExceedingCreditRequestDto
39
+ */
40
+ 'policyCode': string;
41
+ /**
42
+ * The transaction code of the credit
43
+ * @type {string}
44
+ * @memberof CreateExceedingCreditRequestDto
45
+ */
46
+ 'bankTransactionCode': string;
47
+ /**
48
+ * The invoice code of the credit
49
+ * @type {string}
50
+ * @memberof CreateExceedingCreditRequestDto
51
+ */
52
+ 'invoiceCode': string;
53
+ }
54
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ExceedingCreditClass } from './exceeding-credit-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateExceedingCreditResponseClass
22
+ */
23
+ export interface CreateExceedingCreditResponseClass {
24
+ /**
25
+ * Exceeding credit
26
+ * @type {ExceedingCreditClass}
27
+ * @memberof CreateExceedingCreditResponseClass
28
+ */
29
+ 'exceedingCredit': ExceedingCreditClass;
30
+ }
31
+
@@ -74,6 +74,18 @@ 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
+ /**
84
+ * Code of the partner the payment request was created for.
85
+ * @type {string}
86
+ * @memberof CreatePaymentRequestRequestDto
87
+ */
88
+ 'partnerCode': string;
77
89
  /**
78
90
  * Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
79
91
  * @type {string}
@@ -39,6 +39,12 @@ export interface CreditAllocationClass {
39
39
  * @memberof CreditAllocationClass
40
40
  */
41
41
  'exceedingCreditCodes': Array<string>;
42
+ /**
43
+ * Partner code derived from the policy related to the exceeding credits.
44
+ * @type {string}
45
+ * @memberof CreditAllocationClass
46
+ */
47
+ 'partnerCode': string;
42
48
  /**
43
49
  * Policy code associated with the credit.
44
50
  * @type {string}
@@ -33,6 +33,12 @@ export interface CreditAllocationEntity {
33
33
  * @memberof CreditAllocationEntity
34
34
  */
35
35
  'code': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreditAllocationEntity
40
+ */
41
+ 'partnerCode': string;
36
42
  /**
37
43
  *
38
44
  * @type {string}
package/models/index.ts CHANGED
@@ -31,6 +31,8 @@ export * from './create-billing-address-request-dto';
31
31
  export * from './create-billing-address-response-class';
32
32
  export * from './create-credit-allocation-request-dto';
33
33
  export * from './create-credit-allocation-response-class';
34
+ export * from './create-exceeding-credit-request-dto';
35
+ export * from './create-exceeding-credit-response-class';
34
36
  export * from './create-payment-method-response-class';
35
37
  export * from './create-payment-order-dto';
36
38
  export * from './create-payment-order-request-dto';
@@ -122,6 +124,9 @@ export * from './policy-payment-method-class';
122
124
  export * from './primary-bank-account-response-class';
123
125
  export * from './refund-class';
124
126
  export * from './refund-item-class';
127
+ export * from './run-job-grpc-request-dto';
128
+ export * from './run-job-request-dto';
129
+ export * from './run-job-response-class';
125
130
  export * from './sepa-direct-dto';
126
131
  export * from './set-primary-bank-account-request-dto-rest';
127
132
  export * from './shared-transaction-class';
@@ -22,17 +22,17 @@ import { BillingAddressClass } from './billing-address-class';
22
22
  */
23
23
  export interface ListBillingAddressesResponseClass {
24
24
  /**
25
- * Next page token.
26
- * @type {string}
25
+ * The billing addresses
26
+ * @type {Array<BillingAddressClass>}
27
27
  * @memberof ListBillingAddressesResponseClass
28
28
  */
29
- 'nextPageToken': string;
29
+ 'items': Array<BillingAddressClass>;
30
30
  /**
31
- * Total amount of items.
32
- * @type {number}
31
+ * Next page token.
32
+ * @type {string}
33
33
  * @memberof ListBillingAddressesResponseClass
34
34
  */
35
- 'totalItems': number;
35
+ 'nextPageToken': string;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListBillingAddressesResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * The billing addresses
44
- * @type {Array<BillingAddressClass>}
43
+ * Total amount of items.
44
+ * @type {number}
45
45
  * @memberof ListBillingAddressesResponseClass
46
46
  */
47
- 'items': Array<BillingAddressClass>;
47
+ 'totalItems': number;
48
48
  }
49
49
 
@@ -21,29 +21,17 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
21
21
  * @interface ListExceedingCreditsResponseClass
22
22
  */
23
23
  export interface ListExceedingCreditsResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListExceedingCreditsResponseClass
28
- */
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
24
  /**
43
25
  * The list of exceeding credits.
44
26
  * @type {Array<ExceedingCreditClass>}
45
27
  * @memberof ListExceedingCreditsResponseClass
46
28
  */
47
29
  'items': Array<ExceedingCreditClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListExceedingCreditsResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -22,17 +22,17 @@ import { PaymentReceiptClass } from './payment-receipt-class';
22
22
  */
23
23
  export interface ListPaymentReceiptsResponseClass {
24
24
  /**
25
- * Next page token.
26
- * @type {string}
25
+ * The list of payment receipts.
26
+ * @type {Array<PaymentReceiptClass>}
27
27
  * @memberof ListPaymentReceiptsResponseClass
28
28
  */
29
- 'nextPageToken': string;
29
+ 'items': Array<PaymentReceiptClass>;
30
30
  /**
31
- * Total amount of items.
32
- * @type {number}
31
+ * Next page token.
32
+ * @type {string}
33
33
  * @memberof ListPaymentReceiptsResponseClass
34
34
  */
35
- 'totalItems': number;
35
+ 'nextPageToken': string;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPaymentReceiptsResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * The list of payment receipts.
44
- * @type {Array<PaymentReceiptClass>}
43
+ * Total amount of items.
44
+ * @type {number}
45
45
  * @memberof ListPaymentReceiptsResponseClass
46
46
  */
47
- 'items': Array<PaymentReceiptClass>;
47
+ 'totalItems': number;
48
48
  }
49
49
 
@@ -21,29 +21,17 @@ import { PaymentRequestClass } from './payment-request-class';
21
21
  * @interface ListPaymentRequestsResponseClass
22
22
  */
23
23
  export interface ListPaymentRequestsResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListPaymentRequestsResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListPaymentRequestsResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListPaymentRequestsResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of payment requests.
44
26
  * @type {Array<PaymentRequestClass>}
45
27
  * @memberof ListPaymentRequestsResponseClass
46
28
  */
47
29
  'items': Array<PaymentRequestClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPaymentRequestsResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -22,17 +22,17 @@ import { PayoutMethodClass } from './payout-method-class';
22
22
  */
23
23
  export interface ListPayoutMethodsResponseClass {
24
24
  /**
25
- * Next page token.
26
- * @type {string}
25
+ * The payout methods
26
+ * @type {Array<PayoutMethodClass>}
27
27
  * @memberof ListPayoutMethodsResponseClass
28
28
  */
29
- 'nextPageToken': string;
29
+ 'items': Array<PayoutMethodClass>;
30
30
  /**
31
- * Total amount of items.
32
- * @type {number}
31
+ * Next page token.
32
+ * @type {string}
33
33
  * @memberof ListPayoutMethodsResponseClass
34
34
  */
35
- 'totalItems': number;
35
+ 'nextPageToken': string;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPayoutMethodsResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * The payout methods
44
- * @type {Array<PayoutMethodClass>}
43
+ * Total amount of items.
44
+ * @type {number}
45
45
  * @memberof ListPayoutMethodsResponseClass
46
46
  */
47
- 'items': Array<PayoutMethodClass>;
47
+ 'totalItems': number;
48
48
  }
49
49