mollie-api-typescript 1.3.4 → 1.3.5

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 (136) hide show
  1. package/bin/mcp-server.js +646 -42
  2. package/bin/mcp-server.js.map +21 -14
  3. package/dist/commonjs/funcs/settlementsListCaptures.js +0 -1
  4. package/dist/commonjs/funcs/settlementsListCaptures.js.map +1 -1
  5. package/dist/commonjs/funcs/settlementsListPayments.js +0 -1
  6. package/dist/commonjs/funcs/settlementsListPayments.js.map +1 -1
  7. package/dist/commonjs/funcs/settlementsListRefunds.js +0 -1
  8. package/dist/commonjs/funcs/settlementsListRefunds.js.map +1 -1
  9. package/dist/commonjs/hooks/mollie-auth-utils.d.ts.map +1 -1
  10. package/dist/commonjs/hooks/mollie-auth-utils.js +1 -0
  11. package/dist/commonjs/hooks/mollie-auth-utils.js.map +1 -1
  12. package/dist/commonjs/lib/config.d.ts +2 -2
  13. package/dist/commonjs/lib/config.js +2 -2
  14. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  15. package/dist/commonjs/mcp-server/server.js +1 -1
  16. package/dist/commonjs/models/index.d.ts +7 -0
  17. package/dist/commonjs/models/index.d.ts.map +1 -1
  18. package/dist/commonjs/models/index.js +7 -0
  19. package/dist/commonjs/models/index.js.map +1 -1
  20. package/dist/commonjs/models/listsettlementcaptureresponse.d.ts +170 -0
  21. package/dist/commonjs/models/listsettlementcaptureresponse.d.ts.map +1 -0
  22. package/dist/commonjs/models/listsettlementcaptureresponse.js +138 -0
  23. package/dist/commonjs/models/listsettlementcaptureresponse.js.map +1 -0
  24. package/dist/commonjs/models/listsettlementpaymentresponse.d.ts +1326 -0
  25. package/dist/commonjs/models/listsettlementpaymentresponse.d.ts.map +1 -0
  26. package/dist/commonjs/models/listsettlementpaymentresponse.js +599 -0
  27. package/dist/commonjs/models/listsettlementpaymentresponse.js.map +1 -0
  28. package/dist/commonjs/models/listsettlementrefundresponse.d.ts +246 -0
  29. package/dist/commonjs/models/listsettlementrefundresponse.d.ts.map +1 -0
  30. package/dist/commonjs/models/listsettlementrefundresponse.js +193 -0
  31. package/dist/commonjs/models/listsettlementrefundresponse.js.map +1 -0
  32. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +4 -37
  33. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
  34. package/dist/commonjs/models/operations/listsettlementcaptures.js +3 -21
  35. package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
  36. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +2 -24
  37. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  38. package/dist/commonjs/models/operations/listsettlementpayments.js +4 -6
  39. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  40. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +5 -41
  41. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  42. package/dist/commonjs/models/operations/listsettlementrefunds.js +3 -21
  43. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  44. package/dist/commonjs/models/settlementcapturestatus.d.ts +17 -0
  45. package/dist/commonjs/models/settlementcapturestatus.d.ts.map +1 -0
  46. package/dist/commonjs/models/settlementcapturestatus.js +52 -0
  47. package/dist/commonjs/models/settlementcapturestatus.js.map +1 -0
  48. package/dist/commonjs/models/settlementmode.d.ts +17 -0
  49. package/dist/commonjs/models/settlementmode.d.ts.map +1 -0
  50. package/dist/commonjs/models/settlementmode.js +52 -0
  51. package/dist/commonjs/models/settlementmode.js.map +1 -0
  52. package/dist/commonjs/models/settlementpaymentstatus.d.ts +17 -0
  53. package/dist/commonjs/models/settlementpaymentstatus.d.ts.map +1 -0
  54. package/dist/commonjs/models/settlementpaymentstatus.js +52 -0
  55. package/dist/commonjs/models/settlementpaymentstatus.js.map +1 -0
  56. package/dist/commonjs/models/settlementrefundstatus.d.ts +17 -0
  57. package/dist/commonjs/models/settlementrefundstatus.d.ts.map +1 -0
  58. package/dist/commonjs/models/settlementrefundstatus.js +52 -0
  59. package/dist/commonjs/models/settlementrefundstatus.js.map +1 -0
  60. package/dist/esm/funcs/settlementsListCaptures.js +0 -1
  61. package/dist/esm/funcs/settlementsListCaptures.js.map +1 -1
  62. package/dist/esm/funcs/settlementsListPayments.js +0 -1
  63. package/dist/esm/funcs/settlementsListPayments.js.map +1 -1
  64. package/dist/esm/funcs/settlementsListRefunds.js +0 -1
  65. package/dist/esm/funcs/settlementsListRefunds.js.map +1 -1
  66. package/dist/esm/hooks/mollie-auth-utils.d.ts.map +1 -1
  67. package/dist/esm/hooks/mollie-auth-utils.js +1 -0
  68. package/dist/esm/hooks/mollie-auth-utils.js.map +1 -1
  69. package/dist/esm/lib/config.d.ts +2 -2
  70. package/dist/esm/lib/config.js +2 -2
  71. package/dist/esm/mcp-server/mcp-server.js +1 -1
  72. package/dist/esm/mcp-server/server.js +1 -1
  73. package/dist/esm/models/index.d.ts +7 -0
  74. package/dist/esm/models/index.d.ts.map +1 -1
  75. package/dist/esm/models/index.js +7 -0
  76. package/dist/esm/models/index.js.map +1 -1
  77. package/dist/esm/models/listsettlementcaptureresponse.d.ts +170 -0
  78. package/dist/esm/models/listsettlementcaptureresponse.d.ts.map +1 -0
  79. package/dist/esm/models/listsettlementcaptureresponse.js +96 -0
  80. package/dist/esm/models/listsettlementcaptureresponse.js.map +1 -0
  81. package/dist/esm/models/listsettlementpaymentresponse.d.ts +1326 -0
  82. package/dist/esm/models/listsettlementpaymentresponse.d.ts.map +1 -0
  83. package/dist/esm/models/listsettlementpaymentresponse.js +537 -0
  84. package/dist/esm/models/listsettlementpaymentresponse.js.map +1 -0
  85. package/dist/esm/models/listsettlementrefundresponse.d.ts +246 -0
  86. package/dist/esm/models/listsettlementrefundresponse.d.ts.map +1 -0
  87. package/dist/esm/models/listsettlementrefundresponse.js +145 -0
  88. package/dist/esm/models/listsettlementrefundresponse.js.map +1 -0
  89. package/dist/esm/models/operations/listsettlementcaptures.d.ts +4 -37
  90. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  91. package/dist/esm/models/operations/listsettlementcaptures.js +2 -18
  92. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  93. package/dist/esm/models/operations/listsettlementpayments.d.ts +2 -24
  94. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  95. package/dist/esm/models/operations/listsettlementpayments.js +4 -6
  96. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  97. package/dist/esm/models/operations/listsettlementrefunds.d.ts +5 -41
  98. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  99. package/dist/esm/models/operations/listsettlementrefunds.js +2 -18
  100. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  101. package/dist/esm/models/settlementcapturestatus.d.ts +17 -0
  102. package/dist/esm/models/settlementcapturestatus.d.ts.map +1 -0
  103. package/dist/esm/models/settlementcapturestatus.js +16 -0
  104. package/dist/esm/models/settlementcapturestatus.js.map +1 -0
  105. package/dist/esm/models/settlementmode.d.ts +17 -0
  106. package/dist/esm/models/settlementmode.d.ts.map +1 -0
  107. package/dist/esm/models/settlementmode.js +16 -0
  108. package/dist/esm/models/settlementmode.js.map +1 -0
  109. package/dist/esm/models/settlementpaymentstatus.d.ts +17 -0
  110. package/dist/esm/models/settlementpaymentstatus.d.ts.map +1 -0
  111. package/dist/esm/models/settlementpaymentstatus.js +16 -0
  112. package/dist/esm/models/settlementpaymentstatus.js.map +1 -0
  113. package/dist/esm/models/settlementrefundstatus.d.ts +17 -0
  114. package/dist/esm/models/settlementrefundstatus.d.ts.map +1 -0
  115. package/dist/esm/models/settlementrefundstatus.js +16 -0
  116. package/dist/esm/models/settlementrefundstatus.js.map +1 -0
  117. package/jsr.json +1 -1
  118. package/package.json +1 -1
  119. package/src/funcs/settlementsListCaptures.ts +0 -1
  120. package/src/funcs/settlementsListPayments.ts +0 -1
  121. package/src/funcs/settlementsListRefunds.ts +0 -1
  122. package/src/hooks/mollie-auth-utils.ts +3 -2
  123. package/src/lib/config.ts +2 -2
  124. package/src/mcp-server/mcp-server.ts +1 -1
  125. package/src/mcp-server/server.ts +1 -1
  126. package/src/models/index.ts +7 -0
  127. package/src/models/listsettlementcaptureresponse.ts +360 -0
  128. package/src/models/listsettlementpaymentresponse.ts +2309 -0
  129. package/src/models/listsettlementrefundresponse.ts +580 -0
  130. package/src/models/operations/listsettlementcaptures.ts +6 -73
  131. package/src/models/operations/listsettlementpayments.ts +6 -30
  132. package/src/models/operations/listsettlementrefunds.ts +7 -77
  133. package/src/models/settlementcapturestatus.ts +32 -0
  134. package/src/models/settlementmode.ts +32 -0
  135. package/src/models/settlementpaymentstatus.ts +32 -0
  136. package/src/models/settlementrefundstatus.ts +32 -0
