From f03892c606deb555b78f09808a9833f34ea2f19e Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Thu, 6 Aug 2020 23:10:31 -0700 Subject: [PATCH] Codegen for openapi 2d7c585 --- types/2020-03-02/Accounts.d.ts | 6 +- types/2020-03-02/Checkout/Sessions.d.ts | 6 +- types/2020-03-02/Customers.d.ts | 2 +- types/2020-03-02/Discounts.d.ts | 4 +- types/2020-03-02/InvoiceItems.d.ts | 4 +- types/2020-03-02/InvoiceLineItems.d.ts | 4 +- types/2020-03-02/Invoices.d.ts | 4 +- types/2020-03-02/PaymentIntents.d.ts | 73 +++++++++++++++++++++ types/2020-03-02/PaymentMethods.d.ts | 13 ++++ types/2020-03-02/Plans.d.ts | 2 +- types/2020-03-02/PromotionCodes.d.ts | 2 +- types/2020-03-02/SubscriptionItems.d.ts | 4 +- types/2020-03-02/SubscriptionSchedules.d.ts | 8 +-- types/2020-03-02/Subscriptions.d.ts | 8 +-- types/2020-03-02/TaxIds.d.ts | 2 +- 15 files changed, 114 insertions(+), 28 deletions(-) diff --git a/types/2020-03-02/Accounts.d.ts b/types/2020-03-02/Accounts.d.ts index 5aa6048cb8..d72286b1c2 100644 --- a/types/2020-03-02/Accounts.d.ts +++ b/types/2020-03-02/Accounts.d.ts @@ -742,7 +742,7 @@ declare module 'stripe' { default_currency?: string; /** - * The email address of the account holder. For Custom accounts, this is only to make the account easier to identify to you: Stripe will never directly email your users. + * The email address of the account holder. This is only to make the account easier to identify to you. Stripe will never directly email Custom accounts. */ email?: string; @@ -784,7 +784,7 @@ declare module 'stripe' { tos_acceptance?: AccountCreateParams.TosAcceptance; /** - * The type of Stripe account to create. Currently must be `custom`, as only [Custom accounts](https://stripe.com/docs/connect/custom-accounts) may be created via the API. + * The type of Stripe account to create. May be one of `custom`, `express` or `standard`. */ type?: AccountCreateParams.Type; } @@ -1567,7 +1567,7 @@ declare module 'stripe' { default_currency?: string; /** - * Email address of the account representative. For Standard accounts, this is used to ask them to claim their Stripe account. For Custom accounts, this only makes the account easier to identify to platforms; Stripe does not email the account representative. + * The email address of the account holder. This is only to make the account easier to identify to you. Stripe will never directly email Custom accounts. */ email?: string; diff --git a/types/2020-03-02/Checkout/Sessions.d.ts b/types/2020-03-02/Checkout/Sessions.d.ts index 16d7334c13..6ce06be2dc 100644 --- a/types/2020-03-02/Checkout/Sessions.d.ts +++ b/types/2020-03-02/Checkout/Sessions.d.ts @@ -20,7 +20,7 @@ declare module 'stripe' { /** * Enables user redeemable promotion codes. */ - allow_promotion_codes?: boolean | null; + allow_promotion_codes: boolean | null; /** * Total of all items before discounts or taxes are applied. @@ -796,12 +796,12 @@ declare module 'stripe' { recurring?: PriceData.Recurring; /** - * A positive integer in %s representing how much to charge. + * A positive integer in %s representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required. */ unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } diff --git a/types/2020-03-02/Customers.d.ts b/types/2020-03-02/Customers.d.ts index 254d8f1f15..8ecdcafc86 100644 --- a/types/2020-03-02/Customers.d.ts +++ b/types/2020-03-02/Customers.d.ts @@ -347,7 +347,7 @@ declare module 'stripe' { interface TaxIdDatum { /** - * Type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, or `my_frp` + * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` */ type: TaxIdDatum.Type; diff --git a/types/2020-03-02/Discounts.d.ts b/types/2020-03-02/Discounts.d.ts index b38e403ec7..4db37e6eae 100644 --- a/types/2020-03-02/Discounts.d.ts +++ b/types/2020-03-02/Discounts.d.ts @@ -47,7 +47,7 @@ declare module 'stripe' { /** * The promotion code applied to create this discount. */ - promotion_code?: string | Stripe.PromotionCode | null; + promotion_code: string | Stripe.PromotionCode | null; /** * Date that the coupon was applied. @@ -104,7 +104,7 @@ declare module 'stripe' { /** * The promotion code applied to create this discount. */ - promotion_code?: string | Stripe.PromotionCode | null; + promotion_code: string | Stripe.PromotionCode | null; /** * Date that the coupon was applied. diff --git a/types/2020-03-02/InvoiceItems.d.ts b/types/2020-03-02/InvoiceItems.d.ts index b648b5c8e4..b065b732ab 100644 --- a/types/2020-03-02/InvoiceItems.d.ts +++ b/types/2020-03-02/InvoiceItems.d.ts @@ -283,7 +283,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -405,7 +405,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } diff --git a/types/2020-03-02/InvoiceLineItems.d.ts b/types/2020-03-02/InvoiceLineItems.d.ts index e4d1bb3821..4fc236ae78 100644 --- a/types/2020-03-02/InvoiceLineItems.d.ts +++ b/types/2020-03-02/InvoiceLineItems.d.ts @@ -396,7 +396,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -486,7 +486,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } diff --git a/types/2020-03-02/Invoices.d.ts b/types/2020-03-02/Invoices.d.ts index 140d37ec4a..94fb617883 100644 --- a/types/2020-03-02/Invoices.d.ts +++ b/types/2020-03-02/Invoices.d.ts @@ -1129,7 +1129,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -1219,7 +1219,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } diff --git a/types/2020-03-02/PaymentIntents.d.ts b/types/2020-03-02/PaymentIntents.d.ts index 59bbfd1276..95f6b59aa3 100644 --- a/types/2020-03-02/PaymentIntents.d.ts +++ b/types/2020-03-02/PaymentIntents.d.ts @@ -317,6 +317,8 @@ declare module 'stripe' { } interface NextAction { + alipay_handle_redirect?: NextAction.AlipayHandleRedirect; + redirect_to_url?: NextAction.RedirectToUrl; /** @@ -331,6 +333,28 @@ declare module 'stripe' { } namespace NextAction { + interface AlipayHandleRedirect { + /** + * The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App. + */ + native_data: string | null; + + /** + * The native URL you must redirect your customer to in order to authenticate the payment in an iOS App. + */ + native_url: string | null; + + /** + * If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. + */ + return_url: string | null; + + /** + * The URL you must redirect your customer to in order to authenticate the payment. + */ + url: string | null; + } + interface RedirectToUrl { /** * If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. @@ -347,12 +371,16 @@ declare module 'stripe' { } interface PaymentMethodOptions { + alipay?: PaymentMethodOptions.Alipay; + bancontact?: PaymentMethodOptions.Bancontact; card?: PaymentMethodOptions.Card; } namespace PaymentMethodOptions { + interface Alipay {} + interface Bancontact { /** * Preferred language of the Bancontact authorization page that the customer is redirected to. @@ -728,6 +756,11 @@ declare module 'stripe' { type OffSession = 'one_off' | 'recurring'; interface PaymentMethodData { + /** + * If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. + */ + alipay?: PaymentMethodData.Alipay; + /** * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. */ @@ -795,6 +828,8 @@ declare module 'stripe' { } namespace PaymentMethodData { + interface Alipay {} + interface AuBecsDebit { /** * The account number for the bank account. @@ -954,6 +989,7 @@ declare module 'stripe' { } type Type = + | 'alipay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' @@ -967,6 +1003,11 @@ declare module 'stripe' { } interface PaymentMethodOptions { + /** + * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + */ + alipay?: PaymentMethodOptions.Alipay | null; + /** * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. */ @@ -979,6 +1020,8 @@ declare module 'stripe' { } namespace PaymentMethodOptions { + interface Alipay {} + interface Bancontact { /** * Preferred language of the Bancontact authorization page that the customer is redirected to. @@ -1251,6 +1294,11 @@ declare module 'stripe' { namespace PaymentIntentUpdateParams { interface PaymentMethodData { + /** + * If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. + */ + alipay?: PaymentMethodData.Alipay; + /** * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. */ @@ -1318,6 +1366,8 @@ declare module 'stripe' { } namespace PaymentMethodData { + interface Alipay {} + interface AuBecsDebit { /** * The account number for the bank account. @@ -1477,6 +1527,7 @@ declare module 'stripe' { } type Type = + | 'alipay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' @@ -1490,6 +1541,11 @@ declare module 'stripe' { } interface PaymentMethodOptions { + /** + * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + */ + alipay?: PaymentMethodOptions.Alipay | null; + /** * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. */ @@ -1502,6 +1558,8 @@ declare module 'stripe' { } namespace PaymentMethodOptions { + interface Alipay {} + interface Bancontact { /** * Preferred language of the Bancontact authorization page that the customer is redirected to. @@ -1888,6 +1946,11 @@ declare module 'stripe' { type OffSession = 'one_off' | 'recurring'; interface PaymentMethodData { + /** + * If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. + */ + alipay?: PaymentMethodData.Alipay; + /** * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. */ @@ -1955,6 +2018,8 @@ declare module 'stripe' { } namespace PaymentMethodData { + interface Alipay {} + interface AuBecsDebit { /** * The account number for the bank account. @@ -2114,6 +2179,7 @@ declare module 'stripe' { } type Type = + | 'alipay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' @@ -2127,6 +2193,11 @@ declare module 'stripe' { } interface PaymentMethodOptions { + /** + * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + */ + alipay?: PaymentMethodOptions.Alipay | null; + /** * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. */ @@ -2139,6 +2210,8 @@ declare module 'stripe' { } namespace PaymentMethodOptions { + interface Alipay {} + interface Bancontact { /** * Preferred language of the Bancontact authorization page that the customer is redirected to. diff --git a/types/2020-03-02/PaymentMethods.d.ts b/types/2020-03-02/PaymentMethods.d.ts index 1f6913458a..57aefa1be1 100644 --- a/types/2020-03-02/PaymentMethods.d.ts +++ b/types/2020-03-02/PaymentMethods.d.ts @@ -15,6 +15,8 @@ declare module 'stripe' { */ object: 'payment_method'; + alipay?: PaymentMethod.Alipay; + au_becs_debit?: PaymentMethod.AuBecsDebit; bacs_debit?: PaymentMethod.BacsDebit; @@ -68,6 +70,8 @@ declare module 'stripe' { } namespace PaymentMethod { + interface Alipay {} + interface AuBecsDebit { /** * Six-digit number identifying bank and branch associated with this bank account. @@ -440,6 +444,7 @@ declare module 'stripe' { } type Type = + | 'alipay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' @@ -454,6 +459,11 @@ declare module 'stripe' { } interface PaymentMethodCreateParams { + /** + * If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. + */ + alipay?: PaymentMethodCreateParams.Alipay; + /** * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. */ @@ -541,6 +551,8 @@ declare module 'stripe' { } namespace PaymentMethodCreateParams { + interface Alipay {} + interface AuBecsDebit { /** * The account number for the bank account. @@ -726,6 +738,7 @@ declare module 'stripe' { } type Type = + | 'alipay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' diff --git a/types/2020-03-02/Plans.d.ts b/types/2020-03-02/Plans.d.ts index c4e36fdb04..d1ccde617b 100644 --- a/types/2020-03-02/Plans.d.ts +++ b/types/2020-03-02/Plans.d.ts @@ -426,7 +426,7 @@ declare module 'stripe' { class PlansResource { /** - * You can create plans using the API, or in the Stripe [Dashboard](https://dashboard.stripe.com/products). + * You can now model subscriptions more flexibly using the [Prices API](https://stripe.com/docs/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration. */ create( params: PlanCreateParams, diff --git a/types/2020-03-02/PromotionCodes.d.ts b/types/2020-03-02/PromotionCodes.d.ts index dee23893e4..2871e7bfce 100644 --- a/types/2020-03-02/PromotionCodes.d.ts +++ b/types/2020-03-02/PromotionCodes.d.ts @@ -62,7 +62,7 @@ declare module 'stripe' { */ metadata: Metadata; - restrictions?: PromotionCode.Restrictions; + restrictions: PromotionCode.Restrictions; /** * Number of times this promotion code has been used. diff --git a/types/2020-03-02/SubscriptionItems.d.ts b/types/2020-03-02/SubscriptionItems.d.ts index effb192504..064cb9cce4 100644 --- a/types/2020-03-02/SubscriptionItems.d.ts +++ b/types/2020-03-02/SubscriptionItems.d.ts @@ -209,7 +209,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -352,7 +352,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } diff --git a/types/2020-03-02/SubscriptionSchedules.d.ts b/types/2020-03-02/SubscriptionSchedules.d.ts index 62de865ac6..6e6fc16e55 100644 --- a/types/2020-03-02/SubscriptionSchedules.d.ts +++ b/types/2020-03-02/SubscriptionSchedules.d.ts @@ -584,7 +584,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -675,7 +675,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -962,7 +962,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -1053,7 +1053,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } diff --git a/types/2020-03-02/Subscriptions.d.ts b/types/2020-03-02/Subscriptions.d.ts index 9f6b76d337..4246293eee 100644 --- a/types/2020-03-02/Subscriptions.d.ts +++ b/types/2020-03-02/Subscriptions.d.ts @@ -479,7 +479,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -566,7 +566,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -814,7 +814,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } @@ -918,7 +918,7 @@ declare module 'stripe' { unit_amount?: number; /** - * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. + * Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set, but at least one is required. */ unit_amount_decimal?: string; } diff --git a/types/2020-03-02/TaxIds.d.ts b/types/2020-03-02/TaxIds.d.ts index d980eb1256..edc90af74e 100644 --- a/types/2020-03-02/TaxIds.d.ts +++ b/types/2020-03-02/TaxIds.d.ts @@ -131,7 +131,7 @@ declare module 'stripe' { interface TaxIdCreateParams { /** - * Type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, or `my_frp` + * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` */ type: TaxIdCreateParams.Type;