Skip to content

Commit

Permalink
Update generated code for v985
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 24, 2024
1 parent 4611db6 commit f385b54
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
@@ -1 +1 @@
v983
v985
16 changes: 8 additions & 8 deletions types/EventTypes.d.ts
Expand Up @@ -520,7 +520,7 @@ declare module 'stripe' {
}

/**
* Occurs when funds are reinstated to your account after a dispute is closed. This includes [partially refunded payments](/docs/disputes#disputes-on-partially-refunded-payments).
* Occurs when funds are reinstated to your account after a dispute is closed. This includes [partially refunded payments](https://docs.stripe.com/disputes#disputes-on-partially-refunded-payments).
*/
interface ChargeDisputeFundsReinstatedEvent extends EventBase {
type: 'charge.dispute.funds_reinstated';
Expand Down Expand Up @@ -1128,7 +1128,7 @@ declare module 'stripe' {
}

/**
* Occurs whenever a customer's subscription is paused. Only applies when subscriptions enter `status=paused`, not when [payment collection](/docs/billing/subscriptions/pause) is paused.
* Occurs whenever a customer's subscription is paused. Only applies when subscriptions enter `status=paused`, not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is paused.
*/
interface CustomerSubscriptionPausedEvent extends EventBase {
type: 'customer.subscription.paused';
Expand Down Expand Up @@ -1176,7 +1176,7 @@ declare module 'stripe' {
}

/**
* Occurs whenever a customer's subscription is no longer paused. Only applies when a `status=paused` subscription is [resumed](/docs/api/subscriptions/resume), not when [payment collection](/docs/billing/subscriptions/pause) is resumed.
* Occurs whenever a customer's subscription is no longer paused. Only applies when a `status=paused` subscription is [resumed](https://docs.stripe.com/api/subscriptions/resume), not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed.
*/
interface CustomerSubscriptionResumedEvent extends EventBase {
type: 'customer.subscription.resumed';
Expand Down Expand Up @@ -1550,7 +1550,7 @@ declare module 'stripe' {
}

/**
* Occurs whenever a new invoice is created. To learn how webhooks can be used with this event, and how they can affect it, see [Using Webhooks with Subscriptions](/docs/subscriptions/webhooks).
* Occurs whenever a new invoice is created. To learn how webhooks can be used with this event, and how they can affect it, see [Using Webhooks with Subscriptions](https://docs.stripe.com/subscriptions/webhooks).
*/
interface InvoiceCreatedEvent extends EventBase {
type: 'invoice.created';
Expand Down Expand Up @@ -1582,7 +1582,7 @@ declare module 'stripe' {
}

/**
* Occurs whenever a draft invoice cannot be finalized. See the invoice’s [last finalization error](/docs/api/invoices/object#invoice_object-last_finalization_error) for details.
* Occurs whenever a draft invoice cannot be finalized. See the invoice’s [last finalization error](https://docs.stripe.com/api/invoices/object#invoice_object-last_finalization_error) for details.
*/
interface InvoiceFinalizationFailedEvent extends EventBase {
type: 'invoice.finalization_failed';
Expand Down Expand Up @@ -1806,7 +1806,7 @@ declare module 'stripe' {
}

/**
* Represents a synchronous request for authorization, see [Using your integration to handle authorization requests](/docs/issuing/purchases/authorizations#authorization-handling).
* Represents a synchronous request for authorization, see [Using your integration to handle authorization requests](https://docs.stripe.com/issuing/purchases/authorizations#authorization-handling).
*/
interface IssuingAuthorizationRequestEvent extends EventBase {
type: 'issuing_authorization.request';
Expand Down Expand Up @@ -2062,7 +2062,7 @@ declare module 'stripe' {
}

/**
* Occurs when a PaymentIntent has funds to be captured. Check the `amount_capturable` property on the PaymentIntent to determine the amount that can be captured. You may capture the PaymentIntent with an `amount_to_capture` value up to the specified amount. [Learn more about capturing PaymentIntents.](https://stripe.com/docs/api/payment_intents/capture)
* Occurs when a PaymentIntent has funds to be captured. Check the `amount_capturable` property on the PaymentIntent to determine the amount that can be captured. You may capture the PaymentIntent with an `amount_to_capture` value up to the specified amount. [Learn more about capturing PaymentIntents.](https://docs.stripe.com/api/payment_intents/capture)
*/
interface PaymentIntentAmountCapturableUpdatedEvent extends EventBase {
type: 'payment_intent.amount_capturable_updated';
Expand Down Expand Up @@ -2270,7 +2270,7 @@ declare module 'stripe' {
}

/**
* Occurs whenever a payment method is updated via the [PaymentMethod update API](https://stripe.com/docs/api/payment_methods/update).
* Occurs whenever a payment method is updated via the [PaymentMethod update API](https://docs.stripe.com/api/payment_methods/update).
*/
interface PaymentMethodUpdatedEvent extends EventBase {
type: 'payment_method.updated';
Expand Down
4 changes: 2 additions & 2 deletions types/Events.d.ts
Expand Up @@ -285,10 +285,10 @@ declare module 'stripe' {
* `Event` objects directly to an endpoint on your server. You can manage
* webhooks in your
* [account settings](https://dashboard.stripe.com/account/webhooks). Learn how
* to [listen for events](https://stripe.com/docs/webhooks)
* to [listen for events](https://docs.stripe.com/webhooks)
* so that your integration can automatically trigger reactions.
*
* When using [Connect](https://stripe.com/docs/connect), you can also receive event notifications
* When using [Connect](https://docs.stripe.com/connect), you can also receive event notifications
* that occur in connected accounts. For these events, there's an
* additional `account` attribute in the received `Event` object.
*
Expand Down
2 changes: 1 addition & 1 deletion types/EventsResource.d.ts
Expand Up @@ -51,7 +51,7 @@ declare module 'stripe' {
): Promise<Stripe.Response<Stripe.Event>>;

/**
* List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://stripe.com/docs/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header).
* List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://docs.stripe.com/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header).
*/
list(
params?: EventListParams,
Expand Down
6 changes: 3 additions & 3 deletions types/WebhookEndpoints.d.ts
Expand Up @@ -23,13 +23,13 @@ declare module 'stripe' {
}

/**
* You can configure [webhook endpoints](https://stripe.com/docs/webhooks/) via the API to be
* You can configure [webhook endpoints](https://docs.stripe.com/webhooks/) via the API to be
* notified about events that happen in your Stripe account or connected
* accounts.
*
* Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints.
*
* Related guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure)
* Related guide: [Setting up webhooks](https://docs.stripe.com/webhooks/configure)
*/
interface WebhookEndpoint {
/**
Expand Down Expand Up @@ -83,7 +83,7 @@ declare module 'stripe' {
metadata: Stripe.Metadata;

/**
* The endpoint's secret, used to generate [webhook signatures](https://stripe.com/docs/webhooks/signatures). Only returned at creation.
* The endpoint's secret, used to generate [webhook signatures](https://docs.stripe.com/webhooks/signatures). Only returned at creation.
*/
secret?: string;

Expand Down

0 comments on commit f385b54

Please sign in to comment.