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 #1939

Merged
merged 9 commits into from
Oct 26, 2023
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v605
v623
4 changes: 2 additions & 2 deletions types/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ declare module 'stripe' {
currently_due: Array<string> | null;

/**
* This is typed as a string for consistency with `requirements.disabled_reason`, but it safe to assume `future_requirements.disabled_reason` is empty because fields in `future_requirements` will never disable the account.
* This is typed as a string for consistency with `requirements.disabled_reason`.
*/
disabled_reason: string | null;

Expand Down Expand Up @@ -868,7 +868,7 @@ declare module 'stripe' {
currently_due: Array<string> | null;

/**
* If the account is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`.
* If the account is disabled, this string describes why. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification). Can be `action_required.requested_capabilities`, `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.incomplete_verification`, `rejected.listed`, `rejected.other`, `rejected.terms_of_service`, `under_review`, or `other`.
*/
disabled_reason: string | null;

Expand Down
1 change: 1 addition & 0 deletions types/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ declare module 'stripe' {
| 'application_fees_not_allowed'
| 'authentication_required'
| 'balance_insufficient'
| 'balance_invalid_parameter'
| 'bank_account_bad_routing_numbers'
| 'bank_account_declined'
| 'bank_account_exists'
Expand Down
2 changes: 1 addition & 1 deletion types/Issuing/Cardholders.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ declare module 'stripe' {
/**
* Information related to the card_issuing program for this cardholder.
*/
card_issuing: Individual.CardIssuing | null;
card_issuing?: Individual.CardIssuing | null;

/**
* The date of birth of this cardholder.
Expand Down
1 change: 1 addition & 0 deletions types/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ declare module 'stripe' {
| 'application_fees_not_allowed'
| 'authentication_required'
| 'balance_insufficient'
| 'balance_invalid_parameter'
| 'bank_account_bad_routing_numbers'
| 'bank_account_declined'
| 'bank_account_exists'
Expand Down
26 changes: 13 additions & 13 deletions types/PaymentIntentsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ declare module 'stripe' {
statement_descriptor_suffix?: string;

/**
* The parameters that you can use to automatically create a Transfer after the payment succeeds.
* The parameters that you can use to automatically create a Transfer.
* Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
*/
transfer_data?: PaymentIntentCreateParams.TransferData;
Expand Down Expand Up @@ -1385,14 +1385,14 @@ declare module 'stripe' {
request_extended_authorization?: boolean;

/**
* Request ability to [increment](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
* Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
*/
request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization;
request_incremental_authorization_support?: boolean;

/**
* Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
* This field was released by mistake and will be removed in the next major version
*/
request_incremental_authorization_support?: boolean;
request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization;
}

namespace CardPresent {
Expand Down Expand Up @@ -3355,14 +3355,14 @@ declare module 'stripe' {
request_extended_authorization?: boolean;

/**
* Request ability to [increment](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
* Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
*/
request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization;
request_incremental_authorization_support?: boolean;

/**
* Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
* This field was released by mistake and will be removed in the next major version
*/
request_incremental_authorization_support?: boolean;
request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization;
}

namespace CardPresent {
Expand Down Expand Up @@ -5463,14 +5463,14 @@ declare module 'stripe' {
request_extended_authorization?: boolean;

/**
* Request ability to [increment](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
* Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
*/
request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization;
request_incremental_authorization_support?: boolean;

/**
* Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
* This field was released by mistake and will be removed in the next major version
*/
request_incremental_authorization_support?: boolean;
request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization;
}

namespace CardPresent {
Expand Down
2 changes: 1 addition & 1 deletion types/PaymentLinks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ declare module 'stripe' {

interface SubscriptionData {
/**
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description: string | null;

Expand Down
2 changes: 1 addition & 1 deletion types/PaymentLinksResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ declare module 'stripe' {

interface SubscriptionData {
/**
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: string;

Expand Down
2 changes: 1 addition & 1 deletion types/Quotes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ declare module 'stripe' {

interface SubscriptionData {
/**
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description: string | null;

Expand Down
4 changes: 2 additions & 2 deletions types/QuotesResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ declare module 'stripe' {

interface SubscriptionData {
/**
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: string;

Expand Down Expand Up @@ -467,7 +467,7 @@ declare module 'stripe' {

interface SubscriptionData {
/**
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: Stripe.Emptyable<string>;

Expand Down
1 change: 1 addition & 0 deletions types/SetupAttempts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ declare module 'stripe' {
| 'application_fees_not_allowed'
| 'authentication_required'
| 'balance_insufficient'
| 'balance_invalid_parameter'
| 'bank_account_bad_routing_numbers'
| 'bank_account_declined'
| 'bank_account_exists'
Expand Down
1 change: 1 addition & 0 deletions types/SetupIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ declare module 'stripe' {
| 'application_fees_not_allowed'
| 'authentication_required'
| 'balance_insufficient'
| 'balance_invalid_parameter'
| 'bank_account_bad_routing_numbers'
| 'bank_account_declined'
| 'bank_account_exists'
Expand Down
4 changes: 2 additions & 2 deletions types/SubscriptionSchedules.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ declare module 'stripe' {
default_payment_method: string | Stripe.PaymentMethod | null;

/**
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description: string | null;

Expand Down Expand Up @@ -257,7 +257,7 @@ declare module 'stripe' {
default_tax_rates?: Array<Stripe.TaxRate> | null;

/**
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description: string | null;

Expand Down
8 changes: 4 additions & 4 deletions types/SubscriptionSchedulesResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ declare module 'stripe' {
default_payment_method?: string;

/**
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: Stripe.Emptyable<string>;

Expand Down Expand Up @@ -197,7 +197,7 @@ declare module 'stripe' {
default_tax_rates?: Stripe.Emptyable<Array<string>>;

/**
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: Stripe.Emptyable<string>;

Expand Down Expand Up @@ -529,7 +529,7 @@ declare module 'stripe' {
default_payment_method?: string;

/**
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: Stripe.Emptyable<string>;

Expand Down Expand Up @@ -647,7 +647,7 @@ declare module 'stripe' {
default_tax_rates?: Stripe.Emptyable<Array<string>>;

/**
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
* Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: Stripe.Emptyable<string>;

Expand Down
2 changes: 1 addition & 1 deletion types/Subscriptions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ declare module 'stripe' {
default_tax_rates?: Array<Stripe.TaxRate> | null;

/**
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces.
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description: string | null;

Expand Down
4 changes: 2 additions & 2 deletions types/SubscriptionsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ declare module 'stripe' {
default_tax_rates?: Stripe.Emptyable<Array<string>>;

/**
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces.
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: string;

Expand Down Expand Up @@ -744,7 +744,7 @@ declare module 'stripe' {
default_tax_rates?: Stripe.Emptyable<Array<string>>;

/**
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces.
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
*/
description?: Stripe.Emptyable<string>;

Expand Down
Loading