@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.
Files changed (147) hide show
  1. package/.openapi-generator/FILES +0 -8
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +18 -48
  4. package/api/bank-orders-api.ts +15 -40
  5. package/api/bank-transaction-api.ts +26 -181
  6. package/api/billing-addresses-api.ts +15 -40
  7. package/api/credit-allocation-api.ts +9 -24
  8. package/api/exceeding-credits-api.ts +6 -240
  9. package/api/health-check-api.ts +1 -1
  10. package/api/ibanvalidator-api.ts +3 -8
  11. package/api/payment-methods-api.ts +9 -24
  12. package/api/payment-receipts-api.ts +15 -40
  13. package/api/payment-reminders-api.ts +12 -32
  14. package/api/payment-requests-api.ts +27 -52
  15. package/api/payment-setup-api.ts +6 -16
  16. package/api/payments-api.ts +16 -46
  17. package/api/payout-methods-api.ts +18 -48
  18. package/api/policy-payment-methods-api.ts +9 -24
  19. package/api/refunds-api.ts +9 -24
  20. package/api/tenant-bank-account-api.ts +15 -40
  21. package/api/webhooks-api.ts +2 -2
  22. package/base.ts +43 -239
  23. package/common.ts +2 -3
  24. package/configuration.ts +0 -20
  25. package/dist/api/bank-accounts-api.d.ts +6 -6
  26. package/dist/api/bank-accounts-api.js +46 -82
  27. package/dist/api/bank-orders-api.d.ts +5 -5
  28. package/dist/api/bank-orders-api.js +38 -67
  29. package/dist/api/bank-transaction-api.d.ts +14 -80
  30. package/dist/api/bank-transaction-api.js +52 -194
  31. package/dist/api/billing-addresses-api.d.ts +5 -5
  32. package/dist/api/billing-addresses-api.js +39 -71
  33. package/dist/api/credit-allocation-api.d.ts +3 -3
  34. package/dist/api/credit-allocation-api.js +23 -41
  35. package/dist/api/exceeding-credits-api.d.ts +2 -116
  36. package/dist/api/exceeding-credits-api.js +15 -226
  37. package/dist/api/health-check-api.d.ts +1 -1
  38. package/dist/api/health-check-api.js +1 -1
  39. package/dist/api/ibanvalidator-api.d.ts +1 -1
  40. package/dist/api/ibanvalidator-api.js +8 -15
  41. package/dist/api/payment-methods-api.d.ts +3 -3
  42. package/dist/api/payment-methods-api.js +23 -41
  43. package/dist/api/payment-receipts-api.d.ts +5 -5
  44. package/dist/api/payment-receipts-api.js +38 -67
  45. package/dist/api/payment-reminders-api.d.ts +4 -4
  46. package/dist/api/payment-reminders-api.js +31 -56
  47. package/dist/api/payment-requests-api.d.ts +17 -17
  48. package/dist/api/payment-requests-api.js +47 -76
  49. package/dist/api/payment-setup-api.d.ts +2 -2
  50. package/dist/api/payment-setup-api.js +16 -30
  51. package/dist/api/payments-api.d.ts +4 -4
  52. package/dist/api/payments-api.js +34 -62
  53. package/dist/api/payout-methods-api.d.ts +6 -6
  54. package/dist/api/payout-methods-api.js +46 -82
  55. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  56. package/dist/api/policy-payment-methods-api.js +23 -41
  57. package/dist/api/refunds-api.d.ts +3 -3
  58. package/dist/api/refunds-api.js +22 -37
  59. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  60. package/dist/api/tenant-bank-account-api.js +38 -67
  61. package/dist/api/webhooks-api.d.ts +2 -2
  62. package/dist/api/webhooks-api.js +2 -2
  63. package/dist/base.d.ts +0 -26
  64. package/dist/base.js +60 -243
  65. package/dist/common.d.ts +1 -1
  66. package/dist/common.js +0 -1
  67. package/dist/configuration.d.ts +0 -17
  68. package/dist/configuration.js +0 -2
  69. package/dist/models/bank-transaction-class.d.ts +0 -7
  70. package/dist/models/bank-transaction-entity.d.ts +0 -7
  71. package/dist/models/bank-transaction-invoice-entity.d.ts +0 -24
  72. package/dist/models/create-payment-order-dto.d.ts +1 -1
  73. package/dist/models/create-payment-receipt-request-dto.d.ts +3 -3
  74. package/dist/models/create-payment-request-dto.d.ts +1 -1
  75. package/dist/models/create-payment-request-request-dto.d.ts +0 -6
  76. package/dist/models/credit-allocation-class.d.ts +0 -6
  77. package/dist/models/credit-allocation-entity.d.ts +0 -6
  78. package/dist/models/exceeding-credit-class.d.ts +2 -25
  79. package/dist/models/exceeding-credit-class.js +1 -5
  80. package/dist/models/exceeding-credit-entity.d.ts +2 -31
  81. package/dist/models/exceeding-credit-entity.js +1 -5
  82. package/dist/models/index.d.ts +0 -8
  83. package/dist/models/index.js +0 -8
  84. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  85. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  86. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  87. package/dist/models/list-payment-requests-response-class.d.ts +18 -6
  88. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  89. package/dist/models/list-refunds-response-class.d.ts +18 -6
  90. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  91. package/dist/models/payment-class.d.ts +2 -2
  92. package/dist/models/payment-entity.d.ts +1 -1
  93. package/dist/models/payment-receipt-class.d.ts +1 -13
  94. package/dist/models/payment-request-class.d.ts +6 -13
  95. package/dist/models/payment-request-class.js +0 -1
  96. package/dist/models/shared-transaction-class.d.ts +0 -6
  97. package/dist/models/transaction-entity.d.ts +0 -6
  98. package/models/bank-transaction-class.ts +0 -7
  99. package/models/bank-transaction-entity.ts +0 -7
  100. package/models/bank-transaction-invoice-entity.ts +0 -24
  101. package/models/create-payment-order-dto.ts +1 -1
  102. package/models/create-payment-receipt-request-dto.ts +3 -3
  103. package/models/create-payment-request-dto.ts +1 -1
  104. package/models/create-payment-request-request-dto.ts +0 -6
  105. package/models/credit-allocation-class.ts +0 -6
  106. package/models/credit-allocation-entity.ts +0 -6
  107. package/models/exceeding-credit-class.ts +2 -26
  108. package/models/exceeding-credit-entity.ts +2 -32
  109. package/models/index.ts +0 -8
  110. package/models/list-billing-addresses-response-class.ts +9 -9
  111. package/models/list-exceeding-credits-response-class.ts +18 -6
  112. package/models/list-payment-receipts-response-class.ts +9 -9
  113. package/models/list-payment-requests-response-class.ts +18 -6
  114. package/models/list-payout-methods-response-class.ts +9 -9
  115. package/models/list-refunds-response-class.ts +18 -6
  116. package/models/payment-class-without-expand-properties.ts +2 -2
  117. package/models/payment-class.ts +2 -2
  118. package/models/payment-entity.ts +1 -1
  119. package/models/payment-receipt-class.ts +1 -13
  120. package/models/payment-request-class.ts +6 -13
  121. package/models/shared-transaction-class.ts +0 -6
  122. package/models/transaction-entity.ts +0 -6
  123. package/package.json +2 -2
  124. package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
  125. package/dist/models/create-exceeding-credit-request-dto.js +0 -15
  126. package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
  127. package/dist/models/create-exceeding-credit-response-class.js +0 -15
  128. package/dist/models/create-return-premium-credits-request-dto.d.ts +0 -24
  129. package/dist/models/create-return-premium-credits-request-dto.js +0 -15
  130. package/dist/models/create-return-premium-credits-response-class.d.ts +0 -25
  131. package/dist/models/create-return-premium-credits-response-class.js +0 -15
  132. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
  133. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
  134. package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
  135. package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
  136. package/dist/models/payment-receipt-entity.d.ts +0 -139
  137. package/dist/models/payment-receipt-entity.js +0 -20
  138. package/dist/models/payment-request-entity.d.ts +0 -223
  139. package/dist/models/payment-request-entity.js +0 -39
  140. package/models/create-exceeding-credit-request-dto.ts +0 -54
  141. package/models/create-exceeding-credit-response-class.ts +0 -31
  142. package/models/create-return-premium-credits-request-dto.ts +0 -30
  143. package/models/create-return-premium-credits-response-class.ts +0 -31
  144. package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
  145. package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
  146. package/models/payment-receipt-entity.ts +0 -148
  147. package/models/payment-request-entity.ts +0 -233
