diff --git a/package.json b/package.json index b303c839f6..0ec6c5a08b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "node": ">=12.*" }, "main": "lib/stripe.js", - "types": "types/2022-11-15/index.d.ts", + "types": "types/index.d.ts", "devDependencies": { "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", diff --git a/types/2022-11-15/AccountLinks.d.ts b/types/AccountLinks.d.ts similarity index 100% rename from types/2022-11-15/AccountLinks.d.ts rename to types/AccountLinks.d.ts diff --git a/types/2022-11-15/AccountLinksResource.d.ts b/types/AccountLinksResource.d.ts similarity index 100% rename from types/2022-11-15/AccountLinksResource.d.ts rename to types/AccountLinksResource.d.ts diff --git a/types/2022-11-15/Accounts.d.ts b/types/Accounts.d.ts similarity index 100% rename from types/2022-11-15/Accounts.d.ts rename to types/Accounts.d.ts diff --git a/types/2022-11-15/AccountsResource.d.ts b/types/AccountsResource.d.ts similarity index 100% rename from types/2022-11-15/AccountsResource.d.ts rename to types/AccountsResource.d.ts diff --git a/types/2022-11-15/ApplePayDomains.d.ts b/types/ApplePayDomains.d.ts similarity index 100% rename from types/2022-11-15/ApplePayDomains.d.ts rename to types/ApplePayDomains.d.ts diff --git a/types/2022-11-15/ApplePayDomainsResource.d.ts b/types/ApplePayDomainsResource.d.ts similarity index 100% rename from types/2022-11-15/ApplePayDomainsResource.d.ts rename to types/ApplePayDomainsResource.d.ts diff --git a/types/2022-11-15/ApplicationFees.d.ts b/types/ApplicationFees.d.ts similarity index 100% rename from types/2022-11-15/ApplicationFees.d.ts rename to types/ApplicationFees.d.ts diff --git a/types/2022-11-15/ApplicationFeesResource.d.ts b/types/ApplicationFeesResource.d.ts similarity index 100% rename from types/2022-11-15/ApplicationFeesResource.d.ts rename to types/ApplicationFeesResource.d.ts diff --git a/types/2022-11-15/Applications.d.ts b/types/Applications.d.ts similarity index 100% rename from types/2022-11-15/Applications.d.ts rename to types/Applications.d.ts diff --git a/types/2022-11-15/Apps/Secrets.d.ts b/types/Apps/Secrets.d.ts similarity index 100% rename from types/2022-11-15/Apps/Secrets.d.ts rename to types/Apps/Secrets.d.ts diff --git a/types/2022-11-15/Apps/SecretsResource.d.ts b/types/Apps/SecretsResource.d.ts similarity index 100% rename from types/2022-11-15/Apps/SecretsResource.d.ts rename to types/Apps/SecretsResource.d.ts diff --git a/types/2022-11-15/Balance.d.ts b/types/Balance.d.ts similarity index 100% rename from types/2022-11-15/Balance.d.ts rename to types/Balance.d.ts diff --git a/types/2022-11-15/BalanceResource.d.ts b/types/BalanceResource.d.ts similarity index 100% rename from types/2022-11-15/BalanceResource.d.ts rename to types/BalanceResource.d.ts diff --git a/types/2022-11-15/BalanceTransactions.d.ts b/types/BalanceTransactions.d.ts similarity index 100% rename from types/2022-11-15/BalanceTransactions.d.ts rename to types/BalanceTransactions.d.ts diff --git a/types/2022-11-15/BalanceTransactionsResource.d.ts b/types/BalanceTransactionsResource.d.ts similarity index 100% rename from types/2022-11-15/BalanceTransactionsResource.d.ts rename to types/BalanceTransactionsResource.d.ts diff --git a/types/2022-11-15/BankAccounts.d.ts b/types/BankAccounts.d.ts similarity index 100% rename from types/2022-11-15/BankAccounts.d.ts rename to types/BankAccounts.d.ts diff --git a/types/2022-11-15/BillingPortal/Configurations.d.ts b/types/BillingPortal/Configurations.d.ts similarity index 100% rename from types/2022-11-15/BillingPortal/Configurations.d.ts rename to types/BillingPortal/Configurations.d.ts diff --git a/types/2022-11-15/BillingPortal/ConfigurationsResource.d.ts b/types/BillingPortal/ConfigurationsResource.d.ts similarity index 100% rename from types/2022-11-15/BillingPortal/ConfigurationsResource.d.ts rename to types/BillingPortal/ConfigurationsResource.d.ts diff --git a/types/2022-11-15/BillingPortal/Sessions.d.ts b/types/BillingPortal/Sessions.d.ts similarity index 100% rename from types/2022-11-15/BillingPortal/Sessions.d.ts rename to types/BillingPortal/Sessions.d.ts diff --git a/types/2022-11-15/BillingPortal/SessionsResource.d.ts b/types/BillingPortal/SessionsResource.d.ts similarity index 100% rename from types/2022-11-15/BillingPortal/SessionsResource.d.ts rename to types/BillingPortal/SessionsResource.d.ts diff --git a/types/2022-11-15/Capabilities.d.ts b/types/Capabilities.d.ts similarity index 100% rename from types/2022-11-15/Capabilities.d.ts rename to types/Capabilities.d.ts diff --git a/types/2022-11-15/Cards.d.ts b/types/Cards.d.ts similarity index 100% rename from types/2022-11-15/Cards.d.ts rename to types/Cards.d.ts diff --git a/types/2022-11-15/CashBalances.d.ts b/types/CashBalances.d.ts similarity index 100% rename from types/2022-11-15/CashBalances.d.ts rename to types/CashBalances.d.ts diff --git a/types/2022-11-15/Charges.d.ts b/types/Charges.d.ts similarity index 100% rename from types/2022-11-15/Charges.d.ts rename to types/Charges.d.ts diff --git a/types/2022-11-15/ChargesResource.d.ts b/types/ChargesResource.d.ts similarity index 100% rename from types/2022-11-15/ChargesResource.d.ts rename to types/ChargesResource.d.ts diff --git a/types/2022-11-15/Checkout/Sessions.d.ts b/types/Checkout/Sessions.d.ts similarity index 100% rename from types/2022-11-15/Checkout/Sessions.d.ts rename to types/Checkout/Sessions.d.ts diff --git a/types/2022-11-15/Checkout/SessionsResource.d.ts b/types/Checkout/SessionsResource.d.ts similarity index 100% rename from types/2022-11-15/Checkout/SessionsResource.d.ts rename to types/Checkout/SessionsResource.d.ts diff --git a/types/2022-11-15/ConnectCollectionTransfers.d.ts b/types/ConnectCollectionTransfers.d.ts similarity index 100% rename from types/2022-11-15/ConnectCollectionTransfers.d.ts rename to types/ConnectCollectionTransfers.d.ts diff --git a/types/2022-11-15/CountrySpecs.d.ts b/types/CountrySpecs.d.ts similarity index 100% rename from types/2022-11-15/CountrySpecs.d.ts rename to types/CountrySpecs.d.ts diff --git a/types/2022-11-15/CountrySpecsResource.d.ts b/types/CountrySpecsResource.d.ts similarity index 100% rename from types/2022-11-15/CountrySpecsResource.d.ts rename to types/CountrySpecsResource.d.ts diff --git a/types/2022-11-15/Coupons.d.ts b/types/Coupons.d.ts similarity index 100% rename from types/2022-11-15/Coupons.d.ts rename to types/Coupons.d.ts diff --git a/types/2022-11-15/CouponsResource.d.ts b/types/CouponsResource.d.ts similarity index 100% rename from types/2022-11-15/CouponsResource.d.ts rename to types/CouponsResource.d.ts diff --git a/types/2022-11-15/CreditNoteLineItems.d.ts b/types/CreditNoteLineItems.d.ts similarity index 100% rename from types/2022-11-15/CreditNoteLineItems.d.ts rename to types/CreditNoteLineItems.d.ts diff --git a/types/2022-11-15/CreditNotes.d.ts b/types/CreditNotes.d.ts similarity index 100% rename from types/2022-11-15/CreditNotes.d.ts rename to types/CreditNotes.d.ts diff --git a/types/2022-11-15/CreditNotesResource.d.ts b/types/CreditNotesResource.d.ts similarity index 100% rename from types/2022-11-15/CreditNotesResource.d.ts rename to types/CreditNotesResource.d.ts diff --git a/types/2022-11-15/CustomerBalanceTransactions.d.ts b/types/CustomerBalanceTransactions.d.ts similarity index 100% rename from types/2022-11-15/CustomerBalanceTransactions.d.ts rename to types/CustomerBalanceTransactions.d.ts diff --git a/types/2022-11-15/CustomerCashBalanceTransactions.d.ts b/types/CustomerCashBalanceTransactions.d.ts similarity index 100% rename from types/2022-11-15/CustomerCashBalanceTransactions.d.ts rename to types/CustomerCashBalanceTransactions.d.ts diff --git a/types/2022-11-15/Customers.d.ts b/types/Customers.d.ts similarity index 100% rename from types/2022-11-15/Customers.d.ts rename to types/Customers.d.ts diff --git a/types/2022-11-15/CustomersResource.d.ts b/types/CustomersResource.d.ts similarity index 100% rename from types/2022-11-15/CustomersResource.d.ts rename to types/CustomersResource.d.ts diff --git a/types/2022-11-15/Discounts.d.ts b/types/Discounts.d.ts similarity index 100% rename from types/2022-11-15/Discounts.d.ts rename to types/Discounts.d.ts diff --git a/types/2022-11-15/Disputes.d.ts b/types/Disputes.d.ts similarity index 100% rename from types/2022-11-15/Disputes.d.ts rename to types/Disputes.d.ts diff --git a/types/2022-11-15/DisputesResource.d.ts b/types/DisputesResource.d.ts similarity index 100% rename from types/2022-11-15/DisputesResource.d.ts rename to types/DisputesResource.d.ts diff --git a/types/2022-11-15/EphemeralKeys.d.ts b/types/EphemeralKeys.d.ts similarity index 100% rename from types/2022-11-15/EphemeralKeys.d.ts rename to types/EphemeralKeys.d.ts diff --git a/types/2022-11-15/EphemeralKeysResource.d.ts b/types/EphemeralKeysResource.d.ts similarity index 100% rename from types/2022-11-15/EphemeralKeysResource.d.ts rename to types/EphemeralKeysResource.d.ts diff --git a/types/2022-11-15/Events.d.ts b/types/Events.d.ts similarity index 100% rename from types/2022-11-15/Events.d.ts rename to types/Events.d.ts diff --git a/types/2022-11-15/EventsResource.d.ts b/types/EventsResource.d.ts similarity index 100% rename from types/2022-11-15/EventsResource.d.ts rename to types/EventsResource.d.ts diff --git a/types/2022-11-15/ExchangeRates.d.ts b/types/ExchangeRates.d.ts similarity index 100% rename from types/2022-11-15/ExchangeRates.d.ts rename to types/ExchangeRates.d.ts diff --git a/types/2022-11-15/ExchangeRatesResource.d.ts b/types/ExchangeRatesResource.d.ts similarity index 100% rename from types/2022-11-15/ExchangeRatesResource.d.ts rename to types/ExchangeRatesResource.d.ts diff --git a/types/2022-11-15/FeeRefunds.d.ts b/types/FeeRefunds.d.ts similarity index 100% rename from types/2022-11-15/FeeRefunds.d.ts rename to types/FeeRefunds.d.ts diff --git a/types/2022-11-15/FileLinks.d.ts b/types/FileLinks.d.ts similarity index 100% rename from types/2022-11-15/FileLinks.d.ts rename to types/FileLinks.d.ts diff --git a/types/2022-11-15/FileLinksResource.d.ts b/types/FileLinksResource.d.ts similarity index 100% rename from types/2022-11-15/FileLinksResource.d.ts rename to types/FileLinksResource.d.ts diff --git a/types/2022-11-15/Files.d.ts b/types/Files.d.ts similarity index 100% rename from types/2022-11-15/Files.d.ts rename to types/Files.d.ts diff --git a/types/2022-11-15/FilesResource.d.ts b/types/FilesResource.d.ts similarity index 100% rename from types/2022-11-15/FilesResource.d.ts rename to types/FilesResource.d.ts diff --git a/types/2022-11-15/FinancialConnections/AccountOwners.d.ts b/types/FinancialConnections/AccountOwners.d.ts similarity index 100% rename from types/2022-11-15/FinancialConnections/AccountOwners.d.ts rename to types/FinancialConnections/AccountOwners.d.ts diff --git a/types/2022-11-15/FinancialConnections/AccountOwnerships.d.ts b/types/FinancialConnections/AccountOwnerships.d.ts similarity index 100% rename from types/2022-11-15/FinancialConnections/AccountOwnerships.d.ts rename to types/FinancialConnections/AccountOwnerships.d.ts diff --git a/types/2022-11-15/FinancialConnections/Accounts.d.ts b/types/FinancialConnections/Accounts.d.ts similarity index 100% rename from types/2022-11-15/FinancialConnections/Accounts.d.ts rename to types/FinancialConnections/Accounts.d.ts diff --git a/types/2022-11-15/FinancialConnections/AccountsResource.d.ts b/types/FinancialConnections/AccountsResource.d.ts similarity index 100% rename from types/2022-11-15/FinancialConnections/AccountsResource.d.ts rename to types/FinancialConnections/AccountsResource.d.ts diff --git a/types/2022-11-15/FinancialConnections/Sessions.d.ts b/types/FinancialConnections/Sessions.d.ts similarity index 100% rename from types/2022-11-15/FinancialConnections/Sessions.d.ts rename to types/FinancialConnections/Sessions.d.ts diff --git a/types/2022-11-15/FinancialConnections/SessionsResource.d.ts b/types/FinancialConnections/SessionsResource.d.ts similarity index 100% rename from types/2022-11-15/FinancialConnections/SessionsResource.d.ts rename to types/FinancialConnections/SessionsResource.d.ts diff --git a/types/2022-11-15/FundingInstructions.d.ts b/types/FundingInstructions.d.ts similarity index 100% rename from types/2022-11-15/FundingInstructions.d.ts rename to types/FundingInstructions.d.ts diff --git a/types/2022-11-15/Identity/VerificationReports.d.ts b/types/Identity/VerificationReports.d.ts similarity index 100% rename from types/2022-11-15/Identity/VerificationReports.d.ts rename to types/Identity/VerificationReports.d.ts diff --git a/types/2022-11-15/Identity/VerificationReportsResource.d.ts b/types/Identity/VerificationReportsResource.d.ts similarity index 100% rename from types/2022-11-15/Identity/VerificationReportsResource.d.ts rename to types/Identity/VerificationReportsResource.d.ts diff --git a/types/2022-11-15/Identity/VerificationSessions.d.ts b/types/Identity/VerificationSessions.d.ts similarity index 100% rename from types/2022-11-15/Identity/VerificationSessions.d.ts rename to types/Identity/VerificationSessions.d.ts diff --git a/types/2022-11-15/Identity/VerificationSessionsResource.d.ts b/types/Identity/VerificationSessionsResource.d.ts similarity index 100% rename from types/2022-11-15/Identity/VerificationSessionsResource.d.ts rename to types/Identity/VerificationSessionsResource.d.ts diff --git a/types/2022-11-15/InvoiceItems.d.ts b/types/InvoiceItems.d.ts similarity index 100% rename from types/2022-11-15/InvoiceItems.d.ts rename to types/InvoiceItems.d.ts diff --git a/types/2022-11-15/InvoiceItemsResource.d.ts b/types/InvoiceItemsResource.d.ts similarity index 100% rename from types/2022-11-15/InvoiceItemsResource.d.ts rename to types/InvoiceItemsResource.d.ts diff --git a/types/2022-11-15/InvoiceLineItems.d.ts b/types/InvoiceLineItems.d.ts similarity index 100% rename from types/2022-11-15/InvoiceLineItems.d.ts rename to types/InvoiceLineItems.d.ts diff --git a/types/2022-11-15/Invoices.d.ts b/types/Invoices.d.ts similarity index 100% rename from types/2022-11-15/Invoices.d.ts rename to types/Invoices.d.ts diff --git a/types/2022-11-15/InvoicesResource.d.ts b/types/InvoicesResource.d.ts similarity index 100% rename from types/2022-11-15/InvoicesResource.d.ts rename to types/InvoicesResource.d.ts diff --git a/types/2022-11-15/Issuing/Authorizations.d.ts b/types/Issuing/Authorizations.d.ts similarity index 100% rename from types/2022-11-15/Issuing/Authorizations.d.ts rename to types/Issuing/Authorizations.d.ts diff --git a/types/2022-11-15/Issuing/AuthorizationsResource.d.ts b/types/Issuing/AuthorizationsResource.d.ts similarity index 100% rename from types/2022-11-15/Issuing/AuthorizationsResource.d.ts rename to types/Issuing/AuthorizationsResource.d.ts diff --git a/types/2022-11-15/Issuing/Cardholders.d.ts b/types/Issuing/Cardholders.d.ts similarity index 100% rename from types/2022-11-15/Issuing/Cardholders.d.ts rename to types/Issuing/Cardholders.d.ts diff --git a/types/2022-11-15/Issuing/CardholdersResource.d.ts b/types/Issuing/CardholdersResource.d.ts similarity index 100% rename from types/2022-11-15/Issuing/CardholdersResource.d.ts rename to types/Issuing/CardholdersResource.d.ts diff --git a/types/2022-11-15/Issuing/Cards.d.ts b/types/Issuing/Cards.d.ts similarity index 100% rename from types/2022-11-15/Issuing/Cards.d.ts rename to types/Issuing/Cards.d.ts diff --git a/types/2022-11-15/Issuing/CardsResource.d.ts b/types/Issuing/CardsResource.d.ts similarity index 100% rename from types/2022-11-15/Issuing/CardsResource.d.ts rename to types/Issuing/CardsResource.d.ts diff --git a/types/2022-11-15/Issuing/Disputes.d.ts b/types/Issuing/Disputes.d.ts similarity index 100% rename from types/2022-11-15/Issuing/Disputes.d.ts rename to types/Issuing/Disputes.d.ts diff --git a/types/2022-11-15/Issuing/DisputesResource.d.ts b/types/Issuing/DisputesResource.d.ts similarity index 100% rename from types/2022-11-15/Issuing/DisputesResource.d.ts rename to types/Issuing/DisputesResource.d.ts diff --git a/types/2022-11-15/Issuing/Transactions.d.ts b/types/Issuing/Transactions.d.ts similarity index 100% rename from types/2022-11-15/Issuing/Transactions.d.ts rename to types/Issuing/Transactions.d.ts diff --git a/types/2022-11-15/Issuing/TransactionsResource.d.ts b/types/Issuing/TransactionsResource.d.ts similarity index 100% rename from types/2022-11-15/Issuing/TransactionsResource.d.ts rename to types/Issuing/TransactionsResource.d.ts diff --git a/types/2022-11-15/LineItems.d.ts b/types/LineItems.d.ts similarity index 100% rename from types/2022-11-15/LineItems.d.ts rename to types/LineItems.d.ts diff --git a/types/2022-11-15/LoginLinks.d.ts b/types/LoginLinks.d.ts similarity index 100% rename from types/2022-11-15/LoginLinks.d.ts rename to types/LoginLinks.d.ts diff --git a/types/2022-11-15/Mandates.d.ts b/types/Mandates.d.ts similarity index 100% rename from types/2022-11-15/Mandates.d.ts rename to types/Mandates.d.ts diff --git a/types/2022-11-15/MandatesResource.d.ts b/types/MandatesResource.d.ts similarity index 100% rename from types/2022-11-15/MandatesResource.d.ts rename to types/MandatesResource.d.ts diff --git a/types/2022-11-15/PaymentIntents.d.ts b/types/PaymentIntents.d.ts similarity index 100% rename from types/2022-11-15/PaymentIntents.d.ts rename to types/PaymentIntents.d.ts diff --git a/types/2022-11-15/PaymentIntentsResource.d.ts b/types/PaymentIntentsResource.d.ts similarity index 100% rename from types/2022-11-15/PaymentIntentsResource.d.ts rename to types/PaymentIntentsResource.d.ts diff --git a/types/2022-11-15/PaymentLinks.d.ts b/types/PaymentLinks.d.ts similarity index 100% rename from types/2022-11-15/PaymentLinks.d.ts rename to types/PaymentLinks.d.ts diff --git a/types/2022-11-15/PaymentLinksResource.d.ts b/types/PaymentLinksResource.d.ts similarity index 100% rename from types/2022-11-15/PaymentLinksResource.d.ts rename to types/PaymentLinksResource.d.ts diff --git a/types/2022-11-15/PaymentMethods.d.ts b/types/PaymentMethods.d.ts similarity index 100% rename from types/2022-11-15/PaymentMethods.d.ts rename to types/PaymentMethods.d.ts diff --git a/types/2022-11-15/PaymentMethodsResource.d.ts b/types/PaymentMethodsResource.d.ts similarity index 100% rename from types/2022-11-15/PaymentMethodsResource.d.ts rename to types/PaymentMethodsResource.d.ts diff --git a/types/2022-11-15/Payouts.d.ts b/types/Payouts.d.ts similarity index 100% rename from types/2022-11-15/Payouts.d.ts rename to types/Payouts.d.ts diff --git a/types/2022-11-15/PayoutsResource.d.ts b/types/PayoutsResource.d.ts similarity index 100% rename from types/2022-11-15/PayoutsResource.d.ts rename to types/PayoutsResource.d.ts diff --git a/types/2022-11-15/Persons.d.ts b/types/Persons.d.ts similarity index 100% rename from types/2022-11-15/Persons.d.ts rename to types/Persons.d.ts diff --git a/types/2022-11-15/Plans.d.ts b/types/Plans.d.ts similarity index 100% rename from types/2022-11-15/Plans.d.ts rename to types/Plans.d.ts diff --git a/types/2022-11-15/PlansResource.d.ts b/types/PlansResource.d.ts similarity index 100% rename from types/2022-11-15/PlansResource.d.ts rename to types/PlansResource.d.ts diff --git a/types/2022-11-15/PlatformTaxFees.d.ts b/types/PlatformTaxFees.d.ts similarity index 100% rename from types/2022-11-15/PlatformTaxFees.d.ts rename to types/PlatformTaxFees.d.ts diff --git a/types/2022-11-15/Prices.d.ts b/types/Prices.d.ts similarity index 100% rename from types/2022-11-15/Prices.d.ts rename to types/Prices.d.ts diff --git a/types/2022-11-15/PricesResource.d.ts b/types/PricesResource.d.ts similarity index 100% rename from types/2022-11-15/PricesResource.d.ts rename to types/PricesResource.d.ts diff --git a/types/2022-11-15/Products.d.ts b/types/Products.d.ts similarity index 100% rename from types/2022-11-15/Products.d.ts rename to types/Products.d.ts diff --git a/types/2022-11-15/ProductsResource.d.ts b/types/ProductsResource.d.ts similarity index 100% rename from types/2022-11-15/ProductsResource.d.ts rename to types/ProductsResource.d.ts diff --git a/types/2022-11-15/PromotionCodes.d.ts b/types/PromotionCodes.d.ts similarity index 100% rename from types/2022-11-15/PromotionCodes.d.ts rename to types/PromotionCodes.d.ts diff --git a/types/2022-11-15/PromotionCodesResource.d.ts b/types/PromotionCodesResource.d.ts similarity index 100% rename from types/2022-11-15/PromotionCodesResource.d.ts rename to types/PromotionCodesResource.d.ts diff --git a/types/2022-11-15/Quotes.d.ts b/types/Quotes.d.ts similarity index 100% rename from types/2022-11-15/Quotes.d.ts rename to types/Quotes.d.ts diff --git a/types/2022-11-15/QuotesResource.d.ts b/types/QuotesResource.d.ts similarity index 100% rename from types/2022-11-15/QuotesResource.d.ts rename to types/QuotesResource.d.ts diff --git a/types/2022-11-15/Radar/EarlyFraudWarnings.d.ts b/types/Radar/EarlyFraudWarnings.d.ts similarity index 100% rename from types/2022-11-15/Radar/EarlyFraudWarnings.d.ts rename to types/Radar/EarlyFraudWarnings.d.ts diff --git a/types/2022-11-15/Radar/EarlyFraudWarningsResource.d.ts b/types/Radar/EarlyFraudWarningsResource.d.ts similarity index 100% rename from types/2022-11-15/Radar/EarlyFraudWarningsResource.d.ts rename to types/Radar/EarlyFraudWarningsResource.d.ts diff --git a/types/2022-11-15/Radar/ValueListItems.d.ts b/types/Radar/ValueListItems.d.ts similarity index 100% rename from types/2022-11-15/Radar/ValueListItems.d.ts rename to types/Radar/ValueListItems.d.ts diff --git a/types/2022-11-15/Radar/ValueListItemsResource.d.ts b/types/Radar/ValueListItemsResource.d.ts similarity index 100% rename from types/2022-11-15/Radar/ValueListItemsResource.d.ts rename to types/Radar/ValueListItemsResource.d.ts diff --git a/types/2022-11-15/Radar/ValueLists.d.ts b/types/Radar/ValueLists.d.ts similarity index 100% rename from types/2022-11-15/Radar/ValueLists.d.ts rename to types/Radar/ValueLists.d.ts diff --git a/types/2022-11-15/Radar/ValueListsResource.d.ts b/types/Radar/ValueListsResource.d.ts similarity index 100% rename from types/2022-11-15/Radar/ValueListsResource.d.ts rename to types/Radar/ValueListsResource.d.ts diff --git a/types/2022-11-15/Refunds.d.ts b/types/Refunds.d.ts similarity index 100% rename from types/2022-11-15/Refunds.d.ts rename to types/Refunds.d.ts diff --git a/types/2022-11-15/RefundsResource.d.ts b/types/RefundsResource.d.ts similarity index 100% rename from types/2022-11-15/RefundsResource.d.ts rename to types/RefundsResource.d.ts diff --git a/types/2022-11-15/Reporting/ReportRuns.d.ts b/types/Reporting/ReportRuns.d.ts similarity index 100% rename from types/2022-11-15/Reporting/ReportRuns.d.ts rename to types/Reporting/ReportRuns.d.ts diff --git a/types/2022-11-15/Reporting/ReportRunsResource.d.ts b/types/Reporting/ReportRunsResource.d.ts similarity index 100% rename from types/2022-11-15/Reporting/ReportRunsResource.d.ts rename to types/Reporting/ReportRunsResource.d.ts diff --git a/types/2022-11-15/Reporting/ReportTypes.d.ts b/types/Reporting/ReportTypes.d.ts similarity index 100% rename from types/2022-11-15/Reporting/ReportTypes.d.ts rename to types/Reporting/ReportTypes.d.ts diff --git a/types/2022-11-15/Reporting/ReportTypesResource.d.ts b/types/Reporting/ReportTypesResource.d.ts similarity index 100% rename from types/2022-11-15/Reporting/ReportTypesResource.d.ts rename to types/Reporting/ReportTypesResource.d.ts diff --git a/types/2022-11-15/ReserveTransactions.d.ts b/types/ReserveTransactions.d.ts similarity index 100% rename from types/2022-11-15/ReserveTransactions.d.ts rename to types/ReserveTransactions.d.ts diff --git a/types/2022-11-15/Reviews.d.ts b/types/Reviews.d.ts similarity index 100% rename from types/2022-11-15/Reviews.d.ts rename to types/Reviews.d.ts diff --git a/types/2022-11-15/ReviewsResource.d.ts b/types/ReviewsResource.d.ts similarity index 100% rename from types/2022-11-15/ReviewsResource.d.ts rename to types/ReviewsResource.d.ts diff --git a/types/2022-11-15/SetupAttempts.d.ts b/types/SetupAttempts.d.ts similarity index 100% rename from types/2022-11-15/SetupAttempts.d.ts rename to types/SetupAttempts.d.ts diff --git a/types/2022-11-15/SetupAttemptsResource.d.ts b/types/SetupAttemptsResource.d.ts similarity index 100% rename from types/2022-11-15/SetupAttemptsResource.d.ts rename to types/SetupAttemptsResource.d.ts diff --git a/types/2022-11-15/SetupIntents.d.ts b/types/SetupIntents.d.ts similarity index 100% rename from types/2022-11-15/SetupIntents.d.ts rename to types/SetupIntents.d.ts diff --git a/types/2022-11-15/SetupIntentsResource.d.ts b/types/SetupIntentsResource.d.ts similarity index 100% rename from types/2022-11-15/SetupIntentsResource.d.ts rename to types/SetupIntentsResource.d.ts diff --git a/types/2022-11-15/ShippingRates.d.ts b/types/ShippingRates.d.ts similarity index 100% rename from types/2022-11-15/ShippingRates.d.ts rename to types/ShippingRates.d.ts diff --git a/types/2022-11-15/ShippingRatesResource.d.ts b/types/ShippingRatesResource.d.ts similarity index 100% rename from types/2022-11-15/ShippingRatesResource.d.ts rename to types/ShippingRatesResource.d.ts diff --git a/types/2022-11-15/Sigma/ScheduledQueryRuns.d.ts b/types/Sigma/ScheduledQueryRuns.d.ts similarity index 100% rename from types/2022-11-15/Sigma/ScheduledQueryRuns.d.ts rename to types/Sigma/ScheduledQueryRuns.d.ts diff --git a/types/2022-11-15/Sigma/ScheduledQueryRunsResource.d.ts b/types/Sigma/ScheduledQueryRunsResource.d.ts similarity index 100% rename from types/2022-11-15/Sigma/ScheduledQueryRunsResource.d.ts rename to types/Sigma/ScheduledQueryRunsResource.d.ts diff --git a/types/2022-11-15/SourceMandateNotifications.d.ts b/types/SourceMandateNotifications.d.ts similarity index 100% rename from types/2022-11-15/SourceMandateNotifications.d.ts rename to types/SourceMandateNotifications.d.ts diff --git a/types/2022-11-15/SourceTransactions.d.ts b/types/SourceTransactions.d.ts similarity index 100% rename from types/2022-11-15/SourceTransactions.d.ts rename to types/SourceTransactions.d.ts diff --git a/types/2022-11-15/Sources.d.ts b/types/Sources.d.ts similarity index 100% rename from types/2022-11-15/Sources.d.ts rename to types/Sources.d.ts diff --git a/types/2022-11-15/SourcesResource.d.ts b/types/SourcesResource.d.ts similarity index 100% rename from types/2022-11-15/SourcesResource.d.ts rename to types/SourcesResource.d.ts diff --git a/types/2022-11-15/SubscriptionItems.d.ts b/types/SubscriptionItems.d.ts similarity index 100% rename from types/2022-11-15/SubscriptionItems.d.ts rename to types/SubscriptionItems.d.ts diff --git a/types/2022-11-15/SubscriptionItemsResource.d.ts b/types/SubscriptionItemsResource.d.ts similarity index 100% rename from types/2022-11-15/SubscriptionItemsResource.d.ts rename to types/SubscriptionItemsResource.d.ts diff --git a/types/2022-11-15/SubscriptionSchedules.d.ts b/types/SubscriptionSchedules.d.ts similarity index 100% rename from types/2022-11-15/SubscriptionSchedules.d.ts rename to types/SubscriptionSchedules.d.ts diff --git a/types/2022-11-15/SubscriptionSchedulesResource.d.ts b/types/SubscriptionSchedulesResource.d.ts similarity index 100% rename from types/2022-11-15/SubscriptionSchedulesResource.d.ts rename to types/SubscriptionSchedulesResource.d.ts diff --git a/types/2022-11-15/Subscriptions.d.ts b/types/Subscriptions.d.ts similarity index 100% rename from types/2022-11-15/Subscriptions.d.ts rename to types/Subscriptions.d.ts diff --git a/types/2022-11-15/SubscriptionsResource.d.ts b/types/SubscriptionsResource.d.ts similarity index 100% rename from types/2022-11-15/SubscriptionsResource.d.ts rename to types/SubscriptionsResource.d.ts diff --git a/types/2022-11-15/TaxCodes.d.ts b/types/TaxCodes.d.ts similarity index 100% rename from types/2022-11-15/TaxCodes.d.ts rename to types/TaxCodes.d.ts diff --git a/types/2022-11-15/TaxCodesResource.d.ts b/types/TaxCodesResource.d.ts similarity index 100% rename from types/2022-11-15/TaxCodesResource.d.ts rename to types/TaxCodesResource.d.ts diff --git a/types/2022-11-15/TaxDeductedAtSources.d.ts b/types/TaxDeductedAtSources.d.ts similarity index 100% rename from types/2022-11-15/TaxDeductedAtSources.d.ts rename to types/TaxDeductedAtSources.d.ts diff --git a/types/2022-11-15/TaxIds.d.ts b/types/TaxIds.d.ts similarity index 100% rename from types/2022-11-15/TaxIds.d.ts rename to types/TaxIds.d.ts diff --git a/types/2022-11-15/TaxRates.d.ts b/types/TaxRates.d.ts similarity index 100% rename from types/2022-11-15/TaxRates.d.ts rename to types/TaxRates.d.ts diff --git a/types/2022-11-15/TaxRatesResource.d.ts b/types/TaxRatesResource.d.ts similarity index 100% rename from types/2022-11-15/TaxRatesResource.d.ts rename to types/TaxRatesResource.d.ts diff --git a/types/2022-11-15/Terminal/Configurations.d.ts b/types/Terminal/Configurations.d.ts similarity index 100% rename from types/2022-11-15/Terminal/Configurations.d.ts rename to types/Terminal/Configurations.d.ts diff --git a/types/2022-11-15/Terminal/ConfigurationsResource.d.ts b/types/Terminal/ConfigurationsResource.d.ts similarity index 100% rename from types/2022-11-15/Terminal/ConfigurationsResource.d.ts rename to types/Terminal/ConfigurationsResource.d.ts diff --git a/types/2022-11-15/Terminal/ConnectionTokens.d.ts b/types/Terminal/ConnectionTokens.d.ts similarity index 100% rename from types/2022-11-15/Terminal/ConnectionTokens.d.ts rename to types/Terminal/ConnectionTokens.d.ts diff --git a/types/2022-11-15/Terminal/ConnectionTokensResource.d.ts b/types/Terminal/ConnectionTokensResource.d.ts similarity index 100% rename from types/2022-11-15/Terminal/ConnectionTokensResource.d.ts rename to types/Terminal/ConnectionTokensResource.d.ts diff --git a/types/2022-11-15/Terminal/Locations.d.ts b/types/Terminal/Locations.d.ts similarity index 100% rename from types/2022-11-15/Terminal/Locations.d.ts rename to types/Terminal/Locations.d.ts diff --git a/types/2022-11-15/Terminal/LocationsResource.d.ts b/types/Terminal/LocationsResource.d.ts similarity index 100% rename from types/2022-11-15/Terminal/LocationsResource.d.ts rename to types/Terminal/LocationsResource.d.ts diff --git a/types/2022-11-15/Terminal/Readers.d.ts b/types/Terminal/Readers.d.ts similarity index 100% rename from types/2022-11-15/Terminal/Readers.d.ts rename to types/Terminal/Readers.d.ts diff --git a/types/2022-11-15/Terminal/ReadersResource.d.ts b/types/Terminal/ReadersResource.d.ts similarity index 100% rename from types/2022-11-15/Terminal/ReadersResource.d.ts rename to types/Terminal/ReadersResource.d.ts diff --git a/types/2022-11-15/TestHelpers/CustomersResource.d.ts b/types/TestHelpers/CustomersResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/CustomersResource.d.ts rename to types/TestHelpers/CustomersResource.d.ts diff --git a/types/2022-11-15/TestHelpers/Issuing/CardsResource.d.ts b/types/TestHelpers/Issuing/CardsResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/Issuing/CardsResource.d.ts rename to types/TestHelpers/Issuing/CardsResource.d.ts diff --git a/types/2022-11-15/TestHelpers/RefundsResource.d.ts b/types/TestHelpers/RefundsResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/RefundsResource.d.ts rename to types/TestHelpers/RefundsResource.d.ts diff --git a/types/2022-11-15/TestHelpers/Terminal/ReadersResource.d.ts b/types/TestHelpers/Terminal/ReadersResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/Terminal/ReadersResource.d.ts rename to types/TestHelpers/Terminal/ReadersResource.d.ts diff --git a/types/2022-11-15/TestHelpers/TestClocks.d.ts b/types/TestHelpers/TestClocks.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/TestClocks.d.ts rename to types/TestHelpers/TestClocks.d.ts diff --git a/types/2022-11-15/TestHelpers/TestClocksResource.d.ts b/types/TestHelpers/TestClocksResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/TestClocksResource.d.ts rename to types/TestHelpers/TestClocksResource.d.ts diff --git a/types/2022-11-15/TestHelpers/Treasury/InboundTransfersResource.d.ts b/types/TestHelpers/Treasury/InboundTransfersResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/Treasury/InboundTransfersResource.d.ts rename to types/TestHelpers/Treasury/InboundTransfersResource.d.ts diff --git a/types/2022-11-15/TestHelpers/Treasury/OutboundPaymentsResource.d.ts b/types/TestHelpers/Treasury/OutboundPaymentsResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/Treasury/OutboundPaymentsResource.d.ts rename to types/TestHelpers/Treasury/OutboundPaymentsResource.d.ts diff --git a/types/2022-11-15/TestHelpers/Treasury/OutboundTransfersResource.d.ts b/types/TestHelpers/Treasury/OutboundTransfersResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/Treasury/OutboundTransfersResource.d.ts rename to types/TestHelpers/Treasury/OutboundTransfersResource.d.ts diff --git a/types/2022-11-15/TestHelpers/Treasury/ReceivedCreditsResource.d.ts b/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/Treasury/ReceivedCreditsResource.d.ts rename to types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts diff --git a/types/2022-11-15/TestHelpers/Treasury/ReceivedDebitsResource.d.ts b/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts similarity index 100% rename from types/2022-11-15/TestHelpers/Treasury/ReceivedDebitsResource.d.ts rename to types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts diff --git a/types/2022-11-15/Tokens.d.ts b/types/Tokens.d.ts similarity index 100% rename from types/2022-11-15/Tokens.d.ts rename to types/Tokens.d.ts diff --git a/types/2022-11-15/TokensResource.d.ts b/types/TokensResource.d.ts similarity index 100% rename from types/2022-11-15/TokensResource.d.ts rename to types/TokensResource.d.ts diff --git a/types/2022-11-15/Topups.d.ts b/types/Topups.d.ts similarity index 100% rename from types/2022-11-15/Topups.d.ts rename to types/Topups.d.ts diff --git a/types/2022-11-15/TopupsResource.d.ts b/types/TopupsResource.d.ts similarity index 100% rename from types/2022-11-15/TopupsResource.d.ts rename to types/TopupsResource.d.ts diff --git a/types/2022-11-15/TransferReversals.d.ts b/types/TransferReversals.d.ts similarity index 100% rename from types/2022-11-15/TransferReversals.d.ts rename to types/TransferReversals.d.ts diff --git a/types/2022-11-15/Transfers.d.ts b/types/Transfers.d.ts similarity index 100% rename from types/2022-11-15/Transfers.d.ts rename to types/Transfers.d.ts diff --git a/types/2022-11-15/TransfersResource.d.ts b/types/TransfersResource.d.ts similarity index 100% rename from types/2022-11-15/TransfersResource.d.ts rename to types/TransfersResource.d.ts diff --git a/types/2022-11-15/Treasury/CreditReversals.d.ts b/types/Treasury/CreditReversals.d.ts similarity index 100% rename from types/2022-11-15/Treasury/CreditReversals.d.ts rename to types/Treasury/CreditReversals.d.ts diff --git a/types/2022-11-15/Treasury/CreditReversalsResource.d.ts b/types/Treasury/CreditReversalsResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/CreditReversalsResource.d.ts rename to types/Treasury/CreditReversalsResource.d.ts diff --git a/types/2022-11-15/Treasury/DebitReversals.d.ts b/types/Treasury/DebitReversals.d.ts similarity index 100% rename from types/2022-11-15/Treasury/DebitReversals.d.ts rename to types/Treasury/DebitReversals.d.ts diff --git a/types/2022-11-15/Treasury/DebitReversalsResource.d.ts b/types/Treasury/DebitReversalsResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/DebitReversalsResource.d.ts rename to types/Treasury/DebitReversalsResource.d.ts diff --git a/types/2022-11-15/Treasury/FinancialAccountFeatures.d.ts b/types/Treasury/FinancialAccountFeatures.d.ts similarity index 100% rename from types/2022-11-15/Treasury/FinancialAccountFeatures.d.ts rename to types/Treasury/FinancialAccountFeatures.d.ts diff --git a/types/2022-11-15/Treasury/FinancialAccounts.d.ts b/types/Treasury/FinancialAccounts.d.ts similarity index 100% rename from types/2022-11-15/Treasury/FinancialAccounts.d.ts rename to types/Treasury/FinancialAccounts.d.ts diff --git a/types/2022-11-15/Treasury/FinancialAccountsResource.d.ts b/types/Treasury/FinancialAccountsResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/FinancialAccountsResource.d.ts rename to types/Treasury/FinancialAccountsResource.d.ts diff --git a/types/2022-11-15/Treasury/InboundTransfers.d.ts b/types/Treasury/InboundTransfers.d.ts similarity index 100% rename from types/2022-11-15/Treasury/InboundTransfers.d.ts rename to types/Treasury/InboundTransfers.d.ts diff --git a/types/2022-11-15/Treasury/InboundTransfersResource.d.ts b/types/Treasury/InboundTransfersResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/InboundTransfersResource.d.ts rename to types/Treasury/InboundTransfersResource.d.ts diff --git a/types/2022-11-15/Treasury/OutboundPayments.d.ts b/types/Treasury/OutboundPayments.d.ts similarity index 100% rename from types/2022-11-15/Treasury/OutboundPayments.d.ts rename to types/Treasury/OutboundPayments.d.ts diff --git a/types/2022-11-15/Treasury/OutboundPaymentsResource.d.ts b/types/Treasury/OutboundPaymentsResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/OutboundPaymentsResource.d.ts rename to types/Treasury/OutboundPaymentsResource.d.ts diff --git a/types/2022-11-15/Treasury/OutboundTransfers.d.ts b/types/Treasury/OutboundTransfers.d.ts similarity index 100% rename from types/2022-11-15/Treasury/OutboundTransfers.d.ts rename to types/Treasury/OutboundTransfers.d.ts diff --git a/types/2022-11-15/Treasury/OutboundTransfersResource.d.ts b/types/Treasury/OutboundTransfersResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/OutboundTransfersResource.d.ts rename to types/Treasury/OutboundTransfersResource.d.ts diff --git a/types/2022-11-15/Treasury/ReceivedCredits.d.ts b/types/Treasury/ReceivedCredits.d.ts similarity index 100% rename from types/2022-11-15/Treasury/ReceivedCredits.d.ts rename to types/Treasury/ReceivedCredits.d.ts diff --git a/types/2022-11-15/Treasury/ReceivedCreditsResource.d.ts b/types/Treasury/ReceivedCreditsResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/ReceivedCreditsResource.d.ts rename to types/Treasury/ReceivedCreditsResource.d.ts diff --git a/types/2022-11-15/Treasury/ReceivedDebits.d.ts b/types/Treasury/ReceivedDebits.d.ts similarity index 100% rename from types/2022-11-15/Treasury/ReceivedDebits.d.ts rename to types/Treasury/ReceivedDebits.d.ts diff --git a/types/2022-11-15/Treasury/ReceivedDebitsResource.d.ts b/types/Treasury/ReceivedDebitsResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/ReceivedDebitsResource.d.ts rename to types/Treasury/ReceivedDebitsResource.d.ts diff --git a/types/2022-11-15/Treasury/TransactionEntries.d.ts b/types/Treasury/TransactionEntries.d.ts similarity index 100% rename from types/2022-11-15/Treasury/TransactionEntries.d.ts rename to types/Treasury/TransactionEntries.d.ts diff --git a/types/2022-11-15/Treasury/TransactionEntriesResource.d.ts b/types/Treasury/TransactionEntriesResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/TransactionEntriesResource.d.ts rename to types/Treasury/TransactionEntriesResource.d.ts diff --git a/types/2022-11-15/Treasury/Transactions.d.ts b/types/Treasury/Transactions.d.ts similarity index 100% rename from types/2022-11-15/Treasury/Transactions.d.ts rename to types/Treasury/Transactions.d.ts diff --git a/types/2022-11-15/Treasury/TransactionsResource.d.ts b/types/Treasury/TransactionsResource.d.ts similarity index 100% rename from types/2022-11-15/Treasury/TransactionsResource.d.ts rename to types/Treasury/TransactionsResource.d.ts diff --git a/types/2022-11-15/UsageRecordSummaries.d.ts b/types/UsageRecordSummaries.d.ts similarity index 100% rename from types/2022-11-15/UsageRecordSummaries.d.ts rename to types/UsageRecordSummaries.d.ts diff --git a/types/2022-11-15/UsageRecords.d.ts b/types/UsageRecords.d.ts similarity index 100% rename from types/2022-11-15/UsageRecords.d.ts rename to types/UsageRecords.d.ts diff --git a/types/2022-11-15/WebhookEndpoints.d.ts b/types/WebhookEndpoints.d.ts similarity index 100% rename from types/2022-11-15/WebhookEndpoints.d.ts rename to types/WebhookEndpoints.d.ts diff --git a/types/2022-11-15/WebhookEndpointsResource.d.ts b/types/WebhookEndpointsResource.d.ts similarity index 100% rename from types/2022-11-15/WebhookEndpointsResource.d.ts rename to types/WebhookEndpointsResource.d.ts diff --git a/types/2022-11-15/index.d.ts b/types/index.d.ts similarity index 98% rename from types/2022-11-15/index.d.ts rename to types/index.d.ts index f62ed6fe28..e1d31b5505 100644 --- a/types/2022-11-15/index.d.ts +++ b/types/index.d.ts @@ -1,12 +1,12 @@ // File generated from our OpenAPI spec -/// -/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// +/// +/// /// /// /// diff --git a/types/test/typescriptTest.ts b/types/test/typescriptTest.ts index 08c2418b2b..983ff53088 100644 --- a/types/test/typescriptTest.ts +++ b/types/test/typescriptTest.ts @@ -5,7 +5,7 @@ * and to perform a basic sanity check that types are exported as intended. */ -/// +/// import Stripe from 'stripe'; let stripe = new Stripe('sk_test_123', {