stripe 22.2.0-beta.3 → 22.2.1

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 (1268) hide show
  1. package/CHANGELOG.md +105 -1745
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +66 -58
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -50
  6. package/cjs/Error.js +1 -125
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +2 -1
  9. package/cjs/RequestSender.js +12 -4
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/Types.d.ts +2 -4
  12. package/cjs/Types.js.map +1 -1
  13. package/cjs/apiVersion.d.ts +2 -1
  14. package/cjs/apiVersion.js +3 -2
  15. package/cjs/apiVersion.js.map +1 -1
  16. package/cjs/autoPagination.js +27 -2
  17. package/cjs/autoPagination.js.map +1 -1
  18. package/cjs/lib.d.ts +48 -3
  19. package/cjs/net/FetchHttpClient.js.map +1 -1
  20. package/cjs/net/HttpClient.js.map +1 -1
  21. package/cjs/platform/NodePlatformFunctions.d.ts +9 -0
  22. package/cjs/platform/NodePlatformFunctions.js +53 -2
  23. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  24. package/cjs/platform/PlatformFunctions.d.ts +14 -0
  25. package/cjs/platform/PlatformFunctions.js +24 -0
  26. package/cjs/platform/PlatformFunctions.js.map +1 -1
  27. package/cjs/resources/AccountLinks.d.ts +1 -1
  28. package/cjs/resources/AccountSessions.d.ts +0 -262
  29. package/cjs/resources/AccountSessions.js.map +1 -1
  30. package/cjs/resources/Accounts.d.ts +45 -819
  31. package/cjs/resources/Accounts.js +17 -32
  32. package/cjs/resources/Accounts.js.map +1 -1
  33. package/cjs/resources/ApplePayDomains.js +2 -2
  34. package/cjs/resources/ApplePayDomains.js.map +1 -1
  35. package/cjs/resources/ApplicationFees.js +5 -5
  36. package/cjs/resources/ApplicationFees.js.map +1 -1
  37. package/cjs/resources/Apps/index.d.ts +4 -4
  38. package/cjs/resources/Balance.d.ts +0 -67
  39. package/cjs/resources/BalanceSettings.d.ts +86 -0
  40. package/cjs/resources/BalanceTransactions.js +1 -1
  41. package/cjs/resources/BalanceTransactions.js.map +1 -1
  42. package/cjs/resources/BankAccounts.d.ts +2 -2
  43. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  44. package/cjs/resources/Billing/Alerts.js +4 -4
  45. package/cjs/resources/Billing/Alerts.js.map +1 -1
  46. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
  47. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  48. package/cjs/resources/Billing/CreditGrants.js +4 -4
  49. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  50. package/cjs/resources/Billing/Meters.js +5 -5
  51. package/cjs/resources/Billing/Meters.js.map +1 -1
  52. package/cjs/resources/Billing/index.d.ts +24 -27
  53. package/cjs/resources/Billing/index.js +0 -2
  54. package/cjs/resources/Billing/index.js.map +1 -1
  55. package/cjs/resources/BillingPortal/Configurations.js +2 -2
  56. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  57. package/cjs/resources/BillingPortal/index.d.ts +5 -5
  58. package/cjs/resources/Capabilities.d.ts +2 -2
  59. package/cjs/resources/Cards.d.ts +0 -4
  60. package/cjs/resources/Charges.d.ts +92 -3064
  61. package/cjs/resources/Charges.js +3 -3
  62. package/cjs/resources/Charges.js.map +1 -1
  63. package/cjs/resources/Checkout/Sessions.d.ts +51 -414
  64. package/cjs/resources/Checkout/Sessions.js +4 -4
  65. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  66. package/cjs/resources/Checkout/index.d.ts +6 -6
  67. package/cjs/resources/Climate/Orders.js +3 -3
  68. package/cjs/resources/Climate/Orders.js.map +1 -1
  69. package/cjs/resources/Climate/Products.js +1 -1
  70. package/cjs/resources/Climate/Products.js.map +1 -1
  71. package/cjs/resources/Climate/Suppliers.js +1 -1
  72. package/cjs/resources/Climate/Suppliers.js.map +1 -1
  73. package/cjs/resources/Climate/index.d.ts +9 -9
  74. package/cjs/resources/ConfirmationTokens.d.ts +7 -67
  75. package/cjs/resources/ConfirmationTokens.js +1 -1
  76. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  77. package/cjs/resources/CountrySpecs.js +1 -1
  78. package/cjs/resources/CountrySpecs.js.map +1 -1
  79. package/cjs/resources/Coupons.d.ts +0 -47
  80. package/cjs/resources/Coupons.js +3 -3
  81. package/cjs/resources/Coupons.js.map +1 -1
  82. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  83. package/cjs/resources/CreditNotes.d.ts +1 -7
  84. package/cjs/resources/CreditNotes.js +4 -18
  85. package/cjs/resources/CreditNotes.js.map +1 -1
  86. package/cjs/resources/CustomerSessions.d.ts +0 -68
  87. package/cjs/resources/Customers.d.ts +1 -7
  88. package/cjs/resources/Customers.js +31 -42
  89. package/cjs/resources/Customers.js.map +1 -1
  90. package/cjs/resources/Discounts.d.ts +4 -4
  91. package/cjs/resources/Disputes.d.ts +0 -29
  92. package/cjs/resources/Disputes.js +3 -3
  93. package/cjs/resources/Disputes.js.map +1 -1
  94. package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
  95. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  96. package/cjs/resources/Entitlements/Features.js +2 -2
  97. package/cjs/resources/Entitlements/Features.js.map +1 -1
  98. package/cjs/resources/Entitlements/index.d.ts +6 -6
  99. package/cjs/resources/EphemeralKeys.js +1 -1
  100. package/cjs/resources/EphemeralKeys.js.map +1 -1
  101. package/cjs/resources/Events.d.ts +2 -547
  102. package/cjs/resources/Events.js +1 -1
  103. package/cjs/resources/Events.js.map +1 -1
  104. package/cjs/resources/ExchangeRates.js +1 -1
  105. package/cjs/resources/ExchangeRates.js.map +1 -1
  106. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  107. package/cjs/resources/ExternalAccounts.js +0 -44
  108. package/cjs/resources/ExternalAccounts.js.map +1 -1
  109. package/cjs/resources/FileLinks.js +2 -2
  110. package/cjs/resources/FileLinks.js.map +1 -1
  111. package/cjs/resources/Files.js +1 -1
  112. package/cjs/resources/Files.js.map +1 -1
  113. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
  114. package/cjs/resources/FinancialConnections/Accounts.js +6 -14
  115. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  116. package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
  117. package/cjs/resources/FinancialConnections/Sessions.js +1 -1
  118. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  119. package/cjs/resources/FinancialConnections/Transactions.js +1 -1
  120. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
  121. package/cjs/resources/FinancialConnections/index.d.ts +13 -28
  122. package/cjs/resources/FinancialConnections/index.js +0 -4
  123. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  124. package/cjs/resources/Forwarding/Requests.js +1 -1
  125. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  126. package/cjs/resources/Forwarding/index.d.ts +3 -3
  127. package/cjs/resources/Identity/VerificationReports.js +1 -1
  128. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  129. package/cjs/resources/Identity/VerificationSessions.js +4 -4
  130. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  131. package/cjs/resources/Identity/index.d.ts +8 -8
  132. package/cjs/resources/InvoiceItems.d.ts +28 -85
  133. package/cjs/resources/InvoiceItems.js +3 -3
  134. package/cjs/resources/InvoiceItems.js.map +1 -1
  135. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  136. package/cjs/resources/InvoicePayments.js +1 -1
  137. package/cjs/resources/InvoicePayments.js.map +1 -1
  138. package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
  139. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  140. package/cjs/resources/Invoices.d.ts +26 -1348
  141. package/cjs/resources/Invoices.js +14 -84
  142. package/cjs/resources/Invoices.js.map +1 -1
  143. package/cjs/resources/Issuing/Authorizations.js +4 -4
  144. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  145. package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
  146. package/cjs/resources/Issuing/Cardholders.js +2 -2
  147. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  148. package/cjs/resources/Issuing/Cards.js +2 -2
  149. package/cjs/resources/Issuing/Cards.js.map +1 -1
  150. package/cjs/resources/Issuing/Disputes.d.ts +1 -1
  151. package/cjs/resources/Issuing/Disputes.js +3 -3
  152. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  153. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  154. package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
  155. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  156. package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
  157. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
  158. package/cjs/resources/Issuing/Tokens.js +2 -2
  159. package/cjs/resources/Issuing/Tokens.js.map +1 -1
  160. package/cjs/resources/Issuing/Transactions.d.ts +0 -9
  161. package/cjs/resources/Issuing/Transactions.js +2 -2
  162. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  163. package/cjs/resources/Issuing/index.d.ts +35 -60
  164. package/cjs/resources/Issuing/index.js +0 -6
  165. package/cjs/resources/Issuing/index.js.map +1 -1
  166. package/cjs/resources/LineItems.d.ts +2 -29
  167. package/cjs/resources/Mandates.d.ts +4 -33
  168. package/cjs/resources/Mandates.js +1 -9
  169. package/cjs/resources/Mandates.js.map +1 -1
  170. package/cjs/resources/OAuth.d.ts +7 -8
  171. package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
  172. package/cjs/resources/PaymentAttemptRecords.js +1 -1
  173. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  174. package/cjs/resources/PaymentIntents.d.ts +6510 -17236
  175. package/cjs/resources/PaymentIntents.js +12 -37
  176. package/cjs/resources/PaymentIntents.js.map +1 -1
  177. package/cjs/resources/PaymentLinks.d.ts +88 -20
  178. package/cjs/resources/PaymentLinks.js +3 -3
  179. package/cjs/resources/PaymentLinks.js.map +1 -1
  180. package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
  181. package/cjs/resources/PaymentMethodConfigurations.js +2 -2
  182. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
  183. package/cjs/resources/PaymentMethodDomains.js +3 -3
  184. package/cjs/resources/PaymentMethodDomains.js.map +1 -1
  185. package/cjs/resources/PaymentMethods.d.ts +22 -152
  186. package/cjs/resources/PaymentMethods.js +4 -4
  187. package/cjs/resources/PaymentMethods.js.map +1 -1
  188. package/cjs/resources/PaymentRecords.d.ts +23 -92
  189. package/cjs/resources/PaymentRecords.js +7 -7
  190. package/cjs/resources/PaymentRecords.js.map +1 -1
  191. package/cjs/resources/Payouts.d.ts +1 -1
  192. package/cjs/resources/Payouts.js +4 -4
  193. package/cjs/resources/Payouts.js.map +1 -1
  194. package/cjs/resources/Persons.d.ts +2 -2
  195. package/cjs/resources/Plans.d.ts +0 -16
  196. package/cjs/resources/Plans.js +3 -3
  197. package/cjs/resources/Plans.js.map +1 -1
  198. package/cjs/resources/Prices.d.ts +0 -52
  199. package/cjs/resources/Prices.js +2 -2
  200. package/cjs/resources/Prices.js.map +1 -1
  201. package/cjs/resources/Products.d.ts +0 -42
  202. package/cjs/resources/Products.js +7 -7
  203. package/cjs/resources/Products.js.map +1 -1
  204. package/cjs/resources/PromotionCodes.d.ts +0 -12
  205. package/cjs/resources/PromotionCodes.js +2 -30
  206. package/cjs/resources/PromotionCodes.js.map +1 -1
  207. package/cjs/resources/Quotes.d.ts +160 -2369
  208. package/cjs/resources/Quotes.js +20 -1180
  209. package/cjs/resources/Quotes.js.map +1 -1
  210. package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
  211. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  212. package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
  213. package/cjs/resources/Radar/ValueListItems.js +2 -2
  214. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  215. package/cjs/resources/Radar/ValueLists.js +3 -3
  216. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  217. package/cjs/resources/Radar/index.d.ts +12 -12
  218. package/cjs/resources/Refunds.d.ts +3 -11
  219. package/cjs/resources/Refunds.js +3 -3
  220. package/cjs/resources/Refunds.js.map +1 -1
  221. package/cjs/resources/Reporting/ReportRuns.js +1 -1
  222. package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
  223. package/cjs/resources/Reporting/ReportTypes.js +1 -1
  224. package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
  225. package/cjs/resources/Reporting/index.d.ts +5 -5
  226. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  227. package/cjs/resources/Reserve/Holds.js +0 -19
  228. package/cjs/resources/Reserve/Holds.js.map +1 -1
  229. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  230. package/cjs/resources/Reserve/Plans.js +0 -11
  231. package/cjs/resources/Reserve/Plans.js.map +1 -1
  232. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  233. package/cjs/resources/Reserve/Releases.js +0 -19
  234. package/cjs/resources/Reserve/Releases.js.map +1 -1
  235. package/cjs/resources/Reserve/index.d.ts +3 -14
  236. package/cjs/resources/Reserve/index.js +2 -10
  237. package/cjs/resources/Reserve/index.js.map +1 -1
  238. package/cjs/resources/Reviews.js +2 -2
  239. package/cjs/resources/Reviews.js.map +1 -1
  240. package/cjs/resources/SetupAttempts.d.ts +3 -25
  241. package/cjs/resources/SetupIntents.d.ts +77 -336
  242. package/cjs/resources/SetupIntents.js +5 -5
  243. package/cjs/resources/SetupIntents.js.map +1 -1
  244. package/cjs/resources/ShippingRates.js +2 -2
  245. package/cjs/resources/ShippingRates.js.map +1 -1
  246. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  247. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  248. package/cjs/resources/Sigma/index.d.ts +2 -2
  249. package/cjs/resources/Sources.d.ts +1 -16
  250. package/cjs/resources/Sources.js +4 -4
  251. package/cjs/resources/Sources.js.map +1 -1
  252. package/cjs/resources/SubscriptionItems.d.ts +4 -165
  253. package/cjs/resources/SubscriptionItems.js +3 -3
  254. package/cjs/resources/SubscriptionItems.js.map +1 -1
  255. package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
  256. package/cjs/resources/SubscriptionSchedules.js +4 -52
  257. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  258. package/cjs/resources/Subscriptions.d.ts +32 -490
  259. package/cjs/resources/Subscriptions.js +8 -37
  260. package/cjs/resources/Subscriptions.js.map +1 -1
  261. package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
  262. package/cjs/resources/Tax/Calculations.d.ts +3 -7
  263. package/cjs/resources/Tax/Calculations.js +2 -2
  264. package/cjs/resources/Tax/Calculations.js.map +1 -1
  265. package/cjs/resources/Tax/Registrations.d.ts +2 -138
  266. package/cjs/resources/Tax/Registrations.js +2 -2
  267. package/cjs/resources/Tax/Registrations.js.map +1 -1
  268. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  269. package/cjs/resources/Tax/Transactions.js +2 -2
  270. package/cjs/resources/Tax/Transactions.js.map +1 -1
  271. package/cjs/resources/Tax/index.d.ts +17 -31
  272. package/cjs/resources/Tax/index.js +0 -4
  273. package/cjs/resources/Tax/index.js.map +1 -1
  274. package/cjs/resources/TaxCodes.d.ts +0 -15
  275. package/cjs/resources/TaxCodes.js +1 -1
  276. package/cjs/resources/TaxCodes.js.map +1 -1
  277. package/cjs/resources/TaxIds.js +2 -2
  278. package/cjs/resources/TaxIds.js.map +1 -1
  279. package/cjs/resources/TaxRates.js +2 -2
  280. package/cjs/resources/TaxRates.js.map +1 -1
  281. package/cjs/resources/Terminal/Configurations.d.ts +108 -27
  282. package/cjs/resources/Terminal/Configurations.js +3 -3
  283. package/cjs/resources/Terminal/Configurations.js.map +1 -1
  284. package/cjs/resources/Terminal/Locations.js +3 -3
  285. package/cjs/resources/Terminal/Locations.js.map +1 -1
  286. package/cjs/resources/Terminal/Readers.d.ts +143 -19
  287. package/cjs/resources/Terminal/Readers.js +11 -11
  288. package/cjs/resources/Terminal/Readers.js.map +1 -1
  289. package/cjs/resources/Terminal/index.d.ts +25 -30
  290. package/cjs/resources/Terminal/index.js +0 -2
  291. package/cjs/resources/Terminal/index.js.map +1 -1
  292. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  293. package/cjs/resources/TestHelpers/Customers.js +1 -1
  294. package/cjs/resources/TestHelpers/Customers.js.map +1 -1
  295. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  296. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  297. package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
  298. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  299. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  300. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  301. package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
  302. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  303. package/cjs/resources/TestHelpers/Refunds.js +1 -1
  304. package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
  305. package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
  306. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  307. package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
  308. package/cjs/resources/TestHelpers/TestClocks.js +3 -3
  309. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
  310. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  311. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  312. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  313. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  314. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  315. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  316. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  317. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  318. package/cjs/resources/TestHelpers/index.d.ts +5 -8
  319. package/cjs/resources/TestHelpers/index.js +4 -6
  320. package/cjs/resources/TestHelpers/index.js.map +1 -1
  321. package/cjs/resources/Tokens.js +1 -1
  322. package/cjs/resources/Tokens.js.map +1 -1
  323. package/cjs/resources/Topups.js +3 -3
  324. package/cjs/resources/Topups.js.map +1 -1
  325. package/cjs/resources/Transfers.d.ts +0 -8
  326. package/cjs/resources/Transfers.js +6 -6
  327. package/cjs/resources/Transfers.js.map +1 -1
  328. package/cjs/resources/Treasury/CreditReversals.js +1 -1
  329. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  330. package/cjs/resources/Treasury/DebitReversals.js +1 -1
  331. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  332. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  333. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  334. package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
  335. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  336. package/cjs/resources/Treasury/InboundTransfers.js +2 -2
  337. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  338. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  339. package/cjs/resources/Treasury/OutboundPayments.js +2 -2
  340. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  341. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  342. package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
  343. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  344. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  345. package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
  346. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
  347. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  348. package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
  349. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
  350. package/cjs/resources/Treasury/TransactionEntries.js +1 -1
  351. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  352. package/cjs/resources/Treasury/Transactions.js +1 -1
  353. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  354. package/cjs/resources/Treasury/index.d.ts +33 -33
  355. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  356. package/cjs/resources/V2/Billing/index.js +0 -8
  357. package/cjs/resources/V2/Billing/index.js.map +1 -1
  358. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  359. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  360. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  361. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  362. package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
  363. package/cjs/resources/V2/Core/AccountTokens.js +6 -2
  364. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  365. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  366. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  367. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  368. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +3 -3
  369. package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
  370. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  371. package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
  372. package/cjs/resources/V2/Core/Accounts.js +4 -4
  373. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  374. package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
  375. package/cjs/resources/V2/Core/EventDestinations.js +6 -6
  376. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
  377. package/cjs/resources/V2/Core/Events.d.ts +8 -1126
  378. package/cjs/resources/V2/Core/Events.js +3 -2
  379. package/cjs/resources/V2/Core/Events.js.map +1 -1
  380. package/cjs/resources/V2/Core/index.d.ts +19 -29
  381. package/cjs/resources/V2/Core/index.js +0 -4
  382. package/cjs/resources/V2/Core/index.js.map +1 -1
  383. package/cjs/resources/V2/index.d.ts +0 -27
  384. package/cjs/resources/V2/index.js +0 -14
  385. package/cjs/resources/V2/index.js.map +1 -1
  386. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  387. package/cjs/resources/WebhookEndpoints.js +3 -3
  388. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  389. package/cjs/resources.d.ts +0 -10
  390. package/cjs/resources.js +10 -146
  391. package/cjs/resources.js.map +1 -1
  392. package/cjs/stripe.core.d.ts +30 -69
  393. package/cjs/stripe.core.js +49 -61
  394. package/cjs/stripe.core.js.map +1 -1
  395. package/cjs/utils.d.ts +1 -3
  396. package/cjs/utils.js +14 -18
  397. package/cjs/utils.js.map +1 -1
  398. package/esm/Error.d.ts +0 -50
  399. package/esm/Error.js +0 -109
  400. package/esm/Error.js.map +1 -1
  401. package/esm/RequestSender.d.ts +2 -1
  402. package/esm/RequestSender.js +13 -5
  403. package/esm/RequestSender.js.map +1 -1
  404. package/esm/Types.d.ts +2 -4
  405. package/esm/Types.js.map +1 -1
  406. package/esm/apiVersion.d.ts +2 -1
  407. package/esm/apiVersion.js +2 -1
  408. package/esm/apiVersion.js.map +1 -1
  409. package/esm/autoPagination.js +27 -2
  410. package/esm/autoPagination.js.map +1 -1
  411. package/esm/lib.d.ts +48 -3
  412. package/esm/net/FetchHttpClient.js.map +1 -1
  413. package/esm/net/HttpClient.js.map +1 -1
  414. package/esm/platform/NodePlatformFunctions.d.ts +9 -0
  415. package/esm/platform/NodePlatformFunctions.js +53 -2
  416. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  417. package/esm/platform/PlatformFunctions.d.ts +14 -0
  418. package/esm/platform/PlatformFunctions.js +24 -0
  419. package/esm/platform/PlatformFunctions.js.map +1 -1
  420. package/esm/resources/AccountLinks.d.ts +1 -1
  421. package/esm/resources/AccountSessions.d.ts +0 -262
  422. package/esm/resources/AccountSessions.js.map +1 -1
  423. package/esm/resources/Accounts.d.ts +45 -819
  424. package/esm/resources/Accounts.js +17 -32
  425. package/esm/resources/Accounts.js.map +1 -1
  426. package/esm/resources/ApplePayDomains.js +2 -2
  427. package/esm/resources/ApplePayDomains.js.map +1 -1
  428. package/esm/resources/ApplicationFees.js +5 -5
  429. package/esm/resources/ApplicationFees.js.map +1 -1
  430. package/esm/resources/Apps/index.d.ts +4 -4
  431. package/esm/resources/Balance.d.ts +0 -67
  432. package/esm/resources/BalanceSettings.d.ts +86 -0
  433. package/esm/resources/BalanceTransactions.js +1 -1
  434. package/esm/resources/BalanceTransactions.js.map +1 -1
  435. package/esm/resources/BankAccounts.d.ts +2 -2
  436. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  437. package/esm/resources/Billing/Alerts.js +4 -4
  438. package/esm/resources/Billing/Alerts.js.map +1 -1
  439. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
  440. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  441. package/esm/resources/Billing/CreditGrants.js +4 -4
  442. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  443. package/esm/resources/Billing/Meters.js +5 -5
  444. package/esm/resources/Billing/Meters.js.map +1 -1
  445. package/esm/resources/Billing/index.d.ts +24 -27
  446. package/esm/resources/Billing/index.js +0 -2
  447. package/esm/resources/Billing/index.js.map +1 -1
  448. package/esm/resources/BillingPortal/Configurations.js +2 -2
  449. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  450. package/esm/resources/BillingPortal/index.d.ts +5 -5
  451. package/esm/resources/Capabilities.d.ts +2 -2
  452. package/esm/resources/Cards.d.ts +0 -4
  453. package/esm/resources/Charges.d.ts +92 -3064
  454. package/esm/resources/Charges.js +3 -3
  455. package/esm/resources/Charges.js.map +1 -1
  456. package/esm/resources/Checkout/Sessions.d.ts +51 -414
  457. package/esm/resources/Checkout/Sessions.js +4 -4
  458. package/esm/resources/Checkout/Sessions.js.map +1 -1
  459. package/esm/resources/Checkout/index.d.ts +6 -6
  460. package/esm/resources/Climate/Orders.js +3 -3
  461. package/esm/resources/Climate/Orders.js.map +1 -1
  462. package/esm/resources/Climate/Products.js +1 -1
  463. package/esm/resources/Climate/Products.js.map +1 -1
  464. package/esm/resources/Climate/Suppliers.js +1 -1
  465. package/esm/resources/Climate/Suppliers.js.map +1 -1
  466. package/esm/resources/Climate/index.d.ts +9 -9
  467. package/esm/resources/ConfirmationTokens.d.ts +7 -67
  468. package/esm/resources/ConfirmationTokens.js +1 -1
  469. package/esm/resources/ConfirmationTokens.js.map +1 -1
  470. package/esm/resources/CountrySpecs.js +1 -1
  471. package/esm/resources/CountrySpecs.js.map +1 -1
  472. package/esm/resources/Coupons.d.ts +0 -47
  473. package/esm/resources/Coupons.js +3 -3
  474. package/esm/resources/Coupons.js.map +1 -1
  475. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  476. package/esm/resources/CreditNotes.d.ts +1 -7
  477. package/esm/resources/CreditNotes.js +4 -18
  478. package/esm/resources/CreditNotes.js.map +1 -1
  479. package/esm/resources/CustomerSessions.d.ts +0 -68
  480. package/esm/resources/Customers.d.ts +1 -7
  481. package/esm/resources/Customers.js +31 -42
  482. package/esm/resources/Customers.js.map +1 -1
  483. package/esm/resources/Discounts.d.ts +4 -4
  484. package/esm/resources/Disputes.d.ts +0 -29
  485. package/esm/resources/Disputes.js +3 -3
  486. package/esm/resources/Disputes.js.map +1 -1
  487. package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
  488. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  489. package/esm/resources/Entitlements/Features.js +2 -2
  490. package/esm/resources/Entitlements/Features.js.map +1 -1
  491. package/esm/resources/Entitlements/index.d.ts +6 -6
  492. package/esm/resources/EphemeralKeys.js +1 -1
  493. package/esm/resources/EphemeralKeys.js.map +1 -1
  494. package/esm/resources/Events.d.ts +2 -547
  495. package/esm/resources/Events.js +1 -1
  496. package/esm/resources/Events.js.map +1 -1
  497. package/esm/resources/ExchangeRates.js +1 -1
  498. package/esm/resources/ExchangeRates.js.map +1 -1
  499. package/esm/resources/ExternalAccounts.d.ts +1 -212
  500. package/esm/resources/ExternalAccounts.js +1 -42
  501. package/esm/resources/ExternalAccounts.js.map +1 -1
  502. package/esm/resources/FileLinks.js +2 -2
  503. package/esm/resources/FileLinks.js.map +1 -1
  504. package/esm/resources/Files.js +1 -1
  505. package/esm/resources/Files.js.map +1 -1
  506. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
  507. package/esm/resources/FinancialConnections/Accounts.js +6 -14
  508. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  509. package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
  510. package/esm/resources/FinancialConnections/Sessions.js +1 -1
  511. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  512. package/esm/resources/FinancialConnections/Transactions.js +1 -1
  513. package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
  514. package/esm/resources/FinancialConnections/index.d.ts +13 -28
  515. package/esm/resources/FinancialConnections/index.js +0 -4
  516. package/esm/resources/FinancialConnections/index.js.map +1 -1
  517. package/esm/resources/Forwarding/Requests.js +1 -1
  518. package/esm/resources/Forwarding/Requests.js.map +1 -1
  519. package/esm/resources/Forwarding/index.d.ts +3 -3
  520. package/esm/resources/Identity/VerificationReports.js +1 -1
  521. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  522. package/esm/resources/Identity/VerificationSessions.js +4 -4
  523. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  524. package/esm/resources/Identity/index.d.ts +8 -8
  525. package/esm/resources/InvoiceItems.d.ts +28 -85
  526. package/esm/resources/InvoiceItems.js +3 -3
  527. package/esm/resources/InvoiceItems.js.map +1 -1
  528. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  529. package/esm/resources/InvoicePayments.js +1 -1
  530. package/esm/resources/InvoicePayments.js.map +1 -1
  531. package/esm/resources/InvoiceRenderingTemplates.js +3 -3
  532. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  533. package/esm/resources/Invoices.d.ts +26 -1348
  534. package/esm/resources/Invoices.js +14 -84
  535. package/esm/resources/Invoices.js.map +1 -1
  536. package/esm/resources/Issuing/Authorizations.js +4 -4
  537. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  538. package/esm/resources/Issuing/Cardholders.d.ts +1 -2
  539. package/esm/resources/Issuing/Cardholders.js +2 -2
  540. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  541. package/esm/resources/Issuing/Cards.js +2 -2
  542. package/esm/resources/Issuing/Cards.js.map +1 -1
  543. package/esm/resources/Issuing/Disputes.d.ts +1 -1
  544. package/esm/resources/Issuing/Disputes.js +3 -3
  545. package/esm/resources/Issuing/Disputes.js.map +1 -1
  546. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  547. package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
  548. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  549. package/esm/resources/Issuing/PhysicalBundles.js +1 -1
  550. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
  551. package/esm/resources/Issuing/Tokens.js +2 -2
  552. package/esm/resources/Issuing/Tokens.js.map +1 -1
  553. package/esm/resources/Issuing/Transactions.d.ts +0 -9
  554. package/esm/resources/Issuing/Transactions.js +2 -2
  555. package/esm/resources/Issuing/Transactions.js.map +1 -1
  556. package/esm/resources/Issuing/index.d.ts +35 -60
  557. package/esm/resources/Issuing/index.js +0 -6
  558. package/esm/resources/Issuing/index.js.map +1 -1
  559. package/esm/resources/LineItems.d.ts +2 -29
  560. package/esm/resources/Mandates.d.ts +4 -33
  561. package/esm/resources/Mandates.js +1 -9
  562. package/esm/resources/Mandates.js.map +1 -1
  563. package/esm/resources/OAuth.d.ts +7 -8
  564. package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
  565. package/esm/resources/PaymentAttemptRecords.js +1 -1
  566. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  567. package/esm/resources/PaymentIntents.d.ts +6510 -17236
  568. package/esm/resources/PaymentIntents.js +12 -37
  569. package/esm/resources/PaymentIntents.js.map +1 -1
  570. package/esm/resources/PaymentLinks.d.ts +88 -20
  571. package/esm/resources/PaymentLinks.js +3 -3
  572. package/esm/resources/PaymentLinks.js.map +1 -1
  573. package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
  574. package/esm/resources/PaymentMethodConfigurations.js +2 -2
  575. package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
  576. package/esm/resources/PaymentMethodDomains.js +3 -3
  577. package/esm/resources/PaymentMethodDomains.js.map +1 -1
  578. package/esm/resources/PaymentMethods.d.ts +22 -152
  579. package/esm/resources/PaymentMethods.js +4 -4
  580. package/esm/resources/PaymentMethods.js.map +1 -1
  581. package/esm/resources/PaymentRecords.d.ts +23 -92
  582. package/esm/resources/PaymentRecords.js +7 -7
  583. package/esm/resources/PaymentRecords.js.map +1 -1
  584. package/esm/resources/Payouts.d.ts +1 -1
  585. package/esm/resources/Payouts.js +4 -4
  586. package/esm/resources/Payouts.js.map +1 -1
  587. package/esm/resources/Persons.d.ts +2 -2
  588. package/esm/resources/Plans.d.ts +0 -16
  589. package/esm/resources/Plans.js +3 -3
  590. package/esm/resources/Plans.js.map +1 -1
  591. package/esm/resources/Prices.d.ts +0 -52
  592. package/esm/resources/Prices.js +2 -2
  593. package/esm/resources/Prices.js.map +1 -1
  594. package/esm/resources/Products.d.ts +0 -42
  595. package/esm/resources/Products.js +7 -7
  596. package/esm/resources/Products.js.map +1 -1
  597. package/esm/resources/PromotionCodes.d.ts +0 -12
  598. package/esm/resources/PromotionCodes.js +2 -30
  599. package/esm/resources/PromotionCodes.js.map +1 -1
  600. package/esm/resources/Quotes.d.ts +160 -2369
  601. package/esm/resources/Quotes.js +20 -1180
  602. package/esm/resources/Quotes.js.map +1 -1
  603. package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
  604. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  605. package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
  606. package/esm/resources/Radar/ValueListItems.js +2 -2
  607. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  608. package/esm/resources/Radar/ValueLists.js +3 -3
  609. package/esm/resources/Radar/ValueLists.js.map +1 -1
  610. package/esm/resources/Radar/index.d.ts +12 -12
  611. package/esm/resources/Refunds.d.ts +3 -11
  612. package/esm/resources/Refunds.js +3 -3
  613. package/esm/resources/Refunds.js.map +1 -1
  614. package/esm/resources/Reporting/ReportRuns.js +1 -1
  615. package/esm/resources/Reporting/ReportRuns.js.map +1 -1
  616. package/esm/resources/Reporting/ReportTypes.js +1 -1
  617. package/esm/resources/Reporting/ReportTypes.js.map +1 -1
  618. package/esm/resources/Reporting/index.d.ts +5 -5
  619. package/esm/resources/Reserve/Holds.d.ts +1 -53
  620. package/esm/resources/Reserve/Holds.js +1 -17
  621. package/esm/resources/Reserve/Holds.js.map +1 -1
  622. package/esm/resources/Reserve/Plans.d.ts +0 -16
  623. package/esm/resources/Reserve/Plans.js +1 -9
  624. package/esm/resources/Reserve/Plans.js.map +1 -1
  625. package/esm/resources/Reserve/Releases.d.ts +1 -41
  626. package/esm/resources/Reserve/Releases.js +1 -17
  627. package/esm/resources/Reserve/Releases.js.map +1 -1
  628. package/esm/resources/Reserve/index.d.ts +3 -14
  629. package/esm/resources/Reserve/index.js +2 -10
  630. package/esm/resources/Reserve/index.js.map +1 -1
  631. package/esm/resources/Reviews.js +2 -2
  632. package/esm/resources/Reviews.js.map +1 -1
  633. package/esm/resources/SetupAttempts.d.ts +3 -25
  634. package/esm/resources/SetupIntents.d.ts +77 -336
  635. package/esm/resources/SetupIntents.js +5 -5
  636. package/esm/resources/SetupIntents.js.map +1 -1
  637. package/esm/resources/ShippingRates.js +2 -2
  638. package/esm/resources/ShippingRates.js.map +1 -1
  639. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  640. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  641. package/esm/resources/Sigma/index.d.ts +2 -2
  642. package/esm/resources/Sources.d.ts +1 -16
  643. package/esm/resources/Sources.js +4 -4
  644. package/esm/resources/Sources.js.map +1 -1
  645. package/esm/resources/SubscriptionItems.d.ts +4 -165
  646. package/esm/resources/SubscriptionItems.js +3 -3
  647. package/esm/resources/SubscriptionItems.js.map +1 -1
  648. package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
  649. package/esm/resources/SubscriptionSchedules.js +4 -52
  650. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  651. package/esm/resources/Subscriptions.d.ts +32 -490
  652. package/esm/resources/Subscriptions.js +8 -37
  653. package/esm/resources/Subscriptions.js.map +1 -1
  654. package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
  655. package/esm/resources/Tax/Calculations.d.ts +3 -7
  656. package/esm/resources/Tax/Calculations.js +2 -2
  657. package/esm/resources/Tax/Calculations.js.map +1 -1
  658. package/esm/resources/Tax/Registrations.d.ts +2 -138
  659. package/esm/resources/Tax/Registrations.js +2 -2
  660. package/esm/resources/Tax/Registrations.js.map +1 -1
  661. package/esm/resources/Tax/Transactions.d.ts +2 -2
  662. package/esm/resources/Tax/Transactions.js +2 -2
  663. package/esm/resources/Tax/Transactions.js.map +1 -1
  664. package/esm/resources/Tax/index.d.ts +17 -31
  665. package/esm/resources/Tax/index.js +0 -4
  666. package/esm/resources/Tax/index.js.map +1 -1
  667. package/esm/resources/TaxCodes.d.ts +0 -15
  668. package/esm/resources/TaxCodes.js +1 -1
  669. package/esm/resources/TaxCodes.js.map +1 -1
  670. package/esm/resources/TaxIds.js +2 -2
  671. package/esm/resources/TaxIds.js.map +1 -1
  672. package/esm/resources/TaxRates.js +2 -2
  673. package/esm/resources/TaxRates.js.map +1 -1
  674. package/esm/resources/Terminal/Configurations.d.ts +108 -27
  675. package/esm/resources/Terminal/Configurations.js +3 -3
  676. package/esm/resources/Terminal/Configurations.js.map +1 -1
  677. package/esm/resources/Terminal/Locations.js +3 -3
  678. package/esm/resources/Terminal/Locations.js.map +1 -1
  679. package/esm/resources/Terminal/Readers.d.ts +143 -19
  680. package/esm/resources/Terminal/Readers.js +11 -11
  681. package/esm/resources/Terminal/Readers.js.map +1 -1
  682. package/esm/resources/Terminal/index.d.ts +25 -30
  683. package/esm/resources/Terminal/index.js +0 -2
  684. package/esm/resources/Terminal/index.js.map +1 -1
  685. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  686. package/esm/resources/TestHelpers/Customers.js +1 -1
  687. package/esm/resources/TestHelpers/Customers.js.map +1 -1
  688. package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  689. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  690. package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
  691. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  692. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  693. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  694. package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
  695. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  696. package/esm/resources/TestHelpers/Refunds.js +1 -1
  697. package/esm/resources/TestHelpers/Refunds.js.map +1 -1
  698. package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
  699. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  700. package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
  701. package/esm/resources/TestHelpers/TestClocks.js +3 -3
  702. package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
  703. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  704. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  705. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  706. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  707. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  708. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  709. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  710. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  711. package/esm/resources/TestHelpers/index.d.ts +5 -8
  712. package/esm/resources/TestHelpers/index.js +0 -2
  713. package/esm/resources/TestHelpers/index.js.map +1 -1
  714. package/esm/resources/Tokens.js +1 -1
  715. package/esm/resources/Tokens.js.map +1 -1
  716. package/esm/resources/Topups.js +3 -3
  717. package/esm/resources/Topups.js.map +1 -1
  718. package/esm/resources/Transfers.d.ts +0 -8
  719. package/esm/resources/Transfers.js +6 -6
  720. package/esm/resources/Transfers.js.map +1 -1
  721. package/esm/resources/Treasury/CreditReversals.js +1 -1
  722. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  723. package/esm/resources/Treasury/DebitReversals.js +1 -1
  724. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  725. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  726. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  727. package/esm/resources/Treasury/FinancialAccounts.js +5 -5
  728. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  729. package/esm/resources/Treasury/InboundTransfers.js +2 -2
  730. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  731. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  732. package/esm/resources/Treasury/OutboundPayments.js +2 -2
  733. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  734. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  735. package/esm/resources/Treasury/OutboundTransfers.js +2 -2
  736. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  737. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  738. package/esm/resources/Treasury/ReceivedCredits.js +1 -1
  739. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
  740. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  741. package/esm/resources/Treasury/ReceivedDebits.js +1 -1
  742. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
  743. package/esm/resources/Treasury/TransactionEntries.js +1 -1
  744. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  745. package/esm/resources/Treasury/Transactions.js +1 -1
  746. package/esm/resources/Treasury/Transactions.js.map +1 -1
  747. package/esm/resources/Treasury/index.d.ts +33 -33
  748. package/esm/resources/V2/Billing/index.d.ts +6 -45
  749. package/esm/resources/V2/Billing/index.js +0 -8
  750. package/esm/resources/V2/Billing/index.js.map +1 -1
  751. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  752. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  753. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  754. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  755. package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
  756. package/esm/resources/V2/Core/AccountTokens.js +6 -2
  757. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  758. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  759. package/esm/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  760. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  761. package/esm/resources/V2/Core/Accounts/Persons.d.ts +3 -3
  762. package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
  763. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  764. package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
  765. package/esm/resources/V2/Core/Accounts.js +4 -4
  766. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  767. package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
  768. package/esm/resources/V2/Core/EventDestinations.js +6 -6
  769. package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
  770. package/esm/resources/V2/Core/Events.d.ts +8 -1126
  771. package/esm/resources/V2/Core/Events.js +3 -2
  772. package/esm/resources/V2/Core/Events.js.map +1 -1
  773. package/esm/resources/V2/Core/index.d.ts +19 -29
  774. package/esm/resources/V2/Core/index.js +0 -4
  775. package/esm/resources/V2/Core/index.js.map +1 -1
  776. package/esm/resources/V2/index.d.ts +0 -27
  777. package/esm/resources/V2/index.js +0 -14
  778. package/esm/resources/V2/index.js.map +1 -1
  779. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  780. package/esm/resources/WebhookEndpoints.js +3 -3
  781. package/esm/resources/WebhookEndpoints.js.map +1 -1
  782. package/esm/resources.d.ts +0 -10
  783. package/esm/resources.js +0 -131
  784. package/esm/resources.js.map +1 -1
  785. package/esm/stripe.core.d.ts +30 -69
  786. package/esm/stripe.core.js +20 -32
  787. package/esm/stripe.core.js.map +1 -1
  788. package/esm/stripe.esm.node.d.ts +29 -70
  789. package/esm/stripe.esm.node.js +15 -32
  790. package/esm/stripe.esm.node.js.map +1 -1
  791. package/esm/utils.d.ts +1 -3
  792. package/esm/utils.js +13 -15
  793. package/esm/utils.js.map +1 -1
  794. package/package.json +1 -1
  795. package/cjs/StripeEventNotificationHandler.d.ts +0 -22
  796. package/cjs/StripeEventNotificationHandler.js +0 -147
  797. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  798. package/cjs/resources/AccountNotices.d.ts +0 -140
  799. package/cjs/resources/AccountNotices.js +0 -29
  800. package/cjs/resources/AccountNotices.js.map +0 -1
  801. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  802. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  803. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  804. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  805. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  806. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  807. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  808. package/cjs/resources/Billing/Analytics/index.js +0 -13
  809. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  810. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  811. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  812. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  813. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  814. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  815. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  816. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  817. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  818. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  819. package/cjs/resources/Capital/index.d.ts +0 -25
  820. package/cjs/resources/Capital/index.js +0 -17
  821. package/cjs/resources/Capital/index.js.map +0 -1
  822. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  823. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  824. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  825. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  826. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  827. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  828. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  829. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  830. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  831. package/cjs/resources/FxQuotes.d.ts +0 -212
  832. package/cjs/resources/FxQuotes.js +0 -29
  833. package/cjs/resources/FxQuotes.js.map +0 -1
  834. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  835. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  836. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  837. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  838. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  839. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  840. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  841. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  842. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  843. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  844. package/cjs/resources/Issuing/Settlements.js +0 -4
  845. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  846. package/cjs/resources/Margins.d.ts +0 -115
  847. package/cjs/resources/Margins.js +0 -35
  848. package/cjs/resources/Margins.js.map +0 -1
  849. package/cjs/resources/Orders.d.ts +0 -4693
  850. package/cjs/resources/Orders.js +0 -457
  851. package/cjs/resources/Orders.js.map +0 -1
  852. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  853. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  854. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  855. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  856. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  857. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  858. package/cjs/resources/Privacy/index.d.ts +0 -22
  859. package/cjs/resources/Privacy/index.js +0 -13
  860. package/cjs/resources/Privacy/index.js.map +0 -1
  861. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  862. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  863. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  864. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  865. package/cjs/resources/ProductCatalog/index.js +0 -13
  866. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  867. package/cjs/resources/QuoteLines.d.ts +0 -507
  868. package/cjs/resources/QuoteLines.js +0 -4
  869. package/cjs/resources/QuoteLines.js.map +0 -1
  870. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
  871. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  872. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  873. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  874. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  875. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  876. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  877. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  878. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  879. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  880. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  881. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  882. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  883. package/cjs/resources/SharedPayment/index.js +0 -15
  884. package/cjs/resources/SharedPayment/index.js.map +0 -1
  885. package/cjs/resources/Tax/Forms.d.ts +0 -230
  886. package/cjs/resources/Tax/Forms.js +0 -32
  887. package/cjs/resources/Tax/Forms.js.map +0 -1
  888. package/cjs/resources/Tax/Locations.d.ts +0 -108
  889. package/cjs/resources/Tax/Locations.js +0 -33
  890. package/cjs/resources/Tax/Locations.js.map +0 -1
  891. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  892. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  893. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  894. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  895. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  896. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  897. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  898. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  899. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  900. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  901. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  902. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  903. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  904. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  905. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  906. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  907. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  908. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  909. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  910. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  911. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  912. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  913. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  914. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  915. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  916. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  917. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  918. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  919. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  920. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  921. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  922. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  923. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  924. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  925. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  926. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  927. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  928. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  929. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  930. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  931. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  932. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  933. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  934. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  935. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  936. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  937. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  938. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  939. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  940. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  941. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  942. package/cjs/resources/V2/Data/index.d.ts +0 -10
  943. package/cjs/resources/V2/Data/index.js +0 -13
  944. package/cjs/resources/V2/Data/index.js.map +0 -1
  945. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  946. package/cjs/resources/V2/EventMisc.js +0 -2
  947. package/cjs/resources/V2/EventMisc.js.map +0 -1
  948. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  949. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  950. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  951. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  952. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  953. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  954. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  955. package/cjs/resources/V2/Extend/index.js +0 -15
  956. package/cjs/resources/V2/Extend/index.js.map +0 -1
  957. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  958. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  959. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  960. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  961. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  962. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  963. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  964. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
  965. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  966. package/cjs/resources/V2/Iam/index.d.ts +0 -12
  967. package/cjs/resources/V2/Iam/index.js +0 -13
  968. package/cjs/resources/V2/Iam/index.js.map +0 -1
  969. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  970. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  971. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  972. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  973. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  974. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  975. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  976. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  977. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  978. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  979. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  980. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  981. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  982. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  983. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  984. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  985. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  986. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  987. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  988. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  989. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  990. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  991. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  992. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  993. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  994. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  995. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  996. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  997. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  998. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  999. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  1000. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  1001. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1002. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1003. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  1004. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1005. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1006. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  1007. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1008. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1009. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  1010. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1011. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  1012. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  1013. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  1014. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1015. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  1016. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1017. package/cjs/resources/V2/Network/index.d.ts +0 -13
  1018. package/cjs/resources/V2/Network/index.js +0 -13
  1019. package/cjs/resources/V2/Network/index.js.map +0 -1
  1020. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1021. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  1022. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1023. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1024. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1025. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1026. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1027. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1028. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1029. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  1030. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  1031. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1032. package/esm/StripeEventNotificationHandler.d.ts +0 -22
  1033. package/esm/StripeEventNotificationHandler.js +0 -143
  1034. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1035. package/esm/resources/AccountNotices.d.ts +0 -140
  1036. package/esm/resources/AccountNotices.js +0 -25
  1037. package/esm/resources/AccountNotices.js.map +0 -1
  1038. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  1039. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1040. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1041. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  1042. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1043. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1044. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1045. package/esm/resources/Billing/Analytics/index.js +0 -9
  1046. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1047. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  1048. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1049. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1050. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  1051. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1052. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1053. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  1054. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1055. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1056. package/esm/resources/Capital/index.d.ts +0 -25
  1057. package/esm/resources/Capital/index.js +0 -13
  1058. package/esm/resources/Capital/index.js.map +0 -1
  1059. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1060. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1061. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1062. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  1063. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  1064. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  1065. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  1066. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1067. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1068. package/esm/resources/FxQuotes.d.ts +0 -212
  1069. package/esm/resources/FxQuotes.js +0 -25
  1070. package/esm/resources/FxQuotes.js.map +0 -1
  1071. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  1072. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  1073. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1074. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  1075. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1076. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1077. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1078. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1079. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1080. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  1081. package/esm/resources/Issuing/Settlements.js +0 -3
  1082. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1083. package/esm/resources/Margins.d.ts +0 -115
  1084. package/esm/resources/Margins.js +0 -31
  1085. package/esm/resources/Margins.js.map +0 -1
  1086. package/esm/resources/Orders.d.ts +0 -4693
  1087. package/esm/resources/Orders.js +0 -453
  1088. package/esm/resources/Orders.js.map +0 -1
  1089. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  1090. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1091. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1092. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  1093. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1094. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1095. package/esm/resources/Privacy/index.d.ts +0 -22
  1096. package/esm/resources/Privacy/index.js +0 -9
  1097. package/esm/resources/Privacy/index.js.map +0 -1
  1098. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  1099. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  1100. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1101. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  1102. package/esm/resources/ProductCatalog/index.js +0 -9
  1103. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1104. package/esm/resources/QuoteLines.d.ts +0 -507
  1105. package/esm/resources/QuoteLines.js +0 -3
  1106. package/esm/resources/QuoteLines.js.map +0 -1
  1107. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
  1108. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1109. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1110. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  1111. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1112. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1113. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  1114. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1115. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1116. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  1117. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1118. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1119. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1120. package/esm/resources/SharedPayment/index.js +0 -11
  1121. package/esm/resources/SharedPayment/index.js.map +0 -1
  1122. package/esm/resources/Tax/Forms.d.ts +0 -230
  1123. package/esm/resources/Tax/Forms.js +0 -28
  1124. package/esm/resources/Tax/Forms.js.map +0 -1
  1125. package/esm/resources/Tax/Locations.d.ts +0 -108
  1126. package/esm/resources/Tax/Locations.js +0 -29
  1127. package/esm/resources/Tax/Locations.js.map +0 -1
  1128. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  1129. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1130. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1131. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  1132. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1133. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1134. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1135. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1136. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1137. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  1138. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1139. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1140. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1141. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1142. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1143. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  1144. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1145. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1146. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  1147. package/esm/resources/V2/Billing/Cadences.js +0 -194
  1148. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1149. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  1150. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1151. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1152. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1153. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1154. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1155. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  1156. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1157. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1158. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  1159. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1160. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1161. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  1162. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1163. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1164. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  1165. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1166. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1167. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  1168. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  1169. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1170. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1171. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1172. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1173. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  1174. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1175. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1176. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1177. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1178. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1179. package/esm/resources/V2/Data/index.d.ts +0 -10
  1180. package/esm/resources/V2/Data/index.js +0 -9
  1181. package/esm/resources/V2/Data/index.js.map +0 -1
  1182. package/esm/resources/V2/EventMisc.d.ts +0 -0
  1183. package/esm/resources/V2/EventMisc.js +0 -2
  1184. package/esm/resources/V2/EventMisc.js.map +0 -1
  1185. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1186. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1187. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1188. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  1189. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1190. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1191. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1192. package/esm/resources/V2/Extend/index.js +0 -11
  1193. package/esm/resources/V2/Extend/index.js.map +0 -1
  1194. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1195. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1196. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1197. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1198. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1199. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1200. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  1201. package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
  1202. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1203. package/esm/resources/V2/Iam/index.d.ts +0 -12
  1204. package/esm/resources/V2/Iam/index.js +0 -9
  1205. package/esm/resources/V2/Iam/index.js.map +0 -1
  1206. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1207. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1208. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1209. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  1210. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  1211. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1212. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  1213. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1214. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1215. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1216. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1217. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1218. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  1219. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1220. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1221. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  1222. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1223. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1224. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  1225. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1226. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1227. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  1228. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1229. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1230. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  1231. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1232. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1233. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1234. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1235. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1236. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  1237. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1238. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1239. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1240. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1241. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1242. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1243. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1244. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1245. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1246. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1247. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1248. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  1249. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  1250. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1251. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1252. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1253. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1254. package/esm/resources/V2/Network/index.d.ts +0 -13
  1255. package/esm/resources/V2/Network/index.js +0 -9
  1256. package/esm/resources/V2/Network/index.js.map +0 -1
  1257. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1258. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1259. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1260. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1261. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1262. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1263. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1264. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1265. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1266. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  1267. package/esm/resources/V2/TestHelpers/index.js +0 -9
  1268. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -11,7 +11,7 @@ import { CustomerSource } from './CustomerSources.js';