@@ -71,12 +71,6 @@ 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;
80
74
  /**
81
75
  *
82
76
  * @type {string}
@@ -16,7 +16,6 @@
16
16
  import { BankOrderClass } from './bank-order-class';
17
17
  import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
18
18
  import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
19
- import { PaymentReceiptClass } from './payment-receipt-class';
20
19
  import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
21
20
  import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
22
21
 
@@ -158,12 +157,6 @@ export interface BankTransactionClass {
158
157
  * @memberof BankTransactionClass
159
158
  */
160
159
  'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
161
- /**
162
- * Payment receipts created by linking this outgoing transaction to payment requests
163
- * @type {Array<PaymentReceiptClass>}
164
- * @memberof BankTransactionClass
165
- */
166
- 'paymentReceipts'?: Array<PaymentReceiptClass>;
167
160
  }
168
161
 
169
162
  export const BankTransactionClassLabelEnum = {
@@ -17,7 +17,6 @@ import { BankOrderEntity } from './bank-order-entity';
17
17
  import { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
18
18
  import { ExceedingCreditEntity } from './exceeding-credit-entity';
19
19
  import { InvoiceMatchSuggestionEntity } from './invoice-match-suggestion-entity';
20
- import { PaymentReceiptEntity } from './payment-receipt-entity';
21
20
  import { SuggestionGenerationProgressEntity } from './suggestion-generation-progress-entity';
22
21
  import { TenantBankAccountEntity } from './tenant-bank-account-entity';
23
22
 
@@ -141,12 +140,6 @@ export interface BankTransactionEntity {
141
140
  * @memberof BankTransactionEntity
142
141
  */
143
142
  'exceedingCredits': Array<ExceedingCreditEntity>;
144
- /**
145
- *
146
- * @type {Array<PaymentReceiptEntity>}
147
- * @memberof BankTransactionEntity
148
- */
149
- 'paymentReceipts': Array<PaymentReceiptEntity>;
150
143
  /**
151
144
  *
152
145
  * @type {string}
@@ -82,30 +82,6 @@ export interface BankTransactionInvoiceEntity {
82
82
  * @memberof BankTransactionInvoiceEntity
83
83
  */
84
84
  'bankTransaction': BankTransactionEntity;
85
- /**
86
- *
87
- * @type {string}
88
- * @memberof BankTransactionInvoiceEntity
89
- */
90
- 'unlinkCode'?: string | null;
91
- /**
92
- *
93
- * @type {string}
94
- * @memberof BankTransactionInvoiceEntity
95
- */
96
- 'unlinkedPaymentCode'?: string | null;
97
- /**
98
- *
99
- * @type {Array<string>}
100
- * @memberof BankTransactionInvoiceEntity
101
- */
102
- 'unlinkedCreditCodes'?: Array<string> | null;
103
- /**
104
- *
105
- * @type {string}
106
- * @memberof BankTransactionInvoiceEntity
107
- */
108
- 'unlinkEventPublishedAt'?: string | null;
109
85
  /**
110
86
  *
111
87
  * @type {string}
@@ -33,7 +33,7 @@ export interface CreatePaymentOrderDto {
33
33
  */
34
34
  'comment'?: string;
35
35
  /**
36
- * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
36
+ * Optional payment date.
37
37
  * @type {string}
38
38
  * @memberof CreatePaymentOrderDto
39
39
  */
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface CreatePaymentReceiptRequestDto {
23
23
  /**
24
- * Amount in cents, always positive. In the payment request\'s direction it pays the request, at most what it still has open; in the opposite direction it records money that came back, at most what its receipts have paid.
24
+ * amount
25
25
  * @type {number}
26
26
  * @memberof CreatePaymentReceiptRequestDto
27
27
  */
@@ -33,13 +33,13 @@ export interface CreatePaymentReceiptRequestDto {
33
33
  */
34
34
  'currency': string;
35
35
  /**
36
- * The flow of the payment: disburse or collect. The payment request\'s own direction pays it; the opposite direction records money that came back, for example a returned payout is collect on a disburse request.
36
+ * The flow of the payment: disburse or collect
37
37
  * @type {string}
38
38
  * @memberof CreatePaymentReceiptRequestDto
39
39
  */
40
40
  'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
41
41
  /**
42
- * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
42
+ * Date the payment was confirmed
43
43
  * @type {string}
44
44
  * @memberof CreatePaymentReceiptRequestDto
45
45
  */
@@ -63,7 +63,7 @@ export interface CreatePaymentRequestDto {
63
63
  */
64
64
  'productSlug'?: string;
65
65
  /**
66
- * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
66
+ * Optional payment date.
67
67
  * @type {string}
68
68
  * @memberof CreatePaymentRequestDto
69
69
  */
@@ -74,12 +74,6 @@ export interface CreatePaymentRequestRequestDto {
74
74
  * @memberof CreatePaymentRequestRequestDto
75
75
  */
76
76
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
77
- /**
78
- * Code of the settlement the payment request was created for.
79
- * @type {string}
80
- * @memberof CreatePaymentRequestRequestDto
81
- */
82
- 'settlementCode'?: string;
83
77
  /**
84
78
  * Code of the partner the payment request was created for.
85
79
  * @type {string}
@@ -39,12 +39,6 @@ export interface CreditAllocationClass {
39
39
  * @memberof CreditAllocationClass
40
40
  */
41
41
  'exceedingCreditCodes': Array<string>;
42
- /**
43
- * Partner code derived from the policy related to the exceeding credits.
44
- * @type {string}
45
- * @memberof CreditAllocationClass
46
- */
47
- 'partnerCode': string;
48
42
  /**
49
43
  * Policy code associated with the credit.
50
44
  * @type {string}
@@ -33,12 +33,6 @@ 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;
42
36
  /**
43
37
  *
44
38
  * @type {string}
@@ -33,29 +33,11 @@ export interface ExceedingCreditClass {
33
33
  */
34
34
  'currency'?: ExceedingCreditClassCurrencyEnum;
35
35
  /**
36
- * The bank transaction code of the credit; empty on a return-premium credit, which no bank transaction caused
36
+ * The bank transaction code of the credit
37
37
  * @type {string}
38
38
  * @memberof ExceedingCreditClass
39
39
  */
40
- 'bankTransactionCode'?: string;
41
- /**
42
- * 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)
43
- * @type {string}
44
- * @memberof ExceedingCreditClass
45
- */
46
- 'origin': ExceedingCreditClassOriginEnum;
47
- /**
48
- * The withdrawal, correction or termination invoice that caused a return-premium credit
49
- * @type {string}
50
- * @memberof ExceedingCreditClass
51
- */
52
- 'reversingInvoiceCode'?: string;
53
- /**
54
- * The number of the invoice that caused a return-premium credit
55
- * @type {string}
56
- * @memberof ExceedingCreditClass
57
- */
58
- 'reversingInvoiceNumber'?: string;
40
+ 'bankTransactionCode': string;
59
41
  /**
60
42
  * The description of the credit
61
43
  * @type {string}
@@ -145,11 +127,5 @@ export const ExceedingCreditClassCurrencyEnum = {
145
127
  } as const;
146
128
 
147
129
  export type ExceedingCreditClassCurrencyEnum = typeof ExceedingCreditClassCurrencyEnum[keyof typeof ExceedingCreditClassCurrencyEnum];
148
- export const ExceedingCreditClassOriginEnum = {
149
- Overpayment: 'overpayment',
150
- ReturnPremium: 'return_premium'
151
- } as const;
152
-
153
- export type ExceedingCreditClassOriginEnum = typeof ExceedingCreditClassOriginEnum[keyof typeof ExceedingCreditClassOriginEnum];
154
130
 
155
131
 
@@ -63,37 +63,19 @@ export interface ExceedingCreditEntity {
63
63
  * @type {number}
64
64
  * @memberof ExceedingCreditEntity
65
65
  */
66
- 'bankTransactionId'?: number;
66
+ 'bankTransactionId': number;
67
67
  /**
68
68
  *
69
69
  * @type {BankTransactionEntity}
70
70
  * @memberof ExceedingCreditEntity
71
71
  */
72
- 'bankTransaction'?: BankTransactionEntity;
72
+ 'bankTransaction': BankTransactionEntity;
73
73
  /**
74
74
  *
75
75
  * @type {string}
76
76
  * @memberof ExceedingCreditEntity
77
77
  */
78
78
  'bankTransactionCode': string;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof ExceedingCreditEntity
83
- */
84
- 'origin': ExceedingCreditEntityOriginEnum;
85
- /**
86
- *
87
- * @type {string}
88
- * @memberof ExceedingCreditEntity
89
- */
90
- 'reversingInvoiceCode'?: string;
91
- /**
92
- *
93
- * @type {string}
94
- * @memberof ExceedingCreditEntity
95
- */
96
- 'reversingInvoiceNumber'?: string;
97
79
  /**
98
80
  *
99
81
  * @type {string}
@@ -154,12 +136,6 @@ export interface ExceedingCreditEntity {
154
136
  * @memberof ExceedingCreditEntity
155
137
  */
156
138
  'tenantHierarchy': string;
157
- /**
158
- *
159
- * @type {boolean}
160
- * @memberof ExceedingCreditEntity
161
- */
162
- 'createdEventPending': boolean;
163
139
  }
164
140
 
165
141
  export const ExceedingCreditEntityCurrencyEnum = {
@@ -177,11 +153,5 @@ export const ExceedingCreditEntityCurrencyEnum = {
177
153
  } as const;
178
154
 
179
155
  export type ExceedingCreditEntityCurrencyEnum = typeof ExceedingCreditEntityCurrencyEnum[keyof typeof ExceedingCreditEntityCurrencyEnum];
180
- export const ExceedingCreditEntityOriginEnum = {
181
- Overpayment: 'overpayment',
182
- ReturnPremium: 'return_premium'
183
- } as const;
184
-
185
- export type ExceedingCreditEntityOriginEnum = typeof ExceedingCreditEntityOriginEnum[keyof typeof ExceedingCreditEntityOriginEnum];
186
156
 
187
157
 
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';
@@ -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';
@@ -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
- * Total amount of items.
44
- * @type {number}
43
+ * The billing addresses
44
+ * @type {Array<BillingAddressClass>}
45
45
  * @memberof ListBillingAddressesResponseClass
46
46
  */
47
- 'totalItems': number;
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
 
@@ -21,18 +21,18 @@ import { PaymentReceiptClass } from './payment-receipt-class';
21
21
  * @interface ListPaymentReceiptsResponseClass
22
22
  */
23
23
  export interface ListPaymentReceiptsResponseClass {
24
- /**
25
- * The list of payment receipts.
26
- * @type {Array<PaymentReceiptClass>}
27
- * @memberof ListPaymentReceiptsResponseClass
28
- */
29
- 'items': Array<PaymentReceiptClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPaymentReceiptsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPaymentReceiptsResponseClass
34
+ */
35
+ 'totalItems': number;
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
- * Total amount of items.
44
- * @type {number}
43
+ * The list of payment receipts.
44
+ * @type {Array<PaymentReceiptClass>}
45
45
  * @memberof ListPaymentReceiptsResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<PaymentReceiptClass>;
48
48
  }
49
49
 
@@ -21,17 +21,29 @@ import { PaymentRequestClass } from './payment-request-class';
21
21
  * @interface ListPaymentRequestsResponseClass
22
22
  */
23
23
  export interface ListPaymentRequestsResponseClass {
24
- /**
25
- * The list of payment requests.
26
- * @type {Array<PaymentRequestClass>}
27
- * @memberof ListPaymentRequestsResponseClass
28
- */
29
- 'items': Array<PaymentRequestClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPaymentRequestsResponseClass
34
28
  */
35
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
+ /**
43
+ * The list of payment requests.
44
+ * @type {Array<PaymentRequestClass>}
45
+ * @memberof ListPaymentRequestsResponseClass
46
+ */
47
+ 'items': Array<PaymentRequestClass>;
36
48
  }
37
49
 
@@ -21,18 +21,18 @@ import { PayoutMethodClass } from './payout-method-class';
21
21
  * @interface ListPayoutMethodsResponseClass
22
22
  */
23
23
  export interface ListPayoutMethodsResponseClass {
24
- /**
25
- * The payout methods
26
- * @type {Array<PayoutMethodClass>}
27
- * @memberof ListPayoutMethodsResponseClass
28
- */
29
- 'items': Array<PayoutMethodClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPayoutMethodsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPayoutMethodsResponseClass
34
+ */
35
+ 'totalItems': number;
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
- * Total amount of items.
44
- * @type {number}
43
+ * The payout methods
44
+ * @type {Array<PayoutMethodClass>}
45
45
  * @memberof ListPayoutMethodsResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<PayoutMethodClass>;
48
48
  }
49
49
 
@@ -21,17 +21,29 @@ import { RefundClass } from './refund-class';
21
21
  * @interface ListRefundsResponseClass
22
22
  */
23
23
  export interface ListRefundsResponseClass {
24
- /**
25
- * The list of refunds.
26
- * @type {Array<RefundClass>}
27
- * @memberof ListRefundsResponseClass
28
- */
29
- 'items': Array<RefundClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListRefundsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListRefundsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListRefundsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of refunds.
44
+ * @type {Array<RefundClass>}
45
+ * @memberof ListRefundsResponseClass
46
+ */
47
+ 'items': Array<RefundClass>;
36
48
  }
37
49
 
@@ -49,7 +49,7 @@ export interface PaymentClassWithoutExpandProperties {
49
49
  * @type {string}
50
50
  * @memberof PaymentClassWithoutExpandProperties
51
51
  */
52
- 'partnerCode': string;
52
+ 'partnerCode'?: string;
53
53
  /**
54
54
  * Amount to be paid in cents. 100 to charge 1€.
55
55
  * @type {number}
@@ -81,7 +81,7 @@ export interface PaymentClassWithoutExpandProperties {
81
81
  */
82
82
  'productSlug'?: string;
83
83
  /**
84
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
84
+ * Time at which the payment was actually received.
85
85
  * @type {string}
86
86
  * @memberof PaymentClassWithoutExpandProperties
87
87
  */
@@ -50,7 +50,7 @@ export interface PaymentClass {
50
50
  * @type {string}
51
51
  * @memberof PaymentClass
52
52
  */
53
- 'partnerCode': string;
53
+ 'partnerCode'?: string;
54
54
  /**
55
55
  * Amount to be paid in cents. 100 to charge 1€.
56
56
  * @type {number}
@@ -88,7 +88,7 @@ export interface PaymentClass {
88
88
  */
89
89
  'productSlug'?: string;
90
90
  /**
91
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
91
+ * Time at which the payment was actually received.
92
92
  * @type {string}
93
93
  * @memberof PaymentClass
94
94
  */
@@ -56,7 +56,7 @@ export interface PaymentEntity {
56
56
  * @type {string}
57
57
  * @memberof PaymentEntity
58
58
  */
59
- 'partnerCode': string;
59
+ 'partnerCode'?: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -51,7 +51,7 @@ export interface PaymentReceiptClass {
51
51
  */
52
52
  'direction': PaymentReceiptClassDirectionEnum;
53
53
  /**
54
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
54
+ * Date the payment was confirmed
55
55
  * @type {string}
56
56
  * @memberof PaymentReceiptClass
57
57
  */
@@ -62,12 +62,6 @@ export interface PaymentReceiptClass {
62
62
  * @memberof PaymentReceiptClass
63
63
  */
64
64
  'paymentRequestCode'?: string;
65
- /**
66
- * The number of the payment request the payment receipt pays; read from the payment request, not stored on the receipt.
67
- * @type {string}
68
- * @memberof PaymentReceiptClass
69
- */
70
- 'paymentRequestNumber'?: string;
71
65
  /**
72
66
  * The payment service provider that produced the payment receipt.
73
67
  * @type {string}
@@ -80,12 +74,6 @@ export interface PaymentReceiptClass {
80
74
  * @memberof PaymentReceiptClass
81
75
  */
82
76
  'comment'?: string;
83
- /**
84
- * The code of the bank transaction whose link created the payment receipt; unset for a receipt created by hand.
85
- * @type {string}
86
- * @memberof PaymentReceiptClass
87
- */
88
- 'bankTransactionCode'?: string;
89
77
  /**
90
78
  * Time at which the object was created.
91
79
  * @type {string}