From b4a2d5acafe0c0c683348f04b0d7498400067e9e Mon Sep 17 00:00:00 2001 From: Christopher Trudeau Date: Tue, 15 Dec 2020 15:48:28 -0800 Subject: [PATCH] Codegen for openapi d387fb3 --- types/2020-08-27/Charges.d.ts | 4 ++-- types/2020-08-27/InvoiceLineItems.d.ts | 3 +++ types/2020-08-27/Invoices.d.ts | 3 +++ types/2020-08-27/Issuing/Cards.d.ts | 6 +++--- types/2020-08-27/PaymentMethods.d.ts | 2 +- types/2020-08-27/SetupAttempts.d.ts | 9 +++++++++ 6 files changed, 21 insertions(+), 6 deletions(-) diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index 44fc1c8552..dc7debb20c 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -1041,7 +1041,7 @@ declare module 'stripe' { /** * The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. */ - bank?: Eps.Bank | null; + bank: Eps.Bank | null; /** * Owner's verified full name. Values are verified or provided by EPS directly @@ -1391,7 +1391,7 @@ declare module 'stripe' { /** * The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. */ - bank?: P24.Bank | null; + bank: P24.Bank | null; /** * Unique reference for this Przelewy24 payment. diff --git a/types/2020-08-27/InvoiceLineItems.d.ts b/types/2020-08-27/InvoiceLineItems.d.ts index 47af36459a..2c77d0b1ff 100644 --- a/types/2020-08-27/InvoiceLineItems.d.ts +++ b/types/2020-08-27/InvoiceLineItems.d.ts @@ -332,6 +332,9 @@ declare module 'stripe' { */ quantity?: number; + /** + * The tax rates that apply to the item. When set, any `default_tax_rates` do not apply to this item. + */ tax_rates?: Stripe.Emptyable>; /** diff --git a/types/2020-08-27/Invoices.d.ts b/types/2020-08-27/Invoices.d.ts index 5e20ae732c..36fed27756 100644 --- a/types/2020-08-27/Invoices.d.ts +++ b/types/2020-08-27/Invoices.d.ts @@ -1184,6 +1184,9 @@ declare module 'stripe' { */ quantity?: number; + /** + * The tax rates that apply to the item. When set, any `default_tax_rates` do not apply to this item. + */ tax_rates?: Stripe.Emptyable>; /** diff --git a/types/2020-08-27/Issuing/Cards.d.ts b/types/2020-08-27/Issuing/Cards.d.ts index 22e55d1589..4d949045e2 100644 --- a/types/2020-08-27/Issuing/Cards.d.ts +++ b/types/2020-08-27/Issuing/Cards.d.ts @@ -189,7 +189,7 @@ declare module 'stripe' { blocked_categories: Array | null; /** - * Limit spending with amount-based rules. + * Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain). */ spending_limits: Array | null; @@ -1230,7 +1230,7 @@ declare module 'stripe' { blocked_categories?: Array; /** - * Limit spending with amount-based rules. + * Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain). */ spending_limits?: Array; } @@ -2188,7 +2188,7 @@ declare module 'stripe' { blocked_categories?: Array; /** - * Limit spending with amount-based rules. + * Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain). */ spending_limits?: Array; } diff --git a/types/2020-08-27/PaymentMethods.d.ts b/types/2020-08-27/PaymentMethods.d.ts index 59c4cc430c..a84e115051 100644 --- a/types/2020-08-27/PaymentMethods.d.ts +++ b/types/2020-08-27/PaymentMethods.d.ts @@ -339,7 +339,7 @@ declare module 'stripe' { /** * The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. */ - bank?: Eps.Bank | null; + bank: Eps.Bank | null; } namespace Eps { diff --git a/types/2020-08-27/SetupAttempts.d.ts b/types/2020-08-27/SetupAttempts.d.ts index c3ab9f5241..2d79a2ec37 100644 --- a/types/2020-08-27/SetupAttempts.d.ts +++ b/types/2020-08-27/SetupAttempts.d.ts @@ -75,6 +75,8 @@ declare module 'stripe' { card?: PaymentMethodDetails.Card; + card_present?: PaymentMethodDetails.CardPresent; + ideal?: PaymentMethodDetails.Ideal; sofort?: PaymentMethodDetails.Sofort; @@ -189,6 +191,13 @@ declare module 'stripe' { } } + interface CardPresent { + /** + * The ID of the Card PaymentMethod which was generated by this SetupAttempt. + */ + generated_card: string | Stripe.PaymentMethod | null; + } + interface Ideal { /** * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `sns_bank`, `triodos_bank`, or `van_lanschot`.