stripe 22.6.1 → 22.7.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 +1858 -60
- package/README.md +42 -68
- package/VERSION +1 -1
- package/cjs/Error.d.ts +50 -0
- package/cjs/Error.js +125 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.js +1 -19
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +70 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/StripeResource.js +7 -7
- package/cjs/StripeResource.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/multipart.js +11 -18
- package/cjs/multipart.js.map +1 -1
- package/cjs/platform/ExtensibilityPlatformFunctions.d.ts +1 -1
- package/cjs/platform/ExtensibilityPlatformFunctions.js +1 -1
- package/cjs/platform/NodePlatformFunctions.js +5 -3
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +1 -3
- package/cjs/platform/PlatformFunctions.js +6 -7
- package/cjs/platform/PlatformFunctions.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 +244 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +827 -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/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 +403 -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 +29 -0
- package/cjs/resources/Events.d.ts +548 -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 +212 -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 +1388 -15
- 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 +33 -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 +4693 -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 +13288 -2369
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +20 -4
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +164 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +52 -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 +158 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +29 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +14 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +42 -0
- 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 +1126 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +786 -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/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +31 -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 +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -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 +17 -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 +343 -19
- 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 +143 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +571 -6
- package/cjs/resources/Subscriptions.js +145 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/cjs/resources/Tax/Calculations.d.ts +7 -3
- 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/Locations.d.ts +112 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +138 -2
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +27 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +16 -1
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- 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 +78 -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 +8 -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 +947 -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 +237 -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 +776 -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/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/cjs/resources/V2/Core/Accounts.d.ts +1566 -64
- 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 +360 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1264 -4
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +284 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +256 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +27 -9
- package/cjs/resources/V2/Core/index.js +6 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +151 -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/index.d.ts +10 -0
- package/cjs/resources/V2/Data/index.js +13 -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/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +218 -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 +131 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +209 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +297 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +255 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +53 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +296 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +159 -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/TransactionEntries.d.ts +162 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +193 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +105 -0
- package/cjs/resources/V2/MoneyManagement/index.js +39 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- 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/AccountActivity.d.ts +388 -0
- package/cjs/resources/V2/Signals/AccountActivity.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +335 -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 +130 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +58 -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/TestHelpers/FinancialAddresses.d.ts +45 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +30 -0
- package/cjs/resources/V2/index.js +16 -0
- 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 +156 -10
- package/cjs/resources.js.map +1 -1
- package/cjs/shared.d.ts +2 -5
- package/cjs/stripe.cjs.node.d.ts +6622 -107
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +88 -26
- package/cjs/stripe.core.js +52 -36
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -18
- package/cjs/utils.js +1 -26
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +50 -0
- package/esm/Error.js +109 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.js +2 -20
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +70 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/StripeResource.js +7 -7
- package/esm/StripeResource.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/multipart.js +11 -18
- package/esm/multipart.js.map +1 -1
- package/esm/platform/ExtensibilityPlatformFunctions.d.ts +1 -1
- package/esm/platform/ExtensibilityPlatformFunctions.js +1 -1
- package/esm/platform/NodePlatformFunctions.js +5 -3
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +1 -3
- package/esm/platform/PlatformFunctions.js +6 -7
- package/esm/platform/PlatformFunctions.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 +244 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +827 -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/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 +403 -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 +29 -0
- package/esm/resources/Events.d.ts +548 -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 +212 -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 +1388 -15
- 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 +33 -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 +4693 -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 +13288 -2369
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +20 -4
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +164 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +52 -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 +158 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +25 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +14 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +42 -0
- 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 +1126 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +786 -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/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +31 -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 +16 -0
- package/esm/resources/Reserve/Plans.js +9 -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 +17 -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 +343 -19
- 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 +143 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +571 -6
- package/esm/resources/Subscriptions.js +145 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/esm/resources/Tax/Calculations.d.ts +7 -3
- 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/Locations.d.ts +112 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +138 -2
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +27 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +16 -1
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- 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 +78 -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 +8 -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 +947 -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 +237 -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 +776 -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/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/esm/resources/V2/Core/Accounts.d.ts +1566 -64
- 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 +360 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1264 -4
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +284 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +256 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +27 -9
- package/esm/resources/V2/Core/index.js +6 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +151 -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/index.d.ts +10 -0
- package/esm/resources/V2/Data/index.js +9 -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/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +218 -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 +131 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +209 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +297 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +255 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +49 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +296 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +159 -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/TransactionEntries.d.ts +162 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +193 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +105 -0
- package/esm/resources/V2/MoneyManagement/index.js +35 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- 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/AccountActivity.d.ts +388 -0
- package/esm/resources/V2/Signals/AccountActivity.js +23 -0
- package/esm/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +335 -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 +130 -0
- package/esm/resources/V2/Signals/AccountSignals.js +54 -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/TestHelpers/FinancialAddresses.d.ts +45 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +30 -0
- package/esm/resources/V2/index.js +16 -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 +141 -0
- package/esm/resources.js.map +1 -1
- package/esm/shared.d.ts +2 -5
- package/esm/stripe.core.d.ts +88 -26
- package/esm/stripe.core.js +22 -6
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +88 -26
- package/esm/stripe.esm.node.js +22 -6
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -18
- package/esm/utils.js +0 -24
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
2
|
+
import { Address, Emptyable, PaginationParams } from '../../shared.js';
|
|
3
|
+
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
4
|
+
export declare class LocationResource extends StripeResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve a list of all tax locations. Tax locations can represent the venues for services, tickets, or other product types.
|
|
7
|
+
*
|
|
8
|
+
* The response includes detailed information for each tax location, such as its address, name, description, and current operational status.
|
|
9
|
+
*
|
|
10
|
+
* You can paginate through the list by using the limit parameter to control the number of results returned in each request.
|
|
11
|
+
*/
|
|
12
|
+
list(params: Tax.LocationListParams, options?: RequestOptions): ApiListPromise<Location>;
|
|
13
|
+
/**
|
|
14
|
+
* Create a tax location to use in calculating taxes for a service, ticket, or other type of product. The resulting object contains the id, address, name, description, and current operational status of the tax location.
|
|
15
|
+
*/
|
|
16
|
+
create(params: Tax.LocationCreateParams, options?: RequestOptions): Promise<Response<Location>>;
|
|
17
|
+
/**
|
|
18
|
+
* Fetch the details of a specific tax location using its unique identifier. Use a tax location to calculate taxes based on the location of the end product, such as a performance, instead of the customer address. For more details, check the [integration guide](https://docs.stripe.com/tax/tax-for-tickets/integration-guide).
|
|
19
|
+
*/
|
|
20
|
+
retrieve(id: string, params?: Tax.LocationRetrieveParams, options?: RequestOptions): Promise<Response<Location>>;
|
|
21
|
+
}
|
|
22
|
+
export interface Location {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the object.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
29
|
+
*/
|
|
30
|
+
object: 'tax.location';
|
|
31
|
+
address: Address;
|
|
32
|
+
/**
|
|
33
|
+
* A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (e.g., "A spacious auditorium suitable for large concerts and events.").
|
|
34
|
+
*/
|
|
35
|
+
description: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
38
|
+
*/
|
|
39
|
+
livemode: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The type of tax location to be defined. Currently the only option is `performance`.
|
|
42
|
+
*/
|
|
43
|
+
type: 'performance';
|
|
44
|
+
}
|
|
45
|
+
export declare namespace Tax {
|
|
46
|
+
interface LocationCreateParams {
|
|
47
|
+
/**
|
|
48
|
+
* The physical address of the tax location.
|
|
49
|
+
*/
|
|
50
|
+
address: LocationCreateParams.Address;
|
|
51
|
+
/**
|
|
52
|
+
* The type of tax location. The only supported value is "performance".
|
|
53
|
+
*/
|
|
54
|
+
type: 'performance';
|
|
55
|
+
/**
|
|
56
|
+
* Details to identify the tax location by its venue, types of events held, or available services, such as "A spacious auditorium suitable for large concerts and events.".
|
|
57
|
+
*/
|
|
58
|
+
description?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Specifies which fields in the response should be expanded.
|
|
61
|
+
*/
|
|
62
|
+
expand?: Array<string>;
|
|
63
|
+
}
|
|
64
|
+
namespace LocationCreateParams {
|
|
65
|
+
interface Address {
|
|
66
|
+
/**
|
|
67
|
+
* City, district, suburb, town, or village.
|
|
68
|
+
*/
|
|
69
|
+
city?: Emptyable<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
72
|
+
*/
|
|
73
|
+
country: string;
|
|
74
|
+
/**
|
|
75
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
76
|
+
*/
|
|
77
|
+
line1?: Emptyable<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
80
|
+
*/
|
|
81
|
+
line2?: Emptyable<string>;
|
|
82
|
+
/**
|
|
83
|
+
* ZIP or postal code.
|
|
84
|
+
*/
|
|
85
|
+
postal_code?: Emptyable<string>;
|
|
86
|
+
/**
|
|
87
|
+
* State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix, such as "NY" or "TX".
|
|
88
|
+
*/
|
|
89
|
+
state?: Emptyable<string>;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
export declare namespace Tax {
|
|
94
|
+
interface LocationRetrieveParams {
|
|
95
|
+
/**
|
|
96
|
+
* Specifies which fields in the response should be expanded.
|
|
97
|
+
*/
|
|
98
|
+
expand?: Array<string>;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export declare namespace Tax {
|
|
102
|
+
interface LocationListParams extends PaginationParams {
|
|
103
|
+
/**
|
|
104
|
+
* Type of the tax location. Currently the only option is `performance`.
|
|
105
|
+
*/
|
|
106
|
+
type: 'performance';
|
|
107
|
+
/**
|
|
108
|
+
* Specifies which fields in the response should be expanded.
|
|
109
|
+
*/
|
|
110
|
+
expand?: Array<string>;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
export class LocationResource extends StripeResource {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve a list of all tax locations. Tax locations can represent the venues for services, tickets, or other product types.
|
|
6
|
+
*
|
|
7
|
+
* The response includes detailed information for each tax location, such as its address, name, description, and current operational status.
|
|
8
|
+
*
|
|
9
|
+
* You can paginate through the list by using the limit parameter to control the number of results returned in each request.
|
|
10
|
+
*/
|
|
11
|
+
list(params, options) {
|
|
12
|
+
return this._makeRequest('GET', '/v1/tax/locations', params, options, {
|
|
13
|
+
methodType: 'list',
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a tax location to use in calculating taxes for a service, ticket, or other type of product. The resulting object contains the id, address, name, description, and current operational status of the tax location.
|
|
18
|
+
*/
|
|
19
|
+
create(params, options) {
|
|
20
|
+
return this._makeRequest('POST', '/v1/tax/locations', params, options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Fetch the details of a specific tax location using its unique identifier. Use a tax location to calculate taxes based on the location of the end product, such as a performance, instead of the customer address. For more details, check the [integration guide](https://docs.stripe.com/tax/tax-for-tickets/integration-guide).
|
|
24
|
+
*/
|
|
25
|
+
retrieve(id, params, options) {
|
|
26
|
+
return this._makeRequest('GET', `/v1/tax/locations/${encodeURIComponent(id)}`, params, options);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=Locations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Locations.js","sourceRoot":"","sources":["../../../src/resources/Tax/Locations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAIvD,MAAM,OAAO,gBAAiB,SAAQ,cAAc;IAClD;;;;;;OAMG;IACH,IAAI,CACF,MAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE,OAAO,EAAE;YACpE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mBAAmB,EACnB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qBAAqB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|
|
@@ -790,15 +790,23 @@ export declare namespace Registration {
|
|
|
790
790
|
type: 'simplified';
|
|
791
791
|
}
|
|
792
792
|
interface Us {
|
|
793
|
+
admissions_tax?: Us.AdmissionsTax;
|
|
794
|
+
attendance_tax?: Us.AttendanceTax;
|
|
795
|
+
entertainment_tax?: Us.EntertainmentTax;
|
|
796
|
+
gross_receipts_tax?: Us.GrossReceiptsTax;
|
|
797
|
+
hospitality_tax?: Us.HospitalityTax;
|
|
793
798
|
local_amusement_tax?: Us.LocalAmusementTax;
|
|
794
799
|
local_lease_tax?: Us.LocalLeaseTax;
|
|
800
|
+
luxury_tax?: Us.LuxuryTax;
|
|
795
801
|
mass_transit_parking_tax?: Us.MassTransitParkingTax;
|
|
796
802
|
parking_tax?: Us.ParkingTax;
|
|
803
|
+
resort_tax?: Us.ResortTax;
|
|
797
804
|
/**
|
|
798
805
|
* Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
799
806
|
*/
|
|
800
807
|
state: string;
|
|
801
808
|
state_sales_tax?: Us.StateSalesTax;
|
|
809
|
+
tourism_tax?: Us.TourismTax;
|
|
802
810
|
/**
|
|
803
811
|
* Type of registration in the US.
|
|
804
812
|
*/
|
|
@@ -1505,6 +1513,36 @@ export declare namespace Registration {
|
|
|
1505
1513
|
}
|
|
1506
1514
|
}
|
|
1507
1515
|
namespace Us {
|
|
1516
|
+
interface AdmissionsTax {
|
|
1517
|
+
/**
|
|
1518
|
+
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction.
|
|
1519
|
+
*/
|
|
1520
|
+
jurisdiction: string;
|
|
1521
|
+
}
|
|
1522
|
+
interface AttendanceTax {
|
|
1523
|
+
/**
|
|
1524
|
+
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction.
|
|
1525
|
+
*/
|
|
1526
|
+
jurisdiction: string;
|
|
1527
|
+
}
|
|
1528
|
+
interface EntertainmentTax {
|
|
1529
|
+
/**
|
|
1530
|
+
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction.
|
|
1531
|
+
*/
|
|
1532
|
+
jurisdiction: string;
|
|
1533
|
+
}
|
|
1534
|
+
interface GrossReceiptsTax {
|
|
1535
|
+
/**
|
|
1536
|
+
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction.
|
|
1537
|
+
*/
|
|
1538
|
+
jurisdiction: string;
|
|
1539
|
+
}
|
|
1540
|
+
interface HospitalityTax {
|
|
1541
|
+
/**
|
|
1542
|
+
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction.
|
|
1543
|
+
*/
|
|
1544
|
+
jurisdiction: string;
|
|
1545
|
+
}
|
|
1508
1546
|
interface LocalAmusementTax {
|
|
1509
1547
|
/**
|
|
1510
1548
|
* A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
|
@@ -1517,6 +1555,12 @@ export declare namespace Registration {
|
|
|
1517
1555
|
*/
|
|
1518
1556
|
jurisdiction: string;
|
|
1519
1557
|
}
|
|
1558
|
+
interface LuxuryTax {
|
|
1559
|
+
/**
|
|
1560
|
+
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction.
|
|
1561
|
+
*/
|
|
1562
|
+
jurisdiction: string;
|
|
1563
|
+
}
|
|
1520
1564
|
interface MassTransitParkingTax {
|
|
1521
1565
|
/**
|
|
1522
1566
|
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=mass_transit_parking_tax#registration-types) representing the local jurisdiction.
|
|
@@ -1529,13 +1573,25 @@ export declare namespace Registration {
|
|
|
1529
1573
|
*/
|
|
1530
1574
|
jurisdiction: string;
|
|
1531
1575
|
}
|
|
1576
|
+
interface ResortTax {
|
|
1577
|
+
/**
|
|
1578
|
+
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=resort_tax#registration-types) representing the local jurisdiction.
|
|
1579
|
+
*/
|
|
1580
|
+
jurisdiction: string;
|
|
1581
|
+
}
|
|
1532
1582
|
interface StateSalesTax {
|
|
1533
1583
|
/**
|
|
1534
1584
|
* Elections for the state sales tax registration.
|
|
1535
1585
|
*/
|
|
1536
1586
|
elections?: Array<StateSalesTax.Election>;
|
|
1537
1587
|
}
|
|
1538
|
-
|
|
1588
|
+
interface TourismTax {
|
|
1589
|
+
/**
|
|
1590
|
+
* A [jurisdiction code](https://docs.stripe.com/tax/registering?type=tourism_tax#registration-types) representing the local jurisdiction.
|
|
1591
|
+
*/
|
|
1592
|
+
jurisdiction: string;
|
|
1593
|
+
}
|
|
1594
|
+
type Type = 'admissions_tax' | 'attendance_tax' | 'entertainment_tax' | 'gross_receipts_tax' | 'hospitality_tax' | 'local_amusement_tax' | 'local_lease_tax' | 'luxury_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'resort_tax' | 'state_communications_tax' | 'state_retail_delivery_fee' | 'state_sales_tax' | 'tourism_tax' | OtherString;
|
|
1539
1595
|
namespace StateSalesTax {
|
|
1540
1596
|
interface Election {
|
|
1541
1597
|
/**
|
|
@@ -2878,6 +2934,26 @@ export declare namespace Tax {
|
|
|
2878
2934
|
type: 'simplified';
|
|
2879
2935
|
}
|
|
2880
2936
|
interface Us {
|
|
2937
|
+
/**
|
|
2938
|
+
* Options for the admission tax registration.
|
|
2939
|
+
*/
|
|
2940
|
+
admissions_tax?: Us.AdmissionsTax;
|
|
2941
|
+
/**
|
|
2942
|
+
* Options for the attendance tax registration.
|
|
2943
|
+
*/
|
|
2944
|
+
attendance_tax?: Us.AttendanceTax;
|
|
2945
|
+
/**
|
|
2946
|
+
* Options for the entertainment tax registration.
|
|
2947
|
+
*/
|
|
2948
|
+
entertainment_tax?: Us.EntertainmentTax;
|
|
2949
|
+
/**
|
|
2950
|
+
* Options for the gross receipts tax registration.
|
|
2951
|
+
*/
|
|
2952
|
+
gross_receipts_tax?: Us.GrossReceiptsTax;
|
|
2953
|
+
/**
|
|
2954
|
+
* Options for the hospitality tax registration.
|
|
2955
|
+
*/
|
|
2956
|
+
hospitality_tax?: Us.HospitalityTax;
|
|
2881
2957
|
/**
|
|
2882
2958
|
* Options for the local amusement tax registration.
|
|
2883
2959
|
*/
|
|
@@ -2886,6 +2962,10 @@ export declare namespace Tax {
|
|
|
2886
2962
|
* Options for the local lease tax registration.
|
|
2887
2963
|
*/
|
|
2888
2964
|
local_lease_tax?: Us.LocalLeaseTax;
|
|
2965
|
+
/**
|
|
2966
|
+
* Options for the luxury tax registration.
|
|
2967
|
+
*/
|
|
2968
|
+
luxury_tax?: Us.LuxuryTax;
|
|
2889
2969
|
/**
|
|
2890
2970
|
* Options for the mass transit parking tax registration.
|
|
2891
2971
|
*/
|
|
@@ -2894,6 +2974,10 @@ export declare namespace Tax {
|
|
|
2894
2974
|
* Options for the parking tax registration.
|
|
2895
2975
|
*/
|
|
2896
2976
|
parking_tax?: Us.ParkingTax;
|
|
2977
|
+
/**
|
|
2978
|
+
* Options for the resort tax registration.
|
|
2979
|
+
*/
|
|
2980
|
+
resort_tax?: Us.ResortTax;
|
|
2897
2981
|
/**
|
|
2898
2982
|
* Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2899
2983
|
*/
|
|
@@ -2902,6 +2986,10 @@ export declare namespace Tax {
|
|
|
2902
2986
|
* Options for the state sales tax registration.
|
|
2903
2987
|
*/
|
|
2904
2988
|
state_sales_tax?: Us.StateSalesTax;
|
|
2989
|
+
/**
|
|
2990
|
+
* Options for the tourism tax registration.
|
|
2991
|
+
*/
|
|
2992
|
+
tourism_tax?: Us.TourismTax;
|
|
2905
2993
|
/**
|
|
2906
2994
|
* Type of registration to be created in the US.
|
|
2907
2995
|
*/
|
|
@@ -3829,6 +3917,36 @@ export declare namespace Tax {
|
|
|
3829
3917
|
}
|
|
3830
3918
|
}
|
|
3831
3919
|
namespace Us {
|
|
3920
|
+
interface AdmissionsTax {
|
|
3921
|
+
/**
|
|
3922
|
+
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types).
|
|
3923
|
+
*/
|
|
3924
|
+
jurisdiction: string;
|
|
3925
|
+
}
|
|
3926
|
+
interface AttendanceTax {
|
|
3927
|
+
/**
|
|
3928
|
+
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types).
|
|
3929
|
+
*/
|
|
3930
|
+
jurisdiction: string;
|
|
3931
|
+
}
|
|
3932
|
+
interface EntertainmentTax {
|
|
3933
|
+
/**
|
|
3934
|
+
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types).
|
|
3935
|
+
*/
|
|
3936
|
+
jurisdiction: string;
|
|
3937
|
+
}
|
|
3938
|
+
interface GrossReceiptsTax {
|
|
3939
|
+
/**
|
|
3940
|
+
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types).
|
|
3941
|
+
*/
|
|
3942
|
+
jurisdiction: string;
|
|
3943
|
+
}
|
|
3944
|
+
interface HospitalityTax {
|
|
3945
|
+
/**
|
|
3946
|
+
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types).
|
|
3947
|
+
*/
|
|
3948
|
+
jurisdiction: string;
|
|
3949
|
+
}
|
|
3832
3950
|
interface LocalAmusementTax {
|
|
3833
3951
|
/**
|
|
3834
3952
|
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=amusement_tax#registration-types).
|
|
@@ -3841,6 +3959,12 @@ export declare namespace Tax {
|
|
|
3841
3959
|
*/
|
|
3842
3960
|
jurisdiction: string;
|
|
3843
3961
|
}
|
|
3962
|
+
interface LuxuryTax {
|
|
3963
|
+
/**
|
|
3964
|
+
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types).
|
|
3965
|
+
*/
|
|
3966
|
+
jurisdiction: string;
|
|
3967
|
+
}
|
|
3844
3968
|
interface MassTransitParkingTax {
|
|
3845
3969
|
/**
|
|
3846
3970
|
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=mass_transit_parking_tax#registration-types).
|
|
@@ -3853,13 +3977,25 @@ export declare namespace Tax {
|
|
|
3853
3977
|
*/
|
|
3854
3978
|
jurisdiction: string;
|
|
3855
3979
|
}
|
|
3980
|
+
interface ResortTax {
|
|
3981
|
+
/**
|
|
3982
|
+
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=resort_tax#registration-types).
|
|
3983
|
+
*/
|
|
3984
|
+
jurisdiction: string;
|
|
3985
|
+
}
|
|
3856
3986
|
interface StateSalesTax {
|
|
3857
3987
|
/**
|
|
3858
3988
|
* Elections for the state sales tax registration.
|
|
3859
3989
|
*/
|
|
3860
3990
|
elections: Array<StateSalesTax.Election>;
|
|
3861
3991
|
}
|
|
3862
|
-
|
|
3992
|
+
interface TourismTax {
|
|
3993
|
+
/**
|
|
3994
|
+
* A jurisdiction code representing the [local jurisdiction](https://docs.stripe.com/tax/registering?type=tourism_tax#registration-types).
|
|
3995
|
+
*/
|
|
3996
|
+
jurisdiction: string;
|
|
3997
|
+
}
|
|
3998
|
+
type Type = 'admissions_tax' | 'attendance_tax' | 'entertainment_tax' | 'gross_receipts_tax' | 'hospitality_tax' | 'local_amusement_tax' | 'local_lease_tax' | 'luxury_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'resort_tax' | 'state_communications_tax' | 'state_retail_delivery_fee' | 'state_sales_tax' | 'tourism_tax' | OtherString;
|
|
3863
3999
|
namespace StateSalesTax {
|
|
3864
4000
|
interface Election {
|
|
3865
4001
|
/**
|
|
@@ -203,7 +203,7 @@ export declare namespace Transaction {
|
|
|
203
203
|
*/
|
|
204
204
|
state: string | null;
|
|
205
205
|
}
|
|
206
|
-
type Sourcing = 'destination' | 'origin' | OtherString;
|
|
206
|
+
type Sourcing = 'destination' | 'origin' | 'performance' | OtherString;
|
|
207
207
|
interface TaxRateDetails {
|
|
208
208
|
/**
|
|
209
209
|
* A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)".
|
|
@@ -223,7 +223,7 @@ export declare namespace Transaction {
|
|
|
223
223
|
type Level = 'city' | 'country' | 'county' | 'district' | 'state' | OtherString;
|
|
224
224
|
}
|
|
225
225
|
namespace TaxRateDetails {
|
|
226
|
-
type TaxType = 'amusement_tax' | 'communications_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'vat' | OtherString;
|
|
226
|
+
type TaxType = 'admissions_tax' | 'amusement_tax' | 'attendance_tax' | 'communications_tax' | 'entertainment_tax' | 'gross_receipts_tax' | 'gst' | 'hospitality_tax' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'luxury_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'pst' | 'qst' | 'resort_tax' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'tourism_tax' | 'vat' | OtherString;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { Stripe } from '../../stripe.core.js';
|
|
2
2
|
import { Tax as TaxNamespace0, Association, AssociationResource } from './Associations.js';
|
|
3
3
|
import { Tax as TaxNamespace1, Calculation, CalculationResource } from './Calculations.js';
|
|
4
|
-
import { Tax as TaxNamespace2,
|
|
5
|
-
import { Tax as TaxNamespace3,
|
|
6
|
-
import { Tax as TaxNamespace4,
|
|
4
|
+
import { Tax as TaxNamespace2, Form, FormResource } from './Forms.js';
|
|
5
|
+
import { Tax as TaxNamespace3, Location, LocationResource } from './Locations.js';
|
|
6
|
+
import { Tax as TaxNamespace4, Registration, RegistrationResource } from './Registrations.js';
|
|
7
|
+
import { Tax as TaxNamespace5, Settings, SettingResource } from './Settings.js';
|
|
8
|
+
import { Tax as TaxNamespace6, Transaction, TransactionResource } from './Transactions.js';
|
|
7
9
|
import { CalculationLineItem } from './CalculationLineItems.js';
|
|
8
10
|
import { TransactionLineItem } from './TransactionLineItems.js';
|
|
9
11
|
export { Association } from './Associations.js';
|
|
10
12
|
export { Calculation } from './Calculations.js';
|
|
13
|
+
export { Form } from './Forms.js';
|
|
14
|
+
export { Location } from './Locations.js';
|
|
11
15
|
export { Registration } from './Registrations.js';
|
|
12
16
|
export { Settings } from './Settings.js';
|
|
13
17
|
export { Transaction } from './Transactions.js';
|
|
@@ -17,6 +21,8 @@ export declare class Tax {
|
|
|
17
21
|
private readonly stripe;
|
|
18
22
|
associations: AssociationResource;
|
|
19
23
|
calculations: CalculationResource;
|
|
24
|
+
forms: FormResource;
|
|
25
|
+
locations: LocationResource;
|
|
20
26
|
registrations: RegistrationResource;
|
|
21
27
|
settings: SettingResource;
|
|
22
28
|
transactions: TransactionResource;
|
|
@@ -29,18 +35,26 @@ export declare namespace Tax {
|
|
|
29
35
|
export import CalculationCreateParams = TaxNamespace1.CalculationCreateParams;
|
|
30
36
|
export import CalculationListLineItemsParams = TaxNamespace1.CalculationListLineItemsParams;
|
|
31
37
|
export { Calculation, CalculationResource };
|
|
32
|
-
export import
|
|
33
|
-
export import
|
|
34
|
-
export import
|
|
35
|
-
export
|
|
38
|
+
export import FormListParams = TaxNamespace2.FormListParams;
|
|
39
|
+
export import FormRetrieveParams = TaxNamespace2.FormRetrieveParams;
|
|
40
|
+
export import FormPdfParams = TaxNamespace2.FormPdfParams;
|
|
41
|
+
export { Form, FormResource };
|
|
42
|
+
export import LocationListParams = TaxNamespace3.LocationListParams;
|
|
43
|
+
export import LocationCreateParams = TaxNamespace3.LocationCreateParams;
|
|
44
|
+
export import LocationRetrieveParams = TaxNamespace3.LocationRetrieveParams;
|
|
45
|
+
export { Location, LocationResource };
|
|
46
|
+
export import RegistrationListParams = TaxNamespace4.RegistrationListParams;
|
|
47
|
+
export import RegistrationCreateParams = TaxNamespace4.RegistrationCreateParams;
|
|
48
|
+
export import RegistrationRetrieveParams = TaxNamespace4.RegistrationRetrieveParams;
|
|
49
|
+
export import RegistrationUpdateParams = TaxNamespace4.RegistrationUpdateParams;
|
|
36
50
|
export { Registration, RegistrationResource };
|
|
37
|
-
export import SettingsRetrieveParams =
|
|
38
|
-
export import SettingsUpdateParams =
|
|
51
|
+
export import SettingsRetrieveParams = TaxNamespace5.SettingsRetrieveParams;
|
|
52
|
+
export import SettingsUpdateParams = TaxNamespace5.SettingsUpdateParams;
|
|
39
53
|
export { Settings, SettingResource };
|
|
40
|
-
export import TransactionRetrieveParams =
|
|
41
|
-
export import TransactionCreateFromCalculationParams =
|
|
42
|
-
export import TransactionCreateReversalParams =
|
|
43
|
-
export import TransactionListLineItemsParams =
|
|
54
|
+
export import TransactionRetrieveParams = TaxNamespace6.TransactionRetrieveParams;
|
|
55
|
+
export import TransactionCreateFromCalculationParams = TaxNamespace6.TransactionCreateFromCalculationParams;
|
|
56
|
+
export import TransactionCreateReversalParams = TaxNamespace6.TransactionCreateReversalParams;
|
|
57
|
+
export import TransactionListLineItemsParams = TaxNamespace6.TransactionListLineItemsParams;
|
|
44
58
|
export { Transaction, TransactionResource };
|
|
45
59
|
export { CalculationLineItem };
|
|
46
60
|
export { TransactionLineItem };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec
|
|
2
2
|
import { AssociationResource, } from './Associations.js';
|
|
3
3
|
import { CalculationResource, } from './Calculations.js';
|
|
4
|
+
import { FormResource } from './Forms.js';
|
|
5
|
+
import { LocationResource } from './Locations.js';
|
|
4
6
|
import { RegistrationResource, } from './Registrations.js';
|
|
5
7
|
import { SettingResource } from './Settings.js';
|
|
6
8
|
import { TransactionResource, } from './Transactions.js';
|
|
@@ -9,6 +11,8 @@ export class Tax {
|
|
|
9
11
|
this.stripe = stripe;
|
|
10
12
|
this.associations = new AssociationResource(stripe);
|
|
11
13
|
this.calculations = new CalculationResource(stripe);
|
|
14
|
+
this.forms = new FormResource(stripe);
|
|
15
|
+
this.locations = new LocationResource(stripe);
|
|
12
16
|
this.registrations = new RegistrationResource(stripe);
|
|
13
17
|
this.settings = new SettingResource(stripe);
|
|
14
18
|
this.transactions = new TransactionResource(stripe);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Tax/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAiC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9E,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Tax/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA6B,YAAY,EAAC,MAAM,YAAY,CAAC;AACpE,OAAO,EAAiC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAiC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9E,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAc3B,MAAM,OAAO,GAAG;IASd,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,KAAK,GAAG,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
|
-
import { PaginationParams } from '../shared.js';
|
|
2
|
+
import { PaginationParams, OtherString } from '../shared.js';
|
|
3
3
|
import { RequestOptions, ApiListPromise, Response } from '../lib.js';
|
|
4
4
|
export declare class TaxCodeResource extends StripeResource {
|
|
5
5
|
/**
|
|
@@ -28,6 +28,21 @@ export interface TaxCode {
|
|
|
28
28
|
* A short name for the tax code.
|
|
29
29
|
*/
|
|
30
30
|
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* An object that describes more information about the tax location required for this tax code. Some [tax codes](https://docs.stripe.com/tax/tax-for-tickets/integration-guide#types-of-products) require a tax location of type `performance` to calculate tax correctly.
|
|
33
|
+
*/
|
|
34
|
+
requirements?: TaxCode.Requirements | null;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace TaxCode {
|
|
37
|
+
interface Requirements {
|
|
38
|
+
/**
|
|
39
|
+
* Describes whether a performance location is required for a successful tax calculation with a tax code.
|
|
40
|
+
*/
|
|
41
|
+
performance_location?: Requirements.PerformanceLocation;
|
|
42
|
+
}
|
|
43
|
+
namespace Requirements {
|
|
44
|
+
type PerformanceLocation = 'optional' | 'required' | OtherString;
|
|
45
|
+
}
|
|
31
46
|
}
|
|
32
47
|
export interface TaxCodeRetrieveParams {
|
|
33
48
|
/**
|
|
@@ -53,6 +53,7 @@ export interface Configuration {
|
|
|
53
53
|
*/
|
|
54
54
|
name: string | null;
|
|
55
55
|
offline?: Configuration.Offline;
|
|
56
|
+
reader_security?: Configuration.ReaderSecurity;
|
|
56
57
|
reboot_window?: Configuration.RebootWindow;
|
|
57
58
|
stripe_s700?: Configuration.StripeS700;
|
|
58
59
|
stripe_s710?: Configuration.StripeS710;
|
|
@@ -103,6 +104,12 @@ export declare namespace Configuration {
|
|
|
103
104
|
*/
|
|
104
105
|
enabled: boolean | null;
|
|
105
106
|
}
|
|
107
|
+
interface ReaderSecurity {
|
|
108
|
+
/**
|
|
109
|
+
* Passcode used to access a reader's admin menu.
|
|
110
|
+
*/
|
|
111
|
+
admin_menu_passcode: string;
|
|
112
|
+
}
|
|
106
113
|
interface RebootWindow {
|
|
107
114
|
/**
|
|
108
115
|
* Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
@@ -563,6 +570,10 @@ export declare namespace Terminal {
|
|
|
563
570
|
* Configurations for collecting transactions offline.
|
|
564
571
|
*/
|
|
565
572
|
offline?: Emptyable<ConfigurationCreateParams.Offline>;
|
|
573
|
+
/**
|
|
574
|
+
* Configurations for reader security settings.
|
|
575
|
+
*/
|
|
576
|
+
reader_security?: Emptyable<ConfigurationCreateParams.ReaderSecurity>;
|
|
566
577
|
/**
|
|
567
578
|
* Reboot time settings for readers. that support customized reboot time configuration.
|
|
568
579
|
*/
|
|
@@ -629,6 +640,12 @@ export declare namespace Terminal {
|
|
|
629
640
|
*/
|
|
630
641
|
enabled: boolean;
|
|
631
642
|
}
|
|
643
|
+
interface ReaderSecurity {
|
|
644
|
+
/**
|
|
645
|
+
* Passcode used to access a reader's admin menu.
|
|
646
|
+
*/
|
|
647
|
+
admin_menu_passcode?: Emptyable<string>;
|
|
648
|
+
}
|
|
632
649
|
interface RebootWindow {
|
|
633
650
|
/**
|
|
634
651
|
* Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
@@ -1170,6 +1187,10 @@ export declare namespace Terminal {
|
|
|
1170
1187
|
* Configurations for collecting transactions offline.
|
|
1171
1188
|
*/
|
|
1172
1189
|
offline?: Emptyable<ConfigurationUpdateParams.Offline>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Configurations for reader security settings.
|
|
1192
|
+
*/
|
|
1193
|
+
reader_security?: Emptyable<ConfigurationUpdateParams.ReaderSecurity>;
|
|
1173
1194
|
/**
|
|
1174
1195
|
* Reboot time settings for readers. that support customized reboot time configuration.
|
|
1175
1196
|
*/
|
|
@@ -1236,6 +1257,12 @@ export declare namespace Terminal {
|
|
|
1236
1257
|
*/
|
|
1237
1258
|
enabled: boolean;
|
|
1238
1259
|
}
|
|
1260
|
+
interface ReaderSecurity {
|
|
1261
|
+
/**
|
|
1262
|
+
* Passcode used to access a reader's admin menu.
|
|
1263
|
+
*/
|
|
1264
|
+
admin_menu_passcode?: Emptyable<string>;
|
|
1265
|
+
}
|
|
1239
1266
|
interface RebootWindow {
|
|
1240
1267
|
/**
|
|
1241
1268
|
* Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
2
|
+
import { RequestOptions, Response } from '../../lib.js';
|
|
3
|
+
export declare class ReaderCollectedDatumResource extends StripeResource {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve data collected using Reader hardware.
|
|
6
|
+
*/
|
|
7
|
+
retrieve(id: string, params?: Terminal.ReaderCollectedDataRetrieveParams, options?: RequestOptions): Promise<Response<ReaderCollectedData>>;
|
|
8
|
+
}
|
|
9
|
+
export interface ReaderCollectedData {
|
|
10
|
+
/**
|
|
11
|
+
* Unique identifier for the object.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
16
|
+
*/
|
|
17
|
+
object: 'terminal.reader_collected_data';
|
|
18
|
+
/**
|
|
19
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
20
|
+
*/
|
|
21
|
+
created: number;
|
|
22
|
+
/**
|
|
23
|
+
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
24
|
+
*/
|
|
25
|
+
livemode: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The magstripe data collected by the reader.
|
|
28
|
+
*/
|
|
29
|
+
magstripe: ReaderCollectedData.Magstripe | null;
|
|
30
|
+
/**
|
|
31
|
+
* The type of data collected by the reader.
|
|
32
|
+
*/
|
|
33
|
+
type: 'magstripe';
|
|
34
|
+
}
|
|
35
|
+
export declare namespace ReaderCollectedData {
|
|
36
|
+
interface Magstripe {
|
|
37
|
+
/**
|
|
38
|
+
* The raw magstripe data collected by the reader.
|
|
39
|
+
*/
|
|
40
|
+
data: string | null;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export declare namespace Terminal {
|
|
44
|
+
interface ReaderCollectedDataRetrieveParams {
|
|
45
|
+
/**
|
|
46
|
+
* Specifies which fields in the response should be expanded.
|
|
47
|
+
*/
|
|
48
|
+
expand?: Array<string>;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
export class ReaderCollectedDatumResource extends StripeResource {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve data collected using Reader hardware.
|
|
6
|
+
*/
|
|
7
|
+
retrieve(id, params, options) {
|
|
8
|
+
return this._makeRequest('GET', `/v1/terminal/reader_collected_data/${encodeURIComponent(id)}`, params, options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ReaderCollectedData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReaderCollectedData.js","sourceRoot":"","sources":["../../../src/resources/Terminal/ReaderCollectedData.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAGvD,MAAM,OAAO,4BAA6B,SAAQ,cAAc;IAC9D;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAmD,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC9D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|