stripe 22.2.0-beta.3 → 22.2.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.
- package/CHANGELOG.md +84 -1730
- package/OPENAPI_VERSION +1 -1
- package/README.md +65 -57
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -50
- package/cjs/Error.js +1 -125
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -0
- package/cjs/RequestSender.js +10 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/lib.d.ts +48 -3
- package/cjs/net/FetchHttpClient.js.map +1 -1
- package/cjs/net/HttpClient.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
- package/cjs/platform/NodePlatformFunctions.js +17 -0
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +13 -0
- package/cjs/platform/PlatformFunctions.js +21 -0
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +0 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +45 -819
- package/cjs/resources/Accounts.js +0 -15
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/index.d.ts +4 -4
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceSettings.d.ts +86 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/index.d.ts +24 -27
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/index.d.ts +5 -5
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +0 -4
- package/cjs/resources/Charges.d.ts +92 -3064
- package/cjs/resources/Checkout/Sessions.d.ts +51 -414
- package/cjs/resources/Checkout/index.d.ts +6 -6
- package/cjs/resources/Climate/index.d.ts +9 -9
- package/cjs/resources/ConfirmationTokens.d.ts +7 -67
- package/cjs/resources/Coupons.d.ts +0 -47
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -7
- package/cjs/resources/CreditNotes.js +0 -14
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +1 -7
- package/cjs/resources/Customers.js +0 -15
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +4 -4
- package/cjs/resources/Disputes.d.ts +0 -29
- package/cjs/resources/Entitlements/index.d.ts +6 -6
- package/cjs/resources/Events.d.ts +2 -547
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/cjs/resources/FinancialConnections/index.d.ts +13 -28
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/index.d.ts +3 -3
- package/cjs/resources/Identity/index.d.ts +8 -8
- package/cjs/resources/InvoiceItems.d.ts +28 -85
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +26 -1348
- package/cjs/resources/Invoices.js +0 -70
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
- package/cjs/resources/Issuing/Disputes.d.ts +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/cjs/resources/Issuing/Transactions.d.ts +0 -9
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +35 -60
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +4 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/OAuth.d.ts +7 -8
- package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
- package/cjs/resources/PaymentIntents.d.ts +6510 -17236
- package/cjs/resources/PaymentIntents.js +3 -28
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +88 -20
- package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/cjs/resources/PaymentMethods.d.ts +22 -152
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +23 -92
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Prices.d.ts +0 -52
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -28
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +160 -2369
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/cjs/resources/Radar/index.d.ts +12 -12
- package/cjs/resources/Refunds.d.ts +3 -11
- package/cjs/resources/Reporting/index.d.ts +5 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +0 -16
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +3 -14
- package/cjs/resources/Reserve/index.js +2 -10
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +3 -25
- package/cjs/resources/SetupIntents.d.ts +77 -336
- package/cjs/resources/Sigma/index.d.ts +2 -2
- package/cjs/resources/Sources.d.ts +1 -16
- package/cjs/resources/SubscriptionItems.d.ts +4 -165
- package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
- package/cjs/resources/SubscriptionSchedules.js +0 -48
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +32 -490
- package/cjs/resources/Subscriptions.js +2 -31
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/cjs/resources/Tax/Calculations.d.ts +3 -7
- package/cjs/resources/Tax/Registrations.d.ts +2 -138
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +17 -31
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +0 -15
- package/cjs/resources/Terminal/Configurations.d.ts +108 -27
- package/cjs/resources/Terminal/Readers.d.ts +143 -19
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +25 -30
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +5 -8
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/index.d.ts +33 -33
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/cjs/resources/V2/Core/AccountTokens.js +5 -1
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
- package/cjs/resources/V2/Core/Accounts.js +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/cjs/resources/V2/Core/Events.d.ts +8 -1126
- package/cjs/resources/V2/Core/Events.js +2 -1
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +19 -29
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -27
- package/cjs/resources/V2/index.js +0 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +29 -69
- package/cjs/stripe.core.js +44 -61
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -2
- package/cjs/utils.js +1 -16
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +0 -50
- package/esm/Error.js +0 -109
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -0
- package/esm/RequestSender.js +11 -3
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/lib.d.ts +48 -3
- package/esm/net/FetchHttpClient.js.map +1 -1
- package/esm/net/HttpClient.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +6 -0
- package/esm/platform/NodePlatformFunctions.js +17 -0
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +13 -0
- package/esm/platform/PlatformFunctions.js +21 -0
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +0 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +45 -819
- package/esm/resources/Accounts.js +0 -15
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/index.d.ts +4 -4
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceSettings.d.ts +86 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/index.d.ts +24 -27
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/index.d.ts +5 -5
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +0 -4
- package/esm/resources/Charges.d.ts +92 -3064
- package/esm/resources/Checkout/Sessions.d.ts +51 -414
- package/esm/resources/Checkout/index.d.ts +6 -6
- package/esm/resources/Climate/index.d.ts +9 -9
- package/esm/resources/ConfirmationTokens.d.ts +7 -67
- package/esm/resources/Coupons.d.ts +0 -47
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -7
- package/esm/resources/CreditNotes.js +0 -14
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +1 -7
- package/esm/resources/Customers.js +0 -15
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +4 -4
- package/esm/resources/Disputes.d.ts +0 -29
- package/esm/resources/Entitlements/index.d.ts +6 -6
- package/esm/resources/Events.d.ts +2 -547
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/esm/resources/FinancialConnections/index.d.ts +13 -28
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/index.d.ts +3 -3
- package/esm/resources/Identity/index.d.ts +8 -8
- package/esm/resources/InvoiceItems.d.ts +28 -85
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +26 -1348
- package/esm/resources/Invoices.js +0 -70
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +1 -2
- package/esm/resources/Issuing/Disputes.d.ts +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/esm/resources/Issuing/Transactions.d.ts +0 -9
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +35 -60
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +4 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/OAuth.d.ts +7 -8
- package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
- package/esm/resources/PaymentIntents.d.ts +6510 -17236
- package/esm/resources/PaymentIntents.js +3 -28
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +88 -20
- package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/esm/resources/PaymentMethods.d.ts +22 -152
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +23 -92
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Prices.d.ts +0 -52
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -28
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +160 -2369
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/esm/resources/Radar/index.d.ts +12 -12
- package/esm/resources/Refunds.d.ts +3 -11
- package/esm/resources/Reporting/index.d.ts +5 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +0 -16
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +3 -14
- package/esm/resources/Reserve/index.js +2 -10
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +3 -25
- package/esm/resources/SetupIntents.d.ts +77 -336
- package/esm/resources/Sigma/index.d.ts +2 -2
- package/esm/resources/Sources.d.ts +1 -16
- package/esm/resources/SubscriptionItems.d.ts +4 -165
- package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
- package/esm/resources/SubscriptionSchedules.js +0 -48
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +32 -490
- package/esm/resources/Subscriptions.js +2 -31
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/esm/resources/Tax/Calculations.d.ts +3 -7
- package/esm/resources/Tax/Registrations.d.ts +2 -138
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +17 -31
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +0 -15
- package/esm/resources/Terminal/Configurations.d.ts +108 -27
- package/esm/resources/Terminal/Readers.d.ts +143 -19
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +25 -30
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +5 -8
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/index.d.ts +33 -33
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/esm/resources/V2/Core/AccountTokens.js +5 -1
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
- package/esm/resources/V2/Core/Accounts.js +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/esm/resources/V2/Core/Events.d.ts +8 -1126
- package/esm/resources/V2/Core/Events.js +2 -1
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +19 -29
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -27
- package/esm/resources/V2/index.js +0 -14
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +29 -69
- package/esm/stripe.core.js +15 -32
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +29 -70
- package/esm/stripe.esm.node.js +15 -32
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -2
- package/esm/utils.js +0 -13
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -22
- package/cjs/StripeEventNotificationHandler.js +0 -147
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
- package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -85
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4693
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -230
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -12
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/cjs/resources/V2/MoneyManagement/index.js +0 -39
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/StripeEventNotificationHandler.d.ts +0 -22
- package/esm/StripeEventNotificationHandler.js +0 -143
- package/esm/StripeEventNotificationHandler.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/esm/resources/FinancialConnections/Authorizations.js +0 -11
- package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -85
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4693
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -230
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -12
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/esm/resources/V2/MoneyManagement/index.js +0 -35
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/TestHelpers/index.js +0 -9
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { StripeResource } from '../../../StripeResource.js';
|
|
2
2
|
import { RangeQueryParam } from '../../../shared.js';
|
|
3
|
-
import { RequestOptions,
|
|
3
|
+
import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
|
|
4
4
|
export declare class EventResource extends StripeResource {
|
|
5
5
|
/**
|
|
6
6
|
* List events, going back up to 30 days.
|
|
7
7
|
*/
|
|
8
|
-
list(params?: V2.Core.EventListParams, options?: RequestOptions):
|
|
8
|
+
list(params?: V2.Core.EventListParams, options?: RequestOptions): V2ListPromise<Event>;
|
|
9
9
|
/**
|
|
10
|
-
* Retrieves the details of an event.
|
|
10
|
+
* Retrieves the details of an event if it was created in the last 30 days. Supply the unique
|
|
11
|
+
* identifier of the event, which might have been delivered to your event destination.
|
|
11
12
|
*/
|
|
12
13
|
retrieve(id: string, params?: V2.Core.EventRetrieveParams, options?: RequestOptions): Promise<Response<Event>>;
|
|
13
14
|
/**
|
|
@@ -117,12 +118,8 @@ export declare namespace V2 {
|
|
|
117
118
|
import { Core } from './index.js';
|
|
118
119
|
import { Billing as V1Billing } from './../../Billing/index.js';
|
|
119
120
|
import { Commerce } from './../Commerce/index.js';
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
import { MoneyManagement } from './../MoneyManagement/index.js';
|
|
123
|
-
import { OrchestratedCommerce } from './../OrchestratedCommerce/index.js';
|
|
124
|
-
export type Event = V1BillingMeterErrorReportTriggeredEvent | V1BillingMeterNoMeterFoundEvent | V2CommerceProductCatalogImportsFailedEvent | V2CommerceProductCatalogImportsProcessingEvent | V2CommerceProductCatalogImportsSucceededEvent | V2CommerceProductCatalogImportsSucceededWithErrorsEvent | V2CoreAccountClosedEvent | V2CoreAccountCreatedEvent | V2CoreAccountUpdatedEvent | V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationCustomerUpdatedEvent | V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationMerchantUpdatedEvent | V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationRecipientUpdatedEvent | V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationStorerUpdatedEvent | V2CoreAccountIncludingDefaultsUpdatedEvent | V2CoreAccountIncludingFutureRequirementsUpdatedEvent | V2CoreAccountIncludingIdentityUpdatedEvent | V2CoreAccountIncludingRequirementsUpdatedEvent | V2CoreAccountLinkReturnedEvent | V2CoreAccountPersonCreatedEvent | V2CoreAccountPersonDeletedEvent | V2CoreAccountPersonUpdatedEvent | V2CoreBatchJobBatchFailedEvent | V2CoreBatchJobCanceledEvent | V2CoreBatchJobCompletedEvent | V2CoreBatchJobCreatedEvent | V2CoreBatchJobReadyForUploadEvent | V2CoreBatchJobTimeoutEvent | V2CoreBatchJobUpdatedEvent | V2CoreBatchJobUploadTimeoutEvent | V2CoreBatchJobValidatingEvent | V2CoreBatchJobValidationFailedEvent | V2CoreEventDestinationPingEvent | V2CoreHealthEventGenerationFailureResolvedEvent | V2DataReportingQueryRunCreatedEvent | V2DataReportingQueryRunFailedEvent | V2DataReportingQueryRunSucceededEvent | V2DataReportingQueryRunUpdatedEvent | V2ExtendWorkflowRunFailedEvent | V2ExtendWorkflowRunStartedEvent | V2ExtendWorkflowRunSucceededEvent | V2MoneyManagementAdjustmentCreatedEvent | V2MoneyManagementFinancialAccountCreatedEvent | V2MoneyManagementFinancialAccountUpdatedEvent | V2MoneyManagementFinancialAddressActivatedEvent | V2MoneyManagementFinancialAddressFailedEvent | V2MoneyManagementInboundTransferAvailableEvent | V2MoneyManagementInboundTransferBankDebitFailedEvent | V2MoneyManagementInboundTransferBankDebitProcessingEvent | V2MoneyManagementInboundTransferBankDebitQueuedEvent | V2MoneyManagementInboundTransferBankDebitReturnedEvent | V2MoneyManagementInboundTransferBankDebitSucceededEvent | V2MoneyManagementOutboundPaymentCanceledEvent | V2MoneyManagementOutboundPaymentCreatedEvent | V2MoneyManagementOutboundPaymentFailedEvent | V2MoneyManagementOutboundPaymentPostedEvent | V2MoneyManagementOutboundPaymentReturnedEvent | V2MoneyManagementOutboundPaymentUpdatedEvent | V2MoneyManagementOutboundTransferCanceledEvent | V2MoneyManagementOutboundTransferCreatedEvent | V2MoneyManagementOutboundTransferFailedEvent | V2MoneyManagementOutboundTransferPostedEvent | V2MoneyManagementOutboundTransferReturnedEvent | V2MoneyManagementOutboundTransferUpdatedEvent | V2MoneyManagementPayoutMethodCreatedEvent | V2MoneyManagementPayoutMethodUpdatedEvent | V2MoneyManagementReceivedCreditAvailableEvent | V2MoneyManagementReceivedCreditFailedEvent | V2MoneyManagementReceivedCreditReturnedEvent | V2MoneyManagementReceivedCreditSucceededEvent | V2MoneyManagementReceivedDebitCanceledEvent | V2MoneyManagementReceivedDebitFailedEvent | V2MoneyManagementReceivedDebitPendingEvent | V2MoneyManagementReceivedDebitSucceededEvent | V2MoneyManagementReceivedDebitUpdatedEvent | V2MoneyManagementTransactionCreatedEvent | V2MoneyManagementTransactionUpdatedEvent | V2OrchestratedCommerceAgreementConfirmedEvent | V2OrchestratedCommerceAgreementCreatedEvent | V2OrchestratedCommerceAgreementPartiallyConfirmedEvent | V2OrchestratedCommerceAgreementTerminatedEvent;
|
|
125
|
-
export type EventNotification = V1BillingMeterErrorReportTriggeredEventNotification | V1BillingMeterNoMeterFoundEventNotification | V2CommerceProductCatalogImportsFailedEventNotification | V2CommerceProductCatalogImportsProcessingEventNotification | V2CommerceProductCatalogImportsSucceededEventNotification | V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification | V2CoreAccountClosedEventNotification | V2CoreAccountCreatedEventNotification | V2CoreAccountUpdatedEventNotification | V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification | V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification | V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification | V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification | V2CoreAccountIncludingDefaultsUpdatedEventNotification | V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification | V2CoreAccountIncludingIdentityUpdatedEventNotification | V2CoreAccountIncludingRequirementsUpdatedEventNotification | V2CoreAccountLinkReturnedEventNotification | V2CoreAccountPersonCreatedEventNotification | V2CoreAccountPersonDeletedEventNotification | V2CoreAccountPersonUpdatedEventNotification | V2CoreBatchJobBatchFailedEventNotification | V2CoreBatchJobCanceledEventNotification | V2CoreBatchJobCompletedEventNotification | V2CoreBatchJobCreatedEventNotification | V2CoreBatchJobReadyForUploadEventNotification | V2CoreBatchJobTimeoutEventNotification | V2CoreBatchJobUpdatedEventNotification | V2CoreBatchJobUploadTimeoutEventNotification | V2CoreBatchJobValidatingEventNotification | V2CoreBatchJobValidationFailedEventNotification | V2CoreEventDestinationPingEventNotification | V2CoreHealthEventGenerationFailureResolvedEventNotification | V2DataReportingQueryRunCreatedEventNotification | V2DataReportingQueryRunFailedEventNotification | V2DataReportingQueryRunSucceededEventNotification | V2DataReportingQueryRunUpdatedEventNotification | V2ExtendWorkflowRunFailedEventNotification | V2ExtendWorkflowRunStartedEventNotification | V2ExtendWorkflowRunSucceededEventNotification | V2MoneyManagementAdjustmentCreatedEventNotification | V2MoneyManagementFinancialAccountCreatedEventNotification | V2MoneyManagementFinancialAccountUpdatedEventNotification | V2MoneyManagementFinancialAddressActivatedEventNotification | V2MoneyManagementFinancialAddressFailedEventNotification | V2MoneyManagementInboundTransferAvailableEventNotification | V2MoneyManagementInboundTransferBankDebitFailedEventNotification | V2MoneyManagementInboundTransferBankDebitProcessingEventNotification | V2MoneyManagementInboundTransferBankDebitQueuedEventNotification | V2MoneyManagementInboundTransferBankDebitReturnedEventNotification | V2MoneyManagementInboundTransferBankDebitSucceededEventNotification | V2MoneyManagementOutboundPaymentCanceledEventNotification | V2MoneyManagementOutboundPaymentCreatedEventNotification | V2MoneyManagementOutboundPaymentFailedEventNotification | V2MoneyManagementOutboundPaymentPostedEventNotification | V2MoneyManagementOutboundPaymentReturnedEventNotification | V2MoneyManagementOutboundPaymentUpdatedEventNotification | V2MoneyManagementOutboundTransferCanceledEventNotification | V2MoneyManagementOutboundTransferCreatedEventNotification | V2MoneyManagementOutboundTransferFailedEventNotification | V2MoneyManagementOutboundTransferPostedEventNotification | V2MoneyManagementOutboundTransferReturnedEventNotification | V2MoneyManagementOutboundTransferUpdatedEventNotification | V2MoneyManagementPayoutMethodCreatedEventNotification | V2MoneyManagementPayoutMethodUpdatedEventNotification | V2MoneyManagementReceivedCreditAvailableEventNotification | V2MoneyManagementReceivedCreditFailedEventNotification | V2MoneyManagementReceivedCreditReturnedEventNotification | V2MoneyManagementReceivedCreditSucceededEventNotification | V2MoneyManagementReceivedDebitCanceledEventNotification | V2MoneyManagementReceivedDebitFailedEventNotification | V2MoneyManagementReceivedDebitPendingEventNotification | V2MoneyManagementReceivedDebitSucceededEventNotification | V2MoneyManagementReceivedDebitUpdatedEventNotification | V2MoneyManagementTransactionCreatedEventNotification | V2MoneyManagementTransactionUpdatedEventNotification | V2OrchestratedCommerceAgreementConfirmedEventNotification | V2OrchestratedCommerceAgreementCreatedEventNotification | V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification | V2OrchestratedCommerceAgreementTerminatedEventNotification;
|
|
121
|
+
export type Event = V1BillingMeterErrorReportTriggeredEvent | V1BillingMeterNoMeterFoundEvent | V2CommerceProductCatalogImportsFailedEvent | V2CommerceProductCatalogImportsProcessingEvent | V2CommerceProductCatalogImportsSucceededEvent | V2CommerceProductCatalogImportsSucceededWithErrorsEvent | V2CoreAccountClosedEvent | V2CoreAccountCreatedEvent | V2CoreAccountUpdatedEvent | V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationCustomerUpdatedEvent | V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationMerchantUpdatedEvent | V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationRecipientUpdatedEvent | V2CoreAccountIncludingDefaultsUpdatedEvent | V2CoreAccountIncludingFutureRequirementsUpdatedEvent | V2CoreAccountIncludingIdentityUpdatedEvent | V2CoreAccountIncludingRequirementsUpdatedEvent | V2CoreAccountLinkReturnedEvent | V2CoreAccountPersonCreatedEvent | V2CoreAccountPersonDeletedEvent | V2CoreAccountPersonUpdatedEvent | V2CoreEventDestinationPingEvent;
|
|
122
|
+
export type EventNotification = V1BillingMeterErrorReportTriggeredEventNotification | V1BillingMeterNoMeterFoundEventNotification | V2CommerceProductCatalogImportsFailedEventNotification | V2CommerceProductCatalogImportsProcessingEventNotification | V2CommerceProductCatalogImportsSucceededEventNotification | V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification | V2CoreAccountClosedEventNotification | V2CoreAccountCreatedEventNotification | V2CoreAccountUpdatedEventNotification | V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification | V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification | V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification | V2CoreAccountIncludingDefaultsUpdatedEventNotification | V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification | V2CoreAccountIncludingIdentityUpdatedEventNotification | V2CoreAccountIncludingRequirementsUpdatedEventNotification | V2CoreAccountLinkReturnedEventNotification | V2CoreAccountPersonCreatedEventNotification | V2CoreAccountPersonDeletedEventNotification | V2CoreAccountPersonUpdatedEventNotification | V2CoreEventDestinationPingEventNotification;
|
|
126
123
|
import { StripeContext } from '../../../StripeContext.js';
|
|
127
124
|
export declare namespace V2 {
|
|
128
125
|
namespace Core {
|
|
@@ -536,46 +533,6 @@ export interface V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotific
|
|
|
536
533
|
fetchRelatedObject(): Promise<Core.Account>;
|
|
537
534
|
fetchEvent(): Promise<V2CoreAccountIncludingConfigurationRecipientUpdatedEvent>;
|
|
538
535
|
}
|
|
539
|
-
/**
|
|
540
|
-
* Occurs when the status of an Account's storer configuration capability is updated.
|
|
541
|
-
*/
|
|
542
|
-
export interface V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent extends EventBase {
|
|
543
|
-
type: 'v2.core.account[configuration.storer].capability_status_updated';
|
|
544
|
-
data: V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.Data;
|
|
545
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
546
|
-
fetchRelatedObject(): Promise<Core.Account>;
|
|
547
|
-
}
|
|
548
|
-
export interface V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification extends EventNotificationBase {
|
|
549
|
-
type: 'v2.core.account[configuration.storer].capability_status_updated';
|
|
550
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
551
|
-
fetchRelatedObject(): Promise<Core.Account>;
|
|
552
|
-
fetchEvent(): Promise<V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent>;
|
|
553
|
-
}
|
|
554
|
-
export declare namespace V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent {
|
|
555
|
-
interface Data {
|
|
556
|
-
/**
|
|
557
|
-
* Open Enum. The capability which had its status updated.
|
|
558
|
-
*/
|
|
559
|
-
updated_capability: Data.UpdatedCapability;
|
|
560
|
-
}
|
|
561
|
-
namespace Data {
|
|
562
|
-
type UpdatedCapability = 'financial_addressses.bank_accounts' | 'financial_addressses.crypto_wallets' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'holds_currencies.usdc' | 'inbound_transfers.bank_accounts' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.crypto_wallets' | 'outbound_payments.financial_accounts' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.crypto_wallets' | 'outbound_transfers.financial_accounts';
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
/**
|
|
566
|
-
* Occurs when a Storer's configuration is updated.
|
|
567
|
-
*/
|
|
568
|
-
export interface V2CoreAccountIncludingConfigurationStorerUpdatedEvent extends EventBase {
|
|
569
|
-
type: 'v2.core.account[configuration.storer].updated';
|
|
570
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
571
|
-
fetchRelatedObject(): Promise<Core.Account>;
|
|
572
|
-
}
|
|
573
|
-
export interface V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification extends EventNotificationBase {
|
|
574
|
-
type: 'v2.core.account[configuration.storer].updated';
|
|
575
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
576
|
-
fetchRelatedObject(): Promise<Core.Account>;
|
|
577
|
-
fetchEvent(): Promise<V2CoreAccountIncludingConfigurationStorerUpdatedEvent>;
|
|
578
|
-
}
|
|
579
536
|
/**
|
|
580
537
|
* This event occurs when account defaults are created or updated.
|
|
581
538
|
*/
|
|
@@ -659,7 +616,7 @@ export declare namespace V2CoreAccountLinkReturnedEvent {
|
|
|
659
616
|
use_case: Data.UseCase;
|
|
660
617
|
}
|
|
661
618
|
namespace Data {
|
|
662
|
-
type Configuration = 'customer' | 'merchant' | 'recipient'
|
|
619
|
+
type Configuration = 'customer' | 'merchant' | 'recipient';
|
|
663
620
|
type UseCase = 'account_onboarding' | 'account_update';
|
|
664
621
|
}
|
|
665
622
|
}
|
|
@@ -732,146 +689,6 @@ export declare namespace V2CoreAccountPersonUpdatedEvent {
|
|
|
732
689
|
account_id: string;
|
|
733
690
|
}
|
|
734
691
|
}
|
|
735
|
-
/**
|
|
736
|
-
* Occurs when a batch job fails.
|
|
737
|
-
*/
|
|
738
|
-
export interface V2CoreBatchJobBatchFailedEvent extends EventBase {
|
|
739
|
-
type: 'v2.core.batch_job.batch_failed';
|
|
740
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
741
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
742
|
-
}
|
|
743
|
-
export interface V2CoreBatchJobBatchFailedEventNotification extends EventNotificationBase {
|
|
744
|
-
type: 'v2.core.batch_job.batch_failed';
|
|
745
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
746
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
747
|
-
fetchEvent(): Promise<V2CoreBatchJobBatchFailedEvent>;
|
|
748
|
-
}
|
|
749
|
-
/**
|
|
750
|
-
* Occurs when a batch job is canceled.
|
|
751
|
-
*/
|
|
752
|
-
export interface V2CoreBatchJobCanceledEvent extends EventBase {
|
|
753
|
-
type: 'v2.core.batch_job.canceled';
|
|
754
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
755
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
756
|
-
}
|
|
757
|
-
export interface V2CoreBatchJobCanceledEventNotification extends EventNotificationBase {
|
|
758
|
-
type: 'v2.core.batch_job.canceled';
|
|
759
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
760
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
761
|
-
fetchEvent(): Promise<V2CoreBatchJobCanceledEvent>;
|
|
762
|
-
}
|
|
763
|
-
/**
|
|
764
|
-
* Occurs on completion of a batch job.
|
|
765
|
-
*/
|
|
766
|
-
export interface V2CoreBatchJobCompletedEvent extends EventBase {
|
|
767
|
-
type: 'v2.core.batch_job.completed';
|
|
768
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
769
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
770
|
-
}
|
|
771
|
-
export interface V2CoreBatchJobCompletedEventNotification extends EventNotificationBase {
|
|
772
|
-
type: 'v2.core.batch_job.completed';
|
|
773
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
774
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
775
|
-
fetchEvent(): Promise<V2CoreBatchJobCompletedEvent>;
|
|
776
|
-
}
|
|
777
|
-
/**
|
|
778
|
-
* Occurs on creation of a batch job.
|
|
779
|
-
*/
|
|
780
|
-
export interface V2CoreBatchJobCreatedEvent extends EventBase {
|
|
781
|
-
type: 'v2.core.batch_job.created';
|
|
782
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
783
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
784
|
-
}
|
|
785
|
-
export interface V2CoreBatchJobCreatedEventNotification extends EventNotificationBase {
|
|
786
|
-
type: 'v2.core.batch_job.created';
|
|
787
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
788
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
789
|
-
fetchEvent(): Promise<V2CoreBatchJobCreatedEvent>;
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* Occurs on submission of a batch job.
|
|
793
|
-
*/
|
|
794
|
-
export interface V2CoreBatchJobReadyForUploadEvent extends EventBase {
|
|
795
|
-
type: 'v2.core.batch_job.ready_for_upload';
|
|
796
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
797
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
798
|
-
}
|
|
799
|
-
export interface V2CoreBatchJobReadyForUploadEventNotification extends EventNotificationBase {
|
|
800
|
-
type: 'v2.core.batch_job.ready_for_upload';
|
|
801
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
802
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
803
|
-
fetchEvent(): Promise<V2CoreBatchJobReadyForUploadEvent>;
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* Occurs when a batch job times out.
|
|
807
|
-
*/
|
|
808
|
-
export interface V2CoreBatchJobTimeoutEvent extends EventBase {
|
|
809
|
-
type: 'v2.core.batch_job.timeout';
|
|
810
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
811
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
812
|
-
}
|
|
813
|
-
export interface V2CoreBatchJobTimeoutEventNotification extends EventNotificationBase {
|
|
814
|
-
type: 'v2.core.batch_job.timeout';
|
|
815
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
816
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
817
|
-
fetchEvent(): Promise<V2CoreBatchJobTimeoutEvent>;
|
|
818
|
-
}
|
|
819
|
-
/**
|
|
820
|
-
* Occurs when a batch job is updated.
|
|
821
|
-
*/
|
|
822
|
-
export interface V2CoreBatchJobUpdatedEvent extends EventBase {
|
|
823
|
-
type: 'v2.core.batch_job.updated';
|
|
824
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
825
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
826
|
-
}
|
|
827
|
-
export interface V2CoreBatchJobUpdatedEventNotification extends EventNotificationBase {
|
|
828
|
-
type: 'v2.core.batch_job.updated';
|
|
829
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
830
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
831
|
-
fetchEvent(): Promise<V2CoreBatchJobUpdatedEvent>;
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* Occurs when merchant fails to upload a file in time.
|
|
835
|
-
*/
|
|
836
|
-
export interface V2CoreBatchJobUploadTimeoutEvent extends EventBase {
|
|
837
|
-
type: 'v2.core.batch_job.upload_timeout';
|
|
838
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
839
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
840
|
-
}
|
|
841
|
-
export interface V2CoreBatchJobUploadTimeoutEventNotification extends EventNotificationBase {
|
|
842
|
-
type: 'v2.core.batch_job.upload_timeout';
|
|
843
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
844
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
845
|
-
fetchEvent(): Promise<V2CoreBatchJobUploadTimeoutEvent>;
|
|
846
|
-
}
|
|
847
|
-
/**
|
|
848
|
-
* Occurs when a batch job proceeds to the validation stage.
|
|
849
|
-
*/
|
|
850
|
-
export interface V2CoreBatchJobValidatingEvent extends EventBase {
|
|
851
|
-
type: 'v2.core.batch_job.validating';
|
|
852
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
853
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
854
|
-
}
|
|
855
|
-
export interface V2CoreBatchJobValidatingEventNotification extends EventNotificationBase {
|
|
856
|
-
type: 'v2.core.batch_job.validating';
|
|
857
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
858
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
859
|
-
fetchEvent(): Promise<V2CoreBatchJobValidatingEvent>;
|
|
860
|
-
}
|
|
861
|
-
/**
|
|
862
|
-
* Occurs when a batch job fails on validation.
|
|
863
|
-
*/
|
|
864
|
-
export interface V2CoreBatchJobValidationFailedEvent extends EventBase {
|
|
865
|
-
type: 'v2.core.batch_job.validation_failed';
|
|
866
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
867
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
868
|
-
}
|
|
869
|
-
export interface V2CoreBatchJobValidationFailedEventNotification extends EventNotificationBase {
|
|
870
|
-
type: 'v2.core.batch_job.validation_failed';
|
|
871
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
872
|
-
fetchRelatedObject(): Promise<Core.BatchJob>;
|
|
873
|
-
fetchEvent(): Promise<V2CoreBatchJobValidationFailedEvent>;
|
|
874
|
-
}
|
|
875
692
|
/**
|
|
876
693
|
* A ping event used to test the connection to an EventDestination.
|
|
877
694
|
*/
|
|
@@ -886,941 +703,6 @@ export interface V2CoreEventDestinationPingEventNotification extends EventNotifi
|
|
|
886
703
|
fetchRelatedObject(): Promise<Core.EventDestination>;
|
|
887
704
|
fetchEvent(): Promise<V2CoreEventDestinationPingEvent>;
|
|
888
705
|
}
|
|
889
|
-
/**
|
|
890
|
-
* Occurs when an event generation failure alert is resolved.
|
|
891
|
-
*/
|
|
892
|
-
export interface V2CoreHealthEventGenerationFailureResolvedEvent extends EventBase {
|
|
893
|
-
type: 'v2.core.health.event_generation_failure.resolved';
|
|
894
|
-
data: V2CoreHealthEventGenerationFailureResolvedEvent.Data;
|
|
895
|
-
}
|
|
896
|
-
export interface V2CoreHealthEventGenerationFailureResolvedEventNotification extends EventNotificationBase {
|
|
897
|
-
type: 'v2.core.health.event_generation_failure.resolved';
|
|
898
|
-
fetchEvent(): Promise<V2CoreHealthEventGenerationFailureResolvedEvent>;
|
|
899
|
-
}
|
|
900
|
-
export declare namespace V2CoreHealthEventGenerationFailureResolvedEvent {
|
|
901
|
-
interface Data {
|
|
902
|
-
/**
|
|
903
|
-
* The alert ID.
|
|
904
|
-
*/
|
|
905
|
-
alert_id: string;
|
|
906
|
-
/**
|
|
907
|
-
* The grouping key for the alert.
|
|
908
|
-
*/
|
|
909
|
-
grouping_key: string;
|
|
910
|
-
/**
|
|
911
|
-
* The user impact.
|
|
912
|
-
*/
|
|
913
|
-
impact: Data.Impact;
|
|
914
|
-
/**
|
|
915
|
-
* The time when the user experience has returned to expected levels.
|
|
916
|
-
*/
|
|
917
|
-
resolved_at: string;
|
|
918
|
-
/**
|
|
919
|
-
* A short description of the alert.
|
|
920
|
-
*/
|
|
921
|
-
summary: string;
|
|
922
|
-
}
|
|
923
|
-
namespace Data {
|
|
924
|
-
interface Impact {
|
|
925
|
-
/**
|
|
926
|
-
* The context the event should have been generated for. Only present when the account is a connected account.
|
|
927
|
-
*/
|
|
928
|
-
context?: string;
|
|
929
|
-
/**
|
|
930
|
-
* The type of event that Stripe failed to generate.
|
|
931
|
-
*/
|
|
932
|
-
event_type: string;
|
|
933
|
-
/**
|
|
934
|
-
* The related object details.
|
|
935
|
-
*/
|
|
936
|
-
related_object: Impact.RelatedObject;
|
|
937
|
-
}
|
|
938
|
-
namespace Impact {
|
|
939
|
-
interface RelatedObject {
|
|
940
|
-
/**
|
|
941
|
-
* The ID of the related object (e.g., "pi_...").
|
|
942
|
-
*/
|
|
943
|
-
id: string;
|
|
944
|
-
/**
|
|
945
|
-
* The type of the related object (e.g., "payment_intent").
|
|
946
|
-
*/
|
|
947
|
-
type: string;
|
|
948
|
-
/**
|
|
949
|
-
* The API URL for the related object (e.g., "/v1/payment_intents/pi_...").
|
|
950
|
-
*/
|
|
951
|
-
url: string;
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
/**
|
|
957
|
-
* Occurs when a QueryRun is created.
|
|
958
|
-
*/
|
|
959
|
-
export interface V2DataReportingQueryRunCreatedEvent extends EventBase {
|
|
960
|
-
type: 'v2.data.reporting.query_run.created';
|
|
961
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
962
|
-
fetchRelatedObject(): Promise<Data.Reporting.QueryRun>;
|
|
963
|
-
}
|
|
964
|
-
export interface V2DataReportingQueryRunCreatedEventNotification extends EventNotificationBase {
|
|
965
|
-
type: 'v2.data.reporting.query_run.created';
|
|
966
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
967
|
-
fetchRelatedObject(): Promise<Data.Reporting.QueryRun>;
|
|
968
|
-
fetchEvent(): Promise<V2DataReportingQueryRunCreatedEvent>;
|
|
969
|
-
}
|
|
970
|
-
/**
|
|
971
|
-
* Occurs when a QueryRun has failed to complete.
|
|
972
|
-
*/
|
|
973
|
-
export interface V2DataReportingQueryRunFailedEvent extends EventBase {
|
|
974
|
-
type: 'v2.data.reporting.query_run.failed';
|
|
975
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
976
|
-
fetchRelatedObject(): Promise<Data.Reporting.QueryRun>;
|
|
977
|
-
}
|
|
978
|
-
export interface V2DataReportingQueryRunFailedEventNotification extends EventNotificationBase {
|
|
979
|
-
type: 'v2.data.reporting.query_run.failed';
|
|
980
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
981
|
-
fetchRelatedObject(): Promise<Data.Reporting.QueryRun>;
|
|
982
|
-
fetchEvent(): Promise<V2DataReportingQueryRunFailedEvent>;
|
|
983
|
-
}
|
|
984
|
-
/**
|
|
985
|
-
* Occurs when a QueryRun has successfully completed.
|
|
986
|
-
*/
|
|
987
|
-
export interface V2DataReportingQueryRunSucceededEvent extends EventBase {
|
|
988
|
-
type: 'v2.data.reporting.query_run.succeeded';
|
|
989
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
990
|
-
fetchRelatedObject(): Promise<Data.Reporting.QueryRun>;
|
|
991
|
-
}
|
|
992
|
-
export interface V2DataReportingQueryRunSucceededEventNotification extends EventNotificationBase {
|
|
993
|
-
type: 'v2.data.reporting.query_run.succeeded';
|
|
994
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
995
|
-
fetchRelatedObject(): Promise<Data.Reporting.QueryRun>;
|
|
996
|
-
fetchEvent(): Promise<V2DataReportingQueryRunSucceededEvent>;
|
|
997
|
-
}
|
|
998
|
-
/**
|
|
999
|
-
* Occurs when a QueryRun is updated.
|
|
1000
|
-
*/
|
|
1001
|
-
export interface V2DataReportingQueryRunUpdatedEvent extends EventBase {
|
|
1002
|
-
type: 'v2.data.reporting.query_run.updated';
|
|
1003
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1004
|
-
fetchRelatedObject(): Promise<Data.Reporting.QueryRun>;
|
|
1005
|
-
}
|
|
1006
|
-
export interface V2DataReportingQueryRunUpdatedEventNotification extends EventNotificationBase {
|
|
1007
|
-
type: 'v2.data.reporting.query_run.updated';
|
|
1008
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1009
|
-
fetchRelatedObject(): Promise<Data.Reporting.QueryRun>;
|
|
1010
|
-
fetchEvent(): Promise<V2DataReportingQueryRunUpdatedEvent>;
|
|
1011
|
-
}
|
|
1012
|
-
/**
|
|
1013
|
-
* Occurs when a Workflow Run fails.
|
|
1014
|
-
*/
|
|
1015
|
-
export interface V2ExtendWorkflowRunFailedEvent extends EventBase {
|
|
1016
|
-
type: 'v2.extend.workflow_run.failed';
|
|
1017
|
-
data: V2ExtendWorkflowRunFailedEvent.Data;
|
|
1018
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1019
|
-
fetchRelatedObject(): Promise<Extend.WorkflowRun>;
|
|
1020
|
-
}
|
|
1021
|
-
export interface V2ExtendWorkflowRunFailedEventNotification extends EventNotificationBase {
|
|
1022
|
-
type: 'v2.extend.workflow_run.failed';
|
|
1023
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1024
|
-
fetchRelatedObject(): Promise<Extend.WorkflowRun>;
|
|
1025
|
-
fetchEvent(): Promise<V2ExtendWorkflowRunFailedEvent>;
|
|
1026
|
-
}
|
|
1027
|
-
export declare namespace V2ExtendWorkflowRunFailedEvent {
|
|
1028
|
-
interface Data {
|
|
1029
|
-
/**
|
|
1030
|
-
* A Stripe dashboard URL with more information about the Workflow Run failure.
|
|
1031
|
-
*/
|
|
1032
|
-
dashboard_url: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* Details about the Workflow Run's transition into the FAILED state.
|
|
1035
|
-
*/
|
|
1036
|
-
failure_details: Data.FailureDetails;
|
|
1037
|
-
}
|
|
1038
|
-
namespace Data {
|
|
1039
|
-
interface FailureDetails {
|
|
1040
|
-
/**
|
|
1041
|
-
* Optional details about the failure result.
|
|
1042
|
-
*/
|
|
1043
|
-
error_message?: string;
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
/**
|
|
1048
|
-
* Occurs when a Workflow Run starts.
|
|
1049
|
-
*/
|
|
1050
|
-
export interface V2ExtendWorkflowRunStartedEvent extends EventBase {
|
|
1051
|
-
type: 'v2.extend.workflow_run.started';
|
|
1052
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1053
|
-
fetchRelatedObject(): Promise<Extend.WorkflowRun>;
|
|
1054
|
-
}
|
|
1055
|
-
export interface V2ExtendWorkflowRunStartedEventNotification extends EventNotificationBase {
|
|
1056
|
-
type: 'v2.extend.workflow_run.started';
|
|
1057
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1058
|
-
fetchRelatedObject(): Promise<Extend.WorkflowRun>;
|
|
1059
|
-
fetchEvent(): Promise<V2ExtendWorkflowRunStartedEvent>;
|
|
1060
|
-
}
|
|
1061
|
-
/**
|
|
1062
|
-
* Occurs when a Workflow Run succeeds.
|
|
1063
|
-
*/
|
|
1064
|
-
export interface V2ExtendWorkflowRunSucceededEvent extends EventBase {
|
|
1065
|
-
type: 'v2.extend.workflow_run.succeeded';
|
|
1066
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1067
|
-
fetchRelatedObject(): Promise<Extend.WorkflowRun>;
|
|
1068
|
-
}
|
|
1069
|
-
export interface V2ExtendWorkflowRunSucceededEventNotification extends EventNotificationBase {
|
|
1070
|
-
type: 'v2.extend.workflow_run.succeeded';
|
|
1071
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1072
|
-
fetchRelatedObject(): Promise<Extend.WorkflowRun>;
|
|
1073
|
-
fetchEvent(): Promise<V2ExtendWorkflowRunSucceededEvent>;
|
|
1074
|
-
}
|
|
1075
|
-
/**
|
|
1076
|
-
* Occurs when an Adjustment is created.
|
|
1077
|
-
*/
|
|
1078
|
-
export interface V2MoneyManagementAdjustmentCreatedEvent extends EventBase {
|
|
1079
|
-
type: 'v2.money_management.adjustment.created';
|
|
1080
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1081
|
-
fetchRelatedObject(): Promise<MoneyManagement.Adjustment>;
|
|
1082
|
-
}
|
|
1083
|
-
export interface V2MoneyManagementAdjustmentCreatedEventNotification extends EventNotificationBase {
|
|
1084
|
-
type: 'v2.money_management.adjustment.created';
|
|
1085
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1086
|
-
fetchRelatedObject(): Promise<MoneyManagement.Adjustment>;
|
|
1087
|
-
fetchEvent(): Promise<V2MoneyManagementAdjustmentCreatedEvent>;
|
|
1088
|
-
}
|
|
1089
|
-
/**
|
|
1090
|
-
* Occurs when a FinancialAccount is created.
|
|
1091
|
-
*/
|
|
1092
|
-
export interface V2MoneyManagementFinancialAccountCreatedEvent extends EventBase {
|
|
1093
|
-
type: 'v2.money_management.financial_account.created';
|
|
1094
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1095
|
-
fetchRelatedObject(): Promise<MoneyManagement.FinancialAccount>;
|
|
1096
|
-
}
|
|
1097
|
-
export interface V2MoneyManagementFinancialAccountCreatedEventNotification extends EventNotificationBase {
|
|
1098
|
-
type: 'v2.money_management.financial_account.created';
|
|
1099
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1100
|
-
fetchRelatedObject(): Promise<MoneyManagement.FinancialAccount>;
|
|
1101
|
-
fetchEvent(): Promise<V2MoneyManagementFinancialAccountCreatedEvent>;
|
|
1102
|
-
}
|
|
1103
|
-
/**
|
|
1104
|
-
* Occurs when a FinancialAccount is updated.
|
|
1105
|
-
*/
|
|
1106
|
-
export interface V2MoneyManagementFinancialAccountUpdatedEvent extends EventBase {
|
|
1107
|
-
type: 'v2.money_management.financial_account.updated';
|
|
1108
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1109
|
-
fetchRelatedObject(): Promise<MoneyManagement.FinancialAccount>;
|
|
1110
|
-
}
|
|
1111
|
-
export interface V2MoneyManagementFinancialAccountUpdatedEventNotification extends EventNotificationBase {
|
|
1112
|
-
type: 'v2.money_management.financial_account.updated';
|
|
1113
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1114
|
-
fetchRelatedObject(): Promise<MoneyManagement.FinancialAccount>;
|
|
1115
|
-
fetchEvent(): Promise<V2MoneyManagementFinancialAccountUpdatedEvent>;
|
|
1116
|
-
}
|
|
1117
|
-
/**
|
|
1118
|
-
* Occurs when a FinancialAddress is activated and is ready to receive funds.
|
|
1119
|
-
*/
|
|
1120
|
-
export interface V2MoneyManagementFinancialAddressActivatedEvent extends EventBase {
|
|
1121
|
-
type: 'v2.money_management.financial_address.activated';
|
|
1122
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1123
|
-
fetchRelatedObject(): Promise<MoneyManagement.FinancialAddress>;
|
|
1124
|
-
}
|
|
1125
|
-
export interface V2MoneyManagementFinancialAddressActivatedEventNotification extends EventNotificationBase {
|
|
1126
|
-
type: 'v2.money_management.financial_address.activated';
|
|
1127
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1128
|
-
fetchRelatedObject(): Promise<MoneyManagement.FinancialAddress>;
|
|
1129
|
-
fetchEvent(): Promise<V2MoneyManagementFinancialAddressActivatedEvent>;
|
|
1130
|
-
}
|
|
1131
|
-
/**
|
|
1132
|
-
* Occurs when a FinancialAddress fails to activate and can not receive funds.
|
|
1133
|
-
*/
|
|
1134
|
-
export interface V2MoneyManagementFinancialAddressFailedEvent extends EventBase {
|
|
1135
|
-
type: 'v2.money_management.financial_address.failed';
|
|
1136
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1137
|
-
fetchRelatedObject(): Promise<MoneyManagement.FinancialAddress>;
|
|
1138
|
-
}
|
|
1139
|
-
export interface V2MoneyManagementFinancialAddressFailedEventNotification extends EventNotificationBase {
|
|
1140
|
-
type: 'v2.money_management.financial_address.failed';
|
|
1141
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1142
|
-
fetchRelatedObject(): Promise<MoneyManagement.FinancialAddress>;
|
|
1143
|
-
fetchEvent(): Promise<V2MoneyManagementFinancialAddressFailedEvent>;
|
|
1144
|
-
}
|
|
1145
|
-
/**
|
|
1146
|
-
* Occurs when an InboundTransfer's funds are made available.
|
|
1147
|
-
*/
|
|
1148
|
-
export interface V2MoneyManagementInboundTransferAvailableEvent extends EventBase {
|
|
1149
|
-
type: 'v2.money_management.inbound_transfer.available';
|
|
1150
|
-
data: V2MoneyManagementInboundTransferAvailableEvent.Data;
|
|
1151
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1152
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1153
|
-
}
|
|
1154
|
-
export interface V2MoneyManagementInboundTransferAvailableEventNotification extends EventNotificationBase {
|
|
1155
|
-
type: 'v2.money_management.inbound_transfer.available';
|
|
1156
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1157
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1158
|
-
fetchEvent(): Promise<V2MoneyManagementInboundTransferAvailableEvent>;
|
|
1159
|
-
}
|
|
1160
|
-
export declare namespace V2MoneyManagementInboundTransferAvailableEvent {
|
|
1161
|
-
interface Data {
|
|
1162
|
-
/**
|
|
1163
|
-
* The transaction ID of the received credit.
|
|
1164
|
-
*/
|
|
1165
|
-
transaction_id: string;
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
/**
|
|
1169
|
-
* Occurs when an InboundTransfer fails.
|
|
1170
|
-
*/
|
|
1171
|
-
export interface V2MoneyManagementInboundTransferBankDebitFailedEvent extends EventBase {
|
|
1172
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_failed';
|
|
1173
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1174
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1175
|
-
}
|
|
1176
|
-
export interface V2MoneyManagementInboundTransferBankDebitFailedEventNotification extends EventNotificationBase {
|
|
1177
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_failed';
|
|
1178
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1179
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1180
|
-
fetchEvent(): Promise<V2MoneyManagementInboundTransferBankDebitFailedEvent>;
|
|
1181
|
-
}
|
|
1182
|
-
/**
|
|
1183
|
-
* Occurs when an InboundTransfer starts processing.
|
|
1184
|
-
*/
|
|
1185
|
-
export interface V2MoneyManagementInboundTransferBankDebitProcessingEvent extends EventBase {
|
|
1186
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_processing';
|
|
1187
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1188
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1189
|
-
}
|
|
1190
|
-
export interface V2MoneyManagementInboundTransferBankDebitProcessingEventNotification extends EventNotificationBase {
|
|
1191
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_processing';
|
|
1192
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1193
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1194
|
-
fetchEvent(): Promise<V2MoneyManagementInboundTransferBankDebitProcessingEvent>;
|
|
1195
|
-
}
|
|
1196
|
-
/**
|
|
1197
|
-
* Occurs when an InboundTransfer is queued.
|
|
1198
|
-
*/
|
|
1199
|
-
export interface V2MoneyManagementInboundTransferBankDebitQueuedEvent extends EventBase {
|
|
1200
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_queued';
|
|
1201
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1202
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1203
|
-
}
|
|
1204
|
-
export interface V2MoneyManagementInboundTransferBankDebitQueuedEventNotification extends EventNotificationBase {
|
|
1205
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_queued';
|
|
1206
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1207
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1208
|
-
fetchEvent(): Promise<V2MoneyManagementInboundTransferBankDebitQueuedEvent>;
|
|
1209
|
-
}
|
|
1210
|
-
/**
|
|
1211
|
-
* Occurs when an InboundTransfer is returned.
|
|
1212
|
-
*/
|
|
1213
|
-
export interface V2MoneyManagementInboundTransferBankDebitReturnedEvent extends EventBase {
|
|
1214
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_returned';
|
|
1215
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1216
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1217
|
-
}
|
|
1218
|
-
export interface V2MoneyManagementInboundTransferBankDebitReturnedEventNotification extends EventNotificationBase {
|
|
1219
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_returned';
|
|
1220
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1221
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1222
|
-
fetchEvent(): Promise<V2MoneyManagementInboundTransferBankDebitReturnedEvent>;
|
|
1223
|
-
}
|
|
1224
|
-
/**
|
|
1225
|
-
* Occurs when an InboundTransfer succeeds.
|
|
1226
|
-
*/
|
|
1227
|
-
export interface V2MoneyManagementInboundTransferBankDebitSucceededEvent extends EventBase {
|
|
1228
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_succeeded';
|
|
1229
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1230
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1231
|
-
}
|
|
1232
|
-
export interface V2MoneyManagementInboundTransferBankDebitSucceededEventNotification extends EventNotificationBase {
|
|
1233
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_succeeded';
|
|
1234
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1235
|
-
fetchRelatedObject(): Promise<MoneyManagement.InboundTransfer>;
|
|
1236
|
-
fetchEvent(): Promise<V2MoneyManagementInboundTransferBankDebitSucceededEvent>;
|
|
1237
|
-
}
|
|
1238
|
-
/**
|
|
1239
|
-
* Occurs when an OutboundPayment transitions into the canceled state.
|
|
1240
|
-
*/
|
|
1241
|
-
export interface V2MoneyManagementOutboundPaymentCanceledEvent extends EventBase {
|
|
1242
|
-
type: 'v2.money_management.outbound_payment.canceled';
|
|
1243
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1244
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1245
|
-
}
|
|
1246
|
-
export interface V2MoneyManagementOutboundPaymentCanceledEventNotification extends EventNotificationBase {
|
|
1247
|
-
type: 'v2.money_management.outbound_payment.canceled';
|
|
1248
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1249
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1250
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundPaymentCanceledEvent>;
|
|
1251
|
-
}
|
|
1252
|
-
/**
|
|
1253
|
-
* Occurs when an OutboundPayment is created.
|
|
1254
|
-
*/
|
|
1255
|
-
export interface V2MoneyManagementOutboundPaymentCreatedEvent extends EventBase {
|
|
1256
|
-
type: 'v2.money_management.outbound_payment.created';
|
|
1257
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1258
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1259
|
-
}
|
|
1260
|
-
export interface V2MoneyManagementOutboundPaymentCreatedEventNotification extends EventNotificationBase {
|
|
1261
|
-
type: 'v2.money_management.outbound_payment.created';
|
|
1262
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1263
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1264
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundPaymentCreatedEvent>;
|
|
1265
|
-
}
|
|
1266
|
-
/**
|
|
1267
|
-
* Occurs when an OutboundPayment transitions into the failed state.
|
|
1268
|
-
*/
|
|
1269
|
-
export interface V2MoneyManagementOutboundPaymentFailedEvent extends EventBase {
|
|
1270
|
-
type: 'v2.money_management.outbound_payment.failed';
|
|
1271
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1272
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1273
|
-
}
|
|
1274
|
-
export interface V2MoneyManagementOutboundPaymentFailedEventNotification extends EventNotificationBase {
|
|
1275
|
-
type: 'v2.money_management.outbound_payment.failed';
|
|
1276
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1277
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1278
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundPaymentFailedEvent>;
|
|
1279
|
-
}
|
|
1280
|
-
/**
|
|
1281
|
-
* Occurs when an OutboundPayment transitions into the posted state.
|
|
1282
|
-
*/
|
|
1283
|
-
export interface V2MoneyManagementOutboundPaymentPostedEvent extends EventBase {
|
|
1284
|
-
type: 'v2.money_management.outbound_payment.posted';
|
|
1285
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1286
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1287
|
-
}
|
|
1288
|
-
export interface V2MoneyManagementOutboundPaymentPostedEventNotification extends EventNotificationBase {
|
|
1289
|
-
type: 'v2.money_management.outbound_payment.posted';
|
|
1290
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1291
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1292
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundPaymentPostedEvent>;
|
|
1293
|
-
}
|
|
1294
|
-
/**
|
|
1295
|
-
* Occurs when an OutboundPayment transitions into the returned state.
|
|
1296
|
-
*/
|
|
1297
|
-
export interface V2MoneyManagementOutboundPaymentReturnedEvent extends EventBase {
|
|
1298
|
-
type: 'v2.money_management.outbound_payment.returned';
|
|
1299
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1300
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1301
|
-
}
|
|
1302
|
-
export interface V2MoneyManagementOutboundPaymentReturnedEventNotification extends EventNotificationBase {
|
|
1303
|
-
type: 'v2.money_management.outbound_payment.returned';
|
|
1304
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1305
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1306
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundPaymentReturnedEvent>;
|
|
1307
|
-
}
|
|
1308
|
-
/**
|
|
1309
|
-
* Occurs when an OutboundPayment is updated.
|
|
1310
|
-
*/
|
|
1311
|
-
export interface V2MoneyManagementOutboundPaymentUpdatedEvent extends EventBase {
|
|
1312
|
-
type: 'v2.money_management.outbound_payment.updated';
|
|
1313
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1314
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1315
|
-
}
|
|
1316
|
-
export interface V2MoneyManagementOutboundPaymentUpdatedEventNotification extends EventNotificationBase {
|
|
1317
|
-
type: 'v2.money_management.outbound_payment.updated';
|
|
1318
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1319
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundPayment>;
|
|
1320
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundPaymentUpdatedEvent>;
|
|
1321
|
-
}
|
|
1322
|
-
/**
|
|
1323
|
-
* Occurs when an OutboundTransfer transitions into the canceled state.
|
|
1324
|
-
*/
|
|
1325
|
-
export interface V2MoneyManagementOutboundTransferCanceledEvent extends EventBase {
|
|
1326
|
-
type: 'v2.money_management.outbound_transfer.canceled';
|
|
1327
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1328
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1329
|
-
}
|
|
1330
|
-
export interface V2MoneyManagementOutboundTransferCanceledEventNotification extends EventNotificationBase {
|
|
1331
|
-
type: 'v2.money_management.outbound_transfer.canceled';
|
|
1332
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1333
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1334
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundTransferCanceledEvent>;
|
|
1335
|
-
}
|
|
1336
|
-
/**
|
|
1337
|
-
* Occurs when an OutboundTransfer is created.
|
|
1338
|
-
*/
|
|
1339
|
-
export interface V2MoneyManagementOutboundTransferCreatedEvent extends EventBase {
|
|
1340
|
-
type: 'v2.money_management.outbound_transfer.created';
|
|
1341
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1342
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1343
|
-
}
|
|
1344
|
-
export interface V2MoneyManagementOutboundTransferCreatedEventNotification extends EventNotificationBase {
|
|
1345
|
-
type: 'v2.money_management.outbound_transfer.created';
|
|
1346
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1347
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1348
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundTransferCreatedEvent>;
|
|
1349
|
-
}
|
|
1350
|
-
/**
|
|
1351
|
-
* Occurs when an OutboundTransfer transitions into the failed state.
|
|
1352
|
-
*/
|
|
1353
|
-
export interface V2MoneyManagementOutboundTransferFailedEvent extends EventBase {
|
|
1354
|
-
type: 'v2.money_management.outbound_transfer.failed';
|
|
1355
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1356
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1357
|
-
}
|
|
1358
|
-
export interface V2MoneyManagementOutboundTransferFailedEventNotification extends EventNotificationBase {
|
|
1359
|
-
type: 'v2.money_management.outbound_transfer.failed';
|
|
1360
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1361
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1362
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundTransferFailedEvent>;
|
|
1363
|
-
}
|
|
1364
|
-
/**
|
|
1365
|
-
* Occurs when an OutboundTransfer transitions into the posted state.
|
|
1366
|
-
*/
|
|
1367
|
-
export interface V2MoneyManagementOutboundTransferPostedEvent extends EventBase {
|
|
1368
|
-
type: 'v2.money_management.outbound_transfer.posted';
|
|
1369
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1370
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1371
|
-
}
|
|
1372
|
-
export interface V2MoneyManagementOutboundTransferPostedEventNotification extends EventNotificationBase {
|
|
1373
|
-
type: 'v2.money_management.outbound_transfer.posted';
|
|
1374
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1375
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1376
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundTransferPostedEvent>;
|
|
1377
|
-
}
|
|
1378
|
-
/**
|
|
1379
|
-
* Occurs when an OutboundTransfer transitions into the returned state.
|
|
1380
|
-
*/
|
|
1381
|
-
export interface V2MoneyManagementOutboundTransferReturnedEvent extends EventBase {
|
|
1382
|
-
type: 'v2.money_management.outbound_transfer.returned';
|
|
1383
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1384
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1385
|
-
}
|
|
1386
|
-
export interface V2MoneyManagementOutboundTransferReturnedEventNotification extends EventNotificationBase {
|
|
1387
|
-
type: 'v2.money_management.outbound_transfer.returned';
|
|
1388
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1389
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1390
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundTransferReturnedEvent>;
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
* Event that is emitted every time an Outbound Transfer is updated.
|
|
1394
|
-
*/
|
|
1395
|
-
export interface V2MoneyManagementOutboundTransferUpdatedEvent extends EventBase {
|
|
1396
|
-
type: 'v2.money_management.outbound_transfer.updated';
|
|
1397
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1398
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1399
|
-
}
|
|
1400
|
-
export interface V2MoneyManagementOutboundTransferUpdatedEventNotification extends EventNotificationBase {
|
|
1401
|
-
type: 'v2.money_management.outbound_transfer.updated';
|
|
1402
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1403
|
-
fetchRelatedObject(): Promise<MoneyManagement.OutboundTransfer>;
|
|
1404
|
-
fetchEvent(): Promise<V2MoneyManagementOutboundTransferUpdatedEvent>;
|
|
1405
|
-
}
|
|
1406
|
-
/**
|
|
1407
|
-
* Occurs when a PayoutMethod is created.
|
|
1408
|
-
*/
|
|
1409
|
-
export interface V2MoneyManagementPayoutMethodCreatedEvent extends EventBase {
|
|
1410
|
-
type: 'v2.money_management.payout_method.created';
|
|
1411
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1412
|
-
fetchRelatedObject(): Promise<MoneyManagement.PayoutMethod>;
|
|
1413
|
-
}
|
|
1414
|
-
export interface V2MoneyManagementPayoutMethodCreatedEventNotification extends EventNotificationBase {
|
|
1415
|
-
type: 'v2.money_management.payout_method.created';
|
|
1416
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1417
|
-
fetchRelatedObject(): Promise<MoneyManagement.PayoutMethod>;
|
|
1418
|
-
fetchEvent(): Promise<V2MoneyManagementPayoutMethodCreatedEvent>;
|
|
1419
|
-
}
|
|
1420
|
-
/**
|
|
1421
|
-
* Occurs when a PayoutMethod is updated.
|
|
1422
|
-
*/
|
|
1423
|
-
export interface V2MoneyManagementPayoutMethodUpdatedEvent extends EventBase {
|
|
1424
|
-
type: 'v2.money_management.payout_method.updated';
|
|
1425
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1426
|
-
fetchRelatedObject(): Promise<MoneyManagement.PayoutMethod>;
|
|
1427
|
-
}
|
|
1428
|
-
export interface V2MoneyManagementPayoutMethodUpdatedEventNotification extends EventNotificationBase {
|
|
1429
|
-
type: 'v2.money_management.payout_method.updated';
|
|
1430
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1431
|
-
fetchRelatedObject(): Promise<MoneyManagement.PayoutMethod>;
|
|
1432
|
-
fetchEvent(): Promise<V2MoneyManagementPayoutMethodUpdatedEvent>;
|
|
1433
|
-
}
|
|
1434
|
-
/**
|
|
1435
|
-
* Occurs when a ReceivedCredit's funds are received and are available in your balance.
|
|
1436
|
-
*/
|
|
1437
|
-
export interface V2MoneyManagementReceivedCreditAvailableEvent extends EventBase {
|
|
1438
|
-
type: 'v2.money_management.received_credit.available';
|
|
1439
|
-
data: V2MoneyManagementReceivedCreditAvailableEvent.Data;
|
|
1440
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1441
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedCredit>;
|
|
1442
|
-
}
|
|
1443
|
-
export interface V2MoneyManagementReceivedCreditAvailableEventNotification extends EventNotificationBase {
|
|
1444
|
-
type: 'v2.money_management.received_credit.available';
|
|
1445
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1446
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedCredit>;
|
|
1447
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedCreditAvailableEvent>;
|
|
1448
|
-
}
|
|
1449
|
-
export declare namespace V2MoneyManagementReceivedCreditAvailableEvent {
|
|
1450
|
-
interface Data {
|
|
1451
|
-
/**
|
|
1452
|
-
* The transaction ID of the received credit.
|
|
1453
|
-
*/
|
|
1454
|
-
transaction_id: string;
|
|
1455
|
-
}
|
|
1456
|
-
}
|
|
1457
|
-
/**
|
|
1458
|
-
* Occurs when a ReceivedCredit is attempted to your balance and fails. See the status_details for more information.
|
|
1459
|
-
*/
|
|
1460
|
-
export interface V2MoneyManagementReceivedCreditFailedEvent extends EventBase {
|
|
1461
|
-
type: 'v2.money_management.received_credit.failed';
|
|
1462
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1463
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedCredit>;
|
|
1464
|
-
}
|
|
1465
|
-
export interface V2MoneyManagementReceivedCreditFailedEventNotification extends EventNotificationBase {
|
|
1466
|
-
type: 'v2.money_management.received_credit.failed';
|
|
1467
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1468
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedCredit>;
|
|
1469
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedCreditFailedEvent>;
|
|
1470
|
-
}
|
|
1471
|
-
/**
|
|
1472
|
-
* Occurs when a ReceivedCredit is reversed, returned to the originator, and deducted from your balance.
|
|
1473
|
-
*/
|
|
1474
|
-
export interface V2MoneyManagementReceivedCreditReturnedEvent extends EventBase {
|
|
1475
|
-
type: 'v2.money_management.received_credit.returned';
|
|
1476
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1477
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedCredit>;
|
|
1478
|
-
}
|
|
1479
|
-
export interface V2MoneyManagementReceivedCreditReturnedEventNotification extends EventNotificationBase {
|
|
1480
|
-
type: 'v2.money_management.received_credit.returned';
|
|
1481
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1482
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedCredit>;
|
|
1483
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedCreditReturnedEvent>;
|
|
1484
|
-
}
|
|
1485
|
-
/**
|
|
1486
|
-
* Occurs when a ReceivedCredit succeeds.
|
|
1487
|
-
*/
|
|
1488
|
-
export interface V2MoneyManagementReceivedCreditSucceededEvent extends EventBase {
|
|
1489
|
-
type: 'v2.money_management.received_credit.succeeded';
|
|
1490
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1491
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedCredit>;
|
|
1492
|
-
}
|
|
1493
|
-
export interface V2MoneyManagementReceivedCreditSucceededEventNotification extends EventNotificationBase {
|
|
1494
|
-
type: 'v2.money_management.received_credit.succeeded';
|
|
1495
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1496
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedCredit>;
|
|
1497
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedCreditSucceededEvent>;
|
|
1498
|
-
}
|
|
1499
|
-
/**
|
|
1500
|
-
* Occurs when a ReceivedDebit is canceled.
|
|
1501
|
-
*/
|
|
1502
|
-
export interface V2MoneyManagementReceivedDebitCanceledEvent extends EventBase {
|
|
1503
|
-
type: 'v2.money_management.received_debit.canceled';
|
|
1504
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1505
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1506
|
-
}
|
|
1507
|
-
export interface V2MoneyManagementReceivedDebitCanceledEventNotification extends EventNotificationBase {
|
|
1508
|
-
type: 'v2.money_management.received_debit.canceled';
|
|
1509
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1510
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1511
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedDebitCanceledEvent>;
|
|
1512
|
-
}
|
|
1513
|
-
/**
|
|
1514
|
-
* Occurs when a ReceivedDebit fails.
|
|
1515
|
-
*/
|
|
1516
|
-
export interface V2MoneyManagementReceivedDebitFailedEvent extends EventBase {
|
|
1517
|
-
type: 'v2.money_management.received_debit.failed';
|
|
1518
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1519
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1520
|
-
}
|
|
1521
|
-
export interface V2MoneyManagementReceivedDebitFailedEventNotification extends EventNotificationBase {
|
|
1522
|
-
type: 'v2.money_management.received_debit.failed';
|
|
1523
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1524
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1525
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedDebitFailedEvent>;
|
|
1526
|
-
}
|
|
1527
|
-
/**
|
|
1528
|
-
* Occurs when a ReceivedDebit is set to pending.
|
|
1529
|
-
*/
|
|
1530
|
-
export interface V2MoneyManagementReceivedDebitPendingEvent extends EventBase {
|
|
1531
|
-
type: 'v2.money_management.received_debit.pending';
|
|
1532
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1533
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1534
|
-
}
|
|
1535
|
-
export interface V2MoneyManagementReceivedDebitPendingEventNotification extends EventNotificationBase {
|
|
1536
|
-
type: 'v2.money_management.received_debit.pending';
|
|
1537
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1538
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1539
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedDebitPendingEvent>;
|
|
1540
|
-
}
|
|
1541
|
-
/**
|
|
1542
|
-
* Occurs when a ReceivedDebit succeeds.
|
|
1543
|
-
*/
|
|
1544
|
-
export interface V2MoneyManagementReceivedDebitSucceededEvent extends EventBase {
|
|
1545
|
-
type: 'v2.money_management.received_debit.succeeded';
|
|
1546
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1547
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1548
|
-
}
|
|
1549
|
-
export interface V2MoneyManagementReceivedDebitSucceededEventNotification extends EventNotificationBase {
|
|
1550
|
-
type: 'v2.money_management.received_debit.succeeded';
|
|
1551
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1552
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1553
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedDebitSucceededEvent>;
|
|
1554
|
-
}
|
|
1555
|
-
/**
|
|
1556
|
-
* Occurs when a ReceivedDebit is updated.
|
|
1557
|
-
*/
|
|
1558
|
-
export interface V2MoneyManagementReceivedDebitUpdatedEvent extends EventBase {
|
|
1559
|
-
type: 'v2.money_management.received_debit.updated';
|
|
1560
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1561
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1562
|
-
}
|
|
1563
|
-
export interface V2MoneyManagementReceivedDebitUpdatedEventNotification extends EventNotificationBase {
|
|
1564
|
-
type: 'v2.money_management.received_debit.updated';
|
|
1565
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1566
|
-
fetchRelatedObject(): Promise<MoneyManagement.ReceivedDebit>;
|
|
1567
|
-
fetchEvent(): Promise<V2MoneyManagementReceivedDebitUpdatedEvent>;
|
|
1568
|
-
}
|
|
1569
|
-
/**
|
|
1570
|
-
* Occurs when a Transaction is created.
|
|
1571
|
-
*/
|
|
1572
|
-
export interface V2MoneyManagementTransactionCreatedEvent extends EventBase {
|
|
1573
|
-
type: 'v2.money_management.transaction.created';
|
|
1574
|
-
data: V2MoneyManagementTransactionCreatedEvent.Data;
|
|
1575
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1576
|
-
fetchRelatedObject(): Promise<MoneyManagement.Transaction>;
|
|
1577
|
-
}
|
|
1578
|
-
export interface V2MoneyManagementTransactionCreatedEventNotification extends EventNotificationBase {
|
|
1579
|
-
type: 'v2.money_management.transaction.created';
|
|
1580
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1581
|
-
fetchRelatedObject(): Promise<MoneyManagement.Transaction>;
|
|
1582
|
-
fetchEvent(): Promise<V2MoneyManagementTransactionCreatedEvent>;
|
|
1583
|
-
}
|
|
1584
|
-
export declare namespace V2MoneyManagementTransactionCreatedEvent {
|
|
1585
|
-
interface Data {
|
|
1586
|
-
/**
|
|
1587
|
-
* Id of the v1 Treasury Transaction corresponding to this Transaction.
|
|
1588
|
-
*/
|
|
1589
|
-
treasury_transaction?: string;
|
|
1590
|
-
/**
|
|
1591
|
-
* Id of the v1 Transaction corresponding to this Transaction.
|
|
1592
|
-
*/
|
|
1593
|
-
v1_id?: string;
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
/**
|
|
1597
|
-
* Occurs when a Transaction is updated.
|
|
1598
|
-
*/
|
|
1599
|
-
export interface V2MoneyManagementTransactionUpdatedEvent extends EventBase {
|
|
1600
|
-
type: 'v2.money_management.transaction.updated';
|
|
1601
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1602
|
-
fetchRelatedObject(): Promise<MoneyManagement.Transaction>;
|
|
1603
|
-
}
|
|
1604
|
-
export interface V2MoneyManagementTransactionUpdatedEventNotification extends EventNotificationBase {
|
|
1605
|
-
type: 'v2.money_management.transaction.updated';
|
|
1606
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1607
|
-
fetchRelatedObject(): Promise<MoneyManagement.Transaction>;
|
|
1608
|
-
fetchEvent(): Promise<V2MoneyManagementTransactionUpdatedEvent>;
|
|
1609
|
-
}
|
|
1610
|
-
/**
|
|
1611
|
-
* Occurs when an Agreement is confirmed by one party.
|
|
1612
|
-
*/
|
|
1613
|
-
export interface V2OrchestratedCommerceAgreementConfirmedEvent extends EventBase {
|
|
1614
|
-
type: 'v2.orchestrated_commerce.agreement.confirmed';
|
|
1615
|
-
data: V2OrchestratedCommerceAgreementConfirmedEvent.Data;
|
|
1616
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1617
|
-
fetchRelatedObject(): Promise<OrchestratedCommerce.Agreement>;
|
|
1618
|
-
}
|
|
1619
|
-
export interface V2OrchestratedCommerceAgreementConfirmedEventNotification extends EventNotificationBase {
|
|
1620
|
-
type: 'v2.orchestrated_commerce.agreement.confirmed';
|
|
1621
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1622
|
-
fetchRelatedObject(): Promise<OrchestratedCommerce.Agreement>;
|
|
1623
|
-
fetchEvent(): Promise<V2OrchestratedCommerceAgreementConfirmedEvent>;
|
|
1624
|
-
}
|
|
1625
|
-
export declare namespace V2OrchestratedCommerceAgreementConfirmedEvent {
|
|
1626
|
-
interface Data {
|
|
1627
|
-
/**
|
|
1628
|
-
* The time at which the orchestrator confirmed the agreement.
|
|
1629
|
-
*/
|
|
1630
|
-
orchestrator_confirmed_at: string;
|
|
1631
|
-
/**
|
|
1632
|
-
* Details about the orchestrator.
|
|
1633
|
-
*/
|
|
1634
|
-
orchestrator_details: Data.OrchestratorDetails;
|
|
1635
|
-
/**
|
|
1636
|
-
* The time at which the seller confirmed the agreement.
|
|
1637
|
-
*/
|
|
1638
|
-
seller_confirmed_at: string;
|
|
1639
|
-
/**
|
|
1640
|
-
* Details about the seller.
|
|
1641
|
-
*/
|
|
1642
|
-
seller_details: Data.SellerDetails;
|
|
1643
|
-
}
|
|
1644
|
-
namespace Data {
|
|
1645
|
-
interface OrchestratorDetails {
|
|
1646
|
-
/**
|
|
1647
|
-
* The name of the orchestrator. This can be the name of the agent or the name of the business.
|
|
1648
|
-
*/
|
|
1649
|
-
name: string;
|
|
1650
|
-
/**
|
|
1651
|
-
* The Network ID of the orchestrator.
|
|
1652
|
-
*/
|
|
1653
|
-
network_business_profile: string;
|
|
1654
|
-
}
|
|
1655
|
-
interface SellerDetails {
|
|
1656
|
-
/**
|
|
1657
|
-
* The Network ID of the seller.
|
|
1658
|
-
*/
|
|
1659
|
-
network_business_profile: string;
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
/**
|
|
1664
|
-
* Occurs when an Agreement is created.
|
|
1665
|
-
*/
|
|
1666
|
-
export interface V2OrchestratedCommerceAgreementCreatedEvent extends EventBase {
|
|
1667
|
-
type: 'v2.orchestrated_commerce.agreement.created';
|
|
1668
|
-
data: V2OrchestratedCommerceAgreementCreatedEvent.Data;
|
|
1669
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1670
|
-
fetchRelatedObject(): Promise<OrchestratedCommerce.Agreement>;
|
|
1671
|
-
}
|
|
1672
|
-
export interface V2OrchestratedCommerceAgreementCreatedEventNotification extends EventNotificationBase {
|
|
1673
|
-
type: 'v2.orchestrated_commerce.agreement.created';
|
|
1674
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1675
|
-
fetchRelatedObject(): Promise<OrchestratedCommerce.Agreement>;
|
|
1676
|
-
fetchEvent(): Promise<V2OrchestratedCommerceAgreementCreatedEvent>;
|
|
1677
|
-
}
|
|
1678
|
-
export declare namespace V2OrchestratedCommerceAgreementCreatedEvent {
|
|
1679
|
-
interface Data {
|
|
1680
|
-
/**
|
|
1681
|
-
* The time at which the agreement was created.
|
|
1682
|
-
*/
|
|
1683
|
-
created: string;
|
|
1684
|
-
/**
|
|
1685
|
-
* The party that initiated the agreement.
|
|
1686
|
-
*/
|
|
1687
|
-
initiated_by: Data.InitiatedBy;
|
|
1688
|
-
/**
|
|
1689
|
-
* Details about the orchestrator.
|
|
1690
|
-
*/
|
|
1691
|
-
orchestrator_details: Data.OrchestratorDetails;
|
|
1692
|
-
/**
|
|
1693
|
-
* Details about the seller.
|
|
1694
|
-
*/
|
|
1695
|
-
seller_details: Data.SellerDetails;
|
|
1696
|
-
}
|
|
1697
|
-
namespace Data {
|
|
1698
|
-
type InitiatedBy = 'orchestrator' | 'seller';
|
|
1699
|
-
interface OrchestratorDetails {
|
|
1700
|
-
/**
|
|
1701
|
-
* The name of the orchestrator. This can be the name of the agent or the name of the business.
|
|
1702
|
-
*/
|
|
1703
|
-
name: string;
|
|
1704
|
-
/**
|
|
1705
|
-
* The Network ID of the orchestrator.
|
|
1706
|
-
*/
|
|
1707
|
-
network_business_profile: string;
|
|
1708
|
-
}
|
|
1709
|
-
interface SellerDetails {
|
|
1710
|
-
/**
|
|
1711
|
-
* The Network ID of the seller.
|
|
1712
|
-
*/
|
|
1713
|
-
network_business_profile: string;
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
/**
|
|
1718
|
-
* Occurs when an Agreement is partially confirmed (confirmed by one party but not both).
|
|
1719
|
-
*/
|
|
1720
|
-
export interface V2OrchestratedCommerceAgreementPartiallyConfirmedEvent extends EventBase {
|
|
1721
|
-
type: 'v2.orchestrated_commerce.agreement.partially_confirmed';
|
|
1722
|
-
data: V2OrchestratedCommerceAgreementPartiallyConfirmedEvent.Data;
|
|
1723
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1724
|
-
fetchRelatedObject(): Promise<OrchestratedCommerce.Agreement>;
|
|
1725
|
-
}
|
|
1726
|
-
export interface V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification extends EventNotificationBase {
|
|
1727
|
-
type: 'v2.orchestrated_commerce.agreement.partially_confirmed';
|
|
1728
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1729
|
-
fetchRelatedObject(): Promise<OrchestratedCommerce.Agreement>;
|
|
1730
|
-
fetchEvent(): Promise<V2OrchestratedCommerceAgreementPartiallyConfirmedEvent>;
|
|
1731
|
-
}
|
|
1732
|
-
export declare namespace V2OrchestratedCommerceAgreementPartiallyConfirmedEvent {
|
|
1733
|
-
interface Data {
|
|
1734
|
-
/**
|
|
1735
|
-
* The time at which the orchestrator confirmed the agreement.
|
|
1736
|
-
*/
|
|
1737
|
-
orchestrator_confirmed_at: string;
|
|
1738
|
-
/**
|
|
1739
|
-
* Details about the orchestrator.
|
|
1740
|
-
*/
|
|
1741
|
-
orchestrator_details: Data.OrchestratorDetails;
|
|
1742
|
-
/**
|
|
1743
|
-
* The time at which the seller confirmed the agreement.
|
|
1744
|
-
*/
|
|
1745
|
-
seller_confirmed_at: string;
|
|
1746
|
-
/**
|
|
1747
|
-
* Details about the seller.
|
|
1748
|
-
*/
|
|
1749
|
-
seller_details: Data.SellerDetails;
|
|
1750
|
-
}
|
|
1751
|
-
namespace Data {
|
|
1752
|
-
interface OrchestratorDetails {
|
|
1753
|
-
/**
|
|
1754
|
-
* The name of the orchestrator. This can be the name of the agent or the name of the business.
|
|
1755
|
-
*/
|
|
1756
|
-
name: string;
|
|
1757
|
-
/**
|
|
1758
|
-
* The Network ID of the orchestrator.
|
|
1759
|
-
*/
|
|
1760
|
-
network_business_profile: string;
|
|
1761
|
-
}
|
|
1762
|
-
interface SellerDetails {
|
|
1763
|
-
/**
|
|
1764
|
-
* The Network ID of the seller.
|
|
1765
|
-
*/
|
|
1766
|
-
network_business_profile: string;
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
}
|
|
1770
|
-
/**
|
|
1771
|
-
* Occurs when an Agreement is terminated.
|
|
1772
|
-
*/
|
|
1773
|
-
export interface V2OrchestratedCommerceAgreementTerminatedEvent extends EventBase {
|
|
1774
|
-
type: 'v2.orchestrated_commerce.agreement.terminated';
|
|
1775
|
-
data: V2OrchestratedCommerceAgreementTerminatedEvent.Data;
|
|
1776
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1777
|
-
fetchRelatedObject(): Promise<OrchestratedCommerce.Agreement>;
|
|
1778
|
-
}
|
|
1779
|
-
export interface V2OrchestratedCommerceAgreementTerminatedEventNotification extends EventNotificationBase {
|
|
1780
|
-
type: 'v2.orchestrated_commerce.agreement.terminated';
|
|
1781
|
-
related_object: V2.Core.Events.RelatedObject;
|
|
1782
|
-
fetchRelatedObject(): Promise<OrchestratedCommerce.Agreement>;
|
|
1783
|
-
fetchEvent(): Promise<V2OrchestratedCommerceAgreementTerminatedEvent>;
|
|
1784
|
-
}
|
|
1785
|
-
export declare namespace V2OrchestratedCommerceAgreementTerminatedEvent {
|
|
1786
|
-
interface Data {
|
|
1787
|
-
/**
|
|
1788
|
-
* Details about the orchestrator.
|
|
1789
|
-
*/
|
|
1790
|
-
orchestrator_details: Data.OrchestratorDetails;
|
|
1791
|
-
/**
|
|
1792
|
-
* Details about the seller.
|
|
1793
|
-
*/
|
|
1794
|
-
seller_details: Data.SellerDetails;
|
|
1795
|
-
/**
|
|
1796
|
-
* The time at which the agreement was terminated.
|
|
1797
|
-
*/
|
|
1798
|
-
terminated_at: string;
|
|
1799
|
-
/**
|
|
1800
|
-
* The party that terminated the agreement.
|
|
1801
|
-
*/
|
|
1802
|
-
terminated_by: Data.TerminatedBy;
|
|
1803
|
-
}
|
|
1804
|
-
namespace Data {
|
|
1805
|
-
interface OrchestratorDetails {
|
|
1806
|
-
/**
|
|
1807
|
-
* The name of the orchestrator. This can be the name of the agent or the name of the business.
|
|
1808
|
-
*/
|
|
1809
|
-
name: string;
|
|
1810
|
-
/**
|
|
1811
|
-
* The Network ID of the orchestrator.
|
|
1812
|
-
*/
|
|
1813
|
-
network_business_profile: string;
|
|
1814
|
-
}
|
|
1815
|
-
interface SellerDetails {
|
|
1816
|
-
/**
|
|
1817
|
-
* The Network ID of the seller.
|
|
1818
|
-
*/
|
|
1819
|
-
network_business_profile: string;
|
|
1820
|
-
}
|
|
1821
|
-
type TerminatedBy = 'orchestrator' | 'seller';
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
706
|
export declare namespace Events {
|
|
1825
|
-
export { UnknownEventNotification, V1BillingMeterErrorReportTriggeredEvent, V1BillingMeterNoMeterFoundEvent, V2CommerceProductCatalogImportsFailedEvent, V2CommerceProductCatalogImportsProcessingEvent, V2CommerceProductCatalogImportsSucceededEvent, V2CommerceProductCatalogImportsSucceededWithErrorsEvent, V2CoreAccountClosedEvent, V2CoreAccountCreatedEvent, V2CoreAccountUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientUpdatedEvent,
|
|
707
|
+
export { UnknownEventNotification, V1BillingMeterErrorReportTriggeredEvent, V1BillingMeterNoMeterFoundEvent, V2CommerceProductCatalogImportsFailedEvent, V2CommerceProductCatalogImportsProcessingEvent, V2CommerceProductCatalogImportsSucceededEvent, V2CommerceProductCatalogImportsSucceededWithErrorsEvent, V2CoreAccountClosedEvent, V2CoreAccountCreatedEvent, V2CoreAccountUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientUpdatedEvent, V2CoreAccountIncludingDefaultsUpdatedEvent, V2CoreAccountIncludingFutureRequirementsUpdatedEvent, V2CoreAccountIncludingIdentityUpdatedEvent, V2CoreAccountIncludingRequirementsUpdatedEvent, V2CoreAccountLinkReturnedEvent, V2CoreAccountPersonCreatedEvent, V2CoreAccountPersonDeletedEvent, V2CoreAccountPersonUpdatedEvent, V2CoreEventDestinationPingEvent, V1BillingMeterErrorReportTriggeredEventNotification, V1BillingMeterNoMeterFoundEventNotification, V2CommerceProductCatalogImportsFailedEventNotification, V2CommerceProductCatalogImportsProcessingEventNotification, V2CommerceProductCatalogImportsSucceededEventNotification, V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification, V2CoreAccountClosedEventNotification, V2CoreAccountCreatedEventNotification, V2CoreAccountUpdatedEventNotification, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification, V2CoreAccountIncludingDefaultsUpdatedEventNotification, V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification, V2CoreAccountIncludingIdentityUpdatedEventNotification, V2CoreAccountIncludingRequirementsUpdatedEventNotification, V2CoreAccountLinkReturnedEventNotification, V2CoreAccountPersonCreatedEventNotification, V2CoreAccountPersonDeletedEventNotification, V2CoreAccountPersonUpdatedEventNotification, V2CoreEventDestinationPingEventNotification, };
|
|
1826
708
|
}
|