diff --git a/types/2019-12-03/Checkout/Sessions.d.ts b/types/2019-12-03/Checkout/Sessions.d.ts index 366cf1d77d..71c111dfbc 100644 --- a/types/2019-12-03/Checkout/Sessions.d.ts +++ b/types/2019-12-03/Checkout/Sessions.d.ts @@ -67,6 +67,11 @@ declare module 'stripe' { */ locale: Session.Locale | null; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata: Metadata | null; + /** * The mode of the Checkout Session, one of `payment`, `setup`, or `subscription`. */ @@ -251,6 +256,11 @@ declare module 'stripe' { */ locale?: SessionCreateParams.Locale; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ + metadata?: MetadataParam; + /** * The mode of the Checkout Session, one of `payment`, `setup`, or `subscription`. */ diff --git a/types/2019-12-03/Issuing/Cardholders.d.ts b/types/2019-12-03/Issuing/Cardholders.d.ts index d96d8192a1..ae8ff49c14 100644 --- a/types/2019-12-03/Issuing/Cardholders.d.ts +++ b/types/2019-12-03/Issuing/Cardholders.d.ts @@ -2096,11 +2096,6 @@ declare module 'stripe' { interface Billing { address: Billing.Address; - - /** - * Deprecated param. Passing value for this param is simply discarded. It will be removed in the next client library major version - */ - name?: string; } namespace Billing { @@ -3176,11 +3171,6 @@ declare module 'stripe' { interface Billing { address: Billing.Address; - - /** - * Deprecated param. Passing value for this param is simply discarded. It will be removed in the next client library major version - */ - name?: string; } namespace Billing { diff --git a/types/2019-12-03/Issuing/Cards.d.ts b/types/2019-12-03/Issuing/Cards.d.ts index 682cb5ee25..f54cda126a 100644 --- a/types/2019-12-03/Issuing/Cards.d.ts +++ b/types/2019-12-03/Issuing/Cards.d.ts @@ -1065,11 +1065,6 @@ declare module 'stripe' { */ name: string; - /** - * Deprecated field. It always return null and will be removed in the next client library major version - */ - phone: string | null; - /** * The delivery status of the card. */ @@ -1119,7 +1114,7 @@ declare module 'stripe' { /** * The type of card to issue. Possible values are `physical` or `virtual`. */ - type: string | CardCreateParams.Type; + type: CardCreateParams.Type; /** * Spending rules that give you some control over how your cards can be used. Refer to our [authorizations](https://stripe.com/docs/issuing/authorizations) documentation for more details. @@ -2094,7 +2089,7 @@ declare module 'stripe' { /** * Packaging options. */ - type?: string | Shipping.Type; + type?: Shipping.Type; } namespace Shipping { diff --git a/types/2019-12-03/Products.d.ts b/types/2019-12-03/Products.d.ts index 5f6f7a93d0..4a5a3cb13c 100644 --- a/types/2019-12-03/Products.d.ts +++ b/types/2019-12-03/Products.d.ts @@ -17,7 +17,7 @@ declare module 'stripe' { /** * Whether the product is currently available for purchase. */ - active: boolean | null; + active: boolean; /** * A list of up to 5 attributes that each SKU can provide values for (e.g., `["color", "size"]`). diff --git a/types/2019-12-03/SetupIntents.d.ts b/types/2019-12-03/SetupIntents.d.ts index d667c1b1bd..ca27a69c80 100644 --- a/types/2019-12-03/SetupIntents.d.ts +++ b/types/2019-12-03/SetupIntents.d.ts @@ -295,7 +295,7 @@ declare module 'stripe' { /** * Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`. */ - usage?: string | SetupIntentCreateParams.Usage; + usage?: SetupIntentCreateParams.Usage; } namespace SetupIntentCreateParams { diff --git a/types/2019-12-03/Terminal/ConnectionTokens.d.ts b/types/2019-12-03/Terminal/ConnectionTokens.d.ts index ed23c4caa3..09534763af 100644 --- a/types/2019-12-03/Terminal/ConnectionTokens.d.ts +++ b/types/2019-12-03/Terminal/ConnectionTokens.d.ts @@ -31,11 +31,6 @@ declare module 'stripe' { * The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. */ location?: string; - - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; } class ConnectionTokensResource { diff --git a/types/2019-12-03/Terminal/Locations.d.ts b/types/2019-12-03/Terminal/Locations.d.ts index fe99ae628b..b880d486f7 100644 --- a/types/2019-12-03/Terminal/Locations.d.ts +++ b/types/2019-12-03/Terminal/Locations.d.ts @@ -75,11 +75,6 @@ declare module 'stripe' { * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; - - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; } namespace LocationCreateParams { @@ -103,11 +98,6 @@ declare module 'stripe' { * Specifies which fields in the response should be expanded. */ expand?: Array; - - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; } interface LocationUpdateParams { @@ -130,11 +120,6 @@ declare module 'stripe' { * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; - - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; } namespace LocationUpdateParams { @@ -158,19 +143,9 @@ declare module 'stripe' { * Specifies which fields in the response should be expanded. */ expand?: Array; - - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; } - interface LocationDeleteParams { - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; - } + interface LocationDeleteParams {} class LocationsResource { /** diff --git a/types/2019-12-03/Terminal/Readers.d.ts b/types/2019-12-03/Terminal/Readers.d.ts index 335f901a38..7c2ef7549e 100644 --- a/types/2019-12-03/Terminal/Readers.d.ts +++ b/types/2019-12-03/Terminal/Readers.d.ts @@ -112,11 +112,6 @@ declare module 'stripe' { * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; - - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; } interface ReaderRetrieveParams { @@ -124,11 +119,6 @@ declare module 'stripe' { * Specifies which fields in the response should be expanded. */ expand?: Array; - - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; } interface ReaderUpdateParams { @@ -146,18 +136,13 @@ declare module 'stripe' { * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; - - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; } interface ReaderListParams extends PaginationParams { /** * Filters readers by device type */ - device_type?: string | ReaderListParams.DeviceType; + device_type?: ReaderListParams.DeviceType; /** * Specifies which fields in the response should be expanded. @@ -169,15 +154,10 @@ declare module 'stripe' { */ location?: string; - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; - /** * A status filter to filter readers to only offline or online readers */ - status?: string | ReaderListParams.Status; + status?: ReaderListParams.Status; } namespace ReaderListParams { @@ -186,12 +166,7 @@ declare module 'stripe' { type Status = 'offline' | 'online'; } - interface ReaderDeleteParams { - /** - * To [group objects](https://stripe.com/docs/terminal/payments/connect#grouping-objects-by-connected-account) on your platform account by connected account, set this parameter to the connected account ID. - */ - operator_account?: string; - } + interface ReaderDeleteParams {} class ReadersResource { /**