11
11
  import { Transfer } from './Transfers.js';
12
12
  import { PaymentMethod } from './PaymentMethods.js';
13
13
  import { Mandate } from './Mandates.js';
14
- import { Emptyable, MetadataParam, AddressParam, Address, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
14
+ import { Emptyable, MetadataParam, AddressParam, PaginationParams, RangeQueryParam, Metadata, Address } from '../shared.js';
15
15
  import { RequestOptions, ApiListPromise, Response, ApiList, ApiSearchResultPromise } from '../lib.js';
16
16
  export declare class ChargeResource extends StripeResource {
17
17
  /**
@@ -331,6 +331,7 @@ export declare namespace Charge {
331
331
  bacs_debit?: PaymentMethodDetails.BacsDebit;
332
332
  bancontact?: PaymentMethodDetails.Bancontact;
333
333
  billie?: PaymentMethodDetails.Billie;
334
+ bizum?: PaymentMethodDetails.Bizum;
334
335
  blik?: PaymentMethodDetails.Blik;
335
336
  boleto?: PaymentMethodDetails.Boleto;
336
337
  card?: PaymentMethodDetails.Card;
@@ -341,9 +342,7 @@ export declare namespace Charge {
341
342
  eps?: PaymentMethodDetails.Eps;
342
343
  fpx?: PaymentMethodDetails.Fpx;
343
344
  giropay?: PaymentMethodDetails.Giropay;
344
- gopay?: PaymentMethodDetails.Gopay;
345
345
  grabpay?: PaymentMethodDetails.Grabpay;
346
- id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
347
346
  ideal?: PaymentMethodDetails.Ideal;
348
347
  interac_present?: PaymentMethodDetails.InteracPresent;
349
348
  kakao_pay?: PaymentMethodDetails.KakaoPay;
@@ -362,21 +361,17 @@ export declare namespace Charge {
362
361
  payco?: PaymentMethodDetails.Payco;
363
362
  paynow?: PaymentMethodDetails.Paynow;
364
363
  paypal?: PaymentMethodDetails.Paypal;
365
- paypay?: PaymentMethodDetails.Paypay;
366
364
  payto?: PaymentMethodDetails.Payto;
367
365
  pix?: PaymentMethodDetails.Pix;
368
366
  promptpay?: PaymentMethodDetails.Promptpay;
369
- qris?: PaymentMethodDetails.Qris;
370
- rechnung?: PaymentMethodDetails.Rechnung;
371
367
  revolut_pay?: PaymentMethodDetails.RevolutPay;
372
368
  samsung_pay?: PaymentMethodDetails.SamsungPay;
373
369
  satispay?: PaymentMethodDetails.Satispay;
370
+ scalapay?: PaymentMethodDetails.Scalapay;
374
371
  sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
375
372
  sepa_debit?: PaymentMethodDetails.SepaDebit;
376
- shopeepay?: PaymentMethodDetails.Shopeepay;
377
373
  sofort?: PaymentMethodDetails.Sofort;
378
374
  stripe_account?: PaymentMethodDetails.StripeAccount;
379
- stripe_balance?: PaymentMethodDetails.StripeBalance;
380
375
  sunbit?: PaymentMethodDetails.Sunbit;
381
376
  swish?: PaymentMethodDetails.Swish;
382
377
  twint?: PaymentMethodDetails.Twint;
@@ -678,6 +673,12 @@ export declare namespace Charge {
678
673
  */
679
674
  transaction_id: string | null;
680
675
  }
676
+ interface Bizum {
677
+ /**
678
+ * The Bizum transaction ID associated with this payment.
679
+ */
680
+ transaction_id: string | null;
681
+ }
681
682
  interface Blik {
682
683
  /**
683
684
  * A unique and immutable identifier assigned by BLIK to every buyer.
@@ -695,10 +696,6 @@ export declare namespace Charge {
695
696
  * The authorized amount.
696
697
  */
697
698
  amount_authorized: number | null;
698
- /**
699
- * The latest amount intended to be authorized by this charge.
700
- */
701
- amount_requested?: number | null;
702
699
  /**
703
700
  * Authorization code on the charge.
704
701
  */
@@ -719,7 +716,6 @@ export declare namespace Charge {
719
716
  * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
720
717
  */
721
718
  country: string | null;
722
- decremental_authorization?: Card.DecrementalAuthorization;
723
719
  /**
724
720
  * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
725
721
  */
@@ -784,7 +780,6 @@ export declare namespace Charge {
784
780
  */
785
781
  network_transaction_id: string | null;
786
782
  overcapture?: Card.Overcapture;
787
- partial_authorization?: Card.PartialAuthorization;
788
783
  /**
789
784
  * Status of a card based on the card issuer.
790
785
  */
@@ -987,36 +982,12 @@ export declare namespace Charge {
987
982
  */
988
983
  verified_name: string | null;
989
984
  }
990
- interface Gopay {
991
- }
992
985
  interface Grabpay {
993
986
  /**
994
987
  * Unique transaction id generated by GrabPay
995
988
  */
996
989
  transaction_id: string | null;
997
990
  }
998
- interface IdBankTransfer {
999
- /**
1000
- * Account number of the bank account to transfer funds to.
1001
- */
1002
- account_number: string;
1003
- /**
1004
- * Bank where the account is located.
1005
- */
1006
- bank: IdBankTransfer.Bank;
1007
- /**
1008
- * Local bank code of the bank.
1009
- */
1010
- bank_code?: string;
1011
- /**
1012
- * Name of the bank associated with the bank account.
1013
- */
1014
- bank_name?: string;
1015
- /**
1016
- * Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
1017
- */
1018
- display_name?: string;
1019
- }
1020
991
  interface Ideal {
1021
992
  /**
1022
993
  * The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
@@ -1326,34 +1297,10 @@ export declare namespace Charge {
1326
1297
  * The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
1327
1298
  */
1328
1299
  seller_protection: Paypal.SellerProtection | null;
1329
- /**
1330
- * The shipping address for the customer, as supplied by the merchant at the point of payment
1331
- * execution. This shipping address will not be updated if the merchant updates the shipping
1332
- * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1333
- */
1334
- shipping?: Address | null;
1335
1300
  /**
1336
1301
  * A unique ID generated by PayPal for this transaction.
1337
1302
  */
1338
1303
  transaction_id: string | null;
1339
- /**
1340
- * The shipping address for the customer, as supplied by the merchant at the point of payment
1341
- * execution. This shipping address will not be updated if the merchant updates the shipping
1342
- * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1343
- */
1344
- verified_address?: Address | null;
1345
- /**
1346
- * Owner's verified email. Values are verified or provided by PayPal directly
1347
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1348
- */
1349
- verified_email?: string | null;
1350
- /**
1351
- * Owner's verified full name. Values are verified or provided by PayPal directly
1352
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1353
- */
1354
- verified_name?: string | null;
1355
- }
1356
- interface Paypay {
1357
1304
  }
1358
1305
  interface Payto {
1359
1306
  /**
@@ -1389,14 +1336,6 @@ export declare namespace Charge {
1389
1336
  */
1390
1337
  reference: string | null;
1391
1338
  }
1392
- interface Qris {
1393
- }
1394
- interface Rechnung {
1395
- /**
1396
- * Payment portal URL.
1397
- */
1398
- payment_portal_url: string | null;
1399
- }
1400
1339
  interface RevolutPay {
1401
1340
  funding?: RevolutPay.Funding;
1402
1341
  /**
@@ -1420,6 +1359,12 @@ export declare namespace Charge {
1420
1359
  */
1421
1360
  transaction_id: string | null;
1422
1361
  }
1362
+ interface Scalapay {
1363
+ /**
1364
+ * The Scalapay transaction ID associated with this payment.
1365
+ */
1366
+ transaction_id: string | null;
1367
+ }
1423
1368
  interface SepaCreditTransfer {
1424
1369
  /**
1425
1370
  * Name of the bank associated with the bank account.
@@ -1464,8 +1409,6 @@ export declare namespace Charge {
1464
1409
  */
1465
1410
  mandate: string | null;
1466
1411
  }
1467
- interface Shopeepay {
1468
- }
1469
1412
  interface Sofort {
1470
1413
  /**
1471
1414
  * Bank code of bank associated with the bank account.
@@ -1508,12 +1451,6 @@ export declare namespace Charge {
1508
1451
  }
1509
1452
  interface StripeAccount {
1510
1453
  }
1511
- interface StripeBalance {
1512
- /**
1513
- * The connected account ID whose Stripe balance to use as the source of payment
1514
- */
1515
- account?: string | null;
1516
- }
1517
1454
  interface Sunbit {
1518
1455
  /**
1519
1456
  * The Sunbit transaction ID associated with this payment.
@@ -1535,6 +1472,10 @@ export declare namespace Charge {
1535
1472
  verified_phone_last4: string | null;
1536
1473
  }
1537
1474
  interface Twint {
1475
+ /**
1476
+ * ID of the multi use Mandate generated by the PaymentIntent
1477
+ */
1478
+ mandate?: string;
1538
1479
  }
1539
1480
  interface Upi {
1540
1481
  /**
@@ -1627,10 +1568,6 @@ export declare namespace Charge {
1627
1568
  * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
1628
1569
  */
1629
1570
  brand: string | null;
1630
- /**
1631
- * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
1632
- */
1633
- brand_product?: string | null;
1634
1571
  /**
1635
1572
  * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1636
1573
  */
@@ -1672,12 +1609,6 @@ export declare namespace Charge {
1672
1609
  */
1673
1610
  cvc_check: string | null;
1674
1611
  }
1675
- interface DecrementalAuthorization {
1676
- /**
1677
- * Indicates whether or not the decremental authorization feature is supported.
1678
- */
1679
- status: DecrementalAuthorization.Status;
1680
- }
1681
1612
  interface ExtendedAuthorization {
1682
1613
  /**
1683
1614
  * Indicates whether or not the capture window is extended beyond the standard authorization.
@@ -1718,12 +1649,6 @@ export declare namespace Charge {
1718
1649
  */
1719
1650
  status: Overcapture.Status;
1720
1651
  }
1721
- interface PartialAuthorization {
1722
- /**
1723
- * Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
1724
- */
1725
- status: PartialAuthorization.Status;
1726
- }
1727
1652
  type RegulatedStatus = 'regulated' | 'unregulated';
1728
1653
  interface ThreeDSecure {
1729
1654
  /**
@@ -1781,9 +1706,6 @@ export declare namespace Charge {
1781
1706
  type: Wallet.Type;
1782
1707
  visa_checkout?: Wallet.VisaCheckout;
1783
1708
  }
1784
- namespace DecrementalAuthorization {
1785
- type Status = 'available' | 'unavailable';
1786
- }
1787
1709
  namespace ExtendedAuthorization {
1788
1710
  type Status = 'disabled' | 'enabled';
1789
1711
  }
@@ -1816,9 +1738,6 @@ export declare namespace Charge {
1816
1738
  namespace Overcapture {
1817
1739
  type Status = 'available' | 'unavailable';
1818
1740
  }
1819
- namespace PartialAuthorization {
1820
- type Status = 'declined' | 'fully_authorized' | 'not_requested' | 'partially_authorized';
1821
- }
1822
1741
  namespace ThreeDSecure {
1823
1742
  type AuthenticationFlow = 'challenge' | 'frictionless';
1824
1743
  type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07';
@@ -1951,9 +1870,6 @@ export declare namespace Charge {
1951
1870
  type AccountHolderType = 'company' | 'individual';
1952
1871
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
1953
1872
  }
1954
- namespace IdBankTransfer {
1955
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
1956
- }
1957
1873
  namespace Ideal {
1958
1874
  type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
1959
1875
  type Bic = 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
@@ -2089,10 +2005,6 @@ export declare namespace Charge {
2089
2005
  * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
2090
2006
  */
2091
2007
  brand: string | null;
2092
- /**
2093
- * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
2094
- */
2095
- brand_product?: string | null;
2096
2008
  /**
2097
2009
  * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
2098
2010
  */
@@ -2243,6 +2155,10 @@ export declare namespace ChargeCreateParams {
2243
2155
  * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2244
2156
  */
2245
2157
  amount?: number;
2158
+ /**
2159
+ * An arbitrary string attached to the transfer. Often useful for displaying to users.
2160
+ */
2161
+ description?: string;
2246
2162
  /**
2247
2163
  * ID of an existing, connected Stripe account.
2248
2164
  */
@@ -2276,10 +2192,6 @@ export interface ChargeUpdateParams {
2276
2192
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2277
2193
  */
2278
2194
  metadata?: Emptyable<MetadataParam>;
2279
- /**
2280
- * Provides industry-specific information about the charge.
2281
- */
2282
- payment_details?: ChargeUpdateParams.PaymentDetails;
2283
2195
  /**
2284
2196
  * This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
2285
2197
  */
@@ -2300,52 +2212,6 @@ export declare namespace ChargeUpdateParams {
2300
2212
  */
2301
2213
  user_report: Emptyable<FraudDetails.UserReport>;
2302
2214
  }
2303
- interface PaymentDetails {
2304
- /**
2305
- * Car rental details for this PaymentIntent.
2306
- */
2307
- car_rental?: PaymentDetails.CarRental;
2308
- /**
2309
- * Car rental data for this PaymentIntent.
2310
- */
2311
- car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
2312
- /**
2313
- * A unique value to identify the customer. This field is available only for card payments.
2314
- *
2315
- * This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
2316
- */
2317
- customer_reference?: Emptyable<string>;
2318
- /**
2319
- * Event details for this PaymentIntent
2320
- */
2321
- event_details?: PaymentDetails.EventDetails;
2322
- /**
2323
- * Flight reservation details for this PaymentIntent
2324
- */
2325
- flight?: PaymentDetails.Flight;
2326
- /**
2327
- * Flight data for this PaymentIntent.
2328
- */
2329
- flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
2330
- /**
2331
- * Lodging reservation details for this PaymentIntent
2332
- */
2333
- lodging?: PaymentDetails.Lodging;
2334
- /**
2335
- * Lodging data for this PaymentIntent.
2336
- */
2337
- lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
2338
- /**
2339
- * A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
2340
- *
2341
- * For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
2342
- */
2343
- order_reference?: Emptyable<string>;
2344
- /**
2345
- * Subscription details for this PaymentIntent
2346
- */
2347
- subscription?: PaymentDetails.Subscription;
2348
- }
2349
2215
  interface Shipping {
2350
2216
  /**
2351
2217
  * Shipping address.
@@ -2371,2913 +2237,75 @@ export declare namespace ChargeUpdateParams {
2371
2237
  namespace FraudDetails {
2372
2238
  type UserReport = 'fraudulent' | 'safe';
2373
2239
  }
2374
- namespace PaymentDetails {
2375
- interface CarRental {
2376
- /**
2377
- * Affiliate details for this purchase.
2378
- */
2379
- affiliate?: CarRental.Affiliate;
2380
- /**
2381
- * The booking number associated with the car rental.
2382
- */
2383
- booking_number: string;
2384
- /**
2385
- * Class code of the car.
2386
- */
2387
- car_class_code?: string;
2388
- /**
2389
- * Make of the car.
2390
- */
2391
- car_make?: string;
2392
- /**
2393
- * Model of the car.
2394
- */
2395
- car_model?: string;
2396
- /**
2397
- * The name of the rental car company.
2398
- */
2399
- company?: string;
2400
- /**
2401
- * The customer service phone number of the car rental company.
2402
- */
2403
- customer_service_phone_number?: string;
2404
- /**
2405
- * Number of days the car is being rented.
2406
- */
2407
- days_rented: number;
2408
- /**
2409
- * Delivery details for this purchase.
2410
- */
2411
- delivery?: CarRental.Delivery;
2412
- /**
2413
- * The details of the distance traveled during the rental period.
2414
- */
2415
- distance?: CarRental.Distance;
2416
- /**
2417
- * The details of the passengers in the travel reservation
2418
- */
2419
- drivers?: Array<CarRental.Driver>;
2420
- /**
2421
- * List of additional charges being billed.
2422
- */
2423
- extra_charges?: Array<CarRental.ExtraCharge>;
2424
- /**
2425
- * Indicates if the customer did not keep nor cancel their booking.
2426
- */
2427
- no_show?: boolean;
2428
- /**
2429
- * Car pick-up address.
2430
- */
2431
- pickup_address?: AddressParam;
2432
- /**
2433
- * Car pick-up time. Measured in seconds since the Unix epoch.
2434
- */
2435
- pickup_at: number;
2436
- /**
2437
- * Name of the pickup location.
2438
- */
2439
- pickup_location_name?: string;
2440
- /**
2441
- * Rental rate.
2442
- */
2443
- rate_amount?: number;
2444
- /**
2445
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
2446
- */
2447
- rate_interval?: CarRental.RateInterval;
2448
- /**
2449
- * The name of the person or entity renting the car.
2450
- */
2451
- renter_name?: string;
2452
- /**
2453
- * Car return address.
2454
- */
2455
- return_address?: AddressParam;
2456
- /**
2457
- * Car return time. Measured in seconds since the Unix epoch.
2458
- */
2459
- return_at: number;
2460
- /**
2461
- * Name of the return location.
2462
- */
2463
- return_location_name?: string;
2464
- /**
2465
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
2466
- */
2467
- tax_exempt?: boolean;
2468
- /**
2469
- * The vehicle identification number.
2470
- */
2471
- vehicle_identification_number?: string;
2472
- }
2473
- interface CarRentalDatum {
2474
- /**
2475
- * Affiliate (such as travel agency) details for the rental.
2476
- */
2477
- affiliate?: CarRentalDatum.Affiliate;
2478
- /**
2479
- * Booking confirmation number for the car rental.
2480
- */
2481
- booking_number?: string;
2482
- /**
2483
- * Name of the car rental company.
2484
- */
2485
- carrier_name?: string;
2486
- /**
2487
- * Customer service phone number for the car rental company.
2488
- */
2489
- customer_service_phone_number?: string;
2490
- /**
2491
- * Number of days the car is being rented.
2492
- */
2493
- days_rented?: number;
2494
- /**
2495
- * Distance details for the rental.
2496
- */
2497
- distance?: CarRentalDatum.Distance;
2498
- /**
2499
- * List of drivers for the rental.
2500
- */
2501
- drivers?: Array<CarRentalDatum.Driver>;
2502
- /**
2503
- * Drop-off location details.
2504
- */
2505
- drop_off: CarRentalDatum.DropOff;
2506
- /**
2507
- * Insurance details for the rental.
2508
- */
2509
- insurances?: Array<CarRentalDatum.Insurance>;
2510
- /**
2511
- * Indicates if the customer was a no-show.
2512
- */
2513
- no_show_indicator?: boolean;
2514
- /**
2515
- * Pickup location details.
2516
- */
2517
- pickup: CarRentalDatum.Pickup;
2518
- /**
2519
- * Name of the person renting the vehicle.
2520
- */
2521
- renter_name?: string;
2522
- /**
2523
- * Total cost breakdown for the rental.
2524
- */
2525
- total: CarRentalDatum.Total;
2526
- /**
2527
- * Vehicle details for the rental.
2528
- */
2529
- vehicle?: CarRentalDatum.Vehicle;
2530
- }
2531
- interface EventDetails {
2532
- /**
2533
- * Indicates if the tickets are digitally checked when entering the venue.
2534
- */
2535
- access_controlled_venue?: boolean;
2536
- /**
2537
- * The event location's address.
2538
- */
2539
- address?: AddressParam;
2540
- /**
2541
- * Affiliate details for this purchase.
2542
- */
2543
- affiliate?: EventDetails.Affiliate;
2544
- /**
2545
- * The name of the company
2546
- */
2547
- company?: string;
2548
- /**
2549
- * Delivery details for this purchase.
2550
- */
2551
- delivery?: EventDetails.Delivery;
2552
- /**
2553
- * Event end time. Measured in seconds since the Unix epoch.
2554
- */
2555
- ends_at?: number;
2556
- /**
2557
- * Type of the event entertainment (concert, sports event etc)
2558
- */
2559
- genre?: string;
2560
- /**
2561
- * The name of the event.
2562
- */
2563
- name: string;
2564
- /**
2565
- * Event start time. Measured in seconds since the Unix epoch.
2566
- */
2567
- starts_at?: number;
2568
- }
2569
- interface Flight {
2570
- /**
2571
- * Affiliate details for this purchase.
2572
- */
2573
- affiliate?: Flight.Affiliate;
2574
- /**
2575
- * The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
2576
- */
2577
- agency_number?: string;
2578
- /**
2579
- * The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
2580
- */
2581
- carrier?: string;
2582
- /**
2583
- * Delivery details for this purchase.
2584
- */
2585
- delivery?: Flight.Delivery;
2586
- /**
2587
- * The name of the person or entity on the reservation.
2588
- */
2589
- passenger_name?: string;
2590
- /**
2591
- * The details of the passengers in the travel reservation.
2592
- */
2593
- passengers?: Array<Flight.Passenger>;
2594
- /**
2595
- * The individual flight segments associated with the trip.
2596
- */
2597
- segments: Array<Flight.Segment>;
2598
- /**
2599
- * The ticket number associated with the travel reservation.
2600
- */
2601
- ticket_number?: string;
2602
- }
2603
- interface FlightDatum {
2604
- /**
2605
- * Affiliate details if applicable.
2606
- */
2607
- affiliate?: FlightDatum.Affiliate;
2608
- /**
2609
- * Reservation reference.
2610
- */
2611
- booking_number?: string;
2612
- /**
2613
- * Computerized reservation system used to make the reservation and purchase the ticket.
2614
- */
2615
- computerized_reservation_system?: string;
2616
- /**
2617
- * Ticket restrictions.
2618
- */
2619
- endorsements_and_restrictions?: string;
2620
- /**
2621
- * List of insurances.
2622
- */
2623
- insurances?: Array<FlightDatum.Insurance>;
2624
- /**
2625
- * List of passengers.
2626
- */
2627
- passengers?: Array<FlightDatum.Passenger>;
2628
- /**
2629
- * List of flight segments.
2630
- */
2631
- segments: Array<FlightDatum.Segment>;
2632
- /**
2633
- * Electronic ticket indicator.
2634
- */
2635
- ticket_electronically_issued_indicator?: boolean;
2636
- /**
2637
- * Total cost breakdown.
2638
- */
2639
- total: FlightDatum.Total;
2640
- /**
2641
- * Type of flight transaction.
2642
- */
2643
- transaction_type?: FlightDatum.TransactionType;
2644
- }
2645
- interface Lodging {
2646
- /**
2647
- * The lodging location's address.
2648
- */
2649
- address?: AddressParam;
2650
- /**
2651
- * The number of adults on the booking
2652
- */
2653
- adults?: number;
2654
- /**
2655
- * Affiliate details for this purchase.
2656
- */
2657
- affiliate?: Lodging.Affiliate;
2658
- /**
2659
- * The booking number associated with the lodging reservation.
2660
- */
2661
- booking_number?: string;
2662
- /**
2663
- * The lodging category
2664
- */
2665
- category?: Lodging.Category;
2666
- /**
2667
- * Lodging check-in time. Measured in seconds since the Unix epoch.
2668
- */
2669
- checkin_at: number;
2670
- /**
2671
- * Lodging check-out time. Measured in seconds since the Unix epoch.
2672
- */
2673
- checkout_at: number;
2674
- /**
2675
- * The customer service phone number of the lodging company.
2676
- */
2677
- customer_service_phone_number?: string;
2678
- /**
2679
- * The daily lodging room rate.
2680
- */
2681
- daily_room_rate_amount?: number;
2682
- /**
2683
- * Delivery details for this purchase.
2684
- */
2685
- delivery?: Lodging.Delivery;
2686
- /**
2687
- * List of additional charges being billed.
2688
- */
2689
- extra_charges?: Array<Lodging.ExtraCharge>;
2690
- /**
2691
- * Indicates whether the lodging location is compliant with the Fire Safety Act.
2692
- */
2693
- fire_safety_act_compliance?: boolean;
2694
- /**
2695
- * The name of the lodging location.
2696
- */
2697
- name?: string;
2698
- /**
2699
- * Indicates if the customer did not keep their booking while failing to cancel the reservation.
2700
- */
2701
- no_show?: boolean;
2702
- /**
2703
- * The number of rooms on the booking
2704
- */
2705
- number_of_rooms?: number;
2706
- /**
2707
- * The details of the passengers in the travel reservation
2708
- */
2709
- passengers?: Array<Lodging.Passenger>;
2710
- /**
2711
- * The phone number of the lodging location.
2712
- */
2713
- property_phone_number?: string;
2714
- /**
2715
- * The room class for this purchase.
2716
- */
2717
- room_class?: string;
2718
- /**
2719
- * The number of room nights
2720
- */
2721
- room_nights?: number;
2722
- /**
2723
- * The total tax amount associating with the room reservation.
2724
- */
2725
- total_room_tax_amount?: number;
2726
- /**
2727
- * The total tax amount
2728
- */
2729
- total_tax_amount?: number;
2730
- }
2731
- interface LodgingDatum {
2732
- /**
2733
- * Accommodation details for the lodging.
2734
- */
2735
- accommodation?: LodgingDatum.Accommodation;
2736
- /**
2737
- * Affiliate details if applicable.
2738
- */
2739
- affiliate?: LodgingDatum.Affiliate;
2740
- /**
2741
- * Booking confirmation number for the lodging.
2742
- */
2743
- booking_number?: string;
2744
- /**
2745
- * Check-in date.
2746
- */
2747
- checkin_at: number;
2748
- /**
2749
- * Check-out date.
2750
- */
2751
- checkout_at: number;
2752
- /**
2753
- * Customer service phone number for the lodging company.
2754
- */
2755
- customer_service_phone_number?: string;
2756
- /**
2757
- * Whether the lodging is compliant with any hotel fire safety regulations.
2758
- */
2759
- fire_safety_act_compliance_indicator?: boolean;
2760
- /**
2761
- * List of guests for the lodging.
2762
- */
2763
- guests?: Array<LodgingDatum.Guest>;
2764
- /**
2765
- * Host details for the lodging.
2766
- */
2767
- host?: LodgingDatum.Host;
2768
- /**
2769
- * List of insurances for the lodging.
2770
- */
2771
- insurances?: Array<LodgingDatum.Insurance>;
2772
- /**
2773
- * Whether the renter is a no-show.
2774
- */
2775
- no_show_indicator?: boolean;
2776
- /**
2777
- * Renter ID number for the lodging.
2778
- */
2779
- renter_id_number?: string;
2780
- /**
2781
- * Renter name for the lodging.
2782
- */
2783
- renter_name?: string;
2784
- /**
2785
- * Total details for the lodging.
2786
- */
2787
- total: LodgingDatum.Total;
2788
- }
2789
- interface Subscription {
2790
- /**
2791
- * Affiliate details for this purchase.
2792
- */
2793
- affiliate?: Subscription.Affiliate;
2794
- /**
2795
- * Info whether the subscription will be auto renewed upon expiry.
2796
- */
2797
- auto_renewal?: boolean;
2798
- /**
2799
- * Subscription billing details for this purchase.
2800
- */
2801
- billing_interval?: Subscription.BillingInterval;
2802
- /**
2803
- * Subscription end time. Measured in seconds since the Unix epoch.
2804
- */
2805
- ends_at?: number;
2806
- /**
2807
- * Name of the product on subscription. e.g. Apple Music Subscription
2808
- */
2809
- name: string;
2810
- /**
2811
- * Subscription start time. Measured in seconds since the Unix epoch.
2812
- */
2813
- starts_at?: number;
2814
- }
2815
- namespace CarRental {
2816
- interface Affiliate {
2817
- /**
2818
- * The name of the affiliate that originated the purchase.
2819
- */
2820
- name: string;
2821
- }
2822
- interface Delivery {
2823
- /**
2824
- * The delivery method for the payment
2825
- */
2826
- mode?: Delivery.Mode;
2827
- /**
2828
- * Details of the recipient.
2829
- */
2830
- recipient?: Delivery.Recipient;
2831
- }
2832
- interface Distance {
2833
- /**
2834
- * Distance traveled.
2835
- */
2836
- amount?: number;
2837
- /**
2838
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
2839
- */
2840
- unit?: Distance.Unit;
2841
- }
2842
- interface Driver {
2843
- /**
2844
- * Driver's identification number.
2845
- */
2846
- driver_identification_number?: string;
2847
- /**
2848
- * Driver's tax number.
2849
- */
2850
- driver_tax_number?: string;
2851
- /**
2852
- * Full name of the person or entity on the car reservation.
2853
- */
2854
- name: string;
2855
- }
2856
- type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
2857
- type RateInterval = 'day' | 'month' | 'week';
2858
- namespace Delivery {
2859
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
2860
- interface Recipient {
2861
- /**
2862
- * The email of the recipient the ticket is delivered to.
2863
- */
2864
- email?: string;
2865
- /**
2866
- * The name of the recipient the ticket is delivered to.
2867
- */
2868
- name?: string;
2869
- /**
2870
- * The phone number of the recipient the ticket is delivered to.
2871
- */
2872
- phone?: string;
2873
- }
2874
- }
2875
- namespace Distance {
2876
- type Unit = 'kilometers' | 'miles';
2877
- }
2878
- }
2879
- namespace CarRentalDatum {
2880
- interface Affiliate {
2881
- /**
2882
- * Affiliate partner code.
2883
- */
2884
- code?: string;
2885
- /**
2886
- * Name of affiliate partner.
2887
- */
2888
- name?: string;
2889
- }
2890
- interface Distance {
2891
- /**
2892
- * Distance traveled.
2893
- */
2894
- amount: number;
2895
- /**
2896
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
2897
- */
2898
- unit: Distance.Unit;
2899
- }
2900
- interface Driver {
2901
- /**
2902
- * Driver's date of birth.
2903
- */
2904
- date_of_birth?: Driver.DateOfBirth;
2905
- /**
2906
- * Driver's identification number.
2907
- */
2908
- driver_identification_number?: string;
2909
- /**
2910
- * Driver's tax number.
2911
- */
2912
- driver_tax_number?: string;
2913
- /**
2914
- * Driver's full name.
2915
- */
2916
- name: string;
2917
- }
2918
- interface DropOff {
2919
- /**
2920
- * Address of the rental location.
2921
- */
2922
- address: DropOff.Address;
2923
- /**
2924
- * Location name.
2925
- */
2926
- location_name?: string;
2927
- /**
2928
- * Timestamp for the location.
2929
- */
2930
- time: number;
2931
- }
2932
- interface Insurance {
2933
- /**
2934
- * Amount of the insurance coverage in cents.
2935
- */
2936
- amount: number;
2937
- /**
2938
- * Currency of the insurance amount.
2939
- */
2940
- currency?: string;
2941
- /**
2942
- * Name of the insurance company.
2943
- */
2944
- insurance_company_name?: string;
2945
- /**
2946
- * Type of insurance coverage.
2947
- */
2948
- insurance_type: Insurance.InsuranceType;
2949
- }
2950
- interface Pickup {
2951
- /**
2952
- * Address of the rental location.
2953
- */
2954
- address: Pickup.Address;
2955
- /**
2956
- * Location name.
2957
- */
2958
- location_name?: string;
2959
- /**
2960
- * Timestamp for the location.
2961
- */
2962
- time: number;
2963
- }
2964
- interface Total {
2965
- /**
2966
- * Total amount in cents.
2967
- */
2968
- amount: number;
2969
- /**
2970
- * Currency of the amount.
2971
- */
2972
- currency?: string;
2973
- /**
2974
- * Discount details for the rental.
2975
- */
2976
- discounts?: Total.Discounts;
2977
- /**
2978
- * Additional charges for the rental.
2979
- */
2980
- extra_charges?: Array<Total.ExtraCharge>;
2981
- /**
2982
- * Rate per unit for the rental.
2983
- */
2984
- rate_per_unit?: number;
2985
- /**
2986
- * Unit of measurement for the rate.
2987
- */
2988
- rate_unit?: Total.RateUnit;
2989
- /**
2990
- * Tax breakdown for the rental.
2991
- */
2992
- tax?: Total.Tax;
2993
- }
2994
- interface Vehicle {
2995
- /**
2996
- * Make of the rental vehicle.
2997
- */
2998
- make?: string;
2999
- /**
3000
- * Model of the rental vehicle.
3001
- */
3002
- model?: string;
3003
- /**
3004
- * Odometer reading at the time of rental.
3005
- */
3006
- odometer?: number;
3007
- /**
3008
- * Type of the rental vehicle.
3009
- */
3010
- type?: Vehicle.Type;
3011
- /**
3012
- * Class of the rental vehicle.
3013
- */
3014
- vehicle_class?: Vehicle.VehicleClass;
3015
- /**
3016
- * Vehicle identification number (VIN).
3017
- */
3018
- vehicle_identification_number?: string;
3019
- }
3020
- namespace Distance {
3021
- type Unit = 'kilometers' | 'miles';
3022
- }
3023
- namespace Driver {
3024
- interface DateOfBirth {
3025
- /**
3026
- * Day of birth (1-31).
3027
- */
3028
- day: number;
3029
- /**
3030
- * Month of birth (1-12).
3031
- */
3032
- month: number;
3033
- /**
3034
- * Year of birth (must be greater than 1900).
3035
- */
3036
- year: number;
3037
- }
3038
- }
3039
- namespace DropOff {
3040
- interface Address {
3041
- /**
3042
- * City, district, suburb, town, or village.
3043
- */
3044
- city: string;
3045
- /**
3046
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3047
- */
3048
- country: string;
3049
- /**
3050
- * Address line 1, such as the street, PO Box, or company name.
3051
- */
3052
- line1: string;
3053
- /**
3054
- * Address line 2, such as the apartment, suite, unit, or building.
3055
- */
3056
- line2?: string;
3057
- /**
3058
- * ZIP or postal code.
3059
- */
3060
- postal_code: string;
3061
- /**
3062
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
3063
- */
3064
- state?: string;
3065
- }
3066
- }
3067
- namespace Insurance {
3068
- type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
3069
- }
3070
- namespace Pickup {
3071
- interface Address {
3072
- /**
3073
- * City, district, suburb, town, or village.
3074
- */
3075
- city: string;
3076
- /**
3077
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3078
- */
3079
- country: string;
3080
- /**
3081
- * Address line 1, such as the street, PO Box, or company name.
3082
- */
3083
- line1: string;
3084
- /**
3085
- * Address line 2, such as the apartment, suite, unit, or building.
3086
- */
3087
- line2?: string;
3088
- /**
3089
- * ZIP or postal code.
3090
- */
3091
- postal_code: string;
3092
- /**
3093
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
3094
- */
3095
- state?: string;
3096
- }
3097
- }
3098
- namespace Total {
3099
- interface Discounts {
3100
- /**
3101
- * Corporate client discount code.
3102
- */
3103
- corporate_client_code?: string;
3104
- /**
3105
- * Coupon code applied to the rental.
3106
- */
3107
- coupon?: string;
3108
- /**
3109
- * Maximum number of free miles or kilometers included.
3110
- */
3111
- maximum_free_miles_or_kilometers?: number;
3112
- }
3113
- interface ExtraCharge {
3114
- /**
3115
- * Amount of the extra charge in cents.
3116
- */
3117
- amount: number;
3118
- /**
3119
- * Type of extra charge.
3120
- */
3121
- type: ExtraCharge.Type;
3122
- }
3123
- type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
3124
- interface Tax {
3125
- /**
3126
- * Indicates if the transaction is tax exempt.
3127
- */
3128
- tax_exempt_indicator?: boolean;
3129
- /**
3130
- * Array of tax details.
3131
- */
3132
- taxes?: Array<Tax.Tax>;
3133
- }
3134
- namespace ExtraCharge {
3135
- type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
3136
- }
3137
- namespace Tax {
3138
- interface Tax {
3139
- /**
3140
- * Tax amount.
3141
- */
3142
- amount?: number;
3143
- /**
3144
- * Tax rate applied.
3145
- */
3146
- rate?: number;
3147
- /**
3148
- * Type of tax applied.
3149
- */
3150
- type?: string;
3151
- }
3152
- }
3153
- }
3154
- namespace Vehicle {
3155
- type Type = 'cargo_van' | 'compact' | 'economy' | 'exotic' | 'exotic_suv' | 'fifteen_passenger_van' | 'four_wheel_drive' | 'full_size' | 'intermediate' | 'large_suv' | 'large_truck' | 'luxury' | 'medium_suv' | 'midsize' | 'mini' | 'minivan' | 'miscellaneous' | 'moped' | 'moving_van' | 'premium' | 'regular' | 'small_medium_truck' | 'small_suv' | 'special' | 'standard' | 'stretch' | 'subcompact' | 'taxi' | 'twelve_foot_truck' | 'twelve_passenger_van' | 'twenty_foot_truck' | 'twenty_four_foot_truck' | 'twenty_six_foot_truck' | 'unique';
3156
- type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
3157
- }
3158
- }
3159
- namespace EventDetails {
3160
- interface Affiliate {
3161
- /**
3162
- * The name of the affiliate that originated the purchase.
3163
- */
3164
- name: string;
3165
- }
3166
- interface Delivery {
3167
- /**
3168
- * The delivery method for the payment
3169
- */
3170
- mode?: Delivery.Mode;
3171
- /**
3172
- * Details of the recipient.
3173
- */
3174
- recipient?: Delivery.Recipient;
3175
- }
3176
- namespace Delivery {
3177
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
3178
- interface Recipient {
3179
- /**
3180
- * The email of the recipient the ticket is delivered to.
3181
- */
3182
- email?: string;
3183
- /**
3184
- * The name of the recipient the ticket is delivered to.
3185
- */
3186
- name?: string;
3187
- /**
3188
- * The phone number of the recipient the ticket is delivered to.
3189
- */
3190
- phone?: string;
3191
- }
3192
- }
3193
- }
3194
- namespace Flight {
3195
- interface Affiliate {
3196
- /**
3197
- * The name of the affiliate that originated the purchase.
3198
- */
3199
- name: string;
3200
- }
3201
- interface Delivery {
3202
- /**
3203
- * The delivery method for the payment
3204
- */
3205
- mode?: Delivery.Mode;
3206
- /**
3207
- * Details of the recipient.
3208
- */
3209
- recipient?: Delivery.Recipient;
3210
- }
3211
- interface Passenger {
3212
- /**
3213
- * Full name of the person or entity on the flight reservation.
3214
- */
3215
- name: string;
3216
- }
3217
- interface Segment {
3218
- /**
3219
- * The flight segment amount.
3220
- */
3221
- amount?: number;
3222
- /**
3223
- * The International Air Transport Association (IATA) airport code for the arrival airport.
3224
- */
3225
- arrival_airport?: string;
3226
- /**
3227
- * The arrival time for the flight segment. Measured in seconds since the Unix epoch.
3228
- */
3229
- arrives_at?: number;
3230
- /**
3231
- * The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
3232
- */
3233
- carrier?: string;
3234
- /**
3235
- * The departure time for the flight segment. Measured in seconds since the Unix epoch.
3236
- */
3237
- departs_at: number;
3238
- /**
3239
- * The International Air Transport Association (IATA) airport code for the departure airport.
3240
- */
3241
- departure_airport?: string;
3242
- /**
3243
- * The flight number associated with the segment
3244
- */
3245
- flight_number?: string;
3246
- /**
3247
- * The fare class for the segment.
3248
- */
3249
- service_class?: Segment.ServiceClass;
3250
- }
3251
- namespace Delivery {
3252
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
3253
- interface Recipient {
3254
- /**
3255
- * The email of the recipient the ticket is delivered to.
3256
- */
3257
- email?: string;
3258
- /**
3259
- * The name of the recipient the ticket is delivered to.
3260
- */
3261
- name?: string;
3262
- /**
3263
- * The phone number of the recipient the ticket is delivered to.
3264
- */
3265
- phone?: string;
3266
- }
3267
- }
3268
- namespace Segment {
3269
- type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
3270
- }
3271
- }
3272
- namespace FlightDatum {
3273
- interface Affiliate {
3274
- /**
3275
- * Affiliate partner code.
3276
- */
3277
- code?: string;
3278
- /**
3279
- * Name of affiliate partner.
3280
- */
3281
- name?: string;
3282
- /**
3283
- * Code provided by the company to a travel agent authorizing ticket issuance.
3284
- */
3285
- travel_authorization_code?: string;
3286
- }
3287
- interface Insurance {
3288
- /**
3289
- * Insurance cost.
3290
- */
3291
- amount: number;
3292
- /**
3293
- * Insurance currency.
3294
- */
3295
- currency?: string;
3296
- /**
3297
- * Insurance company name.
3298
- */
3299
- insurance_company_name?: string;
3300
- /**
3301
- * Type of insurance.
3302
- */
3303
- insurance_type: Insurance.InsuranceType;
3304
- }
3305
- interface Passenger {
3306
- /**
3307
- * Passenger's full name.
3308
- */
3309
- name: string;
3310
- }
3311
- interface Segment {
3312
- /**
3313
- * Segment fare amount.
3314
- */
3315
- amount?: number;
3316
- /**
3317
- * Arrival details.
3318
- */
3319
- arrival: Segment.Arrival;
3320
- /**
3321
- * Airline carrier code.
3322
- */
3323
- carrier_code: string;
3324
- /**
3325
- * Carrier name.
3326
- */
3327
- carrier_name?: string;
3328
- /**
3329
- * Segment currency.
3330
- */
3331
- currency?: string;
3332
- /**
3333
- * Departure details.
3334
- */
3335
- departure: Segment.Departure;
3336
- /**
3337
- * Exchange ticket number.
3338
- */
3339
- exchange_ticket_number?: string;
3340
- /**
3341
- * Fare basis code.
3342
- */
3343
- fare_basis_code?: string;
3344
- /**
3345
- * Additional fees.
3346
- */
3347
- fees?: number;
3348
- /**
3349
- * Flight number.
3350
- */
3351
- flight_number?: string;
3352
- /**
3353
- * Stopover indicator.
3354
- */
3355
- is_stop_over_indicator?: boolean;
3356
- /**
3357
- * Refundable ticket indicator.
3358
- */
3359
- refundable?: boolean;
3360
- /**
3361
- * Class of service.
3362
- */
3363
- service_class: Segment.ServiceClass;
3364
- /**
3365
- * Tax amount for segment.
3366
- */
3367
- tax_amount?: number;
3368
- /**
3369
- * Ticket number.
3370
- */
3371
- ticket_number?: string;
3372
- }
3373
- interface Total {
3374
- /**
3375
- * Total flight amount.
3376
- */
3377
- amount: number;
3378
- /**
3379
- * Reason for credit.
3380
- */
3381
- credit_reason?: Total.CreditReason;
3382
- /**
3383
- * Total currency.
3384
- */
3385
- currency?: string;
3386
- /**
3387
- * Discount details.
3388
- */
3389
- discounts?: Total.Discounts;
3390
- /**
3391
- * Additional charges.
3392
- */
3393
- extra_charges?: Array<Total.ExtraCharge>;
3394
- /**
3395
- * Tax breakdown.
3396
- */
3397
- tax?: Total.Tax;
3398
- }
3399
- type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
3400
- namespace Insurance {
3401
- type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
3402
- }
3403
- namespace Segment {
3404
- interface Arrival {
3405
- /**
3406
- * Arrival airport IATA code.
3407
- */
3408
- airport: string;
3409
- /**
3410
- * Arrival date/time.
3411
- */
3412
- arrives_at?: number;
3413
- /**
3414
- * Arrival city.
3415
- */
3416
- city?: string;
3417
- /**
3418
- * Arrival country.
3419
- */
3420
- country?: string;
3421
- }
3422
- interface Departure {
3423
- /**
3424
- * Departure airport IATA code.
3425
- */
3426
- airport: string;
3427
- /**
3428
- * Departure city.
3429
- */
3430
- city?: string;
3431
- /**
3432
- * Departure country.
3433
- */
3434
- country?: string;
3435
- /**
3436
- * Departure date/time.
3437
- */
3438
- departs_at: number;
3439
- }
3440
- type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
3441
- }
3442
- namespace Total {
3443
- type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
3444
- interface Discounts {
3445
- /**
3446
- * Corporate client discount code.
3447
- */
3448
- corporate_client_code?: string;
3449
- }
3450
- interface ExtraCharge {
3451
- /**
3452
- * Amount of additional charges.
3453
- */
3454
- amount?: number;
3455
- /**
3456
- * Type of additional charges.
3457
- */
3458
- type?: ExtraCharge.Type;
3459
- }
3460
- interface Tax {
3461
- /**
3462
- * Array of tax details.
3463
- */
3464
- taxes?: Array<Tax.Tax>;
3465
- }
3466
- namespace ExtraCharge {
3467
- type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
3468
- }
3469
- namespace Tax {
3470
- interface Tax {
3471
- /**
3472
- * Tax amount.
3473
- */
3474
- amount?: number;
3475
- /**
3476
- * Tax rate.
3477
- */
3478
- rate?: number;
3479
- /**
3480
- * Type of tax.
3481
- */
3482
- type?: string;
3483
- }
3484
- }
3485
- }
3486
- }
3487
- namespace Lodging {
3488
- interface Affiliate {
3489
- /**
3490
- * The name of the affiliate that originated the purchase.
3491
- */
3492
- name: string;
3493
- }
3494
- type Category = 'hotel' | 'vacation_rental';
3495
- interface Delivery {
3496
- /**
3497
- * The delivery method for the payment
3498
- */
3499
- mode?: Delivery.Mode;
3500
- /**
3501
- * Details of the recipient.
3502
- */
3503
- recipient?: Delivery.Recipient;
3504
- }
3505
- type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
3506
- interface Passenger {
3507
- /**
3508
- * Full name of the person or entity on the lodging reservation.
3509
- */
3510
- name: string;
3511
- }
3512
- namespace Delivery {
3513
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
3514
- interface Recipient {
3515
- /**
3516
- * The email of the recipient the ticket is delivered to.
3517
- */
3518
- email?: string;
3519
- /**
3520
- * The name of the recipient the ticket is delivered to.
3521
- */
3522
- name?: string;
3523
- /**
3524
- * The phone number of the recipient the ticket is delivered to.
3525
- */
3526
- phone?: string;
3527
- }
3528
- }
3529
- }
3530
- namespace LodgingDatum {
3531
- interface Accommodation {
3532
- /**
3533
- * Type of accommodation.
3534
- */
3535
- accommodation_type?: Accommodation.AccommodationType;
3536
- /**
3537
- * Bed type.
3538
- */
3539
- bed_type?: string;
3540
- /**
3541
- * Daily accommodation rate in cents.
3542
- */
3543
- daily_rate_amount?: number;
3544
- /**
3545
- * Number of nights.
3546
- */
3547
- nights?: number;
3548
- /**
3549
- * Number of rooms, cabanas, apartments, and so on.
3550
- */
3551
- number_of_rooms?: number;
3552
- /**
3553
- * Rate type.
3554
- */
3555
- rate_type?: string;
3556
- /**
3557
- * Whether smoking is allowed.
3558
- */
3559
- smoking_indicator?: boolean;
3560
- }
3561
- interface Affiliate {
3562
- /**
3563
- * Affiliate partner code.
3564
- */
3565
- code?: string;
3566
- /**
3567
- * Affiliate partner name.
3568
- */
3569
- name?: string;
3570
- }
3571
- interface Guest {
3572
- /**
3573
- * Guest's full name.
3574
- */
3575
- name: string;
3576
- }
3577
- interface Host {
3578
- /**
3579
- * Address of the host.
3580
- */
3581
- address?: Host.Address;
3582
- /**
3583
- * Host's country of domicile.
3584
- */
3585
- country_of_domicile?: string;
3586
- /**
3587
- * Reference number for the host.
3588
- */
3589
- host_reference?: string;
3590
- /**
3591
- * Type of host.
3592
- */
3593
- host_type?: Host.HostType;
3594
- /**
3595
- * Name of the lodging property or host.
3596
- */
3597
- name?: string;
3598
- /**
3599
- * Total number of reservations for the host.
3600
- */
3601
- number_of_reservations?: number;
3602
- /**
3603
- * Property phone number.
3604
- */
3605
- property_phone_number?: string;
3606
- /**
3607
- * Host's registration date.
3608
- */
3609
- registered_at?: number;
3610
- }
3611
- interface Insurance {
3612
- /**
3613
- * Price of the insurance coverage in cents.
3614
- */
3615
- amount: number;
3616
- /**
3617
- * Currency of the insurance amount.
3618
- */
3619
- currency?: string;
3620
- /**
3621
- * Name of the insurance company.
3622
- */
3623
- insurance_company_name?: string;
3624
- /**
3625
- * Type of insurance coverage.
3626
- */
3627
- insurance_type: Insurance.InsuranceType;
3628
- }
3629
- interface Total {
3630
- /**
3631
- * Total price of the lodging reservation in cents.
3632
- */
3633
- amount: number;
3634
- /**
3635
- * Cash advances in cents.
3636
- */
3637
- cash_advances?: number;
3638
- /**
3639
- * Currency of the total amount.
3640
- */
3641
- currency?: string;
3642
- /**
3643
- * Discount details for the lodging.
3644
- */
3645
- discounts?: Total.Discounts;
3646
- /**
3647
- * Additional charges for the lodging.
3648
- */
3649
- extra_charges?: Array<Total.ExtraCharge>;
3650
- /**
3651
- * Prepaid amount in cents.
3652
- */
3653
- prepaid_amount?: number;
3654
- /**
3655
- * Tax breakdown for the lodging reservation.
3656
- */
3657
- tax?: Total.Tax;
3658
- }
3659
- namespace Accommodation {
3660
- type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
3661
- }
3662
- namespace Host {
3663
- interface Address {
3664
- /**
3665
- * City, district, suburb, town, or village.
3666
- */
3667
- city: string;
3668
- /**
3669
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3670
- */
3671
- country: string;
3672
- /**
3673
- * Address line 1, such as the street, PO Box, or company name.
3674
- */
3675
- line1: string;
3676
- /**
3677
- * Address line 2, such as the apartment, suite, unit, or building.
3678
- */
3679
- line2?: string;
3680
- /**
3681
- * ZIP or postal code.
3682
- */
3683
- postal_code: string;
3684
- /**
3685
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
3686
- */
3687
- state?: string;
3688
- }
3689
- type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
3690
- }
3691
- namespace Insurance {
3692
- type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
3693
- }
3694
- namespace Total {
3695
- interface Discounts {
3696
- /**
3697
- * Corporate client discount code.
3698
- */
3699
- corporate_client_code?: string;
3700
- /**
3701
- * Coupon code.
3702
- */
3703
- coupon?: string;
3704
- }
3705
- interface ExtraCharge {
3706
- /**
3707
- * Amount of the extra charge in cents.
3708
- */
3709
- amount?: number;
3710
- /**
3711
- * Type of extra charge.
3712
- */
3713
- type?: ExtraCharge.Type;
3714
- }
3715
- interface Tax {
3716
- /**
3717
- * Indicates whether the transaction is tax exempt.
3718
- */
3719
- tax_exempt_indicator?: boolean;
3720
- /**
3721
- * Tax details.
3722
- */
3723
- taxes?: Array<Tax.Tax>;
3724
- }
3725
- namespace ExtraCharge {
3726
- type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
3727
- }
3728
- namespace Tax {
3729
- interface Tax {
3730
- /**
3731
- * Tax amount in cents.
3732
- */
3733
- amount?: number;
3734
- /**
3735
- * Tax rate.
3736
- */
3737
- rate?: number;
3738
- /**
3739
- * Type of tax applied.
3740
- */
3741
- type?: string;
3742
- }
3743
- }
3744
- }
3745
- }
3746
- namespace Subscription {
3747
- interface Affiliate {
3748
- /**
3749
- * The name of the affiliate that originated the purchase.
3750
- */
3751
- name: string;
3752
- }
3753
- interface BillingInterval {
3754
- /**
3755
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3756
- */
3757
- count: number;
3758
- /**
3759
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3760
- */
3761
- interval: BillingInterval.Interval;
3762
- }
3763
- namespace BillingInterval {
3764
- type Interval = 'day' | 'month' | 'week' | 'year';
3765
- }
3766
- }
3767
- }
3768
- }
3769
- export interface ChargeListParams extends PaginationParams {
3770
- /**
3771
- * Only return charges that were created during the given date interval.
3772
- */
3773
- created?: RangeQueryParam | number;
3774
- /**
3775
- * Only return charges for the customer specified by this customer ID.
3776
- */
3777
- customer?: string;
3778
- /**
3779
- * Specifies which fields in the response should be expanded.
3780
- */
3781
- expand?: Array<string>;
3782
- /**
3783
- * Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
3784
- */
3785
- payment_intent?: string;
3786
- /**
3787
- * Only return charges for this transfer group, limited to 100.
3788
- */
3789
- transfer_group?: string;
3790
- }
3791
- export interface ChargeCaptureParams {
3792
- /**
3793
- * The amount to capture, which must be less than or equal to the original amount.
3794
- */
3795
- amount?: number;
3796
- /**
3797
- * An application fee to add on to this charge.
3798
- */
3799
- application_fee?: number;
3800
- /**
3801
- * An application fee amount to add on to this charge, which must be less than or equal to the original amount.
3802
- */
3803
- application_fee_amount?: number;
3804
- /**
3805
- * Specifies which fields in the response should be expanded.
3806
- */
3807
- expand?: Array<string>;
3808
- /**
3809
- * Provides industry-specific information about the charge.
3810
- */
3811
- payment_details?: ChargeCaptureParams.PaymentDetails;
3812
- /**
3813
- * The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
3814
- */
3815
- receipt_email?: string;
3816
- /**
3817
- * For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
3818
- *
3819
- * For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
3820
- */
3821
- statement_descriptor?: string;
3822
- /**
3823
- * Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
3824
- */
3825
- statement_descriptor_suffix?: string;
3826
- /**
3827
- * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
3828
- */
3829
- transfer_data?: ChargeCaptureParams.TransferData;
3830
- /**
3831
- * A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
3832
- */
3833
- transfer_group?: string;
3834
- }
3835
- export declare namespace ChargeCaptureParams {
3836
- interface PaymentDetails {
3837
- /**
3838
- * Car rental details for this PaymentIntent.
3839
- */
3840
- car_rental?: PaymentDetails.CarRental;
3841
- /**
3842
- * Car rental data for this PaymentIntent.
3843
- */
3844
- car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
3845
- /**
3846
- * A unique value to identify the customer. This field is available only for card payments.
3847
- *
3848
- * This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
3849
- */
3850
- customer_reference?: Emptyable<string>;
3851
- /**
3852
- * Event details for this PaymentIntent
3853
- */
3854
- event_details?: PaymentDetails.EventDetails;
3855
- /**
3856
- * Flight reservation details for this PaymentIntent
3857
- */
3858
- flight?: PaymentDetails.Flight;
3859
- /**
3860
- * Flight data for this PaymentIntent.
3861
- */
3862
- flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
3863
- /**
3864
- * Lodging reservation details for this PaymentIntent
3865
- */
3866
- lodging?: PaymentDetails.Lodging;
3867
- /**
3868
- * Lodging data for this PaymentIntent.
3869
- */
3870
- lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
3871
- /**
3872
- * A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
3873
- *
3874
- * For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
3875
- */
3876
- order_reference?: Emptyable<string>;
3877
- /**
3878
- * Subscription details for this PaymentIntent
3879
- */
3880
- subscription?: PaymentDetails.Subscription;
3881
- }
3882
- interface TransferData {
3883
- /**
3884
- * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
3885
- */
3886
- amount?: number;
3887
- }
3888
- namespace PaymentDetails {
3889
- interface CarRental {
3890
- /**
3891
- * Affiliate details for this purchase.
3892
- */
3893
- affiliate?: CarRental.Affiliate;
3894
- /**
3895
- * The booking number associated with the car rental.
3896
- */
3897
- booking_number: string;
3898
- /**
3899
- * Class code of the car.
3900
- */
3901
- car_class_code?: string;
3902
- /**
3903
- * Make of the car.
3904
- */
3905
- car_make?: string;
3906
- /**
3907
- * Model of the car.
3908
- */
3909
- car_model?: string;
3910
- /**
3911
- * The name of the rental car company.
3912
- */
3913
- company?: string;
3914
- /**
3915
- * The customer service phone number of the car rental company.
3916
- */
3917
- customer_service_phone_number?: string;
3918
- /**
3919
- * Number of days the car is being rented.
3920
- */
3921
- days_rented: number;
3922
- /**
3923
- * Delivery details for this purchase.
3924
- */
3925
- delivery?: CarRental.Delivery;
3926
- /**
3927
- * The details of the distance traveled during the rental period.
3928
- */
3929
- distance?: CarRental.Distance;
3930
- /**
3931
- * The details of the passengers in the travel reservation
3932
- */
3933
- drivers?: Array<CarRental.Driver>;
3934
- /**
3935
- * List of additional charges being billed.
3936
- */
3937
- extra_charges?: Array<CarRental.ExtraCharge>;
3938
- /**
3939
- * Indicates if the customer did not keep nor cancel their booking.
3940
- */
3941
- no_show?: boolean;
3942
- /**
3943
- * Car pick-up address.
3944
- */
3945
- pickup_address?: AddressParam;
3946
- /**
3947
- * Car pick-up time. Measured in seconds since the Unix epoch.
3948
- */
3949
- pickup_at: number;
3950
- /**
3951
- * Name of the pickup location.
3952
- */
3953
- pickup_location_name?: string;
3954
- /**
3955
- * Rental rate.
3956
- */
3957
- rate_amount?: number;
3958
- /**
3959
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
3960
- */
3961
- rate_interval?: CarRental.RateInterval;
3962
- /**
3963
- * The name of the person or entity renting the car.
3964
- */
3965
- renter_name?: string;
3966
- /**
3967
- * Car return address.
3968
- */
3969
- return_address?: AddressParam;
3970
- /**
3971
- * Car return time. Measured in seconds since the Unix epoch.
3972
- */
3973
- return_at: number;
3974
- /**
3975
- * Name of the return location.
3976
- */
3977
- return_location_name?: string;
3978
- /**
3979
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
3980
- */
3981
- tax_exempt?: boolean;
3982
- /**
3983
- * The vehicle identification number.
3984
- */
3985
- vehicle_identification_number?: string;
3986
- }
3987
- interface CarRentalDatum {
3988
- /**
3989
- * Affiliate (such as travel agency) details for the rental.
3990
- */
3991
- affiliate?: CarRentalDatum.Affiliate;
3992
- /**
3993
- * Booking confirmation number for the car rental.
3994
- */
3995
- booking_number?: string;
3996
- /**
3997
- * Name of the car rental company.
3998
- */
3999
- carrier_name?: string;
4000
- /**
4001
- * Customer service phone number for the car rental company.
4002
- */
4003
- customer_service_phone_number?: string;
4004
- /**
4005
- * Number of days the car is being rented.
4006
- */
4007
- days_rented?: number;
4008
- /**
4009
- * Distance details for the rental.
4010
- */
4011
- distance?: CarRentalDatum.Distance;
4012
- /**
4013
- * List of drivers for the rental.
4014
- */
4015
- drivers?: Array<CarRentalDatum.Driver>;
4016
- /**
4017
- * Drop-off location details.
4018
- */
4019
- drop_off: CarRentalDatum.DropOff;
4020
- /**
4021
- * Insurance details for the rental.
4022
- */
4023
- insurances?: Array<CarRentalDatum.Insurance>;
4024
- /**
4025
- * Indicates if the customer was a no-show.
4026
- */
4027
- no_show_indicator?: boolean;
4028
- /**
4029
- * Pickup location details.
4030
- */
4031
- pickup: CarRentalDatum.Pickup;
4032
- /**
4033
- * Name of the person renting the vehicle.
4034
- */
4035
- renter_name?: string;
4036
- /**
4037
- * Total cost breakdown for the rental.
4038
- */
4039
- total: CarRentalDatum.Total;
4040
- /**
4041
- * Vehicle details for the rental.
4042
- */
4043
- vehicle?: CarRentalDatum.Vehicle;
4044
- }
4045
- interface EventDetails {
4046
- /**
4047
- * Indicates if the tickets are digitally checked when entering the venue.
4048
- */
4049
- access_controlled_venue?: boolean;
4050
- /**
4051
- * The event location's address.
4052
- */
4053
- address?: AddressParam;
4054
- /**
4055
- * Affiliate details for this purchase.
4056
- */
4057
- affiliate?: EventDetails.Affiliate;
4058
- /**
4059
- * The name of the company
4060
- */
4061
- company?: string;
4062
- /**
4063
- * Delivery details for this purchase.
4064
- */
4065
- delivery?: EventDetails.Delivery;
4066
- /**
4067
- * Event end time. Measured in seconds since the Unix epoch.
4068
- */
4069
- ends_at?: number;
4070
- /**
4071
- * Type of the event entertainment (concert, sports event etc)
4072
- */
4073
- genre?: string;
4074
- /**
4075
- * The name of the event.
4076
- */
4077
- name: string;
4078
- /**
4079
- * Event start time. Measured in seconds since the Unix epoch.
4080
- */
4081
- starts_at?: number;
4082
- }
4083
- interface Flight {
4084
- /**
4085
- * Affiliate details for this purchase.
4086
- */
4087
- affiliate?: Flight.Affiliate;
4088
- /**
4089
- * The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
4090
- */
4091
- agency_number?: string;
4092
- /**
4093
- * The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
4094
- */
4095
- carrier?: string;
4096
- /**
4097
- * Delivery details for this purchase.
4098
- */
4099
- delivery?: Flight.Delivery;
4100
- /**
4101
- * The name of the person or entity on the reservation.
4102
- */
4103
- passenger_name?: string;
4104
- /**
4105
- * The details of the passengers in the travel reservation.
4106
- */
4107
- passengers?: Array<Flight.Passenger>;
4108
- /**
4109
- * The individual flight segments associated with the trip.
4110
- */
4111
- segments: Array<Flight.Segment>;
4112
- /**
4113
- * The ticket number associated with the travel reservation.
4114
- */
4115
- ticket_number?: string;
4116
- }
4117
- interface FlightDatum {
4118
- /**
4119
- * Affiliate details if applicable.
4120
- */
4121
- affiliate?: FlightDatum.Affiliate;
4122
- /**
4123
- * Reservation reference.
4124
- */
4125
- booking_number?: string;
4126
- /**
4127
- * Computerized reservation system used to make the reservation and purchase the ticket.
4128
- */
4129
- computerized_reservation_system?: string;
4130
- /**
4131
- * Ticket restrictions.
4132
- */
4133
- endorsements_and_restrictions?: string;
4134
- /**
4135
- * List of insurances.
4136
- */
4137
- insurances?: Array<FlightDatum.Insurance>;
4138
- /**
4139
- * List of passengers.
4140
- */
4141
- passengers?: Array<FlightDatum.Passenger>;
4142
- /**
4143
- * List of flight segments.
4144
- */
4145
- segments: Array<FlightDatum.Segment>;
4146
- /**
4147
- * Electronic ticket indicator.
4148
- */
4149
- ticket_electronically_issued_indicator?: boolean;
4150
- /**
4151
- * Total cost breakdown.
4152
- */
4153
- total: FlightDatum.Total;
4154
- /**
4155
- * Type of flight transaction.
4156
- */
4157
- transaction_type?: FlightDatum.TransactionType;
4158
- }
4159
- interface Lodging {
4160
- /**
4161
- * The lodging location's address.
4162
- */
4163
- address?: AddressParam;
4164
- /**
4165
- * The number of adults on the booking
4166
- */
4167
- adults?: number;
4168
- /**
4169
- * Affiliate details for this purchase.
4170
- */
4171
- affiliate?: Lodging.Affiliate;
4172
- /**
4173
- * The booking number associated with the lodging reservation.
4174
- */
4175
- booking_number?: string;
4176
- /**
4177
- * The lodging category
4178
- */
4179
- category?: Lodging.Category;
4180
- /**
4181
- * Lodging check-in time. Measured in seconds since the Unix epoch.
4182
- */
4183
- checkin_at: number;
4184
- /**
4185
- * Lodging check-out time. Measured in seconds since the Unix epoch.
4186
- */
4187
- checkout_at: number;
4188
- /**
4189
- * The customer service phone number of the lodging company.
4190
- */
4191
- customer_service_phone_number?: string;
4192
- /**
4193
- * The daily lodging room rate.
4194
- */
4195
- daily_room_rate_amount?: number;
4196
- /**
4197
- * Delivery details for this purchase.
4198
- */
4199
- delivery?: Lodging.Delivery;
4200
- /**
4201
- * List of additional charges being billed.
4202
- */
4203
- extra_charges?: Array<Lodging.ExtraCharge>;
4204
- /**
4205
- * Indicates whether the lodging location is compliant with the Fire Safety Act.
4206
- */
4207
- fire_safety_act_compliance?: boolean;
4208
- /**
4209
- * The name of the lodging location.
4210
- */
4211
- name?: string;
4212
- /**
4213
- * Indicates if the customer did not keep their booking while failing to cancel the reservation.
4214
- */
4215
- no_show?: boolean;
4216
- /**
4217
- * The number of rooms on the booking
4218
- */
4219
- number_of_rooms?: number;
4220
- /**
4221
- * The details of the passengers in the travel reservation
4222
- */
4223
- passengers?: Array<Lodging.Passenger>;
4224
- /**
4225
- * The phone number of the lodging location.
4226
- */
4227
- property_phone_number?: string;
4228
- /**
4229
- * The room class for this purchase.
4230
- */
4231
- room_class?: string;
4232
- /**
4233
- * The number of room nights
4234
- */
4235
- room_nights?: number;
4236
- /**
4237
- * The total tax amount associating with the room reservation.
4238
- */
4239
- total_room_tax_amount?: number;
4240
- /**
4241
- * The total tax amount
4242
- */
4243
- total_tax_amount?: number;
4244
- }
4245
- interface LodgingDatum {
4246
- /**
4247
- * Accommodation details for the lodging.
4248
- */
4249
- accommodation?: LodgingDatum.Accommodation;
4250
- /**
4251
- * Affiliate details if applicable.
4252
- */
4253
- affiliate?: LodgingDatum.Affiliate;
4254
- /**
4255
- * Booking confirmation number for the lodging.
4256
- */
4257
- booking_number?: string;
4258
- /**
4259
- * Check-in date.
4260
- */
4261
- checkin_at: number;
4262
- /**
4263
- * Check-out date.
4264
- */
4265
- checkout_at: number;
4266
- /**
4267
- * Customer service phone number for the lodging company.
4268
- */
4269
- customer_service_phone_number?: string;
4270
- /**
4271
- * Whether the lodging is compliant with any hotel fire safety regulations.
4272
- */
4273
- fire_safety_act_compliance_indicator?: boolean;
4274
- /**
4275
- * List of guests for the lodging.
4276
- */
4277
- guests?: Array<LodgingDatum.Guest>;
4278
- /**
4279
- * Host details for the lodging.
4280
- */
4281
- host?: LodgingDatum.Host;
4282
- /**
4283
- * List of insurances for the lodging.
4284
- */
4285
- insurances?: Array<LodgingDatum.Insurance>;
4286
- /**
4287
- * Whether the renter is a no-show.
4288
- */
4289
- no_show_indicator?: boolean;
4290
- /**
4291
- * Renter ID number for the lodging.
4292
- */
4293
- renter_id_number?: string;
4294
- /**
4295
- * Renter name for the lodging.
4296
- */
4297
- renter_name?: string;
4298
- /**
4299
- * Total details for the lodging.
4300
- */
4301
- total: LodgingDatum.Total;
4302
- }
4303
- interface Subscription {
4304
- /**
4305
- * Affiliate details for this purchase.
4306
- */
4307
- affiliate?: Subscription.Affiliate;
4308
- /**
4309
- * Info whether the subscription will be auto renewed upon expiry.
4310
- */
4311
- auto_renewal?: boolean;
4312
- /**
4313
- * Subscription billing details for this purchase.
4314
- */
4315
- billing_interval?: Subscription.BillingInterval;
4316
- /**
4317
- * Subscription end time. Measured in seconds since the Unix epoch.
4318
- */
4319
- ends_at?: number;
4320
- /**
4321
- * Name of the product on subscription. e.g. Apple Music Subscription
4322
- */
4323
- name: string;
4324
- /**
4325
- * Subscription start time. Measured in seconds since the Unix epoch.
4326
- */
4327
- starts_at?: number;
4328
- }
4329
- namespace CarRental {
4330
- interface Affiliate {
4331
- /**
4332
- * The name of the affiliate that originated the purchase.
4333
- */
4334
- name: string;
4335
- }
4336
- interface Delivery {
4337
- /**
4338
- * The delivery method for the payment
4339
- */
4340
- mode?: Delivery.Mode;
4341
- /**
4342
- * Details of the recipient.
4343
- */
4344
- recipient?: Delivery.Recipient;
4345
- }
4346
- interface Distance {
4347
- /**
4348
- * Distance traveled.
4349
- */
4350
- amount?: number;
4351
- /**
4352
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
4353
- */
4354
- unit?: Distance.Unit;
4355
- }
4356
- interface Driver {
4357
- /**
4358
- * Driver's identification number.
4359
- */
4360
- driver_identification_number?: string;
4361
- /**
4362
- * Driver's tax number.
4363
- */
4364
- driver_tax_number?: string;
4365
- /**
4366
- * Full name of the person or entity on the car reservation.
4367
- */
4368
- name: string;
4369
- }
4370
- type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
4371
- type RateInterval = 'day' | 'month' | 'week';
4372
- namespace Delivery {
4373
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
4374
- interface Recipient {
4375
- /**
4376
- * The email of the recipient the ticket is delivered to.
4377
- */
4378
- email?: string;
4379
- /**
4380
- * The name of the recipient the ticket is delivered to.
4381
- */
4382
- name?: string;
4383
- /**
4384
- * The phone number of the recipient the ticket is delivered to.
4385
- */
4386
- phone?: string;
4387
- }
4388
- }
4389
- namespace Distance {
4390
- type Unit = 'kilometers' | 'miles';
4391
- }
4392
- }
4393
- namespace CarRentalDatum {
4394
- interface Affiliate {
4395
- /**
4396
- * Affiliate partner code.
4397
- */
4398
- code?: string;
4399
- /**
4400
- * Name of affiliate partner.
4401
- */
4402
- name?: string;
4403
- }
4404
- interface Distance {
4405
- /**
4406
- * Distance traveled.
4407
- */
4408
- amount: number;
4409
- /**
4410
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
4411
- */
4412
- unit: Distance.Unit;
4413
- }
4414
- interface Driver {
4415
- /**
4416
- * Driver's date of birth.
4417
- */
4418
- date_of_birth?: Driver.DateOfBirth;
4419
- /**
4420
- * Driver's identification number.
4421
- */
4422
- driver_identification_number?: string;
4423
- /**
4424
- * Driver's tax number.
4425
- */
4426
- driver_tax_number?: string;
4427
- /**
4428
- * Driver's full name.
4429
- */
4430
- name: string;
4431
- }
4432
- interface DropOff {
4433
- /**
4434
- * Address of the rental location.
4435
- */
4436
- address: DropOff.Address;
4437
- /**
4438
- * Location name.
4439
- */
4440
- location_name?: string;
4441
- /**
4442
- * Timestamp for the location.
4443
- */
4444
- time: number;
4445
- }
4446
- interface Insurance {
4447
- /**
4448
- * Amount of the insurance coverage in cents.
4449
- */
4450
- amount: number;
4451
- /**
4452
- * Currency of the insurance amount.
4453
- */
4454
- currency?: string;
4455
- /**
4456
- * Name of the insurance company.
4457
- */
4458
- insurance_company_name?: string;
4459
- /**
4460
- * Type of insurance coverage.
4461
- */
4462
- insurance_type: Insurance.InsuranceType;
4463
- }
4464
- interface Pickup {
4465
- /**
4466
- * Address of the rental location.
4467
- */
4468
- address: Pickup.Address;
4469
- /**
4470
- * Location name.
4471
- */
4472
- location_name?: string;
4473
- /**
4474
- * Timestamp for the location.
4475
- */
4476
- time: number;
4477
- }
4478
- interface Total {
4479
- /**
4480
- * Total amount in cents.
4481
- */
4482
- amount: number;
4483
- /**
4484
- * Currency of the amount.
4485
- */
4486
- currency?: string;
4487
- /**
4488
- * Discount details for the rental.
4489
- */
4490
- discounts?: Total.Discounts;
4491
- /**
4492
- * Additional charges for the rental.
4493
- */
4494
- extra_charges?: Array<Total.ExtraCharge>;
4495
- /**
4496
- * Rate per unit for the rental.
4497
- */
4498
- rate_per_unit?: number;
4499
- /**
4500
- * Unit of measurement for the rate.
4501
- */
4502
- rate_unit?: Total.RateUnit;
4503
- /**
4504
- * Tax breakdown for the rental.
4505
- */
4506
- tax?: Total.Tax;
4507
- }
4508
- interface Vehicle {
4509
- /**
4510
- * Make of the rental vehicle.
4511
- */
4512
- make?: string;
4513
- /**
4514
- * Model of the rental vehicle.
4515
- */
4516
- model?: string;
4517
- /**
4518
- * Odometer reading at the time of rental.
4519
- */
4520
- odometer?: number;
4521
- /**
4522
- * Type of the rental vehicle.
4523
- */
4524
- type?: Vehicle.Type;
4525
- /**
4526
- * Class of the rental vehicle.
4527
- */
4528
- vehicle_class?: Vehicle.VehicleClass;
4529
- /**
4530
- * Vehicle identification number (VIN).
4531
- */
4532
- vehicle_identification_number?: string;
4533
- }
4534
- namespace Distance {
4535
- type Unit = 'kilometers' | 'miles';
4536
- }
4537
- namespace Driver {
4538
- interface DateOfBirth {
4539
- /**
4540
- * Day of birth (1-31).
4541
- */
4542
- day: number;
4543
- /**
4544
- * Month of birth (1-12).
4545
- */
4546
- month: number;
4547
- /**
4548
- * Year of birth (must be greater than 1900).
4549
- */
4550
- year: number;
4551
- }
4552
- }
4553
- namespace DropOff {
4554
- interface Address {
4555
- /**
4556
- * City, district, suburb, town, or village.
4557
- */
4558
- city: string;
4559
- /**
4560
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4561
- */
4562
- country: string;
4563
- /**
4564
- * Address line 1, such as the street, PO Box, or company name.
4565
- */
4566
- line1: string;
4567
- /**
4568
- * Address line 2, such as the apartment, suite, unit, or building.
4569
- */
4570
- line2?: string;
4571
- /**
4572
- * ZIP or postal code.
4573
- */
4574
- postal_code: string;
4575
- /**
4576
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
4577
- */
4578
- state?: string;
4579
- }
4580
- }
4581
- namespace Insurance {
4582
- type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
4583
- }
4584
- namespace Pickup {
4585
- interface Address {
4586
- /**
4587
- * City, district, suburb, town, or village.
4588
- */
4589
- city: string;
4590
- /**
4591
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4592
- */
4593
- country: string;
4594
- /**
4595
- * Address line 1, such as the street, PO Box, or company name.
4596
- */
4597
- line1: string;
4598
- /**
4599
- * Address line 2, such as the apartment, suite, unit, or building.
4600
- */
4601
- line2?: string;
4602
- /**
4603
- * ZIP or postal code.
4604
- */
4605
- postal_code: string;
4606
- /**
4607
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
4608
- */
4609
- state?: string;
4610
- }
4611
- }
4612
- namespace Total {
4613
- interface Discounts {
4614
- /**
4615
- * Corporate client discount code.
4616
- */
4617
- corporate_client_code?: string;
4618
- /**
4619
- * Coupon code applied to the rental.
4620
- */
4621
- coupon?: string;
4622
- /**
4623
- * Maximum number of free miles or kilometers included.
4624
- */
4625
- maximum_free_miles_or_kilometers?: number;
4626
- }
4627
- interface ExtraCharge {
4628
- /**
4629
- * Amount of the extra charge in cents.
4630
- */
4631
- amount: number;
4632
- /**
4633
- * Type of extra charge.
4634
- */
4635
- type: ExtraCharge.Type;
4636
- }
4637
- type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
4638
- interface Tax {
4639
- /**
4640
- * Indicates if the transaction is tax exempt.
4641
- */
4642
- tax_exempt_indicator?: boolean;
4643
- /**
4644
- * Array of tax details.
4645
- */
4646
- taxes?: Array<Tax.Tax>;
4647
- }
4648
- namespace ExtraCharge {
4649
- type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
4650
- }
4651
- namespace Tax {
4652
- interface Tax {
4653
- /**
4654
- * Tax amount.
4655
- */
4656
- amount?: number;
4657
- /**
4658
- * Tax rate applied.
4659
- */
4660
- rate?: number;
4661
- /**
4662
- * Type of tax applied.
4663
- */
4664
- type?: string;
4665
- }
4666
- }
4667
- }
4668
- namespace Vehicle {
4669
- type Type = 'cargo_van' | 'compact' | 'economy' | 'exotic' | 'exotic_suv' | 'fifteen_passenger_van' | 'four_wheel_drive' | 'full_size' | 'intermediate' | 'large_suv' | 'large_truck' | 'luxury' | 'medium_suv' | 'midsize' | 'mini' | 'minivan' | 'miscellaneous' | 'moped' | 'moving_van' | 'premium' | 'regular' | 'small_medium_truck' | 'small_suv' | 'special' | 'standard' | 'stretch' | 'subcompact' | 'taxi' | 'twelve_foot_truck' | 'twelve_passenger_van' | 'twenty_foot_truck' | 'twenty_four_foot_truck' | 'twenty_six_foot_truck' | 'unique';
4670
- type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
4671
- }
4672
- }
4673
- namespace EventDetails {
4674
- interface Affiliate {
4675
- /**
4676
- * The name of the affiliate that originated the purchase.
4677
- */
4678
- name: string;
4679
- }
4680
- interface Delivery {
4681
- /**
4682
- * The delivery method for the payment
4683
- */
4684
- mode?: Delivery.Mode;
4685
- /**
4686
- * Details of the recipient.
4687
- */
4688
- recipient?: Delivery.Recipient;
4689
- }
4690
- namespace Delivery {
4691
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
4692
- interface Recipient {
4693
- /**
4694
- * The email of the recipient the ticket is delivered to.
4695
- */
4696
- email?: string;
4697
- /**
4698
- * The name of the recipient the ticket is delivered to.
4699
- */
4700
- name?: string;
4701
- /**
4702
- * The phone number of the recipient the ticket is delivered to.
4703
- */
4704
- phone?: string;
4705
- }
4706
- }
4707
- }
4708
- namespace Flight {
4709
- interface Affiliate {
4710
- /**
4711
- * The name of the affiliate that originated the purchase.
4712
- */
4713
- name: string;
4714
- }
4715
- interface Delivery {
4716
- /**
4717
- * The delivery method for the payment
4718
- */
4719
- mode?: Delivery.Mode;
4720
- /**
4721
- * Details of the recipient.
4722
- */
4723
- recipient?: Delivery.Recipient;
4724
- }
4725
- interface Passenger {
4726
- /**
4727
- * Full name of the person or entity on the flight reservation.
4728
- */
4729
- name: string;
4730
- }
4731
- interface Segment {
4732
- /**
4733
- * The flight segment amount.
4734
- */
4735
- amount?: number;
4736
- /**
4737
- * The International Air Transport Association (IATA) airport code for the arrival airport.
4738
- */
4739
- arrival_airport?: string;
4740
- /**
4741
- * The arrival time for the flight segment. Measured in seconds since the Unix epoch.
4742
- */
4743
- arrives_at?: number;
4744
- /**
4745
- * The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
4746
- */
4747
- carrier?: string;
4748
- /**
4749
- * The departure time for the flight segment. Measured in seconds since the Unix epoch.
4750
- */
4751
- departs_at: number;
4752
- /**
4753
- * The International Air Transport Association (IATA) airport code for the departure airport.
4754
- */
4755
- departure_airport?: string;
4756
- /**
4757
- * The flight number associated with the segment
4758
- */
4759
- flight_number?: string;
4760
- /**
4761
- * The fare class for the segment.
4762
- */
4763
- service_class?: Segment.ServiceClass;
4764
- }
4765
- namespace Delivery {
4766
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
4767
- interface Recipient {
4768
- /**
4769
- * The email of the recipient the ticket is delivered to.
4770
- */
4771
- email?: string;
4772
- /**
4773
- * The name of the recipient the ticket is delivered to.
4774
- */
4775
- name?: string;
4776
- /**
4777
- * The phone number of the recipient the ticket is delivered to.
4778
- */
4779
- phone?: string;
4780
- }
4781
- }
4782
- namespace Segment {
4783
- type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
4784
- }
4785
- }
4786
- namespace FlightDatum {
4787
- interface Affiliate {
4788
- /**
4789
- * Affiliate partner code.
4790
- */
4791
- code?: string;
4792
- /**
4793
- * Name of affiliate partner.
4794
- */
4795
- name?: string;
4796
- /**
4797
- * Code provided by the company to a travel agent authorizing ticket issuance.
4798
- */
4799
- travel_authorization_code?: string;
4800
- }
4801
- interface Insurance {
4802
- /**
4803
- * Insurance cost.
4804
- */
4805
- amount: number;
4806
- /**
4807
- * Insurance currency.
4808
- */
4809
- currency?: string;
4810
- /**
4811
- * Insurance company name.
4812
- */
4813
- insurance_company_name?: string;
4814
- /**
4815
- * Type of insurance.
4816
- */
4817
- insurance_type: Insurance.InsuranceType;
4818
- }
4819
- interface Passenger {
4820
- /**
4821
- * Passenger's full name.
4822
- */
4823
- name: string;
4824
- }
4825
- interface Segment {
4826
- /**
4827
- * Segment fare amount.
4828
- */
4829
- amount?: number;
4830
- /**
4831
- * Arrival details.
4832
- */
4833
- arrival: Segment.Arrival;
4834
- /**
4835
- * Airline carrier code.
4836
- */
4837
- carrier_code: string;
4838
- /**
4839
- * Carrier name.
4840
- */
4841
- carrier_name?: string;
4842
- /**
4843
- * Segment currency.
4844
- */
4845
- currency?: string;
4846
- /**
4847
- * Departure details.
4848
- */
4849
- departure: Segment.Departure;
4850
- /**
4851
- * Exchange ticket number.
4852
- */
4853
- exchange_ticket_number?: string;
4854
- /**
4855
- * Fare basis code.
4856
- */
4857
- fare_basis_code?: string;
4858
- /**
4859
- * Additional fees.
4860
- */
4861
- fees?: number;
4862
- /**
4863
- * Flight number.
4864
- */
4865
- flight_number?: string;
4866
- /**
4867
- * Stopover indicator.
4868
- */
4869
- is_stop_over_indicator?: boolean;
4870
- /**
4871
- * Refundable ticket indicator.
4872
- */
4873
- refundable?: boolean;
4874
- /**
4875
- * Class of service.
4876
- */
4877
- service_class: Segment.ServiceClass;
4878
- /**
4879
- * Tax amount for segment.
4880
- */
4881
- tax_amount?: number;
4882
- /**
4883
- * Ticket number.
4884
- */
4885
- ticket_number?: string;
4886
- }
4887
- interface Total {
4888
- /**
4889
- * Total flight amount.
4890
- */
4891
- amount: number;
4892
- /**
4893
- * Reason for credit.
4894
- */
4895
- credit_reason?: Total.CreditReason;
4896
- /**
4897
- * Total currency.
4898
- */
4899
- currency?: string;
4900
- /**
4901
- * Discount details.
4902
- */
4903
- discounts?: Total.Discounts;
4904
- /**
4905
- * Additional charges.
4906
- */
4907
- extra_charges?: Array<Total.ExtraCharge>;
4908
- /**
4909
- * Tax breakdown.
4910
- */
4911
- tax?: Total.Tax;
4912
- }
4913
- type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
4914
- namespace Insurance {
4915
- type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
4916
- }
4917
- namespace Segment {
4918
- interface Arrival {
4919
- /**
4920
- * Arrival airport IATA code.
4921
- */
4922
- airport: string;
4923
- /**
4924
- * Arrival date/time.
4925
- */
4926
- arrives_at?: number;
4927
- /**
4928
- * Arrival city.
4929
- */
4930
- city?: string;
4931
- /**
4932
- * Arrival country.
4933
- */
4934
- country?: string;
4935
- }
4936
- interface Departure {
4937
- /**
4938
- * Departure airport IATA code.
4939
- */
4940
- airport: string;
4941
- /**
4942
- * Departure city.
4943
- */
4944
- city?: string;
4945
- /**
4946
- * Departure country.
4947
- */
4948
- country?: string;
4949
- /**
4950
- * Departure date/time.
4951
- */
4952
- departs_at: number;
4953
- }
4954
- type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
4955
- }
4956
- namespace Total {
4957
- type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
4958
- interface Discounts {
4959
- /**
4960
- * Corporate client discount code.
4961
- */
4962
- corporate_client_code?: string;
4963
- }
4964
- interface ExtraCharge {
4965
- /**
4966
- * Amount of additional charges.
4967
- */
4968
- amount?: number;
4969
- /**
4970
- * Type of additional charges.
4971
- */
4972
- type?: ExtraCharge.Type;
4973
- }
4974
- interface Tax {
4975
- /**
4976
- * Array of tax details.
4977
- */
4978
- taxes?: Array<Tax.Tax>;
4979
- }
4980
- namespace ExtraCharge {
4981
- type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
4982
- }
4983
- namespace Tax {
4984
- interface Tax {
4985
- /**
4986
- * Tax amount.
4987
- */
4988
- amount?: number;
4989
- /**
4990
- * Tax rate.
4991
- */
4992
- rate?: number;
4993
- /**
4994
- * Type of tax.
4995
- */
4996
- type?: string;
4997
- }
4998
- }
4999
- }
5000
- }
5001
- namespace Lodging {
5002
- interface Affiliate {
5003
- /**
5004
- * The name of the affiliate that originated the purchase.
5005
- */
5006
- name: string;
5007
- }
5008
- type Category = 'hotel' | 'vacation_rental';
5009
- interface Delivery {
5010
- /**
5011
- * The delivery method for the payment
5012
- */
5013
- mode?: Delivery.Mode;
5014
- /**
5015
- * Details of the recipient.
5016
- */
5017
- recipient?: Delivery.Recipient;
5018
- }
5019
- type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
5020
- interface Passenger {
5021
- /**
5022
- * Full name of the person or entity on the lodging reservation.
5023
- */
5024
- name: string;
5025
- }
5026
- namespace Delivery {
5027
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
5028
- interface Recipient {
5029
- /**
5030
- * The email of the recipient the ticket is delivered to.
5031
- */
5032
- email?: string;
5033
- /**
5034
- * The name of the recipient the ticket is delivered to.
5035
- */
5036
- name?: string;
5037
- /**
5038
- * The phone number of the recipient the ticket is delivered to.
5039
- */
5040
- phone?: string;
5041
- }
5042
- }
5043
- }
5044
- namespace LodgingDatum {
5045
- interface Accommodation {
5046
- /**
5047
- * Type of accommodation.
5048
- */
5049
- accommodation_type?: Accommodation.AccommodationType;
5050
- /**
5051
- * Bed type.
5052
- */
5053
- bed_type?: string;
5054
- /**
5055
- * Daily accommodation rate in cents.
5056
- */
5057
- daily_rate_amount?: number;
5058
- /**
5059
- * Number of nights.
5060
- */
5061
- nights?: number;
5062
- /**
5063
- * Number of rooms, cabanas, apartments, and so on.
5064
- */
5065
- number_of_rooms?: number;
5066
- /**
5067
- * Rate type.
5068
- */
5069
- rate_type?: string;
5070
- /**
5071
- * Whether smoking is allowed.
5072
- */
5073
- smoking_indicator?: boolean;
5074
- }
5075
- interface Affiliate {
5076
- /**
5077
- * Affiliate partner code.
5078
- */
5079
- code?: string;
5080
- /**
5081
- * Affiliate partner name.
5082
- */
5083
- name?: string;
5084
- }
5085
- interface Guest {
5086
- /**
5087
- * Guest's full name.
5088
- */
5089
- name: string;
5090
- }
5091
- interface Host {
5092
- /**
5093
- * Address of the host.
5094
- */
5095
- address?: Host.Address;
5096
- /**
5097
- * Host's country of domicile.
5098
- */
5099
- country_of_domicile?: string;
5100
- /**
5101
- * Reference number for the host.
5102
- */
5103
- host_reference?: string;
5104
- /**
5105
- * Type of host.
5106
- */
5107
- host_type?: Host.HostType;
5108
- /**
5109
- * Name of the lodging property or host.
5110
- */
5111
- name?: string;
5112
- /**
5113
- * Total number of reservations for the host.
5114
- */
5115
- number_of_reservations?: number;
5116
- /**
5117
- * Property phone number.
5118
- */
5119
- property_phone_number?: string;
5120
- /**
5121
- * Host's registration date.
5122
- */
5123
- registered_at?: number;
5124
- }
5125
- interface Insurance {
5126
- /**
5127
- * Price of the insurance coverage in cents.
5128
- */
5129
- amount: number;
5130
- /**
5131
- * Currency of the insurance amount.
5132
- */
5133
- currency?: string;
5134
- /**
5135
- * Name of the insurance company.
5136
- */
5137
- insurance_company_name?: string;
5138
- /**
5139
- * Type of insurance coverage.
5140
- */
5141
- insurance_type: Insurance.InsuranceType;
5142
- }
5143
- interface Total {
5144
- /**
5145
- * Total price of the lodging reservation in cents.
5146
- */
5147
- amount: number;
5148
- /**
5149
- * Cash advances in cents.
5150
- */
5151
- cash_advances?: number;
5152
- /**
5153
- * Currency of the total amount.
5154
- */
5155
- currency?: string;
5156
- /**
5157
- * Discount details for the lodging.
5158
- */
5159
- discounts?: Total.Discounts;
5160
- /**
5161
- * Additional charges for the lodging.
5162
- */
5163
- extra_charges?: Array<Total.ExtraCharge>;
5164
- /**
5165
- * Prepaid amount in cents.
5166
- */
5167
- prepaid_amount?: number;
5168
- /**
5169
- * Tax breakdown for the lodging reservation.
5170
- */
5171
- tax?: Total.Tax;
5172
- }
5173
- namespace Accommodation {
5174
- type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
5175
- }
5176
- namespace Host {
5177
- interface Address {
5178
- /**
5179
- * City, district, suburb, town, or village.
5180
- */
5181
- city: string;
5182
- /**
5183
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
5184
- */
5185
- country: string;
5186
- /**
5187
- * Address line 1, such as the street, PO Box, or company name.
5188
- */
5189
- line1: string;
5190
- /**
5191
- * Address line 2, such as the apartment, suite, unit, or building.
5192
- */
5193
- line2?: string;
5194
- /**
5195
- * ZIP or postal code.
5196
- */
5197
- postal_code: string;
5198
- /**
5199
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
5200
- */
5201
- state?: string;
5202
- }
5203
- type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
5204
- }
5205
- namespace Insurance {
5206
- type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
5207
- }
5208
- namespace Total {
5209
- interface Discounts {
5210
- /**
5211
- * Corporate client discount code.
5212
- */
5213
- corporate_client_code?: string;
5214
- /**
5215
- * Coupon code.
5216
- */
5217
- coupon?: string;
5218
- }
5219
- interface ExtraCharge {
5220
- /**
5221
- * Amount of the extra charge in cents.
5222
- */
5223
- amount?: number;
5224
- /**
5225
- * Type of extra charge.
5226
- */
5227
- type?: ExtraCharge.Type;
5228
- }
5229
- interface Tax {
5230
- /**
5231
- * Indicates whether the transaction is tax exempt.
5232
- */
5233
- tax_exempt_indicator?: boolean;
5234
- /**
5235
- * Tax details.
5236
- */
5237
- taxes?: Array<Tax.Tax>;
5238
- }
5239
- namespace ExtraCharge {
5240
- type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
5241
- }
5242
- namespace Tax {
5243
- interface Tax {
5244
- /**
5245
- * Tax amount in cents.
5246
- */
5247
- amount?: number;
5248
- /**
5249
- * Tax rate.
5250
- */
5251
- rate?: number;
5252
- /**
5253
- * Type of tax applied.
5254
- */
5255
- type?: string;
5256
- }
5257
- }
5258
- }
5259
- }
5260
- namespace Subscription {
5261
- interface Affiliate {
5262
- /**
5263
- * The name of the affiliate that originated the purchase.
5264
- */
5265
- name: string;
5266
- }
5267
- interface BillingInterval {
5268
- /**
5269
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5270
- */
5271
- count: number;
5272
- /**
5273
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5274
- */
5275
- interval: BillingInterval.Interval;
5276
- }
5277
- namespace BillingInterval {
5278
- type Interval = 'day' | 'month' | 'week' | 'year';
5279
- }
5280
- }
2240
+ }
2241
+ export interface ChargeListParams extends PaginationParams {
2242
+ /**
2243
+ * Only return charges that were created during the given date interval.
2244
+ */
2245
+ created?: RangeQueryParam | number;
2246
+ /**
2247
+ * Only return charges for the customer specified by this customer ID.
2248
+ */
2249
+ customer?: string;
2250
+ /**
2251
+ * Specifies which fields in the response should be expanded.
2252
+ */
2253
+ expand?: Array<string>;
2254
+ /**
2255
+ * Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
2256
+ */
2257
+ payment_intent?: string;
2258
+ /**
2259
+ * Only return charges for this transfer group, limited to 100.
2260
+ */
2261
+ transfer_group?: string;
2262
+ }
2263
+ export interface ChargeCaptureParams {
2264
+ /**
2265
+ * The amount to capture, which must be less than or equal to the original amount.
2266
+ */
2267
+ amount?: number;
2268
+ /**
2269
+ * An application fee to add on to this charge.
2270
+ */
2271
+ application_fee?: number;
2272
+ /**
2273
+ * An application fee amount to add on to this charge, which must be less than or equal to the original amount.
2274
+ */
2275
+ application_fee_amount?: number;
2276
+ /**
2277
+ * Specifies which fields in the response should be expanded.
2278
+ */
2279
+ expand?: Array<string>;
2280
+ /**
2281
+ * The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
2282
+ */
2283
+ receipt_email?: string;
2284
+ /**
2285
+ * For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
2286
+ *
2287
+ * For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
2288
+ */
2289
+ statement_descriptor?: string;
2290
+ /**
2291
+ * Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
2292
+ */
2293
+ statement_descriptor_suffix?: string;
2294
+ /**
2295
+ * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
2296
+ */
2297
+ transfer_data?: ChargeCaptureParams.TransferData;
2298
+ /**
2299
+ * A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
2300
+ */
2301
+ transfer_group?: string;
2302
+ }
2303
+ export declare namespace ChargeCaptureParams {
2304
+ interface TransferData {
2305
+ /**
2306
+ * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2307
+ */
2308
+ amount?: number;
5281
2309
  }
5282
2310
  }
5283
2311
  export interface ChargeSearchParams {