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,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.TransactionEntryResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
-
class TransactionEntryResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Returns a list of TransactionEntries that match the provided filters.
|
|
9
|
-
*/
|
|
10
|
-
list(params, options) {
|
|
11
|
-
return this._makeRequest('GET', '/v2/money_management/transaction_entries', params, options, {
|
|
12
|
-
methodType: 'list',
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Retrieves the details of a TransactionEntry by ID.
|
|
17
|
-
*/
|
|
18
|
-
retrieve(id, params, options) {
|
|
19
|
-
return this._makeRequest('GET', `/v2/money_management/transaction_entries/${id}`, params, options);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.TransactionEntryResource = TransactionEntryResource;
|
|
23
|
-
//# sourceMappingURL=TransactionEntries.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionEntries.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/TransactionEntries.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAI1D,MAAa,wBAAyB,SAAQ,kCAAc;IAC1D;;OAEG;IACH,IAAI,CACF,MAAsD,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,0CAA0C,EAC1C,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA0D,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,4CAA4C,EAAE,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAjCD,4DAiCC"}
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
-
import { V2Amount } from './../V2Amounts.js';
|
|
3
|
-
import { RequestOptions, ApiListPromise, Response } from '../../../lib.js';
|
|
4
|
-
export declare class TransactionResource extends StripeResource {
|
|
5
|
-
/**
|
|
6
|
-
* Returns a list of Transactions that match the provided filters.
|
|
7
|
-
*/
|
|
8
|
-
list(params?: V2.MoneyManagement.TransactionListParams, options?: RequestOptions): ApiListPromise<Transaction>;
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves the details of a Transaction by ID.
|
|
11
|
-
*/
|
|
12
|
-
retrieve(id: string, params?: V2.MoneyManagement.TransactionRetrieveParams, options?: RequestOptions): Promise<Response<Transaction>>;
|
|
13
|
-
}
|
|
14
|
-
export interface Transaction {
|
|
15
|
-
/**
|
|
16
|
-
* Unique identifier for the object.
|
|
17
|
-
*/
|
|
18
|
-
id: string;
|
|
19
|
-
/**
|
|
20
|
-
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
21
|
-
*/
|
|
22
|
-
object: 'v2.money_management.transaction';
|
|
23
|
-
/**
|
|
24
|
-
* The amount of the Transaction.
|
|
25
|
-
*/
|
|
26
|
-
amount: V2Amount;
|
|
27
|
-
/**
|
|
28
|
-
* The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its
|
|
29
|
-
* TransactionEntries that have `effective_at`s in the past.
|
|
30
|
-
*/
|
|
31
|
-
balance_impact: V2.MoneyManagement.Transaction.BalanceImpact;
|
|
32
|
-
/**
|
|
33
|
-
* Open Enum. A descriptive category used to classify the Transaction.
|
|
34
|
-
*/
|
|
35
|
-
category: V2.MoneyManagement.Transaction.Category;
|
|
36
|
-
/**
|
|
37
|
-
* Counterparty to this Transaction.
|
|
38
|
-
*/
|
|
39
|
-
counterparty?: V2.MoneyManagement.Transaction.Counterparty;
|
|
40
|
-
/**
|
|
41
|
-
* Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
42
|
-
*/
|
|
43
|
-
created: string;
|
|
44
|
-
/**
|
|
45
|
-
* Description of this Transaction. When applicable, the description is copied from the Flow object at the time
|
|
46
|
-
* of transaction creation.
|
|
47
|
-
*/
|
|
48
|
-
description?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Indicates the FinancialAccount affected by this Transaction.
|
|
51
|
-
*/
|
|
52
|
-
financial_account: string;
|
|
53
|
-
/**
|
|
54
|
-
* Details about the Flow object that created the Transaction.
|
|
55
|
-
*/
|
|
56
|
-
flow?: V2.MoneyManagement.Transaction.Flow;
|
|
57
|
-
/**
|
|
58
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
59
|
-
*/
|
|
60
|
-
livemode: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Closed Enum. Current status of the Transaction.
|
|
63
|
-
* A Transaction is `pending` if either `balance_impact.inbound_pending` or `balance_impact.outbound_pending` is non-zero.
|
|
64
|
-
* A Transaction is `posted` if only `balance_impact.available` is non-zero.
|
|
65
|
-
* A Transaction is `void` if there is no balance impact.
|
|
66
|
-
* `posted` and `void` are terminal states, and no additional entries will be added to the Transaction.
|
|
67
|
-
*/
|
|
68
|
-
status: V2.MoneyManagement.Transaction.Status;
|
|
69
|
-
/**
|
|
70
|
-
* Timestamps for when the Transaction transitioned to a particular status.
|
|
71
|
-
*/
|
|
72
|
-
status_transitions: V2.MoneyManagement.Transaction.StatusTransitions;
|
|
73
|
-
}
|
|
74
|
-
export declare namespace V2 {
|
|
75
|
-
namespace MoneyManagement {
|
|
76
|
-
namespace Transaction {
|
|
77
|
-
interface BalanceImpact {
|
|
78
|
-
/**
|
|
79
|
-
* Impact to the available balance.
|
|
80
|
-
*/
|
|
81
|
-
available: V2Amount;
|
|
82
|
-
/**
|
|
83
|
-
* Impact to the inbound_pending balance.
|
|
84
|
-
*/
|
|
85
|
-
inbound_pending: V2Amount;
|
|
86
|
-
/**
|
|
87
|
-
* Impact to the outbound_pending balance.
|
|
88
|
-
*/
|
|
89
|
-
outbound_pending: V2Amount;
|
|
90
|
-
}
|
|
91
|
-
type Category = 'adjustment' | 'currency_conversion' | 'inbound_transfer' | 'inbound_transfer_reversal' | 'outbound_payment' | 'outbound_payment_reversal' | 'outbound_transfer' | 'outbound_transfer_reversal' | 'received_credit' | 'received_credit_reversal' | 'received_debit' | 'received_debit_reversal' | 'stripe_fee' | 'stripe_fee_tax';
|
|
92
|
-
interface Counterparty {
|
|
93
|
-
/**
|
|
94
|
-
* Name of the counterparty.
|
|
95
|
-
*/
|
|
96
|
-
name?: string;
|
|
97
|
-
}
|
|
98
|
-
interface Flow {
|
|
99
|
-
/**
|
|
100
|
-
* If applicable, the ID of the Adjustment that created this Transaction.
|
|
101
|
-
*/
|
|
102
|
-
adjustment?: string;
|
|
103
|
-
/**
|
|
104
|
-
* In the future, this will be the ID of the currency conversion that created this Transaction. For now, this field is always null.
|
|
105
|
-
*/
|
|
106
|
-
currency_conversion?: string;
|
|
107
|
-
/**
|
|
108
|
-
* If applicable, the ID of the FeeTransaction that created this Transaction.
|
|
109
|
-
*/
|
|
110
|
-
fee_transaction?: string;
|
|
111
|
-
/**
|
|
112
|
-
* If applicable, the ID of the InboundTransfer that created this Transaction.
|
|
113
|
-
*/
|
|
114
|
-
inbound_transfer?: string;
|
|
115
|
-
/**
|
|
116
|
-
* If applicable, the ID of the OutboundPayment that created this Transaction.
|
|
117
|
-
*/
|
|
118
|
-
outbound_payment?: string;
|
|
119
|
-
/**
|
|
120
|
-
* If applicable, the ID of the OutboundTransfer that created this Transaction.
|
|
121
|
-
*/
|
|
122
|
-
outbound_transfer?: string;
|
|
123
|
-
/**
|
|
124
|
-
* If applicable, the ID of the ReceivedCredit that created this Transaction.
|
|
125
|
-
*/
|
|
126
|
-
received_credit?: string;
|
|
127
|
-
/**
|
|
128
|
-
* If applicable, the ID of the ReceivedDebit that created this Transaction.
|
|
129
|
-
*/
|
|
130
|
-
received_debit?: string;
|
|
131
|
-
/**
|
|
132
|
-
* Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow.
|
|
133
|
-
*/
|
|
134
|
-
type: Flow.Type;
|
|
135
|
-
}
|
|
136
|
-
type Status = 'pending' | 'posted' | 'void';
|
|
137
|
-
interface StatusTransitions {
|
|
138
|
-
/**
|
|
139
|
-
* The time at which the Transaction became posted. Only present if status == posted.
|
|
140
|
-
*/
|
|
141
|
-
posted_at?: string;
|
|
142
|
-
/**
|
|
143
|
-
* The time at which the Transaction became void. Only present if status == void.
|
|
144
|
-
*/
|
|
145
|
-
void_at?: string;
|
|
146
|
-
}
|
|
147
|
-
namespace Flow {
|
|
148
|
-
type Type = 'adjustment' | 'currency_conversion' | 'fee_transaction' | 'inbound_transfer' | 'outbound_payment' | 'outbound_transfer' | 'received_credit' | 'received_debit';
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
export declare namespace V2 {
|
|
154
|
-
namespace MoneyManagement {
|
|
155
|
-
interface TransactionRetrieveParams {
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
export declare namespace V2 {
|
|
160
|
-
namespace MoneyManagement {
|
|
161
|
-
interface TransactionListParams {
|
|
162
|
-
/**
|
|
163
|
-
* Filter for Transactions created at an exact time.
|
|
164
|
-
*/
|
|
165
|
-
created?: string;
|
|
166
|
-
/**
|
|
167
|
-
* Filter for Transactions created after the specified timestamp.
|
|
168
|
-
*/
|
|
169
|
-
created_gt?: string;
|
|
170
|
-
/**
|
|
171
|
-
* Filter for Transactions created at or after the specified timestamp.
|
|
172
|
-
*/
|
|
173
|
-
created_gte?: string;
|
|
174
|
-
/**
|
|
175
|
-
* Filter for Transactions created before the specified timestamp.
|
|
176
|
-
*/
|
|
177
|
-
created_lt?: string;
|
|
178
|
-
/**
|
|
179
|
-
* Filter for Transactions created at or before the specified timestamp.
|
|
180
|
-
*/
|
|
181
|
-
created_lte?: string;
|
|
182
|
-
/**
|
|
183
|
-
* Filter for Transactions belonging to a FinancialAccount.
|
|
184
|
-
*/
|
|
185
|
-
financial_account?: string;
|
|
186
|
-
/**
|
|
187
|
-
* Filter for Transactions corresponding to a Flow.
|
|
188
|
-
*/
|
|
189
|
-
flow?: string;
|
|
190
|
-
/**
|
|
191
|
-
* The page limit.
|
|
192
|
-
*/
|
|
193
|
-
limit?: number;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.TransactionResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
-
class TransactionResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Returns a list of Transactions that match the provided filters.
|
|
9
|
-
*/
|
|
10
|
-
list(params, options) {
|
|
11
|
-
return this._makeRequest('GET', '/v2/money_management/transactions', params, options, {
|
|
12
|
-
methodType: 'list',
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Retrieves the details of a Transaction by ID.
|
|
17
|
-
*/
|
|
18
|
-
retrieve(id, params, options) {
|
|
19
|
-
return this._makeRequest('GET', `/v2/money_management/transactions/${id}`, params, options);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.TransactionResource = TransactionResource;
|
|
23
|
-
//# sourceMappingURL=Transactions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/Transactions.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAI1D,MAAa,mBAAoB,SAAQ,kCAAc;IACrD;;OAEG;IACH,IAAI,CACF,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EACnC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAqD,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,EAAE,EAAE,EACzC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAjCD,kDAiCC"}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { Stripe } from '../../../stripe.core.js';
|
|
2
|
-
import { V2 as V2Namespace0, Adjustment, AdjustmentResource } from './Adjustments.js';
|
|
3
|
-
import { V2 as V2Namespace1, FinancialAccount, FinancialAccountResource } from './FinancialAccounts.js';
|
|
4
|
-
import { V2 as V2Namespace2, FinancialAddress, FinancialAddressResource } from './FinancialAddresses.js';
|
|
5
|
-
import { V2 as V2Namespace3, InboundTransfer, InboundTransferResource } from './InboundTransfers.js';
|
|
6
|
-
import { V2 as V2Namespace4, OutboundPayment, OutboundPaymentResource } from './OutboundPayments.js';
|
|
7
|
-
import { V2 as V2Namespace5, OutboundPaymentQuote, OutboundPaymentQuoteResource } from './OutboundPaymentQuotes.js';
|
|
8
|
-
import { V2 as V2Namespace6, OutboundSetupIntent, OutboundSetupIntentResource } from './OutboundSetupIntents.js';
|
|
9
|
-
import { V2 as V2Namespace7, OutboundTransfer, OutboundTransferResource } from './OutboundTransfers.js';
|
|
10
|
-
import { V2 as V2Namespace8, PayoutMethod, PayoutMethodResource } from './PayoutMethods.js';
|
|
11
|
-
import { V2 as V2Namespace9, PayoutMethodsBankAccountSpec, PayoutMethodsBankAccountSpecResource } from './PayoutMethodsBankAccountSpec.js';
|
|
12
|
-
import { V2 as V2Namespace10, ReceivedCredit, ReceivedCreditResource } from './ReceivedCredits.js';
|
|
13
|
-
import { V2 as V2Namespace11, ReceivedDebit, ReceivedDebitResource } from './ReceivedDebits.js';
|
|
14
|
-
import { V2 as V2Namespace12, Transaction, TransactionResource } from './Transactions.js';
|
|
15
|
-
import { V2 as V2Namespace13, TransactionEntry, TransactionEntryResource } from './TransactionEntries.js';
|
|
16
|
-
export { Adjustment } from './Adjustments.js';
|
|
17
|
-
export { FinancialAccount } from './FinancialAccounts.js';
|
|
18
|
-
export { FinancialAddress } from './FinancialAddresses.js';
|
|
19
|
-
export { InboundTransfer } from './InboundTransfers.js';
|
|
20
|
-
export { OutboundPayment } from './OutboundPayments.js';
|
|
21
|
-
export { OutboundPaymentQuote } from './OutboundPaymentQuotes.js';
|
|
22
|
-
export { OutboundSetupIntent } from './OutboundSetupIntents.js';
|
|
23
|
-
export { OutboundTransfer } from './OutboundTransfers.js';
|
|
24
|
-
export { PayoutMethod } from './PayoutMethods.js';
|
|
25
|
-
export { PayoutMethodsBankAccountSpec } from './PayoutMethodsBankAccountSpec.js';
|
|
26
|
-
export { ReceivedCredit } from './ReceivedCredits.js';
|
|
27
|
-
export { ReceivedDebit } from './ReceivedDebits.js';
|
|
28
|
-
export { Transaction } from './Transactions.js';
|
|
29
|
-
export { TransactionEntry } from './TransactionEntries.js';
|
|
30
|
-
export declare class MoneyManagement {
|
|
31
|
-
private readonly stripe;
|
|
32
|
-
adjustments: AdjustmentResource;
|
|
33
|
-
financialAccounts: FinancialAccountResource;
|
|
34
|
-
financialAddresses: FinancialAddressResource;
|
|
35
|
-
inboundTransfers: InboundTransferResource;
|
|
36
|
-
outboundPayments: OutboundPaymentResource;
|
|
37
|
-
outboundPaymentQuotes: OutboundPaymentQuoteResource;
|
|
38
|
-
outboundSetupIntents: OutboundSetupIntentResource;
|
|
39
|
-
outboundTransfers: OutboundTransferResource;
|
|
40
|
-
payoutMethods: PayoutMethodResource;
|
|
41
|
-
payoutMethodsBankAccountSpecs: PayoutMethodsBankAccountSpecResource;
|
|
42
|
-
receivedCredits: ReceivedCreditResource;
|
|
43
|
-
receivedDebits: ReceivedDebitResource;
|
|
44
|
-
transactions: TransactionResource;
|
|
45
|
-
transactionEntries: TransactionEntryResource;
|
|
46
|
-
constructor(stripe: Stripe);
|
|
47
|
-
}
|
|
48
|
-
export declare namespace MoneyManagement {
|
|
49
|
-
export type AdjustmentListParams = V2Namespace0.MoneyManagement.AdjustmentListParams;
|
|
50
|
-
export type AdjustmentRetrieveParams = V2Namespace0.MoneyManagement.AdjustmentRetrieveParams;
|
|
51
|
-
export { Adjustment };
|
|
52
|
-
export type FinancialAccountListParams = V2Namespace1.MoneyManagement.FinancialAccountListParams;
|
|
53
|
-
export type FinancialAccountCreateParams = V2Namespace1.MoneyManagement.FinancialAccountCreateParams;
|
|
54
|
-
export type FinancialAccountRetrieveParams = V2Namespace1.MoneyManagement.FinancialAccountRetrieveParams;
|
|
55
|
-
export type FinancialAccountUpdateParams = V2Namespace1.MoneyManagement.FinancialAccountUpdateParams;
|
|
56
|
-
export type FinancialAccountCloseParams = V2Namespace1.MoneyManagement.FinancialAccountCloseParams;
|
|
57
|
-
export { FinancialAccount };
|
|
58
|
-
export type FinancialAddressListParams = V2Namespace2.MoneyManagement.FinancialAddressListParams;
|
|
59
|
-
export type FinancialAddressCreateParams = V2Namespace2.MoneyManagement.FinancialAddressCreateParams;
|
|
60
|
-
export type FinancialAddressRetrieveParams = V2Namespace2.MoneyManagement.FinancialAddressRetrieveParams;
|
|
61
|
-
export { FinancialAddress };
|
|
62
|
-
export type InboundTransferListParams = V2Namespace3.MoneyManagement.InboundTransferListParams;
|
|
63
|
-
export type InboundTransferCreateParams = V2Namespace3.MoneyManagement.InboundTransferCreateParams;
|
|
64
|
-
export type InboundTransferRetrieveParams = V2Namespace3.MoneyManagement.InboundTransferRetrieveParams;
|
|
65
|
-
export { InboundTransfer };
|
|
66
|
-
export type OutboundPaymentListParams = V2Namespace4.MoneyManagement.OutboundPaymentListParams;
|
|
67
|
-
export type OutboundPaymentCreateParams = V2Namespace4.MoneyManagement.OutboundPaymentCreateParams;
|
|
68
|
-
export type OutboundPaymentRetrieveParams = V2Namespace4.MoneyManagement.OutboundPaymentRetrieveParams;
|
|
69
|
-
export type OutboundPaymentCancelParams = V2Namespace4.MoneyManagement.OutboundPaymentCancelParams;
|
|
70
|
-
export { OutboundPayment };
|
|
71
|
-
export type OutboundPaymentQuoteCreateParams = V2Namespace5.MoneyManagement.OutboundPaymentQuoteCreateParams;
|
|
72
|
-
export type OutboundPaymentQuoteRetrieveParams = V2Namespace5.MoneyManagement.OutboundPaymentQuoteRetrieveParams;
|
|
73
|
-
export { OutboundPaymentQuote };
|
|
74
|
-
export type OutboundSetupIntentListParams = V2Namespace6.MoneyManagement.OutboundSetupIntentListParams;
|
|
75
|
-
export type OutboundSetupIntentCreateParams = V2Namespace6.MoneyManagement.OutboundSetupIntentCreateParams;
|
|
76
|
-
export type OutboundSetupIntentRetrieveParams = V2Namespace6.MoneyManagement.OutboundSetupIntentRetrieveParams;
|
|
77
|
-
export type OutboundSetupIntentUpdateParams = V2Namespace6.MoneyManagement.OutboundSetupIntentUpdateParams;
|
|
78
|
-
export type OutboundSetupIntentCancelParams = V2Namespace6.MoneyManagement.OutboundSetupIntentCancelParams;
|
|
79
|
-
export { OutboundSetupIntent };
|
|
80
|
-
export type OutboundTransferListParams = V2Namespace7.MoneyManagement.OutboundTransferListParams;
|
|
81
|
-
export type OutboundTransferCreateParams = V2Namespace7.MoneyManagement.OutboundTransferCreateParams;
|
|
82
|
-
export type OutboundTransferRetrieveParams = V2Namespace7.MoneyManagement.OutboundTransferRetrieveParams;
|
|
83
|
-
export type OutboundTransferCancelParams = V2Namespace7.MoneyManagement.OutboundTransferCancelParams;
|
|
84
|
-
export { OutboundTransfer };
|
|
85
|
-
export type PayoutMethodListParams = V2Namespace8.MoneyManagement.PayoutMethodListParams;
|
|
86
|
-
export type PayoutMethodRetrieveParams = V2Namespace8.MoneyManagement.PayoutMethodRetrieveParams;
|
|
87
|
-
export type PayoutMethodArchiveParams = V2Namespace8.MoneyManagement.PayoutMethodArchiveParams;
|
|
88
|
-
export type PayoutMethodUnarchiveParams = V2Namespace8.MoneyManagement.PayoutMethodUnarchiveParams;
|
|
89
|
-
export { PayoutMethod };
|
|
90
|
-
export type PayoutMethodsBankAccountSpecRetrieveParams = V2Namespace9.MoneyManagement.PayoutMethodsBankAccountSpecRetrieveParams;
|
|
91
|
-
export { PayoutMethodsBankAccountSpec };
|
|
92
|
-
export type ReceivedCreditListParams = V2Namespace10.MoneyManagement.ReceivedCreditListParams;
|
|
93
|
-
export type ReceivedCreditRetrieveParams = V2Namespace10.MoneyManagement.ReceivedCreditRetrieveParams;
|
|
94
|
-
export { ReceivedCredit };
|
|
95
|
-
export type ReceivedDebitListParams = V2Namespace11.MoneyManagement.ReceivedDebitListParams;
|
|
96
|
-
export type ReceivedDebitRetrieveParams = V2Namespace11.MoneyManagement.ReceivedDebitRetrieveParams;
|
|
97
|
-
export { ReceivedDebit };
|
|
98
|
-
export type TransactionListParams = V2Namespace12.MoneyManagement.TransactionListParams;
|
|
99
|
-
export type TransactionRetrieveParams = V2Namespace12.MoneyManagement.TransactionRetrieveParams;
|
|
100
|
-
export { Transaction };
|
|
101
|
-
export type TransactionEntryListParams = V2Namespace13.MoneyManagement.TransactionEntryListParams;
|
|
102
|
-
export type TransactionEntryRetrieveParams = V2Namespace13.MoneyManagement.TransactionEntryRetrieveParams;
|
|
103
|
-
export { TransactionEntry };
|
|
104
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.MoneyManagement = void 0;
|
|
5
|
-
const Adjustments_js_1 = require("./Adjustments.js");
|
|
6
|
-
const FinancialAccounts_js_1 = require("./FinancialAccounts.js");
|
|
7
|
-
const FinancialAddresses_js_1 = require("./FinancialAddresses.js");
|
|
8
|
-
const InboundTransfers_js_1 = require("./InboundTransfers.js");
|
|
9
|
-
const OutboundPayments_js_1 = require("./OutboundPayments.js");
|
|
10
|
-
const OutboundPaymentQuotes_js_1 = require("./OutboundPaymentQuotes.js");
|
|
11
|
-
const OutboundSetupIntents_js_1 = require("./OutboundSetupIntents.js");
|
|
12
|
-
const OutboundTransfers_js_1 = require("./OutboundTransfers.js");
|
|
13
|
-
const PayoutMethods_js_1 = require("./PayoutMethods.js");
|
|
14
|
-
const PayoutMethodsBankAccountSpec_js_1 = require("./PayoutMethodsBankAccountSpec.js");
|
|
15
|
-
const ReceivedCredits_js_1 = require("./ReceivedCredits.js");
|
|
16
|
-
const ReceivedDebits_js_1 = require("./ReceivedDebits.js");
|
|
17
|
-
const Transactions_js_1 = require("./Transactions.js");
|
|
18
|
-
const TransactionEntries_js_1 = require("./TransactionEntries.js");
|
|
19
|
-
class MoneyManagement {
|
|
20
|
-
constructor(stripe) {
|
|
21
|
-
this.stripe = stripe;
|
|
22
|
-
this.adjustments = new Adjustments_js_1.AdjustmentResource(stripe);
|
|
23
|
-
this.financialAccounts = new FinancialAccounts_js_1.FinancialAccountResource(stripe);
|
|
24
|
-
this.financialAddresses = new FinancialAddresses_js_1.FinancialAddressResource(stripe);
|
|
25
|
-
this.inboundTransfers = new InboundTransfers_js_1.InboundTransferResource(stripe);
|
|
26
|
-
this.outboundPayments = new OutboundPayments_js_1.OutboundPaymentResource(stripe);
|
|
27
|
-
this.outboundPaymentQuotes = new OutboundPaymentQuotes_js_1.OutboundPaymentQuoteResource(stripe);
|
|
28
|
-
this.outboundSetupIntents = new OutboundSetupIntents_js_1.OutboundSetupIntentResource(stripe);
|
|
29
|
-
this.outboundTransfers = new OutboundTransfers_js_1.OutboundTransferResource(stripe);
|
|
30
|
-
this.payoutMethods = new PayoutMethods_js_1.PayoutMethodResource(stripe);
|
|
31
|
-
this.payoutMethodsBankAccountSpecs = new PayoutMethodsBankAccountSpec_js_1.PayoutMethodsBankAccountSpecResource(stripe);
|
|
32
|
-
this.receivedCredits = new ReceivedCredits_js_1.ReceivedCreditResource(stripe);
|
|
33
|
-
this.receivedDebits = new ReceivedDebits_js_1.ReceivedDebitResource(stripe);
|
|
34
|
-
this.transactions = new Transactions_js_1.TransactionResource(stripe);
|
|
35
|
-
this.transactionEntries = new TransactionEntries_js_1.TransactionEntryResource(stripe);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.MoneyManagement = MoneyManagement;
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,qDAI0B;AAC1B,iEAIgC;AAChC,mEAIiC;AACjC,+DAI+B;AAC/B,+DAI+B;AAC/B,yEAIoC;AACpC,uEAImC;AACnC,iEAIgC;AAChC,yDAI4B;AAC5B,uFAI2C;AAC3C,6DAI8B;AAC9B,2DAI6B;AAC7B,uDAI2B;AAC3B,mEAIiC;AAiBjC,MAAa,eAAe;IAgB1B,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,WAAW,GAAG,IAAI,mCAAkB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,iBAAiB,GAAG,IAAI,+CAAwB,CAAC,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,kBAAkB,GAAG,IAAI,gDAAwB,CAAC,MAAM,CAAC,CAAC;QAC/D,IAAI,CAAC,gBAAgB,GAAG,IAAI,6CAAuB,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,IAAI,6CAAuB,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,CAAC,qBAAqB,GAAG,IAAI,uDAA4B,CAAC,MAAM,CAAC,CAAC;QACtE,IAAI,CAAC,oBAAoB,GAAG,IAAI,qDAA2B,CAAC,MAAM,CAAC,CAAC;QACpE,IAAI,CAAC,iBAAiB,GAAG,IAAI,+CAAwB,CAAC,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,aAAa,GAAG,IAAI,uCAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,6BAA6B,GAAG,IAAI,sEAAoC,CAC3E,MAAM,CACP,CAAC;QACF,IAAI,CAAC,eAAe,GAAG,IAAI,2CAAsB,CAAC,MAAM,CAAC,CAAC;QAC1D,IAAI,CAAC,cAAc,GAAG,IAAI,yCAAqB,CAAC,MAAM,CAAC,CAAC;QACxD,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,kBAAkB,GAAG,IAAI,gDAAwB,CAAC,MAAM,CAAC,CAAC;IACjE,CAAC;CACF;AAlCD,0CAkCC"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
-
import { RequestOptions, Response } from '../../../lib.js';
|
|
3
|
-
export declare class BusinessProfileResource extends StripeResource {
|
|
4
|
-
/**
|
|
5
|
-
* Retrieve the Stripe profile associated with the requesting merchant and livemode.
|
|
6
|
-
*/
|
|
7
|
-
me(params?: V2.Network.BusinessProfileMeParams, options?: RequestOptions): Promise<Response<BusinessProfile>>;
|
|
8
|
-
/**
|
|
9
|
-
* Retrieve a Stripe profile by its Network ID.
|
|
10
|
-
*/
|
|
11
|
-
retrieve(id: string, params?: V2.Network.BusinessProfileRetrieveParams, options?: RequestOptions): Promise<Response<BusinessProfile>>;
|
|
12
|
-
}
|
|
13
|
-
export interface BusinessProfile {
|
|
14
|
-
/**
|
|
15
|
-
* The ID of the Stripe business profile; also known as the Network ID. This is the ID used to identify the business on the Stripe network.
|
|
16
|
-
*/
|
|
17
|
-
id: string;
|
|
18
|
-
/**
|
|
19
|
-
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
20
|
-
*/
|
|
21
|
-
object: 'v2.network.business_profile';
|
|
22
|
-
/**
|
|
23
|
-
* Branding data for the business.
|
|
24
|
-
*/
|
|
25
|
-
branding?: V2.Network.BusinessProfile.Branding;
|
|
26
|
-
/**
|
|
27
|
-
* The description of the business.
|
|
28
|
-
*/
|
|
29
|
-
description?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The display name of the Stripe profile.
|
|
32
|
-
*/
|
|
33
|
-
display_name: string;
|
|
34
|
-
/**
|
|
35
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
36
|
-
*/
|
|
37
|
-
livemode: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* The URL of the business.
|
|
40
|
-
*/
|
|
41
|
-
url?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The username of the Stripe profile.
|
|
44
|
-
*/
|
|
45
|
-
username: string;
|
|
46
|
-
}
|
|
47
|
-
export declare namespace V2 {
|
|
48
|
-
namespace Network {
|
|
49
|
-
namespace BusinessProfile {
|
|
50
|
-
interface Branding {
|
|
51
|
-
/**
|
|
52
|
-
* URL of the icon for the business. The image will be square and at least 128px x 128px.
|
|
53
|
-
*/
|
|
54
|
-
icon?: Branding.Icon;
|
|
55
|
-
/**
|
|
56
|
-
* URL of the logo for the business. The image will be at least 128px x 128px.
|
|
57
|
-
*/
|
|
58
|
-
logo?: Branding.Logo;
|
|
59
|
-
/**
|
|
60
|
-
* A CSS hex color value representing the primary branding color for this business.
|
|
61
|
-
*/
|
|
62
|
-
primary_color?: string;
|
|
63
|
-
/**
|
|
64
|
-
* A CSS hex color value representing the secondary branding color for this business.
|
|
65
|
-
*/
|
|
66
|
-
secondary_color?: string;
|
|
67
|
-
}
|
|
68
|
-
namespace Branding {
|
|
69
|
-
interface Icon {
|
|
70
|
-
/**
|
|
71
|
-
* The URL of the image in its original size.
|
|
72
|
-
*/
|
|
73
|
-
original: string;
|
|
74
|
-
}
|
|
75
|
-
interface Logo {
|
|
76
|
-
/**
|
|
77
|
-
* The URL of the image in its original size.
|
|
78
|
-
*/
|
|
79
|
-
original: string;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
export declare namespace V2 {
|
|
86
|
-
namespace Network {
|
|
87
|
-
interface BusinessProfileRetrieveParams {
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export declare namespace V2 {
|
|
92
|
-
namespace Network {
|
|
93
|
-
interface BusinessProfileMeParams {
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.BusinessProfileResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
-
class BusinessProfileResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Retrieve the Stripe profile associated with the requesting merchant and livemode.
|
|
9
|
-
*/
|
|
10
|
-
me(params, options) {
|
|
11
|
-
return this._makeRequest('GET', '/v2/network/business_profiles/me', params, options);
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Retrieve a Stripe profile by its Network ID.
|
|
15
|
-
*/
|
|
16
|
-
retrieve(id, params, options) {
|
|
17
|
-
return this._makeRequest('GET', `/v2/network/business_profiles/${id}`, params, options);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.BusinessProfileResource = BusinessProfileResource;
|
|
21
|
-
//# sourceMappingURL=BusinessProfiles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessProfiles.js","sourceRoot":"","sources":["../../../../src/resources/V2/Network/BusinessProfiles.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAG1D,MAAa,uBAAwB,SAAQ,kCAAc;IACzD;;OAEG;IACH,EAAE,CACA,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,kCAAkC,EAClC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iCAAiC,EAAE,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA9BD,0DA8BC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Stripe } from '../../../stripe.core.js';
|
|
2
|
-
import { V2 as V2Namespace0, BusinessProfile, BusinessProfileResource } from './BusinessProfiles.js';
|
|
3
|
-
export { BusinessProfile } from './BusinessProfiles.js';
|
|
4
|
-
export declare class Network {
|
|
5
|
-
private readonly stripe;
|
|
6
|
-
businessProfiles: BusinessProfileResource;
|
|
7
|
-
constructor(stripe: Stripe);
|
|
8
|
-
}
|
|
9
|
-
export declare namespace Network {
|
|
10
|
-
export type BusinessProfileMeParams = V2Namespace0.Network.BusinessProfileMeParams;
|
|
11
|
-
export type BusinessProfileRetrieveParams = V2Namespace0.Network.BusinessProfileRetrieveParams;
|
|
12
|
-
export { BusinessProfile };
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Network = void 0;
|
|
5
|
-
const BusinessProfiles_js_1 = require("./BusinessProfiles.js");
|
|
6
|
-
class Network {
|
|
7
|
-
constructor(stripe) {
|
|
8
|
-
this.stripe = stripe;
|
|
9
|
-
this.businessProfiles = new BusinessProfiles_js_1.BusinessProfileResource(stripe);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.Network = Network;
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/Network/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,+DAI+B;AAI/B,MAAa,OAAO;IAGlB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,gBAAgB,GAAG,IAAI,6CAAuB,CAAC,MAAM,CAAC,CAAC;IAC9D,CAAC;CACF;AAND,0BAMC"}
|