stripe 23.1.0 → 23.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1914 -4850
- package/README.md +42 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -0
- package/cjs/Error.js +17 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +54 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +226 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +625 -3
- package/cjs/resources/Accounts.js +14 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Balance.d.ts +67 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/index.d.ts +3 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +17 -0
- package/cjs/resources/Charges.d.ts +3077 -70
- package/cjs/resources/Checkout/Sessions.d.ts +351 -4
- package/cjs/resources/ConfirmationTokens.d.ts +67 -1
- package/cjs/resources/Coupons.d.ts +53 -0
- package/cjs/resources/Coupons.js +13 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +20 -1
- package/cjs/resources/Customers.js +14 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +14 -0
- package/cjs/resources/Events.d.ts +614 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +216 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/InvoiceItems.d.ts +85 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +40 -2
- package/cjs/resources/Invoices.d.ts +1257 -10
- package/cjs/resources/Invoices.js +41 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +19 -1
- package/cjs/resources/Issuing/Cards.d.ts +13 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +13 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Transactions.d.ts +22 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +47 -22
- package/cjs/resources/Issuing/index.js +6 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +36 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4696 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
- package/cjs/resources/PaymentIntents.d.ts +13832 -2816
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +3 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +181 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +507 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +2266 -57
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +31 -1
- package/cjs/resources/Radar/index.d.ts +21 -16
- package/cjs/resources/Radar/index.js +2 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +11 -0
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +41 -1
- package/cjs/resources/Reserve/Plans.js +19 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +18 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +394 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +114 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1157 -5
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +388 -6
- package/cjs/resources/Subscriptions.js +42 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +25 -2
- package/cjs/resources/Tax/index.d.ts +24 -17
- package/cjs/resources/Tax/index.js +2 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +3 -0
- package/cjs/resources/TestHelpers/index.js +6 -4
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +15 -0
- package/cjs/resources/Transfers.d.ts +8 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +958 -0
- package/cjs/resources/V2/Billing/Cadences.js +198 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +45 -6
- package/cjs/resources/V2/Billing/index.js +8 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +1465 -71
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/cjs/resources/V2/Core/BatchJobs.js +252 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1009 -5
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +24 -9
- package/cjs/resources/V2/Core/index.js +4 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/cjs/resources/V2/Data/QueryRuns.js +51 -0
- package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/cjs/resources/V2/Data/ReportRuns.js +53 -0
- package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reports.d.ts +140 -0
- package/cjs/resources/V2/Data/Reports.js +25 -0
- package/cjs/resources/V2/Data/Reports.js.map +1 -0
- package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
- package/cjs/resources/V2/Data/Schemas.js +23 -0
- package/cjs/resources/V2/Data/Schemas.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +34 -0
- package/cjs/resources/V2/Data/index.js +21 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +2 -0
- package/cjs/resources/V2/EventMisc.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +13 -0
- package/cjs/resources/V2/Iam/index.js +13 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/cjs/resources/V2/MoneyManagement/index.js +6 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +66 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +18 -0
- package/cjs/resources/V2/index.js +16 -4
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +10 -0
- package/cjs/resources.js +126 -8
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +6674 -138
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +60 -26
- package/cjs/stripe.core.js +55 -36
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -0
- package/esm/Error.js +14 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +54 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +226 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +625 -3
- package/esm/resources/Accounts.js +14 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Balance.d.ts +67 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/index.d.ts +3 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +17 -0
- package/esm/resources/Charges.d.ts +3077 -70
- package/esm/resources/Checkout/Sessions.d.ts +351 -4
- package/esm/resources/ConfirmationTokens.d.ts +67 -1
- package/esm/resources/Coupons.d.ts +53 -0
- package/esm/resources/Coupons.js +13 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +20 -1
- package/esm/resources/Customers.js +14 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +14 -0
- package/esm/resources/Events.d.ts +614 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +216 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/InvoiceItems.d.ts +85 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +40 -2
- package/esm/resources/Invoices.d.ts +1257 -10
- package/esm/resources/Invoices.js +41 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +13 -0
- package/esm/resources/Issuing/Cardholders.d.ts +19 -1
- package/esm/resources/Issuing/Cards.d.ts +13 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +13 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Transactions.d.ts +22 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +47 -22
- package/esm/resources/Issuing/index.js +6 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +36 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orders.d.ts +4696 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
- package/esm/resources/PaymentIntents.d.ts +13832 -2816
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +3 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +181 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +507 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +2266 -57
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +31 -1
- package/esm/resources/Radar/index.d.ts +21 -16
- package/esm/resources/Radar/index.js +2 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +11 -0
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +41 -1
- package/esm/resources/Reserve/Plans.js +17 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +18 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +394 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +114 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1157 -5
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +388 -6
- package/esm/resources/Subscriptions.js +42 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +25 -2
- package/esm/resources/Tax/index.d.ts +24 -17
- package/esm/resources/Tax/index.js +2 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +3 -0
- package/esm/resources/TestHelpers/index.js +2 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +15 -0
- package/esm/resources/Transfers.d.ts +8 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +958 -0
- package/esm/resources/V2/Billing/Cadences.js +194 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +45 -6
- package/esm/resources/V2/Billing/index.js +8 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/esm/resources/V2/Core/Accounts.d.ts +1465 -71
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/esm/resources/V2/Core/BatchJobs.js +248 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1009 -5
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +24 -9
- package/esm/resources/V2/Core/index.js +4 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/esm/resources/V2/Data/QueryRuns.js +47 -0
- package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/esm/resources/V2/Data/ReportRuns.js +49 -0
- package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/Reports.d.ts +140 -0
- package/esm/resources/V2/Data/Reports.js +21 -0
- package/esm/resources/V2/Data/Reports.js.map +1 -0
- package/esm/resources/V2/Data/Schemas.d.ts +161 -0
- package/esm/resources/V2/Data/Schemas.js +19 -0
- package/esm/resources/V2/Data/Schemas.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +34 -0
- package/esm/resources/V2/Data/index.js +17 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +2 -0
- package/esm/resources/V2/EventMisc.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +13 -0
- package/esm/resources/V2/Iam/index.js +9 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/esm/resources/V2/MoneyManagement/index.js +6 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/esm/resources/V2/Signals/AccountActivities.js +23 -0
- package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/esm/resources/V2/Signals/AccountSignals.js +62 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +18 -0
- package/esm/resources/V2/index.js +12 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +10 -0
- package/esm/resources.js +112 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +60 -26
- package/esm/stripe.core.js +21 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +60 -26
- package/esm/stripe.esm.node.js +21 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
+
import { WorkflowRun } from './WorkflowRuns.js';
|
|
3
|
+
import { OtherString } from '../../../shared.js';
|
|
4
|
+
import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
|
|
5
|
+
export declare class WorkflowResource extends StripeResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all Workflows.
|
|
8
|
+
*/
|
|
9
|
+
list(params?: V2.Extend.WorkflowListParams, options?: RequestOptions): V2ListPromise<Workflow>;
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the details of a Workflow by ID.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(id: string, params?: V2.Extend.WorkflowRetrieveParams, options?: RequestOptions): Promise<Response<Workflow>>;
|
|
14
|
+
/**
|
|
15
|
+
* Invokes an on-demand Workflow with parameters, to launch a new Workflow Run.
|
|
16
|
+
* @throws Stripe.CannotProceedError
|
|
17
|
+
*/
|
|
18
|
+
invoke(id: string, params: V2.Extend.WorkflowInvokeParams, options?: RequestOptions): Promise<Response<WorkflowRun>>;
|
|
19
|
+
}
|
|
20
|
+
export interface Workflow {
|
|
21
|
+
/**
|
|
22
|
+
* The unique ID of the Workflow.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
27
|
+
*/
|
|
28
|
+
object: 'v2.extend.workflow';
|
|
29
|
+
/**
|
|
30
|
+
* When the Workflow was created.
|
|
31
|
+
*/
|
|
32
|
+
created: string;
|
|
33
|
+
/**
|
|
34
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
35
|
+
*/
|
|
36
|
+
livemode: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether this Workflow is active, inactive, or in some other state. Only active Workflows may be invoked.
|
|
39
|
+
*/
|
|
40
|
+
status: Workflow.Status;
|
|
41
|
+
/**
|
|
42
|
+
* Workflow title.
|
|
43
|
+
*/
|
|
44
|
+
title: string;
|
|
45
|
+
/**
|
|
46
|
+
* Under what conditions will this Workflow launch.
|
|
47
|
+
*/
|
|
48
|
+
triggers: Array<Workflow.Trigger>;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace Workflow {
|
|
51
|
+
type Status = 'active' | 'archived' | 'draft' | 'inactive' | OtherString;
|
|
52
|
+
interface Trigger {
|
|
53
|
+
/**
|
|
54
|
+
* The Workflow can be launched when Stripe emits a certain event.
|
|
55
|
+
*/
|
|
56
|
+
event_trigger?: Trigger.EventTrigger;
|
|
57
|
+
/**
|
|
58
|
+
* The Workflow can be launched through a direct call, using either the Dashboard or the Stripe API.
|
|
59
|
+
*/
|
|
60
|
+
manual?: Trigger.Manual;
|
|
61
|
+
/**
|
|
62
|
+
* Which type of trigger this is.
|
|
63
|
+
*/
|
|
64
|
+
type: Trigger.Type;
|
|
65
|
+
}
|
|
66
|
+
namespace Trigger {
|
|
67
|
+
interface EventTrigger {
|
|
68
|
+
/**
|
|
69
|
+
* Specifies which accounts' events will trigger this Workflow.
|
|
70
|
+
*/
|
|
71
|
+
events_from: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The Stripe event type that will trigger this Workflow.
|
|
74
|
+
*/
|
|
75
|
+
type: string;
|
|
76
|
+
}
|
|
77
|
+
interface Manual {
|
|
78
|
+
}
|
|
79
|
+
type Type = 'event_trigger' | 'manual' | OtherString;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export declare namespace V2 {
|
|
83
|
+
namespace Extend {
|
|
84
|
+
interface WorkflowRetrieveParams {
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export declare namespace V2 {
|
|
89
|
+
namespace Extend {
|
|
90
|
+
interface WorkflowListParams {
|
|
91
|
+
/**
|
|
92
|
+
* Restrict page size to no more than this number.
|
|
93
|
+
*/
|
|
94
|
+
limit?: number;
|
|
95
|
+
/**
|
|
96
|
+
* When retrieving Workflows, include only those with the specified status values.
|
|
97
|
+
* If not specified, all Workflows in active and inactive status are returned.
|
|
98
|
+
*/
|
|
99
|
+
status?: Array<WorkflowListParams.Status>;
|
|
100
|
+
}
|
|
101
|
+
namespace WorkflowListParams {
|
|
102
|
+
type Status = 'active' | 'archived' | 'draft' | 'inactive' | OtherString;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export declare namespace V2 {
|
|
107
|
+
namespace Extend {
|
|
108
|
+
interface WorkflowInvokeParams {
|
|
109
|
+
/**
|
|
110
|
+
* Parameters used to invoke the Workflow Run.
|
|
111
|
+
*/
|
|
112
|
+
input_parameters: WorkflowInvokeParams.InputParameters;
|
|
113
|
+
}
|
|
114
|
+
namespace WorkflowInvokeParams {
|
|
115
|
+
type InputParameters = {
|
|
116
|
+
[key: string]: unknown;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.WorkflowResource = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
class WorkflowResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* List all Workflows.
|
|
9
|
+
*/
|
|
10
|
+
list(params, options) {
|
|
11
|
+
return this._makeRequest('GET', '/v2/extend/workflows', params, options, {
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves the details of a Workflow by ID.
|
|
17
|
+
*/
|
|
18
|
+
retrieve(id, params, options) {
|
|
19
|
+
return this._makeRequest('GET', `/v2/extend/workflows/${encodeURIComponent(id)}`, params, options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Invokes an on-demand Workflow with parameters, to launch a new Workflow Run.
|
|
23
|
+
* @throws Stripe.CannotProceedError
|
|
24
|
+
*/
|
|
25
|
+
invoke(id, params, options) {
|
|
26
|
+
return this._makeRequest('POST', `/v2/extend/workflows/${encodeURIComponent(id)}/invoke`, params, options);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.WorkflowResource = WorkflowResource;
|
|
30
|
+
//# sourceMappingURL=Workflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Workflows.js","sourceRoot":"","sources":["../../../../src/resources/V2/Extend/Workflows.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAK1D,MAAa,gBAAiB,SAAQ,kCAAc;IAClD;;OAEG;IACH,IAAI,CACF,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,EAAE;YACvE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,MAAM,CACJ,EAAU,EACV,MAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACvD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA3CD,4CA2CC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Stripe } from '../../../stripe.core.js';
|
|
2
|
+
import { V2 as V2Namespace0, Workflow, WorkflowResource } from './Workflows.js';
|
|
3
|
+
import { V2 as V2Namespace1, WorkflowRun, WorkflowRunResource } from './WorkflowRuns.js';
|
|
4
|
+
export { Workflow } from './Workflows.js';
|
|
5
|
+
export { WorkflowRun } from './WorkflowRuns.js';
|
|
6
|
+
export declare class Extend {
|
|
7
|
+
private readonly stripe;
|
|
8
|
+
workflows: WorkflowResource;
|
|
9
|
+
workflowRuns: WorkflowRunResource;
|
|
10
|
+
constructor(stripe: Stripe);
|
|
11
|
+
}
|
|
12
|
+
export declare namespace Extend {
|
|
13
|
+
export import WorkflowListParams = V2Namespace0.Extend.WorkflowListParams;
|
|
14
|
+
export import WorkflowRetrieveParams = V2Namespace0.Extend.WorkflowRetrieveParams;
|
|
15
|
+
export import WorkflowInvokeParams = V2Namespace0.Extend.WorkflowInvokeParams;
|
|
16
|
+
export { Workflow, WorkflowResource };
|
|
17
|
+
export import WorkflowRunListParams = V2Namespace1.Extend.WorkflowRunListParams;
|
|
18
|
+
export import WorkflowRunRetrieveParams = V2Namespace1.Extend.WorkflowRunRetrieveParams;
|
|
19
|
+
export { WorkflowRun, WorkflowRunResource };
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Extend = void 0;
|
|
5
|
+
const Workflows_js_1 = require("./Workflows.js");
|
|
6
|
+
const WorkflowRuns_js_1 = require("./WorkflowRuns.js");
|
|
7
|
+
class Extend {
|
|
8
|
+
constructor(stripe) {
|
|
9
|
+
this.stripe = stripe;
|
|
10
|
+
this.workflows = new Workflows_js_1.WorkflowResource(stripe);
|
|
11
|
+
this.workflowRuns = new WorkflowRuns_js_1.WorkflowRunResource(stripe);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Extend = Extend;
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/Extend/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,iDAA8E;AAC9E,uDAI2B;AAK3B,MAAa,MAAM;IAIjB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,SAAS,GAAG,IAAI,+BAAgB,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF;AARD,wBAQC"}
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
+
import { OtherString } from '../../../shared.js';
|
|
3
|
+
import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
|
|
4
|
+
export declare class ActivityLogResource extends StripeResource {
|
|
5
|
+
/**
|
|
6
|
+
* List activity logs of an account.
|
|
7
|
+
*/
|
|
8
|
+
list(params?: V2.Iam.ActivityLogListParams, options?: RequestOptions): V2ListPromise<ActivityLog>;
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve an activity log.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(id: string, params?: V2.Iam.ActivityLogRetrieveParams, options?: RequestOptions): Promise<Response<ActivityLog>>;
|
|
13
|
+
}
|
|
14
|
+
export interface ActivityLog {
|
|
15
|
+
/**
|
|
16
|
+
* Unique identifier of the activity log entry.
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
21
|
+
*/
|
|
22
|
+
object: 'v2.iam.activity_log';
|
|
23
|
+
/**
|
|
24
|
+
* The actor that performed the action.
|
|
25
|
+
*/
|
|
26
|
+
actor: ActivityLog.Actor;
|
|
27
|
+
/**
|
|
28
|
+
* The account on which the action was performed.
|
|
29
|
+
*/
|
|
30
|
+
context: string;
|
|
31
|
+
/**
|
|
32
|
+
* Timestamp when the activity log entry was created.
|
|
33
|
+
*/
|
|
34
|
+
created: string;
|
|
35
|
+
/**
|
|
36
|
+
* Action-specific details of the activity log entry.
|
|
37
|
+
*/
|
|
38
|
+
details: ActivityLog.Details;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the action was performed in live mode.
|
|
41
|
+
*/
|
|
42
|
+
livemode: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The object related to the activity log entry.
|
|
45
|
+
*/
|
|
46
|
+
related_object?: ActivityLog.RelatedObject;
|
|
47
|
+
/**
|
|
48
|
+
* The API request that instigated the action.
|
|
49
|
+
*/
|
|
50
|
+
request?: ActivityLog.Request;
|
|
51
|
+
/**
|
|
52
|
+
* The type of action that was performed.
|
|
53
|
+
*/
|
|
54
|
+
type: ActivityLog.Type;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace ActivityLog {
|
|
57
|
+
interface Actor {
|
|
58
|
+
/**
|
|
59
|
+
* Set when the actor is an API key.
|
|
60
|
+
*/
|
|
61
|
+
api_key?: Actor.ApiKey;
|
|
62
|
+
/**
|
|
63
|
+
* The type of actor.
|
|
64
|
+
*/
|
|
65
|
+
type: Actor.Type;
|
|
66
|
+
/**
|
|
67
|
+
* Set when the actor is a user.
|
|
68
|
+
*/
|
|
69
|
+
user?: Actor.User;
|
|
70
|
+
}
|
|
71
|
+
interface Details {
|
|
72
|
+
/**
|
|
73
|
+
* Details of an account security action.
|
|
74
|
+
*/
|
|
75
|
+
account_security?: Details.AccountSecurity;
|
|
76
|
+
/**
|
|
77
|
+
* Details of an API key action.
|
|
78
|
+
*/
|
|
79
|
+
api_key?: Details.ApiKey;
|
|
80
|
+
/**
|
|
81
|
+
* Details of an authentication action.
|
|
82
|
+
*/
|
|
83
|
+
authentication?: Details.Authentication;
|
|
84
|
+
/**
|
|
85
|
+
* Details of a SCIM action.
|
|
86
|
+
*/
|
|
87
|
+
scim?: Details.Scim;
|
|
88
|
+
/**
|
|
89
|
+
* Details of an SSO action.
|
|
90
|
+
*/
|
|
91
|
+
sso?: Details.Sso;
|
|
92
|
+
/**
|
|
93
|
+
* The action group type of the activity log entry.
|
|
94
|
+
*/
|
|
95
|
+
type: Details.Type;
|
|
96
|
+
/**
|
|
97
|
+
* Details of a user invite action.
|
|
98
|
+
*/
|
|
99
|
+
user_invite?: Details.UserInvite;
|
|
100
|
+
/**
|
|
101
|
+
* Details of a user profile action.
|
|
102
|
+
*/
|
|
103
|
+
user_profile?: Details.UserProfile;
|
|
104
|
+
/**
|
|
105
|
+
* Details of a user role change action.
|
|
106
|
+
*/
|
|
107
|
+
user_roles?: Details.UserRoles;
|
|
108
|
+
}
|
|
109
|
+
interface RelatedObject {
|
|
110
|
+
/**
|
|
111
|
+
* Unique identifier of the object.
|
|
112
|
+
*/
|
|
113
|
+
id: string;
|
|
114
|
+
/**
|
|
115
|
+
* Type of the object.
|
|
116
|
+
*/
|
|
117
|
+
type: RelatedObject.Type;
|
|
118
|
+
}
|
|
119
|
+
interface Request {
|
|
120
|
+
/**
|
|
121
|
+
* ID of the API request.
|
|
122
|
+
*/
|
|
123
|
+
id: string;
|
|
124
|
+
}
|
|
125
|
+
type Type = 'anomaly_detection_settings_updated' | 'api_key_created' | 'api_key_deleted' | 'api_key_updated' | 'api_key_viewed' | 'issuing_activated' | 'issuing_balance_transfer_created' | 'issuing_cardholder_created' | 'issuing_cardholder_updated' | 'issuing_card_created' | 'issuing_card_sensitive_details_viewed' | 'issuing_card_updated' | 'issuing_dispute_created' | 'issuing_dispute_submitted' | 'issuing_dispute_updated' | 'manual_payouts_disabled' | 'manual_payouts_enabled' | 'payout_destination_added' | 'payout_destination_removed' | 'payout_destination_updated' | 'payout_schedule_edits_disabled' | 'payout_schedule_edits_enabled' | 'scim_group_deleted' | 'scim_group_member_added' | 'scim_group_member_removed' | 'scim_group_roles_updated' | 'scim_group_updated' | 'sso_domain_verified' | 'sso_settings_created' | 'sso_settings_deleted' | 'sso_settings_updated' | 'two_step_authentication_mandate_disabled' | 'two_step_authentication_mandate_enabled' | 'user_auth_challenge_failed' | 'user_email_changed' | 'user_email_verified' | 'user_express_phone_number_changed' | 'user_google_account_connected' | 'user_google_account_disconnected' | 'user_invite_accepted' | 'user_invite_created' | 'user_invite_deleted' | 'user_passkey_added' | 'user_passkey_removed' | 'user_passkey_updated' | 'user_passkey_upgraded' | 'user_password_changed' | 'user_password_initialized' | 'user_password_reset_failed' | 'user_password_reset_requested' | 'user_password_reset_succeeded' | 'user_roles_deleted' | 'user_roles_updated' | 'user_two_step_authentication_backup_code_used' | 'user_two_step_authentication_method_added' | 'user_two_step_authentication_method_removed' | 'user_two_step_authentication_method_reset' | 'user_two_step_authentication_method_updated' | 'user_two_step_authentication_reset_requested' | OtherString;
|
|
126
|
+
namespace Actor {
|
|
127
|
+
interface ApiKey {
|
|
128
|
+
/**
|
|
129
|
+
* Unique identifier of the API key.
|
|
130
|
+
*/
|
|
131
|
+
id: string;
|
|
132
|
+
}
|
|
133
|
+
type Type = 'api_key' | 'stripe_action' | 'user';
|
|
134
|
+
interface User {
|
|
135
|
+
/**
|
|
136
|
+
* Email address of the user.
|
|
137
|
+
*/
|
|
138
|
+
email: string;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
namespace Details {
|
|
142
|
+
interface AccountSecurity {
|
|
143
|
+
/**
|
|
144
|
+
* Anomaly detection settings after the change.
|
|
145
|
+
*/
|
|
146
|
+
new_anomaly_settings?: AccountSecurity.NewAnomalySettings;
|
|
147
|
+
/**
|
|
148
|
+
* Anomaly detection settings before the change.
|
|
149
|
+
*/
|
|
150
|
+
old_anomaly_settings?: AccountSecurity.OldAnomalySettings;
|
|
151
|
+
}
|
|
152
|
+
interface ApiKey {
|
|
153
|
+
/**
|
|
154
|
+
* Timestamp when the API key was created.
|
|
155
|
+
*/
|
|
156
|
+
created: string;
|
|
157
|
+
/**
|
|
158
|
+
* Timestamp when the API key expires.
|
|
159
|
+
*/
|
|
160
|
+
expires_at?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Unique identifier of the API key.
|
|
163
|
+
*/
|
|
164
|
+
id: string;
|
|
165
|
+
/**
|
|
166
|
+
* List of IP addresses allowed to use this API key.
|
|
167
|
+
*/
|
|
168
|
+
ip_allowlist: Array<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Information about the entity managing this API key.
|
|
171
|
+
*/
|
|
172
|
+
managed_by?: ApiKey.ManagedBy;
|
|
173
|
+
/**
|
|
174
|
+
* Name of the API key.
|
|
175
|
+
*/
|
|
176
|
+
name?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Unique identifier of the new API key, set when this key was rotated.
|
|
179
|
+
*/
|
|
180
|
+
new_key?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Note or description for the API key.
|
|
183
|
+
*/
|
|
184
|
+
note?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Type of the API key.
|
|
187
|
+
*/
|
|
188
|
+
type: ApiKey.Type;
|
|
189
|
+
}
|
|
190
|
+
interface Authentication {
|
|
191
|
+
/**
|
|
192
|
+
* Backup email address involved in the authentication.
|
|
193
|
+
*/
|
|
194
|
+
backup_email?: string;
|
|
195
|
+
/**
|
|
196
|
+
* Type of challenge used for the authentication.
|
|
197
|
+
*/
|
|
198
|
+
challenge_type?: Authentication.ChallengeType;
|
|
199
|
+
/**
|
|
200
|
+
* Surface where the authentication occurred.
|
|
201
|
+
*/
|
|
202
|
+
surface?: Authentication.Surface;
|
|
203
|
+
/**
|
|
204
|
+
* Target email address involved in the authentication.
|
|
205
|
+
*/
|
|
206
|
+
target_email?: string;
|
|
207
|
+
}
|
|
208
|
+
interface Scim {
|
|
209
|
+
/**
|
|
210
|
+
* Name of the SCIM group.
|
|
211
|
+
*/
|
|
212
|
+
group_name: string;
|
|
213
|
+
/**
|
|
214
|
+
* Group roles after the change; only set for the group roles-updated action (scim_group_roles_updated).
|
|
215
|
+
*/
|
|
216
|
+
new_roles: Array<string>;
|
|
217
|
+
/**
|
|
218
|
+
* Group roles before the change; only set for the group roles-updated action (scim_group_roles_updated).
|
|
219
|
+
*/
|
|
220
|
+
old_roles: Array<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The context the roles were assigned in.
|
|
223
|
+
*/
|
|
224
|
+
role_assigned_context?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Email address of the affected member.
|
|
227
|
+
*/
|
|
228
|
+
user_email?: string;
|
|
229
|
+
}
|
|
230
|
+
interface Sso {
|
|
231
|
+
/**
|
|
232
|
+
* SSO enforcement level.
|
|
233
|
+
*/
|
|
234
|
+
mandate?: Sso.Mandate;
|
|
235
|
+
}
|
|
236
|
+
type Type = 'account_security' | 'api_key' | 'authentication' | 'issuing' | 'payout' | 'scim' | 'sso' | 'user_invite' | 'user_profile' | 'user_roles' | OtherString;
|
|
237
|
+
interface UserInvite {
|
|
238
|
+
/**
|
|
239
|
+
* Email address of the invited user.
|
|
240
|
+
*/
|
|
241
|
+
invited_user_email: string;
|
|
242
|
+
/**
|
|
243
|
+
* Roles assigned to the invited user.
|
|
244
|
+
*/
|
|
245
|
+
roles: Array<string>;
|
|
246
|
+
}
|
|
247
|
+
interface UserProfile {
|
|
248
|
+
/**
|
|
249
|
+
* Email address after the change.
|
|
250
|
+
*/
|
|
251
|
+
new_email?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Redacted phone number after the change.
|
|
254
|
+
*/
|
|
255
|
+
new_redacted_phone_number?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Email address before the change.
|
|
258
|
+
*/
|
|
259
|
+
old_email?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Redacted phone number before the change.
|
|
262
|
+
*/
|
|
263
|
+
old_redacted_phone_number?: string;
|
|
264
|
+
}
|
|
265
|
+
interface UserRoles {
|
|
266
|
+
/**
|
|
267
|
+
* Roles the user has after the change.
|
|
268
|
+
*/
|
|
269
|
+
new_roles: Array<string>;
|
|
270
|
+
/**
|
|
271
|
+
* Roles the user had before the change.
|
|
272
|
+
*/
|
|
273
|
+
old_roles: Array<string>;
|
|
274
|
+
/**
|
|
275
|
+
* Source of the role change.
|
|
276
|
+
*/
|
|
277
|
+
source: UserRoles.Source;
|
|
278
|
+
/**
|
|
279
|
+
* Email address of the user whose roles were changed.
|
|
280
|
+
*/
|
|
281
|
+
user_email: string;
|
|
282
|
+
}
|
|
283
|
+
namespace AccountSecurity {
|
|
284
|
+
interface NewAnomalySettings {
|
|
285
|
+
/**
|
|
286
|
+
* Whether dormant API key protection is enabled.
|
|
287
|
+
*/
|
|
288
|
+
dormant_api_key_protection_enabled?: boolean;
|
|
289
|
+
/**
|
|
290
|
+
* Whether money movement anomaly detection is enabled.
|
|
291
|
+
*/
|
|
292
|
+
money_movement_anomaly_detection_enabled?: boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Whether request-level anomaly detection is enabled.
|
|
295
|
+
*/
|
|
296
|
+
request_level_anomaly_detection_enabled?: boolean;
|
|
297
|
+
}
|
|
298
|
+
interface OldAnomalySettings {
|
|
299
|
+
/**
|
|
300
|
+
* Whether dormant API key protection is enabled.
|
|
301
|
+
*/
|
|
302
|
+
dormant_api_key_protection_enabled?: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* Whether money movement anomaly detection is enabled.
|
|
305
|
+
*/
|
|
306
|
+
money_movement_anomaly_detection_enabled?: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* Whether request-level anomaly detection is enabled.
|
|
309
|
+
*/
|
|
310
|
+
request_level_anomaly_detection_enabled?: boolean;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
namespace ApiKey {
|
|
314
|
+
interface ManagedBy {
|
|
315
|
+
/**
|
|
316
|
+
* An application.
|
|
317
|
+
*/
|
|
318
|
+
application?: ManagedBy.Application;
|
|
319
|
+
/**
|
|
320
|
+
* The type of entity.
|
|
321
|
+
*/
|
|
322
|
+
type: ManagedBy.Type;
|
|
323
|
+
}
|
|
324
|
+
type Type = 'publishable_key' | 'secret_key';
|
|
325
|
+
namespace ManagedBy {
|
|
326
|
+
interface Application {
|
|
327
|
+
/**
|
|
328
|
+
* Identifier of the application.
|
|
329
|
+
*/
|
|
330
|
+
id: string;
|
|
331
|
+
}
|
|
332
|
+
type Type = 'application' | OtherString;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
namespace Authentication {
|
|
336
|
+
type ChallengeType = 'external_account_code' | 'oauth' | 'previous_account_number' | 'reverse_sms' | 'sms' | 'stripe_identity' | 'totp' | 'webauthn' | OtherString;
|
|
337
|
+
type Surface = 'dashboard' | 'express' | OtherString;
|
|
338
|
+
}
|
|
339
|
+
namespace Sso {
|
|
340
|
+
type Mandate = 'off' | 'optional' | 'required';
|
|
341
|
+
}
|
|
342
|
+
namespace UserRoles {
|
|
343
|
+
type Source = 'dashboard' | 'scim' | 'sso' | OtherString;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
namespace RelatedObject {
|
|
347
|
+
type Type = 'balance_transfer' | 'bank_account' | 'blockchain_address' | 'card' | 'issuing.card' | 'issuing.cardholder' | 'issuing.dispute' | OtherString;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
export declare namespace V2 {
|
|
351
|
+
namespace Iam {
|
|
352
|
+
interface ActivityLogRetrieveParams {
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
export declare namespace V2 {
|
|
357
|
+
namespace Iam {
|
|
358
|
+
interface ActivityLogListParams {
|
|
359
|
+
/**
|
|
360
|
+
* Filter results to only include activity logs for the specified action group types.
|
|
361
|
+
*/
|
|
362
|
+
action_groups?: Array<ActivityLogListParams.ActionGroup>;
|
|
363
|
+
/**
|
|
364
|
+
* Filter results to only include activity logs for the specified action types.
|
|
365
|
+
*/
|
|
366
|
+
actions?: Array<ActivityLogListParams.Action>;
|
|
367
|
+
/**
|
|
368
|
+
* Maximum number of results to return per page.
|
|
369
|
+
*/
|
|
370
|
+
limit?: number;
|
|
371
|
+
}
|
|
372
|
+
namespace ActivityLogListParams {
|
|
373
|
+
type ActionGroup = 'account_security' | 'api_key' | 'authentication' | 'issuing' | 'payout' | 'scim' | 'sso' | 'user_invite' | 'user_profile' | 'user_roles' | OtherString;
|
|
374
|
+
type Action = 'anomaly_detection_settings_updated' | 'api_key_created' | 'api_key_deleted' | 'api_key_updated' | 'api_key_viewed' | 'issuing_activated' | 'issuing_balance_transfer_created' | 'issuing_cardholder_created' | 'issuing_cardholder_updated' | 'issuing_card_created' | 'issuing_card_sensitive_details_viewed' | 'issuing_card_updated' | 'issuing_dispute_created' | 'issuing_dispute_submitted' | 'issuing_dispute_updated' | 'manual_payouts_disabled' | 'manual_payouts_enabled' | 'payout_destination_added' | 'payout_destination_removed' | 'payout_destination_updated' | 'payout_schedule_edits_disabled' | 'payout_schedule_edits_enabled' | 'scim_group_deleted' | 'scim_group_member_added' | 'scim_group_member_removed' | 'scim_group_roles_updated' | 'scim_group_updated' | 'sso_domain_verified' | 'sso_settings_created' | 'sso_settings_deleted' | 'sso_settings_updated' | 'two_step_authentication_mandate_disabled' | 'two_step_authentication_mandate_enabled' | 'user_auth_challenge_failed' | 'user_email_changed' | 'user_email_verified' | 'user_express_phone_number_changed' | 'user_google_account_connected' | 'user_google_account_disconnected' | 'user_invite_accepted' | 'user_invite_created' | 'user_invite_deleted' | 'user_passkey_added' | 'user_passkey_removed' | 'user_passkey_updated' | 'user_passkey_upgraded' | 'user_password_changed' | 'user_password_initialized' | 'user_password_reset_failed' | 'user_password_reset_requested' | 'user_password_reset_succeeded' | 'user_roles_deleted' | 'user_roles_updated' | 'user_two_step_authentication_backup_code_used' | 'user_two_step_authentication_method_added' | 'user_two_step_authentication_method_removed' | 'user_two_step_authentication_method_reset' | 'user_two_step_authentication_method_updated' | 'user_two_step_authentication_reset_requested' | OtherString;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ActivityLogResource = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
class ActivityLogResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* List activity logs of an account.
|
|
9
|
+
*/
|
|
10
|
+
list(params, options) {
|
|
11
|
+
return this._makeRequest('GET', '/v2/iam/activity_logs', params, options, {
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Retrieve an activity log.
|
|
17
|
+
*/
|
|
18
|
+
retrieve(id, params, options) {
|
|
19
|
+
return this._makeRequest('GET', `/v2/iam/activity_logs/${encodeURIComponent(id)}`, params, options);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ActivityLogResource = ActivityLogResource;
|
|
23
|
+
//# sourceMappingURL=ActivityLogs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActivityLogs.js","sourceRoot":"","sources":["../../../../src/resources/V2/Iam/ActivityLogs.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAI1D,MAAa,mBAAoB,SAAQ,kCAAc;IACrD;;OAEG;IACH,IAAI,CACF,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,uBAAuB,EAAE,MAAM,EAAE,OAAO,EAAE;YACxE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,yBAAyB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACjD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA3BD,kDA2BC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Stripe } from '../../../stripe.core.js';
|
|
2
|
+
import { V2 as V2Namespace0, ActivityLog, ActivityLogResource } from './ActivityLogs.js';
|
|
3
|
+
export { ActivityLog } from './ActivityLogs.js';
|
|
4
|
+
export declare class Iam {
|
|
5
|
+
private readonly stripe;
|
|
6
|
+
activityLogs: ActivityLogResource;
|
|
7
|
+
constructor(stripe: Stripe);
|
|
8
|
+
}
|
|
9
|
+
export declare namespace Iam {
|
|
10
|
+
export import ActivityLogListParams = V2Namespace0.Iam.ActivityLogListParams;
|
|
11
|
+
export import ActivityLogRetrieveParams = V2Namespace0.Iam.ActivityLogRetrieveParams;
|
|
12
|
+
export { ActivityLog, ActivityLogResource };
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Iam = void 0;
|
|
5
|
+
const ActivityLogs_js_1 = require("./ActivityLogs.js");
|
|
6
|
+
class Iam {
|
|
7
|
+
constructor(stripe) {
|
|
8
|
+
this.stripe = stripe;
|
|
9
|
+
this.activityLogs = new ActivityLogs_js_1.ActivityLogResource(stripe);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.Iam = Iam;
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/Iam/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,uDAI2B;AAI3B,MAAa,GAAG;IAGd,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF;AAND,kBAMC"}
|
|
@@ -49,6 +49,12 @@ export interface Adjustment {
|
|
|
49
49
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
50
50
|
*/
|
|
51
51
|
livemode: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* A link to the Stripe-hosted receipt provided when money movement is regulated under Stripe's money transmission licenses.
|
|
54
|
+
* You can use this link to view the receipt for 60 days after the Adjustment is created.
|
|
55
|
+
* After that, the link expires and `receipt_url` is `null`.
|
|
56
|
+
*/
|
|
57
|
+
receipt_url?: string;
|
|
52
58
|
}
|
|
53
59
|
export declare namespace Adjustment {
|
|
54
60
|
interface AdjustedFlow {
|