stripe 18.5.0-beta.2 → 18.6.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +108 -0
- package/OPENAPI_VERSION +1 -1
- package/README.md +5 -3
- package/VERSION +1 -1
- package/cjs/Error.js +63 -55
- package/cjs/RequestSender.js +7 -4
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/Mandates.js +5 -0
- package/cjs/resources/Subscriptions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/BillSettings.js +27 -0
- package/cjs/resources/V2/Billing/Cadences.js +23 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
- package/cjs/resources/V2/Billing/Intents.js +36 -0
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +17 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
- package/cjs/resources/V2/Billing/Profiles.js +19 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
- package/cjs/resources/V2/Billing/RateCards.js +29 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +16 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +12 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +13 -0
- package/cjs/resources/V2/Reporting/Reports.js +12 -0
- package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
- package/cjs/resources.js +64 -24
- package/cjs/stripe.core.js +27 -1
- package/esm/Error.js +50 -43
- package/esm/RequestSender.js +7 -4
- package/esm/apiVersion.js +1 -1
- package/esm/resources/Mandates.js +5 -0
- package/esm/resources/Subscriptions.js +4 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/BillSettings.js +24 -0
- package/esm/resources/V2/Billing/Cadences.js +20 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
- package/esm/resources/V2/Billing/Intents.js +33 -0
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
- package/esm/resources/V2/Billing/LicenseFees.js +24 -0
- package/esm/resources/V2/Billing/LicensedItems.js +22 -0
- package/esm/resources/V2/Billing/MeteredItems.js +19 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +14 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
- package/esm/resources/V2/Billing/PricingPlans.js +26 -0
- package/esm/resources/V2/Billing/Profiles.js +16 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
- package/esm/resources/V2/Billing/RateCards.js +26 -0
- package/esm/resources/V2/Billing/ServiceActions.js +13 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +9 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +10 -0
- package/esm/resources/V2/Reporting/Reports.js +9 -0
- package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
- package/esm/resources.js +45 -5
- package/esm/stripe.core.js +27 -1
- package/package.json +1 -1
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +76 -13
- package/types/Accounts.d.ts +2 -2
- package/types/Balance.d.ts +2 -7
- package/types/BalanceSettings.d.ts +52 -46
- package/types/BalanceSettingsResource.d.ts +55 -46
- package/types/Billing/AlertTriggereds.d.ts +16 -1
- package/types/Billing/Alerts.d.ts +116 -1
- package/types/Billing/AlertsResource.d.ts +93 -2
- package/types/Billing/CreditBalanceSummary.d.ts +118 -2
- package/types/Billing/CreditBalanceSummaryResource.d.ts +12 -0
- package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
- package/types/Billing/CreditGrants.d.ts +71 -1
- package/types/Billing/CreditGrantsResource.d.ts +32 -1
- package/types/Billing/MeterUsageRows.d.ts +1 -1
- package/types/Billing/Meters.d.ts +1 -1
- package/types/Billing/MetersResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +5 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
- package/types/Charges.d.ts +71 -5
- package/types/Checkout/Sessions.d.ts +128 -2
- package/types/Checkout/SessionsResource.d.ts +167 -3
- package/types/CreditNotesResource.d.ts +3 -3
- package/types/Disputes.d.ts +7 -2
- package/types/Errors.d.ts +51 -45
- package/types/FileLinksResource.d.ts +1 -1
- package/types/Files.d.ts +1 -0
- package/types/FilesResource.d.ts +3 -1
- package/types/InvoiceItems.d.ts +104 -2
- package/types/InvoiceLineItems.d.ts +113 -2
- package/types/InvoicePaymentsResource.d.ts +3 -0
- package/types/Invoices.d.ts +19 -2
- package/types/InvoicesResource.d.ts +64 -0
- package/types/Mandates.d.ts +58 -1
- package/types/MandatesResource.d.ts +31 -0
- package/types/PaymentAttemptRecords.d.ts +154 -9
- package/types/PaymentAttemptRecordsResource.d.ts +5 -0
- package/types/PaymentIntents.d.ts +136 -2
- package/types/PaymentIntentsResource.d.ts +280 -3
- package/types/PaymentLinksResource.d.ts +1 -1
- package/types/PaymentMethods.d.ts +5 -0
- package/types/PaymentRecords.d.ts +154 -9
- package/types/PaymentRecordsResource.d.ts +24 -3
- package/types/Payouts.d.ts +1 -1
- package/types/PromotionCodes.d.ts +5 -2
- package/types/QuotePreviewInvoices.d.ts +19 -2
- package/types/QuotePreviewSubscriptionSchedules.d.ts +47 -0
- package/types/SetupAttempts.d.ts +7 -1
- package/types/SetupIntents.d.ts +95 -1
- package/types/SetupIntentsResource.d.ts +207 -0
- package/types/SubscriptionSchedules.d.ts +47 -0
- package/types/SubscriptionSchedulesResource.d.ts +112 -0
- package/types/Subscriptions.d.ts +5 -0
- package/types/SubscriptionsResource.d.ts +145 -7
- package/types/Terminal/Configurations.d.ts +28 -0
- package/types/Terminal/ConfigurationsResource.d.ts +72 -0
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +28 -1
- package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/BillSettings.d.ts +120 -0
- package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
- package/types/V2/Billing/Cadences.d.ts +354 -0
- package/types/V2/Billing/CadencesResource.d.ts +489 -0
- package/types/V2/Billing/CollectionSettingVersions.d.ts +314 -0
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
- package/types/V2/Billing/CollectionSettings.d.ts +337 -0
- package/types/V2/Billing/CollectionSettingsResource.d.ts +675 -0
- package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
- package/types/V2/Billing/IntentActions.d.ts +458 -0
- package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
- package/types/V2/Billing/Intents.d.ts +117 -0
- package/types/V2/Billing/IntentsResource.d.ts +574 -0
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
- package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/LicenseFees.d.ts +163 -0
- package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
- package/types/V2/Billing/LicensedItems.d.ts +73 -0
- package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
- package/types/V2/Billing/MeteredItems.d.ts +101 -0
- package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
- package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +134 -0
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +93 -0
- package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/PricingPlans.d.ts +84 -0
- package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
- package/types/V2/Billing/Profiles.d.ts +70 -0
- package/types/V2/Billing/ProfilesResource.d.ts +150 -0
- package/types/V2/Billing/RateCardRates.d.ts +138 -0
- package/types/V2/Billing/RateCardSubscriptions.d.ts +134 -0
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
- package/types/V2/Billing/RateCardVersions.d.ts +39 -0
- package/types/V2/Billing/RateCards/RatesResource.d.ts +209 -0
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/RateCards.d.ts +98 -0
- package/types/V2/Billing/RateCardsResource.d.ts +162 -0
- package/types/V2/Billing/ServiceActions.d.ts +240 -0
- package/types/V2/Billing/ServiceActionsResource.d.ts +302 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +32 -0
- package/types/V2/Core/Accounts.d.ts +49 -0
- package/types/V2/Core/AccountsResource.d.ts +78 -0
- package/types/V2/Core/ClaimableSandboxes.d.ts +349 -0
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +310 -0
- package/types/V2/Core/Persons.d.ts +16 -0
- package/types/V2/EventTypes.d.ts +3682 -632
- package/types/V2/Events.d.ts +7 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +7 -2
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +1 -1
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +7 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +7 -0
- package/types/V2/Reporting/ReportRuns.d.ts +178 -0
- package/types/V2/Reporting/ReportRunsResource.d.ts +99 -0
- package/types/V2/Reporting/Reports.d.ts +120 -0
- package/types/V2/Reporting/ReportsResource.d.ts +30 -0
- package/types/V2/Tax/AutomaticRules.d.ts +53 -0
- package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
- package/types/WebhookEndpointsResource.d.ts +2 -1
- package/types/Webhooks.d.ts +2 -0
- package/types/index.d.ts +125 -5
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
|
@@ -2464,10 +2464,13 @@ declare module 'stripe' {
|
|
|
2464
2464
|
type Type =
|
|
2465
2465
|
| 'ae_crn'
|
|
2466
2466
|
| 'ae_vat'
|
|
2467
|
+
| 'ao_nif'
|
|
2467
2468
|
| 'at_fn'
|
|
2468
2469
|
| 'au_abn'
|
|
2469
2470
|
| 'au_acn'
|
|
2470
2471
|
| 'au_in'
|
|
2472
|
+
| 'az_tin'
|
|
2473
|
+
| 'bd_etin'
|
|
2471
2474
|
| 'be_cbe'
|
|
2472
2475
|
| 'bg_uic'
|
|
2473
2476
|
| 'br_cnpj'
|
|
@@ -2477,11 +2480,14 @@ declare module 'stripe' {
|
|
|
2477
2480
|
| 'ca_rid'
|
|
2478
2481
|
| 'ch_chid'
|
|
2479
2482
|
| 'ch_uid'
|
|
2483
|
+
| 'cr_cpj'
|
|
2484
|
+
| 'cr_nite'
|
|
2480
2485
|
| 'cy_tic'
|
|
2481
2486
|
| 'cz_ico'
|
|
2482
2487
|
| 'de_hrn'
|
|
2483
2488
|
| 'de_vat'
|
|
2484
2489
|
| 'dk_cvr'
|
|
2490
|
+
| 'do_rcn'
|
|
2485
2491
|
| 'ee_rk'
|
|
2486
2492
|
| 'es_cif'
|
|
2487
2493
|
| 'fi_yt'
|
|
@@ -2490,6 +2496,7 @@ declare module 'stripe' {
|
|
|
2490
2496
|
| 'gb_crn'
|
|
2491
2497
|
| 'gi_crn'
|
|
2492
2498
|
| 'gr_gemi'
|
|
2499
|
+
| 'gt_nit'
|
|
2493
2500
|
| 'hk_br'
|
|
2494
2501
|
| 'hk_cr'
|
|
2495
2502
|
| 'hk_mbs'
|
|
@@ -2498,6 +2505,7 @@ declare module 'stripe' {
|
|
|
2498
2505
|
| 'it_rea'
|
|
2499
2506
|
| 'it_vat'
|
|
2500
2507
|
| 'jp_cn'
|
|
2508
|
+
| 'kz_bin'
|
|
2501
2509
|
| 'li_uid'
|
|
2502
2510
|
| 'lt_ccrn'
|
|
2503
2511
|
| 'lu_rcs'
|
|
@@ -2507,12 +2515,17 @@ declare module 'stripe' {
|
|
|
2507
2515
|
| 'my_brn'
|
|
2508
2516
|
| 'my_coid'
|
|
2509
2517
|
| 'my_sst'
|
|
2518
|
+
| 'mz_nuit'
|
|
2510
2519
|
| 'nl_kvk'
|
|
2511
2520
|
| 'no_orgnr'
|
|
2512
2521
|
| 'nz_bn'
|
|
2522
|
+
| 'pe_ruc'
|
|
2523
|
+
| 'pk_ntn'
|
|
2513
2524
|
| 'pl_regon'
|
|
2514
2525
|
| 'pt_vat'
|
|
2515
2526
|
| 'ro_cui'
|
|
2527
|
+
| 'sa_crn'
|
|
2528
|
+
| 'sa_tin'
|
|
2516
2529
|
| 'se_orgnr'
|
|
2517
2530
|
| 'sg_uen'
|
|
2518
2531
|
| 'si_msp'
|
|
@@ -4297,12 +4310,28 @@ declare module 'stripe' {
|
|
|
4297
4310
|
namespace IdNumber {
|
|
4298
4311
|
type Type =
|
|
4299
4312
|
| 'ae_eid'
|
|
4313
|
+
| 'ao_nif'
|
|
4314
|
+
| 'az_tin'
|
|
4315
|
+
| 'bd_brc'
|
|
4316
|
+
| 'bd_etin'
|
|
4317
|
+
| 'bd_nid'
|
|
4300
4318
|
| 'br_cpf'
|
|
4319
|
+
| 'cr_cpf'
|
|
4320
|
+
| 'cr_dimex'
|
|
4321
|
+
| 'cr_nite'
|
|
4301
4322
|
| 'de_stn'
|
|
4323
|
+
| 'do_rcn'
|
|
4324
|
+
| 'gt_nit'
|
|
4302
4325
|
| 'hk_id'
|
|
4326
|
+
| 'kz_iin'
|
|
4303
4327
|
| 'mx_rfc'
|
|
4304
4328
|
| 'my_nric'
|
|
4329
|
+
| 'mz_nuit'
|
|
4305
4330
|
| 'nl_bsn'
|
|
4331
|
+
| 'pe_dni'
|
|
4332
|
+
| 'pk_cnic'
|
|
4333
|
+
| 'pk_snic'
|
|
4334
|
+
| 'sa_tin'
|
|
4306
4335
|
| 'sg_fin'
|
|
4307
4336
|
| 'sg_nric'
|
|
4308
4337
|
| 'th_lc'
|
|
@@ -5334,6 +5363,11 @@ declare module 'stripe' {
|
|
|
5334
5363
|
|
|
5335
5364
|
namespace Configuration {
|
|
5336
5365
|
interface Customer {
|
|
5366
|
+
/**
|
|
5367
|
+
* Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
5368
|
+
*/
|
|
5369
|
+
applied?: boolean;
|
|
5370
|
+
|
|
5337
5371
|
/**
|
|
5338
5372
|
* Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information.
|
|
5339
5373
|
*/
|
|
@@ -5502,6 +5536,11 @@ declare module 'stripe' {
|
|
|
5502
5536
|
}
|
|
5503
5537
|
|
|
5504
5538
|
interface Merchant {
|
|
5539
|
+
/**
|
|
5540
|
+
* Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
5541
|
+
*/
|
|
5542
|
+
applied?: boolean;
|
|
5543
|
+
|
|
5505
5544
|
/**
|
|
5506
5545
|
* Settings used for Bacs debit payments.
|
|
5507
5546
|
*/
|
|
@@ -6451,6 +6490,11 @@ declare module 'stripe' {
|
|
|
6451
6490
|
}
|
|
6452
6491
|
|
|
6453
6492
|
interface Recipient {
|
|
6493
|
+
/**
|
|
6494
|
+
* Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
6495
|
+
*/
|
|
6496
|
+
applied?: boolean;
|
|
6497
|
+
|
|
6454
6498
|
/**
|
|
6455
6499
|
* Capabilities to request on the Recipient Configuration.
|
|
6456
6500
|
*/
|
|
@@ -6535,6 +6579,11 @@ declare module 'stripe' {
|
|
|
6535
6579
|
}
|
|
6536
6580
|
|
|
6537
6581
|
interface Storer {
|
|
6582
|
+
/**
|
|
6583
|
+
* Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
6584
|
+
*/
|
|
6585
|
+
applied?: boolean;
|
|
6586
|
+
|
|
6538
6587
|
/**
|
|
6539
6588
|
* Capabilities to request on the Storer Configuration.
|
|
6540
6589
|
*/
|
|
@@ -7744,10 +7793,13 @@ declare module 'stripe' {
|
|
|
7744
7793
|
type Type =
|
|
7745
7794
|
| 'ae_crn'
|
|
7746
7795
|
| 'ae_vat'
|
|
7796
|
+
| 'ao_nif'
|
|
7747
7797
|
| 'at_fn'
|
|
7748
7798
|
| 'au_abn'
|
|
7749
7799
|
| 'au_acn'
|
|
7750
7800
|
| 'au_in'
|
|
7801
|
+
| 'az_tin'
|
|
7802
|
+
| 'bd_etin'
|
|
7751
7803
|
| 'be_cbe'
|
|
7752
7804
|
| 'bg_uic'
|
|
7753
7805
|
| 'br_cnpj'
|
|
@@ -7757,11 +7809,14 @@ declare module 'stripe' {
|
|
|
7757
7809
|
| 'ca_rid'
|
|
7758
7810
|
| 'ch_chid'
|
|
7759
7811
|
| 'ch_uid'
|
|
7812
|
+
| 'cr_cpj'
|
|
7813
|
+
| 'cr_nite'
|
|
7760
7814
|
| 'cy_tic'
|
|
7761
7815
|
| 'cz_ico'
|
|
7762
7816
|
| 'de_hrn'
|
|
7763
7817
|
| 'de_vat'
|
|
7764
7818
|
| 'dk_cvr'
|
|
7819
|
+
| 'do_rcn'
|
|
7765
7820
|
| 'ee_rk'
|
|
7766
7821
|
| 'es_cif'
|
|
7767
7822
|
| 'fi_yt'
|
|
@@ -7770,6 +7825,7 @@ declare module 'stripe' {
|
|
|
7770
7825
|
| 'gb_crn'
|
|
7771
7826
|
| 'gi_crn'
|
|
7772
7827
|
| 'gr_gemi'
|
|
7828
|
+
| 'gt_nit'
|
|
7773
7829
|
| 'hk_br'
|
|
7774
7830
|
| 'hk_cr'
|
|
7775
7831
|
| 'hk_mbs'
|
|
@@ -7778,6 +7834,7 @@ declare module 'stripe' {
|
|
|
7778
7834
|
| 'it_rea'
|
|
7779
7835
|
| 'it_vat'
|
|
7780
7836
|
| 'jp_cn'
|
|
7837
|
+
| 'kz_bin'
|
|
7781
7838
|
| 'li_uid'
|
|
7782
7839
|
| 'lt_ccrn'
|
|
7783
7840
|
| 'lu_rcs'
|
|
@@ -7787,12 +7844,17 @@ declare module 'stripe' {
|
|
|
7787
7844
|
| 'my_brn'
|
|
7788
7845
|
| 'my_coid'
|
|
7789
7846
|
| 'my_sst'
|
|
7847
|
+
| 'mz_nuit'
|
|
7790
7848
|
| 'nl_kvk'
|
|
7791
7849
|
| 'no_orgnr'
|
|
7792
7850
|
| 'nz_bn'
|
|
7851
|
+
| 'pe_ruc'
|
|
7852
|
+
| 'pk_ntn'
|
|
7793
7853
|
| 'pl_regon'
|
|
7794
7854
|
| 'pt_vat'
|
|
7795
7855
|
| 'ro_cui'
|
|
7856
|
+
| 'sa_crn'
|
|
7857
|
+
| 'sa_tin'
|
|
7796
7858
|
| 'se_orgnr'
|
|
7797
7859
|
| 'sg_uen'
|
|
7798
7860
|
| 'si_msp'
|
|
@@ -9577,12 +9639,28 @@ declare module 'stripe' {
|
|
|
9577
9639
|
namespace IdNumber {
|
|
9578
9640
|
type Type =
|
|
9579
9641
|
| 'ae_eid'
|
|
9642
|
+
| 'ao_nif'
|
|
9643
|
+
| 'az_tin'
|
|
9644
|
+
| 'bd_brc'
|
|
9645
|
+
| 'bd_etin'
|
|
9646
|
+
| 'bd_nid'
|
|
9580
9647
|
| 'br_cpf'
|
|
9648
|
+
| 'cr_cpf'
|
|
9649
|
+
| 'cr_dimex'
|
|
9650
|
+
| 'cr_nite'
|
|
9581
9651
|
| 'de_stn'
|
|
9652
|
+
| 'do_rcn'
|
|
9653
|
+
| 'gt_nit'
|
|
9582
9654
|
| 'hk_id'
|
|
9655
|
+
| 'kz_iin'
|
|
9583
9656
|
| 'mx_rfc'
|
|
9584
9657
|
| 'my_nric'
|
|
9658
|
+
| 'mz_nuit'
|
|
9585
9659
|
| 'nl_bsn'
|
|
9660
|
+
| 'pe_dni'
|
|
9661
|
+
| 'pk_cnic'
|
|
9662
|
+
| 'pk_snic'
|
|
9663
|
+
| 'sa_tin'
|
|
9586
9664
|
| 'sg_fin'
|
|
9587
9665
|
| 'sg_nric'
|
|
9588
9666
|
| 'th_lc'
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
namespace V2 {
|
|
6
|
+
namespace Core {
|
|
7
|
+
/**
|
|
8
|
+
* A claimable sandbox represents a Stripe sandbox that is anonymous.
|
|
9
|
+
* When it is created, it can be prefilled with specific metadata, such as email, name, or country.
|
|
10
|
+
* Claimable sandboxes can be claimed through a URL. When a user claims a sandbox through this URL,
|
|
11
|
+
* it will prompt them to create a new Stripe account. Or, it will allow them to claim this sandbox in their
|
|
12
|
+
* existing Stripe account.
|
|
13
|
+
* Claimable sandboxes have 60 days to be claimed. After this expiration time has passed,
|
|
14
|
+
* if the sandbox is not claimed, it will be deleted.
|
|
15
|
+
*/
|
|
16
|
+
interface ClaimableSandbox {
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier for the Claimable sandbox.
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
24
|
+
*/
|
|
25
|
+
object: 'v2.core.claimable_sandbox';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Keys that can be used to set up an integration for this sandbox and operate on the account.
|
|
29
|
+
*/
|
|
30
|
+
api_keys: ClaimableSandbox.ApiKeys;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* URL for user to claim sandbox into their existing Stripe account.
|
|
34
|
+
*/
|
|
35
|
+
claim_url: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* When the sandbox is created.
|
|
39
|
+
*/
|
|
40
|
+
created: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
44
|
+
*/
|
|
45
|
+
livemode: boolean;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Values prefilled during the creation of the sandbox.
|
|
49
|
+
*/
|
|
50
|
+
prefill: ClaimableSandbox.Prefill;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
namespace ClaimableSandbox {
|
|
54
|
+
interface ApiKeys {
|
|
55
|
+
/**
|
|
56
|
+
* Used to communicate with [Stripe's MCP server](https://docs.stripe.com/mcp).
|
|
57
|
+
* This allows LLM agents to securely operate on a Stripe account.
|
|
58
|
+
*/
|
|
59
|
+
mcp: string | null;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Publicly accessible in a web or mobile app client-side code.
|
|
63
|
+
*/
|
|
64
|
+
publishable: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Should be stored securely in server-side code (such as an environment variable).
|
|
68
|
+
*/
|
|
69
|
+
secret: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface Prefill {
|
|
73
|
+
/**
|
|
74
|
+
* Country in which the account holder resides, or in which the business is legally established.
|
|
75
|
+
* Use two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
76
|
+
*/
|
|
77
|
+
country: Prefill.Country;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Email that this sandbox is meant to be claimed by. Stripe will
|
|
81
|
+
* send an email to this email address before the sandbox expires.
|
|
82
|
+
*/
|
|
83
|
+
email: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Name for the sandbox.
|
|
87
|
+
*/
|
|
88
|
+
name: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
namespace Prefill {
|
|
92
|
+
type Country =
|
|
93
|
+
| 'ad'
|
|
94
|
+
| 'ae'
|
|
95
|
+
| 'af'
|
|
96
|
+
| 'ag'
|
|
97
|
+
| 'ai'
|
|
98
|
+
| 'al'
|
|
99
|
+
| 'am'
|
|
100
|
+
| 'ao'
|
|
101
|
+
| 'aq'
|
|
102
|
+
| 'ar'
|
|
103
|
+
| 'as'
|
|
104
|
+
| 'at'
|
|
105
|
+
| 'au'
|
|
106
|
+
| 'aw'
|
|
107
|
+
| 'ax'
|
|
108
|
+
| 'az'
|
|
109
|
+
| 'ba'
|
|
110
|
+
| 'bb'
|
|
111
|
+
| 'bd'
|
|
112
|
+
| 'be'
|
|
113
|
+
| 'bf'
|
|
114
|
+
| 'bg'
|
|
115
|
+
| 'bh'
|
|
116
|
+
| 'bi'
|
|
117
|
+
| 'bj'
|
|
118
|
+
| 'bl'
|
|
119
|
+
| 'bm'
|
|
120
|
+
| 'bn'
|
|
121
|
+
| 'bo'
|
|
122
|
+
| 'bq'
|
|
123
|
+
| 'br'
|
|
124
|
+
| 'bs'
|
|
125
|
+
| 'bt'
|
|
126
|
+
| 'bv'
|
|
127
|
+
| 'bw'
|
|
128
|
+
| 'by'
|
|
129
|
+
| 'bz'
|
|
130
|
+
| 'ca'
|
|
131
|
+
| 'cc'
|
|
132
|
+
| 'cd'
|
|
133
|
+
| 'cf'
|
|
134
|
+
| 'cg'
|
|
135
|
+
| 'ch'
|
|
136
|
+
| 'ci'
|
|
137
|
+
| 'ck'
|
|
138
|
+
| 'cl'
|
|
139
|
+
| 'cm'
|
|
140
|
+
| 'cn'
|
|
141
|
+
| 'co'
|
|
142
|
+
| 'cr'
|
|
143
|
+
| 'cu'
|
|
144
|
+
| 'cv'
|
|
145
|
+
| 'cw'
|
|
146
|
+
| 'cx'
|
|
147
|
+
| 'cy'
|
|
148
|
+
| 'cz'
|
|
149
|
+
| 'de'
|
|
150
|
+
| 'dj'
|
|
151
|
+
| 'dk'
|
|
152
|
+
| 'dm'
|
|
153
|
+
| 'do'
|
|
154
|
+
| 'dz'
|
|
155
|
+
| 'ec'
|
|
156
|
+
| 'ee'
|
|
157
|
+
| 'eg'
|
|
158
|
+
| 'eh'
|
|
159
|
+
| 'er'
|
|
160
|
+
| 'es'
|
|
161
|
+
| 'et'
|
|
162
|
+
| 'fi'
|
|
163
|
+
| 'fj'
|
|
164
|
+
| 'fk'
|
|
165
|
+
| 'fm'
|
|
166
|
+
| 'fo'
|
|
167
|
+
| 'fr'
|
|
168
|
+
| 'ga'
|
|
169
|
+
| 'gb'
|
|
170
|
+
| 'gd'
|
|
171
|
+
| 'ge'
|
|
172
|
+
| 'gf'
|
|
173
|
+
| 'gg'
|
|
174
|
+
| 'gh'
|
|
175
|
+
| 'gi'
|
|
176
|
+
| 'gl'
|
|
177
|
+
| 'gm'
|
|
178
|
+
| 'gn'
|
|
179
|
+
| 'gp'
|
|
180
|
+
| 'gq'
|
|
181
|
+
| 'gr'
|
|
182
|
+
| 'gs'
|
|
183
|
+
| 'gt'
|
|
184
|
+
| 'gu'
|
|
185
|
+
| 'gw'
|
|
186
|
+
| 'gy'
|
|
187
|
+
| 'hk'
|
|
188
|
+
| 'hm'
|
|
189
|
+
| 'hn'
|
|
190
|
+
| 'hr'
|
|
191
|
+
| 'ht'
|
|
192
|
+
| 'hu'
|
|
193
|
+
| 'id'
|
|
194
|
+
| 'ie'
|
|
195
|
+
| 'il'
|
|
196
|
+
| 'im'
|
|
197
|
+
| 'in'
|
|
198
|
+
| 'io'
|
|
199
|
+
| 'iq'
|
|
200
|
+
| 'ir'
|
|
201
|
+
| 'is'
|
|
202
|
+
| 'it'
|
|
203
|
+
| 'je'
|
|
204
|
+
| 'jm'
|
|
205
|
+
| 'jo'
|
|
206
|
+
| 'jp'
|
|
207
|
+
| 'ke'
|
|
208
|
+
| 'kg'
|
|
209
|
+
| 'kh'
|
|
210
|
+
| 'ki'
|
|
211
|
+
| 'km'
|
|
212
|
+
| 'kn'
|
|
213
|
+
| 'kp'
|
|
214
|
+
| 'kr'
|
|
215
|
+
| 'kw'
|
|
216
|
+
| 'ky'
|
|
217
|
+
| 'kz'
|
|
218
|
+
| 'la'
|
|
219
|
+
| 'lb'
|
|
220
|
+
| 'lc'
|
|
221
|
+
| 'li'
|
|
222
|
+
| 'lk'
|
|
223
|
+
| 'lr'
|
|
224
|
+
| 'ls'
|
|
225
|
+
| 'lt'
|
|
226
|
+
| 'lu'
|
|
227
|
+
| 'lv'
|
|
228
|
+
| 'ly'
|
|
229
|
+
| 'ma'
|
|
230
|
+
| 'mc'
|
|
231
|
+
| 'md'
|
|
232
|
+
| 'me'
|
|
233
|
+
| 'mf'
|
|
234
|
+
| 'mg'
|
|
235
|
+
| 'mh'
|
|
236
|
+
| 'mk'
|
|
237
|
+
| 'ml'
|
|
238
|
+
| 'mm'
|
|
239
|
+
| 'mn'
|
|
240
|
+
| 'mo'
|
|
241
|
+
| 'mp'
|
|
242
|
+
| 'mq'
|
|
243
|
+
| 'mr'
|
|
244
|
+
| 'ms'
|
|
245
|
+
| 'mt'
|
|
246
|
+
| 'mu'
|
|
247
|
+
| 'mv'
|
|
248
|
+
| 'mw'
|
|
249
|
+
| 'mx'
|
|
250
|
+
| 'my'
|
|
251
|
+
| 'mz'
|
|
252
|
+
| 'na'
|
|
253
|
+
| 'nc'
|
|
254
|
+
| 'ne'
|
|
255
|
+
| 'nf'
|
|
256
|
+
| 'ng'
|
|
257
|
+
| 'ni'
|
|
258
|
+
| 'nl'
|
|
259
|
+
| 'no'
|
|
260
|
+
| 'np'
|
|
261
|
+
| 'nr'
|
|
262
|
+
| 'nu'
|
|
263
|
+
| 'nz'
|
|
264
|
+
| 'om'
|
|
265
|
+
| 'pa'
|
|
266
|
+
| 'pe'
|
|
267
|
+
| 'pf'
|
|
268
|
+
| 'pg'
|
|
269
|
+
| 'ph'
|
|
270
|
+
| 'pk'
|
|
271
|
+
| 'pl'
|
|
272
|
+
| 'pm'
|
|
273
|
+
| 'pn'
|
|
274
|
+
| 'pr'
|
|
275
|
+
| 'ps'
|
|
276
|
+
| 'pt'
|
|
277
|
+
| 'pw'
|
|
278
|
+
| 'py'
|
|
279
|
+
| 'qa'
|
|
280
|
+
| 'qz'
|
|
281
|
+
| 're'
|
|
282
|
+
| 'ro'
|
|
283
|
+
| 'rs'
|
|
284
|
+
| 'ru'
|
|
285
|
+
| 'rw'
|
|
286
|
+
| 'sa'
|
|
287
|
+
| 'sb'
|
|
288
|
+
| 'sc'
|
|
289
|
+
| 'sd'
|
|
290
|
+
| 'se'
|
|
291
|
+
| 'sg'
|
|
292
|
+
| 'sh'
|
|
293
|
+
| 'si'
|
|
294
|
+
| 'sj'
|
|
295
|
+
| 'sk'
|
|
296
|
+
| 'sl'
|
|
297
|
+
| 'sm'
|
|
298
|
+
| 'sn'
|
|
299
|
+
| 'so'
|
|
300
|
+
| 'sr'
|
|
301
|
+
| 'ss'
|
|
302
|
+
| 'st'
|
|
303
|
+
| 'sv'
|
|
304
|
+
| 'sx'
|
|
305
|
+
| 'sy'
|
|
306
|
+
| 'sz'
|
|
307
|
+
| 'tc'
|
|
308
|
+
| 'td'
|
|
309
|
+
| 'tf'
|
|
310
|
+
| 'tg'
|
|
311
|
+
| 'th'
|
|
312
|
+
| 'tj'
|
|
313
|
+
| 'tk'
|
|
314
|
+
| 'tl'
|
|
315
|
+
| 'tm'
|
|
316
|
+
| 'tn'
|
|
317
|
+
| 'to'
|
|
318
|
+
| 'tr'
|
|
319
|
+
| 'tt'
|
|
320
|
+
| 'tv'
|
|
321
|
+
| 'tw'
|
|
322
|
+
| 'tz'
|
|
323
|
+
| 'ua'
|
|
324
|
+
| 'ug'
|
|
325
|
+
| 'um'
|
|
326
|
+
| 'us'
|
|
327
|
+
| 'uy'
|
|
328
|
+
| 'uz'
|
|
329
|
+
| 'va'
|
|
330
|
+
| 'vc'
|
|
331
|
+
| 've'
|
|
332
|
+
| 'vg'
|
|
333
|
+
| 'vi'
|
|
334
|
+
| 'vn'
|
|
335
|
+
| 'vu'
|
|
336
|
+
| 'wf'
|
|
337
|
+
| 'ws'
|
|
338
|
+
| 'xx'
|
|
339
|
+
| 'ye'
|
|
340
|
+
| 'yt'
|
|
341
|
+
| 'za'
|
|
342
|
+
| 'zm'
|
|
343
|
+
| 'zw';
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|