Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code #1924

Merged
merged 5 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v596
v602
4 changes: 3 additions & 1 deletion types/Customers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ declare module 'stripe' {
deleted?: void;

/**
* If Stripe bills the customer's latest invoice by automatically charging and the latest charge fails, it sets `delinquent`` to `true``. If Stripe bills the invoice by sending it, and the invoice isn't paid by the due date, it also sets `delinquent`` to `true`.
* Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`.
*
* If an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.
*
* If you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to `false`.
*/
delinquent?: boolean | null;

Expand Down
30 changes: 30 additions & 0 deletions types/EventTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ declare module 'stripe' {
| IssuingDisputeFundsReinstatedEvent
| IssuingDisputeSubmittedEvent
| IssuingDisputeUpdatedEvent
| IssuingTokenCreatedEvent
| IssuingTokenUpdatedEvent
| IssuingTransactionCreatedEvent
| IssuingTransactionUpdatedEvent
| MandateUpdatedEvent
Expand Down Expand Up @@ -1614,6 +1616,34 @@ declare module 'stripe' {
}
}

/**
* Occurs whenever an issuing digital wallet token is created.
*/
interface IssuingTokenCreatedEvent extends EventBase {
type: 'issuing_token.created';
data: IssuingTokenCreatedEvent.Data;
}

namespace IssuingTokenCreatedEvent {
interface Data extends Stripe.Event.Data {
object: Stripe.Issuing.Token;
}
}

/**
* Occurs whenever an issuing digital wallet token is updated.
*/
interface IssuingTokenUpdatedEvent extends EventBase {
type: 'issuing_token.updated';
data: IssuingTokenUpdatedEvent.Data;
}

namespace IssuingTokenUpdatedEvent {
interface Data extends Stripe.Event.Data {
object: Stripe.Issuing.Token;
}
}

/**
* Occurs whenever an issuing transaction is created.
*/
Expand Down
2 changes: 2 additions & 0 deletions types/Events.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ declare module 'stripe' {
| 'issuing_dispute.funds_reinstated'
| 'issuing_dispute.submitted'
| 'issuing_dispute.updated'
| 'issuing_token.created'
| 'issuing_token.updated'
| 'issuing_transaction.created'
| 'issuing_transaction.updated'
| 'mandate.updated'
Expand Down
2 changes: 1 addition & 1 deletion types/Issuing/Tokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare module 'stripe' {
namespace Stripe {
namespace Issuing {
/**
* An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/docs/issuing), you can view and manage these tokens through Stripe.
* An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/docs/issuing), you can [view and manage these tokens](https://stripe.com/docs/issuing/controls/token-management) through Stripe.
*/
interface Token {
/**
Expand Down
2 changes: 1 addition & 1 deletion types/PaymentMethodConfigurations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ declare module 'stripe' {
*
* Related guides:
* - [Payment Method Configurations API](https://stripe.com/docs/connect/payment-method-configurations)
* - [Multiple payment method configurations on dynamic payment methods](https://stripe.com/docs/payments/multiple-payment-method-configs)
* - [Multiple configurations on dynamic payment methods](https://stripe.com/docs/payments/multiple-payment-method-configs)
* - [Multiple configurations for your Connect accounts](https://stripe.com/docs/connect/multiple-payment-method-configurations)
*/
interface PaymentMethodConfiguration {
Expand Down
4 changes: 4 additions & 0 deletions types/WebhookEndpointsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ declare module 'stripe' {
| 'issuing_dispute.funds_reinstated'
| 'issuing_dispute.submitted'
| 'issuing_dispute.updated'
| 'issuing_token.created'
| 'issuing_token.updated'
| 'issuing_transaction.created'
| 'issuing_transaction.updated'
| 'mandate.updated'
Expand Down Expand Up @@ -509,6 +511,8 @@ declare module 'stripe' {
| 'issuing_dispute.funds_reinstated'
| 'issuing_dispute.submitted'
| 'issuing_dispute.updated'
| 'issuing_token.created'
| 'issuing_token.updated'
| 'issuing_transaction.created'
| 'issuing_transaction.updated'
| 'mandate.updated'
Expand Down
Loading