stripe 19.1.0-beta.1 → 19.2.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 +111 -3
- package/OPENAPI_VERSION +1 -1
- package/README.md +2 -2
- package/VERSION +1 -1
- 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 +21 -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/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 +20 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
- package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
- package/cjs/resources.js +30 -0
- package/cjs/stripe.core.js +9 -8
- 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 +18 -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/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 +17 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
- package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
- package/esm/resources.js +30 -0
- package/esm/stripe.core.js +9 -8
- package/package.json +1 -1
- package/types/Billing/AlertTriggereds.d.ts +15 -0
- package/types/Billing/Alerts.d.ts +116 -1
- package/types/Billing/AlertsResource.d.ts +149 -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/Checkout/Sessions.d.ts +58 -0
- package/types/Checkout/SessionsResource.d.ts +50 -0
- package/types/CreditNotes.d.ts +26 -0
- package/types/CreditNotesResource.d.ts +78 -0
- package/types/InvoiceItems.d.ts +104 -2
- package/types/InvoiceLineItems.d.ts +113 -2
- package/types/InvoicesResource.d.ts +5 -0
- package/types/V2/Billing/Cadences.d.ts +45 -0
- package/types/V2/Billing/CadencesResource.d.ts +32 -3
- 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 +459 -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 +575 -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 +164 -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 +144 -0
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +118 -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/RateCardRates.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -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 +203 -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 +274 -0
- package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
- package/types/V2/Core/Accounts.d.ts +59 -0
- package/types/V2/Core/AccountsResource.d.ts +24 -0
- package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
- package/types/V2/Core/EventTypes.d.ts +7174 -369
- package/types/V2/Core/Events.d.ts +12 -0
- package/types/V2/EventMisc.d.ts +8 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +14 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +34 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +5 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +41 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +5 -0
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
- package/types/V2/Tax/AutomaticRules.d.ts +53 -0
- package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +6 -1
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +48 -0
- package/types/Webhooks.d.ts +2 -0
- package/types/index.d.ts +58 -0
- package/types/test/typescriptTest.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 19.2.0-alpha.1 - 2025-10-03
|
|
4
|
+
* Contains bug fixes and improvements from [v19.1.0](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#1910---2025-10-03).
|
|
5
|
+
|
|
6
|
+
## 19.1.0-alpha.1 - 2025-09-30
|
|
7
|
+
This release changes the pinned API version to `2025-09-30.preview`. It is built on top of SDK version 19.0.0 and 19.1.0-beta.1 which contain breaking changes. Please review the changelog for these versions if upgrading from older SDK versions.
|
|
8
|
+
|
|
9
|
+
* [#2417](https://github.com/stripe/stripe-node/pull/2417) parseThinEvent__experimental is no longer needed
|
|
10
|
+
* ⚠️ Remove the `StripeClient.parseThinEvent__experimental` and `PushedThinEvent` classes. They've been replaced with `StripeClient.parseEventNotification` and the *`EventNotification` classes respectively.
|
|
11
|
+
* [#2409](https://github.com/stripe/stripe-node/pull/2409) Update generated code for private-preview
|
|
12
|
+
* Add support for new resource `V2.MoneyManagement.RecipientVerification`
|
|
13
|
+
* Add support for `acknowledge`, `create`, `recipient_verifications`, and `retrieve` methods on resource `V2.MoneyManagement.RecipientVerification`
|
|
14
|
+
* Add support for `update` method on resources `V2.Billing.PricingPlanSubscription` and `V2.Billing.ServiceAction`
|
|
15
|
+
* Add support for `crypto_wallets` on `V2.Account.configuration.recipient_data.features`, `V2.AccountCreateParams.configuration.recipient_data.features`, `V2.AccountUpdateParams.configuration.recipient_data.features`, `V2.Core.Account.configuration.recipient.capabilities`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities`, and `V2.Core.AccountUpdateParams.configuration.recipient.capabilities`
|
|
16
|
+
* Add support for new value `crypto` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
17
|
+
* Add support for new value `crypto_wallet` on enum `V2.Account.configuration.recipient_data.default_outbound_destination.type`
|
|
18
|
+
* Add support for new value `crypto_wallets` on enum `V2.Account.configuration.supportable_features.recipient_data`
|
|
19
|
+
* Add support for new value `crypto_wallets` on enum `V2.Account.requirements[].impact.required_for_features`
|
|
20
|
+
* Add support for `lookup_key` on `V2.Billing.CadenceCreateParams`, `V2.Billing.CadenceUpdateParams`, and `V2.Billing.Cadence`
|
|
21
|
+
* Add support for `settings_data` on `V2.Billing.Cadence`
|
|
22
|
+
* Change type of `V2.Billing.Cadence.payer.billing_profile` from `string | null` to `string`
|
|
23
|
+
* Add support for `v1_event_id` on `V2.Core.Event`
|
|
24
|
+
* Add support for `recipient_verification` on `V2.MoneyManagement.OutboundPaymentCreateParams`, `V2.MoneyManagement.OutboundPayment`, `V2.MoneyManagement.OutboundTransferCreateParams`, and `V2.MoneyManagement.OutboundTransfer`
|
|
25
|
+
* Add support for `crypto_wallet` on `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data` and `V2.MoneyManagement.PayoutMethod`
|
|
26
|
+
* Add support for `custom_pricing_unit_details` on `V2.Billing.RateCardRate.custom_pricing_unit_amount`, `V2.Billing.ServiceAction.credit_grant.amount.custom_pricing_unit`, and `V2.Billing.ServiceAction.credit_grant_per_tenant.amount.custom_pricing_unit`
|
|
27
|
+
* Add support for `origin_type` on `V2.MoneyManagement.ReceivedDebit.bank_transfer`
|
|
28
|
+
* Add support for new value `sepa_credit_transfer` on enum `V2.FinancialAddressCreditSimulationCreditParams.network`
|
|
29
|
+
* Add support for new value `credentials.sepa_bank_account.iban` on enums `V2.MoneyManagement.FinancialAddressListParams.include` and `V2.MoneyManagement.FinancialAddressRetrieveParams.include`
|
|
30
|
+
* Add support for `sepa_bank_account` on `V2.MoneyManagement.FinancialAddressCreateParams`
|
|
31
|
+
* Remove support for `price` on `V2.Billing.RateCardRateCreateParams`
|
|
32
|
+
* Change `V2.Billing.LicenseFeeUpdateParams.display_name` to be optional
|
|
33
|
+
* Add support for `lookup_keys` on `V2.Billing.CadenceListParams`
|
|
34
|
+
* Change type of `V2.Billing.CadenceCancelParams.include`, `V2.Billing.CadenceCreateParams.include`, `V2.Billing.CadenceListParams.include`, `V2.Billing.CadenceRetrieveParams.include`, and `V2.Billing.CadenceUpdateParams.include` from `literal('invoice_discount_rules')` to `enum('invoice_discount_rules'|'settings_data')`
|
|
35
|
+
* Remove support for `customer` and `type` on `V2.Billing.CadenceCreateParams.payer`
|
|
36
|
+
* Change `V2.Billing.CadenceCreateParams.payer.billing_profile` to be required
|
|
37
|
+
* Add support for new value `crypto_wallets` on enum `EventsAccountConfigurationRecipientDataFeatureStatusUpdatedEvent.feature_name`
|
|
38
|
+
* Add support for new value `crypto_wallets_v2` on enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability`
|
|
39
|
+
* Remove support for `alert_id` on `EventsV2CoreHealthApiErrorResolvedEvent`, `EventsV2CoreHealthApiLatencyResolvedEvent`, `EventsV2CoreHealthAuthorizationRateDropResolvedEvent`, `EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `EventsV2CoreHealthPaymentMethodErrorResolvedEvent`, `EventsV2CoreHealthTrafficVolumeDropResolvedEvent`, and `EventsV2CoreHealthWebhookLatencyResolvedEvent`
|
|
40
|
+
* Add support for thin event `V1AccountUpdatedEvent` with related object `V2.Account`
|
|
41
|
+
* Add support for thin events `V1ApplicationFeeCreatedEvent`, `V1ApplicationFeeRefundedEvent`, `V1BillingPortalConfigurationCreatedEvent`, `V1BillingPortalConfigurationUpdatedEvent`, `V1CapabilityUpdatedEvent`, `V1ChargeCapturedEvent`, `V1ChargeDisputeClosedEvent`, `V1ChargeDisputeCreatedEvent`, `V1ChargeDisputeFundsReinstatedEvent`, `V1ChargeDisputeFundsWithdrawnEvent`, `V1ChargeDisputeUpdatedEvent`, `V1ChargeExpiredEvent`, `V1ChargeFailedEvent`, `V1ChargePendingEvent`, `V1ChargeRefundUpdatedEvent`, `V1ChargeRefundedEvent`, `V1ChargeSucceededEvent`, `V1ChargeUpdatedEvent`, `V1CheckoutSessionAsyncPaymentFailedEvent`, `V1CheckoutSessionAsyncPaymentSucceededEvent`, `V1CheckoutSessionCompletedEvent`, `V1CheckoutSessionExpiredEvent`, `V1ClimateOrderCanceledEvent`, `V1ClimateOrderCreatedEvent`, `V1ClimateOrderDelayedEvent`, `V1ClimateOrderDeliveredEvent`, `V1ClimateOrderProductSubstitutedEvent`, `V1ClimateProductCreatedEvent`, `V1ClimateProductPricingUpdatedEvent`, `V1CouponCreatedEvent`, `V1CouponDeletedEvent`, `V1CouponUpdatedEvent`, `V1CreditNoteCreatedEvent`, `V1CreditNoteUpdatedEvent`, `V1CreditNoteVoidedEvent`, `V1CustomerCreatedEvent`, `V1CustomerDeletedEvent`, `V1CustomerDiscountCreatedEvent`, `V1CustomerDiscountDeletedEvent`, `V1CustomerDiscountUpdatedEvent`, `V1CustomerSubscriptionCreatedEvent`, `V1CustomerSubscriptionDeletedEvent`, `V1CustomerSubscriptionPausedEvent`, `V1CustomerSubscriptionPendingUpdateAppliedEvent`, `V1CustomerSubscriptionPendingUpdateExpiredEvent`, `V1CustomerSubscriptionResumedEvent`, `V1CustomerSubscriptionTrialWillEndEvent`, `V1CustomerSubscriptionUpdatedEvent`, `V1CustomerTaxIdCreatedEvent`, `V1CustomerTaxIdDeletedEvent`, `V1CustomerTaxIdUpdatedEvent`, `V1CustomerUpdatedEvent`, `V1FileCreatedEvent`, `V1FinancialConnectionsAccountCreatedEvent`, `V1FinancialConnectionsAccountDeactivatedEvent`, `V1FinancialConnectionsAccountDisconnectedEvent`, `V1FinancialConnectionsAccountReactivatedEvent`, `V1FinancialConnectionsAccountRefreshedBalanceEvent`, `V1FinancialConnectionsAccountRefreshedOwnershipEvent`, `V1FinancialConnectionsAccountRefreshedTransactionsEvent`, `V1IdentityVerificationSessionCanceledEvent`, `V1IdentityVerificationSessionCreatedEvent`, `V1IdentityVerificationSessionProcessingEvent`, `V1IdentityVerificationSessionRedactedEvent`, `V1IdentityVerificationSessionRequiresInputEvent`, `V1IdentityVerificationSessionVerifiedEvent`, `V1InvoiceCreatedEvent`, `V1InvoiceDeletedEvent`, `V1InvoiceFinalizationFailedEvent`, `V1InvoiceFinalizedEvent`, `V1InvoiceMarkedUncollectibleEvent`, `V1InvoiceOverdueEvent`, `V1InvoiceOverpaidEvent`, `V1InvoicePaidEvent`, `V1InvoicePaymentActionRequiredEvent`, `V1InvoicePaymentFailedEvent`, `V1InvoicePaymentPaidEvent`, `V1InvoicePaymentSucceededEvent`, `V1InvoiceSentEvent`, `V1InvoiceUpcomingEvent`, `V1InvoiceUpdatedEvent`, `V1InvoiceVoidedEvent`, `V1InvoiceWillBeDueEvent`, `V1InvoiceitemCreatedEvent`, `V1InvoiceitemDeletedEvent`, `V1IssuingAuthorizationCreatedEvent`, `V1IssuingAuthorizationRequestEvent`, `V1IssuingAuthorizationUpdatedEvent`, `V1IssuingCardCreatedEvent`, `V1IssuingCardUpdatedEvent`, `V1IssuingCardholderCreatedEvent`, `V1IssuingCardholderUpdatedEvent`, `V1IssuingDisputeClosedEvent`, `V1IssuingDisputeCreatedEvent`, `V1IssuingDisputeFundsReinstatedEvent`, `V1IssuingDisputeFundsRescindedEvent`, `V1IssuingDisputeSubmittedEvent`, `V1IssuingDisputeUpdatedEvent`, `V1IssuingPersonalizationDesignActivatedEvent`, `V1IssuingPersonalizationDesignDeactivatedEvent`, `V1IssuingPersonalizationDesignRejectedEvent`, `V1IssuingPersonalizationDesignUpdatedEvent`, `V1IssuingTokenCreatedEvent`, `V1IssuingTokenUpdatedEvent`, `V1IssuingTransactionCreatedEvent`, `V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent`, `V1IssuingTransactionUpdatedEvent`, `V1MandateUpdatedEvent`, `V1PaymentIntentAmountCapturableUpdatedEvent`, `V1PaymentIntentCanceledEvent`, `V1PaymentIntentCreatedEvent`, `V1PaymentIntentPartiallyFundedEvent`, `V1PaymentIntentPaymentFailedEvent`, `V1PaymentIntentProcessingEvent`, `V1PaymentIntentRequiresActionEvent`, `V1PaymentIntentSucceededEvent`, `V1PaymentLinkCreatedEvent`, `V1PaymentLinkUpdatedEvent`, `V1PaymentMethodAttachedEvent`, `V1PaymentMethodAutomaticallyUpdatedEvent`, `V1PaymentMethodDetachedEvent`, `V1PaymentMethodUpdatedEvent`, `V1PayoutCanceledEvent`, `V1PayoutCreatedEvent`, `V1PayoutFailedEvent`, `V1PayoutPaidEvent`, `V1PayoutReconciliationCompletedEvent`, `V1PayoutUpdatedEvent`, `V1PersonCreatedEvent`, `V1PersonDeletedEvent`, `V1PersonUpdatedEvent`, `V1PlanCreatedEvent`, `V1PlanDeletedEvent`, `V1PlanUpdatedEvent`, `V1PriceCreatedEvent`, `V1PriceDeletedEvent`, `V1PriceUpdatedEvent`, `V1ProductCreatedEvent`, `V1ProductDeletedEvent`, `V1ProductUpdatedEvent`, `V1PromotionCodeCreatedEvent`, `V1PromotionCodeUpdatedEvent`, `V1QuoteAcceptedEvent`, `V1QuoteCanceledEvent`, `V1QuoteCreatedEvent`, `V1QuoteFinalizedEvent`, `V1RadarEarlyFraudWarningCreatedEvent`, `V1RadarEarlyFraudWarningUpdatedEvent`, `V1RefundCreatedEvent`, `V1RefundFailedEvent`, `V1RefundUpdatedEvent`, `V1ReviewClosedEvent`, `V1ReviewOpenedEvent`, `V1SetupIntentCanceledEvent`, `V1SetupIntentCreatedEvent`, `V1SetupIntentRequiresActionEvent`, `V1SetupIntentSetupFailedEvent`, `V1SetupIntentSucceededEvent`, `V1SigmaScheduledQueryRunCreatedEvent`, `V1SourceCanceledEvent`, `V1SourceChargeableEvent`, `V1SourceFailedEvent`, `V1SourceRefundAttributesRequiredEvent`, `V1SubscriptionScheduleAbortedEvent`, `V1SubscriptionScheduleCanceledEvent`, `V1SubscriptionScheduleCompletedEvent`, `V1SubscriptionScheduleCreatedEvent`, `V1SubscriptionScheduleExpiringEvent`, `V1SubscriptionScheduleReleasedEvent`, `V1SubscriptionScheduleUpdatedEvent`, `V1TaxRateCreatedEvent`, `V1TaxRateUpdatedEvent`, `V1TerminalReaderActionFailedEvent`, `V1TerminalReaderActionSucceededEvent`, `V1TerminalReaderActionUpdatedEvent`, `V1TestHelpersTestClockAdvancingEvent`, `V1TestHelpersTestClockCreatedEvent`, `V1TestHelpersTestClockDeletedEvent`, `V1TestHelpersTestClockInternalFailureEvent`, `V1TestHelpersTestClockReadyEvent`, `V1TopupCanceledEvent`, `V1TopupCreatedEvent`, `V1TopupFailedEvent`, `V1TopupReversedEvent`, `V1TopupSucceededEvent`, `V1TransferCreatedEvent`, `V1TransferReversedEvent`, `V1TransferUpdatedEvent`, `V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent`, and `V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent`
|
|
42
|
+
* Add support for thin event `V2CoreClaimableSandboxCreatedEvent` with related object `V2.Core.ClaimableSandbox`
|
|
43
|
+
* Add support for thin events `V2MoneyManagementRecipientVerificationCreatedEvent` and `V2MoneyManagementRecipientVerificationUpdatedEvent` with related object `V2.MoneyManagement.RecipientVerification`
|
|
44
|
+
* Add support for error code `account_rate_limit_exceeded` on `RateLimitError`
|
|
45
|
+
|
|
3
46
|
## 19.1.0-beta.1 - 2025-09-30
|
|
4
47
|
This release changes the pinned API version to `2025-09-30.preview`. It is built on top of SDK version 19.0.0 which contains breaking changes. Please review the [changelog for 19.0.0](https://github.com/stripe/stripe-go/blob/master/CHANGELOG.md#1900---2025-09-30) if upgrading from older SDK versions.
|
|
5
48
|
|
|
@@ -67,7 +110,7 @@ This release changes the pinned API version to `2025-09-30.preview`. It is built
|
|
|
67
110
|
* Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `QuotePreviewInvoice.last_finalization_error`
|
|
68
111
|
|
|
69
112
|
## 19.0.0 - 2025-09-30
|
|
70
|
-
This release changes the pinned API version to `2025-09-30.
|
|
113
|
+
This release changes the pinned API version to `2025-09-30.clover` and contains breaking changes (prefixed with ⚠️ below)
|
|
71
114
|
|
|
72
115
|
* [#2427](https://github.com/stripe/stripe-node/pull/2427) Move `V2.Event` API resources to `V2.Core.Events`
|
|
73
116
|
- ⚠️ Move the below event related interfaces and types from `Stripe.V2` to `Stripe.V2.Core`. This enables us to correctly match the API path to the namespace
|
|
@@ -81,7 +124,7 @@ This release changes the pinned API version to `2025-09-30.basil` and contains b
|
|
|
81
124
|
- This function now returns a `Stripe.V2.EventNotification` which is a union of all possible event notifications instead of `Stripe.ThinEvent`. When applicable, these event notifications will have the `relatedObject` field and a function `fetchRelatedObject()`. They also have a `fetchEvent()` method to retrieve their corresponding event.
|
|
82
125
|
- If this union type does not cover a new event notification that you parsed, you can cast it to `UnknownEventNotification` to then access the `relatedObject` field and the function `fetchRelatedObject()`
|
|
83
126
|
* [#2432](https://github.com/stripe/stripe-node/pull/2432) Drop support for Node < 16 & clarify policy
|
|
84
|
-
- Publish our new [language version support policy](https://docs.stripe.com/sdks/versioning?
|
|
127
|
+
- Publish our new [language version support policy](https://docs.stripe.com/sdks/versioning?lang=node#stripe-sdk-language-version-support-policy) and add a link to the README.
|
|
85
128
|
- ⚠️ Drop support for Node versions < 16
|
|
86
129
|
- Node 16 support is deprecated and will be removed in the next scheduled major release (March 2026)
|
|
87
130
|
* [#2426](https://github.com/stripe/stripe-node/pull/2426) Add `StripeContext` object
|
|
@@ -96,7 +139,7 @@ This release changes the pinned API version to `2025-09-30.basil` and contains b
|
|
|
96
139
|
* [#2405](https://github.com/stripe/stripe-node/pull/2405) support more npm tags
|
|
97
140
|
- ⚠️ Starting with this release, we'll no longer be tagging releases with `beta` npm tag. Instead, we'll use `latest`, `public-preview`, or `private-preview` to more closely align with Stripe's [release phases](https://docs.stripe.com/release-phases)
|
|
98
141
|
|
|
99
|
-
* [#2402](https://github.com/stripe/stripe-node/pull/2402), [#2413](https://github.com/stripe/stripe-node/pull/2413), [#2430](https://github.com/stripe/stripe-node/pull/2430), [#2428](https://github.com/stripe/stripe-node/pull/2428) Update generated code based on incoming API changes in the `2025-09-30.
|
|
142
|
+
* [#2402](https://github.com/stripe/stripe-node/pull/2402), [#2413](https://github.com/stripe/stripe-node/pull/2413), [#2430](https://github.com/stripe/stripe-node/pull/2430), [#2428](https://github.com/stripe/stripe-node/pull/2428) Update generated code based on incoming API changes in the `2025-09-30.clover` API version.
|
|
100
143
|
* ⚠️ Remove support for `balance_report` and `payout_reconciliation_report` on `AccountSession.components` and `AccountSessionCreateParams.components`
|
|
101
144
|
* ⚠️ Remove support for values `saturday` and `sunday` from enums `Account.settings.payouts.schedule.weekly_payout_days`, `AccountCreateParams.settings.payouts.schedule.weekly_payout_days`, and `AccountUpdateParams.settings.payouts.schedule.weekly_payout_days`
|
|
102
145
|
* Add support for new values `external_request` and `unsupported_business_type` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, `BankAccount.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code`
|
|
@@ -138,6 +181,71 @@ This release changes the pinned API version to `2025-09-30.basil` and contains b
|
|
|
138
181
|
* Add support for new value `2025-09-30.clover` on enum `WebhookEndpointCreateParams.api_version`
|
|
139
182
|
* Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
|
|
140
183
|
|
|
184
|
+
## 18.6.0-alpha.2 - 2025-09-17
|
|
185
|
+
|
|
186
|
+
* [#2404](https://github.com/stripe/stripe-node/pull/2404) Update generated code for private-preview
|
|
187
|
+
* Add support for `retrieve` method on resource `V2.Core.ClaimableSandbox`
|
|
188
|
+
* Add support for `month_of_year` on `V2.Billing.Cadence#create.billing_cycle.month` and `V2.Billing.Cadence.billing_cycle.month`
|
|
189
|
+
* Add support for `claimed_at`, `expires_at`, `sandbox_details`, and `status` on `V2.Core.ClaimableSandbox`
|
|
190
|
+
* Remove support for `api_keys` on `V2.Core.ClaimableSandbox`
|
|
191
|
+
* Change type of `V2.Core.ClaimableSandbox.claim_url` from `string` to `nullable(string)`
|
|
192
|
+
* Add support for new value `current_billing_period_end` on enums `V2.Billing.Intent#create.actions[].deactivate.effective_at.type` and `V2.Billing.IntentAction.deactivate.effective_at.type`
|
|
193
|
+
* Add support for `will_activate_at` and `will_cancel_at` on `V2.Billing.PricingPlanSubscription.servicing_status_transitions` and `V2.Billing.RateCardSubscription.servicing_status_transitions`
|
|
194
|
+
* Add support for `category` and `priority` on `V2.Billing.ServiceAction#create.credit_grant_per_tenant`, `V2.Billing.ServiceAction#create.credit_grant`, `V2.Billing.ServiceAction.credit_grant_per_tenant`, and `V2.Billing.ServiceAction.credit_grant`
|
|
195
|
+
* Change `V2.Billing.LicenseFee#update.display_name` to be optional
|
|
196
|
+
* Add support for `invoices` on `EventsV2BillingCadenceBilledEvent`
|
|
197
|
+
* Add support for thin events `V2CoreClaimableSandboxClaimedEvent`, `V2CoreClaimableSandboxExpiredEvent`, `V2CoreClaimableSandboxExpiringEvent`, and `V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent` with related object `V2.Core.ClaimableSandbox`
|
|
198
|
+
* Remove support for thin event `V2BillingCadenceErroredEvent` with related object `V2.Billing.Cadence`
|
|
199
|
+
|
|
200
|
+
## 18.6.0-alpha.1 - 2025-08-27
|
|
201
|
+
It is built on top of SDK version 18.6.0-beta.1 which contains breaking changes. Please review the changelog for it if upgrading from older SDK versions.
|
|
202
|
+
|
|
203
|
+
* [#2390](https://github.com/stripe/stripe-node/pull/2390) Update generated code for private-preview
|
|
204
|
+
* Add support for `attach_cadence` method on resource `Subscription`
|
|
205
|
+
* Add support for `currency` and `external_customer_id` on `Billing.AlertTriggered`
|
|
206
|
+
* Add support for `custom_pricing_unit` on `Billing.AlertTriggered`, `Billing.CreditBalanceSummary.balances[].available_balance`, `Billing.CreditBalanceSummary.balances[].ledger_balance`, `Billing.CreditBalanceTransaction.credit.amount`, `Billing.CreditBalanceTransaction.debit.amount`, `Billing.CreditGrant.amount`, and `Billing.CreditGrantCreateParams.amount`
|
|
207
|
+
* Add support for `customer` on `Billing.AlertListParams`
|
|
208
|
+
* Change type of `Billing.Alert.alert_type`, `Billing.AlertCreateParams.alert_type`, and `Billing.AlertListParams.alert_type` from `literal('usage_threshold')` to `enum('credit_balance_threshold'|'usage_threshold')`
|
|
209
|
+
* Add support for `credit_balance_threshold` on `Billing.AlertCreateParams` and `Billing.Alert`
|
|
210
|
+
* Add support for `billable_items` on `Billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope`, `Billing.CreditGrant.applicability_config.scope`, and `Billing.CreditGrantCreateParams.applicability_config.scope`
|
|
211
|
+
* Change type of `Billing.CreditBalanceSummary.balances[].available_balance.type`, `Billing.CreditBalanceSummary.balances[].ledger_balance.type`, `Billing.CreditBalanceTransaction.credit.amount.type`, `Billing.CreditBalanceTransaction.debit.amount.type`, `Billing.CreditGrant.amount.type`, and `Billing.CreditGrantCreateParams.amount.type` from `literal('monetary')` to `enum('custom_pricing_unit'|'monetary')`
|
|
212
|
+
* Add support for `license_fee_subscription_details` and `rate_card_subscription_details` on `InvoiceItem.parent` and `InvoiceLineItem.parent`
|
|
213
|
+
* Change type of `InvoiceItem.parent.type` from `literal('subscription_details')` to `enum('license_fee_subscription_details'|'rate_card_subscription_details'|'subscription_details')`
|
|
214
|
+
* Add support for `license_fee_details` and `rate_card_rate_details` on `InvoiceItem.pricing` and `InvoiceLineItem.pricing`
|
|
215
|
+
* Change type of `InvoiceItem.pricing.type` and `InvoiceLineItem.pricing.type` from `literal('price_details')` to `enum('license_fee_details'|'price_details'|'rate_card_rate_details')`
|
|
216
|
+
* Add support for `billing_cadence` on `InvoiceCreatePreviewParams`, `SubscriptionCreateParams`, and `Subscription`
|
|
217
|
+
* Add support for `billing_cadence_details` on `Invoice.parent` and `QuotePreviewInvoice.parent`
|
|
218
|
+
* Add support for new value `billing_cadence_details` on enums `Invoice.parent.type` and `QuotePreviewInvoice.parent.type`
|
|
219
|
+
* Add support for new values `license_fee_subscription_details` and `rate_card_subscription_details` on enum `InvoiceLineItem.parent.type`
|
|
220
|
+
* Add support for new resources `V2.Billing.BillSettingVersion`, `V2.Billing.BillSetting`, `V2.Billing.Cadence`, `V2.Billing.CollectionSettingVersion`, `V2.Billing.CollectionSetting`, `V2.Billing.CustomPricingUnit`, `V2.Billing.IntentAction`, `V2.Billing.Intent`, `V2.Billing.LicenseFeeSubscription`, `V2.Billing.LicenseFeeVersion`, `V2.Billing.LicenseFee`, `V2.Billing.LicensedItem`, `V2.Billing.MeteredItem`, `V2.Billing.PricingPlanComponent`, `V2.Billing.PricingPlanSubscription`, `V2.Billing.PricingPlanVersion`, `V2.Billing.PricingPlan`, `V2.Billing.Profile`, `V2.Billing.RateCardRate`, `V2.Billing.RateCardSubscription`, `V2.Billing.RateCardVersion`, `V2.Billing.RateCard`, `V2.Billing.ServiceAction`, `V2.Core.ClaimableSandbox`, `V2.Reporting.ReportRun`, `V2.Reporting.Report`, and `V2.Tax.AutomaticRule`
|
|
221
|
+
* Add support for `create`, `deactivate`, `find`, `retrieve`, and `update` methods on resource `V2.Tax.AutomaticRule`
|
|
222
|
+
* Add support for `create` and `retrieve` methods on resources `V2.Billing.ServiceAction` and `V2.Reporting.ReportRun`
|
|
223
|
+
* Add support for `retrieve` method on resources `V2.Billing.LicenseFeeSubscription` and `V2.Reporting.Report`
|
|
224
|
+
* Add support for `create` method on resources `V2.Core.ClaimableSandbox`
|
|
225
|
+
* Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resources `V2.Billing.Cadence` and `V2.Billing.RateCardSubscription`
|
|
226
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resources `V2.Billing.BillSetting`, `V2.Billing.CollectionSetting`, `V2.Billing.CustomPricingUnit`, `V2.Billing.LicenseFee`, `V2.Billing.LicensedItem`, `V2.Billing.MeteredItem`, `V2.Billing.PricingPlan`, `V2.Billing.Profile`, and `V2.Billing.RateCard`
|
|
227
|
+
* Add support for `list` and `retrieve` methods on resources `V2.Billing.BillSettingVersion`, `V2.Billing.CollectionSettingVersion`, `V2.Billing.IntentAction`, `V2.Billing.LicenseFeeVersion`, `V2.Billing.PricingPlanSubscription`, `V2.Billing.PricingPlanVersion`, and `V2.Billing.RateCardVersion`
|
|
228
|
+
* Add support for `create`, `del`, `list`, and `retrieve` methods on resource `V2.Billing.RateCardRate`
|
|
229
|
+
* Add support for `create`, `del`, `list`, `retrieve`, and `update` methods on resource `V2.Billing.PricingPlanComponent`
|
|
230
|
+
* Add support for `cancel`, `commit`, `create`, `list`, `release_reservation`, `reserve`, and `retrieve` methods on resource `V2.Billing.Intent`
|
|
231
|
+
* Add support for `changes` on `V2.Event`
|
|
232
|
+
* Add support for thin events `V2BillingCadenceBilledEvent`, `V2BillingCadenceCanceledEvent`, `V2BillingCadenceCreatedEvent`, and `V2BillingCadenceErroredEvent` with related object `V2.Billing.Cadence`
|
|
233
|
+
* Add support for thin events `V2BillingLicenseFeeCreatedEvent` and `V2BillingLicenseFeeUpdatedEvent` with related object `V2.Billing.LicenseFee`
|
|
234
|
+
* Add support for thin event `V2BillingLicenseFeeVersionCreatedEvent` with related object `V2.Billing.LicenseFeeVersion`
|
|
235
|
+
* Add support for thin events `V2BillingLicensedItemCreatedEvent` and `V2BillingLicensedItemUpdatedEvent` with related object `V2.Billing.LicensedItem`
|
|
236
|
+
* Add support for thin events `V2BillingMeteredItemCreatedEvent` and `V2BillingMeteredItemUpdatedEvent` with related object `V2.Billing.MeteredItem`
|
|
237
|
+
* Add support for thin events `V2BillingPricingPlanCreatedEvent` and `V2BillingPricingPlanUpdatedEvent` with related object `V2.Billing.PricingPlan`
|
|
238
|
+
* Add support for thin events `V2BillingPricingPlanComponentCreatedEvent` and `V2BillingPricingPlanComponentUpdatedEvent` with related object `V2.Billing.PricingPlanComponent`
|
|
239
|
+
* Add support for thin events `V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent`, `V2BillingPricingPlanSubscriptionCollectionCurrentEvent`, `V2BillingPricingPlanSubscriptionCollectionPastDueEvent`, `V2BillingPricingPlanSubscriptionCollectionPausedEvent`, `V2BillingPricingPlanSubscriptionCollectionUnpaidEvent`, `V2BillingPricingPlanSubscriptionServicingActivatedEvent`, `V2BillingPricingPlanSubscriptionServicingCanceledEvent`, and `V2BillingPricingPlanSubscriptionServicingPausedEvent` with related object `V2.Billing.PricingPlanSubscription`
|
|
240
|
+
* Add support for thin event `V2BillingPricingPlanVersionCreatedEvent` with related object `V2.Billing.PricingPlanVersion`
|
|
241
|
+
* Add support for thin events `V2BillingRateCardCreatedEvent` and `V2BillingRateCardUpdatedEvent` with related object `V2.Billing.RateCard`
|
|
242
|
+
* Add support for thin event `V2BillingRateCardRateCreatedEvent` with related object `V2.Billing.RateCardRate`
|
|
243
|
+
* Add support for thin events `V2BillingRateCardSubscriptionActivatedEvent`, `V2BillingRateCardSubscriptionCanceledEvent`, `V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent`, `V2BillingRateCardSubscriptionCollectionCurrentEvent`, `V2BillingRateCardSubscriptionCollectionPastDueEvent`, `V2BillingRateCardSubscriptionCollectionPausedEvent`, `V2BillingRateCardSubscriptionCollectionUnpaidEvent`, `V2BillingRateCardSubscriptionServicingActivatedEvent`, `V2BillingRateCardSubscriptionServicingCanceledEvent`, and `V2BillingRateCardSubscriptionServicingPausedEvent` with related object `V2.Billing.RateCardSubscription`
|
|
244
|
+
* Add support for thin event `V2BillingRateCardVersionCreatedEvent` with related object `V2.Billing.RateCardVersion`
|
|
245
|
+
* Add support for thin events `V2CoreHealthApiErrorFiringEvent`, `V2CoreHealthApiErrorResolvedEvent`, `V2CoreHealthApiLatencyFiringEvent`, `V2CoreHealthApiLatencyResolvedEvent`, `V2CoreHealthAuthorizationRateDropFiringEvent`, `V2CoreHealthAuthorizationRateDropResolvedEvent`, `V2CoreHealthEventGenerationFailureResolvedEvent`, `V2CoreHealthFraudRateIncreasedEvent`, `V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent`, `V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `V2CoreHealthPaymentMethodErrorFiringEvent`, `V2CoreHealthPaymentMethodErrorResolvedEvent`, `V2CoreHealthTrafficVolumeDropFiringEvent`, `V2CoreHealthTrafficVolumeDropResolvedEvent`, `V2CoreHealthWebhookLatencyFiringEvent`, and `V2CoreHealthWebhookLatencyResolvedEvent`
|
|
246
|
+
* Add support for thin events `V2ReportingReportRunCreatedEvent`, `V2ReportingReportRunFailedEvent`, `V2ReportingReportRunSucceededEvent`, and `V2ReportingReportRunUpdatedEvent` with related object `V2.Reporting.ReportRun`
|
|
247
|
+
* Add support for error type `RateLimitError`
|
|
248
|
+
|
|
141
249
|
## 18.6.0-beta.1 - 2025-08-27
|
|
142
250
|
This release changes the pinned API version to `2025-08-27.preview`.
|
|
143
251
|
|
package/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0de52cdca31a7c51c6d11187fc88ab23ea3a1c5b
|
package/README.md
CHANGED
|
@@ -16,9 +16,9 @@ See the [`stripe-node` API docs](https://stripe.com/docs/api?lang=node) for Node
|
|
|
16
16
|
|
|
17
17
|
## Requirements
|
|
18
18
|
|
|
19
|
-
Per our [Language Version Support Policy](https://docs.stripe.com/sdks/versioning?
|
|
19
|
+
Per our [Language Version Support Policy](https://docs.stripe.com/sdks/versioning?lang=node#stripe-sdk-language-version-support-policy), we currently support all LTS versions of **Node.js 16+**.
|
|
20
20
|
|
|
21
|
-
Support for Node 16 is deprecated and will be removed in an upcoming major version. Read more and see the full schedule in the docs: https://docs.stripe.com/sdks/versioning?
|
|
21
|
+
Support for Node 16 is deprecated and will be removed in an upcoming major version. Read more and see the full schedule in the docs: https://docs.stripe.com/sdks/versioning?lang=node#stripe-sdk-language-version-support-policy
|
|
22
22
|
|
|
23
23
|
## Installation
|
|
24
24
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
19.
|
|
1
|
+
19.2.0-alpha.1
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CustomPricingUnits = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.CustomPricingUnits = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/billing/custom_pricing_units',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/custom_pricing_units/{id}',
|
|
15
|
+
}),
|
|
16
|
+
update: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v2/billing/custom_pricing_units/{id}',
|
|
19
|
+
}),
|
|
20
|
+
list: stripeMethod({
|
|
21
|
+
method: 'GET',
|
|
22
|
+
fullPath: '/v2/billing/custom_pricing_units',
|
|
23
|
+
methodType: 'list',
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Actions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Actions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/intents/{intent_id}/actions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
list: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/intents/{intent_id}/actions',
|
|
15
|
+
methodType: 'list',
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Intents = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const Actions_js_1 = require("./Intents/Actions.js");
|
|
7
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
8
|
+
exports.Intents = StripeResource_js_1.StripeResource.extend({
|
|
9
|
+
constructor: function (...args) {
|
|
10
|
+
StripeResource_js_1.StripeResource.apply(this, args);
|
|
11
|
+
this.actions = new Actions_js_1.Actions(...args);
|
|
12
|
+
},
|
|
13
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/intents' }),
|
|
14
|
+
retrieve: stripeMethod({ method: 'GET', fullPath: '/v2/billing/intents/{id}' }),
|
|
15
|
+
list: stripeMethod({
|
|
16
|
+
method: 'GET',
|
|
17
|
+
fullPath: '/v2/billing/intents',
|
|
18
|
+
methodType: 'list',
|
|
19
|
+
}),
|
|
20
|
+
cancel: stripeMethod({
|
|
21
|
+
method: 'POST',
|
|
22
|
+
fullPath: '/v2/billing/intents/{id}/cancel',
|
|
23
|
+
}),
|
|
24
|
+
commit: stripeMethod({
|
|
25
|
+
method: 'POST',
|
|
26
|
+
fullPath: '/v2/billing/intents/{id}/commit',
|
|
27
|
+
}),
|
|
28
|
+
releaseReservation: stripeMethod({
|
|
29
|
+
method: 'POST',
|
|
30
|
+
fullPath: '/v2/billing/intents/{id}/release_reservation',
|
|
31
|
+
}),
|
|
32
|
+
reserve: stripeMethod({
|
|
33
|
+
method: 'POST',
|
|
34
|
+
fullPath: '/v2/billing/intents/{id}/reserve',
|
|
35
|
+
}),
|
|
36
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LicenseFeeSubscriptions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.LicenseFeeSubscriptions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/license_fee_subscriptions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Versions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Versions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/license_fees/{license_fee_id}/versions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
list: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/license_fees/{license_fee_id}/versions',
|
|
15
|
+
methodType: 'list',
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LicenseFees = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const Versions_js_1 = require("./LicenseFees/Versions.js");
|
|
7
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
8
|
+
exports.LicenseFees = StripeResource_js_1.StripeResource.extend({
|
|
9
|
+
constructor: function (...args) {
|
|
10
|
+
StripeResource_js_1.StripeResource.apply(this, args);
|
|
11
|
+
this.versions = new Versions_js_1.Versions(...args);
|
|
12
|
+
},
|
|
13
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/license_fees' }),
|
|
14
|
+
retrieve: stripeMethod({
|
|
15
|
+
method: 'GET',
|
|
16
|
+
fullPath: '/v2/billing/license_fees/{id}',
|
|
17
|
+
}),
|
|
18
|
+
update: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v2/billing/license_fees/{id}',
|
|
21
|
+
}),
|
|
22
|
+
list: stripeMethod({
|
|
23
|
+
method: 'GET',
|
|
24
|
+
fullPath: '/v2/billing/license_fees',
|
|
25
|
+
methodType: 'list',
|
|
26
|
+
}),
|
|
27
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LicensedItems = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.LicensedItems = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/billing/licensed_items',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/licensed_items/{id}',
|
|
15
|
+
}),
|
|
16
|
+
update: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v2/billing/licensed_items/{id}',
|
|
19
|
+
}),
|
|
20
|
+
list: stripeMethod({
|
|
21
|
+
method: 'GET',
|
|
22
|
+
fullPath: '/v2/billing/licensed_items',
|
|
23
|
+
methodType: 'list',
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MeteredItems = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.MeteredItems = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/metered_items' }),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/metered_items/{id}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v2/billing/metered_items/{id}',
|
|
16
|
+
}),
|
|
17
|
+
list: stripeMethod({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
fullPath: '/v2/billing/metered_items',
|
|
20
|
+
methodType: 'list',
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PricingPlanSubscriptions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.PricingPlanSubscriptions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
update: stripeMethod({
|
|
13
|
+
method: 'POST',
|
|
14
|
+
fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
|
|
15
|
+
}),
|
|
16
|
+
list: stripeMethod({
|
|
17
|
+
method: 'GET',
|
|
18
|
+
fullPath: '/v2/billing/pricing_plan_subscriptions',
|
|
19
|
+
methodType: 'list',
|
|
20
|
+
}),
|
|
21
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Components = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Components = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
|
|
15
|
+
}),
|
|
16
|
+
update: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
|
|
19
|
+
}),
|
|
20
|
+
list: stripeMethod({
|
|
21
|
+
method: 'GET',
|
|
22
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components',
|
|
23
|
+
methodType: 'list',
|
|
24
|
+
}),
|
|
25
|
+
del: stripeMethod({
|
|
26
|
+
method: 'DELETE',
|
|
27
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
|
|
28
|
+
}),
|
|
29
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Versions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Versions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/versions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
list: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/versions',
|
|
15
|
+
methodType: 'list',
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PricingPlans = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const Components_js_1 = require("./PricingPlans/Components.js");
|
|
7
|
+
const Versions_js_1 = require("./PricingPlans/Versions.js");
|
|
8
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
9
|
+
exports.PricingPlans = StripeResource_js_1.StripeResource.extend({
|
|
10
|
+
constructor: function (...args) {
|
|
11
|
+
StripeResource_js_1.StripeResource.apply(this, args);
|
|
12
|
+
this.components = new Components_js_1.Components(...args);
|
|
13
|
+
this.versions = new Versions_js_1.Versions(...args);
|
|
14
|
+
},
|
|
15
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/pricing_plans' }),
|
|
16
|
+
retrieve: stripeMethod({
|
|
17
|
+
method: 'GET',
|
|
18
|
+
fullPath: '/v2/billing/pricing_plans/{id}',
|
|
19
|
+
}),
|
|
20
|
+
update: stripeMethod({
|
|
21
|
+
method: 'POST',
|
|
22
|
+
fullPath: '/v2/billing/pricing_plans/{id}',
|
|
23
|
+
}),
|
|
24
|
+
list: stripeMethod({
|
|
25
|
+
method: 'GET',
|
|
26
|
+
fullPath: '/v2/billing/pricing_plans',
|
|
27
|
+
methodType: 'list',
|
|
28
|
+
}),
|
|
29
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.RateCardSubscriptions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.RateCardSubscriptions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/billing/rate_card_subscriptions',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/rate_card_subscriptions/{id}',
|
|
15
|
+
}),
|
|
16
|
+
update: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v2/billing/rate_card_subscriptions/{id}',
|
|
19
|
+
}),
|
|
20
|
+
list: stripeMethod({
|
|
21
|
+
method: 'GET',
|
|
22
|
+
fullPath: '/v2/billing/rate_card_subscriptions',
|
|
23
|
+
methodType: 'list',
|
|
24
|
+
}),
|
|
25
|
+
cancel: stripeMethod({
|
|
26
|
+
method: 'POST',
|
|
27
|
+
fullPath: '/v2/billing/rate_card_subscriptions/{id}/cancel',
|
|
28
|
+
}),
|
|
29
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Rates = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Rates = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates/{id}',
|
|
15
|
+
}),
|
|
16
|
+
list: stripeMethod({
|
|
17
|
+
method: 'GET',
|
|
18
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates',
|
|
19
|
+
methodType: 'list',
|
|
20
|
+
}),
|
|
21
|
+
del: stripeMethod({
|
|
22
|
+
method: 'DELETE',
|
|
23
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates/{id}',
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Versions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Versions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/versions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
list: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/versions',
|
|
15
|
+
methodType: 'list',
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.RateCards = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const Rates_js_1 = require("./RateCards/Rates.js");
|
|
7
|
+
const Versions_js_1 = require("./RateCards/Versions.js");
|
|
8
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
9
|
+
exports.RateCards = StripeResource_js_1.StripeResource.extend({
|
|
10
|
+
constructor: function (...args) {
|
|
11
|
+
StripeResource_js_1.StripeResource.apply(this, args);
|
|
12
|
+
this.rates = new Rates_js_1.Rates(...args);
|
|
13
|
+
this.versions = new Versions_js_1.Versions(...args);
|
|
14
|
+
},
|
|
15
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/rate_cards' }),
|
|
16
|
+
retrieve: stripeMethod({
|
|
17
|
+
method: 'GET',
|
|
18
|
+
fullPath: '/v2/billing/rate_cards/{id}',
|
|
19
|
+
}),
|
|
20
|
+
update: stripeMethod({
|
|
21
|
+
method: 'POST',
|
|
22
|
+
fullPath: '/v2/billing/rate_cards/{id}',
|
|
23
|
+
}),
|
|
24
|
+
list: stripeMethod({
|
|
25
|
+
method: 'GET',
|
|
26
|
+
fullPath: '/v2/billing/rate_cards',
|
|
27
|
+
methodType: 'list',
|
|
28
|
+
}),
|
|
29
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ServiceActions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.ServiceActions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/billing/service_actions',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/service_actions/{id}',
|
|
15
|
+
}),
|
|
16
|
+
update: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v2/billing/service_actions/{id}',
|
|
19
|
+
}),
|
|
20
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ClaimableSandboxes = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.ClaimableSandboxes = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/core/claimable_sandboxes',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/core/claimable_sandboxes/{id}',
|
|
15
|
+
}),
|
|
16
|
+
});
|