stripe 22.2.0-beta.3 → 22.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +84 -1730
- package/OPENAPI_VERSION +1 -1
- package/README.md +65 -57
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -50
- package/cjs/Error.js +1 -125
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -0
- package/cjs/RequestSender.js +10 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/lib.d.ts +48 -3
- package/cjs/net/FetchHttpClient.js.map +1 -1
- package/cjs/net/HttpClient.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
- package/cjs/platform/NodePlatformFunctions.js +17 -0
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +13 -0
- package/cjs/platform/PlatformFunctions.js +21 -0
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +0 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +45 -819
- package/cjs/resources/Accounts.js +0 -15
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/index.d.ts +4 -4
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceSettings.d.ts +86 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/index.d.ts +24 -27
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/index.d.ts +5 -5
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +0 -4
- package/cjs/resources/Charges.d.ts +92 -3064
- package/cjs/resources/Checkout/Sessions.d.ts +51 -414
- package/cjs/resources/Checkout/index.d.ts +6 -6
- package/cjs/resources/Climate/index.d.ts +9 -9
- package/cjs/resources/ConfirmationTokens.d.ts +7 -67
- package/cjs/resources/Coupons.d.ts +0 -47
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -7
- package/cjs/resources/CreditNotes.js +0 -14
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +1 -7
- package/cjs/resources/Customers.js +0 -15
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +4 -4
- package/cjs/resources/Disputes.d.ts +0 -29
- package/cjs/resources/Entitlements/index.d.ts +6 -6
- package/cjs/resources/Events.d.ts +2 -547
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/cjs/resources/FinancialConnections/index.d.ts +13 -28
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/index.d.ts +3 -3
- package/cjs/resources/Identity/index.d.ts +8 -8
- package/cjs/resources/InvoiceItems.d.ts +28 -85
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +26 -1348
- package/cjs/resources/Invoices.js +0 -70
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
- package/cjs/resources/Issuing/Disputes.d.ts +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/cjs/resources/Issuing/Transactions.d.ts +0 -9
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +35 -60
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +4 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/OAuth.d.ts +7 -8
- package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
- package/cjs/resources/PaymentIntents.d.ts +6510 -17236
- package/cjs/resources/PaymentIntents.js +3 -28
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +88 -20
- package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/cjs/resources/PaymentMethods.d.ts +22 -152
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +23 -92
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Prices.d.ts +0 -52
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -28
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +160 -2369
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/cjs/resources/Radar/index.d.ts +12 -12
- package/cjs/resources/Refunds.d.ts +3 -11
- package/cjs/resources/Reporting/index.d.ts +5 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +0 -16
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +3 -14
- package/cjs/resources/Reserve/index.js +2 -10
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +3 -25
- package/cjs/resources/SetupIntents.d.ts +77 -336
- package/cjs/resources/Sigma/index.d.ts +2 -2
- package/cjs/resources/Sources.d.ts +1 -16
- package/cjs/resources/SubscriptionItems.d.ts +4 -165
- package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
- package/cjs/resources/SubscriptionSchedules.js +0 -48
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +32 -490
- package/cjs/resources/Subscriptions.js +2 -31
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/cjs/resources/Tax/Calculations.d.ts +3 -7
- package/cjs/resources/Tax/Registrations.d.ts +2 -138
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +17 -31
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +0 -15
- package/cjs/resources/Terminal/Configurations.d.ts +108 -27
- package/cjs/resources/Terminal/Readers.d.ts +143 -19
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +25 -30
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +5 -8
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/index.d.ts +33 -33
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/cjs/resources/V2/Core/AccountTokens.js +5 -1
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
- package/cjs/resources/V2/Core/Accounts.js +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/cjs/resources/V2/Core/Events.d.ts +8 -1126
- package/cjs/resources/V2/Core/Events.js +2 -1
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +19 -29
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -27
- package/cjs/resources/V2/index.js +0 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +29 -69
- package/cjs/stripe.core.js +44 -61
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -2
- package/cjs/utils.js +1 -16
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +0 -50
- package/esm/Error.js +0 -109
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -0
- package/esm/RequestSender.js +11 -3
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/lib.d.ts +48 -3
- package/esm/net/FetchHttpClient.js.map +1 -1
- package/esm/net/HttpClient.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +6 -0
- package/esm/platform/NodePlatformFunctions.js +17 -0
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +13 -0
- package/esm/platform/PlatformFunctions.js +21 -0
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +0 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +45 -819
- package/esm/resources/Accounts.js +0 -15
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/index.d.ts +4 -4
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceSettings.d.ts +86 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/index.d.ts +24 -27
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/index.d.ts +5 -5
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +0 -4
- package/esm/resources/Charges.d.ts +92 -3064
- package/esm/resources/Checkout/Sessions.d.ts +51 -414
- package/esm/resources/Checkout/index.d.ts +6 -6
- package/esm/resources/Climate/index.d.ts +9 -9
- package/esm/resources/ConfirmationTokens.d.ts +7 -67
- package/esm/resources/Coupons.d.ts +0 -47
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -7
- package/esm/resources/CreditNotes.js +0 -14
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +1 -7
- package/esm/resources/Customers.js +0 -15
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +4 -4
- package/esm/resources/Disputes.d.ts +0 -29
- package/esm/resources/Entitlements/index.d.ts +6 -6
- package/esm/resources/Events.d.ts +2 -547
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/esm/resources/FinancialConnections/index.d.ts +13 -28
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/index.d.ts +3 -3
- package/esm/resources/Identity/index.d.ts +8 -8
- package/esm/resources/InvoiceItems.d.ts +28 -85
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +26 -1348
- package/esm/resources/Invoices.js +0 -70
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +1 -2
- package/esm/resources/Issuing/Disputes.d.ts +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/esm/resources/Issuing/Transactions.d.ts +0 -9
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +35 -60
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +4 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/OAuth.d.ts +7 -8
- package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
- package/esm/resources/PaymentIntents.d.ts +6510 -17236
- package/esm/resources/PaymentIntents.js +3 -28
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +88 -20
- package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/esm/resources/PaymentMethods.d.ts +22 -152
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +23 -92
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Prices.d.ts +0 -52
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -28
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +160 -2369
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/esm/resources/Radar/index.d.ts +12 -12
- package/esm/resources/Refunds.d.ts +3 -11
- package/esm/resources/Reporting/index.d.ts +5 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +0 -16
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +3 -14
- package/esm/resources/Reserve/index.js +2 -10
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +3 -25
- package/esm/resources/SetupIntents.d.ts +77 -336
- package/esm/resources/Sigma/index.d.ts +2 -2
- package/esm/resources/Sources.d.ts +1 -16
- package/esm/resources/SubscriptionItems.d.ts +4 -165
- package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
- package/esm/resources/SubscriptionSchedules.js +0 -48
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +32 -490
- package/esm/resources/Subscriptions.js +2 -31
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/esm/resources/Tax/Calculations.d.ts +3 -7
- package/esm/resources/Tax/Registrations.d.ts +2 -138
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +17 -31
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +0 -15
- package/esm/resources/Terminal/Configurations.d.ts +108 -27
- package/esm/resources/Terminal/Readers.d.ts +143 -19
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +25 -30
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +5 -8
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/index.d.ts +33 -33
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/esm/resources/V2/Core/AccountTokens.js +5 -1
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
- package/esm/resources/V2/Core/Accounts.js +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/esm/resources/V2/Core/Events.d.ts +8 -1126
- package/esm/resources/V2/Core/Events.js +2 -1
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +19 -29
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -27
- package/esm/resources/V2/index.js +0 -14
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +29 -69
- package/esm/stripe.core.js +15 -32
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +29 -70
- package/esm/stripe.esm.node.js +15 -32
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -2
- package/esm/utils.js +0 -13
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -22
- package/cjs/StripeEventNotificationHandler.js +0 -147
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
- package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -85
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4693
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -230
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -12
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/cjs/resources/V2/MoneyManagement/index.js +0 -39
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/StripeEventNotificationHandler.d.ts +0 -22
- package/esm/StripeEventNotificationHandler.js +0 -143
- package/esm/StripeEventNotificationHandler.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/esm/resources/FinancialConnections/Authorizations.js +0 -11
- package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -85
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4693
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -230
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -12
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/esm/resources/V2/MoneyManagement/index.js +0 -35
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/TestHelpers/index.js +0 -9
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { StripeResource } from '../StripeResource.js';
|
|
2
|
-
import { MetadataParam, PaginationParams, Metadata } from '../shared.js';
|
|
3
|
-
import { RequestOptions, ApiListPromise, Response } from '../lib.js';
|
|
4
|
-
export declare class AccountNoticeResource extends StripeResource {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.
|
|
7
|
-
*/
|
|
8
|
-
list(params?: AccountNoticeListParams, options?: RequestOptions): ApiListPromise<AccountNotice>;
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves an AccountNotice object.
|
|
11
|
-
*/
|
|
12
|
-
retrieve(id: string, params?: AccountNoticeRetrieveParams, options?: RequestOptions): Promise<Response<AccountNotice>>;
|
|
13
|
-
/**
|
|
14
|
-
* Updates an AccountNotice object.
|
|
15
|
-
*/
|
|
16
|
-
update(id: string, params: AccountNoticeUpdateParams, options?: RequestOptions): Promise<Response<AccountNotice>>;
|
|
17
|
-
}
|
|
18
|
-
export interface AccountNotice {
|
|
19
|
-
/**
|
|
20
|
-
* Unique identifier for the object.
|
|
21
|
-
*/
|
|
22
|
-
id: string;
|
|
23
|
-
/**
|
|
24
|
-
* String representing the object's type. Objects of the same type share the same value.
|
|
25
|
-
*/
|
|
26
|
-
object: 'account_notice';
|
|
27
|
-
/**
|
|
28
|
-
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
29
|
-
*/
|
|
30
|
-
created: number;
|
|
31
|
-
/**
|
|
32
|
-
* When present, the deadline for sending the notice to meet the relevant regulations.
|
|
33
|
-
*/
|
|
34
|
-
deadline: number | null;
|
|
35
|
-
/**
|
|
36
|
-
* Information about the email when sent.
|
|
37
|
-
*/
|
|
38
|
-
email: AccountNotice.Email | null;
|
|
39
|
-
/**
|
|
40
|
-
* Information about objects related to the notice.
|
|
41
|
-
*/
|
|
42
|
-
linked_objects: AccountNotice.LinkedObjects | null;
|
|
43
|
-
/**
|
|
44
|
-
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
45
|
-
*/
|
|
46
|
-
livemode: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
49
|
-
*/
|
|
50
|
-
metadata: Metadata | null;
|
|
51
|
-
/**
|
|
52
|
-
* Reason the notice is being sent. The reason determines what copy the notice must contain. See the [regulated customer notices](https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices) guide. All reasons might not apply to your integration, and Stripe might add new reasons in the future, so we recommend an internal warning when you receive an unknown reason.
|
|
53
|
-
*/
|
|
54
|
-
reason: AccountNotice.Reason;
|
|
55
|
-
/**
|
|
56
|
-
* Date when the notice was sent. When absent, you must send the notice, update the content of the email and date when it was sent.
|
|
57
|
-
*/
|
|
58
|
-
sent_at: number | null;
|
|
59
|
-
}
|
|
60
|
-
export declare namespace AccountNotice {
|
|
61
|
-
interface Email {
|
|
62
|
-
/**
|
|
63
|
-
* Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
|
|
64
|
-
*/
|
|
65
|
-
plain_text: string;
|
|
66
|
-
/**
|
|
67
|
-
* Email address of the recipient.
|
|
68
|
-
*/
|
|
69
|
-
recipient: string;
|
|
70
|
-
/**
|
|
71
|
-
* Subject of the email.
|
|
72
|
-
*/
|
|
73
|
-
subject: string;
|
|
74
|
-
}
|
|
75
|
-
interface LinkedObjects {
|
|
76
|
-
/**
|
|
77
|
-
* Associated [Capability](https://docs.stripe.com/api/capabilities)
|
|
78
|
-
*/
|
|
79
|
-
capability: string | null;
|
|
80
|
-
/**
|
|
81
|
-
* Associated [Credit Underwriting Record](https://docs.stripe.com/api/issuing/credit_underwriting_record)
|
|
82
|
-
*/
|
|
83
|
-
issuing_credit_underwriting_record?: string | null;
|
|
84
|
-
/**
|
|
85
|
-
* Associated [Issuing Dispute](https://docs.stripe.com/api/issuing/disputes)
|
|
86
|
-
*/
|
|
87
|
-
issuing_dispute: string | null;
|
|
88
|
-
}
|
|
89
|
-
type Reason = 'issuing.account_closed_for_inactivity' | 'issuing.account_closed_for_not_providing_business_model_clarification' | 'issuing.account_closed_for_not_providing_url_clarification' | 'issuing.account_closed_for_not_providing_use_case_clarification' | 'issuing.account_closed_for_terms_of_service_violation' | 'issuing.application_rejected_for_failure_to_verify' | 'issuing.credit_application_rejected' | 'issuing.credit_increase_application_rejected' | 'issuing.credit_limit_decreased' | 'issuing.credit_line_closed' | 'issuing.dispute_lost' | 'issuing.dispute_submitted' | 'issuing.dispute_won';
|
|
90
|
-
}
|
|
91
|
-
export interface AccountNoticeRetrieveParams {
|
|
92
|
-
/**
|
|
93
|
-
* Specifies which fields in the response should be expanded.
|
|
94
|
-
*/
|
|
95
|
-
expand?: Array<string>;
|
|
96
|
-
}
|
|
97
|
-
export interface AccountNoticeUpdateParams {
|
|
98
|
-
/**
|
|
99
|
-
* Information about the email you sent.
|
|
100
|
-
*/
|
|
101
|
-
email: AccountNoticeUpdateParams.Email;
|
|
102
|
-
/**
|
|
103
|
-
* Date when you sent the notice.
|
|
104
|
-
*/
|
|
105
|
-
sent_at: number;
|
|
106
|
-
/**
|
|
107
|
-
* Specifies which fields in the response should be expanded.
|
|
108
|
-
*/
|
|
109
|
-
expand?: Array<string>;
|
|
110
|
-
/**
|
|
111
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
112
|
-
*/
|
|
113
|
-
metadata?: MetadataParam;
|
|
114
|
-
}
|
|
115
|
-
export declare namespace AccountNoticeUpdateParams {
|
|
116
|
-
interface Email {
|
|
117
|
-
/**
|
|
118
|
-
* Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
|
|
119
|
-
*/
|
|
120
|
-
plain_text: string;
|
|
121
|
-
/**
|
|
122
|
-
* Email address of the recipient.
|
|
123
|
-
*/
|
|
124
|
-
recipient: string;
|
|
125
|
-
/**
|
|
126
|
-
* Subject of the email.
|
|
127
|
-
*/
|
|
128
|
-
subject: string;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
export interface AccountNoticeListParams extends PaginationParams {
|
|
132
|
-
/**
|
|
133
|
-
* Specifies which fields in the response should be expanded.
|
|
134
|
-
*/
|
|
135
|
-
expand?: Array<string>;
|
|
136
|
-
/**
|
|
137
|
-
* Set to false to only return unsent AccountNotices.
|
|
138
|
-
*/
|
|
139
|
-
sent?: boolean;
|
|
140
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AccountNoticeResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../StripeResource.js");
|
|
6
|
-
class AccountNoticeResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.
|
|
9
|
-
*/
|
|
10
|
-
list(params, options) {
|
|
11
|
-
return this._makeRequest('GET', '/v1/account_notices', params, options, {
|
|
12
|
-
methodType: 'list',
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Retrieves an AccountNotice object.
|
|
17
|
-
*/
|
|
18
|
-
retrieve(id, params, options) {
|
|
19
|
-
return this._makeRequest('GET', `/v1/account_notices/${id}`, params, options);
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Updates an AccountNotice object.
|
|
23
|
-
*/
|
|
24
|
-
update(id, params, options) {
|
|
25
|
-
return this._makeRequest('POST', `/v1/account_notices/${id}`, params, options);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.AccountNoticeResource = AccountNoticeResource;
|
|
29
|
-
//# sourceMappingURL=AccountNotices.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountNotices.js","sourceRoot":"","sources":["../../src/resources/AccountNotices.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAIpD,MAAa,qBAAsB,SAAQ,kCAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE;YACtE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,uBAAuB,EAAE,EAAE,EAC3B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,EAAE,EAAE,EAC3B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA1CD,sDA0CC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
-
import { MeterUsageRow } from './MeterUsageRows.js';
|
|
3
|
-
import { RequestOptions, Response, ApiList } from '../../../lib.js';
|
|
4
|
-
export declare class MeterUsageResource extends StripeResource {
|
|
5
|
-
/**
|
|
6
|
-
* Returns aggregated meter usage data for a customer within a specified time interval. The data can be grouped by various dimensions and can include multiple meters if specified.
|
|
7
|
-
*/
|
|
8
|
-
retrieve(params: Billing.Analytics.MeterUsageRetrieveParams, options?: RequestOptions): Promise<Response<MeterUsage>>;
|
|
9
|
-
}
|
|
10
|
-
export interface MeterUsage {
|
|
11
|
-
/**
|
|
12
|
-
* String representing the object's type. Objects of the same type share the same value.
|
|
13
|
-
*/
|
|
14
|
-
object: 'billing.analytics.meter_usage';
|
|
15
|
-
/**
|
|
16
|
-
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
17
|
-
*/
|
|
18
|
-
livemode: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The timestamp to indicate data freshness, measured in seconds since the Unix epoch.
|
|
21
|
-
*/
|
|
22
|
-
refreshed_at: number;
|
|
23
|
-
rows: ApiList<MeterUsageRow>;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace Billing {
|
|
26
|
-
namespace Analytics {
|
|
27
|
-
interface MeterUsageRetrieveParams {
|
|
28
|
-
/**
|
|
29
|
-
* The customer id to fetch meter usage data for.
|
|
30
|
-
*/
|
|
31
|
-
customer: string;
|
|
32
|
-
/**
|
|
33
|
-
* The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.
|
|
34
|
-
*/
|
|
35
|
-
ends_at: number;
|
|
36
|
-
/**
|
|
37
|
-
* The timestamp from when to start aggregating meter events (inclusive). Must be aligned with minute boundaries.
|
|
38
|
-
*/
|
|
39
|
-
starts_at: number;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies which fields in the response should be expanded.
|
|
42
|
-
*/
|
|
43
|
-
expand?: Array<string>;
|
|
44
|
-
/**
|
|
45
|
-
* An array of meter parameters to specify which meters to include in the usage data. If not specified, usage across all meters for the customer is included.
|
|
46
|
-
*/
|
|
47
|
-
meters?: Array<MeterUsageRetrieveParams.Meter>;
|
|
48
|
-
/**
|
|
49
|
-
* The timezone to use for the start and end times. Defaults to UTC if not specified.
|
|
50
|
-
*/
|
|
51
|
-
timezone?: MeterUsageRetrieveParams.Timezone;
|
|
52
|
-
/**
|
|
53
|
-
* Specifies what granularity to use when aggregating meter usage events. If not specified, a single event would be returned for the specified time range.
|
|
54
|
-
*/
|
|
55
|
-
value_grouping_window?: MeterUsageRetrieveParams.ValueGroupingWindow;
|
|
56
|
-
}
|
|
57
|
-
namespace MeterUsageRetrieveParams {
|
|
58
|
-
interface Meter {
|
|
59
|
-
/**
|
|
60
|
-
* Key-value pairs used to filter usage events by meter dimension values. Each value is an array that can include multiple values for the key. If specified, usage is filtered for matching usage events.
|
|
61
|
-
*/
|
|
62
|
-
dimension_filters?: {
|
|
63
|
-
[key: string]: Array<string>;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* List of meter dimension keys to group by. If specified, usage events will be grouped by the given meter dimension key's values.
|
|
67
|
-
*/
|
|
68
|
-
dimension_group_by_keys?: Array<string>;
|
|
69
|
-
/**
|
|
70
|
-
* Meter id to query usage for.
|
|
71
|
-
*/
|
|
72
|
-
meter: string;
|
|
73
|
-
/**
|
|
74
|
-
* Key-value pairs used to filter usage events by high cardinality tenant dimension values. Each value is an array that can include multiple values for the key. If specified, usage is filtered for matching usage events.
|
|
75
|
-
*/
|
|
76
|
-
tenant_filters?: {
|
|
77
|
-
[key: string]: Array<string>;
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
type Timezone = 'Africa/Abidjan' | 'Africa/Accra' | 'Africa/Addis_Ababa' | 'Africa/Algiers' | 'Africa/Asmara' | 'Africa/Asmera' | 'Africa/Bamako' | 'Africa/Bangui' | 'Africa/Banjul' | 'Africa/Bissau' | 'Africa/Blantyre' | 'Africa/Brazzaville' | 'Africa/Bujumbura' | 'Africa/Cairo' | 'Africa/Casablanca' | 'Africa/Ceuta' | 'Africa/Conakry' | 'Africa/Dakar' | 'Africa/Dar_es_Salaam' | 'Africa/Djibouti' | 'Africa/Douala' | 'Africa/El_Aaiun' | 'Africa/Freetown' | 'Africa/Gaborone' | 'Africa/Harare' | 'Africa/Johannesburg' | 'Africa/Juba' | 'Africa/Kampala' | 'Africa/Khartoum' | 'Africa/Kigali' | 'Africa/Kinshasa' | 'Africa/Lagos' | 'Africa/Libreville' | 'Africa/Lome' | 'Africa/Luanda' | 'Africa/Lubumbashi' | 'Africa/Lusaka' | 'Africa/Malabo' | 'Africa/Maputo' | 'Africa/Maseru' | 'Africa/Mbabane' | 'Africa/Mogadishu' | 'Africa/Monrovia' | 'Africa/Nairobi' | 'Africa/Ndjamena' | 'Africa/Niamey' | 'Africa/Nouakchott' | 'Africa/Ouagadougou' | 'Africa/Porto-Novo' | 'Africa/Sao_Tome' | 'Africa/Timbuktu' | 'Africa/Tripoli' | 'Africa/Tunis' | 'Africa/Windhoek' | 'America/Adak' | 'America/Anchorage' | 'America/Anguilla' | 'America/Antigua' | 'America/Araguaina' | 'America/Argentina/Buenos_Aires' | 'America/Argentina/Catamarca' | 'America/Argentina/ComodRivadavia' | 'America/Argentina/Cordoba' | 'America/Argentina/Jujuy' | 'America/Argentina/La_Rioja' | 'America/Argentina/Mendoza' | 'America/Argentina/Rio_Gallegos' | 'America/Argentina/Salta' | 'America/Argentina/San_Juan' | 'America/Argentina/San_Luis' | 'America/Argentina/Tucuman' | 'America/Argentina/Ushuaia' | 'America/Aruba' | 'America/Asuncion' | 'America/Atikokan' | 'America/Atka' | 'America/Bahia' | 'America/Bahia_Banderas' | 'America/Barbados' | 'America/Belem' | 'America/Belize' | 'America/Blanc-Sablon' | 'America/Boa_Vista' | 'America/Bogota' | 'America/Boise' | 'America/Buenos_Aires' | 'America/Cambridge_Bay' | 'America/Campo_Grande' | 'America/Cancun' | 'America/Caracas' | 'America/Catamarca' | 'America/Cayenne' | 'America/Cayman' | 'America/Chicago' | 'America/Chihuahua' | 'America/Ciudad_Juarez' | 'America/Coral_Harbour' | 'America/Cordoba' | 'America/Costa_Rica' | 'America/Coyhaique' | 'America/Creston' | 'America/Cuiaba' | 'America/Curacao' | 'America/Danmarkshavn' | 'America/Dawson' | 'America/Dawson_Creek' | 'America/Denver' | 'America/Detroit' | 'America/Dominica' | 'America/Edmonton' | 'America/Eirunepe' | 'America/El_Salvador' | 'America/Ensenada' | 'America/Fort_Nelson' | 'America/Fort_Wayne' | 'America/Fortaleza' | 'America/Glace_Bay' | 'America/Godthab' | 'America/Goose_Bay' | 'America/Grand_Turk' | 'America/Grenada' | 'America/Guadeloupe' | 'America/Guatemala' | 'America/Guayaquil' | 'America/Guyana' | 'America/Halifax' | 'America/Havana' | 'America/Hermosillo' | 'America/Indiana/Indianapolis' | 'America/Indiana/Knox' | 'America/Indiana/Marengo' | 'America/Indiana/Petersburg' | 'America/Indiana/Tell_City' | 'America/Indiana/Vevay' | 'America/Indiana/Vincennes' | 'America/Indiana/Winamac' | 'America/Indianapolis' | 'America/Inuvik' | 'America/Iqaluit' | 'America/Jamaica' | 'America/Jujuy' | 'America/Juneau' | 'America/Kentucky/Louisville' | 'America/Kentucky/Monticello' | 'America/Knox_IN' | 'America/Kralendijk' | 'America/La_Paz' | 'America/Lima' | 'America/Los_Angeles' | 'America/Louisville' | 'America/Lower_Princes' | 'America/Maceio' | 'America/Managua' | 'America/Manaus' | 'America/Marigot' | 'America/Martinique' | 'America/Matamoros' | 'America/Mazatlan' | 'America/Mendoza' | 'America/Menominee' | 'America/Merida' | 'America/Metlakatla' | 'America/Mexico_City' | 'America/Miquelon' | 'America/Moncton' | 'America/Monterrey' | 'America/Montevideo' | 'America/Montreal' | 'America/Montserrat' | 'America/Nassau' | 'America/New_York' | 'America/Nipigon' | 'America/Nome' | 'America/Noronha' | 'America/North_Dakota/Beulah' | 'America/North_Dakota/Center' | 'America/North_Dakota/New_Salem' | 'America/Nuuk' | 'America/Ojinaga' | 'America/Panama' | 'America/Pangnirtung' | 'America/Paramaribo' | 'America/Phoenix' | 'America/Port-au-Prince' | 'America/Port_of_Spain' | 'America/Porto_Acre' | 'America/Porto_Velho' | 'America/Puerto_Rico' | 'America/Punta_Arenas' | 'America/Rainy_River' | 'America/Rankin_Inlet' | 'America/Recife' | 'America/Regina' | 'America/Resolute' | 'America/Rio_Branco' | 'America/Rosario' | 'America/Santa_Isabel' | 'America/Santarem' | 'America/Santiago' | 'America/Santo_Domingo' | 'America/Sao_Paulo' | 'America/Scoresbysund' | 'America/Shiprock' | 'America/Sitka' | 'America/St_Barthelemy' | 'America/St_Johns' | 'America/St_Kitts' | 'America/St_Lucia' | 'America/St_Thomas' | 'America/St_Vincent' | 'America/Swift_Current' | 'America/Tegucigalpa' | 'America/Thule' | 'America/Thunder_Bay' | 'America/Tijuana' | 'America/Toronto' | 'America/Tortola' | 'America/Vancouver' | 'America/Virgin' | 'America/Whitehorse' | 'America/Winnipeg' | 'America/Yakutat' | 'America/Yellowknife' | 'Antarctica/Casey' | 'Antarctica/Davis' | 'Antarctica/DumontDUrville' | 'Antarctica/Macquarie' | 'Antarctica/Mawson' | 'Antarctica/McMurdo' | 'Antarctica/Palmer' | 'Antarctica/Rothera' | 'Antarctica/South_Pole' | 'Antarctica/Syowa' | 'Antarctica/Troll' | 'Antarctica/Vostok' | 'Arctic/Longyearbyen' | 'Asia/Aden' | 'Asia/Almaty' | 'Asia/Amman' | 'Asia/Anadyr' | 'Asia/Aqtau' | 'Asia/Aqtobe' | 'Asia/Ashgabat' | 'Asia/Ashkhabad' | 'Asia/Atyrau' | 'Asia/Baghdad' | 'Asia/Bahrain' | 'Asia/Baku' | 'Asia/Bangkok' | 'Asia/Barnaul' | 'Asia/Beirut' | 'Asia/Bishkek' | 'Asia/Brunei' | 'Asia/Calcutta' | 'Asia/Chita' | 'Asia/Choibalsan' | 'Asia/Chongqing' | 'Asia/Chungking' | 'Asia/Colombo' | 'Asia/Dacca' | 'Asia/Damascus' | 'Asia/Dhaka' | 'Asia/Dili' | 'Asia/Dubai' | 'Asia/Dushanbe' | 'Asia/Famagusta' | 'Asia/Gaza' | 'Asia/Harbin' | 'Asia/Hebron' | 'Asia/Ho_Chi_Minh' | 'Asia/Hong_Kong' | 'Asia/Hovd' | 'Asia/Irkutsk' | 'Asia/Istanbul' | 'Asia/Jakarta' | 'Asia/Jayapura' | 'Asia/Jerusalem' | 'Asia/Kabul' | 'Asia/Kamchatka' | 'Asia/Karachi' | 'Asia/Kashgar' | 'Asia/Kathmandu' | 'Asia/Katmandu' | 'Asia/Khandyga' | 'Asia/Kolkata' | 'Asia/Krasnoyarsk' | 'Asia/Kuala_Lumpur' | 'Asia/Kuching' | 'Asia/Kuwait' | 'Asia/Macao' | 'Asia/Macau' | 'Asia/Magadan' | 'Asia/Makassar' | 'Asia/Manila' | 'Asia/Muscat' | 'Asia/Nicosia' | 'Asia/Novokuznetsk' | 'Asia/Novosibirsk' | 'Asia/Omsk' | 'Asia/Oral' | 'Asia/Phnom_Penh' | 'Asia/Pontianak' | 'Asia/Pyongyang' | 'Asia/Qatar' | 'Asia/Qostanay' | 'Asia/Qyzylorda' | 'Asia/Rangoon' | 'Asia/Riyadh' | 'Asia/Saigon' | 'Asia/Sakhalin' | 'Asia/Samarkand' | 'Asia/Seoul' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Srednekolymsk' | 'Asia/Taipei' | 'Asia/Tashkent' | 'Asia/Tbilisi' | 'Asia/Tehran' | 'Asia/Tel_Aviv' | 'Asia/Thimbu' | 'Asia/Thimphu' | 'Asia/Tokyo' | 'Asia/Tomsk' | 'Asia/Ujung_Pandang' | 'Asia/Ulaanbaatar' | 'Asia/Ulan_Bator' | 'Asia/Urumqi' | 'Asia/Ust-Nera' | 'Asia/Vientiane' | 'Asia/Vladivostok' | 'Asia/Yakutsk' | 'Asia/Yangon' | 'Asia/Yekaterinburg' | 'Asia/Yerevan' | 'Atlantic/Azores' | 'Atlantic/Bermuda' | 'Atlantic/Canary' | 'Atlantic/Cape_Verde' | 'Atlantic/Faeroe' | 'Atlantic/Faroe' | 'Atlantic/Jan_Mayen' | 'Atlantic/Madeira' | 'Atlantic/Reykjavik' | 'Atlantic/South_Georgia' | 'Atlantic/St_Helena' | 'Atlantic/Stanley' | 'Australia/ACT' | 'Australia/Adelaide' | 'Australia/Brisbane' | 'Australia/Broken_Hill' | 'Australia/Canberra' | 'Australia/Currie' | 'Australia/Darwin' | 'Australia/Eucla' | 'Australia/Hobart' | 'Australia/LHI' | 'Australia/Lindeman' | 'Australia/Lord_Howe' | 'Australia/Melbourne' | 'Australia/NSW' | 'Australia/North' | 'Australia/Perth' | 'Australia/Queensland' | 'Australia/South' | 'Australia/Sydney' | 'Australia/Tasmania' | 'Australia/Victoria' | 'Australia/West' | 'Australia/Yancowinna' | 'Brazil/Acre' | 'Brazil/DeNoronha' | 'Brazil/East' | 'Brazil/West' | 'CET' | 'CST6CDT' | 'Canada/Atlantic' | 'Canada/Central' | 'Canada/Eastern' | 'Canada/Mountain' | 'Canada/Newfoundland' | 'Canada/Pacific' | 'Canada/Saskatchewan' | 'Canada/Yukon' | 'Chile/Continental' | 'Chile/EasterIsland' | 'Cuba' | 'EET' | 'EST' | 'EST5EDT' | 'Egypt' | 'Eire' | 'Etc/GMT' | 'Etc/GMT+0' | 'Etc/GMT+1' | 'Etc/GMT+10' | 'Etc/GMT+11' | 'Etc/GMT+12' | 'Etc/GMT+2' | 'Etc/GMT+3' | 'Etc/GMT+4' | 'Etc/GMT+5' | 'Etc/GMT+6' | 'Etc/GMT+7' | 'Etc/GMT+8' | 'Etc/GMT+9' | 'Etc/GMT-0' | 'Etc/GMT-1' | 'Etc/GMT-10' | 'Etc/GMT-11' | 'Etc/GMT-12' | 'Etc/GMT-13' | 'Etc/GMT-14' | 'Etc/GMT-2' | 'Etc/GMT-3' | 'Etc/GMT-4' | 'Etc/GMT-5' | 'Etc/GMT-6' | 'Etc/GMT-7' | 'Etc/GMT-8' | 'Etc/GMT-9' | 'Etc/GMT0' | 'Etc/Greenwich' | 'Etc/UCT' | 'Etc/UTC' | 'Etc/Universal' | 'Etc/Zulu' | 'Europe/Amsterdam' | 'Europe/Andorra' | 'Europe/Astrakhan' | 'Europe/Athens' | 'Europe/Belfast' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/Bratislava' | 'Europe/Brussels' | 'Europe/Bucharest' | 'Europe/Budapest' | 'Europe/Busingen' | 'Europe/Chisinau' | 'Europe/Copenhagen' | 'Europe/Dublin' | 'Europe/Gibraltar' | 'Europe/Guernsey' | 'Europe/Helsinki' | 'Europe/Isle_of_Man' | 'Europe/Istanbul' | 'Europe/Jersey' | 'Europe/Kaliningrad' | 'Europe/Kiev' | 'Europe/Kirov' | 'Europe/Kyiv' | 'Europe/Lisbon' | 'Europe/Ljubljana' | 'Europe/London' | 'Europe/Luxembourg' | 'Europe/Madrid' | 'Europe/Malta' | 'Europe/Mariehamn' | 'Europe/Minsk' | 'Europe/Monaco' | 'Europe/Moscow' | 'Europe/Nicosia' | 'Europe/Oslo' | 'Europe/Paris' | 'Europe/Podgorica' | 'Europe/Prague' | 'Europe/Riga' | 'Europe/Rome' | 'Europe/Samara' | 'Europe/San_Marino' | 'Europe/Sarajevo' | 'Europe/Saratov' | 'Europe/Simferopol' | 'Europe/Skopje' | 'Europe/Sofia' | 'Europe/Stockholm' | 'Europe/Tallinn' | 'Europe/Tirane' | 'Europe/Tiraspol' | 'Europe/Ulyanovsk' | 'Europe/Uzhgorod' | 'Europe/Vaduz' | 'Europe/Vatican' | 'Europe/Vienna' | 'Europe/Vilnius' | 'Europe/Volgograd' | 'Europe/Warsaw' | 'Europe/Zagreb' | 'Europe/Zaporozhye' | 'Europe/Zurich' | 'Factory' | 'GB' | 'GB-Eire' | 'GMT' | 'GMT+0' | 'GMT-0' | 'GMT0' | 'Greenwich' | 'HST' | 'Hongkong' | 'Iceland' | 'Indian/Antananarivo' | 'Indian/Chagos' | 'Indian/Christmas' | 'Indian/Cocos' | 'Indian/Comoro' | 'Indian/Kerguelen' | 'Indian/Mahe' | 'Indian/Maldives' | 'Indian/Mauritius' | 'Indian/Mayotte' | 'Indian/Reunion' | 'Iran' | 'Israel' | 'Jamaica' | 'Japan' | 'Kwajalein' | 'Libya' | 'MET' | 'MST' | 'MST7MDT' | 'Mexico/BajaNorte' | 'Mexico/BajaSur' | 'Mexico/General' | 'NZ' | 'NZ-CHAT' | 'Navajo' | 'PRC' | 'PST8PDT' | 'Pacific/Apia' | 'Pacific/Auckland' | 'Pacific/Bougainville' | 'Pacific/Chatham' | 'Pacific/Chuuk' | 'Pacific/Easter' | 'Pacific/Efate' | 'Pacific/Enderbury' | 'Pacific/Fakaofo' | 'Pacific/Fiji' | 'Pacific/Funafuti' | 'Pacific/Galapagos' | 'Pacific/Gambier' | 'Pacific/Guadalcanal' | 'Pacific/Guam' | 'Pacific/Honolulu' | 'Pacific/Johnston' | 'Pacific/Kanton' | 'Pacific/Kiritimati' | 'Pacific/Kosrae' | 'Pacific/Kwajalein' | 'Pacific/Majuro' | 'Pacific/Marquesas' | 'Pacific/Midway' | 'Pacific/Nauru' | 'Pacific/Niue' | 'Pacific/Norfolk' | 'Pacific/Noumea' | 'Pacific/Pago_Pago' | 'Pacific/Palau' | 'Pacific/Pitcairn' | 'Pacific/Pohnpei' | 'Pacific/Ponape' | 'Pacific/Port_Moresby' | 'Pacific/Rarotonga' | 'Pacific/Saipan' | 'Pacific/Samoa' | 'Pacific/Tahiti' | 'Pacific/Tarawa' | 'Pacific/Tongatapu' | 'Pacific/Truk' | 'Pacific/Wake' | 'Pacific/Wallis' | 'Pacific/Yap' | 'Poland' | 'Portugal' | 'ROC' | 'ROK' | 'Singapore' | 'Turkey' | 'UCT' | 'US/Alaska' | 'US/Aleutian' | 'US/Arizona' | 'US/Central' | 'US/East-Indiana' | 'US/Eastern' | 'US/Hawaii' | 'US/Indiana-Starke' | 'US/Michigan' | 'US/Mountain' | 'US/Pacific' | 'US/Pacific-New' | 'US/Samoa' | 'UTC' | 'Universal' | 'W-SU' | 'WET' | 'Zulu';
|
|
81
|
-
type ValueGroupingWindow = 'day' | 'hour' | 'month' | 'week';
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.MeterUsageResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
-
class MeterUsageResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Returns aggregated meter usage data for a customer within a specified time interval. The data can be grouped by various dimensions and can include multiple meters if specified.
|
|
9
|
-
*/
|
|
10
|
-
retrieve(params, options) {
|
|
11
|
-
return this._makeRequest('GET', '/v1/billing/analytics/meter_usage', params, options);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.MeterUsageResource = MeterUsageResource;
|
|
15
|
-
//# sourceMappingURL=MeterUsage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MeterUsage.js","sourceRoot":"","sources":["../../../../src/resources/Billing/Analytics/MeterUsage.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAI1D,MAAa,kBAAmB,SAAQ,kCAAc;IACpD;;OAEG;IACH,QAAQ,CACN,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EACnC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAfD,gDAeC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface MeterUsageRow {
|
|
2
|
-
/**
|
|
3
|
-
* Unique identifier for the object.
|
|
4
|
-
*/
|
|
5
|
-
id: string;
|
|
6
|
-
/**
|
|
7
|
-
* String representing the object's type. Objects of the same type share the same value.
|
|
8
|
-
*/
|
|
9
|
-
object: 'billing.analytics.meter_usage_row';
|
|
10
|
-
/**
|
|
11
|
-
* A set of key-value pairs representing the dimensions of the meter usage.
|
|
12
|
-
*/
|
|
13
|
-
dimensions: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
} | null;
|
|
16
|
-
/**
|
|
17
|
-
* Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch.
|
|
18
|
-
*/
|
|
19
|
-
ends_at: number;
|
|
20
|
-
/**
|
|
21
|
-
* The unique identifier for the meter. Null if no meters were provided and usage was aggregated across all meters.
|
|
22
|
-
*/
|
|
23
|
-
meter: string | null;
|
|
24
|
-
/**
|
|
25
|
-
* Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch.
|
|
26
|
-
*/
|
|
27
|
-
starts_at: number;
|
|
28
|
-
/**
|
|
29
|
-
* The aggregated meter usage value for the specified bucket.
|
|
30
|
-
*/
|
|
31
|
-
value: number;
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MeterUsageRows.js","sourceRoot":"","sources":["../../../../src/resources/Billing/Analytics/MeterUsageRows.ts"],"names":[],"mappings":";AAAA,uCAAuC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Stripe } from '../../../stripe.core.js';
|
|
2
|
-
import { Billing as BillingNamespace0, MeterUsage, MeterUsageResource } from './MeterUsage.js';
|
|
3
|
-
import { MeterUsageRow } from './MeterUsageRows.js';
|
|
4
|
-
export { MeterUsage } from './MeterUsage.js';
|
|
5
|
-
export { MeterUsageRow } from './MeterUsageRows.js';
|
|
6
|
-
export declare class Analytics {
|
|
7
|
-
private readonly stripe;
|
|
8
|
-
meterUsages: MeterUsageResource;
|
|
9
|
-
constructor(stripe: Stripe);
|
|
10
|
-
}
|
|
11
|
-
export declare namespace Analytics {
|
|
12
|
-
export type MeterUsageRetrieveParams = BillingNamespace0.Analytics.MeterUsageRetrieveParams;
|
|
13
|
-
export { MeterUsage };
|
|
14
|
-
export { MeterUsageRow };
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Analytics = void 0;
|
|
5
|
-
const MeterUsage_js_1 = require("./MeterUsage.js");
|
|
6
|
-
class Analytics {
|
|
7
|
-
constructor(stripe) {
|
|
8
|
-
this.stripe = stripe;
|
|
9
|
-
this.meterUsages = new MeterUsage_js_1.MeterUsageResource(stripe);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.Analytics = Analytics;
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/Billing/Analytics/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,mDAIyB;AAMzB,MAAa,SAAS;IAGpB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,WAAW,GAAG,IAAI,kCAAkB,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;CACF;AAND,8BAMC"}
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import { StripeResource } from '../../StripeResource.js';
|
|
2
|
-
import { PaginationParams, RangeQueryParam, Metadata } from '../../shared.js';
|
|
3
|
-
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
4
|
-
export declare class FinancingOfferResource extends StripeResource {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieves the financing offers available for Connected accounts that belong to your platform.
|
|
7
|
-
*/
|
|
8
|
-
list(params?: Capital.FinancingOfferListParams, options?: RequestOptions): ApiListPromise<FinancingOffer>;
|
|
9
|
-
/**
|
|
10
|
-
* Get the details of the financing offer
|
|
11
|
-
*/
|
|
12
|
-
retrieve(id: string, params?: Capital.FinancingOfferRetrieveParams, options?: RequestOptions): Promise<Response<FinancingOffer>>;
|
|
13
|
-
/**
|
|
14
|
-
* Acknowledges that platform has received and delivered the financing_offer to
|
|
15
|
-
* the intended merchant recipient.
|
|
16
|
-
*/
|
|
17
|
-
markDelivered(id: string, params?: Capital.FinancingOfferMarkDeliveredParams, options?: RequestOptions): Promise<Response<FinancingOffer>>;
|
|
18
|
-
}
|
|
19
|
-
export interface FinancingOffer {
|
|
20
|
-
/**
|
|
21
|
-
* A unique identifier for the financing object.
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* The object type: financing_offer.
|
|
26
|
-
*/
|
|
27
|
-
object: 'capital.financing_offer';
|
|
28
|
-
/**
|
|
29
|
-
* This is an object representing the terms of an offer of financing from
|
|
30
|
-
* Stripe Capital to a Connected account. This resource represents
|
|
31
|
-
* the terms accepted by the Connected account, which may differ from those
|
|
32
|
-
* offered.
|
|
33
|
-
*/
|
|
34
|
-
accepted_terms?: Capital.FinancingOffer.AcceptedTerms;
|
|
35
|
-
/**
|
|
36
|
-
* The ID of the merchant associated with this financing object.
|
|
37
|
-
*/
|
|
38
|
-
account: string;
|
|
39
|
-
/**
|
|
40
|
-
* The time at which this financing offer was charged off, if applicable. Given in seconds since unix epoch.
|
|
41
|
-
*/
|
|
42
|
-
charged_off_at?: number;
|
|
43
|
-
/**
|
|
44
|
-
* Time at which the offer was created. Given in seconds since unix epoch.
|
|
45
|
-
*/
|
|
46
|
-
created: number;
|
|
47
|
-
/**
|
|
48
|
-
* Time at which the offer expires. Given in seconds since unix epoch.
|
|
49
|
-
*/
|
|
50
|
-
expires_after: number;
|
|
51
|
-
/**
|
|
52
|
-
* The type of financing being offered.
|
|
53
|
-
*/
|
|
54
|
-
financing_type?: Capital.FinancingOffer.FinancingType;
|
|
55
|
-
/**
|
|
56
|
-
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
57
|
-
*/
|
|
58
|
-
livemode: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
61
|
-
*/
|
|
62
|
-
metadata?: Metadata;
|
|
63
|
-
/**
|
|
64
|
-
* This is an object representing the terms of an offer of financing from
|
|
65
|
-
* Stripe Capital to a Connected account. This resource represents
|
|
66
|
-
* both the terms offered to the Connected account.
|
|
67
|
-
*/
|
|
68
|
-
offered_terms?: Capital.FinancingOffer.OfferedTerms;
|
|
69
|
-
/**
|
|
70
|
-
* Financing product identifier.
|
|
71
|
-
*/
|
|
72
|
-
product_type?: Capital.FinancingOffer.ProductType;
|
|
73
|
-
/**
|
|
74
|
-
* The ID of the financing offer that replaced this offer.
|
|
75
|
-
*/
|
|
76
|
-
replacement?: string;
|
|
77
|
-
/**
|
|
78
|
-
* The ID of the financing offer that this offer is a replacement for.
|
|
79
|
-
*/
|
|
80
|
-
replacement_for?: string;
|
|
81
|
-
/**
|
|
82
|
-
* The current status of the offer.
|
|
83
|
-
*/
|
|
84
|
-
status: Capital.FinancingOffer.Status;
|
|
85
|
-
/**
|
|
86
|
-
* See [financing_type](https://docs.stripe.com/api/capital/connect_financing_object#financing_offer_object-financing_type).
|
|
87
|
-
*/
|
|
88
|
-
type?: Capital.FinancingOffer.Type;
|
|
89
|
-
}
|
|
90
|
-
export declare namespace Capital {
|
|
91
|
-
namespace FinancingOffer {
|
|
92
|
-
interface AcceptedTerms {
|
|
93
|
-
/**
|
|
94
|
-
* Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000.
|
|
95
|
-
*/
|
|
96
|
-
advance_amount: number;
|
|
97
|
-
/**
|
|
98
|
-
* Currency that the financing offer is transacted in. For example, `usd`.
|
|
99
|
-
*/
|
|
100
|
-
currency: string;
|
|
101
|
-
/**
|
|
102
|
-
* Fixed fee amount, in minor units. For example, 100 USD is represented as 10000.
|
|
103
|
-
*/
|
|
104
|
-
fee_amount: number;
|
|
105
|
-
/**
|
|
106
|
-
* Populated when the `product_type` of the `financingoffer` is `refill`.
|
|
107
|
-
* Represents the discount amount on remaining premium for the existing loan at payout time.
|
|
108
|
-
*/
|
|
109
|
-
previous_financing_fee_discount_amount: number | null;
|
|
110
|
-
/**
|
|
111
|
-
* Per-transaction rate at which Stripe withholds funds to repay the financing.
|
|
112
|
-
*/
|
|
113
|
-
withhold_rate: number;
|
|
114
|
-
}
|
|
115
|
-
type FinancingType = 'cash_advance' | 'flex_loan';
|
|
116
|
-
interface OfferedTerms {
|
|
117
|
-
/**
|
|
118
|
-
* Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000.
|
|
119
|
-
*/
|
|
120
|
-
advance_amount: number;
|
|
121
|
-
/**
|
|
122
|
-
* Describes the type of user the offer is being extended to.
|
|
123
|
-
*/
|
|
124
|
-
campaign_type: OfferedTerms.CampaignType;
|
|
125
|
-
/**
|
|
126
|
-
* Currency that the financing offer is transacted in. For example, `usd`.
|
|
127
|
-
*/
|
|
128
|
-
currency: string;
|
|
129
|
-
/**
|
|
130
|
-
* Fixed fee amount, in minor units. For example, 100 USD is represented as 10000.
|
|
131
|
-
*/
|
|
132
|
-
fee_amount: number;
|
|
133
|
-
/**
|
|
134
|
-
* Populated when the `product_type` of the `financingoffer` is `refill`.
|
|
135
|
-
* Represents the discount rate percentage on remaining fee on the existing loan. When the `financing_offer`
|
|
136
|
-
* is paid out, the `previous_financing_fee_discount_amount` will be computed as the multiple of this rate
|
|
137
|
-
* and the remaining fee.
|
|
138
|
-
*/
|
|
139
|
-
previous_financing_fee_discount_rate: number | null;
|
|
140
|
-
/**
|
|
141
|
-
* Per-transaction rate at which Stripe withholds funds to repay the financing.
|
|
142
|
-
*/
|
|
143
|
-
withhold_rate: number;
|
|
144
|
-
}
|
|
145
|
-
type ProductType = 'refill' | 'standard';
|
|
146
|
-
type Status = 'accepted' | 'canceled' | 'completed' | 'delivered' | 'expired' | 'fully_repaid' | 'paid_out' | 'rejected' | 'replaced' | 'undelivered';
|
|
147
|
-
type Type = 'cash_advance' | 'fixed_term_loan' | 'flex_loan';
|
|
148
|
-
namespace OfferedTerms {
|
|
149
|
-
type CampaignType = 'newly_eligible_user' | 'previously_eligible_user' | 'repeat_user';
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
export declare namespace Capital {
|
|
154
|
-
interface FinancingOfferRetrieveParams {
|
|
155
|
-
/**
|
|
156
|
-
* Specifies which fields in the response should be expanded.
|
|
157
|
-
*/
|
|
158
|
-
expand?: Array<string>;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
export declare namespace Capital {
|
|
162
|
-
interface FinancingOfferListParams extends PaginationParams {
|
|
163
|
-
/**
|
|
164
|
-
* limit list to offers belonging to given connected account
|
|
165
|
-
*/
|
|
166
|
-
connected_account?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Only return offers that were created during the given date interval.
|
|
169
|
-
*/
|
|
170
|
-
created?: RangeQueryParam | number;
|
|
171
|
-
/**
|
|
172
|
-
* Specifies which fields in the response should be expanded.
|
|
173
|
-
*/
|
|
174
|
-
expand?: Array<string>;
|
|
175
|
-
/**
|
|
176
|
-
* limit list to offers with given status
|
|
177
|
-
*/
|
|
178
|
-
status?: FinancingOfferListParams.Status;
|
|
179
|
-
}
|
|
180
|
-
namespace FinancingOfferListParams {
|
|
181
|
-
type Status = 'accepted' | 'canceled' | 'completed' | 'delivered' | 'expired' | 'fully_repaid' | 'paid_out' | 'rejected' | 'revoked' | 'undelivered';
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
export declare namespace Capital {
|
|
185
|
-
interface FinancingOfferMarkDeliveredParams {
|
|
186
|
-
/**
|
|
187
|
-
* Specifies which fields in the response should be expanded.
|
|
188
|
-
*/
|
|
189
|
-
expand?: Array<string>;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.FinancingOfferResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../../StripeResource.js");
|
|
6
|
-
class FinancingOfferResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Retrieves the financing offers available for Connected accounts that belong to your platform.
|
|
9
|
-
*/
|
|
10
|
-
list(params, options) {
|
|
11
|
-
return this._makeRequest('GET', '/v1/capital/financing_offers', params, options, {
|
|
12
|
-
methodType: 'list',
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Get the details of the financing offer
|
|
17
|
-
*/
|
|
18
|
-
retrieve(id, params, options) {
|
|
19
|
-
return this._makeRequest('GET', `/v1/capital/financing_offers/${id}`, params, options);
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Acknowledges that platform has received and delivered the financing_offer to
|
|
23
|
-
* the intended merchant recipient.
|
|
24
|
-
*/
|
|
25
|
-
markDelivered(id, params, options) {
|
|
26
|
-
return this._makeRequest('POST', `/v1/capital/financing_offers/${id}/mark_delivered`, params, options);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
exports.FinancingOfferResource = FinancingOfferResource;
|
|
30
|
-
//# sourceMappingURL=FinancingOffers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FinancingOffers.js","sourceRoot":"","sources":["../../../src/resources/Capital/FinancingOffers.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAIvD,MAAa,sBAAuB,SAAQ,kCAAc;IACxD;;OAEG;IACH,IAAI,CACF,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,8BAA8B,EAC9B,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gCAAgC,EAAE,EAAE,EACpC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,aAAa,CACX,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,gCAAgC,EAAE,iBAAiB,EACnD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAjDD,wDAiDC"}
|