stripe 18.6.0-alpha.2 → 19.0.0

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 (447) hide show
  1. package/CHANGELOG.md +85 -1429
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +19 -6
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -115
  6. package/cjs/RequestSender.js +10 -4
  7. package/cjs/StripeContext.js +56 -0
  8. package/cjs/apiVersion.js +3 -2
  9. package/cjs/net/FetchHttpClient.js +1 -1
  10. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  11. package/cjs/resources/Mandates.js +0 -5
  12. package/cjs/resources/PaymentIntents.js +0 -13
  13. package/cjs/resources/Quotes.js +0 -32
  14. package/cjs/resources/SubscriptionSchedules.js +0 -4
  15. package/cjs/resources/Subscriptions.js +0 -4
  16. package/cjs/resources/V2/Core/Events.js +1 -1
  17. package/cjs/resources.js +8 -140
  18. package/cjs/stripe.core.js +19 -24
  19. package/esm/Error.js +0 -100
  20. package/esm/RequestSender.js +10 -4
  21. package/esm/StripeContext.js +52 -0
  22. package/esm/apiVersion.js +2 -1
  23. package/esm/net/FetchHttpClient.js +1 -1
  24. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  25. package/esm/resources/Mandates.js +0 -5
  26. package/esm/resources/PaymentIntents.js +0 -13
  27. package/esm/resources/Quotes.js +0 -32
  28. package/esm/resources/SubscriptionSchedules.js +0 -4
  29. package/esm/resources/Subscriptions.js +0 -4
  30. package/esm/resources/V2/Core/Events.js +1 -1
  31. package/esm/resources.js +0 -125
  32. package/esm/stripe.core.js +19 -24
  33. package/package.json +4 -4
  34. package/types/AccountLinksResource.d.ts +1 -5
  35. package/types/AccountSessions.d.ts +0 -75
  36. package/types/AccountSessionsResource.d.ts +0 -306
  37. package/types/Accounts.d.ts +5 -207
  38. package/types/AccountsResource.d.ts +4 -528
  39. package/types/BalanceSettings.d.ts +12 -6
  40. package/types/BalanceSettingsResource.d.ts +15 -10
  41. package/types/BankAccounts.d.ts +4 -0
  42. package/types/Billing/AlertTriggereds.d.ts +1 -16
  43. package/types/Billing/Alerts.d.ts +1 -116
  44. package/types/Billing/AlertsResource.d.ts +3 -94
  45. package/types/Billing/CreditBalanceSummary.d.ts +2 -123
  46. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -20
  47. package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
  48. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  49. package/types/Billing/CreditGrants.d.ts +1 -76
  50. package/types/Billing/CreditGrantsResource.d.ts +2 -43
  51. package/types/BillingPortal/Configurations.d.ts +7 -0
  52. package/types/BillingPortal/ConfigurationsResource.d.ts +14 -0
  53. package/types/BillingPortal/Sessions.d.ts +0 -5
  54. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  55. package/types/Capabilities.d.ts +4 -0
  56. package/types/Cards.d.ts +1 -6
  57. package/types/CashBalances.d.ts +0 -5
  58. package/types/Charges.d.ts +11 -169
  59. package/types/ChargesResource.d.ts +0 -1406
  60. package/types/Checkout/Sessions.d.ts +191 -405
  61. package/types/Checkout/SessionsResource.d.ts +332 -557
  62. package/types/ConfirmationTokens.d.ts +0 -120
  63. package/types/Coupons.d.ts +0 -33
  64. package/types/CouponsResource.d.ts +0 -21
  65. package/types/CreditNoteLineItems.d.ts +0 -17
  66. package/types/CreditNotes.d.ts +0 -5
  67. package/types/CreditNotesResource.d.ts +0 -5
  68. package/types/CustomerBalanceTransactions.d.ts +0 -2
  69. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  70. package/types/CustomerSessions.d.ts +0 -5
  71. package/types/CustomerSessionsResource.d.ts +1 -6
  72. package/types/Customers.d.ts +10 -2
  73. package/types/CustomersResource.d.ts +20 -7
  74. package/types/Discounts.d.ts +32 -24
  75. package/types/Disputes.d.ts +6 -29
  76. package/types/Errors.d.ts +0 -85
  77. package/types/EventTypes.d.ts +0 -664
  78. package/types/Events.d.ts +0 -97
  79. package/types/ExchangeRates.d.ts +2 -0
  80. package/types/ExchangeRatesResource.d.ts +6 -0
  81. package/types/FinancialConnections/Accounts.d.ts +1 -36
  82. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  83. package/types/FinancialConnections/Sessions.d.ts +1 -51
  84. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  85. package/types/Identity/VerificationSessions.d.ts +0 -5
  86. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  87. package/types/InvoiceItems.d.ts +21 -105
  88. package/types/InvoiceItemsResource.d.ts +6 -117
  89. package/types/InvoiceLineItems.d.ts +3 -158
  90. package/types/InvoicePayments.d.ts +0 -5
  91. package/types/InvoicePaymentsResource.d.ts +1 -10
  92. package/types/Invoices.d.ts +7 -188
  93. package/types/InvoicesResource.d.ts +49 -1523
  94. package/types/Issuing/CardholdersResource.d.ts +5 -6
  95. package/types/Issuing/Cards.d.ts +5 -0
  96. package/types/Issuing/CardsResource.d.ts +14 -4
  97. package/types/Issuing/Transactions.d.ts +0 -5
  98. package/types/Issuing/TransactionsResource.d.ts +0 -5
  99. package/types/LineItems.d.ts +0 -49
  100. package/types/Mandates.d.ts +1 -135
  101. package/types/MandatesResource.d.ts +0 -31
  102. package/types/PaymentIntents.d.ts +5 -820
  103. package/types/PaymentIntentsResource.d.ts +5643 -11279
  104. package/types/PaymentLinks.d.ts +0 -6
  105. package/types/PaymentLinksResource.d.ts +5 -12
  106. package/types/PaymentMethodConfigurations.d.ts +0 -180
  107. package/types/PaymentMethodConfigurationsResource.d.ts +28 -228
  108. package/types/PaymentMethods.d.ts +0 -125
  109. package/types/PaymentMethodsResource.d.ts +2 -172
  110. package/types/Persons.d.ts +4 -0
  111. package/types/Prices.d.ts +0 -22
  112. package/types/PricesResource.d.ts +0 -22
  113. package/types/PromotionCodes.d.ts +16 -14
  114. package/types/PromotionCodesResource.d.ts +15 -13
  115. package/types/Quotes.d.ts +9 -589
  116. package/types/QuotesResource.d.ts +290 -2619
  117. package/types/Refunds.d.ts +0 -14
  118. package/types/Reviews.d.ts +2 -0
  119. package/types/SetupAttempts.d.ts +3 -51
  120. package/types/SetupIntents.d.ts +4 -210
  121. package/types/SetupIntentsResource.d.ts +3 -913
  122. package/types/Sources.d.ts +1 -30
  123. package/types/SubscriptionItems.d.ts +0 -21
  124. package/types/SubscriptionItemsResource.d.ts +0 -109
  125. package/types/SubscriptionSchedules.d.ts +16 -205
  126. package/types/SubscriptionSchedulesResource.d.ts +21 -1243
  127. package/types/Subscriptions.d.ts +17 -140
  128. package/types/SubscriptionsResource.d.ts +49 -502
  129. package/types/Tax/CalculationsResource.d.ts +5 -5
  130. package/types/Tax/Settings.d.ts +7 -0
  131. package/types/TaxIds.d.ts +0 -10
  132. package/types/TaxIdsResource.d.ts +0 -10
  133. package/types/Terminal/Configurations.d.ts +9 -9
  134. package/types/Terminal/ConfigurationsResource.d.ts +26 -28
  135. package/types/Terminal/Locations.d.ts +95 -0
  136. package/types/Terminal/LocationsResource.d.ts +59 -6
  137. package/types/Terminal/Readers.d.ts +0 -20
  138. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -118
  139. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +79 -0
  140. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  141. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  142. package/types/Transfers.d.ts +0 -5
  143. package/types/TransfersResource.d.ts +0 -5
  144. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  145. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  146. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  147. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  148. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  149. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  150. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  151. package/types/V2/Core/EventDestinations.d.ts +166 -0
  152. package/types/V2/Core/EventDestinationsResource.d.ts +14 -14
  153. package/types/V2/Core/EventTypes.d.ts +256 -0
  154. package/types/V2/Core/Events.d.ts +77 -0
  155. package/types/V2/Core/EventsResource.d.ts +4 -4
  156. package/types/V2/DeletedObject.d.ts +22 -0
  157. package/types/V2/EventMisc.d.ts +72 -0
  158. package/types/WebhookEndpointsResource.d.ts +2 -79
  159. package/types/Webhooks.d.ts +0 -2
  160. package/types/apiVersion.d.ts +2 -1
  161. package/types/index.d.ts +8 -270
  162. package/types/lib.d.ts +4 -14
  163. package/types/test/typescriptTest.ts +43 -0
  164. package/cjs/resources/AccountNotices.js +0 -21
  165. package/cjs/resources/Billing/MeterUsage.js +0 -12
  166. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  167. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  168. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  169. package/cjs/resources/ExternalAccounts.js +0 -23
  170. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  171. package/cjs/resources/FxQuotes.js +0 -15
  172. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  173. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  174. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  175. package/cjs/resources/Margins.js +0 -22
  176. package/cjs/resources/Orders.js +0 -24
  177. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  178. package/cjs/resources/PaymentRecords.js +0 -29
  179. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  180. package/cjs/resources/Tax/Associations.js +0 -9
  181. package/cjs/resources/Tax/Forms.js +0 -20
  182. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  183. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  184. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
  185. package/cjs/resources/V2/Billing/BillSettings.js +0 -27
  186. package/cjs/resources/V2/Billing/Cadences.js +0 -23
  187. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
  188. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
  189. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -25
  190. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
  191. package/cjs/resources/V2/Billing/Intents.js +0 -36
  192. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
  193. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
  194. package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
  195. package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
  196. package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
  197. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -17
  198. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
  199. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
  200. package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
  201. package/cjs/resources/V2/Billing/Profiles.js +0 -19
  202. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
  203. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
  204. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
  205. package/cjs/resources/V2/Billing/RateCards.js +0 -29
  206. package/cjs/resources/V2/Billing/ServiceActions.js +0 -16
  207. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  208. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  209. package/cjs/resources/V2/Core/Accounts.js +0 -25
  210. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
  211. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  212. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  213. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  214. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
  215. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  216. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  217. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  218. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  219. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  220. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  221. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  222. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  223. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  224. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  225. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  226. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  227. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -25
  228. package/cjs/resources/V2/Reporting/ReportRuns.js +0 -13
  229. package/cjs/resources/V2/Reporting/Reports.js +0 -12
  230. package/cjs/resources/V2/Tax/AutomaticRules.js +0 -22
  231. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  232. package/esm/resources/AccountNotices.js +0 -18
  233. package/esm/resources/Billing/MeterUsage.js +0 -9
  234. package/esm/resources/Capital/FinancingOffers.js +0 -18
  235. package/esm/resources/Capital/FinancingSummary.js +0 -9
  236. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  237. package/esm/resources/ExternalAccounts.js +0 -20
  238. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  239. package/esm/resources/FxQuotes.js +0 -12
  240. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  241. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  242. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  243. package/esm/resources/Margins.js +0 -19
  244. package/esm/resources/Orders.js +0 -21
  245. package/esm/resources/PaymentAttemptRecords.js +0 -14
  246. package/esm/resources/PaymentRecords.js +0 -26
  247. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  248. package/esm/resources/Tax/Associations.js +0 -6
  249. package/esm/resources/Tax/Forms.js +0 -17
  250. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  251. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  252. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
  253. package/esm/resources/V2/Billing/BillSettings.js +0 -24
  254. package/esm/resources/V2/Billing/Cadences.js +0 -20
  255. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
  256. package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
  257. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -22
  258. package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
  259. package/esm/resources/V2/Billing/Intents.js +0 -33
  260. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
  261. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
  262. package/esm/resources/V2/Billing/LicenseFees.js +0 -24
  263. package/esm/resources/V2/Billing/LicensedItems.js +0 -22
  264. package/esm/resources/V2/Billing/MeteredItems.js +0 -19
  265. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -14
  266. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
  267. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
  268. package/esm/resources/V2/Billing/PricingPlans.js +0 -26
  269. package/esm/resources/V2/Billing/Profiles.js +0 -16
  270. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
  271. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
  272. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
  273. package/esm/resources/V2/Billing/RateCards.js +0 -26
  274. package/esm/resources/V2/Billing/ServiceActions.js +0 -13
  275. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  276. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  277. package/esm/resources/V2/Core/Accounts.js +0 -22
  278. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
  279. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  280. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  281. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  282. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
  283. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  284. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  285. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  286. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  287. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  288. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  289. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  290. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  291. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  292. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  293. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  294. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  295. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -22
  296. package/esm/resources/V2/Reporting/ReportRuns.js +0 -10
  297. package/esm/resources/V2/Reporting/Reports.js +0 -9
  298. package/esm/resources/V2/Tax/AutomaticRules.js +0 -19
  299. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  300. package/types/AccountNotices.d.ts +0 -113
  301. package/types/AccountNoticesResource.d.ts +0 -98
  302. package/types/Billing/MeterUsage.d.ts +0 -32
  303. package/types/Billing/MeterUsageResource.d.ts +0 -685
  304. package/types/Billing/MeterUsageRows.d.ts +0 -49
  305. package/types/Capital/FinancingOffers.d.ts +0 -188
  306. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  307. package/types/Capital/FinancingSummary.d.ts +0 -106
  308. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  309. package/types/Capital/FinancingTransactions.d.ts +0 -135
  310. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  311. package/types/ExternalAccountsResource.d.ts +0 -304
  312. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  313. package/types/FinancialConnections/Institutions.d.ts +0 -98
  314. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  315. package/types/FxQuotes.d.ts +0 -155
  316. package/types/FxQuotesResource.d.ts +0 -130
  317. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  318. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  319. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  320. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  321. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  322. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  323. package/types/Issuing/Settlements.d.ts +0 -113
  324. package/types/Margins.d.ts +0 -56
  325. package/types/MarginsResource.d.ts +0 -114
  326. package/types/Orders.d.ts +0 -1163
  327. package/types/OrdersResource.d.ts +0 -3139
  328. package/types/PaymentAttemptRecords.d.ts +0 -2311
  329. package/types/PaymentAttemptRecordsResource.d.ts +0 -52
  330. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
  331. package/types/PaymentRecords.d.ts +0 -2304
  332. package/types/PaymentRecordsResource.d.ts +0 -476
  333. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  334. package/types/Privacy/RedactionJobs.d.ts +0 -111
  335. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  336. package/types/QuoteLines.d.ts +0 -634
  337. package/types/QuotePreviewInvoices.d.ts +0 -1751
  338. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -892
  339. package/types/Tax/Associations.d.ts +0 -82
  340. package/types/Tax/AssociationsResource.d.ts +0 -29
  341. package/types/Tax/Forms.d.ts +0 -220
  342. package/types/Tax/FormsResource.d.ts +0 -107
  343. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  344. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  345. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  346. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  347. package/types/ThinEvent.d.ts +0 -36
  348. package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
  349. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
  350. package/types/V2/Billing/BillSettings.d.ts +0 -120
  351. package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
  352. package/types/V2/Billing/Cadences.d.ts +0 -360
  353. package/types/V2/Billing/CadencesResource.d.ts +0 -497
  354. package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
  355. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
  356. package/types/V2/Billing/CollectionSettings.d.ts +0 -337
  357. package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
  358. package/types/V2/Billing/CustomPricingUnits.d.ts +0 -56
  359. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
  360. package/types/V2/Billing/IntentActions.d.ts +0 -459
  361. package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
  362. package/types/V2/Billing/Intents.d.ts +0 -117
  363. package/types/V2/Billing/IntentsResource.d.ts +0 -575
  364. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
  365. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
  366. package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
  367. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
  368. package/types/V2/Billing/LicenseFees.d.ts +0 -163
  369. package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
  370. package/types/V2/Billing/LicensedItems.d.ts +0 -73
  371. package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
  372. package/types/V2/Billing/MeteredItems.d.ts +0 -101
  373. package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
  374. package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
  375. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
  376. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -93
  377. package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
  378. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
  379. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
  380. package/types/V2/Billing/PricingPlans.d.ts +0 -84
  381. package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
  382. package/types/V2/Billing/Profiles.d.ts +0 -70
  383. package/types/V2/Billing/ProfilesResource.d.ts +0 -150
  384. package/types/V2/Billing/RateCardRates.d.ts +0 -138
  385. package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
  386. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
  387. package/types/V2/Billing/RateCardVersions.d.ts +0 -39
  388. package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -209
  389. package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
  390. package/types/V2/Billing/RateCards.d.ts +0 -98
  391. package/types/V2/Billing/RateCardsResource.d.ts +0 -162
  392. package/types/V2/Billing/ServiceActions.d.ts +0 -264
  393. package/types/V2/Billing/ServiceActionsResource.d.ts +0 -326
  394. package/types/V2/Core/AccountLinks.d.ts +0 -168
  395. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  396. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3812
  397. package/types/V2/Core/Accounts.d.ts +0 -8862
  398. package/types/V2/Core/AccountsResource.d.ts +0 -10704
  399. package/types/V2/Core/ClaimableSandboxes.d.ts +0 -387
  400. package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -329
  401. package/types/V2/Core/Persons.d.ts +0 -1888
  402. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  403. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  404. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  405. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  406. package/types/V2/EventDestinations.d.ts +0 -164
  407. package/types/V2/EventTypes.d.ts +0 -4319
  408. package/types/V2/Events.d.ts +0 -82
  409. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  410. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  411. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  412. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  413. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -585
  414. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -331
  415. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
  416. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -289
  417. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  418. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  419. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
  420. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  421. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  422. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  423. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  424. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  425. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  426. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  427. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  428. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  429. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
  430. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  431. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -262
  432. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  433. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  434. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  435. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  436. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  437. package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
  438. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  439. package/types/V2/Payments/OffSessionPayments.d.ts +0 -179
  440. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -174
  441. package/types/V2/Reporting/ReportRuns.d.ts +0 -178
  442. package/types/V2/Reporting/ReportRunsResource.d.ts +0 -99
  443. package/types/V2/Reporting/Reports.d.ts +0 -120
  444. package/types/V2/Reporting/ReportsResource.d.ts +0 -30
  445. package/types/V2/Tax/AutomaticRules.d.ts +0 -53
  446. package/types/V2/Tax/AutomaticRulesResource.d.ts +0 -102
  447. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -1,4319 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe.V2 {
5
- export type Event =
6
- | Stripe.Events.V1BillingMeterErrorReportTriggeredEvent
7
- | Stripe.Events.V1BillingMeterNoMeterFoundEvent
8
- | Stripe.Events.V2BillingCadenceBilledEvent
9
- | Stripe.Events.V2BillingCadenceCanceledEvent
10
- | Stripe.Events.V2BillingCadenceCreatedEvent
11
- | Stripe.Events.V2BillingLicenseFeeCreatedEvent
12
- | Stripe.Events.V2BillingLicenseFeeUpdatedEvent
13
- | Stripe.Events.V2BillingLicenseFeeVersionCreatedEvent
14
- | Stripe.Events.V2BillingLicensedItemCreatedEvent
15
- | Stripe.Events.V2BillingLicensedItemUpdatedEvent
16
- | Stripe.Events.V2BillingMeteredItemCreatedEvent
17
- | Stripe.Events.V2BillingMeteredItemUpdatedEvent
18
- | Stripe.Events.V2BillingPricingPlanCreatedEvent
19
- | Stripe.Events.V2BillingPricingPlanUpdatedEvent
20
- | Stripe.Events.V2BillingPricingPlanComponentCreatedEvent
21
- | Stripe.Events.V2BillingPricingPlanComponentUpdatedEvent
22
- | Stripe.Events.V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent
23
- | Stripe.Events.V2BillingPricingPlanSubscriptionCollectionCurrentEvent
24
- | Stripe.Events.V2BillingPricingPlanSubscriptionCollectionPastDueEvent
25
- | Stripe.Events.V2BillingPricingPlanSubscriptionCollectionPausedEvent
26
- | Stripe.Events.V2BillingPricingPlanSubscriptionCollectionUnpaidEvent
27
- | Stripe.Events.V2BillingPricingPlanSubscriptionServicingActivatedEvent
28
- | Stripe.Events.V2BillingPricingPlanSubscriptionServicingCanceledEvent
29
- | Stripe.Events.V2BillingPricingPlanSubscriptionServicingPausedEvent
30
- | Stripe.Events.V2BillingPricingPlanVersionCreatedEvent
31
- | Stripe.Events.V2BillingRateCardCreatedEvent
32
- | Stripe.Events.V2BillingRateCardUpdatedEvent
33
- | Stripe.Events.V2BillingRateCardRateCreatedEvent
34
- | Stripe.Events.V2BillingRateCardSubscriptionActivatedEvent
35
- | Stripe.Events.V2BillingRateCardSubscriptionCanceledEvent
36
- | Stripe.Events.V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent
37
- | Stripe.Events.V2BillingRateCardSubscriptionCollectionCurrentEvent
38
- | Stripe.Events.V2BillingRateCardSubscriptionCollectionPastDueEvent
39
- | Stripe.Events.V2BillingRateCardSubscriptionCollectionPausedEvent
40
- | Stripe.Events.V2BillingRateCardSubscriptionCollectionUnpaidEvent
41
- | Stripe.Events.V2BillingRateCardSubscriptionServicingActivatedEvent
42
- | Stripe.Events.V2BillingRateCardSubscriptionServicingCanceledEvent
43
- | Stripe.Events.V2BillingRateCardSubscriptionServicingPausedEvent
44
- | Stripe.Events.V2BillingRateCardVersionCreatedEvent
45
- | Stripe.Events.V2CoreAccountClosedEvent
46
- | Stripe.Events.V2CoreAccountCreatedEvent
47
- | Stripe.Events.V2CoreAccountUpdatedEvent
48
- | Stripe.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
49
- | Stripe.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEvent
50
- | Stripe.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
51
- | Stripe.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEvent
52
- | Stripe.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
53
- | Stripe.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEvent
54
- | Stripe.Events.V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent
55
- | Stripe.Events.V2CoreAccountIncludingConfigurationStorerUpdatedEvent
56
- | Stripe.Events.V2CoreAccountIncludingDefaultsUpdatedEvent
57
- | Stripe.Events.V2CoreAccountIncludingIdentityUpdatedEvent
58
- | Stripe.Events.V2CoreAccountIncludingRequirementsUpdatedEvent
59
- | Stripe.Events.V2CoreAccountLinkReturnedEvent
60
- | Stripe.Events.V2CoreAccountPersonCreatedEvent
61
- | Stripe.Events.V2CoreAccountPersonDeletedEvent
62
- | Stripe.Events.V2CoreAccountPersonUpdatedEvent
63
- | Stripe.Events.V2CoreClaimableSandboxClaimedEvent
64
- | Stripe.Events.V2CoreClaimableSandboxExpiredEvent
65
- | Stripe.Events.V2CoreClaimableSandboxExpiringEvent
66
- | Stripe.Events.V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent
67
- | Stripe.Events.V2CoreEventDestinationPingEvent
68
- | Stripe.Events.V2CoreHealthApiErrorFiringEvent
69
- | Stripe.Events.V2CoreHealthApiErrorResolvedEvent
70
- | Stripe.Events.V2CoreHealthApiLatencyFiringEvent
71
- | Stripe.Events.V2CoreHealthApiLatencyResolvedEvent
72
- | Stripe.Events.V2CoreHealthAuthorizationRateDropFiringEvent
73
- | Stripe.Events.V2CoreHealthAuthorizationRateDropResolvedEvent
74
- | Stripe.Events.V2CoreHealthEventGenerationFailureResolvedEvent
75
- | Stripe.Events.V2CoreHealthFraudRateIncreasedEvent
76
- | Stripe.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent
77
- | Stripe.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
78
- | Stripe.Events.V2CoreHealthPaymentMethodErrorFiringEvent
79
- | Stripe.Events.V2CoreHealthPaymentMethodErrorResolvedEvent
80
- | Stripe.Events.V2CoreHealthTrafficVolumeDropFiringEvent
81
- | Stripe.Events.V2CoreHealthTrafficVolumeDropResolvedEvent
82
- | Stripe.Events.V2CoreHealthWebhookLatencyFiringEvent
83
- | Stripe.Events.V2CoreHealthWebhookLatencyResolvedEvent
84
- | Stripe.Events.V2MoneyManagementAdjustmentCreatedEvent
85
- | Stripe.Events.V2MoneyManagementFinancialAccountCreatedEvent
86
- | Stripe.Events.V2MoneyManagementFinancialAccountUpdatedEvent
87
- | Stripe.Events.V2MoneyManagementFinancialAddressActivatedEvent
88
- | Stripe.Events.V2MoneyManagementFinancialAddressFailedEvent
89
- | Stripe.Events.V2MoneyManagementInboundTransferAvailableEvent
90
- | Stripe.Events.V2MoneyManagementInboundTransferBankDebitFailedEvent
91
- | Stripe.Events.V2MoneyManagementInboundTransferBankDebitProcessingEvent
92
- | Stripe.Events.V2MoneyManagementInboundTransferBankDebitQueuedEvent
93
- | Stripe.Events.V2MoneyManagementInboundTransferBankDebitReturnedEvent
94
- | Stripe.Events.V2MoneyManagementInboundTransferBankDebitSucceededEvent
95
- | Stripe.Events.V2MoneyManagementOutboundPaymentCanceledEvent
96
- | Stripe.Events.V2MoneyManagementOutboundPaymentCreatedEvent
97
- | Stripe.Events.V2MoneyManagementOutboundPaymentFailedEvent
98
- | Stripe.Events.V2MoneyManagementOutboundPaymentPostedEvent
99
- | Stripe.Events.V2MoneyManagementOutboundPaymentReturnedEvent
100
- | Stripe.Events.V2MoneyManagementOutboundPaymentUpdatedEvent
101
- | Stripe.Events.V2MoneyManagementOutboundTransferCanceledEvent
102
- | Stripe.Events.V2MoneyManagementOutboundTransferCreatedEvent
103
- | Stripe.Events.V2MoneyManagementOutboundTransferFailedEvent
104
- | Stripe.Events.V2MoneyManagementOutboundTransferPostedEvent
105
- | Stripe.Events.V2MoneyManagementOutboundTransferReturnedEvent
106
- | Stripe.Events.V2MoneyManagementOutboundTransferUpdatedEvent
107
- | Stripe.Events.V2MoneyManagementPayoutMethodUpdatedEvent
108
- | Stripe.Events.V2MoneyManagementReceivedCreditAvailableEvent
109
- | Stripe.Events.V2MoneyManagementReceivedCreditFailedEvent
110
- | Stripe.Events.V2MoneyManagementReceivedCreditReturnedEvent
111
- | Stripe.Events.V2MoneyManagementReceivedCreditSucceededEvent
112
- | Stripe.Events.V2MoneyManagementReceivedDebitCanceledEvent
113
- | Stripe.Events.V2MoneyManagementReceivedDebitFailedEvent
114
- | Stripe.Events.V2MoneyManagementReceivedDebitPendingEvent
115
- | Stripe.Events.V2MoneyManagementReceivedDebitSucceededEvent
116
- | Stripe.Events.V2MoneyManagementReceivedDebitUpdatedEvent
117
- | Stripe.Events.V2MoneyManagementTransactionCreatedEvent
118
- | Stripe.Events.V2MoneyManagementTransactionUpdatedEvent
119
- | Stripe.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent
120
- | Stripe.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent
121
- | Stripe.Events.V2PaymentsOffSessionPaymentCanceledEvent
122
- | Stripe.Events.V2PaymentsOffSessionPaymentCreatedEvent
123
- | Stripe.Events.V2PaymentsOffSessionPaymentFailedEvent
124
- | Stripe.Events.V2PaymentsOffSessionPaymentSucceededEvent
125
- | Stripe.Events.V2ReportingReportRunCreatedEvent
126
- | Stripe.Events.V2ReportingReportRunFailedEvent
127
- | Stripe.Events.V2ReportingReportRunSucceededEvent
128
- | Stripe.Events.V2ReportingReportRunUpdatedEvent;
129
-
130
- export type PushedEvent =
131
- | Stripe.Events.PushedV1BillingMeterErrorReportTriggeredEvent
132
- | Stripe.Events.PushedV1BillingMeterNoMeterFoundEvent
133
- | Stripe.Events.PushedV2BillingCadenceBilledEvent
134
- | Stripe.Events.PushedV2BillingCadenceCanceledEvent
135
- | Stripe.Events.PushedV2BillingCadenceCreatedEvent
136
- | Stripe.Events.PushedV2BillingLicenseFeeCreatedEvent
137
- | Stripe.Events.PushedV2BillingLicenseFeeUpdatedEvent
138
- | Stripe.Events.PushedV2BillingLicenseFeeVersionCreatedEvent
139
- | Stripe.Events.PushedV2BillingLicensedItemCreatedEvent
140
- | Stripe.Events.PushedV2BillingLicensedItemUpdatedEvent
141
- | Stripe.Events.PushedV2BillingMeteredItemCreatedEvent
142
- | Stripe.Events.PushedV2BillingMeteredItemUpdatedEvent
143
- | Stripe.Events.PushedV2BillingPricingPlanCreatedEvent
144
- | Stripe.Events.PushedV2BillingPricingPlanUpdatedEvent
145
- | Stripe.Events.PushedV2BillingPricingPlanComponentCreatedEvent
146
- | Stripe.Events.PushedV2BillingPricingPlanComponentUpdatedEvent
147
- | Stripe.Events.PushedV2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent
148
- | Stripe.Events.PushedV2BillingPricingPlanSubscriptionCollectionCurrentEvent
149
- | Stripe.Events.PushedV2BillingPricingPlanSubscriptionCollectionPastDueEvent
150
- | Stripe.Events.PushedV2BillingPricingPlanSubscriptionCollectionPausedEvent
151
- | Stripe.Events.PushedV2BillingPricingPlanSubscriptionCollectionUnpaidEvent
152
- | Stripe.Events.PushedV2BillingPricingPlanSubscriptionServicingActivatedEvent
153
- | Stripe.Events.PushedV2BillingPricingPlanSubscriptionServicingCanceledEvent
154
- | Stripe.Events.PushedV2BillingPricingPlanSubscriptionServicingPausedEvent
155
- | Stripe.Events.PushedV2BillingPricingPlanVersionCreatedEvent
156
- | Stripe.Events.PushedV2BillingRateCardCreatedEvent
157
- | Stripe.Events.PushedV2BillingRateCardUpdatedEvent
158
- | Stripe.Events.PushedV2BillingRateCardRateCreatedEvent
159
- | Stripe.Events.PushedV2BillingRateCardSubscriptionActivatedEvent
160
- | Stripe.Events.PushedV2BillingRateCardSubscriptionCanceledEvent
161
- | Stripe.Events.PushedV2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent
162
- | Stripe.Events.PushedV2BillingRateCardSubscriptionCollectionCurrentEvent
163
- | Stripe.Events.PushedV2BillingRateCardSubscriptionCollectionPastDueEvent
164
- | Stripe.Events.PushedV2BillingRateCardSubscriptionCollectionPausedEvent
165
- | Stripe.Events.PushedV2BillingRateCardSubscriptionCollectionUnpaidEvent
166
- | Stripe.Events.PushedV2BillingRateCardSubscriptionServicingActivatedEvent
167
- | Stripe.Events.PushedV2BillingRateCardSubscriptionServicingCanceledEvent
168
- | Stripe.Events.PushedV2BillingRateCardSubscriptionServicingPausedEvent
169
- | Stripe.Events.PushedV2BillingRateCardVersionCreatedEvent
170
- | Stripe.Events.PushedV2CoreAccountClosedEvent
171
- | Stripe.Events.PushedV2CoreAccountCreatedEvent
172
- | Stripe.Events.PushedV2CoreAccountUpdatedEvent
173
- | Stripe.Events.PushedV2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
174
- | Stripe.Events.PushedV2CoreAccountIncludingConfigurationCustomerUpdatedEvent
175
- | Stripe.Events.PushedV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
176
- | Stripe.Events.PushedV2CoreAccountIncludingConfigurationMerchantUpdatedEvent
177
- | Stripe.Events.PushedV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
178
- | Stripe.Events.PushedV2CoreAccountIncludingConfigurationRecipientUpdatedEvent
179
- | Stripe.Events.PushedV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent
180
- | Stripe.Events.PushedV2CoreAccountIncludingConfigurationStorerUpdatedEvent
181
- | Stripe.Events.PushedV2CoreAccountIncludingDefaultsUpdatedEvent
182
- | Stripe.Events.PushedV2CoreAccountIncludingIdentityUpdatedEvent
183
- | Stripe.Events.PushedV2CoreAccountIncludingRequirementsUpdatedEvent
184
- | Stripe.Events.PushedV2CoreAccountLinkReturnedEvent
185
- | Stripe.Events.PushedV2CoreAccountPersonCreatedEvent
186
- | Stripe.Events.PushedV2CoreAccountPersonDeletedEvent
187
- | Stripe.Events.PushedV2CoreAccountPersonUpdatedEvent
188
- | Stripe.Events.PushedV2CoreClaimableSandboxClaimedEvent
189
- | Stripe.Events.PushedV2CoreClaimableSandboxExpiredEvent
190
- | Stripe.Events.PushedV2CoreClaimableSandboxExpiringEvent
191
- | Stripe.Events.PushedV2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent
192
- | Stripe.Events.PushedV2CoreEventDestinationPingEvent
193
- | Stripe.Events.PushedV2CoreHealthApiErrorFiringEvent
194
- | Stripe.Events.PushedV2CoreHealthApiErrorResolvedEvent
195
- | Stripe.Events.PushedV2CoreHealthApiLatencyFiringEvent
196
- | Stripe.Events.PushedV2CoreHealthApiLatencyResolvedEvent
197
- | Stripe.Events.PushedV2CoreHealthAuthorizationRateDropFiringEvent
198
- | Stripe.Events.PushedV2CoreHealthAuthorizationRateDropResolvedEvent
199
- | Stripe.Events.PushedV2CoreHealthEventGenerationFailureResolvedEvent
200
- | Stripe.Events.PushedV2CoreHealthFraudRateIncreasedEvent
201
- | Stripe.Events.PushedV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent
202
- | Stripe.Events.PushedV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
203
- | Stripe.Events.PushedV2CoreHealthPaymentMethodErrorFiringEvent
204
- | Stripe.Events.PushedV2CoreHealthPaymentMethodErrorResolvedEvent
205
- | Stripe.Events.PushedV2CoreHealthTrafficVolumeDropFiringEvent
206
- | Stripe.Events.PushedV2CoreHealthTrafficVolumeDropResolvedEvent
207
- | Stripe.Events.PushedV2CoreHealthWebhookLatencyFiringEvent
208
- | Stripe.Events.PushedV2CoreHealthWebhookLatencyResolvedEvent
209
- | Stripe.Events.PushedV2MoneyManagementAdjustmentCreatedEvent
210
- | Stripe.Events.PushedV2MoneyManagementFinancialAccountCreatedEvent
211
- | Stripe.Events.PushedV2MoneyManagementFinancialAccountUpdatedEvent
212
- | Stripe.Events.PushedV2MoneyManagementFinancialAddressActivatedEvent
213
- | Stripe.Events.PushedV2MoneyManagementFinancialAddressFailedEvent
214
- | Stripe.Events.PushedV2MoneyManagementInboundTransferAvailableEvent
215
- | Stripe.Events.PushedV2MoneyManagementInboundTransferBankDebitFailedEvent
216
- | Stripe.Events.PushedV2MoneyManagementInboundTransferBankDebitProcessingEvent
217
- | Stripe.Events.PushedV2MoneyManagementInboundTransferBankDebitQueuedEvent
218
- | Stripe.Events.PushedV2MoneyManagementInboundTransferBankDebitReturnedEvent
219
- | Stripe.Events.PushedV2MoneyManagementInboundTransferBankDebitSucceededEvent
220
- | Stripe.Events.PushedV2MoneyManagementOutboundPaymentCanceledEvent
221
- | Stripe.Events.PushedV2MoneyManagementOutboundPaymentCreatedEvent
222
- | Stripe.Events.PushedV2MoneyManagementOutboundPaymentFailedEvent
223
- | Stripe.Events.PushedV2MoneyManagementOutboundPaymentPostedEvent
224
- | Stripe.Events.PushedV2MoneyManagementOutboundPaymentReturnedEvent
225
- | Stripe.Events.PushedV2MoneyManagementOutboundPaymentUpdatedEvent
226
- | Stripe.Events.PushedV2MoneyManagementOutboundTransferCanceledEvent
227
- | Stripe.Events.PushedV2MoneyManagementOutboundTransferCreatedEvent
228
- | Stripe.Events.PushedV2MoneyManagementOutboundTransferFailedEvent
229
- | Stripe.Events.PushedV2MoneyManagementOutboundTransferPostedEvent
230
- | Stripe.Events.PushedV2MoneyManagementOutboundTransferReturnedEvent
231
- | Stripe.Events.PushedV2MoneyManagementOutboundTransferUpdatedEvent
232
- | Stripe.Events.PushedV2MoneyManagementPayoutMethodUpdatedEvent
233
- | Stripe.Events.PushedV2MoneyManagementReceivedCreditAvailableEvent
234
- | Stripe.Events.PushedV2MoneyManagementReceivedCreditFailedEvent
235
- | Stripe.Events.PushedV2MoneyManagementReceivedCreditReturnedEvent
236
- | Stripe.Events.PushedV2MoneyManagementReceivedCreditSucceededEvent
237
- | Stripe.Events.PushedV2MoneyManagementReceivedDebitCanceledEvent
238
- | Stripe.Events.PushedV2MoneyManagementReceivedDebitFailedEvent
239
- | Stripe.Events.PushedV2MoneyManagementReceivedDebitPendingEvent
240
- | Stripe.Events.PushedV2MoneyManagementReceivedDebitSucceededEvent
241
- | Stripe.Events.PushedV2MoneyManagementReceivedDebitUpdatedEvent
242
- | Stripe.Events.PushedV2MoneyManagementTransactionCreatedEvent
243
- | Stripe.Events.PushedV2MoneyManagementTransactionUpdatedEvent
244
- | Stripe.Events.PushedV2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent
245
- | Stripe.Events.PushedV2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent
246
- | Stripe.Events.PushedV2PaymentsOffSessionPaymentCanceledEvent
247
- | Stripe.Events.PushedV2PaymentsOffSessionPaymentCreatedEvent
248
- | Stripe.Events.PushedV2PaymentsOffSessionPaymentFailedEvent
249
- | Stripe.Events.PushedV2PaymentsOffSessionPaymentSucceededEvent
250
- | Stripe.Events.PushedV2ReportingReportRunCreatedEvent
251
- | Stripe.Events.PushedV2ReportingReportRunFailedEvent
252
- | Stripe.Events.PushedV2ReportingReportRunSucceededEvent
253
- | Stripe.Events.PushedV2ReportingReportRunUpdatedEvent;
254
- }
255
-
256
- namespace Stripe.Events {
257
- /**
258
- * Occurs when a Meter has invalid async usage events.
259
- */
260
- export interface V1BillingMeterErrorReportTriggeredEvent
261
- extends V2.EventBase {
262
- type: 'v1.billing.meter.error_report_triggered';
263
- // Retrieves data specific to this event.
264
- data: V1BillingMeterErrorReportTriggeredEvent.Data;
265
- // Object containing the reference to API resource relevant to the event.
266
- related_object: Event.RelatedObject;
267
- // Retrieves the object associated with the event.
268
- fetchRelatedObject(): Promise<Billing.Meter>;
269
- }
270
- export interface PushedV1BillingMeterErrorReportTriggeredEvent
271
- extends V2.EventBase {
272
- type: 'v1.billing.meter.error_report_triggered';
273
- // Object containing the reference to API resource relevant to the event.
274
- related_object: Event.RelatedObject;
275
- // Retrieves the object associated with the event.
276
- fetchRelatedObject(): Promise<Billing.Meter>;
277
- pull(): Promise<V1BillingMeterErrorReportTriggeredEvent>;
278
- }
279
-
280
- namespace V1BillingMeterErrorReportTriggeredEvent {
281
- export interface Data {
282
- /**
283
- * Extra field included in the event's `data` when fetched from /v2/events.
284
- */
285
- developer_message_summary: string;
286
-
287
- /**
288
- * This contains information about why meter error happens.
289
- */
290
- reason: Data.Reason;
291
-
292
- /**
293
- * The end of the window that is encapsulated by this summary.
294
- */
295
- validation_end: string;
296
-
297
- /**
298
- * The start of the window that is encapsulated by this summary.
299
- */
300
- validation_start: string;
301
- }
302
-
303
- namespace Data {
304
- export interface Reason {
305
- /**
306
- * The total error count within this window.
307
- */
308
- error_count: number;
309
-
310
- /**
311
- * The error details.
312
- */
313
- error_types: Array<Reason.ErrorType>;
314
- }
315
-
316
- namespace Reason {
317
- export interface ErrorType {
318
- /**
319
- * Open Enum.
320
- */
321
- code: ErrorType.Code;
322
-
323
- /**
324
- * The number of errors of this type.
325
- */
326
- error_count: number;
327
-
328
- /**
329
- * A list of sample errors of this type.
330
- */
331
- sample_errors: Array<ErrorType.SampleError>;
332
- }
333
-
334
- namespace ErrorType {
335
- export type Code =
336
- | 'archived_meter'
337
- | 'meter_event_customer_not_found'
338
- | 'meter_event_dimension_count_too_high'
339
- | 'meter_event_invalid_value'
340
- | 'meter_event_no_customer_defined'
341
- | 'missing_dimension_payload_keys'
342
- | 'no_meter'
343
- | 'timestamp_in_future'
344
- | 'timestamp_too_far_in_past';
345
-
346
- export interface SampleError {
347
- /**
348
- * The error message.
349
- */
350
- error_message: string;
351
-
352
- /**
353
- * The request causes the error.
354
- */
355
- request: SampleError.Request;
356
- }
357
-
358
- namespace SampleError {
359
- export interface Request {
360
- /**
361
- * The request idempotency key.
362
- */
363
- identifier: string;
364
- }
365
- }
366
- }
367
- }
368
- }
369
- }
370
-
371
- /**
372
- * Occurs when a Meter's id is missing or invalid in async usage events.
373
- */
374
- export interface V1BillingMeterNoMeterFoundEvent extends V2.EventBase {
375
- type: 'v1.billing.meter.no_meter_found';
376
- // Retrieves data specific to this event.
377
- data: V1BillingMeterNoMeterFoundEvent.Data;
378
- }
379
- export interface PushedV1BillingMeterNoMeterFoundEvent
380
- extends V2.EventBase {
381
- type: 'v1.billing.meter.no_meter_found';
382
- pull(): Promise<V1BillingMeterNoMeterFoundEvent>;
383
- }
384
-
385
- namespace V1BillingMeterNoMeterFoundEvent {
386
- export interface Data {
387
- /**
388
- * Extra field included in the event's `data` when fetched from /v2/events.
389
- */
390
- developer_message_summary: string;
391
-
392
- /**
393
- * This contains information about why meter error happens.
394
- */
395
- reason: Data.Reason;
396
-
397
- /**
398
- * The end of the window that is encapsulated by this summary.
399
- */
400
- validation_end: string;
401
-
402
- /**
403
- * The start of the window that is encapsulated by this summary.
404
- */
405
- validation_start: string;
406
- }
407
-
408
- namespace Data {
409
- export interface Reason {
410
- /**
411
- * The total error count within this window.
412
- */
413
- error_count: number;
414
-
415
- /**
416
- * The error details.
417
- */
418
- error_types: Array<Reason.ErrorType>;
419
- }
420
-
421
- namespace Reason {
422
- export interface ErrorType {
423
- /**
424
- * Open Enum.
425
- */
426
- code: ErrorType.Code;
427
-
428
- /**
429
- * The number of errors of this type.
430
- */
431
- error_count: number;
432
-
433
- /**
434
- * A list of sample errors of this type.
435
- */
436
- sample_errors: Array<ErrorType.SampleError>;
437
- }
438
-
439
- namespace ErrorType {
440
- export type Code =
441
- | 'archived_meter'
442
- | 'meter_event_customer_not_found'
443
- | 'meter_event_dimension_count_too_high'
444
- | 'meter_event_invalid_value'
445
- | 'meter_event_no_customer_defined'
446
- | 'missing_dimension_payload_keys'
447
- | 'no_meter'
448
- | 'timestamp_in_future'
449
- | 'timestamp_too_far_in_past';
450
-
451
- export interface SampleError {
452
- /**
453
- * The error message.
454
- */
455
- error_message: string;
456
-
457
- /**
458
- * The request causes the error.
459
- */
460
- request: SampleError.Request;
461
- }
462
-
463
- namespace SampleError {
464
- export interface Request {
465
- /**
466
- * The request idempotency key.
467
- */
468
- identifier: string;
469
- }
470
- }
471
- }
472
- }
473
- }
474
- }
475
-
476
- /**
477
- * Occurs when a billing Cadence generates an invoice.
478
- */
479
- export interface V2BillingCadenceBilledEvent extends V2.EventBase {
480
- type: 'v2.billing.cadence.billed';
481
- // Retrieves data specific to this event.
482
- data: V2BillingCadenceBilledEvent.Data;
483
- // Object containing the reference to API resource relevant to the event.
484
- related_object: Event.RelatedObject;
485
- // Retrieves the object associated with the event.
486
- fetchRelatedObject(): Promise<V2.Billing.Cadence>;
487
- }
488
- export interface PushedV2BillingCadenceBilledEvent extends V2.EventBase {
489
- type: 'v2.billing.cadence.billed';
490
- // Object containing the reference to API resource relevant to the event.
491
- related_object: Event.RelatedObject;
492
- // Retrieves the object associated with the event.
493
- fetchRelatedObject(): Promise<V2.Billing.Cadence>;
494
- pull(): Promise<V2BillingCadenceBilledEvent>;
495
- }
496
-
497
- namespace V2BillingCadenceBilledEvent {
498
- export interface Data {
499
- /**
500
- * The IDs of the invoices that were generated by the tick for this Cadence.
501
- */
502
- invoices: Array<string>;
503
- }
504
- }
505
-
506
- /**
507
- * Occurs when a billing Cadence is canceled.
508
- */
509
- export interface V2BillingCadenceCanceledEvent extends V2.EventBase {
510
- type: 'v2.billing.cadence.canceled';
511
- // Object containing the reference to API resource relevant to the event.
512
- related_object: Event.RelatedObject;
513
- // Retrieves the object associated with the event.
514
- fetchRelatedObject(): Promise<V2.Billing.Cadence>;
515
- }
516
- export interface PushedV2BillingCadenceCanceledEvent extends V2.EventBase {
517
- type: 'v2.billing.cadence.canceled';
518
- // Object containing the reference to API resource relevant to the event.
519
- related_object: Event.RelatedObject;
520
- // Retrieves the object associated with the event.
521
- fetchRelatedObject(): Promise<V2.Billing.Cadence>;
522
- pull(): Promise<V2BillingCadenceCanceledEvent>;
523
- }
524
-
525
- /**
526
- * Occurs when a billing Cadence is created.
527
- */
528
- export interface V2BillingCadenceCreatedEvent extends V2.EventBase {
529
- type: 'v2.billing.cadence.created';
530
- // Retrieves data specific to this event.
531
- data: V2BillingCadenceCreatedEvent.Data;
532
- // Object containing the reference to API resource relevant to the event.
533
- related_object: Event.RelatedObject;
534
- // Retrieves the object associated with the event.
535
- fetchRelatedObject(): Promise<V2.Billing.Cadence>;
536
- }
537
- export interface PushedV2BillingCadenceCreatedEvent extends V2.EventBase {
538
- type: 'v2.billing.cadence.created';
539
- // Object containing the reference to API resource relevant to the event.
540
- related_object: Event.RelatedObject;
541
- // Retrieves the object associated with the event.
542
- fetchRelatedObject(): Promise<V2.Billing.Cadence>;
543
- pull(): Promise<V2BillingCadenceCreatedEvent>;
544
- }
545
-
546
- namespace V2BillingCadenceCreatedEvent {
547
- export interface Data {
548
- /**
549
- * Timestamp of when the object was created.
550
- */
551
- created: string;
552
- }
553
- }
554
-
555
- /**
556
- * Occurs when a LicenseFee is created.
557
- */
558
- export interface V2BillingLicenseFeeCreatedEvent extends V2.EventBase {
559
- type: 'v2.billing.license_fee.created';
560
- // Object containing the reference to API resource relevant to the event.
561
- related_object: Event.RelatedObject;
562
- // Retrieves the object associated with the event.
563
- fetchRelatedObject(): Promise<V2.Billing.LicenseFee>;
564
- }
565
- export interface PushedV2BillingLicenseFeeCreatedEvent
566
- extends V2.EventBase {
567
- type: 'v2.billing.license_fee.created';
568
- // Object containing the reference to API resource relevant to the event.
569
- related_object: Event.RelatedObject;
570
- // Retrieves the object associated with the event.
571
- fetchRelatedObject(): Promise<V2.Billing.LicenseFee>;
572
- pull(): Promise<V2BillingLicenseFeeCreatedEvent>;
573
- }
574
-
575
- /**
576
- * Occurs when a LicenseFee is updated.
577
- */
578
- export interface V2BillingLicenseFeeUpdatedEvent extends V2.EventBase {
579
- type: 'v2.billing.license_fee.updated';
580
- // Object containing the reference to API resource relevant to the event.
581
- related_object: Event.RelatedObject;
582
- // Retrieves the object associated with the event.
583
- fetchRelatedObject(): Promise<V2.Billing.LicenseFee>;
584
- }
585
- export interface PushedV2BillingLicenseFeeUpdatedEvent
586
- extends V2.EventBase {
587
- type: 'v2.billing.license_fee.updated';
588
- // Object containing the reference to API resource relevant to the event.
589
- related_object: Event.RelatedObject;
590
- // Retrieves the object associated with the event.
591
- fetchRelatedObject(): Promise<V2.Billing.LicenseFee>;
592
- pull(): Promise<V2BillingLicenseFeeUpdatedEvent>;
593
- }
594
-
595
- /**
596
- * Occurs when a LicenseFeeVersion is created.
597
- */
598
- export interface V2BillingLicenseFeeVersionCreatedEvent
599
- extends V2.EventBase {
600
- type: 'v2.billing.license_fee_version.created';
601
- // Retrieves data specific to this event.
602
- data: V2BillingLicenseFeeVersionCreatedEvent.Data;
603
- // Object containing the reference to API resource relevant to the event.
604
- related_object: Event.RelatedObject;
605
- // Retrieves the object associated with the event.
606
- fetchRelatedObject(): Promise<V2.Billing.LicenseFeeVersion>;
607
- }
608
- export interface PushedV2BillingLicenseFeeVersionCreatedEvent
609
- extends V2.EventBase {
610
- type: 'v2.billing.license_fee_version.created';
611
- // Object containing the reference to API resource relevant to the event.
612
- related_object: Event.RelatedObject;
613
- // Retrieves the object associated with the event.
614
- fetchRelatedObject(): Promise<V2.Billing.LicenseFeeVersion>;
615
- pull(): Promise<V2BillingLicenseFeeVersionCreatedEvent>;
616
- }
617
-
618
- namespace V2BillingLicenseFeeVersionCreatedEvent {
619
- export interface Data {
620
- /**
621
- * The ID of the LicenseFee that the LicenseFeeVersion belongs to.
622
- */
623
- license_fee_id: string;
624
- }
625
- }
626
-
627
- /**
628
- * Occurs when a LicensedItem is created.
629
- */
630
- export interface V2BillingLicensedItemCreatedEvent extends V2.EventBase {
631
- type: 'v2.billing.licensed_item.created';
632
- // Object containing the reference to API resource relevant to the event.
633
- related_object: Event.RelatedObject;
634
- // Retrieves the object associated with the event.
635
- fetchRelatedObject(): Promise<V2.Billing.LicensedItem>;
636
- }
637
- export interface PushedV2BillingLicensedItemCreatedEvent
638
- extends V2.EventBase {
639
- type: 'v2.billing.licensed_item.created';
640
- // Object containing the reference to API resource relevant to the event.
641
- related_object: Event.RelatedObject;
642
- // Retrieves the object associated with the event.
643
- fetchRelatedObject(): Promise<V2.Billing.LicensedItem>;
644
- pull(): Promise<V2BillingLicensedItemCreatedEvent>;
645
- }
646
-
647
- /**
648
- * Occurs when a LicensedItem is updated.
649
- */
650
- export interface V2BillingLicensedItemUpdatedEvent extends V2.EventBase {
651
- type: 'v2.billing.licensed_item.updated';
652
- // Object containing the reference to API resource relevant to the event.
653
- related_object: Event.RelatedObject;
654
- // Retrieves the object associated with the event.
655
- fetchRelatedObject(): Promise<V2.Billing.LicensedItem>;
656
- }
657
- export interface PushedV2BillingLicensedItemUpdatedEvent
658
- extends V2.EventBase {
659
- type: 'v2.billing.licensed_item.updated';
660
- // Object containing the reference to API resource relevant to the event.
661
- related_object: Event.RelatedObject;
662
- // Retrieves the object associated with the event.
663
- fetchRelatedObject(): Promise<V2.Billing.LicensedItem>;
664
- pull(): Promise<V2BillingLicensedItemUpdatedEvent>;
665
- }
666
-
667
- /**
668
- * Occurs when a MeteredItem is created.
669
- */
670
- export interface V2BillingMeteredItemCreatedEvent extends V2.EventBase {
671
- type: 'v2.billing.metered_item.created';
672
- // Object containing the reference to API resource relevant to the event.
673
- related_object: Event.RelatedObject;
674
- // Retrieves the object associated with the event.
675
- fetchRelatedObject(): Promise<V2.Billing.MeteredItem>;
676
- }
677
- export interface PushedV2BillingMeteredItemCreatedEvent
678
- extends V2.EventBase {
679
- type: 'v2.billing.metered_item.created';
680
- // Object containing the reference to API resource relevant to the event.
681
- related_object: Event.RelatedObject;
682
- // Retrieves the object associated with the event.
683
- fetchRelatedObject(): Promise<V2.Billing.MeteredItem>;
684
- pull(): Promise<V2BillingMeteredItemCreatedEvent>;
685
- }
686
-
687
- /**
688
- * Occurs when a MeteredItem is updated.
689
- */
690
- export interface V2BillingMeteredItemUpdatedEvent extends V2.EventBase {
691
- type: 'v2.billing.metered_item.updated';
692
- // Object containing the reference to API resource relevant to the event.
693
- related_object: Event.RelatedObject;
694
- // Retrieves the object associated with the event.
695
- fetchRelatedObject(): Promise<V2.Billing.MeteredItem>;
696
- }
697
- export interface PushedV2BillingMeteredItemUpdatedEvent
698
- extends V2.EventBase {
699
- type: 'v2.billing.metered_item.updated';
700
- // Object containing the reference to API resource relevant to the event.
701
- related_object: Event.RelatedObject;
702
- // Retrieves the object associated with the event.
703
- fetchRelatedObject(): Promise<V2.Billing.MeteredItem>;
704
- pull(): Promise<V2BillingMeteredItemUpdatedEvent>;
705
- }
706
-
707
- /**
708
- * Occurs when a PricingPlan is created.
709
- */
710
- export interface V2BillingPricingPlanCreatedEvent extends V2.EventBase {
711
- type: 'v2.billing.pricing_plan.created';
712
- // Object containing the reference to API resource relevant to the event.
713
- related_object: Event.RelatedObject;
714
- // Retrieves the object associated with the event.
715
- fetchRelatedObject(): Promise<V2.Billing.PricingPlan>;
716
- }
717
- export interface PushedV2BillingPricingPlanCreatedEvent
718
- extends V2.EventBase {
719
- type: 'v2.billing.pricing_plan.created';
720
- // Object containing the reference to API resource relevant to the event.
721
- related_object: Event.RelatedObject;
722
- // Retrieves the object associated with the event.
723
- fetchRelatedObject(): Promise<V2.Billing.PricingPlan>;
724
- pull(): Promise<V2BillingPricingPlanCreatedEvent>;
725
- }
726
-
727
- /**
728
- * Occurs when a PricingPlan is updated.
729
- */
730
- export interface V2BillingPricingPlanUpdatedEvent extends V2.EventBase {
731
- type: 'v2.billing.pricing_plan.updated';
732
- // Object containing the reference to API resource relevant to the event.
733
- related_object: Event.RelatedObject;
734
- // Retrieves the object associated with the event.
735
- fetchRelatedObject(): Promise<V2.Billing.PricingPlan>;
736
- }
737
- export interface PushedV2BillingPricingPlanUpdatedEvent
738
- extends V2.EventBase {
739
- type: 'v2.billing.pricing_plan.updated';
740
- // Object containing the reference to API resource relevant to the event.
741
- related_object: Event.RelatedObject;
742
- // Retrieves the object associated with the event.
743
- fetchRelatedObject(): Promise<V2.Billing.PricingPlan>;
744
- pull(): Promise<V2BillingPricingPlanUpdatedEvent>;
745
- }
746
-
747
- /**
748
- * Occurs when a PricingPlanComponent is created.
749
- */
750
- export interface V2BillingPricingPlanComponentCreatedEvent
751
- extends V2.EventBase {
752
- type: 'v2.billing.pricing_plan_component.created';
753
- // Retrieves data specific to this event.
754
- data: V2BillingPricingPlanComponentCreatedEvent.Data;
755
- // Object containing the reference to API resource relevant to the event.
756
- related_object: Event.RelatedObject;
757
- // Retrieves the object associated with the event.
758
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanComponent>;
759
- }
760
- export interface PushedV2BillingPricingPlanComponentCreatedEvent
761
- extends V2.EventBase {
762
- type: 'v2.billing.pricing_plan_component.created';
763
- // Object containing the reference to API resource relevant to the event.
764
- related_object: Event.RelatedObject;
765
- // Retrieves the object associated with the event.
766
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanComponent>;
767
- pull(): Promise<V2BillingPricingPlanComponentCreatedEvent>;
768
- }
769
-
770
- namespace V2BillingPricingPlanComponentCreatedEvent {
771
- export interface Data {
772
- /**
773
- * The ID of the PricingPlan that the PricingPlanComponent belongs to.
774
- */
775
- pricing_plan_id: string;
776
- }
777
- }
778
-
779
- /**
780
- * Occurs when a PricingPlanComponent is updated.
781
- */
782
- export interface V2BillingPricingPlanComponentUpdatedEvent
783
- extends V2.EventBase {
784
- type: 'v2.billing.pricing_plan_component.updated';
785
- // Retrieves data specific to this event.
786
- data: V2BillingPricingPlanComponentUpdatedEvent.Data;
787
- // Object containing the reference to API resource relevant to the event.
788
- related_object: Event.RelatedObject;
789
- // Retrieves the object associated with the event.
790
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanComponent>;
791
- }
792
- export interface PushedV2BillingPricingPlanComponentUpdatedEvent
793
- extends V2.EventBase {
794
- type: 'v2.billing.pricing_plan_component.updated';
795
- // Object containing the reference to API resource relevant to the event.
796
- related_object: Event.RelatedObject;
797
- // Retrieves the object associated with the event.
798
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanComponent>;
799
- pull(): Promise<V2BillingPricingPlanComponentUpdatedEvent>;
800
- }
801
-
802
- namespace V2BillingPricingPlanComponentUpdatedEvent {
803
- export interface Data {
804
- /**
805
- * The ID of the PricingPlan that the PricingPlanComponent belongs to.
806
- */
807
- pricing_plan_id: string;
808
- }
809
- }
810
-
811
- /**
812
- * Occurs when a PricingPlanSubscription's collection is awaiting customer action.
813
- */
814
- export interface V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent
815
- extends V2.EventBase {
816
- type: 'v2.billing.pricing_plan_subscription.collection_awaiting_customer_action';
817
- // Object containing the reference to API resource relevant to the event.
818
- related_object: Event.RelatedObject;
819
- // Retrieves the object associated with the event.
820
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
821
- }
822
- export interface PushedV2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent
823
- extends V2.EventBase {
824
- type: 'v2.billing.pricing_plan_subscription.collection_awaiting_customer_action';
825
- // Object containing the reference to API resource relevant to the event.
826
- related_object: Event.RelatedObject;
827
- // Retrieves the object associated with the event.
828
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
829
- pull(): Promise<
830
- V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent
831
- >;
832
- }
833
-
834
- /**
835
- * Occurs when a PricingPlanSubscription's collection is current.
836
- */
837
- export interface V2BillingPricingPlanSubscriptionCollectionCurrentEvent
838
- extends V2.EventBase {
839
- type: 'v2.billing.pricing_plan_subscription.collection_current';
840
- // Object containing the reference to API resource relevant to the event.
841
- related_object: Event.RelatedObject;
842
- // Retrieves the object associated with the event.
843
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
844
- }
845
- export interface PushedV2BillingPricingPlanSubscriptionCollectionCurrentEvent
846
- extends V2.EventBase {
847
- type: 'v2.billing.pricing_plan_subscription.collection_current';
848
- // Object containing the reference to API resource relevant to the event.
849
- related_object: Event.RelatedObject;
850
- // Retrieves the object associated with the event.
851
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
852
- pull(): Promise<V2BillingPricingPlanSubscriptionCollectionCurrentEvent>;
853
- }
854
-
855
- /**
856
- * Occurs when a PricingPlanSubscription's collection is past due.
857
- */
858
- export interface V2BillingPricingPlanSubscriptionCollectionPastDueEvent
859
- extends V2.EventBase {
860
- type: 'v2.billing.pricing_plan_subscription.collection_past_due';
861
- // Object containing the reference to API resource relevant to the event.
862
- related_object: Event.RelatedObject;
863
- // Retrieves the object associated with the event.
864
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
865
- }
866
- export interface PushedV2BillingPricingPlanSubscriptionCollectionPastDueEvent
867
- extends V2.EventBase {
868
- type: 'v2.billing.pricing_plan_subscription.collection_past_due';
869
- // Object containing the reference to API resource relevant to the event.
870
- related_object: Event.RelatedObject;
871
- // Retrieves the object associated with the event.
872
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
873
- pull(): Promise<V2BillingPricingPlanSubscriptionCollectionPastDueEvent>;
874
- }
875
-
876
- /**
877
- * Occurs when a PricingPlanSubscription's collection is paused.
878
- */
879
- export interface V2BillingPricingPlanSubscriptionCollectionPausedEvent
880
- extends V2.EventBase {
881
- type: 'v2.billing.pricing_plan_subscription.collection_paused';
882
- // Object containing the reference to API resource relevant to the event.
883
- related_object: Event.RelatedObject;
884
- // Retrieves the object associated with the event.
885
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
886
- }
887
- export interface PushedV2BillingPricingPlanSubscriptionCollectionPausedEvent
888
- extends V2.EventBase {
889
- type: 'v2.billing.pricing_plan_subscription.collection_paused';
890
- // Object containing the reference to API resource relevant to the event.
891
- related_object: Event.RelatedObject;
892
- // Retrieves the object associated with the event.
893
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
894
- pull(): Promise<V2BillingPricingPlanSubscriptionCollectionPausedEvent>;
895
- }
896
-
897
- /**
898
- * Occurs when a PricingPlanSubscription's collection is unpaid.
899
- */
900
- export interface V2BillingPricingPlanSubscriptionCollectionUnpaidEvent
901
- extends V2.EventBase {
902
- type: 'v2.billing.pricing_plan_subscription.collection_unpaid';
903
- // Object containing the reference to API resource relevant to the event.
904
- related_object: Event.RelatedObject;
905
- // Retrieves the object associated with the event.
906
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
907
- }
908
- export interface PushedV2BillingPricingPlanSubscriptionCollectionUnpaidEvent
909
- extends V2.EventBase {
910
- type: 'v2.billing.pricing_plan_subscription.collection_unpaid';
911
- // Object containing the reference to API resource relevant to the event.
912
- related_object: Event.RelatedObject;
913
- // Retrieves the object associated with the event.
914
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
915
- pull(): Promise<V2BillingPricingPlanSubscriptionCollectionUnpaidEvent>;
916
- }
917
-
918
- /**
919
- * Occurs when PricingPlanSubscription servicing is activated.
920
- */
921
- export interface V2BillingPricingPlanSubscriptionServicingActivatedEvent
922
- extends V2.EventBase {
923
- type: 'v2.billing.pricing_plan_subscription.servicing_activated';
924
- // Object containing the reference to API resource relevant to the event.
925
- related_object: Event.RelatedObject;
926
- // Retrieves the object associated with the event.
927
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
928
- }
929
- export interface PushedV2BillingPricingPlanSubscriptionServicingActivatedEvent
930
- extends V2.EventBase {
931
- type: 'v2.billing.pricing_plan_subscription.servicing_activated';
932
- // Object containing the reference to API resource relevant to the event.
933
- related_object: Event.RelatedObject;
934
- // Retrieves the object associated with the event.
935
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
936
- pull(): Promise<V2BillingPricingPlanSubscriptionServicingActivatedEvent>;
937
- }
938
-
939
- /**
940
- * Occurs when PricingPlanSubscription servicing is canceled.
941
- */
942
- export interface V2BillingPricingPlanSubscriptionServicingCanceledEvent
943
- extends V2.EventBase {
944
- type: 'v2.billing.pricing_plan_subscription.servicing_canceled';
945
- // Object containing the reference to API resource relevant to the event.
946
- related_object: Event.RelatedObject;
947
- // Retrieves the object associated with the event.
948
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
949
- }
950
- export interface PushedV2BillingPricingPlanSubscriptionServicingCanceledEvent
951
- extends V2.EventBase {
952
- type: 'v2.billing.pricing_plan_subscription.servicing_canceled';
953
- // Object containing the reference to API resource relevant to the event.
954
- related_object: Event.RelatedObject;
955
- // Retrieves the object associated with the event.
956
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
957
- pull(): Promise<V2BillingPricingPlanSubscriptionServicingCanceledEvent>;
958
- }
959
-
960
- /**
961
- * Occurs when PricingPlanSubscription servicing is paused.
962
- */
963
- export interface V2BillingPricingPlanSubscriptionServicingPausedEvent
964
- extends V2.EventBase {
965
- type: 'v2.billing.pricing_plan_subscription.servicing_paused';
966
- // Object containing the reference to API resource relevant to the event.
967
- related_object: Event.RelatedObject;
968
- // Retrieves the object associated with the event.
969
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
970
- }
971
- export interface PushedV2BillingPricingPlanSubscriptionServicingPausedEvent
972
- extends V2.EventBase {
973
- type: 'v2.billing.pricing_plan_subscription.servicing_paused';
974
- // Object containing the reference to API resource relevant to the event.
975
- related_object: Event.RelatedObject;
976
- // Retrieves the object associated with the event.
977
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanSubscription>;
978
- pull(): Promise<V2BillingPricingPlanSubscriptionServicingPausedEvent>;
979
- }
980
-
981
- /**
982
- * Occurs when a PricingPlanVersion is created.
983
- */
984
- export interface V2BillingPricingPlanVersionCreatedEvent
985
- extends V2.EventBase {
986
- type: 'v2.billing.pricing_plan_version.created';
987
- // Retrieves data specific to this event.
988
- data: V2BillingPricingPlanVersionCreatedEvent.Data;
989
- // Object containing the reference to API resource relevant to the event.
990
- related_object: Event.RelatedObject;
991
- // Retrieves the object associated with the event.
992
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanVersion>;
993
- }
994
- export interface PushedV2BillingPricingPlanVersionCreatedEvent
995
- extends V2.EventBase {
996
- type: 'v2.billing.pricing_plan_version.created';
997
- // Object containing the reference to API resource relevant to the event.
998
- related_object: Event.RelatedObject;
999
- // Retrieves the object associated with the event.
1000
- fetchRelatedObject(): Promise<V2.Billing.PricingPlanVersion>;
1001
- pull(): Promise<V2BillingPricingPlanVersionCreatedEvent>;
1002
- }
1003
-
1004
- namespace V2BillingPricingPlanVersionCreatedEvent {
1005
- export interface Data {
1006
- /**
1007
- * The ID of the PricingPlan that the PricingPlanVersion belongs to.
1008
- */
1009
- pricing_plan_id: string;
1010
- }
1011
- }
1012
-
1013
- /**
1014
- * Occurs when a RateCard is created.
1015
- */
1016
- export interface V2BillingRateCardCreatedEvent extends V2.EventBase {
1017
- type: 'v2.billing.rate_card.created';
1018
- // Retrieves data specific to this event.
1019
- data: V2BillingRateCardCreatedEvent.Data;
1020
- // Object containing the reference to API resource relevant to the event.
1021
- related_object: Event.RelatedObject;
1022
- // Retrieves the object associated with the event.
1023
- fetchRelatedObject(): Promise<V2.Billing.RateCard>;
1024
- }
1025
- export interface PushedV2BillingRateCardCreatedEvent extends V2.EventBase {
1026
- type: 'v2.billing.rate_card.created';
1027
- // Object containing the reference to API resource relevant to the event.
1028
- related_object: Event.RelatedObject;
1029
- // Retrieves the object associated with the event.
1030
- fetchRelatedObject(): Promise<V2.Billing.RateCard>;
1031
- pull(): Promise<V2BillingRateCardCreatedEvent>;
1032
- }
1033
-
1034
- namespace V2BillingRateCardCreatedEvent {
1035
- export interface Data {
1036
- /**
1037
- * Timestamp of when the object was created.
1038
- */
1039
- created: string;
1040
- }
1041
- }
1042
-
1043
- /**
1044
- * Occurs when a RateCard is updated.
1045
- */
1046
- export interface V2BillingRateCardUpdatedEvent extends V2.EventBase {
1047
- type: 'v2.billing.rate_card.updated';
1048
- // Object containing the reference to API resource relevant to the event.
1049
- related_object: Event.RelatedObject;
1050
- // Retrieves the object associated with the event.
1051
- fetchRelatedObject(): Promise<V2.Billing.RateCard>;
1052
- }
1053
- export interface PushedV2BillingRateCardUpdatedEvent extends V2.EventBase {
1054
- type: 'v2.billing.rate_card.updated';
1055
- // Object containing the reference to API resource relevant to the event.
1056
- related_object: Event.RelatedObject;
1057
- // Retrieves the object associated with the event.
1058
- fetchRelatedObject(): Promise<V2.Billing.RateCard>;
1059
- pull(): Promise<V2BillingRateCardUpdatedEvent>;
1060
- }
1061
-
1062
- /**
1063
- * Occurs when a RateCardRate is created.
1064
- */
1065
- export interface V2BillingRateCardRateCreatedEvent extends V2.EventBase {
1066
- type: 'v2.billing.rate_card_rate.created';
1067
- // Retrieves data specific to this event.
1068
- data: V2BillingRateCardRateCreatedEvent.Data;
1069
- // Object containing the reference to API resource relevant to the event.
1070
- related_object: Event.RelatedObject;
1071
- // Retrieves the object associated with the event.
1072
- fetchRelatedObject(): Promise<V2.Billing.RateCardRate>;
1073
- }
1074
- export interface PushedV2BillingRateCardRateCreatedEvent
1075
- extends V2.EventBase {
1076
- type: 'v2.billing.rate_card_rate.created';
1077
- // Object containing the reference to API resource relevant to the event.
1078
- related_object: Event.RelatedObject;
1079
- // Retrieves the object associated with the event.
1080
- fetchRelatedObject(): Promise<V2.Billing.RateCardRate>;
1081
- pull(): Promise<V2BillingRateCardRateCreatedEvent>;
1082
- }
1083
-
1084
- namespace V2BillingRateCardRateCreatedEvent {
1085
- export interface Data {
1086
- /**
1087
- * The ID of the BillableItem which this Rate is associated with.
1088
- */
1089
- billable_item: string;
1090
-
1091
- /**
1092
- * Timestamp of when the object was created.
1093
- */
1094
- created: string;
1095
-
1096
- /**
1097
- * The ID of the RateCard which this Rate belongs to.
1098
- */
1099
- rate_card: string;
1100
-
1101
- /**
1102
- * The ID of the latest RateCard Version when the Rate was created.
1103
- */
1104
- rate_card_version: string;
1105
- }
1106
- }
1107
-
1108
- /**
1109
- * Occurs when a RateCardSubscription is activated.
1110
- */
1111
- export interface V2BillingRateCardSubscriptionActivatedEvent
1112
- extends V2.EventBase {
1113
- type: 'v2.billing.rate_card_subscription.activated';
1114
- // Object containing the reference to API resource relevant to the event.
1115
- related_object: Event.RelatedObject;
1116
- // Retrieves the object associated with the event.
1117
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1118
- }
1119
- export interface PushedV2BillingRateCardSubscriptionActivatedEvent
1120
- extends V2.EventBase {
1121
- type: 'v2.billing.rate_card_subscription.activated';
1122
- // Object containing the reference to API resource relevant to the event.
1123
- related_object: Event.RelatedObject;
1124
- // Retrieves the object associated with the event.
1125
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1126
- pull(): Promise<V2BillingRateCardSubscriptionActivatedEvent>;
1127
- }
1128
-
1129
- /**
1130
- * Occurs when a RateCardSubscription is canceled.
1131
- */
1132
- export interface V2BillingRateCardSubscriptionCanceledEvent
1133
- extends V2.EventBase {
1134
- type: 'v2.billing.rate_card_subscription.canceled';
1135
- // Object containing the reference to API resource relevant to the event.
1136
- related_object: Event.RelatedObject;
1137
- // Retrieves the object associated with the event.
1138
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1139
- }
1140
- export interface PushedV2BillingRateCardSubscriptionCanceledEvent
1141
- extends V2.EventBase {
1142
- type: 'v2.billing.rate_card_subscription.canceled';
1143
- // Object containing the reference to API resource relevant to the event.
1144
- related_object: Event.RelatedObject;
1145
- // Retrieves the object associated with the event.
1146
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1147
- pull(): Promise<V2BillingRateCardSubscriptionCanceledEvent>;
1148
- }
1149
-
1150
- /**
1151
- * Occurs when a RateCardSubscription's collection is awaiting customer action.
1152
- */
1153
- export interface V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent
1154
- extends V2.EventBase {
1155
- type: 'v2.billing.rate_card_subscription.collection_awaiting_customer_action';
1156
- // Object containing the reference to API resource relevant to the event.
1157
- related_object: Event.RelatedObject;
1158
- // Retrieves the object associated with the event.
1159
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1160
- }
1161
- export interface PushedV2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent
1162
- extends V2.EventBase {
1163
- type: 'v2.billing.rate_card_subscription.collection_awaiting_customer_action';
1164
- // Object containing the reference to API resource relevant to the event.
1165
- related_object: Event.RelatedObject;
1166
- // Retrieves the object associated with the event.
1167
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1168
- pull(): Promise<
1169
- V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent
1170
- >;
1171
- }
1172
-
1173
- /**
1174
- * Occurs when a RateCardSubscription's collection is current.
1175
- */
1176
- export interface V2BillingRateCardSubscriptionCollectionCurrentEvent
1177
- extends V2.EventBase {
1178
- type: 'v2.billing.rate_card_subscription.collection_current';
1179
- // Object containing the reference to API resource relevant to the event.
1180
- related_object: Event.RelatedObject;
1181
- // Retrieves the object associated with the event.
1182
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1183
- }
1184
- export interface PushedV2BillingRateCardSubscriptionCollectionCurrentEvent
1185
- extends V2.EventBase {
1186
- type: 'v2.billing.rate_card_subscription.collection_current';
1187
- // Object containing the reference to API resource relevant to the event.
1188
- related_object: Event.RelatedObject;
1189
- // Retrieves the object associated with the event.
1190
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1191
- pull(): Promise<V2BillingRateCardSubscriptionCollectionCurrentEvent>;
1192
- }
1193
-
1194
- /**
1195
- * Occurs when a RateCardSubscription's collection is past due.
1196
- */
1197
- export interface V2BillingRateCardSubscriptionCollectionPastDueEvent
1198
- extends V2.EventBase {
1199
- type: 'v2.billing.rate_card_subscription.collection_past_due';
1200
- // Object containing the reference to API resource relevant to the event.
1201
- related_object: Event.RelatedObject;
1202
- // Retrieves the object associated with the event.
1203
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1204
- }
1205
- export interface PushedV2BillingRateCardSubscriptionCollectionPastDueEvent
1206
- extends V2.EventBase {
1207
- type: 'v2.billing.rate_card_subscription.collection_past_due';
1208
- // Object containing the reference to API resource relevant to the event.
1209
- related_object: Event.RelatedObject;
1210
- // Retrieves the object associated with the event.
1211
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1212
- pull(): Promise<V2BillingRateCardSubscriptionCollectionPastDueEvent>;
1213
- }
1214
-
1215
- /**
1216
- * Occurs when a RateCardSubscription's collection is paused.
1217
- */
1218
- export interface V2BillingRateCardSubscriptionCollectionPausedEvent
1219
- extends V2.EventBase {
1220
- type: 'v2.billing.rate_card_subscription.collection_paused';
1221
- // Object containing the reference to API resource relevant to the event.
1222
- related_object: Event.RelatedObject;
1223
- // Retrieves the object associated with the event.
1224
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1225
- }
1226
- export interface PushedV2BillingRateCardSubscriptionCollectionPausedEvent
1227
- extends V2.EventBase {
1228
- type: 'v2.billing.rate_card_subscription.collection_paused';
1229
- // Object containing the reference to API resource relevant to the event.
1230
- related_object: Event.RelatedObject;
1231
- // Retrieves the object associated with the event.
1232
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1233
- pull(): Promise<V2BillingRateCardSubscriptionCollectionPausedEvent>;
1234
- }
1235
-
1236
- /**
1237
- * Occurs when a RateCardSubscription's collection is unpaid.
1238
- */
1239
- export interface V2BillingRateCardSubscriptionCollectionUnpaidEvent
1240
- extends V2.EventBase {
1241
- type: 'v2.billing.rate_card_subscription.collection_unpaid';
1242
- // Object containing the reference to API resource relevant to the event.
1243
- related_object: Event.RelatedObject;
1244
- // Retrieves the object associated with the event.
1245
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1246
- }
1247
- export interface PushedV2BillingRateCardSubscriptionCollectionUnpaidEvent
1248
- extends V2.EventBase {
1249
- type: 'v2.billing.rate_card_subscription.collection_unpaid';
1250
- // Object containing the reference to API resource relevant to the event.
1251
- related_object: Event.RelatedObject;
1252
- // Retrieves the object associated with the event.
1253
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1254
- pull(): Promise<V2BillingRateCardSubscriptionCollectionUnpaidEvent>;
1255
- }
1256
-
1257
- /**
1258
- * Occurs when RateCardSubscription servicing is activated.
1259
- */
1260
- export interface V2BillingRateCardSubscriptionServicingActivatedEvent
1261
- extends V2.EventBase {
1262
- type: 'v2.billing.rate_card_subscription.servicing_activated';
1263
- // Object containing the reference to API resource relevant to the event.
1264
- related_object: Event.RelatedObject;
1265
- // Retrieves the object associated with the event.
1266
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1267
- }
1268
- export interface PushedV2BillingRateCardSubscriptionServicingActivatedEvent
1269
- extends V2.EventBase {
1270
- type: 'v2.billing.rate_card_subscription.servicing_activated';
1271
- // Object containing the reference to API resource relevant to the event.
1272
- related_object: Event.RelatedObject;
1273
- // Retrieves the object associated with the event.
1274
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1275
- pull(): Promise<V2BillingRateCardSubscriptionServicingActivatedEvent>;
1276
- }
1277
-
1278
- /**
1279
- * Occurs when RateCardSubscription servicing is canceled.
1280
- */
1281
- export interface V2BillingRateCardSubscriptionServicingCanceledEvent
1282
- extends V2.EventBase {
1283
- type: 'v2.billing.rate_card_subscription.servicing_canceled';
1284
- // Object containing the reference to API resource relevant to the event.
1285
- related_object: Event.RelatedObject;
1286
- // Retrieves the object associated with the event.
1287
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1288
- }
1289
- export interface PushedV2BillingRateCardSubscriptionServicingCanceledEvent
1290
- extends V2.EventBase {
1291
- type: 'v2.billing.rate_card_subscription.servicing_canceled';
1292
- // Object containing the reference to API resource relevant to the event.
1293
- related_object: Event.RelatedObject;
1294
- // Retrieves the object associated with the event.
1295
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1296
- pull(): Promise<V2BillingRateCardSubscriptionServicingCanceledEvent>;
1297
- }
1298
-
1299
- /**
1300
- * Occurs when RateCardSubscription servicing is paused.
1301
- */
1302
- export interface V2BillingRateCardSubscriptionServicingPausedEvent
1303
- extends V2.EventBase {
1304
- type: 'v2.billing.rate_card_subscription.servicing_paused';
1305
- // Object containing the reference to API resource relevant to the event.
1306
- related_object: Event.RelatedObject;
1307
- // Retrieves the object associated with the event.
1308
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1309
- }
1310
- export interface PushedV2BillingRateCardSubscriptionServicingPausedEvent
1311
- extends V2.EventBase {
1312
- type: 'v2.billing.rate_card_subscription.servicing_paused';
1313
- // Object containing the reference to API resource relevant to the event.
1314
- related_object: Event.RelatedObject;
1315
- // Retrieves the object associated with the event.
1316
- fetchRelatedObject(): Promise<V2.Billing.RateCardSubscription>;
1317
- pull(): Promise<V2BillingRateCardSubscriptionServicingPausedEvent>;
1318
- }
1319
-
1320
- /**
1321
- * Occurs when a RateCardVersion is created.
1322
- */
1323
- export interface V2BillingRateCardVersionCreatedEvent extends V2.EventBase {
1324
- type: 'v2.billing.rate_card_version.created';
1325
- // Retrieves data specific to this event.
1326
- data: V2BillingRateCardVersionCreatedEvent.Data;
1327
- // Object containing the reference to API resource relevant to the event.
1328
- related_object: Event.RelatedObject;
1329
- // Retrieves the object associated with the event.
1330
- fetchRelatedObject(): Promise<V2.Billing.RateCardVersion>;
1331
- }
1332
- export interface PushedV2BillingRateCardVersionCreatedEvent
1333
- extends V2.EventBase {
1334
- type: 'v2.billing.rate_card_version.created';
1335
- // Object containing the reference to API resource relevant to the event.
1336
- related_object: Event.RelatedObject;
1337
- // Retrieves the object associated with the event.
1338
- fetchRelatedObject(): Promise<V2.Billing.RateCardVersion>;
1339
- pull(): Promise<V2BillingRateCardVersionCreatedEvent>;
1340
- }
1341
-
1342
- namespace V2BillingRateCardVersionCreatedEvent {
1343
- export interface Data {
1344
- /**
1345
- * The ID of the RateCard that the RateCardVersion belongs to.
1346
- */
1347
- rate_card_id: string;
1348
- }
1349
- }
1350
-
1351
- /**
1352
- * This event occurs when an account is closed.
1353
- */
1354
- export interface V2CoreAccountClosedEvent extends V2.EventBase {
1355
- type: 'v2.core.account.closed';
1356
- // Object containing the reference to API resource relevant to the event.
1357
- related_object: Event.RelatedObject;
1358
- // Retrieves the object associated with the event.
1359
- fetchRelatedObject(): Promise<V2.Core.Account>;
1360
- }
1361
- export interface PushedV2CoreAccountClosedEvent extends V2.EventBase {
1362
- type: 'v2.core.account.closed';
1363
- // Object containing the reference to API resource relevant to the event.
1364
- related_object: Event.RelatedObject;
1365
- // Retrieves the object associated with the event.
1366
- fetchRelatedObject(): Promise<V2.Core.Account>;
1367
- pull(): Promise<V2CoreAccountClosedEvent>;
1368
- }
1369
-
1370
- /**
1371
- * Occurs when an Account is created.
1372
- */
1373
- export interface V2CoreAccountCreatedEvent extends V2.EventBase {
1374
- type: 'v2.core.account.created';
1375
- // Object containing the reference to API resource relevant to the event.
1376
- related_object: Event.RelatedObject;
1377
- // Retrieves the object associated with the event.
1378
- fetchRelatedObject(): Promise<V2.Core.Account>;
1379
- }
1380
- export interface PushedV2CoreAccountCreatedEvent extends V2.EventBase {
1381
- type: 'v2.core.account.created';
1382
- // Object containing the reference to API resource relevant to the event.
1383
- related_object: Event.RelatedObject;
1384
- // Retrieves the object associated with the event.
1385
- fetchRelatedObject(): Promise<V2.Core.Account>;
1386
- pull(): Promise<V2CoreAccountCreatedEvent>;
1387
- }
1388
-
1389
- /**
1390
- * Occurs when an Account is updated.
1391
- */
1392
- export interface V2CoreAccountUpdatedEvent extends V2.EventBase {
1393
- type: 'v2.core.account.updated';
1394
- // Object containing the reference to API resource relevant to the event.
1395
- related_object: Event.RelatedObject;
1396
- // Retrieves the object associated with the event.
1397
- fetchRelatedObject(): Promise<V2.Core.Account>;
1398
- }
1399
- export interface PushedV2CoreAccountUpdatedEvent extends V2.EventBase {
1400
- type: 'v2.core.account.updated';
1401
- // Object containing the reference to API resource relevant to the event.
1402
- related_object: Event.RelatedObject;
1403
- // Retrieves the object associated with the event.
1404
- fetchRelatedObject(): Promise<V2.Core.Account>;
1405
- pull(): Promise<V2CoreAccountUpdatedEvent>;
1406
- }
1407
-
1408
- /**
1409
- * Occurs when the status of an Account's customer configuration capability is updated.
1410
- */
1411
- export interface V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
1412
- extends V2.EventBase {
1413
- type: 'v2.core.account[configuration.customer].capability_status_updated';
1414
- // Retrieves data specific to this event.
1415
- data: V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent.Data;
1416
- // Object containing the reference to API resource relevant to the event.
1417
- related_object: Event.RelatedObject;
1418
- // Retrieves the object associated with the event.
1419
- fetchRelatedObject(): Promise<V2.Core.Account>;
1420
- }
1421
- export interface PushedV2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
1422
- extends V2.EventBase {
1423
- type: 'v2.core.account[configuration.customer].capability_status_updated';
1424
- // Object containing the reference to API resource relevant to the event.
1425
- related_object: Event.RelatedObject;
1426
- // Retrieves the object associated with the event.
1427
- fetchRelatedObject(): Promise<V2.Core.Account>;
1428
- pull(): Promise<
1429
- V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
1430
- >;
1431
- }
1432
-
1433
- namespace V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent {
1434
- export interface Data {
1435
- /**
1436
- * Open Enum. The capability which had its status updated.
1437
- */
1438
- updated_capability: 'automatic_indirect_tax';
1439
- }
1440
- }
1441
-
1442
- /**
1443
- * Occurs when an Account's customer configuration is updated.
1444
- */
1445
- export interface V2CoreAccountIncludingConfigurationCustomerUpdatedEvent
1446
- extends V2.EventBase {
1447
- type: 'v2.core.account[configuration.customer].updated';
1448
- // Object containing the reference to API resource relevant to the event.
1449
- related_object: Event.RelatedObject;
1450
- // Retrieves the object associated with the event.
1451
- fetchRelatedObject(): Promise<V2.Core.Account>;
1452
- }
1453
- export interface PushedV2CoreAccountIncludingConfigurationCustomerUpdatedEvent
1454
- extends V2.EventBase {
1455
- type: 'v2.core.account[configuration.customer].updated';
1456
- // Object containing the reference to API resource relevant to the event.
1457
- related_object: Event.RelatedObject;
1458
- // Retrieves the object associated with the event.
1459
- fetchRelatedObject(): Promise<V2.Core.Account>;
1460
- pull(): Promise<V2CoreAccountIncludingConfigurationCustomerUpdatedEvent>;
1461
- }
1462
-
1463
- /**
1464
- * Occurs when the status of an Account's merchant configuration capability is updated.
1465
- */
1466
- export interface V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
1467
- extends V2.EventBase {
1468
- type: 'v2.core.account[configuration.merchant].capability_status_updated';
1469
- // Retrieves data specific to this event.
1470
- data: V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.Data;
1471
- // Object containing the reference to API resource relevant to the event.
1472
- related_object: Event.RelatedObject;
1473
- // Retrieves the object associated with the event.
1474
- fetchRelatedObject(): Promise<V2.Core.Account>;
1475
- }
1476
- export interface PushedV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
1477
- extends V2.EventBase {
1478
- type: 'v2.core.account[configuration.merchant].capability_status_updated';
1479
- // Object containing the reference to API resource relevant to the event.
1480
- related_object: Event.RelatedObject;
1481
- // Retrieves the object associated with the event.
1482
- fetchRelatedObject(): Promise<V2.Core.Account>;
1483
- pull(): Promise<
1484
- V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
1485
- >;
1486
- }
1487
-
1488
- namespace V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent {
1489
- export interface Data {
1490
- /**
1491
- * Open Enum. The capability which had its status updated.
1492
- */
1493
- updated_capability: Data.UpdatedCapability;
1494
- }
1495
-
1496
- namespace Data {
1497
- export type UpdatedCapability =
1498
- | 'ach_debit_payments'
1499
- | 'acss_debit_payments'
1500
- | 'affirm_payments'
1501
- | 'afterpay_clearpay_payments'
1502
- | 'alma_payments'
1503
- | 'amazon_pay_payments'
1504
- | 'au_becs_debit_payments'
1505
- | 'bacs_debit_payments'
1506
- | 'bancontact_payments'
1507
- | 'blik_payments'
1508
- | 'boleto_payments'
1509
- | 'card_payments'
1510
- | 'cartes_bancaires_payments'
1511
- | 'cashapp_payments'
1512
- | 'eps_payments'
1513
- | 'fpx_payments'
1514
- | 'gb_bank_transfer_payments'
1515
- | 'grabpay_payments'
1516
- | 'ideal_payments'
1517
- | 'jcb_payments'
1518
- | 'jp_bank_transfer_payments'
1519
- | 'kakao_pay_payments'
1520
- | 'klarna_payments'
1521
- | 'konbini_payments'
1522
- | 'kr_card_payments'
1523
- | 'link_payments'
1524
- | 'mobilepay_payments'
1525
- | 'multibanco_payments'
1526
- | 'mx_bank_transfer_payments'
1527
- | 'naver_pay_payments'
1528
- | 'oxxo_payments'
1529
- | 'p24_payments'
1530
- | 'payco_payments'
1531
- | 'paynow_payments'
1532
- | 'stripe_balance.payouts'
1533
- | 'pay_by_bank_payments'
1534
- | 'promptpay_payments'
1535
- | 'revolut_pay_payments'
1536
- | 'samsung_pay_payments'
1537
- | 'sepa_bank_transfer_payments'
1538
- | 'sepa_debit_payments'
1539
- | 'swish_payments'
1540
- | 'twint_payments'
1541
- | 'us_bank_transfer_payments'
1542
- | 'zip_payments';
1543
- }
1544
- }
1545
-
1546
- /**
1547
- * Occurs when an Account's merchant configuration is updated.
1548
- */
1549
- export interface V2CoreAccountIncludingConfigurationMerchantUpdatedEvent
1550
- extends V2.EventBase {
1551
- type: 'v2.core.account[configuration.merchant].updated';
1552
- // Object containing the reference to API resource relevant to the event.
1553
- related_object: Event.RelatedObject;
1554
- // Retrieves the object associated with the event.
1555
- fetchRelatedObject(): Promise<V2.Core.Account>;
1556
- }
1557
- export interface PushedV2CoreAccountIncludingConfigurationMerchantUpdatedEvent
1558
- extends V2.EventBase {
1559
- type: 'v2.core.account[configuration.merchant].updated';
1560
- // Object containing the reference to API resource relevant to the event.
1561
- related_object: Event.RelatedObject;
1562
- // Retrieves the object associated with the event.
1563
- fetchRelatedObject(): Promise<V2.Core.Account>;
1564
- pull(): Promise<V2CoreAccountIncludingConfigurationMerchantUpdatedEvent>;
1565
- }
1566
-
1567
- /**
1568
- * Occurs when the status of an Account's recipient configuration capability is updated.
1569
- */
1570
- export interface V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
1571
- extends V2.EventBase {
1572
- type: 'v2.core.account[configuration.recipient].capability_status_updated';
1573
- // Retrieves data specific to this event.
1574
- data: V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.Data;
1575
- // Object containing the reference to API resource relevant to the event.
1576
- related_object: Event.RelatedObject;
1577
- // Retrieves the object associated with the event.
1578
- fetchRelatedObject(): Promise<V2.Core.Account>;
1579
- }
1580
- export interface PushedV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
1581
- extends V2.EventBase {
1582
- type: 'v2.core.account[configuration.recipient].capability_status_updated';
1583
- // Object containing the reference to API resource relevant to the event.
1584
- related_object: Event.RelatedObject;
1585
- // Retrieves the object associated with the event.
1586
- fetchRelatedObject(): Promise<V2.Core.Account>;
1587
- pull(): Promise<
1588
- V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
1589
- >;
1590
- }
1591
-
1592
- namespace V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent {
1593
- export interface Data {
1594
- /**
1595
- * Open Enum. The capability which had its status updated.
1596
- */
1597
- updated_capability: Data.UpdatedCapability;
1598
- }
1599
-
1600
- namespace Data {
1601
- export type UpdatedCapability =
1602
- | 'bank_accounts.local'
1603
- | 'bank_accounts.wire'
1604
- | 'cards'
1605
- | 'stripe_balance.payouts'
1606
- | 'stripe_balance.stripe_transfers'
1607
- | 'stripe.transfers';
1608
- }
1609
- }
1610
-
1611
- /**
1612
- * Occurs when a Recipient's configuration is updated.
1613
- */
1614
- export interface V2CoreAccountIncludingConfigurationRecipientUpdatedEvent
1615
- extends V2.EventBase {
1616
- type: 'v2.core.account[configuration.recipient].updated';
1617
- // Object containing the reference to API resource relevant to the event.
1618
- related_object: Event.RelatedObject;
1619
- // Retrieves the object associated with the event.
1620
- fetchRelatedObject(): Promise<V2.Core.Account>;
1621
- }
1622
- export interface PushedV2CoreAccountIncludingConfigurationRecipientUpdatedEvent
1623
- extends V2.EventBase {
1624
- type: 'v2.core.account[configuration.recipient].updated';
1625
- // Object containing the reference to API resource relevant to the event.
1626
- related_object: Event.RelatedObject;
1627
- // Retrieves the object associated with the event.
1628
- fetchRelatedObject(): Promise<V2.Core.Account>;
1629
- pull(): Promise<V2CoreAccountIncludingConfigurationRecipientUpdatedEvent>;
1630
- }
1631
-
1632
- /**
1633
- * Occurs when the status of an Account's storer configuration capability is updated.
1634
- */
1635
- export interface V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent
1636
- extends V2.EventBase {
1637
- type: 'v2.core.account[configuration.storer].capability_status_updated';
1638
- // Retrieves data specific to this event.
1639
- data: V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.Data;
1640
- // Object containing the reference to API resource relevant to the event.
1641
- related_object: Event.RelatedObject;
1642
- // Retrieves the object associated with the event.
1643
- fetchRelatedObject(): Promise<V2.Core.Account>;
1644
- }
1645
- export interface PushedV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent
1646
- extends V2.EventBase {
1647
- type: 'v2.core.account[configuration.storer].capability_status_updated';
1648
- // Object containing the reference to API resource relevant to the event.
1649
- related_object: Event.RelatedObject;
1650
- // Retrieves the object associated with the event.
1651
- fetchRelatedObject(): Promise<V2.Core.Account>;
1652
- pull(): Promise<
1653
- V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent
1654
- >;
1655
- }
1656
-
1657
- namespace V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent {
1658
- export interface Data {
1659
- /**
1660
- * Open Enum. The capability which had its status updated.
1661
- */
1662
- updated_capability: Data.UpdatedCapability;
1663
- }
1664
-
1665
- namespace Data {
1666
- export type UpdatedCapability =
1667
- | 'financial_addressses.bank_accounts'
1668
- | 'holds_currencies.eur'
1669
- | 'holds_currencies.gbp'
1670
- | 'holds_currencies.usd'
1671
- | 'inbound_transfers.bank_accounts'
1672
- | 'outbound_payments.bank_accounts'
1673
- | 'outbound_payments.cards'
1674
- | 'outbound_payments.financial_accounts'
1675
- | 'outbound_transfers.bank_accounts'
1676
- | 'outbound_transfers.financial_accounts';
1677
- }
1678
- }
1679
-
1680
- /**
1681
- * Occurs when a Storer's configuration is updated.
1682
- */
1683
- export interface V2CoreAccountIncludingConfigurationStorerUpdatedEvent
1684
- extends V2.EventBase {
1685
- type: 'v2.core.account[configuration.storer].updated';
1686
- // Object containing the reference to API resource relevant to the event.
1687
- related_object: Event.RelatedObject;
1688
- // Retrieves the object associated with the event.
1689
- fetchRelatedObject(): Promise<V2.Core.Account>;
1690
- }
1691
- export interface PushedV2CoreAccountIncludingConfigurationStorerUpdatedEvent
1692
- extends V2.EventBase {
1693
- type: 'v2.core.account[configuration.storer].updated';
1694
- // Object containing the reference to API resource relevant to the event.
1695
- related_object: Event.RelatedObject;
1696
- // Retrieves the object associated with the event.
1697
- fetchRelatedObject(): Promise<V2.Core.Account>;
1698
- pull(): Promise<V2CoreAccountIncludingConfigurationStorerUpdatedEvent>;
1699
- }
1700
-
1701
- /**
1702
- * This event occurs when account defaults are created or updated.
1703
- */
1704
- export interface V2CoreAccountIncludingDefaultsUpdatedEvent
1705
- extends V2.EventBase {
1706
- type: 'v2.core.account[defaults].updated';
1707
- // Object containing the reference to API resource relevant to the event.
1708
- related_object: Event.RelatedObject;
1709
- // Retrieves the object associated with the event.
1710
- fetchRelatedObject(): Promise<V2.Core.Account>;
1711
- }
1712
- export interface PushedV2CoreAccountIncludingDefaultsUpdatedEvent
1713
- extends V2.EventBase {
1714
- type: 'v2.core.account[defaults].updated';
1715
- // Object containing the reference to API resource relevant to the event.
1716
- related_object: Event.RelatedObject;
1717
- // Retrieves the object associated with the event.
1718
- fetchRelatedObject(): Promise<V2.Core.Account>;
1719
- pull(): Promise<V2CoreAccountIncludingDefaultsUpdatedEvent>;
1720
- }
1721
-
1722
- /**
1723
- * Occurs when an Identity is updated.
1724
- */
1725
- export interface V2CoreAccountIncludingIdentityUpdatedEvent
1726
- extends V2.EventBase {
1727
- type: 'v2.core.account[identity].updated';
1728
- // Object containing the reference to API resource relevant to the event.
1729
- related_object: Event.RelatedObject;
1730
- // Retrieves the object associated with the event.
1731
- fetchRelatedObject(): Promise<V2.Core.Account>;
1732
- }
1733
- export interface PushedV2CoreAccountIncludingIdentityUpdatedEvent
1734
- extends V2.EventBase {
1735
- type: 'v2.core.account[identity].updated';
1736
- // Object containing the reference to API resource relevant to the event.
1737
- related_object: Event.RelatedObject;
1738
- // Retrieves the object associated with the event.
1739
- fetchRelatedObject(): Promise<V2.Core.Account>;
1740
- pull(): Promise<V2CoreAccountIncludingIdentityUpdatedEvent>;
1741
- }
1742
-
1743
- /**
1744
- * Occurs when an Account's requirements are updated.
1745
- */
1746
- export interface V2CoreAccountIncludingRequirementsUpdatedEvent
1747
- extends V2.EventBase {
1748
- type: 'v2.core.account[requirements].updated';
1749
- // Object containing the reference to API resource relevant to the event.
1750
- related_object: Event.RelatedObject;
1751
- // Retrieves the object associated with the event.
1752
- fetchRelatedObject(): Promise<V2.Core.Account>;
1753
- }
1754
- export interface PushedV2CoreAccountIncludingRequirementsUpdatedEvent
1755
- extends V2.EventBase {
1756
- type: 'v2.core.account[requirements].updated';
1757
- // Object containing the reference to API resource relevant to the event.
1758
- related_object: Event.RelatedObject;
1759
- // Retrieves the object associated with the event.
1760
- fetchRelatedObject(): Promise<V2.Core.Account>;
1761
- pull(): Promise<V2CoreAccountIncludingRequirementsUpdatedEvent>;
1762
- }
1763
-
1764
- /**
1765
- * Occurs when the generated AccountLink is completed.
1766
- */
1767
- export interface V2CoreAccountLinkReturnedEvent extends V2.EventBase {
1768
- type: 'v2.core.account_link.returned';
1769
- // Retrieves data specific to this event.
1770
- data: V2CoreAccountLinkReturnedEvent.Data;
1771
- }
1772
- export interface PushedV2CoreAccountLinkReturnedEvent extends V2.EventBase {
1773
- type: 'v2.core.account_link.returned';
1774
- pull(): Promise<V2CoreAccountLinkReturnedEvent>;
1775
- }
1776
-
1777
- namespace V2CoreAccountLinkReturnedEvent {
1778
- export interface Data {
1779
- /**
1780
- * The ID of the v2 account.
1781
- */
1782
- account_id: string;
1783
-
1784
- /**
1785
- * Configurations on the Account that was onboarded via the account link.
1786
- */
1787
- configurations: Array<Data.Configuration>;
1788
-
1789
- /**
1790
- * Open Enum. The use case type of the account link that has been completed.
1791
- */
1792
- use_case: Data.UseCase;
1793
- }
1794
-
1795
- namespace Data {
1796
- export type Configuration =
1797
- | 'customer'
1798
- | 'merchant'
1799
- | 'recipient'
1800
- | 'storer';
1801
-
1802
- export type UseCase = 'account_onboarding' | 'account_update';
1803
- }
1804
- }
1805
-
1806
- /**
1807
- * Occurs when a Person is created.
1808
- */
1809
- export interface V2CoreAccountPersonCreatedEvent extends V2.EventBase {
1810
- type: 'v2.core.account_person.created';
1811
- // Retrieves data specific to this event.
1812
- data: V2CoreAccountPersonCreatedEvent.Data;
1813
- // Object containing the reference to API resource relevant to the event.
1814
- related_object: Event.RelatedObject;
1815
- // Retrieves the object associated with the event.
1816
- fetchRelatedObject(): Promise<V2.Core.Person>;
1817
- }
1818
- export interface PushedV2CoreAccountPersonCreatedEvent
1819
- extends V2.EventBase {
1820
- type: 'v2.core.account_person.created';
1821
- // Object containing the reference to API resource relevant to the event.
1822
- related_object: Event.RelatedObject;
1823
- // Retrieves the object associated with the event.
1824
- fetchRelatedObject(): Promise<V2.Core.Person>;
1825
- pull(): Promise<V2CoreAccountPersonCreatedEvent>;
1826
- }
1827
-
1828
- namespace V2CoreAccountPersonCreatedEvent {
1829
- export interface Data {
1830
- /**
1831
- * The ID of the v2 account.
1832
- */
1833
- account_id: string;
1834
- }
1835
- }
1836
-
1837
- /**
1838
- * Occurs when a Person is deleted.
1839
- */
1840
- export interface V2CoreAccountPersonDeletedEvent extends V2.EventBase {
1841
- type: 'v2.core.account_person.deleted';
1842
- // Retrieves data specific to this event.
1843
- data: V2CoreAccountPersonDeletedEvent.Data;
1844
- // Object containing the reference to API resource relevant to the event.
1845
- related_object: Event.RelatedObject;
1846
- // Retrieves the object associated with the event.
1847
- fetchRelatedObject(): Promise<V2.Core.Person>;
1848
- }
1849
- export interface PushedV2CoreAccountPersonDeletedEvent
1850
- extends V2.EventBase {
1851
- type: 'v2.core.account_person.deleted';
1852
- // Object containing the reference to API resource relevant to the event.
1853
- related_object: Event.RelatedObject;
1854
- // Retrieves the object associated with the event.
1855
- fetchRelatedObject(): Promise<V2.Core.Person>;
1856
- pull(): Promise<V2CoreAccountPersonDeletedEvent>;
1857
- }
1858
-
1859
- namespace V2CoreAccountPersonDeletedEvent {
1860
- export interface Data {
1861
- /**
1862
- * The ID of the v2 account.
1863
- */
1864
- account_id: string;
1865
- }
1866
- }
1867
-
1868
- /**
1869
- * Occurs when a Person is updated.
1870
- */
1871
- export interface V2CoreAccountPersonUpdatedEvent extends V2.EventBase {
1872
- type: 'v2.core.account_person.updated';
1873
- // Retrieves data specific to this event.
1874
- data: V2CoreAccountPersonUpdatedEvent.Data;
1875
- // Object containing the reference to API resource relevant to the event.
1876
- related_object: Event.RelatedObject;
1877
- // Retrieves the object associated with the event.
1878
- fetchRelatedObject(): Promise<V2.Core.Person>;
1879
- }
1880
- export interface PushedV2CoreAccountPersonUpdatedEvent
1881
- extends V2.EventBase {
1882
- type: 'v2.core.account_person.updated';
1883
- // Object containing the reference to API resource relevant to the event.
1884
- related_object: Event.RelatedObject;
1885
- // Retrieves the object associated with the event.
1886
- fetchRelatedObject(): Promise<V2.Core.Person>;
1887
- pull(): Promise<V2CoreAccountPersonUpdatedEvent>;
1888
- }
1889
-
1890
- namespace V2CoreAccountPersonUpdatedEvent {
1891
- export interface Data {
1892
- /**
1893
- * The ID of the v2 account.
1894
- */
1895
- account_id: string;
1896
- }
1897
- }
1898
-
1899
- /**
1900
- * Occurs when a claimable sandbox is claimed.
1901
- */
1902
- export interface V2CoreClaimableSandboxClaimedEvent extends V2.EventBase {
1903
- type: 'v2.core.claimable_sandbox.claimed';
1904
- // Object containing the reference to API resource relevant to the event.
1905
- related_object: Event.RelatedObject;
1906
- // Retrieves the object associated with the event.
1907
- fetchRelatedObject(): Promise<V2.Core.ClaimableSandbox>;
1908
- }
1909
- export interface PushedV2CoreClaimableSandboxClaimedEvent
1910
- extends V2.EventBase {
1911
- type: 'v2.core.claimable_sandbox.claimed';
1912
- // Object containing the reference to API resource relevant to the event.
1913
- related_object: Event.RelatedObject;
1914
- // Retrieves the object associated with the event.
1915
- fetchRelatedObject(): Promise<V2.Core.ClaimableSandbox>;
1916
- pull(): Promise<V2CoreClaimableSandboxClaimedEvent>;
1917
- }
1918
-
1919
- /**
1920
- * Occurs when a claimable sandbox expires.
1921
- */
1922
- export interface V2CoreClaimableSandboxExpiredEvent extends V2.EventBase {
1923
- type: 'v2.core.claimable_sandbox.expired';
1924
- // Object containing the reference to API resource relevant to the event.
1925
- related_object: Event.RelatedObject;
1926
- // Retrieves the object associated with the event.
1927
- fetchRelatedObject(): Promise<V2.Core.ClaimableSandbox>;
1928
- }
1929
- export interface PushedV2CoreClaimableSandboxExpiredEvent
1930
- extends V2.EventBase {
1931
- type: 'v2.core.claimable_sandbox.expired';
1932
- // Object containing the reference to API resource relevant to the event.
1933
- related_object: Event.RelatedObject;
1934
- // Retrieves the object associated with the event.
1935
- fetchRelatedObject(): Promise<V2.Core.ClaimableSandbox>;
1936
- pull(): Promise<V2CoreClaimableSandboxExpiredEvent>;
1937
- }
1938
-
1939
- /**
1940
- * Occurs when a claimable sandbox is expiring in 7 days.
1941
- */
1942
- export interface V2CoreClaimableSandboxExpiringEvent extends V2.EventBase {
1943
- type: 'v2.core.claimable_sandbox.expiring';
1944
- // Object containing the reference to API resource relevant to the event.
1945
- related_object: Event.RelatedObject;
1946
- // Retrieves the object associated with the event.
1947
- fetchRelatedObject(): Promise<V2.Core.ClaimableSandbox>;
1948
- }
1949
- export interface PushedV2CoreClaimableSandboxExpiringEvent
1950
- extends V2.EventBase {
1951
- type: 'v2.core.claimable_sandbox.expiring';
1952
- // Object containing the reference to API resource relevant to the event.
1953
- related_object: Event.RelatedObject;
1954
- // Retrieves the object associated with the event.
1955
- fetchRelatedObject(): Promise<V2.Core.ClaimableSandbox>;
1956
- pull(): Promise<V2CoreClaimableSandboxExpiringEvent>;
1957
- }
1958
-
1959
- /**
1960
- * Occurs when a claimable sandbox is activated by the user with the intention to go live and your Stripe app is installed on the live account.
1961
- */
1962
- export interface V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent
1963
- extends V2.EventBase {
1964
- type: 'v2.core.claimable_sandbox.sandbox_details_owner_account_updated';
1965
- // Object containing the reference to API resource relevant to the event.
1966
- related_object: Event.RelatedObject;
1967
- // Retrieves the object associated with the event.
1968
- fetchRelatedObject(): Promise<V2.Core.ClaimableSandbox>;
1969
- }
1970
- export interface PushedV2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent
1971
- extends V2.EventBase {
1972
- type: 'v2.core.claimable_sandbox.sandbox_details_owner_account_updated';
1973
- // Object containing the reference to API resource relevant to the event.
1974
- related_object: Event.RelatedObject;
1975
- // Retrieves the object associated with the event.
1976
- fetchRelatedObject(): Promise<V2.Core.ClaimableSandbox>;
1977
- pull(): Promise<
1978
- V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent
1979
- >;
1980
- }
1981
-
1982
- /**
1983
- * A ping event used to test the connection to an EventDestination.
1984
- */
1985
- export interface V2CoreEventDestinationPingEvent extends V2.EventBase {
1986
- type: 'v2.core.event_destination.ping';
1987
- // Object containing the reference to API resource relevant to the event.
1988
- related_object: Event.RelatedObject;
1989
- // Retrieves the object associated with the event.
1990
- fetchRelatedObject(): Promise<V2.EventDestination>;
1991
- }
1992
- export interface PushedV2CoreEventDestinationPingEvent
1993
- extends V2.EventBase {
1994
- type: 'v2.core.event_destination.ping';
1995
- // Object containing the reference to API resource relevant to the event.
1996
- related_object: Event.RelatedObject;
1997
- // Retrieves the object associated with the event.
1998
- fetchRelatedObject(): Promise<V2.EventDestination>;
1999
- pull(): Promise<V2CoreEventDestinationPingEvent>;
2000
- }
2001
-
2002
- /**
2003
- * Occurs when an API error alert is firing.
2004
- */
2005
- export interface V2CoreHealthApiErrorFiringEvent extends V2.EventBase {
2006
- type: 'v2.core.health.api_error.firing';
2007
- // Retrieves data specific to this event.
2008
- data: V2CoreHealthApiErrorFiringEvent.Data;
2009
- }
2010
- export interface PushedV2CoreHealthApiErrorFiringEvent
2011
- extends V2.EventBase {
2012
- type: 'v2.core.health.api_error.firing';
2013
- pull(): Promise<V2CoreHealthApiErrorFiringEvent>;
2014
- }
2015
-
2016
- namespace V2CoreHealthApiErrorFiringEvent {
2017
- export interface Data {
2018
- /**
2019
- * The alert ID.
2020
- */
2021
- alert_id: string;
2022
-
2023
- /**
2024
- * The grouping key for the alert.
2025
- */
2026
- grouping_key: string;
2027
-
2028
- /**
2029
- * The user impact.
2030
- */
2031
- impact: Data.Impact;
2032
-
2033
- /**
2034
- * The time when impact on the user experience was first detected.
2035
- */
2036
- started_at: string;
2037
-
2038
- /**
2039
- * A short description of the alert.
2040
- */
2041
- summary: string;
2042
- }
2043
-
2044
- namespace Data {
2045
- export interface Impact {
2046
- /**
2047
- * The canonical path.
2048
- */
2049
- canonical_path: string;
2050
-
2051
- /**
2052
- * The error code.
2053
- */
2054
- error_code: string | null;
2055
-
2056
- /**
2057
- * The HTTP method.
2058
- */
2059
- http_method: Impact.HttpMethod;
2060
-
2061
- /**
2062
- * The HTTP status.
2063
- */
2064
- http_status: string;
2065
-
2066
- /**
2067
- * The number of impacted requests.
2068
- */
2069
- impacted_requests: number;
2070
- }
2071
-
2072
- namespace Impact {
2073
- export type HttpMethod = 'DELETE' | 'GET' | 'POST' | 'PUT';
2074
- }
2075
- }
2076
- }
2077
-
2078
- /**
2079
- * Occurs when an API error alert is resolved.
2080
- */
2081
- export interface V2CoreHealthApiErrorResolvedEvent extends V2.EventBase {
2082
- type: 'v2.core.health.api_error.resolved';
2083
- // Retrieves data specific to this event.
2084
- data: V2CoreHealthApiErrorResolvedEvent.Data;
2085
- }
2086
- export interface PushedV2CoreHealthApiErrorResolvedEvent
2087
- extends V2.EventBase {
2088
- type: 'v2.core.health.api_error.resolved';
2089
- pull(): Promise<V2CoreHealthApiErrorResolvedEvent>;
2090
- }
2091
-
2092
- namespace V2CoreHealthApiErrorResolvedEvent {
2093
- export interface Data {
2094
- /**
2095
- * The alert ID.
2096
- */
2097
- alert_id: string;
2098
-
2099
- /**
2100
- * The grouping key for the alert.
2101
- */
2102
- grouping_key: string;
2103
-
2104
- /**
2105
- * The user impact.
2106
- */
2107
- impact: Data.Impact;
2108
-
2109
- /**
2110
- * The time when the user experience has returned to expected levels.
2111
- */
2112
- resolved_at: string;
2113
-
2114
- /**
2115
- * The time when impact on the user experience was first detected.
2116
- */
2117
- started_at: string;
2118
-
2119
- /**
2120
- * A short description of the alert.
2121
- */
2122
- summary: string;
2123
- }
2124
-
2125
- namespace Data {
2126
- export interface Impact {
2127
- /**
2128
- * The canonical path.
2129
- */
2130
- canonical_path: string;
2131
-
2132
- /**
2133
- * The error code.
2134
- */
2135
- error_code: string | null;
2136
-
2137
- /**
2138
- * The HTTP method.
2139
- */
2140
- http_method: Impact.HttpMethod;
2141
-
2142
- /**
2143
- * The HTTP status.
2144
- */
2145
- http_status: string;
2146
-
2147
- /**
2148
- * The number of impacted requests.
2149
- */
2150
- impacted_requests: number;
2151
- }
2152
-
2153
- namespace Impact {
2154
- export type HttpMethod = 'DELETE' | 'GET' | 'POST' | 'PUT';
2155
- }
2156
- }
2157
- }
2158
-
2159
- /**
2160
- * Occurs when an API latency alert is firing.
2161
- */
2162
- export interface V2CoreHealthApiLatencyFiringEvent extends V2.EventBase {
2163
- type: 'v2.core.health.api_latency.firing';
2164
- // Retrieves data specific to this event.
2165
- data: V2CoreHealthApiLatencyFiringEvent.Data;
2166
- }
2167
- export interface PushedV2CoreHealthApiLatencyFiringEvent
2168
- extends V2.EventBase {
2169
- type: 'v2.core.health.api_latency.firing';
2170
- pull(): Promise<V2CoreHealthApiLatencyFiringEvent>;
2171
- }
2172
-
2173
- namespace V2CoreHealthApiLatencyFiringEvent {
2174
- export interface Data {
2175
- /**
2176
- * The alert ID.
2177
- */
2178
- alert_id: string;
2179
-
2180
- /**
2181
- * The grouping key for the alert.
2182
- */
2183
- grouping_key: string;
2184
-
2185
- /**
2186
- * The user impact.
2187
- */
2188
- impact: Data.Impact;
2189
-
2190
- /**
2191
- * The time when impact on the user experience was first detected.
2192
- */
2193
- started_at: string;
2194
-
2195
- /**
2196
- * A short description of the alert.
2197
- */
2198
- summary: string;
2199
- }
2200
-
2201
- namespace Data {
2202
- export interface Impact {
2203
- /**
2204
- * The canonical path.
2205
- */
2206
- canonical_path: string;
2207
-
2208
- /**
2209
- * The HTTP method.
2210
- */
2211
- http_method: Impact.HttpMethod;
2212
-
2213
- /**
2214
- * The HTTP status.
2215
- */
2216
- http_status: string;
2217
-
2218
- /**
2219
- * The number of impacted requests.
2220
- */
2221
- impacted_requests: number;
2222
- }
2223
-
2224
- namespace Impact {
2225
- export type HttpMethod = 'DELETE' | 'GET' | 'POST' | 'PUT';
2226
- }
2227
- }
2228
- }
2229
-
2230
- /**
2231
- * Occurs when an API latency alert is resolved.
2232
- */
2233
- export interface V2CoreHealthApiLatencyResolvedEvent extends V2.EventBase {
2234
- type: 'v2.core.health.api_latency.resolved';
2235
- // Retrieves data specific to this event.
2236
- data: V2CoreHealthApiLatencyResolvedEvent.Data;
2237
- }
2238
- export interface PushedV2CoreHealthApiLatencyResolvedEvent
2239
- extends V2.EventBase {
2240
- type: 'v2.core.health.api_latency.resolved';
2241
- pull(): Promise<V2CoreHealthApiLatencyResolvedEvent>;
2242
- }
2243
-
2244
- namespace V2CoreHealthApiLatencyResolvedEvent {
2245
- export interface Data {
2246
- /**
2247
- * The alert ID.
2248
- */
2249
- alert_id: string;
2250
-
2251
- /**
2252
- * The grouping key for the alert.
2253
- */
2254
- grouping_key: string;
2255
-
2256
- /**
2257
- * The user impact.
2258
- */
2259
- impact: Data.Impact;
2260
-
2261
- /**
2262
- * The time when the user experience has returned to expected levels.
2263
- */
2264
- resolved_at: string;
2265
-
2266
- /**
2267
- * The time when impact on the user experience was first detected.
2268
- */
2269
- started_at: string;
2270
-
2271
- /**
2272
- * A short description of the alert.
2273
- */
2274
- summary: string;
2275
- }
2276
-
2277
- namespace Data {
2278
- export interface Impact {
2279
- /**
2280
- * The canonical path.
2281
- */
2282
- canonical_path: string;
2283
-
2284
- /**
2285
- * The HTTP method.
2286
- */
2287
- http_method: Impact.HttpMethod;
2288
-
2289
- /**
2290
- * The HTTP status.
2291
- */
2292
- http_status: string;
2293
-
2294
- /**
2295
- * The number of impacted requests.
2296
- */
2297
- impacted_requests: number;
2298
- }
2299
-
2300
- namespace Impact {
2301
- export type HttpMethod = 'DELETE' | 'GET' | 'POST' | 'PUT';
2302
- }
2303
- }
2304
- }
2305
-
2306
- /**
2307
- * Occurs when an authorization rate drop alert is firing.
2308
- */
2309
- export interface V2CoreHealthAuthorizationRateDropFiringEvent
2310
- extends V2.EventBase {
2311
- type: 'v2.core.health.authorization_rate_drop.firing';
2312
- // Retrieves data specific to this event.
2313
- data: V2CoreHealthAuthorizationRateDropFiringEvent.Data;
2314
- }
2315
- export interface PushedV2CoreHealthAuthorizationRateDropFiringEvent
2316
- extends V2.EventBase {
2317
- type: 'v2.core.health.authorization_rate_drop.firing';
2318
- pull(): Promise<V2CoreHealthAuthorizationRateDropFiringEvent>;
2319
- }
2320
-
2321
- namespace V2CoreHealthAuthorizationRateDropFiringEvent {
2322
- export interface Data {
2323
- /**
2324
- * The alert ID.
2325
- */
2326
- alert_id: string;
2327
-
2328
- /**
2329
- * The grouping key for the alert.
2330
- */
2331
- grouping_key: string;
2332
-
2333
- /**
2334
- * The user impact.
2335
- */
2336
- impact: Data.Impact;
2337
-
2338
- /**
2339
- * The time when impact on the user experience was first detected.
2340
- */
2341
- started_at: string;
2342
-
2343
- /**
2344
- * A short description of the alert.
2345
- */
2346
- summary: string;
2347
- }
2348
-
2349
- namespace Data {
2350
- export interface Impact {
2351
- /**
2352
- * The type of the charge.
2353
- */
2354
- charge_type: Impact.ChargeType;
2355
-
2356
- /**
2357
- * The current authorization rate percentage.
2358
- */
2359
- current_percentage: string;
2360
-
2361
- /**
2362
- * Dimensions that describe what subset of payments are impacted.
2363
- */
2364
- dimensions: Array<Impact.Dimension> | null;
2365
-
2366
- /**
2367
- * The type of the payment method.
2368
- */
2369
- payment_method_type: Impact.PaymentMethodType;
2370
-
2371
- /**
2372
- * The previous authorization rate percentage.
2373
- */
2374
- previous_percentage: string;
2375
- }
2376
-
2377
- namespace Impact {
2378
- export type ChargeType = 'money_moving' | 'validation';
2379
-
2380
- export interface Dimension {
2381
- /**
2382
- * The issuer dimension.
2383
- */
2384
- issuer: string | null;
2385
-
2386
- /**
2387
- * The type of the dimension.
2388
- */
2389
- type: 'issuer';
2390
- }
2391
-
2392
- export type PaymentMethodType =
2393
- | 'acss_debit'
2394
- | 'affirm'
2395
- | 'afterpay_clearpay'
2396
- | 'alipay'
2397
- | 'alma'
2398
- | 'amazon_pay'
2399
- | 'apple_pay'
2400
- | 'au_becs_debit'
2401
- | 'bacs_debit'
2402
- | 'bancontact'
2403
- | 'blik'
2404
- | 'boleto'
2405
- | 'card'
2406
- | 'card_present'
2407
- | 'cartes_bancaires'
2408
- | 'cashapp'
2409
- | 'dummy_passthrough_card'
2410
- | 'eps'
2411
- | 'fpx'
2412
- | 'giropay'
2413
- | 'grabpay'
2414
- | 'ideal'
2415
- | 'interac_present'
2416
- | 'kakao_pay'
2417
- | 'klarna'
2418
- | 'konbini'
2419
- | 'link'
2420
- | 'mobilepay'
2421
- | 'multibanco'
2422
- | 'naver_pay'
2423
- | 'oxxo'
2424
- | 'p24'
2425
- | 'paper_check'
2426
- | 'paynow'
2427
- | 'paypal'
2428
- | 'payto'
2429
- | 'pay_by_bank'
2430
- | 'pix'
2431
- | 'promptpay'
2432
- | 'revolut_pay'
2433
- | 'sepa_debit'
2434
- | 'sofort'
2435
- | 'swish'
2436
- | 'twint'
2437
- | 'upi'
2438
- | 'wechat_pay'
2439
- | 'zip';
2440
- }
2441
- }
2442
- }
2443
-
2444
- /**
2445
- * Occurs when an authorization rate drop alert is resolved.
2446
- */
2447
- export interface V2CoreHealthAuthorizationRateDropResolvedEvent
2448
- extends V2.EventBase {
2449
- type: 'v2.core.health.authorization_rate_drop.resolved';
2450
- // Retrieves data specific to this event.
2451
- data: V2CoreHealthAuthorizationRateDropResolvedEvent.Data;
2452
- }
2453
- export interface PushedV2CoreHealthAuthorizationRateDropResolvedEvent
2454
- extends V2.EventBase {
2455
- type: 'v2.core.health.authorization_rate_drop.resolved';
2456
- pull(): Promise<V2CoreHealthAuthorizationRateDropResolvedEvent>;
2457
- }
2458
-
2459
- namespace V2CoreHealthAuthorizationRateDropResolvedEvent {
2460
- export interface Data {
2461
- /**
2462
- * The alert ID.
2463
- */
2464
- alert_id: string;
2465
-
2466
- /**
2467
- * The grouping key for the alert.
2468
- */
2469
- grouping_key: string;
2470
-
2471
- /**
2472
- * The user impact.
2473
- */
2474
- impact: Data.Impact;
2475
-
2476
- /**
2477
- * The time when the user experience has returned to expected levels.
2478
- */
2479
- resolved_at: string;
2480
-
2481
- /**
2482
- * The time when impact on the user experience was first detected.
2483
- */
2484
- started_at: string;
2485
-
2486
- /**
2487
- * A short description of the alert.
2488
- */
2489
- summary: string;
2490
- }
2491
-
2492
- namespace Data {
2493
- export interface Impact {
2494
- /**
2495
- * The type of the charge.
2496
- */
2497
- charge_type: Impact.ChargeType;
2498
-
2499
- /**
2500
- * The current authorization rate percentage.
2501
- */
2502
- current_percentage: string;
2503
-
2504
- /**
2505
- * Dimensions that describe what subset of payments are impacted.
2506
- */
2507
- dimensions: Array<Impact.Dimension> | null;
2508
-
2509
- /**
2510
- * The type of the payment method.
2511
- */
2512
- payment_method_type: Impact.PaymentMethodType;
2513
-
2514
- /**
2515
- * The previous authorization rate percentage.
2516
- */
2517
- previous_percentage: string;
2518
- }
2519
-
2520
- namespace Impact {
2521
- export type ChargeType = 'money_moving' | 'validation';
2522
-
2523
- export interface Dimension {
2524
- /**
2525
- * The issuer dimension.
2526
- */
2527
- issuer: string | null;
2528
-
2529
- /**
2530
- * The type of the dimension.
2531
- */
2532
- type: 'issuer';
2533
- }
2534
-
2535
- export type PaymentMethodType =
2536
- | 'acss_debit'
2537
- | 'affirm'
2538
- | 'afterpay_clearpay'
2539
- | 'alipay'
2540
- | 'alma'
2541
- | 'amazon_pay'
2542
- | 'apple_pay'
2543
- | 'au_becs_debit'
2544
- | 'bacs_debit'
2545
- | 'bancontact'
2546
- | 'blik'
2547
- | 'boleto'
2548
- | 'card'
2549
- | 'card_present'
2550
- | 'cartes_bancaires'
2551
- | 'cashapp'
2552
- | 'dummy_passthrough_card'
2553
- | 'eps'
2554
- | 'fpx'
2555
- | 'giropay'
2556
- | 'grabpay'
2557
- | 'ideal'
2558
- | 'interac_present'
2559
- | 'kakao_pay'
2560
- | 'klarna'
2561
- | 'konbini'
2562
- | 'link'
2563
- | 'mobilepay'
2564
- | 'multibanco'
2565
- | 'naver_pay'
2566
- | 'oxxo'
2567
- | 'p24'
2568
- | 'paper_check'
2569
- | 'paynow'
2570
- | 'paypal'
2571
- | 'payto'
2572
- | 'pay_by_bank'
2573
- | 'pix'
2574
- | 'promptpay'
2575
- | 'revolut_pay'
2576
- | 'sepa_debit'
2577
- | 'sofort'
2578
- | 'swish'
2579
- | 'twint'
2580
- | 'upi'
2581
- | 'wechat_pay'
2582
- | 'zip';
2583
- }
2584
- }
2585
- }
2586
-
2587
- /**
2588
- * Occurs when an event generation failure alert is resolved.
2589
- */
2590
- export interface V2CoreHealthEventGenerationFailureResolvedEvent
2591
- extends V2.EventBase {
2592
- type: 'v2.core.health.event_generation_failure.resolved';
2593
- // Retrieves data specific to this event.
2594
- data: V2CoreHealthEventGenerationFailureResolvedEvent.Data;
2595
- }
2596
- export interface PushedV2CoreHealthEventGenerationFailureResolvedEvent
2597
- extends V2.EventBase {
2598
- type: 'v2.core.health.event_generation_failure.resolved';
2599
- pull(): Promise<V2CoreHealthEventGenerationFailureResolvedEvent>;
2600
- }
2601
-
2602
- namespace V2CoreHealthEventGenerationFailureResolvedEvent {
2603
- export interface Data {
2604
- /**
2605
- * The alert ID.
2606
- */
2607
- alert_id: string;
2608
-
2609
- /**
2610
- * The grouping key for the alert.
2611
- */
2612
- grouping_key: string;
2613
-
2614
- /**
2615
- * The user impact.
2616
- */
2617
- impact: Data.Impact;
2618
-
2619
- /**
2620
- * The time when the user experience has returned to expected levels.
2621
- */
2622
- resolved_at: string;
2623
-
2624
- /**
2625
- * A short description of the alert.
2626
- */
2627
- summary: string;
2628
- }
2629
-
2630
- namespace Data {
2631
- export interface Impact {
2632
- /**
2633
- * The account id the event should have been generated for. Only present when the account is a connected account.
2634
- */
2635
- account: string | null;
2636
-
2637
- /**
2638
- * The type of event that Stripe failed to generate.
2639
- */
2640
- event_type: string;
2641
-
2642
- /**
2643
- * Indicates if the event was for livemode or not.
2644
- */
2645
- livemode: boolean;
2646
-
2647
- /**
2648
- * The number of webhooks that Stripe failed to create and deliver.
2649
- */
2650
- missing_delivery_attempts: number;
2651
-
2652
- /**
2653
- * The related object id.
2654
- */
2655
- related_object_id: string;
2656
- }
2657
- }
2658
- }
2659
-
2660
- /**
2661
- * Occurs when the fraud rate has increased.
2662
- */
2663
- export interface V2CoreHealthFraudRateIncreasedEvent extends V2.EventBase {
2664
- type: 'v2.core.health.fraud_rate.increased';
2665
- // Retrieves data specific to this event.
2666
- data: V2CoreHealthFraudRateIncreasedEvent.Data;
2667
- }
2668
- export interface PushedV2CoreHealthFraudRateIncreasedEvent
2669
- extends V2.EventBase {
2670
- type: 'v2.core.health.fraud_rate.increased';
2671
- pull(): Promise<V2CoreHealthFraudRateIncreasedEvent>;
2672
- }
2673
-
2674
- namespace V2CoreHealthFraudRateIncreasedEvent {
2675
- export interface Data {
2676
- /**
2677
- * The alert ID.
2678
- */
2679
- alert_id: string;
2680
-
2681
- /**
2682
- * The grouping key for the alert.
2683
- */
2684
- grouping_key: string;
2685
-
2686
- /**
2687
- * The user impact.
2688
- */
2689
- impact: Data.Impact;
2690
-
2691
- /**
2692
- * The time when the user experience has returned to expected levels.
2693
- */
2694
- resolved_at: string | null;
2695
-
2696
- /**
2697
- * The time when impact on the user experience was first detected.
2698
- */
2699
- started_at: string;
2700
-
2701
- /**
2702
- * A short description of the alert.
2703
- */
2704
- summary: string;
2705
- }
2706
-
2707
- namespace Data {
2708
- export interface Impact {
2709
- /**
2710
- * Fraud attack type.
2711
- */
2712
- attack_type: Impact.AttackType;
2713
-
2714
- /**
2715
- * The number of impacted requests which are detected.
2716
- */
2717
- impacted_requests: number;
2718
-
2719
- /**
2720
- * Estimated aggregated amount for the impacted requests.
2721
- */
2722
- realized_fraud_amount: V2.Amount;
2723
- }
2724
-
2725
- namespace Impact {
2726
- export type AttackType = 'spike' | 'sustained_attack';
2727
- }
2728
- }
2729
- }
2730
-
2731
- /**
2732
- * Occurs when an issuing authorization request timeout alert is firing.
2733
- */
2734
- export interface V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent
2735
- extends V2.EventBase {
2736
- type: 'v2.core.health.issuing_authorization_request_timeout.firing';
2737
- // Retrieves data specific to this event.
2738
- data: V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Data;
2739
- }
2740
- export interface PushedV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent
2741
- extends V2.EventBase {
2742
- type: 'v2.core.health.issuing_authorization_request_timeout.firing';
2743
- pull(): Promise<
2744
- V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent
2745
- >;
2746
- }
2747
-
2748
- namespace V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent {
2749
- export interface Data {
2750
- /**
2751
- * The alert ID.
2752
- */
2753
- alert_id: string;
2754
-
2755
- /**
2756
- * The grouping key for the alert.
2757
- */
2758
- grouping_key: string;
2759
-
2760
- /**
2761
- * The user impact.
2762
- */
2763
- impact: Data.Impact;
2764
-
2765
- /**
2766
- * The time when impact on the user experience was first detected.
2767
- */
2768
- started_at: string;
2769
-
2770
- /**
2771
- * A short description of the alert.
2772
- */
2773
- summary: string;
2774
- }
2775
-
2776
- namespace Data {
2777
- export interface Impact {
2778
- /**
2779
- * Estimated aggregated amount for the approved requests.
2780
- */
2781
- approved_amount: V2.Amount | null;
2782
-
2783
- /**
2784
- * The number of approved requests which are impacted.
2785
- */
2786
- approved_impacted_requests: number | null;
2787
-
2788
- /**
2789
- * Estimated aggregated amount for the declined requests.
2790
- */
2791
- declined_amount: V2.Amount | null;
2792
-
2793
- /**
2794
- * The number of declined requests which are impacted.
2795
- */
2796
- declined_impacted_requests: number | null;
2797
- }
2798
- }
2799
- }
2800
-
2801
- /**
2802
- * Occurs when an issuing authorization request timeout alert is resolved.
2803
- */
2804
- export interface V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
2805
- extends V2.EventBase {
2806
- type: 'v2.core.health.issuing_authorization_request_timeout.resolved';
2807
- // Retrieves data specific to this event.
2808
- data: V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Data;
2809
- }
2810
- export interface PushedV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
2811
- extends V2.EventBase {
2812
- type: 'v2.core.health.issuing_authorization_request_timeout.resolved';
2813
- pull(): Promise<
2814
- V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
2815
- >;
2816
- }
2817
-
2818
- namespace V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent {
2819
- export interface Data {
2820
- /**
2821
- * The alert ID.
2822
- */
2823
- alert_id: string;
2824
-
2825
- /**
2826
- * The grouping key for the alert.
2827
- */
2828
- grouping_key: string;
2829
-
2830
- /**
2831
- * The user impact.
2832
- */
2833
- impact: Data.Impact;
2834
-
2835
- /**
2836
- * The time when the user experience has returned to expected levels.
2837
- */
2838
- resolved_at: string;
2839
-
2840
- /**
2841
- * The time when impact on the user experience was first detected.
2842
- */
2843
- started_at: string;
2844
-
2845
- /**
2846
- * A short description of the alert.
2847
- */
2848
- summary: string;
2849
- }
2850
-
2851
- namespace Data {
2852
- export interface Impact {
2853
- /**
2854
- * Estimated aggregated amount for the approved requests.
2855
- */
2856
- approved_amount: V2.Amount | null;
2857
-
2858
- /**
2859
- * The number of approved requests which are impacted.
2860
- */
2861
- approved_impacted_requests: number | null;
2862
-
2863
- /**
2864
- * Estimated aggregated amount for the declined requests.
2865
- */
2866
- declined_amount: V2.Amount | null;
2867
-
2868
- /**
2869
- * The number of declined requests which are impacted.
2870
- */
2871
- declined_impacted_requests: number | null;
2872
- }
2873
- }
2874
- }
2875
-
2876
- /**
2877
- * Occurs when a payment method error alert is firing.
2878
- */
2879
- export interface V2CoreHealthPaymentMethodErrorFiringEvent
2880
- extends V2.EventBase {
2881
- type: 'v2.core.health.payment_method_error.firing';
2882
- // Retrieves data specific to this event.
2883
- data: V2CoreHealthPaymentMethodErrorFiringEvent.Data;
2884
- }
2885
- export interface PushedV2CoreHealthPaymentMethodErrorFiringEvent
2886
- extends V2.EventBase {
2887
- type: 'v2.core.health.payment_method_error.firing';
2888
- pull(): Promise<V2CoreHealthPaymentMethodErrorFiringEvent>;
2889
- }
2890
-
2891
- namespace V2CoreHealthPaymentMethodErrorFiringEvent {
2892
- export interface Data {
2893
- /**
2894
- * The alert ID.
2895
- */
2896
- alert_id: string;
2897
-
2898
- /**
2899
- * The grouping key for the alert.
2900
- */
2901
- grouping_key: string;
2902
-
2903
- /**
2904
- * The user impact.
2905
- */
2906
- impact: Data.Impact;
2907
-
2908
- /**
2909
- * The time when impact on the user experience was first detected.
2910
- */
2911
- started_at: string;
2912
-
2913
- /**
2914
- * A short description of the alert.
2915
- */
2916
- summary: string;
2917
- }
2918
-
2919
- namespace Data {
2920
- export interface Impact {
2921
- /**
2922
- * The returned error code.
2923
- */
2924
- error_code: string | null;
2925
-
2926
- /**
2927
- * The number of impacted requests.
2928
- */
2929
- impacted_requests: number;
2930
-
2931
- /**
2932
- * The type of the payment method.
2933
- */
2934
- payment_method_type: Impact.PaymentMethodType;
2935
- }
2936
-
2937
- namespace Impact {
2938
- export type PaymentMethodType =
2939
- | 'acss_debit'
2940
- | 'affirm'
2941
- | 'afterpay_clearpay'
2942
- | 'alipay'
2943
- | 'alma'
2944
- | 'amazon_pay'
2945
- | 'apple_pay'
2946
- | 'au_becs_debit'
2947
- | 'bacs_debit'
2948
- | 'bancontact'
2949
- | 'blik'
2950
- | 'boleto'
2951
- | 'card'
2952
- | 'card_present'
2953
- | 'cartes_bancaires'
2954
- | 'cashapp'
2955
- | 'dummy_passthrough_card'
2956
- | 'eps'
2957
- | 'fpx'
2958
- | 'giropay'
2959
- | 'grabpay'
2960
- | 'ideal'
2961
- | 'interac_present'
2962
- | 'kakao_pay'
2963
- | 'klarna'
2964
- | 'konbini'
2965
- | 'link'
2966
- | 'mobilepay'
2967
- | 'multibanco'
2968
- | 'naver_pay'
2969
- | 'oxxo'
2970
- | 'p24'
2971
- | 'paper_check'
2972
- | 'paynow'
2973
- | 'paypal'
2974
- | 'payto'
2975
- | 'pay_by_bank'
2976
- | 'pix'
2977
- | 'promptpay'
2978
- | 'revolut_pay'
2979
- | 'sepa_debit'
2980
- | 'sofort'
2981
- | 'swish'
2982
- | 'twint'
2983
- | 'upi'
2984
- | 'wechat_pay'
2985
- | 'zip';
2986
- }
2987
- }
2988
- }
2989
-
2990
- /**
2991
- * Occurs when a payment method error alert is resolved.
2992
- */
2993
- export interface V2CoreHealthPaymentMethodErrorResolvedEvent
2994
- extends V2.EventBase {
2995
- type: 'v2.core.health.payment_method_error.resolved';
2996
- // Retrieves data specific to this event.
2997
- data: V2CoreHealthPaymentMethodErrorResolvedEvent.Data;
2998
- }
2999
- export interface PushedV2CoreHealthPaymentMethodErrorResolvedEvent
3000
- extends V2.EventBase {
3001
- type: 'v2.core.health.payment_method_error.resolved';
3002
- pull(): Promise<V2CoreHealthPaymentMethodErrorResolvedEvent>;
3003
- }
3004
-
3005
- namespace V2CoreHealthPaymentMethodErrorResolvedEvent {
3006
- export interface Data {
3007
- /**
3008
- * The alert ID.
3009
- */
3010
- alert_id: string;
3011
-
3012
- /**
3013
- * The grouping key for the alert.
3014
- */
3015
- grouping_key: string;
3016
-
3017
- /**
3018
- * The user impact.
3019
- */
3020
- impact: Data.Impact;
3021
-
3022
- /**
3023
- * The time when the user experience has returned to expected levels.
3024
- */
3025
- resolved_at: string;
3026
-
3027
- /**
3028
- * The time when impact on the user experience was first detected.
3029
- */
3030
- started_at: string;
3031
-
3032
- /**
3033
- * A short description of the alert.
3034
- */
3035
- summary: string;
3036
- }
3037
-
3038
- namespace Data {
3039
- export interface Impact {
3040
- /**
3041
- * The returned error code.
3042
- */
3043
- error_code: string | null;
3044
-
3045
- /**
3046
- * The number of impacted requests.
3047
- */
3048
- impacted_requests: number;
3049
-
3050
- /**
3051
- * The type of the payment method.
3052
- */
3053
- payment_method_type: Impact.PaymentMethodType;
3054
- }
3055
-
3056
- namespace Impact {
3057
- export type PaymentMethodType =
3058
- | 'acss_debit'
3059
- | 'affirm'
3060
- | 'afterpay_clearpay'
3061
- | 'alipay'
3062
- | 'alma'
3063
- | 'amazon_pay'
3064
- | 'apple_pay'
3065
- | 'au_becs_debit'
3066
- | 'bacs_debit'
3067
- | 'bancontact'
3068
- | 'blik'
3069
- | 'boleto'
3070
- | 'card'
3071
- | 'card_present'
3072
- | 'cartes_bancaires'
3073
- | 'cashapp'
3074
- | 'dummy_passthrough_card'
3075
- | 'eps'
3076
- | 'fpx'
3077
- | 'giropay'
3078
- | 'grabpay'
3079
- | 'ideal'
3080
- | 'interac_present'
3081
- | 'kakao_pay'
3082
- | 'klarna'
3083
- | 'konbini'
3084
- | 'link'
3085
- | 'mobilepay'
3086
- | 'multibanco'
3087
- | 'naver_pay'
3088
- | 'oxxo'
3089
- | 'p24'
3090
- | 'paper_check'
3091
- | 'paynow'
3092
- | 'paypal'
3093
- | 'payto'
3094
- | 'pay_by_bank'
3095
- | 'pix'
3096
- | 'promptpay'
3097
- | 'revolut_pay'
3098
- | 'sepa_debit'
3099
- | 'sofort'
3100
- | 'swish'
3101
- | 'twint'
3102
- | 'upi'
3103
- | 'wechat_pay'
3104
- | 'zip';
3105
- }
3106
- }
3107
- }
3108
-
3109
- /**
3110
- * Occurs when a traffic volume drop alert is firing.
3111
- */
3112
- export interface V2CoreHealthTrafficVolumeDropFiringEvent
3113
- extends V2.EventBase {
3114
- type: 'v2.core.health.traffic_volume_drop.firing';
3115
- // Retrieves data specific to this event.
3116
- data: V2CoreHealthTrafficVolumeDropFiringEvent.Data;
3117
- }
3118
- export interface PushedV2CoreHealthTrafficVolumeDropFiringEvent
3119
- extends V2.EventBase {
3120
- type: 'v2.core.health.traffic_volume_drop.firing';
3121
- pull(): Promise<V2CoreHealthTrafficVolumeDropFiringEvent>;
3122
- }
3123
-
3124
- namespace V2CoreHealthTrafficVolumeDropFiringEvent {
3125
- export interface Data {
3126
- /**
3127
- * The alert ID.
3128
- */
3129
- alert_id: string;
3130
-
3131
- /**
3132
- * The grouping key for the alert.
3133
- */
3134
- grouping_key: string;
3135
-
3136
- /**
3137
- * The user impact.
3138
- */
3139
- impact: Data.Impact;
3140
-
3141
- /**
3142
- * The time when impact on the user experience was first detected.
3143
- */
3144
- started_at: string;
3145
-
3146
- /**
3147
- * A short description of the alert.
3148
- */
3149
- summary: string;
3150
- }
3151
-
3152
- namespace Data {
3153
- export interface Impact {
3154
- /**
3155
- * The total volume of payment requests within the latest observation time window.
3156
- */
3157
- actual_traffic: number;
3158
-
3159
- /**
3160
- * The expected volume of payment requests within the latest observation time window.
3161
- */
3162
- expected_traffic: number | null;
3163
-
3164
- /**
3165
- * The size of the observation time window.
3166
- */
3167
- time_window: string;
3168
- }
3169
- }
3170
- }
3171
-
3172
- /**
3173
- * Occurs when a traffic volume drop alert is resolved.
3174
- */
3175
- export interface V2CoreHealthTrafficVolumeDropResolvedEvent
3176
- extends V2.EventBase {
3177
- type: 'v2.core.health.traffic_volume_drop.resolved';
3178
- // Retrieves data specific to this event.
3179
- data: V2CoreHealthTrafficVolumeDropResolvedEvent.Data;
3180
- }
3181
- export interface PushedV2CoreHealthTrafficVolumeDropResolvedEvent
3182
- extends V2.EventBase {
3183
- type: 'v2.core.health.traffic_volume_drop.resolved';
3184
- pull(): Promise<V2CoreHealthTrafficVolumeDropResolvedEvent>;
3185
- }
3186
-
3187
- namespace V2CoreHealthTrafficVolumeDropResolvedEvent {
3188
- export interface Data {
3189
- /**
3190
- * The alert ID.
3191
- */
3192
- alert_id: string;
3193
-
3194
- /**
3195
- * The grouping key for the alert.
3196
- */
3197
- grouping_key: string;
3198
-
3199
- /**
3200
- * The user impact.
3201
- */
3202
- impact: Data.Impact;
3203
-
3204
- /**
3205
- * The time when the user experience has returned to expected levels.
3206
- */
3207
- resolved_at: string;
3208
-
3209
- /**
3210
- * The time when impact on the user experience was first detected.
3211
- */
3212
- started_at: string;
3213
-
3214
- /**
3215
- * A short description of the alert.
3216
- */
3217
- summary: string;
3218
- }
3219
-
3220
- namespace Data {
3221
- export interface Impact {
3222
- /**
3223
- * The total volume of payment requests within the latest observation time window.
3224
- */
3225
- actual_traffic: number;
3226
-
3227
- /**
3228
- * The expected volume of payment requests within the latest observation time window.
3229
- */
3230
- expected_traffic: number | null;
3231
-
3232
- /**
3233
- * The size of the observation time window.
3234
- */
3235
- time_window: string;
3236
- }
3237
- }
3238
- }
3239
-
3240
- /**
3241
- * Occurs when a webhook latency alert is firing.
3242
- */
3243
- export interface V2CoreHealthWebhookLatencyFiringEvent
3244
- extends V2.EventBase {
3245
- type: 'v2.core.health.webhook_latency.firing';
3246
- // Retrieves data specific to this event.
3247
- data: V2CoreHealthWebhookLatencyFiringEvent.Data;
3248
- }
3249
- export interface PushedV2CoreHealthWebhookLatencyFiringEvent
3250
- extends V2.EventBase {
3251
- type: 'v2.core.health.webhook_latency.firing';
3252
- pull(): Promise<V2CoreHealthWebhookLatencyFiringEvent>;
3253
- }
3254
-
3255
- namespace V2CoreHealthWebhookLatencyFiringEvent {
3256
- export interface Data {
3257
- /**
3258
- * The alert ID.
3259
- */
3260
- alert_id: string;
3261
-
3262
- /**
3263
- * The grouping key for the alert.
3264
- */
3265
- grouping_key: string;
3266
-
3267
- /**
3268
- * The user impact.
3269
- */
3270
- impact: Data.Impact;
3271
-
3272
- /**
3273
- * The time when impact on the user experience was first detected.
3274
- */
3275
- started_at: string;
3276
-
3277
- /**
3278
- * A short description of the alert.
3279
- */
3280
- summary: string;
3281
- }
3282
-
3283
- namespace Data {
3284
- export interface Impact {
3285
- /**
3286
- * The number of impacted requests.
3287
- */
3288
- impacted_requests: number;
3289
- }
3290
- }
3291
- }
3292
-
3293
- /**
3294
- * Occurs when a webhook latency alert is resolved.
3295
- */
3296
- export interface V2CoreHealthWebhookLatencyResolvedEvent
3297
- extends V2.EventBase {
3298
- type: 'v2.core.health.webhook_latency.resolved';
3299
- // Retrieves data specific to this event.
3300
- data: V2CoreHealthWebhookLatencyResolvedEvent.Data;
3301
- }
3302
- export interface PushedV2CoreHealthWebhookLatencyResolvedEvent
3303
- extends V2.EventBase {
3304
- type: 'v2.core.health.webhook_latency.resolved';
3305
- pull(): Promise<V2CoreHealthWebhookLatencyResolvedEvent>;
3306
- }
3307
-
3308
- namespace V2CoreHealthWebhookLatencyResolvedEvent {
3309
- export interface Data {
3310
- /**
3311
- * The alert ID.
3312
- */
3313
- alert_id: string;
3314
-
3315
- /**
3316
- * The grouping key for the alert.
3317
- */
3318
- grouping_key: string;
3319
-
3320
- /**
3321
- * The user impact.
3322
- */
3323
- impact: Data.Impact;
3324
-
3325
- /**
3326
- * The time when the user experience has returned to expected levels.
3327
- */
3328
- resolved_at: string;
3329
-
3330
- /**
3331
- * The time when impact on the user experience was first detected.
3332
- */
3333
- started_at: string;
3334
-
3335
- /**
3336
- * A short description of the alert.
3337
- */
3338
- summary: string;
3339
- }
3340
-
3341
- namespace Data {
3342
- export interface Impact {
3343
- /**
3344
- * The number of impacted requests.
3345
- */
3346
- impacted_requests: number;
3347
- }
3348
- }
3349
- }
3350
-
3351
- /**
3352
- * Occurs when an Adjustment is created.
3353
- */
3354
- export interface V2MoneyManagementAdjustmentCreatedEvent
3355
- extends V2.EventBase {
3356
- type: 'v2.money_management.adjustment.created';
3357
- // Object containing the reference to API resource relevant to the event.
3358
- related_object: Event.RelatedObject;
3359
- // Retrieves the object associated with the event.
3360
- fetchRelatedObject(): Promise<V2.MoneyManagement.Adjustment>;
3361
- }
3362
- export interface PushedV2MoneyManagementAdjustmentCreatedEvent
3363
- extends V2.EventBase {
3364
- type: 'v2.money_management.adjustment.created';
3365
- // Object containing the reference to API resource relevant to the event.
3366
- related_object: Event.RelatedObject;
3367
- // Retrieves the object associated with the event.
3368
- fetchRelatedObject(): Promise<V2.MoneyManagement.Adjustment>;
3369
- pull(): Promise<V2MoneyManagementAdjustmentCreatedEvent>;
3370
- }
3371
-
3372
- /**
3373
- * Occurs when a FinancialAccount is created.
3374
- */
3375
- export interface V2MoneyManagementFinancialAccountCreatedEvent
3376
- extends V2.EventBase {
3377
- type: 'v2.money_management.financial_account.created';
3378
- // Object containing the reference to API resource relevant to the event.
3379
- related_object: Event.RelatedObject;
3380
- // Retrieves the object associated with the event.
3381
- fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAccount>;
3382
- }
3383
- export interface PushedV2MoneyManagementFinancialAccountCreatedEvent
3384
- extends V2.EventBase {
3385
- type: 'v2.money_management.financial_account.created';
3386
- // Object containing the reference to API resource relevant to the event.
3387
- related_object: Event.RelatedObject;
3388
- // Retrieves the object associated with the event.
3389
- fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAccount>;
3390
- pull(): Promise<V2MoneyManagementFinancialAccountCreatedEvent>;
3391
- }
3392
-
3393
- /**
3394
- * Occurs when a FinancialAccount is updated.
3395
- */
3396
- export interface V2MoneyManagementFinancialAccountUpdatedEvent
3397
- extends V2.EventBase {
3398
- type: 'v2.money_management.financial_account.updated';
3399
- // Object containing the reference to API resource relevant to the event.
3400
- related_object: Event.RelatedObject;
3401
- // Retrieves the object associated with the event.
3402
- fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAccount>;
3403
- }
3404
- export interface PushedV2MoneyManagementFinancialAccountUpdatedEvent
3405
- extends V2.EventBase {
3406
- type: 'v2.money_management.financial_account.updated';
3407
- // Object containing the reference to API resource relevant to the event.
3408
- related_object: Event.RelatedObject;
3409
- // Retrieves the object associated with the event.
3410
- fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAccount>;
3411
- pull(): Promise<V2MoneyManagementFinancialAccountUpdatedEvent>;
3412
- }
3413
-
3414
- /**
3415
- * Occurs when a FinancialAddress is activated and is ready to receive funds.
3416
- */
3417
- export interface V2MoneyManagementFinancialAddressActivatedEvent
3418
- extends V2.EventBase {
3419
- type: 'v2.money_management.financial_address.activated';
3420
- // Object containing the reference to API resource relevant to the event.
3421
- related_object: Event.RelatedObject;
3422
- // Retrieves the object associated with the event.
3423
- fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAddress>;
3424
- }
3425
- export interface PushedV2MoneyManagementFinancialAddressActivatedEvent
3426
- extends V2.EventBase {
3427
- type: 'v2.money_management.financial_address.activated';
3428
- // Object containing the reference to API resource relevant to the event.
3429
- related_object: Event.RelatedObject;
3430
- // Retrieves the object associated with the event.
3431
- fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAddress>;
3432
- pull(): Promise<V2MoneyManagementFinancialAddressActivatedEvent>;
3433
- }
3434
-
3435
- /**
3436
- * Occurs when a FinancialAddress fails to activate and can not receive funds.
3437
- */
3438
- export interface V2MoneyManagementFinancialAddressFailedEvent
3439
- extends V2.EventBase {
3440
- type: 'v2.money_management.financial_address.failed';
3441
- // Object containing the reference to API resource relevant to the event.
3442
- related_object: Event.RelatedObject;
3443
- // Retrieves the object associated with the event.
3444
- fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAddress>;
3445
- }
3446
- export interface PushedV2MoneyManagementFinancialAddressFailedEvent
3447
- extends V2.EventBase {
3448
- type: 'v2.money_management.financial_address.failed';
3449
- // Object containing the reference to API resource relevant to the event.
3450
- related_object: Event.RelatedObject;
3451
- // Retrieves the object associated with the event.
3452
- fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAddress>;
3453
- pull(): Promise<V2MoneyManagementFinancialAddressFailedEvent>;
3454
- }
3455
-
3456
- /**
3457
- * Occurs when an InboundTransfer's funds are made available.
3458
- */
3459
- export interface V2MoneyManagementInboundTransferAvailableEvent
3460
- extends V2.EventBase {
3461
- type: 'v2.money_management.inbound_transfer.available';
3462
- // Retrieves data specific to this event.
3463
- data: V2MoneyManagementInboundTransferAvailableEvent.Data;
3464
- // Object containing the reference to API resource relevant to the event.
3465
- related_object: Event.RelatedObject;
3466
- // Retrieves the object associated with the event.
3467
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3468
- }
3469
- export interface PushedV2MoneyManagementInboundTransferAvailableEvent
3470
- extends V2.EventBase {
3471
- type: 'v2.money_management.inbound_transfer.available';
3472
- // Object containing the reference to API resource relevant to the event.
3473
- related_object: Event.RelatedObject;
3474
- // Retrieves the object associated with the event.
3475
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3476
- pull(): Promise<V2MoneyManagementInboundTransferAvailableEvent>;
3477
- }
3478
-
3479
- namespace V2MoneyManagementInboundTransferAvailableEvent {
3480
- export interface Data {
3481
- /**
3482
- * The transaction ID of the received credit.
3483
- */
3484
- transaction_id: string;
3485
- }
3486
- }
3487
-
3488
- /**
3489
- * Occurs when an InboundTransfer fails.
3490
- */
3491
- export interface V2MoneyManagementInboundTransferBankDebitFailedEvent
3492
- extends V2.EventBase {
3493
- type: 'v2.money_management.inbound_transfer.bank_debit_failed';
3494
- // Object containing the reference to API resource relevant to the event.
3495
- related_object: Event.RelatedObject;
3496
- // Retrieves the object associated with the event.
3497
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3498
- }
3499
- export interface PushedV2MoneyManagementInboundTransferBankDebitFailedEvent
3500
- extends V2.EventBase {
3501
- type: 'v2.money_management.inbound_transfer.bank_debit_failed';
3502
- // Object containing the reference to API resource relevant to the event.
3503
- related_object: Event.RelatedObject;
3504
- // Retrieves the object associated with the event.
3505
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3506
- pull(): Promise<V2MoneyManagementInboundTransferBankDebitFailedEvent>;
3507
- }
3508
-
3509
- /**
3510
- * Occurs when an InboundTransfer starts processing.
3511
- */
3512
- export interface V2MoneyManagementInboundTransferBankDebitProcessingEvent
3513
- extends V2.EventBase {
3514
- type: 'v2.money_management.inbound_transfer.bank_debit_processing';
3515
- // Object containing the reference to API resource relevant to the event.
3516
- related_object: Event.RelatedObject;
3517
- // Retrieves the object associated with the event.
3518
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3519
- }
3520
- export interface PushedV2MoneyManagementInboundTransferBankDebitProcessingEvent
3521
- extends V2.EventBase {
3522
- type: 'v2.money_management.inbound_transfer.bank_debit_processing';
3523
- // Object containing the reference to API resource relevant to the event.
3524
- related_object: Event.RelatedObject;
3525
- // Retrieves the object associated with the event.
3526
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3527
- pull(): Promise<V2MoneyManagementInboundTransferBankDebitProcessingEvent>;
3528
- }
3529
-
3530
- /**
3531
- * Occurs when an InboundTransfer is queued.
3532
- */
3533
- export interface V2MoneyManagementInboundTransferBankDebitQueuedEvent
3534
- extends V2.EventBase {
3535
- type: 'v2.money_management.inbound_transfer.bank_debit_queued';
3536
- // Object containing the reference to API resource relevant to the event.
3537
- related_object: Event.RelatedObject;
3538
- // Retrieves the object associated with the event.
3539
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3540
- }
3541
- export interface PushedV2MoneyManagementInboundTransferBankDebitQueuedEvent
3542
- extends V2.EventBase {
3543
- type: 'v2.money_management.inbound_transfer.bank_debit_queued';
3544
- // Object containing the reference to API resource relevant to the event.
3545
- related_object: Event.RelatedObject;
3546
- // Retrieves the object associated with the event.
3547
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3548
- pull(): Promise<V2MoneyManagementInboundTransferBankDebitQueuedEvent>;
3549
- }
3550
-
3551
- /**
3552
- * Occurs when an InboundTransfer is returned.
3553
- */
3554
- export interface V2MoneyManagementInboundTransferBankDebitReturnedEvent
3555
- extends V2.EventBase {
3556
- type: 'v2.money_management.inbound_transfer.bank_debit_returned';
3557
- // Object containing the reference to API resource relevant to the event.
3558
- related_object: Event.RelatedObject;
3559
- // Retrieves the object associated with the event.
3560
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3561
- }
3562
- export interface PushedV2MoneyManagementInboundTransferBankDebitReturnedEvent
3563
- extends V2.EventBase {
3564
- type: 'v2.money_management.inbound_transfer.bank_debit_returned';
3565
- // Object containing the reference to API resource relevant to the event.
3566
- related_object: Event.RelatedObject;
3567
- // Retrieves the object associated with the event.
3568
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3569
- pull(): Promise<V2MoneyManagementInboundTransferBankDebitReturnedEvent>;
3570
- }
3571
-
3572
- /**
3573
- * Occurs when an InboundTransfer succeeds.
3574
- */
3575
- export interface V2MoneyManagementInboundTransferBankDebitSucceededEvent
3576
- extends V2.EventBase {
3577
- type: 'v2.money_management.inbound_transfer.bank_debit_succeeded';
3578
- // Object containing the reference to API resource relevant to the event.
3579
- related_object: Event.RelatedObject;
3580
- // Retrieves the object associated with the event.
3581
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3582
- }
3583
- export interface PushedV2MoneyManagementInboundTransferBankDebitSucceededEvent
3584
- extends V2.EventBase {
3585
- type: 'v2.money_management.inbound_transfer.bank_debit_succeeded';
3586
- // Object containing the reference to API resource relevant to the event.
3587
- related_object: Event.RelatedObject;
3588
- // Retrieves the object associated with the event.
3589
- fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
3590
- pull(): Promise<V2MoneyManagementInboundTransferBankDebitSucceededEvent>;
3591
- }
3592
-
3593
- /**
3594
- * Occurs when an OutboundPayment transitions into the canceled state.
3595
- */
3596
- export interface V2MoneyManagementOutboundPaymentCanceledEvent
3597
- extends V2.EventBase {
3598
- type: 'v2.money_management.outbound_payment.canceled';
3599
- // Object containing the reference to API resource relevant to the event.
3600
- related_object: Event.RelatedObject;
3601
- // Retrieves the object associated with the event.
3602
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3603
- }
3604
- export interface PushedV2MoneyManagementOutboundPaymentCanceledEvent
3605
- extends V2.EventBase {
3606
- type: 'v2.money_management.outbound_payment.canceled';
3607
- // Object containing the reference to API resource relevant to the event.
3608
- related_object: Event.RelatedObject;
3609
- // Retrieves the object associated with the event.
3610
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3611
- pull(): Promise<V2MoneyManagementOutboundPaymentCanceledEvent>;
3612
- }
3613
-
3614
- /**
3615
- * Occurs when an OutboundPayment is created.
3616
- */
3617
- export interface V2MoneyManagementOutboundPaymentCreatedEvent
3618
- extends V2.EventBase {
3619
- type: 'v2.money_management.outbound_payment.created';
3620
- // Object containing the reference to API resource relevant to the event.
3621
- related_object: Event.RelatedObject;
3622
- // Retrieves the object associated with the event.
3623
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3624
- }
3625
- export interface PushedV2MoneyManagementOutboundPaymentCreatedEvent
3626
- extends V2.EventBase {
3627
- type: 'v2.money_management.outbound_payment.created';
3628
- // Object containing the reference to API resource relevant to the event.
3629
- related_object: Event.RelatedObject;
3630
- // Retrieves the object associated with the event.
3631
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3632
- pull(): Promise<V2MoneyManagementOutboundPaymentCreatedEvent>;
3633
- }
3634
-
3635
- /**
3636
- * Occurs when an OutboundPayment transitions into the failed state.
3637
- */
3638
- export interface V2MoneyManagementOutboundPaymentFailedEvent
3639
- extends V2.EventBase {
3640
- type: 'v2.money_management.outbound_payment.failed';
3641
- // Object containing the reference to API resource relevant to the event.
3642
- related_object: Event.RelatedObject;
3643
- // Retrieves the object associated with the event.
3644
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3645
- }
3646
- export interface PushedV2MoneyManagementOutboundPaymentFailedEvent
3647
- extends V2.EventBase {
3648
- type: 'v2.money_management.outbound_payment.failed';
3649
- // Object containing the reference to API resource relevant to the event.
3650
- related_object: Event.RelatedObject;
3651
- // Retrieves the object associated with the event.
3652
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3653
- pull(): Promise<V2MoneyManagementOutboundPaymentFailedEvent>;
3654
- }
3655
-
3656
- /**
3657
- * Occurs when an OutboundPayment transitions into the posted state.
3658
- */
3659
- export interface V2MoneyManagementOutboundPaymentPostedEvent
3660
- extends V2.EventBase {
3661
- type: 'v2.money_management.outbound_payment.posted';
3662
- // Object containing the reference to API resource relevant to the event.
3663
- related_object: Event.RelatedObject;
3664
- // Retrieves the object associated with the event.
3665
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3666
- }
3667
- export interface PushedV2MoneyManagementOutboundPaymentPostedEvent
3668
- extends V2.EventBase {
3669
- type: 'v2.money_management.outbound_payment.posted';
3670
- // Object containing the reference to API resource relevant to the event.
3671
- related_object: Event.RelatedObject;
3672
- // Retrieves the object associated with the event.
3673
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3674
- pull(): Promise<V2MoneyManagementOutboundPaymentPostedEvent>;
3675
- }
3676
-
3677
- /**
3678
- * Occurs when an OutboundPayment transitions into the returned state.
3679
- */
3680
- export interface V2MoneyManagementOutboundPaymentReturnedEvent
3681
- extends V2.EventBase {
3682
- type: 'v2.money_management.outbound_payment.returned';
3683
- // Object containing the reference to API resource relevant to the event.
3684
- related_object: Event.RelatedObject;
3685
- // Retrieves the object associated with the event.
3686
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3687
- }
3688
- export interface PushedV2MoneyManagementOutboundPaymentReturnedEvent
3689
- extends V2.EventBase {
3690
- type: 'v2.money_management.outbound_payment.returned';
3691
- // Object containing the reference to API resource relevant to the event.
3692
- related_object: Event.RelatedObject;
3693
- // Retrieves the object associated with the event.
3694
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3695
- pull(): Promise<V2MoneyManagementOutboundPaymentReturnedEvent>;
3696
- }
3697
-
3698
- /**
3699
- * Occurs when an OutboundPayment is updated.
3700
- */
3701
- export interface V2MoneyManagementOutboundPaymentUpdatedEvent
3702
- extends V2.EventBase {
3703
- type: 'v2.money_management.outbound_payment.updated';
3704
- // Object containing the reference to API resource relevant to the event.
3705
- related_object: Event.RelatedObject;
3706
- // Retrieves the object associated with the event.
3707
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3708
- }
3709
- export interface PushedV2MoneyManagementOutboundPaymentUpdatedEvent
3710
- extends V2.EventBase {
3711
- type: 'v2.money_management.outbound_payment.updated';
3712
- // Object containing the reference to API resource relevant to the event.
3713
- related_object: Event.RelatedObject;
3714
- // Retrieves the object associated with the event.
3715
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
3716
- pull(): Promise<V2MoneyManagementOutboundPaymentUpdatedEvent>;
3717
- }
3718
-
3719
- /**
3720
- * Occurs when an OutboundTransfer transitions into the canceled state.
3721
- */
3722
- export interface V2MoneyManagementOutboundTransferCanceledEvent
3723
- extends V2.EventBase {
3724
- type: 'v2.money_management.outbound_transfer.canceled';
3725
- // Object containing the reference to API resource relevant to the event.
3726
- related_object: Event.RelatedObject;
3727
- // Retrieves the object associated with the event.
3728
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3729
- }
3730
- export interface PushedV2MoneyManagementOutboundTransferCanceledEvent
3731
- extends V2.EventBase {
3732
- type: 'v2.money_management.outbound_transfer.canceled';
3733
- // Object containing the reference to API resource relevant to the event.
3734
- related_object: Event.RelatedObject;
3735
- // Retrieves the object associated with the event.
3736
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3737
- pull(): Promise<V2MoneyManagementOutboundTransferCanceledEvent>;
3738
- }
3739
-
3740
- /**
3741
- * Occurs when an OutboundTransfer is created.
3742
- */
3743
- export interface V2MoneyManagementOutboundTransferCreatedEvent
3744
- extends V2.EventBase {
3745
- type: 'v2.money_management.outbound_transfer.created';
3746
- // Object containing the reference to API resource relevant to the event.
3747
- related_object: Event.RelatedObject;
3748
- // Retrieves the object associated with the event.
3749
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3750
- }
3751
- export interface PushedV2MoneyManagementOutboundTransferCreatedEvent
3752
- extends V2.EventBase {
3753
- type: 'v2.money_management.outbound_transfer.created';
3754
- // Object containing the reference to API resource relevant to the event.
3755
- related_object: Event.RelatedObject;
3756
- // Retrieves the object associated with the event.
3757
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3758
- pull(): Promise<V2MoneyManagementOutboundTransferCreatedEvent>;
3759
- }
3760
-
3761
- /**
3762
- * Occurs when an OutboundTransfer transitions into the failed state.
3763
- */
3764
- export interface V2MoneyManagementOutboundTransferFailedEvent
3765
- extends V2.EventBase {
3766
- type: 'v2.money_management.outbound_transfer.failed';
3767
- // Object containing the reference to API resource relevant to the event.
3768
- related_object: Event.RelatedObject;
3769
- // Retrieves the object associated with the event.
3770
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3771
- }
3772
- export interface PushedV2MoneyManagementOutboundTransferFailedEvent
3773
- extends V2.EventBase {
3774
- type: 'v2.money_management.outbound_transfer.failed';
3775
- // Object containing the reference to API resource relevant to the event.
3776
- related_object: Event.RelatedObject;
3777
- // Retrieves the object associated with the event.
3778
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3779
- pull(): Promise<V2MoneyManagementOutboundTransferFailedEvent>;
3780
- }
3781
-
3782
- /**
3783
- * Occurs when an OutboundTransfer transitions into the posted state.
3784
- */
3785
- export interface V2MoneyManagementOutboundTransferPostedEvent
3786
- extends V2.EventBase {
3787
- type: 'v2.money_management.outbound_transfer.posted';
3788
- // Object containing the reference to API resource relevant to the event.
3789
- related_object: Event.RelatedObject;
3790
- // Retrieves the object associated with the event.
3791
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3792
- }
3793
- export interface PushedV2MoneyManagementOutboundTransferPostedEvent
3794
- extends V2.EventBase {
3795
- type: 'v2.money_management.outbound_transfer.posted';
3796
- // Object containing the reference to API resource relevant to the event.
3797
- related_object: Event.RelatedObject;
3798
- // Retrieves the object associated with the event.
3799
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3800
- pull(): Promise<V2MoneyManagementOutboundTransferPostedEvent>;
3801
- }
3802
-
3803
- /**
3804
- * Occurs when an OutboundTransfer transitions into the returned state.
3805
- */
3806
- export interface V2MoneyManagementOutboundTransferReturnedEvent
3807
- extends V2.EventBase {
3808
- type: 'v2.money_management.outbound_transfer.returned';
3809
- // Object containing the reference to API resource relevant to the event.
3810
- related_object: Event.RelatedObject;
3811
- // Retrieves the object associated with the event.
3812
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3813
- }
3814
- export interface PushedV2MoneyManagementOutboundTransferReturnedEvent
3815
- extends V2.EventBase {
3816
- type: 'v2.money_management.outbound_transfer.returned';
3817
- // Object containing the reference to API resource relevant to the event.
3818
- related_object: Event.RelatedObject;
3819
- // Retrieves the object associated with the event.
3820
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3821
- pull(): Promise<V2MoneyManagementOutboundTransferReturnedEvent>;
3822
- }
3823
-
3824
- /**
3825
- * Event that is emitted every time an Outbound Transfer is updated.
3826
- */
3827
- export interface V2MoneyManagementOutboundTransferUpdatedEvent
3828
- extends V2.EventBase {
3829
- type: 'v2.money_management.outbound_transfer.updated';
3830
- // Object containing the reference to API resource relevant to the event.
3831
- related_object: Event.RelatedObject;
3832
- // Retrieves the object associated with the event.
3833
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3834
- }
3835
- export interface PushedV2MoneyManagementOutboundTransferUpdatedEvent
3836
- extends V2.EventBase {
3837
- type: 'v2.money_management.outbound_transfer.updated';
3838
- // Object containing the reference to API resource relevant to the event.
3839
- related_object: Event.RelatedObject;
3840
- // Retrieves the object associated with the event.
3841
- fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
3842
- pull(): Promise<V2MoneyManagementOutboundTransferUpdatedEvent>;
3843
- }
3844
-
3845
- /**
3846
- * Occurs when a PayoutMethod is updated.
3847
- */
3848
- export interface V2MoneyManagementPayoutMethodUpdatedEvent
3849
- extends V2.EventBase {
3850
- type: 'v2.money_management.payout_method.updated';
3851
- // Object containing the reference to API resource relevant to the event.
3852
- related_object: Event.RelatedObject;
3853
- // Retrieves the object associated with the event.
3854
- fetchRelatedObject(): Promise<V2.MoneyManagement.PayoutMethod>;
3855
- }
3856
- export interface PushedV2MoneyManagementPayoutMethodUpdatedEvent
3857
- extends V2.EventBase {
3858
- type: 'v2.money_management.payout_method.updated';
3859
- // Object containing the reference to API resource relevant to the event.
3860
- related_object: Event.RelatedObject;
3861
- // Retrieves the object associated with the event.
3862
- fetchRelatedObject(): Promise<V2.MoneyManagement.PayoutMethod>;
3863
- pull(): Promise<V2MoneyManagementPayoutMethodUpdatedEvent>;
3864
- }
3865
-
3866
- /**
3867
- * Occurs when a ReceivedCredit's funds are received and are available in your balance.
3868
- */
3869
- export interface V2MoneyManagementReceivedCreditAvailableEvent
3870
- extends V2.EventBase {
3871
- type: 'v2.money_management.received_credit.available';
3872
- // Retrieves data specific to this event.
3873
- data: V2MoneyManagementReceivedCreditAvailableEvent.Data;
3874
- // Object containing the reference to API resource relevant to the event.
3875
- related_object: Event.RelatedObject;
3876
- // Retrieves the object associated with the event.
3877
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
3878
- }
3879
- export interface PushedV2MoneyManagementReceivedCreditAvailableEvent
3880
- extends V2.EventBase {
3881
- type: 'v2.money_management.received_credit.available';
3882
- // Object containing the reference to API resource relevant to the event.
3883
- related_object: Event.RelatedObject;
3884
- // Retrieves the object associated with the event.
3885
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
3886
- pull(): Promise<V2MoneyManagementReceivedCreditAvailableEvent>;
3887
- }
3888
-
3889
- namespace V2MoneyManagementReceivedCreditAvailableEvent {
3890
- export interface Data {
3891
- /**
3892
- * The transaction ID of the received credit.
3893
- */
3894
- transaction_id: string;
3895
- }
3896
- }
3897
-
3898
- /**
3899
- * Occurs when a ReceivedCredit is attempted to your balance and fails. See the status_details for more information.
3900
- */
3901
- export interface V2MoneyManagementReceivedCreditFailedEvent
3902
- extends V2.EventBase {
3903
- type: 'v2.money_management.received_credit.failed';
3904
- // Object containing the reference to API resource relevant to the event.
3905
- related_object: Event.RelatedObject;
3906
- // Retrieves the object associated with the event.
3907
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
3908
- }
3909
- export interface PushedV2MoneyManagementReceivedCreditFailedEvent
3910
- extends V2.EventBase {
3911
- type: 'v2.money_management.received_credit.failed';
3912
- // Object containing the reference to API resource relevant to the event.
3913
- related_object: Event.RelatedObject;
3914
- // Retrieves the object associated with the event.
3915
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
3916
- pull(): Promise<V2MoneyManagementReceivedCreditFailedEvent>;
3917
- }
3918
-
3919
- /**
3920
- * Occurs when a ReceivedCredit is reversed, returned to the originator, and deducted from your balance.
3921
- */
3922
- export interface V2MoneyManagementReceivedCreditReturnedEvent
3923
- extends V2.EventBase {
3924
- type: 'v2.money_management.received_credit.returned';
3925
- // Object containing the reference to API resource relevant to the event.
3926
- related_object: Event.RelatedObject;
3927
- // Retrieves the object associated with the event.
3928
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
3929
- }
3930
- export interface PushedV2MoneyManagementReceivedCreditReturnedEvent
3931
- extends V2.EventBase {
3932
- type: 'v2.money_management.received_credit.returned';
3933
- // Object containing the reference to API resource relevant to the event.
3934
- related_object: Event.RelatedObject;
3935
- // Retrieves the object associated with the event.
3936
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
3937
- pull(): Promise<V2MoneyManagementReceivedCreditReturnedEvent>;
3938
- }
3939
-
3940
- /**
3941
- * Occurs when a ReceivedCredit succeeds.
3942
- */
3943
- export interface V2MoneyManagementReceivedCreditSucceededEvent
3944
- extends V2.EventBase {
3945
- type: 'v2.money_management.received_credit.succeeded';
3946
- // Object containing the reference to API resource relevant to the event.
3947
- related_object: Event.RelatedObject;
3948
- // Retrieves the object associated with the event.
3949
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
3950
- }
3951
- export interface PushedV2MoneyManagementReceivedCreditSucceededEvent
3952
- extends V2.EventBase {
3953
- type: 'v2.money_management.received_credit.succeeded';
3954
- // Object containing the reference to API resource relevant to the event.
3955
- related_object: Event.RelatedObject;
3956
- // Retrieves the object associated with the event.
3957
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
3958
- pull(): Promise<V2MoneyManagementReceivedCreditSucceededEvent>;
3959
- }
3960
-
3961
- /**
3962
- * Occurs when a ReceivedDebit is canceled.
3963
- */
3964
- export interface V2MoneyManagementReceivedDebitCanceledEvent
3965
- extends V2.EventBase {
3966
- type: 'v2.money_management.received_debit.canceled';
3967
- // Object containing the reference to API resource relevant to the event.
3968
- related_object: Event.RelatedObject;
3969
- // Retrieves the object associated with the event.
3970
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
3971
- }
3972
- export interface PushedV2MoneyManagementReceivedDebitCanceledEvent
3973
- extends V2.EventBase {
3974
- type: 'v2.money_management.received_debit.canceled';
3975
- // Object containing the reference to API resource relevant to the event.
3976
- related_object: Event.RelatedObject;
3977
- // Retrieves the object associated with the event.
3978
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
3979
- pull(): Promise<V2MoneyManagementReceivedDebitCanceledEvent>;
3980
- }
3981
-
3982
- /**
3983
- * Occurs when a ReceivedDebit fails.
3984
- */
3985
- export interface V2MoneyManagementReceivedDebitFailedEvent
3986
- extends V2.EventBase {
3987
- type: 'v2.money_management.received_debit.failed';
3988
- // Object containing the reference to API resource relevant to the event.
3989
- related_object: Event.RelatedObject;
3990
- // Retrieves the object associated with the event.
3991
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
3992
- }
3993
- export interface PushedV2MoneyManagementReceivedDebitFailedEvent
3994
- extends V2.EventBase {
3995
- type: 'v2.money_management.received_debit.failed';
3996
- // Object containing the reference to API resource relevant to the event.
3997
- related_object: Event.RelatedObject;
3998
- // Retrieves the object associated with the event.
3999
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
4000
- pull(): Promise<V2MoneyManagementReceivedDebitFailedEvent>;
4001
- }
4002
-
4003
- /**
4004
- * Occurs when a ReceivedDebit is set to pending.
4005
- */
4006
- export interface V2MoneyManagementReceivedDebitPendingEvent
4007
- extends V2.EventBase {
4008
- type: 'v2.money_management.received_debit.pending';
4009
- // Object containing the reference to API resource relevant to the event.
4010
- related_object: Event.RelatedObject;
4011
- // Retrieves the object associated with the event.
4012
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
4013
- }
4014
- export interface PushedV2MoneyManagementReceivedDebitPendingEvent
4015
- extends V2.EventBase {
4016
- type: 'v2.money_management.received_debit.pending';
4017
- // Object containing the reference to API resource relevant to the event.
4018
- related_object: Event.RelatedObject;
4019
- // Retrieves the object associated with the event.
4020
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
4021
- pull(): Promise<V2MoneyManagementReceivedDebitPendingEvent>;
4022
- }
4023
-
4024
- /**
4025
- * Occurs when a ReceivedDebit succeeds.
4026
- */
4027
- export interface V2MoneyManagementReceivedDebitSucceededEvent
4028
- extends V2.EventBase {
4029
- type: 'v2.money_management.received_debit.succeeded';
4030
- // Object containing the reference to API resource relevant to the event.
4031
- related_object: Event.RelatedObject;
4032
- // Retrieves the object associated with the event.
4033
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
4034
- }
4035
- export interface PushedV2MoneyManagementReceivedDebitSucceededEvent
4036
- extends V2.EventBase {
4037
- type: 'v2.money_management.received_debit.succeeded';
4038
- // Object containing the reference to API resource relevant to the event.
4039
- related_object: Event.RelatedObject;
4040
- // Retrieves the object associated with the event.
4041
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
4042
- pull(): Promise<V2MoneyManagementReceivedDebitSucceededEvent>;
4043
- }
4044
-
4045
- /**
4046
- * Occurs when a ReceivedDebit is updated.
4047
- */
4048
- export interface V2MoneyManagementReceivedDebitUpdatedEvent
4049
- extends V2.EventBase {
4050
- type: 'v2.money_management.received_debit.updated';
4051
- // Object containing the reference to API resource relevant to the event.
4052
- related_object: Event.RelatedObject;
4053
- // Retrieves the object associated with the event.
4054
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
4055
- }
4056
- export interface PushedV2MoneyManagementReceivedDebitUpdatedEvent
4057
- extends V2.EventBase {
4058
- type: 'v2.money_management.received_debit.updated';
4059
- // Object containing the reference to API resource relevant to the event.
4060
- related_object: Event.RelatedObject;
4061
- // Retrieves the object associated with the event.
4062
- fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
4063
- pull(): Promise<V2MoneyManagementReceivedDebitUpdatedEvent>;
4064
- }
4065
-
4066
- /**
4067
- * Occurs when a Transaction is created.
4068
- */
4069
- export interface V2MoneyManagementTransactionCreatedEvent
4070
- extends V2.EventBase {
4071
- type: 'v2.money_management.transaction.created';
4072
- // Object containing the reference to API resource relevant to the event.
4073
- related_object: Event.RelatedObject;
4074
- // Retrieves the object associated with the event.
4075
- fetchRelatedObject(): Promise<V2.MoneyManagement.Transaction>;
4076
- }
4077
- export interface PushedV2MoneyManagementTransactionCreatedEvent
4078
- extends V2.EventBase {
4079
- type: 'v2.money_management.transaction.created';
4080
- // Object containing the reference to API resource relevant to the event.
4081
- related_object: Event.RelatedObject;
4082
- // Retrieves the object associated with the event.
4083
- fetchRelatedObject(): Promise<V2.MoneyManagement.Transaction>;
4084
- pull(): Promise<V2MoneyManagementTransactionCreatedEvent>;
4085
- }
4086
-
4087
- /**
4088
- * Occurs when a Transaction is updated.
4089
- */
4090
- export interface V2MoneyManagementTransactionUpdatedEvent
4091
- extends V2.EventBase {
4092
- type: 'v2.money_management.transaction.updated';
4093
- // Object containing the reference to API resource relevant to the event.
4094
- related_object: Event.RelatedObject;
4095
- // Retrieves the object associated with the event.
4096
- fetchRelatedObject(): Promise<V2.MoneyManagement.Transaction>;
4097
- }
4098
- export interface PushedV2MoneyManagementTransactionUpdatedEvent
4099
- extends V2.EventBase {
4100
- type: 'v2.money_management.transaction.updated';
4101
- // Object containing the reference to API resource relevant to the event.
4102
- related_object: Event.RelatedObject;
4103
- // Retrieves the object associated with the event.
4104
- fetchRelatedObject(): Promise<V2.MoneyManagement.Transaction>;
4105
- pull(): Promise<V2MoneyManagementTransactionUpdatedEvent>;
4106
- }
4107
-
4108
- /**
4109
- * Sent after a failed authorization if there are still retries available on the OffSessionPayment.
4110
- */
4111
- export interface V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent
4112
- extends V2.EventBase {
4113
- type: 'v2.payments.off_session_payment.authorization_attempt_failed';
4114
- // Object containing the reference to API resource relevant to the event.
4115
- related_object: Event.RelatedObject;
4116
- // Retrieves the object associated with the event.
4117
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4118
- }
4119
- export interface PushedV2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent
4120
- extends V2.EventBase {
4121
- type: 'v2.payments.off_session_payment.authorization_attempt_failed';
4122
- // Object containing the reference to API resource relevant to the event.
4123
- related_object: Event.RelatedObject;
4124
- // Retrieves the object associated with the event.
4125
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4126
- pull(): Promise<
4127
- V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent
4128
- >;
4129
- }
4130
-
4131
- /**
4132
- * Sent when our internal scheduling system kicks off an attempt at authorization, whether it's a
4133
- * retry or an initial authorization.
4134
- */
4135
- export interface V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent
4136
- extends V2.EventBase {
4137
- type: 'v2.payments.off_session_payment.authorization_attempt_started';
4138
- // Object containing the reference to API resource relevant to the event.
4139
- related_object: Event.RelatedObject;
4140
- // Retrieves the object associated with the event.
4141
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4142
- }
4143
- export interface PushedV2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent
4144
- extends V2.EventBase {
4145
- type: 'v2.payments.off_session_payment.authorization_attempt_started';
4146
- // Object containing the reference to API resource relevant to the event.
4147
- related_object: Event.RelatedObject;
4148
- // Retrieves the object associated with the event.
4149
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4150
- pull(): Promise<
4151
- V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent
4152
- >;
4153
- }
4154
-
4155
- /**
4156
- * Sent immediately following a user's call to the Off-Session Payments cancel endpoint.
4157
- */
4158
- export interface V2PaymentsOffSessionPaymentCanceledEvent
4159
- extends V2.EventBase {
4160
- type: 'v2.payments.off_session_payment.canceled';
4161
- // Object containing the reference to API resource relevant to the event.
4162
- related_object: Event.RelatedObject;
4163
- // Retrieves the object associated with the event.
4164
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4165
- }
4166
- export interface PushedV2PaymentsOffSessionPaymentCanceledEvent
4167
- extends V2.EventBase {
4168
- type: 'v2.payments.off_session_payment.canceled';
4169
- // Object containing the reference to API resource relevant to the event.
4170
- related_object: Event.RelatedObject;
4171
- // Retrieves the object associated with the event.
4172
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4173
- pull(): Promise<V2PaymentsOffSessionPaymentCanceledEvent>;
4174
- }
4175
-
4176
- /**
4177
- * Sent immediately following a user's call to the Off-Session Payments create endpoint.
4178
- */
4179
- export interface V2PaymentsOffSessionPaymentCreatedEvent
4180
- extends V2.EventBase {
4181
- type: 'v2.payments.off_session_payment.created';
4182
- // Object containing the reference to API resource relevant to the event.
4183
- related_object: Event.RelatedObject;
4184
- // Retrieves the object associated with the event.
4185
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4186
- }
4187
- export interface PushedV2PaymentsOffSessionPaymentCreatedEvent
4188
- extends V2.EventBase {
4189
- type: 'v2.payments.off_session_payment.created';
4190
- // Object containing the reference to API resource relevant to the event.
4191
- related_object: Event.RelatedObject;
4192
- // Retrieves the object associated with the event.
4193
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4194
- pull(): Promise<V2PaymentsOffSessionPaymentCreatedEvent>;
4195
- }
4196
-
4197
- /**
4198
- * Sent after a failed authorization if there are no retries remaining, or if the failure is unretryable.
4199
- */
4200
- export interface V2PaymentsOffSessionPaymentFailedEvent
4201
- extends V2.EventBase {
4202
- type: 'v2.payments.off_session_payment.failed';
4203
- // Object containing the reference to API resource relevant to the event.
4204
- related_object: Event.RelatedObject;
4205
- // Retrieves the object associated with the event.
4206
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4207
- }
4208
- export interface PushedV2PaymentsOffSessionPaymentFailedEvent
4209
- extends V2.EventBase {
4210
- type: 'v2.payments.off_session_payment.failed';
4211
- // Object containing the reference to API resource relevant to the event.
4212
- related_object: Event.RelatedObject;
4213
- // Retrieves the object associated with the event.
4214
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4215
- pull(): Promise<V2PaymentsOffSessionPaymentFailedEvent>;
4216
- }
4217
-
4218
- /**
4219
- * Sent immediately after a successful authorization.
4220
- */
4221
- export interface V2PaymentsOffSessionPaymentSucceededEvent
4222
- extends V2.EventBase {
4223
- type: 'v2.payments.off_session_payment.succeeded';
4224
- // Object containing the reference to API resource relevant to the event.
4225
- related_object: Event.RelatedObject;
4226
- // Retrieves the object associated with the event.
4227
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4228
- }
4229
- export interface PushedV2PaymentsOffSessionPaymentSucceededEvent
4230
- extends V2.EventBase {
4231
- type: 'v2.payments.off_session_payment.succeeded';
4232
- // Object containing the reference to API resource relevant to the event.
4233
- related_object: Event.RelatedObject;
4234
- // Retrieves the object associated with the event.
4235
- fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
4236
- pull(): Promise<V2PaymentsOffSessionPaymentSucceededEvent>;
4237
- }
4238
-
4239
- /**
4240
- * Occurs when a ReportRun is created.
4241
- */
4242
- export interface V2ReportingReportRunCreatedEvent extends V2.EventBase {
4243
- type: 'v2.reporting.report_run.created';
4244
- // Object containing the reference to API resource relevant to the event.
4245
- related_object: Event.RelatedObject;
4246
- // Retrieves the object associated with the event.
4247
- fetchRelatedObject(): Promise<V2.Reporting.ReportRun>;
4248
- }
4249
- export interface PushedV2ReportingReportRunCreatedEvent
4250
- extends V2.EventBase {
4251
- type: 'v2.reporting.report_run.created';
4252
- // Object containing the reference to API resource relevant to the event.
4253
- related_object: Event.RelatedObject;
4254
- // Retrieves the object associated with the event.
4255
- fetchRelatedObject(): Promise<V2.Reporting.ReportRun>;
4256
- pull(): Promise<V2ReportingReportRunCreatedEvent>;
4257
- }
4258
-
4259
- /**
4260
- * Occurs when a ReportRun has failed to complete.
4261
- */
4262
- export interface V2ReportingReportRunFailedEvent extends V2.EventBase {
4263
- type: 'v2.reporting.report_run.failed';
4264
- // Object containing the reference to API resource relevant to the event.
4265
- related_object: Event.RelatedObject;
4266
- // Retrieves the object associated with the event.
4267
- fetchRelatedObject(): Promise<V2.Reporting.ReportRun>;
4268
- }
4269
- export interface PushedV2ReportingReportRunFailedEvent
4270
- extends V2.EventBase {
4271
- type: 'v2.reporting.report_run.failed';
4272
- // Object containing the reference to API resource relevant to the event.
4273
- related_object: Event.RelatedObject;
4274
- // Retrieves the object associated with the event.
4275
- fetchRelatedObject(): Promise<V2.Reporting.ReportRun>;
4276
- pull(): Promise<V2ReportingReportRunFailedEvent>;
4277
- }
4278
-
4279
- /**
4280
- * Occurs when a ReportRun has successfully completed.
4281
- */
4282
- export interface V2ReportingReportRunSucceededEvent extends V2.EventBase {
4283
- type: 'v2.reporting.report_run.succeeded';
4284
- // Object containing the reference to API resource relevant to the event.
4285
- related_object: Event.RelatedObject;
4286
- // Retrieves the object associated with the event.
4287
- fetchRelatedObject(): Promise<V2.Reporting.ReportRun>;
4288
- }
4289
- export interface PushedV2ReportingReportRunSucceededEvent
4290
- extends V2.EventBase {
4291
- type: 'v2.reporting.report_run.succeeded';
4292
- // Object containing the reference to API resource relevant to the event.
4293
- related_object: Event.RelatedObject;
4294
- // Retrieves the object associated with the event.
4295
- fetchRelatedObject(): Promise<V2.Reporting.ReportRun>;
4296
- pull(): Promise<V2ReportingReportRunSucceededEvent>;
4297
- }
4298
-
4299
- /**
4300
- * Occurs when a ReportRun is updated.
4301
- */
4302
- export interface V2ReportingReportRunUpdatedEvent extends V2.EventBase {
4303
- type: 'v2.reporting.report_run.updated';
4304
- // Object containing the reference to API resource relevant to the event.
4305
- related_object: Event.RelatedObject;
4306
- // Retrieves the object associated with the event.
4307
- fetchRelatedObject(): Promise<V2.Reporting.ReportRun>;
4308
- }
4309
- export interface PushedV2ReportingReportRunUpdatedEvent
4310
- extends V2.EventBase {
4311
- type: 'v2.reporting.report_run.updated';
4312
- // Object containing the reference to API resource relevant to the event.
4313
- related_object: Event.RelatedObject;
4314
- // Retrieves the object associated with the event.
4315
- fetchRelatedObject(): Promise<V2.Reporting.ReportRun>;
4316
- pull(): Promise<V2ReportingReportRunUpdatedEvent>;
4317
- }
4318
- }
4319
- }