@@ -0,0 +1,1326 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { RFCDate } from "../types/rfcdate.js";
4
+ import { Amount, Amount$Outbound } from "./amount.js";
5
+ import { AmountNullable, AmountNullable$Outbound } from "./amountnullable.js";
6
+ import { CaptureModeResponse } from "./capturemoderesponse.js";
7
+ import { EntityPaymentRouteResponse, EntityPaymentRouteResponse$Outbound } from "./entitypaymentrouteresponse.js";
8
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
+ import { LineCategoriesResponse } from "./linecategoriesresponse.js";
10
+ import { LocaleResponse } from "./localeresponse.js";
11
+ import { Metadata, Metadata$Outbound } from "./metadata.js";
12
+ import { MethodResponse } from "./methodresponse.js";
13
+ import { PaymentAddress, PaymentAddress$Outbound } from "./paymentaddress.js";
14
+ import { PaymentDetailsCardAuditionResponse } from "./paymentdetailscardauditionresponse.js";
15
+ import { PaymentDetailsCardFundingResponse } from "./paymentdetailscardfundingresponse.js";
16
+ import { PaymentDetailsCardLabelResponse } from "./paymentdetailscardlabelresponse.js";
17
+ import { PaymentDetailsCardSecurityResponse } from "./paymentdetailscardsecurityresponse.js";
18
+ import { PaymentDetailsFailureReasonResponse } from "./paymentdetailsfailurereasonresponse.js";
19
+ import { PaymentDetailsFeeRegionResponse } from "./paymentdetailsfeeregionresponse.js";
20
+ import { PaymentDetailsReceiptCardReadMethodResponse } from "./paymentdetailsreceiptcardreadmethodresponse.js";
21
+ import { PaymentDetailsReceiptCardVerificationMethodResponse } from "./paymentdetailsreceiptcardverificationmethodresponse.js";
22
+ import { PaymentDetailsSellerProtectionResponse } from "./paymentdetailssellerprotectionresponse.js";
23
+ import { PaymentDetailsWalletResponse } from "./paymentdetailswalletresponse.js";
24
+ import { PaymentLineTypeResponse } from "./paymentlinetyperesponse.js";
25
+ import { RecurringLineItem, RecurringLineItem$Outbound } from "./recurringlineitem.js";
26
+ import { SequenceTypeResponse } from "./sequencetyperesponse.js";
27
+ import { SettlementMode } from "./settlementmode.js";
28
+ import { SettlementPaymentStatus } from "./settlementpaymentstatus.js";
29
+ import { StatusReason, StatusReason$Outbound } from "./statusreason.js";
30
+ import { Url, Url$Outbound } from "./url.js";
31
+ import { UrlNullable, UrlNullable$Outbound } from "./urlnullable.js";
32
+ /**
33
+ * The total amount that is already refunded. Only available when refunds are available for this payment. For some
34
+ *
35
+ * @remarks
36
+ * payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
37
+ * costs for a return shipment to the customer.
38
+ */
39
+ export type ListSettlementPaymentResponseAmountRefunded = {
40
+ /**
41
+ * A three-character ISO 4217 currency code.
42
+ */
43
+ currency: string;
44
+ /**
45
+ * A string containing an exact monetary amount in the given currency.
46
+ */
47
+ value: string;
48
+ };
49
+ /**
50
+ * The remaining amount that can be refunded. Only available when refunds are available for this payment.
51
+ */
52
+ export type ListSettlementPaymentResponseAmountRemaining = {
53
+ /**
54
+ * A three-character ISO 4217 currency code.
55
+ */
56
+ currency: string;
57
+ /**
58
+ * A string containing an exact monetary amount in the given currency.
59
+ */
60
+ value: string;
61
+ };
62
+ /**
63
+ * The total amount that is already captured for this payment. Only available when this payment supports captures.
64
+ */
65
+ export type ListSettlementPaymentResponseAmountCaptured = {
66
+ /**
67
+ * A three-character ISO 4217 currency code.
68
+ */
69
+ currency: string;
70
+ /**
71
+ * A string containing an exact monetary amount in the given currency.
72
+ */
73
+ value: string;
74
+ };
75
+ /**
76
+ * The total amount that was charged back for this payment. Only available when the total charged back amount is not
77
+ *
78
+ * @remarks
79
+ * zero.
80
+ */
81
+ export type ListSettlementPaymentResponseAmountChargedBack = {
82
+ /**
83
+ * A three-character ISO 4217 currency code.
84
+ */
85
+ currency: string;
86
+ /**
87
+ * A string containing an exact monetary amount in the given currency.
88
+ */
89
+ value: string;
90
+ };
91
+ /**
92
+ * This optional field will contain the approximate amount that will be settled to your account, converted to the
93
+ *
94
+ * @remarks
95
+ * currency your account is settled in.
96
+ *
97
+ * Any amounts not settled by Mollie will not be reflected in this amount, e.g. PayPal or gift cards. If no amount is
98
+ * settled by Mollie the `settlementAmount` is omitted from the response.
99
+ *
100
+ * Please note that this amount might be recalculated and changed when the status of the payment changes. We suggest
101
+ * using the List balance transactions endpoint instead to get more accurate settlement amounts for your payments.
102
+ */
103
+ export type ListSettlementPaymentResponseSettlementAmount = {
104
+ /**
105
+ * A three-character ISO 4217 currency code.
106
+ */
107
+ currency: string;
108
+ /**
109
+ * A string containing an exact monetary amount in the given currency.
110
+ */
111
+ value: string;
112
+ };
113
+ export type ListSettlementPaymentResponseLine = {
114
+ /**
115
+ * The type of product purchased. For example, a physical or a digital product.
116
+ *
117
+ * @remarks
118
+ *
119
+ * The `tip` payment line type is not available when creating a payment.
120
+ */
121
+ type?: PaymentLineTypeResponse | undefined;
122
+ /**
123
+ * A description of the line item. For example *LEGO 4440 Forest Police Station*.
124
+ */
125
+ description: string;
126
+ /**
127
+ * The number of items.
128
+ */
129
+ quantity: number;
130
+ /**
131
+ * The unit for the quantity. For example *pcs*, *kg*, or *cm*.
132
+ */
133
+ quantityUnit?: string | undefined;
134
+ /**
135
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
136
+ */
137
+ unitPrice: Amount;
138
+ /**
139
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
140
+ */
141
+ discountAmount?: Amount | undefined;
142
+ /**
143
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
144
+ */
145
+ totalAmount: Amount;
146
+ /**
147
+ * The VAT rate applied to the line, for example `21.00` for 21%. The vatRate should be passed as a string and
148
+ *
149
+ * @remarks
150
+ * not as a float, to ensure the correct number of decimals are passed.
151
+ */
152
+ vatRate?: string | undefined;
153
+ /**
154
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
155
+ */
156
+ vatAmount?: Amount | undefined;
157
+ /**
158
+ * The SKU, EAN, ISBN or UPC of the product sold.
159
+ */
160
+ sku?: string | undefined;
161
+ /**
162
+ * An array with the voucher categories, in case of a line eligible for a voucher. See the
163
+ *
164
+ * @remarks
165
+ * [Integrating Vouchers](https://docs.mollie.com/docs/integrating-vouchers/) guide for more information.
166
+ */
167
+ categories?: Array<LineCategoriesResponse> | undefined;
168
+ /**
169
+ * A link pointing to an image of the product sold.
170
+ */
171
+ imageUrl?: string | undefined;
172
+ /**
173
+ * A link pointing to the product page in your web shop of the product sold.
174
+ */
175
+ productUrl?: string | undefined;
176
+ recurring?: RecurringLineItem | undefined;
177
+ };
178
+ /**
179
+ * The customer's billing address details. We advise to provide these details to improve fraud protection and
180
+ *
181
+ * @remarks
182
+ * conversion.
183
+ *
184
+ * Should include `email` or a valid postal address consisting of `streetAndNumber`, `postalCode`, `city` and
185
+ * `country`.
186
+ *
187
+ * Required for payment method `alma`, `in3`, `klarna`, `billie` and `riverty`.
188
+ */
189
+ export type ListSettlementPaymentResponseBillingAddress = {
190
+ /**
191
+ * The title of the person, for example *Mr.* or *Mrs.*.
192
+ */
193
+ title?: string | undefined;
194
+ /**
195
+ * The given name (first name) of the person should be at least two characters and cannot contain only
196
+ *
197
+ * @remarks
198
+ * numbers.
199
+ *
200
+ * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
201
+ */
202
+ givenName?: string | undefined;
203
+ /**
204
+ * The given family name (surname) of the person should be at least two characters and cannot contain only
205
+ *
206
+ * @remarks
207
+ * numbers.
208
+ *
209
+ * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
210
+ */
211
+ familyName?: string | undefined;
212
+ /**
213
+ * The name of the organization, in case the addressee is an organization.
214
+ *
215
+ * @remarks
216
+ *
217
+ * Required for payment method `billie`.
218
+ */
219
+ organizationName?: any | undefined;
220
+ /**
221
+ * A street and street number.
222
+ *
223
+ * @remarks
224
+ *
225
+ * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
226
+ */
227
+ streetAndNumber?: string | undefined;
228
+ /**
229
+ * Any additional addressing details, for example an apartment number.
230
+ */
231
+ streetAdditional?: string | undefined;
232
+ /**
233
+ * A postal code. This field may be required if the provided country has a postal code system.
234
+ *
235
+ * @remarks
236
+ *
237
+ * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
238
+ */
239
+ postalCode?: string | undefined;
240
+ /**
241
+ * A valid e-mail address.
242
+ *
243
+ * @remarks
244
+ *
245
+ * If you provide the email address for a `banktransfer` payment, we will automatically send the instructions
246
+ * email upon payment creation. The language of the email will follow the locale parameter of the payment.
247
+ *
248
+ * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
249
+ */
250
+ email?: string | undefined;
251
+ /**
252
+ * If provided, it must be in the [E.164](https://en.wikipedia.org/wiki/E.164) format. For example: +31208202070.
253
+ */
254
+ phone?: string | undefined;
255
+ /**
256
+ * A city name.
257
+ *
258
+ * @remarks
259
+ *
260
+ * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
261
+ */
262
+ city?: string | undefined;
263
+ /**
264
+ * The top-level administrative subdivision of the country. For example: Noord-Holland.
265
+ */
266
+ region?: string | undefined;
267
+ /**
268
+ * A country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
269
+ *
270
+ * @remarks
271
+ *
272
+ * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
273
+ */
274
+ country?: string | undefined;
275
+ };
276
+ /**
277
+ * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
278
+ *
279
+ * @remarks
280
+ * merchants.
281
+ *
282
+ * If you use OAuth to create payments on a connected merchant's account, you can charge a fee using this
283
+ * `applicationFee` parameter. If the payment succeeds, the fee will be deducted from the merchant's balance and sent
284
+ * to your own account balance.
285
+ *
286
+ * If instead you want to split a payment on your own account between yourself and a connected merchant, refer to the
287
+ * `routing` parameter.
288
+ */
289
+ export type ListSettlementPaymentResponseApplicationFee = {
290
+ /**
291
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
292
+ */
293
+ amount?: Amount | undefined;
294
+ /**
295
+ * The description of the application fee. This will appear on settlement reports towards both you and the
296
+ *
297
+ * @remarks
298
+ * connected merchant.
299
+ */
300
+ description?: string | undefined;
301
+ };
302
+ /**
303
+ * The Point of sale receipt object.
304
+ */
305
+ export type ListSettlementPaymentResponseReceipt = {
306
+ /**
307
+ * A unique code provided by the cardholder’s bank to confirm that the transaction was successfully approved.
308
+ */
309
+ authorizationCode?: string | null | undefined;
310
+ /**
311
+ * The unique number that identifies a specific payment application on a chip card.
312
+ */
313
+ applicationIdentifier?: string | null | undefined;
314
+ /**
315
+ * The method by which the card was read by the terminal.
316
+ */
317
+ cardReadMethod?: PaymentDetailsReceiptCardReadMethodResponse | null | undefined;
318
+ /**
319
+ * The method used to verify the cardholder's identity.
320
+ */
321
+ cardVerificationMethod?: PaymentDetailsReceiptCardVerificationMethodResponse | null | undefined;
322
+ };
323
+ /**
324
+ * Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
325
+ *
326
+ * @remarks
327
+ * the QR code details will be available in this object.
328
+ *
329
+ * The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
330
+ * Bancontact QR payments can be completed by the customer using the Bancontact app.
331
+ */
332
+ export type ListSettlementPaymentResponseQrCode = {
333
+ /**
334
+ * The height of the QR code image in pixels.
335
+ */
336
+ height?: number | undefined;
337
+ /**
338
+ * The width of the QR code image in pixels.
339
+ */
340
+ width?: number | undefined;
341
+ /**
342
+ * The URL to the QR code image. The image is a PNG file, and can be displayed directly in the browser or
343
+ *
344
+ * @remarks
345
+ * downloaded.
346
+ */
347
+ src?: string | undefined;
348
+ };
349
+ /**
350
+ * An object containing payment details collected during the payment process. For example, details may include the
351
+ *
352
+ * @remarks
353
+ * customer's card or bank details and a payment reference. For the full list of details, please refer to the
354
+ * [method-specific parameters](extra-payment-parameters) guide.
355
+ */
356
+ export type ListSettlementPaymentResponseDetails = {
357
+ /**
358
+ * The customer's name, if made available by the payment method. For card payments, refer to details.cardHolder.
359
+ */
360
+ consumerName?: string | null | undefined;
361
+ /**
362
+ * The customer's account reference.
363
+ *
364
+ * @remarks
365
+ *
366
+ * For banking-based payment methods — such as iDEAL — this is normally either an IBAN or a domestic bank account
367
+ * number.
368
+ *
369
+ * For PayPal, the account reference is an email address.
370
+ *
371
+ * For card and Bancontact payments, refer to details.cardNumber.
372
+ */
373
+ consumerAccount?: string | null | undefined;
374
+ /**
375
+ * The BIC of the customer's bank account, if applicable.
376
+ */
377
+ consumerBic?: string | null | undefined;
378
+ /**
379
+ * For wallet payment methods — such as Apple Pay and PayPal — the shipping address is often already known by the
380
+ *
381
+ * @remarks
382
+ * wallet provider. In these cases the shipping address may be available as a payment detail.
383
+ */
384
+ shippingAddress?: {
385
+ [k: string]: any;
386
+ } | null | undefined;
387
+ /**
388
+ * For bancontact, it will be the customer's masked card number. For cards, it will be the last 4-digit of the
389
+ *
390
+ * @remarks
391
+ * PAN. For Point-of-sale, it will be the the last 4 digits of the customer's masked card number.
392
+ */
393
+ cardNumber?: string | null | undefined;
394
+ /**
395
+ * The name of the bank that the customer will need to make the bank transfer payment towards.
396
+ */
397
+ bankName?: string | undefined;
398
+ /**
399
+ * The bank account number the customer will need to make the bank transfer payment towards.
400
+ */
401
+ bankAccount?: string | undefined;
402
+ /**
403
+ * The BIC of the bank the customer will need to make the bank transfer payment towards.
404
+ */
405
+ bankBic?: string | undefined;
406
+ /**
407
+ * The Mollie-generated reference the customer needs to use when transfering the amount. Do not apply any
408
+ *
409
+ * @remarks
410
+ * formatting here; show it to the customer as-is.
411
+ */
412
+ transferReference?: string | null | undefined;
413
+ /**
414
+ * A unique fingerprint for a specific card. Can be used to identify returning customers.
415
+ *
416
+ * @remarks
417
+ *
418
+ * In the case of Point-of-sale payments, it's a unique identifier assigned to a cardholder's payment account,
419
+ * linking multiple transactions from wallets and physical card to a single account, also across payment methods
420
+ * or when the card is reissued.
421
+ */
422
+ cardFingerprint?: string | null | undefined;
423
+ /**
424
+ * The customer's name as shown on their card.
425
+ */
426
+ cardHolder?: string | null | undefined;
427
+ /**
428
+ * The card's target audience, if known.
429
+ */
430
+ cardAudition?: PaymentDetailsCardAuditionResponse | null | undefined;
431
+ /**
432
+ * The card's label, if known.
433
+ */
434
+ cardLabel?: PaymentDetailsCardLabelResponse | null | undefined;
435
+ /**
436
+ * The ISO 3166-1 alpha-2 country code of the country the card was issued in.
437
+ */
438
+ cardCountryCode?: string | null | undefined;
439
+ /**
440
+ * The expiry date (MM/YY) of the card as displayed on the card.
441
+ */
442
+ cardExpiryDate?: string | null | undefined;
443
+ /**
444
+ * The card type.
445
+ */
446
+ cardFunding?: PaymentDetailsCardFundingResponse | null | undefined;
447
+ /**
448
+ * The level of security applied during card processing.
449
+ */
450
+ cardSecurity?: PaymentDetailsCardSecurityResponse | null | undefined;
451
+ /**
452
+ * The applicable card fee region.
453
+ */
454
+ feeRegion?: PaymentDetailsFeeRegionResponse | null | undefined;
455
+ /**
456
+ * The first 6 and last 4 digits of the card number.
457
+ */
458
+ cardMaskedNumber?: string | null | undefined;
459
+ /**
460
+ * The outcome of authentication attempted on transactions enforced by 3DS (ie valid only for oneoff and first).
461
+ */
462
+ card3dsEci?: string | null | undefined;
463
+ /**
464
+ * The first 6 digit of the card bank identification number.
465
+ */
466
+ cardBin?: string | null | undefined;
467
+ /**
468
+ * The issuer of the Card.
469
+ */
470
+ cardIssuer?: string | null | undefined;
471
+ /**
472
+ * A failure code to help understand why the payment failed.
473
+ */
474
+ failureReason?: PaymentDetailsFailureReasonResponse | null | undefined;
475
+ /**
476
+ * A human-friendly failure message that can be shown to the customer. The message is translated in accordance
477
+ *
478
+ * @remarks
479
+ * with the payment's locale setting.
480
+ */
481
+ failureMessage?: string | null | undefined;
482
+ /**
483
+ * The wallet used when creating the payment.
484
+ */
485
+ wallet?: PaymentDetailsWalletResponse | null | undefined;
486
+ /**
487
+ * PayPal's reference for the payment.
488
+ */
489
+ paypalReference?: string | null | undefined;
490
+ /**
491
+ * ID of the customer's PayPal account.
492
+ */
493
+ paypalPayerId?: string | null | undefined;
494
+ /**
495
+ * Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
496
+ *
497
+ * @remarks
498
+ * payments, and if the information is made available by PayPal.
499
+ */
500
+ sellerProtection?: PaymentDetailsSellerProtectionResponse | null | undefined;
501
+ /**
502
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
503
+ */
504
+ paypalFee?: AmountNullable | null | undefined;
505
+ /**
506
+ * The paysafecard customer reference either provided via the API or otherwise auto-generated by Mollie.
507
+ */
508
+ customerReference?: string | undefined;
509
+ /**
510
+ * The ID of the terminal device where the payment took place on.
511
+ */
512
+ terminalId?: string | undefined;
513
+ /**
514
+ * The first 6 digits & last 4 digits of the customer's masked card number.
515
+ */
516
+ maskedNumber?: string | null | undefined;
517
+ /**
518
+ * The Point of sale receipt object.
519
+ */
520
+ receipt?: ListSettlementPaymentResponseReceipt | undefined;
521
+ /**
522
+ * The creditor identifier indicates who is authorized to execute the payment. In this case, it is a
523
+ *
524
+ * @remarks
525
+ * reference to Mollie.
526
+ */
527
+ creditorIdentifier?: string | null | undefined;
528
+ /**
529
+ * Estimated date the payment is debited from the customer's bank account, in YYYY-MM-DD format.
530
+ */
531
+ dueDate?: RFCDate | null | undefined;
532
+ /**
533
+ * Date the payment has been signed by the customer, in YYYY-MM-DD format. Only available if the payment
534
+ *
535
+ * @remarks
536
+ * has been signed.
537
+ */
538
+ signatureDate?: RFCDate | null | undefined;
539
+ /**
540
+ * The official reason why this payment has failed. A detailed description of each reason is available on the
541
+ *
542
+ * @remarks
543
+ * website of the European Payments Council.
544
+ */
545
+ bankReasonCode?: string | null | undefined;
546
+ /**
547
+ * A human-friendly description of the failure reason.
548
+ */
549
+ bankReason?: string | null | undefined;
550
+ /**
551
+ * The end-to-end identifier you provided in the batch file.
552
+ */
553
+ endToEndIdentifier?: string | null | undefined;
554
+ /**
555
+ * The mandate reference you provided in the batch file.
556
+ */
557
+ mandateReference?: string | null | undefined;
558
+ /**
559
+ * The batch reference you provided in the batch file.
560
+ */
561
+ batchReference?: string | null | undefined;
562
+ /**
563
+ * The file reference you provided in the batch file.
564
+ */
565
+ fileReference?: string | null | undefined;
566
+ /**
567
+ * Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
568
+ *
569
+ * @remarks
570
+ * the QR code details will be available in this object.
571
+ *
572
+ * The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
573
+ * Bancontact QR payments can be completed by the customer using the Bancontact app.
574
+ */
575
+ qrCode?: ListSettlementPaymentResponseQrCode | undefined;
576
+ /**
577
+ * For payments with gift cards: the masked gift card number of the first gift card applied to the payment.
578
+ */
579
+ voucherNumber?: string | undefined;
580
+ /**
581
+ * An array of detail objects for each gift card that was used on this payment, if any.
582
+ */
583
+ giftcards?: Array<{
584
+ [k: string]: any;
585
+ }> | undefined;
586
+ /**
587
+ * For payments with vouchers: the brand name of the first voucher applied.
588
+ */
589
+ issuer?: string | undefined;
590
+ /**
591
+ * An array of detail objects for each voucher that was used on this payment, if any.
592
+ */
593
+ vouchers?: Array<{
594
+ [k: string]: any;
595
+ }> | undefined;
596
+ /**
597
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
598
+ */
599
+ remainderAmount?: Amount | undefined;
600
+ /**
601
+ * The payment method used to pay the remainder amount, after all gift cards or vouchers were applied.
602
+ */
603
+ remainderMethod?: string | undefined;
604
+ /**
605
+ * Optional include. The full payment method details of the remainder payment.
606
+ */
607
+ remainderDetails?: {
608
+ [k: string]: any;
609
+ } | undefined;
610
+ /**
611
+ * Multibanco payment reference of the transaction
612
+ */
613
+ multibancoReference?: string | null | undefined;
614
+ /**
615
+ * Multibanco entity reference of the transaction
616
+ */
617
+ multibancoEntity?: string | null | undefined;
618
+ };
619
+ /**
620
+ * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
621
+ */
622
+ export type ListSettlementPaymentResponseLinks = {
623
+ /**
624
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
625
+ */
626
+ self: Url;
627
+ /**
628
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
629
+ */
630
+ checkout?: Url | undefined;
631
+ /**
632
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
633
+ */
634
+ mobileAppCheckout?: Url | undefined;
635
+ /**
636
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
637
+ */
638
+ changePaymentState?: UrlNullable | null | undefined;
639
+ /**
640
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
641
+ */
642
+ dashboard: Url;
643
+ /**
644
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
645
+ */
646
+ refunds?: Url | undefined;
647
+ /**
648
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
649
+ */
650
+ chargebacks?: Url | undefined;
651
+ /**
652
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
653
+ */
654
+ captures?: Url | undefined;
655
+ /**
656
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
657
+ */
658
+ settlement?: Url | undefined;
659
+ /**
660
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
661
+ */
662
+ customer?: Url | undefined;
663
+ /**
664
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
665
+ */
666
+ mandate?: Url | undefined;
667
+ /**
668
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
669
+ */
670
+ subscription?: Url | undefined;
671
+ /**
672
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
673
+ */
674
+ order?: Url | undefined;
675
+ /**
676
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
677
+ */
678
+ terminal?: Url | undefined;
679
+ /**
680
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
681
+ */
682
+ status?: Url | undefined;
683
+ /**
684
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
685
+ */
686
+ payOnline?: Url | undefined;
687
+ };
688
+ export type ListSettlementPaymentResponse = {
689
+ /**
690
+ * Indicates the response contains a payment object. Will always contain the string `payment` for this endpoint.
691
+ */
692
+ resource: string;
693
+ /**
694
+ * The identifier uniquely referring to this payment. Mollie assigns this identifier at payment creation time. Mollie
695
+ *
696
+ * @remarks
697
+ * will always refer to the payment by this ID. Example: `tr_5B8cwPMGnU6qLbRvo7qEZo`.
698
+ */
699
+ id: string;
700
+ /**
701
+ * Whether this entity was created in live mode or in test mode. Settlements are always in live mode.
702
+ */
703
+ mode: SettlementMode;
704
+ /**
705
+ * The description of the payment. This will be shown to your customer on their card or bank statement when possible.
706
+ *
707
+ * @remarks
708
+ * We truncate the description automatically according to the limits of the used payment method. The description is
709
+ * also visible in any exports you generate.
710
+ *
711
+ * We recommend you use a unique identifier so that you can always link the payment to the order in your back office.
712
+ * This is particularly useful for bookkeeping.
713
+ *
714
+ * The maximum length of the description field differs per payment method, with the absolute maximum being 255
715
+ * characters. The API will not reject strings longer than the maximum length but it will truncate them to fit.
716
+ */
717
+ description: string;
718
+ /**
719
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
720
+ */
721
+ amount: Amount;
722
+ /**
723
+ * The total amount that is already refunded. Only available when refunds are available for this payment. For some
724
+ *
725
+ * @remarks
726
+ * payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
727
+ * costs for a return shipment to the customer.
728
+ */
729
+ amountRefunded?: ListSettlementPaymentResponseAmountRefunded | undefined;
730
+ /**
731
+ * The remaining amount that can be refunded. Only available when refunds are available for this payment.
732
+ */
733
+ amountRemaining?: ListSettlementPaymentResponseAmountRemaining | undefined;
734
+ /**
735
+ * The total amount that is already captured for this payment. Only available when this payment supports captures.
736
+ */
737
+ amountCaptured?: ListSettlementPaymentResponseAmountCaptured | undefined;
738
+ /**
739
+ * The total amount that was charged back for this payment. Only available when the total charged back amount is not
740
+ *
741
+ * @remarks
742
+ * zero.
743
+ */
744
+ amountChargedBack?: ListSettlementPaymentResponseAmountChargedBack | undefined;
745
+ /**
746
+ * This optional field will contain the approximate amount that will be settled to your account, converted to the
747
+ *
748
+ * @remarks
749
+ * currency your account is settled in.
750
+ *
751
+ * Any amounts not settled by Mollie will not be reflected in this amount, e.g. PayPal or gift cards. If no amount is
752
+ * settled by Mollie the `settlementAmount` is omitted from the response.
753
+ *
754
+ * Please note that this amount might be recalculated and changed when the status of the payment changes. We suggest
755
+ * using the List balance transactions endpoint instead to get more accurate settlement amounts for your payments.
756
+ */
757
+ settlementAmount?: ListSettlementPaymentResponseSettlementAmount | undefined;
758
+ /**
759
+ * The URL your customer will be redirected to after the payment process.
760
+ *
761
+ * @remarks
762
+ *
763
+ * It could make sense for the redirectUrl to contain a unique identifier – like your order ID – so you can show the
764
+ * right page referencing the order when your customer returns.
765
+ *
766
+ * The parameter is normally required, but can be omitted for recurring payments (`sequenceType: recurring`) and for
767
+ * Apple Pay payments with an `applePayPaymentToken`.
768
+ */
769
+ redirectUrl?: string | null | undefined;
770
+ /**
771
+ * The URL your customer will be redirected to when the customer explicitly cancels the payment. If this URL is not
772
+ *
773
+ * @remarks
774
+ * provided, the customer will be redirected to the `redirectUrl` instead — see above.
775
+ *
776
+ * Mollie will always give you status updates via webhooks, including for the canceled status. This parameter is
777
+ * therefore entirely optional, but can be useful when implementing a dedicated customer-facing flow to handle
778
+ * payment cancellations.
779
+ */
780
+ cancelUrl?: string | null | undefined;
781
+ /**
782
+ * The webhook URL where we will send payment status updates to.
783
+ *
784
+ * @remarks
785
+ *
786
+ * The webhookUrl is optional, but without a webhook you will miss out on important status changes to your payment.
787
+ *
788
+ * The webhookUrl must be reachable from Mollie's point of view, so you cannot use `localhost`. If you want to use
789
+ * webhook during development on `localhost`, you must use a tool like ngrok to have the webhooks delivered to your
790
+ * local machine.
791
+ */
792
+ webhookUrl?: string | null | undefined;
793
+ /**
794
+ * Optionally provide the order lines for the payment. Each line contains details such as a description of the item
795
+ *
796
+ * @remarks
797
+ * ordered and its price.
798
+ *
799
+ * All lines must have the same currency as the payment.
800
+ *
801
+ * Required for payment methods `billie`, `in3`, `klarna`, `riverty` and `voucher`.
802
+ */
803
+ lines?: Array<ListSettlementPaymentResponseLine> | null | undefined;
804
+ /**
805
+ * The customer's billing address details. We advise to provide these details to improve fraud protection and
806
+ *
807
+ * @remarks
808
+ * conversion.
809
+ *
810
+ * Should include `email` or a valid postal address consisting of `streetAndNumber`, `postalCode`, `city` and
811
+ * `country`.
812
+ *
813
+ * Required for payment method `alma`, `in3`, `klarna`, `billie` and `riverty`.
814
+ */
815
+ billingAddress?: ListSettlementPaymentResponseBillingAddress | undefined;
816
+ shippingAddress?: PaymentAddress | undefined;
817
+ /**
818
+ * Allows you to preset the language to be used.
819
+ */
820
+ locale?: LocaleResponse | null | undefined;
821
+ /**
822
+ * This optional field contains your customer's ISO 3166-1 alpha-2 country code, detected by us during checkout. This
823
+ *
824
+ * @remarks
825
+ * field is omitted if the country code was not detected.
826
+ */
827
+ countryCode?: string | null | undefined;
828
+ /**
829
+ * Normally, a payment method screen is shown. However, when using this parameter, you can choose a specific payment
830
+ *
831
+ * @remarks
832
+ * method and your customer will skip the selection screen and is sent directly to the chosen payment method. The
833
+ * parameter enables you to fully integrate the payment method selection into your website.
834
+ *
835
+ * You can also specify the methods in an array. By doing so we will still show the payment method selection screen
836
+ * but will only show the methods specified in the array. For example, you can use this functionality to only show
837
+ * payment methods from a specific country to your customer `['bancontact', 'belfius']`.
838
+ */
839
+ method?: MethodResponse | null | undefined;
840
+ /**
841
+ * For digital goods in most jurisdictions, you must apply the VAT rate from your customer's country. Choose the VAT
842
+ *
843
+ * @remarks
844
+ * rates you have used for the order to ensure your customer's country matches the VAT country.
845
+ *
846
+ * Use this parameter to restrict the payment methods available to your customer to those from a single country.
847
+ *
848
+ * If available, the credit card method will still be offered, but only cards from the allowed country are accepted.
849
+ *
850
+ * The field expects a country code in ISO 3166-1 alpha-2 format, for example `NL`.
851
+ */
852
+ restrictPaymentMethodsToCountry?: string | null | undefined;
853
+ /**
854
+ * Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever
855
+ *
856
+ * @remarks
857
+ * you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB.
858
+ */
859
+ metadata?: Metadata | null | undefined;
860
+ /**
861
+ * Indicate if the funds should be captured immediately or if you want to [place a hold](https://docs.mollie.com/docs/place-a-hold-for-a-payment#/)
862
+ *
863
+ * @remarks
864
+ * and capture at a later time.
865
+ *
866
+ * This field needs to be set to `manual` for method `riverty`.
867
+ */
868
+ captureMode?: CaptureModeResponse | null | undefined;
869
+ /**
870
+ * **Only relevant if you wish to manage authorization and capturing separately.**
871
+ *
872
+ * @remarks
873
+ *
874
+ * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
875
+ * later point either be 'captured' or canceled.
876
+ *
877
+ * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
878
+ * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
879
+ * example `8 hours` or `2 days`.
880
+ *
881
+ * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
882
+ *
883
+ * The maximum delay is 7 days (168 hours).
884
+ *
885
+ * Possible values: `... hours` `... days`
886
+ */
887
+ captureDelay?: string | null | undefined;
888
+ /**
889
+ * Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
890
+ *
891
+ * @remarks
892
+ * can no longer guarantee a successful capture. The parameter is omitted if the payment is not authorized (yet).
893
+ */
894
+ captureBefore?: string | null | undefined;
895
+ /**
896
+ * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
897
+ *
898
+ * @remarks
899
+ * merchants.
900
+ *
901
+ * If you use OAuth to create payments on a connected merchant's account, you can charge a fee using this
902
+ * `applicationFee` parameter. If the payment succeeds, the fee will be deducted from the merchant's balance and sent
903
+ * to your own account balance.
904
+ *
905
+ * If instead you want to split a payment on your own account between yourself and a connected merchant, refer to the
906
+ * `routing` parameter.
907
+ */
908
+ applicationFee?: ListSettlementPaymentResponseApplicationFee | null | undefined;
909
+ /**
910
+ * *This functionality is not enabled by default. Reach out to our partner management team if you wish to use it.*
911
+ *
912
+ * @remarks
913
+ *
914
+ * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
915
+ * merchants.
916
+ *
917
+ * If you create payments on your own account that you want to split between yourself and one or more connected
918
+ * merchants, you can use this `routing` parameter to route the payment accordingly.
919
+ *
920
+ * The `routing` parameter should contain an array of objects, with each object describing the destination for a
921
+ * specific portion of the payment.
922
+ *
923
+ * It is not necessary to indicate in the array which portion goes to yourself. After all portions of the total
924
+ * payment amount have been routed, the amount left will be routed to the current organization automatically.
925
+ *
926
+ * If instead you use OAuth to create payments on a connected merchant's account, refer to the `applicationFee`
927
+ * parameter.
928
+ */
929
+ routing?: Array<EntityPaymentRouteResponse> | null | undefined;
930
+ sequenceType: SequenceTypeResponse;
931
+ /**
932
+ * If the payment was automatically created via a subscription, the ID of the [subscription](get-subscription) will
933
+ *
934
+ * @remarks
935
+ * be added to the response.
936
+ */
937
+ subscriptionId?: string | null | undefined;
938
+ /**
939
+ * **Only relevant for recurring payments.**
940
+ *
941
+ * @remarks
942
+ *
943
+ * When creating recurring payments, the ID of a specific [mandate](get-mandate) can be supplied to indicate which of
944
+ * the customer's accounts should be credited.
945
+ */
946
+ mandateId?: string | null | undefined;
947
+ customerId?: string | undefined;
948
+ /**
949
+ * The identifier referring to the [profile](get-profile) this entity belongs to.
950
+ *
951
+ * @remarks
952
+ *
953
+ * Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted in the creation
954
+ * request. For organization-level credentials such as OAuth access tokens however, the `profileId` parameter is
955
+ * required.
956
+ */
957
+ profileId: string;
958
+ /**
959
+ * The identifier referring to the [settlement](get-settlement) this payment was settled with.
960
+ */
961
+ settlementId?: string | null | undefined;
962
+ /**
963
+ * If the payment was created for an [order](get-order), the ID of that order will be part of the response.
964
+ */
965
+ orderId?: string | null | undefined;
966
+ /**
967
+ * The payment's status. Settlement payments always have a status of `paid`.
968
+ */
969
+ status: SettlementPaymentStatus;
970
+ /**
971
+ * This object offers details about the status of a payment. Currently it is only available for point-of-sale
972
+ *
973
+ * @remarks
974
+ * payments.
975
+ *
976
+ * You can find more information about the possible values of this object on
977
+ * [this page](status-reasons).**
978
+ */
979
+ statusReason?: StatusReason | null | undefined;
980
+ /**
981
+ * Whether the payment can be canceled. This parameter is omitted if the payment reaches a final state.
982
+ */
983
+ isCancelable?: boolean | null | undefined;
984
+ /**
985
+ * An object containing payment details collected during the payment process. For example, details may include the
986
+ *
987
+ * @remarks
988
+ * customer's card or bank details and a payment reference. For the full list of details, please refer to the
989
+ * [method-specific parameters](extra-payment-parameters) guide.
990
+ */
991
+ details?: ListSettlementPaymentResponseDetails | null | undefined;
992
+ /**
993
+ * The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
994
+ */
995
+ createdAt: string;
996
+ /**
997
+ * The date and time the payment became authorized, in ISO 8601 format. This parameter is omitted if the payment is
998
+ *
999
+ * @remarks
1000
+ * not authorized (yet).
1001
+ */
1002
+ authorizedAt?: string | null | undefined;
1003
+ /**
1004
+ * The date and time the payment became paid, in ISO 8601 format. This parameter is omitted if the payment is not
1005
+ *
1006
+ * @remarks
1007
+ * completed (yet).
1008
+ */
1009
+ paidAt?: string | null | undefined;
1010
+ /**
1011
+ * The date and time the payment was canceled, in ISO 8601 format. This parameter is omitted if the payment is not
1012
+ *
1013
+ * @remarks
1014
+ * canceled (yet).
1015
+ */
1016
+ canceledAt?: string | null | undefined;
1017
+ /**
1018
+ * The date and time the payment will expire, in ISO 8601 format. This parameter is omitted if the payment can no
1019
+ *
1020
+ * @remarks
1021
+ * longer expire.
1022
+ */
1023
+ expiresAt?: string | null | undefined;
1024
+ /**
1025
+ * The date and time the payment was expired, in ISO 8601 format. This parameter is omitted if the payment did not
1026
+ *
1027
+ * @remarks
1028
+ * expire (yet).
1029
+ */
1030
+ expiredAt?: string | null | undefined;
1031
+ /**
1032
+ * The date and time the payment failed, in ISO 8601 format. This parameter is omitted if the payment did not fail
1033
+ *
1034
+ * @remarks
1035
+ * (yet).
1036
+ */
1037
+ failedAt?: string | null | undefined;
1038
+ /**
1039
+ * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
1040
+ */
1041
+ links: ListSettlementPaymentResponseLinks;
1042
+ };
1043
+ /** @internal */
1044
+ export declare const ListSettlementPaymentResponseAmountRefunded$inboundSchema: z.ZodType<ListSettlementPaymentResponseAmountRefunded, z.ZodTypeDef, unknown>;
1045
+ /** @internal */
1046
+ export type ListSettlementPaymentResponseAmountRefunded$Outbound = {
1047
+ currency: string;
1048
+ value: string;
1049
+ };
1050
+ /** @internal */
1051
+ export declare const ListSettlementPaymentResponseAmountRefunded$outboundSchema: z.ZodType<ListSettlementPaymentResponseAmountRefunded$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseAmountRefunded>;
1052
+ export declare function listSettlementPaymentResponseAmountRefundedToJSON(listSettlementPaymentResponseAmountRefunded: ListSettlementPaymentResponseAmountRefunded): string;
1053
+ export declare function listSettlementPaymentResponseAmountRefundedFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseAmountRefunded, SDKValidationError>;
1054
+ /** @internal */
1055
+ export declare const ListSettlementPaymentResponseAmountRemaining$inboundSchema: z.ZodType<ListSettlementPaymentResponseAmountRemaining, z.ZodTypeDef, unknown>;
1056
+ /** @internal */
1057
+ export type ListSettlementPaymentResponseAmountRemaining$Outbound = {
1058
+ currency: string;
1059
+ value: string;
1060
+ };
1061
+ /** @internal */
1062
+ export declare const ListSettlementPaymentResponseAmountRemaining$outboundSchema: z.ZodType<ListSettlementPaymentResponseAmountRemaining$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseAmountRemaining>;
1063
+ export declare function listSettlementPaymentResponseAmountRemainingToJSON(listSettlementPaymentResponseAmountRemaining: ListSettlementPaymentResponseAmountRemaining): string;
1064
+ export declare function listSettlementPaymentResponseAmountRemainingFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseAmountRemaining, SDKValidationError>;
1065
+ /** @internal */
1066
+ export declare const ListSettlementPaymentResponseAmountCaptured$inboundSchema: z.ZodType<ListSettlementPaymentResponseAmountCaptured, z.ZodTypeDef, unknown>;
1067
+ /** @internal */
1068
+ export type ListSettlementPaymentResponseAmountCaptured$Outbound = {
1069
+ currency: string;
1070
+ value: string;
1071
+ };
1072
+ /** @internal */
1073
+ export declare const ListSettlementPaymentResponseAmountCaptured$outboundSchema: z.ZodType<ListSettlementPaymentResponseAmountCaptured$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseAmountCaptured>;
1074
+ export declare function listSettlementPaymentResponseAmountCapturedToJSON(listSettlementPaymentResponseAmountCaptured: ListSettlementPaymentResponseAmountCaptured): string;
1075
+ export declare function listSettlementPaymentResponseAmountCapturedFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseAmountCaptured, SDKValidationError>;
1076
+ /** @internal */
1077
+ export declare const ListSettlementPaymentResponseAmountChargedBack$inboundSchema: z.ZodType<ListSettlementPaymentResponseAmountChargedBack, z.ZodTypeDef, unknown>;
1078
+ /** @internal */
1079
+ export type ListSettlementPaymentResponseAmountChargedBack$Outbound = {
1080
+ currency: string;
1081
+ value: string;
1082
+ };
1083
+ /** @internal */
1084
+ export declare const ListSettlementPaymentResponseAmountChargedBack$outboundSchema: z.ZodType<ListSettlementPaymentResponseAmountChargedBack$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseAmountChargedBack>;
1085
+ export declare function listSettlementPaymentResponseAmountChargedBackToJSON(listSettlementPaymentResponseAmountChargedBack: ListSettlementPaymentResponseAmountChargedBack): string;
1086
+ export declare function listSettlementPaymentResponseAmountChargedBackFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseAmountChargedBack, SDKValidationError>;
1087
+ /** @internal */
1088
+ export declare const ListSettlementPaymentResponseSettlementAmount$inboundSchema: z.ZodType<ListSettlementPaymentResponseSettlementAmount, z.ZodTypeDef, unknown>;
1089
+ /** @internal */
1090
+ export type ListSettlementPaymentResponseSettlementAmount$Outbound = {
1091
+ currency: string;
1092
+ value: string;
1093
+ };
1094
+ /** @internal */
1095
+ export declare const ListSettlementPaymentResponseSettlementAmount$outboundSchema: z.ZodType<ListSettlementPaymentResponseSettlementAmount$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseSettlementAmount>;
1096
+ export declare function listSettlementPaymentResponseSettlementAmountToJSON(listSettlementPaymentResponseSettlementAmount: ListSettlementPaymentResponseSettlementAmount): string;
1097
+ export declare function listSettlementPaymentResponseSettlementAmountFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseSettlementAmount, SDKValidationError>;
1098
+ /** @internal */
1099
+ export declare const ListSettlementPaymentResponseLine$inboundSchema: z.ZodType<ListSettlementPaymentResponseLine, z.ZodTypeDef, unknown>;
1100
+ /** @internal */
1101
+ export type ListSettlementPaymentResponseLine$Outbound = {
1102
+ type?: string | undefined;
1103
+ description: string;
1104
+ quantity: number;
1105
+ quantityUnit?: string | undefined;
1106
+ unitPrice: Amount$Outbound;
1107
+ discountAmount?: Amount$Outbound | undefined;
1108
+ totalAmount: Amount$Outbound;
1109
+ vatRate?: string | undefined;
1110
+ vatAmount?: Amount$Outbound | undefined;
1111
+ sku?: string | undefined;
1112
+ categories?: Array<string> | undefined;
1113
+ imageUrl?: string | undefined;
1114
+ productUrl?: string | undefined;
1115
+ recurring?: RecurringLineItem$Outbound | undefined;
1116
+ };
1117
+ /** @internal */
1118
+ export declare const ListSettlementPaymentResponseLine$outboundSchema: z.ZodType<ListSettlementPaymentResponseLine$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseLine>;
1119
+ export declare function listSettlementPaymentResponseLineToJSON(listSettlementPaymentResponseLine: ListSettlementPaymentResponseLine): string;
1120
+ export declare function listSettlementPaymentResponseLineFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseLine, SDKValidationError>;
1121
+ /** @internal */
1122
+ export declare const ListSettlementPaymentResponseBillingAddress$inboundSchema: z.ZodType<ListSettlementPaymentResponseBillingAddress, z.ZodTypeDef, unknown>;
1123
+ /** @internal */
1124
+ export type ListSettlementPaymentResponseBillingAddress$Outbound = {
1125
+ title?: string | undefined;
1126
+ givenName?: string | undefined;
1127
+ familyName?: string | undefined;
1128
+ organizationName?: any | undefined;
1129
+ streetAndNumber?: string | undefined;
1130
+ streetAdditional?: string | undefined;
1131
+ postalCode?: string | undefined;
1132
+ email?: string | undefined;
1133
+ phone?: string | undefined;
1134
+ city?: string | undefined;
1135
+ region?: string | undefined;
1136
+ country?: string | undefined;
1137
+ };
1138
+ /** @internal */
1139
+ export declare const ListSettlementPaymentResponseBillingAddress$outboundSchema: z.ZodType<ListSettlementPaymentResponseBillingAddress$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseBillingAddress>;
1140
+ export declare function listSettlementPaymentResponseBillingAddressToJSON(listSettlementPaymentResponseBillingAddress: ListSettlementPaymentResponseBillingAddress): string;
1141
+ export declare function listSettlementPaymentResponseBillingAddressFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseBillingAddress, SDKValidationError>;
1142
+ /** @internal */
1143
+ export declare const ListSettlementPaymentResponseApplicationFee$inboundSchema: z.ZodType<ListSettlementPaymentResponseApplicationFee, z.ZodTypeDef, unknown>;
1144
+ /** @internal */
1145
+ export type ListSettlementPaymentResponseApplicationFee$Outbound = {
1146
+ amount?: Amount$Outbound | undefined;
1147
+ description?: string | undefined;
1148
+ };
1149
+ /** @internal */
1150
+ export declare const ListSettlementPaymentResponseApplicationFee$outboundSchema: z.ZodType<ListSettlementPaymentResponseApplicationFee$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseApplicationFee>;
1151
+ export declare function listSettlementPaymentResponseApplicationFeeToJSON(listSettlementPaymentResponseApplicationFee: ListSettlementPaymentResponseApplicationFee): string;
1152
+ export declare function listSettlementPaymentResponseApplicationFeeFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseApplicationFee, SDKValidationError>;
1153
+ /** @internal */
1154
+ export declare const ListSettlementPaymentResponseReceipt$inboundSchema: z.ZodType<ListSettlementPaymentResponseReceipt, z.ZodTypeDef, unknown>;
1155
+ /** @internal */
1156
+ export type ListSettlementPaymentResponseReceipt$Outbound = {
1157
+ authorizationCode?: string | null | undefined;
1158
+ applicationIdentifier?: string | null | undefined;
1159
+ cardReadMethod?: string | null | undefined;
1160
+ cardVerificationMethod?: string | null | undefined;
1161
+ };
1162
+ /** @internal */
1163
+ export declare const ListSettlementPaymentResponseReceipt$outboundSchema: z.ZodType<ListSettlementPaymentResponseReceipt$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseReceipt>;
1164
+ export declare function listSettlementPaymentResponseReceiptToJSON(listSettlementPaymentResponseReceipt: ListSettlementPaymentResponseReceipt): string;
1165
+ export declare function listSettlementPaymentResponseReceiptFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseReceipt, SDKValidationError>;
1166
+ /** @internal */
1167
+ export declare const ListSettlementPaymentResponseQrCode$inboundSchema: z.ZodType<ListSettlementPaymentResponseQrCode, z.ZodTypeDef, unknown>;
1168
+ /** @internal */
1169
+ export type ListSettlementPaymentResponseQrCode$Outbound = {
1170
+ height?: number | undefined;
1171
+ width?: number | undefined;
1172
+ src?: string | undefined;
1173
+ };
1174
+ /** @internal */
1175
+ export declare const ListSettlementPaymentResponseQrCode$outboundSchema: z.ZodType<ListSettlementPaymentResponseQrCode$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseQrCode>;
1176
+ export declare function listSettlementPaymentResponseQrCodeToJSON(listSettlementPaymentResponseQrCode: ListSettlementPaymentResponseQrCode): string;
1177
+ export declare function listSettlementPaymentResponseQrCodeFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseQrCode, SDKValidationError>;
1178
+ /** @internal */
1179
+ export declare const ListSettlementPaymentResponseDetails$inboundSchema: z.ZodType<ListSettlementPaymentResponseDetails, z.ZodTypeDef, unknown>;
1180
+ /** @internal */
1181
+ export type ListSettlementPaymentResponseDetails$Outbound = {
1182
+ consumerName?: string | null | undefined;
1183
+ consumerAccount?: string | null | undefined;
1184
+ consumerBic?: string | null | undefined;
1185
+ shippingAddress?: {
1186
+ [k: string]: any;
1187
+ } | null | undefined;
1188
+ cardNumber?: string | null | undefined;
1189
+ bankName?: string | undefined;
1190
+ bankAccount?: string | undefined;
1191
+ bankBic?: string | undefined;
1192
+ transferReference?: string | null | undefined;
1193
+ cardFingerprint?: string | null | undefined;
1194
+ cardHolder?: string | null | undefined;
1195
+ cardAudition?: string | null | undefined;
1196
+ cardLabel?: string | null | undefined;
1197
+ cardCountryCode?: string | null | undefined;
1198
+ cardExpiryDate?: string | null | undefined;
1199
+ cardFunding?: string | null | undefined;
1200
+ cardSecurity?: string | null | undefined;
1201
+ feeRegion?: string | null | undefined;
1202
+ cardMaskedNumber?: string | null | undefined;
1203
+ card3dsEci?: string | null | undefined;
1204
+ cardBin?: string | null | undefined;
1205
+ cardIssuer?: string | null | undefined;
1206
+ failureReason?: string | null | undefined;
1207
+ failureMessage?: string | null | undefined;
1208
+ wallet?: string | null | undefined;
1209
+ paypalReference?: string | null | undefined;
1210
+ paypalPayerId?: string | null | undefined;
1211
+ sellerProtection?: string | null | undefined;
1212
+ paypalFee?: AmountNullable$Outbound | null | undefined;
1213
+ customerReference?: string | undefined;
1214
+ terminalId?: string | undefined;
1215
+ maskedNumber?: string | null | undefined;
1216
+ receipt?: ListSettlementPaymentResponseReceipt$Outbound | undefined;
1217
+ creditorIdentifier?: string | null | undefined;
1218
+ dueDate?: string | null | undefined;
1219
+ signatureDate?: string | null | undefined;
1220
+ bankReasonCode?: string | null | undefined;
1221
+ bankReason?: string | null | undefined;
1222
+ endToEndIdentifier?: string | null | undefined;
1223
+ mandateReference?: string | null | undefined;
1224
+ batchReference?: string | null | undefined;
1225
+ fileReference?: string | null | undefined;
1226
+ qrCode?: ListSettlementPaymentResponseQrCode$Outbound | undefined;
1227
+ voucherNumber?: string | undefined;
1228
+ giftcards?: Array<{
1229
+ [k: string]: any;
1230
+ }> | undefined;
1231
+ issuer?: string | undefined;
1232
+ vouchers?: Array<{
1233
+ [k: string]: any;
1234
+ }> | undefined;
1235
+ remainderAmount?: Amount$Outbound | undefined;
1236
+ remainderMethod?: string | undefined;
1237
+ remainderDetails?: {
1238
+ [k: string]: any;
1239
+ } | undefined;
1240
+ multibancoReference?: string | null | undefined;
1241
+ multibancoEntity?: string | null | undefined;
1242
+ };
1243
+ /** @internal */
1244
+ export declare const ListSettlementPaymentResponseDetails$outboundSchema: z.ZodType<ListSettlementPaymentResponseDetails$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseDetails>;
1245
+ export declare function listSettlementPaymentResponseDetailsToJSON(listSettlementPaymentResponseDetails: ListSettlementPaymentResponseDetails): string;
1246
+ export declare function listSettlementPaymentResponseDetailsFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseDetails, SDKValidationError>;
1247
+ /** @internal */
1248
+ export declare const ListSettlementPaymentResponseLinks$inboundSchema: z.ZodType<ListSettlementPaymentResponseLinks, z.ZodTypeDef, unknown>;
1249
+ /** @internal */
1250
+ export type ListSettlementPaymentResponseLinks$Outbound = {
1251
+ self: Url$Outbound;
1252
+ checkout?: Url$Outbound | undefined;
1253
+ mobileAppCheckout?: Url$Outbound | undefined;
1254
+ changePaymentState?: UrlNullable$Outbound | null | undefined;
1255
+ dashboard: Url$Outbound;
1256
+ refunds?: Url$Outbound | undefined;
1257
+ chargebacks?: Url$Outbound | undefined;
1258
+ captures?: Url$Outbound | undefined;
1259
+ settlement?: Url$Outbound | undefined;
1260
+ customer?: Url$Outbound | undefined;
1261
+ mandate?: Url$Outbound | undefined;
1262
+ subscription?: Url$Outbound | undefined;
1263
+ order?: Url$Outbound | undefined;
1264
+ terminal?: Url$Outbound | undefined;
1265
+ status?: Url$Outbound | undefined;
1266
+ payOnline?: Url$Outbound | undefined;
1267
+ };
1268
+ /** @internal */
1269
+ export declare const ListSettlementPaymentResponseLinks$outboundSchema: z.ZodType<ListSettlementPaymentResponseLinks$Outbound, z.ZodTypeDef, ListSettlementPaymentResponseLinks>;
1270
+ export declare function listSettlementPaymentResponseLinksToJSON(listSettlementPaymentResponseLinks: ListSettlementPaymentResponseLinks): string;
1271
+ export declare function listSettlementPaymentResponseLinksFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponseLinks, SDKValidationError>;
1272
+ /** @internal */
1273
+ export declare const ListSettlementPaymentResponse$inboundSchema: z.ZodType<ListSettlementPaymentResponse, z.ZodTypeDef, unknown>;
1274
+ /** @internal */
1275
+ export type ListSettlementPaymentResponse$Outbound = {
1276
+ resource: string;
1277
+ id: string;
1278
+ mode: string;
1279
+ description: string;
1280
+ amount: Amount$Outbound;
1281
+ amountRefunded?: ListSettlementPaymentResponseAmountRefunded$Outbound | undefined;
1282
+ amountRemaining?: ListSettlementPaymentResponseAmountRemaining$Outbound | undefined;
1283
+ amountCaptured?: ListSettlementPaymentResponseAmountCaptured$Outbound | undefined;
1284
+ amountChargedBack?: ListSettlementPaymentResponseAmountChargedBack$Outbound | undefined;
1285
+ settlementAmount?: ListSettlementPaymentResponseSettlementAmount$Outbound | undefined;
1286
+ redirectUrl?: string | null | undefined;
1287
+ cancelUrl?: string | null | undefined;
1288
+ webhookUrl?: string | null | undefined;
1289
+ lines?: Array<ListSettlementPaymentResponseLine$Outbound> | null | undefined;
1290
+ billingAddress?: ListSettlementPaymentResponseBillingAddress$Outbound | undefined;
1291
+ shippingAddress?: PaymentAddress$Outbound | undefined;
1292
+ locale?: string | null | undefined;
1293
+ countryCode?: string | null | undefined;
1294
+ method?: string | null | undefined;
1295
+ restrictPaymentMethodsToCountry?: string | null | undefined;
1296
+ metadata?: Metadata$Outbound | null | undefined;
1297
+ captureMode?: string | null | undefined;
1298
+ captureDelay?: string | null | undefined;
1299
+ captureBefore?: string | null | undefined;
1300
+ applicationFee?: ListSettlementPaymentResponseApplicationFee$Outbound | null | undefined;
1301
+ routing?: Array<EntityPaymentRouteResponse$Outbound> | null | undefined;
1302
+ sequenceType: string;
1303
+ subscriptionId?: string | null | undefined;
1304
+ mandateId?: string | null | undefined;
1305
+ customerId?: string | undefined;
1306
+ profileId: string;
1307
+ settlementId?: string | null | undefined;
1308
+ orderId?: string | null | undefined;
1309
+ status: string;
1310
+ statusReason?: StatusReason$Outbound | null | undefined;
1311
+ isCancelable?: boolean | null | undefined;
1312
+ details?: ListSettlementPaymentResponseDetails$Outbound | null | undefined;
1313
+ createdAt: string;
1314
+ authorizedAt?: string | null | undefined;
1315
+ paidAt?: string | null | undefined;
1316
+ canceledAt?: string | null | undefined;
1317
+ expiresAt?: string | null | undefined;
1318
+ expiredAt?: string | null | undefined;
1319
+ failedAt?: string | null | undefined;
1320
+ _links: ListSettlementPaymentResponseLinks$Outbound;
1321
+ };
1322
+ /** @internal */
1323
+ export declare const ListSettlementPaymentResponse$outboundSchema: z.ZodType<ListSettlementPaymentResponse$Outbound, z.ZodTypeDef, ListSettlementPaymentResponse>;
1324
+ export declare function listSettlementPaymentResponseToJSON(listSettlementPaymentResponse: ListSettlementPaymentResponse): string;
1325
+ export declare function listSettlementPaymentResponseFromJSON(jsonString: string): SafeParseResult<ListSettlementPaymentResponse, SDKValidationError>;
1326
+ //# sourceMappingURL=listsettlementpaymentresponse.d.ts.map