Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates #1282

Merged
merged 1 commit into from
Nov 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/2020-08-27/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1720,7 +1720,7 @@ declare module 'stripe' {
/**
* A list of alternate names or aliases that the individual is known by.
*/
full_name_aliases?: Array<string>;
full_name_aliases?: Stripe.Emptyable<Array<string>>;

/**
* The individual's gender (International regulations require either "male" or "female").
Expand Down Expand Up @@ -2719,7 +2719,7 @@ declare module 'stripe' {
/**
* A list of alternate names or aliases that the individual is known by.
*/
full_name_aliases?: Array<string>;
full_name_aliases?: Stripe.Emptyable<Array<string>>;

/**
* The individual's gender (International regulations require either "male" or "female").
Expand Down
4 changes: 2 additions & 2 deletions types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ declare module 'stripe' {

interface Boleto {
/**
* Uniquely identifies this customer tax_id (CNPJ or CPF)
* The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
*/
tax_id: string;
}
Expand Down Expand Up @@ -1418,7 +1418,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`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `it-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`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `fr-FR`, or `en-FR`
*/
preferred_locale: string | null;
}
Expand Down
6 changes: 3 additions & 3 deletions types/2020-08-27/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,8 @@ declare module 'stripe' {
/**
* The URL to which Stripe should send customers when payment or setup
* is complete.
* If you'd like access to the Checkout Session for the successful
* payment, read more about it in the guide on [fulfilling orders](https://stripe.com/docs/payments/checkout/fulfill-orders).
* If you'd like to use information from the successful Checkout Session on your page,
* read the guide on [customizing your success page](https://stripe.com/docs/payments/checkout/custom-success-page).
*/
success_url: string;

Expand Down Expand Up @@ -1158,7 +1158,7 @@ declare module 'stripe' {
enabled: boolean;

/**
* The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99.
* The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999.
*/
maximum?: number;

Expand Down
15 changes: 12 additions & 3 deletions types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ declare module 'stripe' {

interface Boleto {
/**
* Uniquely identifies this customer tax_id (CNPJ or CPF)
* The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
*/
tax_id: string;
}
Expand Down Expand Up @@ -1657,10 +1657,13 @@ declare module 'stripe' {
| 'de-AT'
| 'de-DE'
| 'en-AT'
| 'en-BE'
| 'en-DE'
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-GB'
| 'en-IT'
| 'en-NL'
| 'en-NO'
| 'en-SE'
Expand Down Expand Up @@ -2102,7 +2105,7 @@ declare module 'stripe' {

interface Boleto {
/**
* Uniquely identifies this customer tax_id (CNPJ or CPF)
* The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
*/
tax_id: string;
}
Expand Down Expand Up @@ -2566,10 +2569,13 @@ declare module 'stripe' {
| 'de-AT'
| 'de-DE'
| 'en-AT'
| 'en-BE'
| 'en-DE'
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-GB'
| 'en-IT'
| 'en-NL'
| 'en-NO'
| 'en-SE'
Expand Down Expand Up @@ -3125,7 +3131,7 @@ declare module 'stripe' {

interface Boleto {
/**
* Uniquely identifies this customer tax_id (CNPJ or CPF)
* The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
*/
tax_id: string;
}
Expand Down Expand Up @@ -3589,10 +3595,13 @@ declare module 'stripe' {
| 'de-AT'
| 'de-DE'
| 'en-AT'
| 'en-BE'
| 'en-DE'
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-GB'
| 'en-IT'
| 'en-NL'
| 'en-NO'
| 'en-SE'
Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/PaymentMethods.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ declare module 'stripe' {

interface Boleto {
/**
* Uniquely identifies this customer tax_id (CNPJ or CPF)
* The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
*/
tax_id: string;
}
Expand Down
4 changes: 2 additions & 2 deletions types/2020-08-27/Persons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ declare module 'stripe' {
/**
* A list of alternate names or aliases that the person is known by.
*/
full_name_aliases?: Array<string>;
full_name_aliases?: Stripe.Emptyable<Array<string>>;

/**
* The person's gender (International regulations require either "male" or "female").
Expand Down Expand Up @@ -899,7 +899,7 @@ declare module 'stripe' {
/**
* A list of alternate names or aliases that the person is known by.
*/
full_name_aliases?: Array<string>;
full_name_aliases?: Stripe.Emptyable<Array<string>>;

/**
* The person's gender (International regulations require either "male" or "female").
Expand Down
6 changes: 3 additions & 3 deletions types/2020-08-27/Prices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ declare module 'stripe' {
livemode: boolean;

/**
* A lookup key used to retrieve prices dynamically from a static string.
* A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
*/
lookup_key: string | null;

Expand Down Expand Up @@ -238,7 +238,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* A lookup key used to retrieve prices dynamically from a static string.
* A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
*/
lookup_key?: string;

Expand Down Expand Up @@ -451,7 +451,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* A lookup key used to retrieve prices dynamically from a static string.
* A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
*/
lookup_key?: string;

Expand Down
4 changes: 2 additions & 2 deletions types/2020-08-27/Terminal/ConnectionTokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ declare module 'stripe' {
object: 'terminal.connection_token';

/**
* The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/readers/fleet-management#connection-tokens).
* The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/fleet/locations#connection-tokens).
*/
location?: string;

Expand All @@ -30,7 +30,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* 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. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/readers/fleet-management#connection-tokens).
* 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. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/fleet/locations#connection-tokens).
*/
location?: string;
}
Expand Down
4 changes: 2 additions & 2 deletions types/2020-08-27/Tokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ declare module 'stripe' {
/**
* A list of alternate names or aliases that the individual is known by.
*/
full_name_aliases?: Array<string>;
full_name_aliases?: Stripe.Emptyable<Array<string>>;

/**
* The individual's gender (International regulations require either "male" or "female").
Expand Down Expand Up @@ -553,7 +553,7 @@ declare module 'stripe' {
/**
* A list of alternate names or aliases that the person is known by.
*/
full_name_aliases?: Array<string>;
full_name_aliases?: Stripe.Emptyable<Array<string>>;

/**
* The person's gender (International regulations require either "male" or "female").
Expand Down