Skip to content

Commit

Permalink
Codegen for openapi 067bdc5
Browse files Browse the repository at this point in the history
  • Loading branch information
dcr-stripe committed Dec 22, 2021
1 parent 365321b commit bdb32ab
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 5 deletions.
2 changes: 1 addition & 1 deletion types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ declare module 'stripe' {

/**
* Preferred language of the Klarna authorization page that the customer is redirected to.
* Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `fr-FR`, or `en-FR`
* Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, or `en-FR`
*/
preferred_locale: string | null;
}
Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ declare module 'stripe' {

interface InvoiceFinalizeInvoiceParams {
/**
* Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/overview#auto-advance) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action.
* Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/invoicing/automatic-charging) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action.
*/
auto_advance?: boolean;

Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/Issuing/Cardholders.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ declare module 'stripe' {
billing: CardholderCreateParams.Billing;

/**
* The cardholder's name. This will be printed on cards issued to them.
* The cardholder's name. This will be printed on cards issued to them. The maximum length of this field is 24 characters.
*/
name: string;

Expand Down
38 changes: 36 additions & 2 deletions types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ declare module 'stripe' {

alipay?: PaymentMethodOptions.Alipay;

au_becs_debit?: PaymentMethodOptions.AuBecsDebit;

bancontact?: PaymentMethodOptions.Bancontact;

boleto?: PaymentMethodOptions.Boleto;
Expand Down Expand Up @@ -595,6 +597,8 @@ declare module 'stripe' {

interface Alipay {}

interface AuBecsDebit {}

interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
Expand Down Expand Up @@ -785,9 +789,9 @@ declare module 'stripe' {
card?: Processing.Card;

/**
* Type of the next action to perform, one of `card`.
* Type of the payment method for which payment is in `processing` state, one of `card`.
*/
type: string;
type: 'card';
}

namespace Processing {
Expand Down Expand Up @@ -1489,6 +1493,11 @@ declare module 'stripe' {
*/
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;

/**
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
*/
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;

/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
Expand Down Expand Up @@ -1612,6 +1621,8 @@ declare module 'stripe' {

interface Alipay {}

interface AuBecsDebit {}

interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
Expand Down Expand Up @@ -1751,6 +1762,7 @@ declare module 'stripe' {
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-FR'
| 'en-GB'
| 'en-IE'
| 'en-IT'
Expand All @@ -1759,8 +1771,10 @@ declare module 'stripe' {
| 'en-SE'
| 'en-US'
| 'es-ES'
| 'es-US'
| 'fi-FI'
| 'fr-BE'
| 'fr-FR'
| 'it-IT'
| 'nb-NO'
| 'nl-BE'
Expand Down Expand Up @@ -2430,6 +2444,11 @@ declare module 'stripe' {
*/
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;

/**
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
*/
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;

/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
Expand Down Expand Up @@ -2553,6 +2572,8 @@ declare module 'stripe' {

interface Alipay {}

interface AuBecsDebit {}

interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
Expand Down Expand Up @@ -2692,6 +2713,7 @@ declare module 'stripe' {
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-FR'
| 'en-GB'
| 'en-IE'
| 'en-IT'
Expand All @@ -2700,8 +2722,10 @@ declare module 'stripe' {
| 'en-SE'
| 'en-US'
| 'es-ES'
| 'es-US'
| 'fi-FI'
| 'fr-BE'
| 'fr-FR'
| 'it-IT'
| 'nb-NO'
| 'nl-BE'
Expand Down Expand Up @@ -3485,6 +3509,11 @@ declare module 'stripe' {
*/
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;

/**
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
*/
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;

/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
Expand Down Expand Up @@ -3608,6 +3637,8 @@ declare module 'stripe' {

interface Alipay {}

interface AuBecsDebit {}

interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
Expand Down Expand Up @@ -3747,6 +3778,7 @@ declare module 'stripe' {
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-FR'
| 'en-GB'
| 'en-IE'
| 'en-IT'
Expand All @@ -3755,8 +3787,10 @@ declare module 'stripe' {
| 'en-SE'
| 'en-US'
| 'es-ES'
| 'es-US'
| 'fi-FI'
| 'fr-BE'
| 'fr-FR'
| 'it-IT'
| 'nb-NO'
| 'nl-BE'
Expand Down
4 changes: 4 additions & 0 deletions types/2020-08-27/SetupAttempts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ declare module 'stripe' {

bancontact?: PaymentMethodDetails.Bancontact;

boleto?: PaymentMethodDetails.Boleto;

card?: PaymentMethodDetails.Card;

card_present?: PaymentMethodDetails.CardPresent;
Expand Down Expand Up @@ -150,6 +152,8 @@ declare module 'stripe' {
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
}

interface Boleto {}

interface Card {
/**
* Populated if this authorization used 3D Secure authentication.
Expand Down

0 comments on commit bdb32ab

Please sign in to comment.