Skip to content

Commit

Permalink
Update generated code (#2101)
Browse files Browse the repository at this point in the history
* Update generated code for v1060

* Update generated code for v1061

* Update generated code for v1062

* Update generated code for v1062

* Update generated code for v1063

* Update generated code for v1065

* Update generated code for v1065

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Jun 6, 2024
1 parent 0dd0f66 commit 5f61568
Show file tree
Hide file tree
Showing 12 changed files with 168 additions and 7 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1058
v1065
2 changes: 1 addition & 1 deletion test/resources/generated_examples_test.spec.js

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions types/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ declare module 'stripe' {
*/
fpx_payments?: Capabilities.FpxPayments;

/**
* The status of the GB customer_balance payments (GBP currency) capability of the account, or whether the account can directly process GB customer_balance charges.
*/
gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments;

/**
* The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
*/
Expand All @@ -317,6 +322,11 @@ declare module 'stripe' {
*/
jcb_payments?: Capabilities.JcbPayments;

/**
* The status of the Japanese customer_balance payments (JPY currency) capability of the account, or whether the account can directly process Japanese customer_balance charges.
*/
jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;

/**
* The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.
*/
Expand All @@ -342,6 +352,11 @@ declare module 'stripe' {
*/
mobilepay_payments?: Capabilities.MobilepayPayments;

/**
* The status of the Mexican customer_balance payments (MXN currency) capability of the account, or whether the account can directly process Mexican customer_balance charges.
*/
mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;

/**
* The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
*/
Expand All @@ -367,6 +382,11 @@ declare module 'stripe' {
*/
revolut_pay_payments?: Capabilities.RevolutPayPayments;

/**
* The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges.
*/
sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments;

/**
* The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
*/
Expand Down Expand Up @@ -407,6 +427,11 @@ declare module 'stripe' {
*/
us_bank_account_ach_payments?: Capabilities.UsBankAccountAchPayments;

/**
* The status of the US customer_balance payments (USD currency) capability of the account, or whether the account can directly process US customer_balance charges.
*/
us_bank_transfer_payments?: Capabilities.UsBankTransferPayments;

/**
* The status of the Zip capability of the account, or whether the account can directly process Zip charges.
*/
Expand Down Expand Up @@ -446,6 +471,8 @@ declare module 'stripe' {

type FpxPayments = 'active' | 'inactive' | 'pending';

type GbBankTransferPayments = 'active' | 'inactive' | 'pending';

type GiropayPayments = 'active' | 'inactive' | 'pending';

type GrabpayPayments = 'active' | 'inactive' | 'pending';
Expand All @@ -456,6 +483,8 @@ declare module 'stripe' {

type JcbPayments = 'active' | 'inactive' | 'pending';

type JpBankTransferPayments = 'active' | 'inactive' | 'pending';

type KlarnaPayments = 'active' | 'inactive' | 'pending';

type KonbiniPayments = 'active' | 'inactive' | 'pending';
Expand All @@ -466,6 +495,8 @@ declare module 'stripe' {

type MobilepayPayments = 'active' | 'inactive' | 'pending';

type MxBankTransferPayments = 'active' | 'inactive' | 'pending';

type OxxoPayments = 'active' | 'inactive' | 'pending';

type P24Payments = 'active' | 'inactive' | 'pending';
Expand All @@ -476,6 +507,8 @@ declare module 'stripe' {

type RevolutPayPayments = 'active' | 'inactive' | 'pending';

type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';

type SepaDebitPayments = 'active' | 'inactive' | 'pending';

type SofortPayments = 'active' | 'inactive' | 'pending';
Expand All @@ -492,6 +525,8 @@ declare module 'stripe' {

type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';

type UsBankTransferPayments = 'active' | 'inactive' | 'pending';

type ZipPayments = 'active' | 'inactive' | 'pending';
}

Expand Down
120 changes: 120 additions & 0 deletions types/AccountsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ declare module 'stripe' {
*/
fpx_payments?: Capabilities.FpxPayments;

/**
* The gb_bank_transfer_payments capability.
*/
gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments;

/**
* The giropay_payments capability.
*/
Expand All @@ -299,6 +304,11 @@ declare module 'stripe' {
*/
jcb_payments?: Capabilities.JcbPayments;

/**
* The jp_bank_transfer_payments capability.
*/
jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;

/**
* The klarna_payments capability.
*/
Expand All @@ -324,6 +334,11 @@ declare module 'stripe' {
*/
mobilepay_payments?: Capabilities.MobilepayPayments;

/**
* The mx_bank_transfer_payments capability.
*/
mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;

/**
* The oxxo_payments capability.
*/
Expand All @@ -349,6 +364,11 @@ declare module 'stripe' {
*/
revolut_pay_payments?: Capabilities.RevolutPayPayments;

/**
* The sepa_bank_transfer_payments capability.
*/
sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments;

/**
* The sepa_debit_payments capability.
*/
Expand Down Expand Up @@ -389,6 +409,11 @@ declare module 'stripe' {
*/
us_bank_account_ach_payments?: Capabilities.UsBankAccountAchPayments;

/**
* The us_bank_transfer_payments capability.
*/
us_bank_transfer_payments?: Capabilities.UsBankTransferPayments;

/**
* The zip_payments capability.
*/
Expand Down Expand Up @@ -508,6 +533,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface GbBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface GiropayPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -543,6 +575,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface JpBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface KlarnaPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -578,6 +617,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface MxBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface OxxoPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -613,6 +659,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface SepaBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface SepaDebitPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -669,6 +722,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface UsBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface ZipPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -1785,6 +1845,11 @@ declare module 'stripe' {
*/
fpx_payments?: Capabilities.FpxPayments;

/**
* The gb_bank_transfer_payments capability.
*/
gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments;

/**
* The giropay_payments capability.
*/
Expand All @@ -1810,6 +1875,11 @@ declare module 'stripe' {
*/
jcb_payments?: Capabilities.JcbPayments;

/**
* The jp_bank_transfer_payments capability.
*/
jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;

/**
* The klarna_payments capability.
*/
Expand All @@ -1835,6 +1905,11 @@ declare module 'stripe' {
*/
mobilepay_payments?: Capabilities.MobilepayPayments;

/**
* The mx_bank_transfer_payments capability.
*/
mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;

/**
* The oxxo_payments capability.
*/
Expand All @@ -1860,6 +1935,11 @@ declare module 'stripe' {
*/
revolut_pay_payments?: Capabilities.RevolutPayPayments;

/**
* The sepa_bank_transfer_payments capability.
*/
sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments;

/**
* The sepa_debit_payments capability.
*/
Expand Down Expand Up @@ -1900,6 +1980,11 @@ declare module 'stripe' {
*/
us_bank_account_ach_payments?: Capabilities.UsBankAccountAchPayments;

/**
* The us_bank_transfer_payments capability.
*/
us_bank_transfer_payments?: Capabilities.UsBankTransferPayments;

/**
* The zip_payments capability.
*/
Expand Down Expand Up @@ -2019,6 +2104,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface GbBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface GiropayPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -2054,6 +2146,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface JpBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface KlarnaPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -2089,6 +2188,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface MxBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface OxxoPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -2124,6 +2230,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface SepaBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface SepaDebitPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -2180,6 +2293,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface UsBankTransferPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface ZipPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down
4 changes: 2 additions & 2 deletions types/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ declare module 'stripe' {
mode: Session.Mode;

/**
* The ID of the PaymentIntent for Checkout Sessions in `payment` mode.
* The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
*/
payment_intent: string | Stripe.PaymentIntent | null;

Expand Down Expand Up @@ -234,7 +234,7 @@ declare module 'stripe' {
saved_payment_method_options: Session.SavedPaymentMethodOptions | null;

/**
* The ID of the SetupIntent for Checkout Sessions in `setup` mode.
* The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
*/
setup_intent: string | Stripe.SetupIntent | null;

Expand Down
2 changes: 1 addition & 1 deletion types/Climate/OrdersResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ declare module 'stripe' {
list(options?: RequestOptions): ApiListPromise<Stripe.Climate.Order>;

/**
* Cancels a Climate order. You can cancel an order within 30 days of creation. Stripe refunds the
* Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the
* reservation amount_subtotal, but not the amount_fees for user-triggered cancellations. Frontier
* might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe
* provides 90 days advance notice and refunds the amount_total.
Expand Down
Loading

0 comments on commit 5f61568

Please sign in to comment.