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

Multiple API changes #850

Merged
merged 1 commit into from
Mar 25, 2020
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
2 changes: 2 additions & 0 deletions types/2020-03-02/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ declare module 'stripe' {
| 'nl'
| 'pl'
| 'pt'
| 'pt-BR'
| 'sv'
| 'zh';

Expand Down Expand Up @@ -648,6 +649,7 @@ declare module 'stripe' {
| 'nl'
| 'pl'
| 'pt'
| 'pt-BR'
| 'sv'
| 'zh';

Expand Down
18 changes: 9 additions & 9 deletions types/2020-03-02/Issuing/Cardholders.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ declare module 'stripe' {
billing: Cardholder.Billing;

/**
* Additional information about a `business_entity` cardholder.
* Additional information about a `company` cardholder.
*/
company: Cardholder.Company | null;

Expand Down Expand Up @@ -75,7 +75,7 @@ declare module 'stripe' {
status: Cardholder.Status;

/**
* One of `individual` or `business_entity`.
* One of `individual` or `company`.
*/
type: Cardholder.Type;
}
Expand Down Expand Up @@ -1110,7 +1110,7 @@ declare module 'stripe' {

type Status = 'active' | 'blocked' | 'inactive';

type Type = 'business_entity' | 'individual';
type Type = 'business_entity' | 'company' | 'individual';
}

interface CardholderCreateParams {
Expand All @@ -1125,7 +1125,7 @@ declare module 'stripe' {
name: string;

/**
* One of `individual` or `business_entity`.
* One of `individual`, `business_entity`, or `company`.
*/
type: CardholderCreateParams.Type;

Expand All @@ -1135,7 +1135,7 @@ declare module 'stripe' {
authorization_controls?: CardholderCreateParams.AuthorizationControls;

/**
* Additional information about a `business_entity` cardholder.
* Additional information about a `company` cardholder.
*/
company?: CardholderCreateParams.Company;

Expand Down Expand Up @@ -2209,7 +2209,7 @@ declare module 'stripe' {

type Status = 'active' | 'inactive';

type Type = 'business_entity' | 'individual';
type Type = 'business_entity' | 'company' | 'individual';
}

interface CardholderRetrieveParams {
Expand All @@ -2231,7 +2231,7 @@ declare module 'stripe' {
billing?: CardholderUpdateParams.Billing;

/**
* Additional information about a `business_entity` cardholder.
* Additional information about a `company` cardholder.
*/
company?: CardholderUpdateParams.Company;

Expand Down Expand Up @@ -3338,15 +3338,15 @@ declare module 'stripe' {
status?: CardholderListParams.Status;

/**
* Only return cardholders that have the given type. One of `individual` or `business_entity`.
* Only return cardholders that have the given type. One of `individual`, `business_entity`, or `company`.
*/
type?: CardholderListParams.Type;
}

namespace CardholderListParams {
type Status = 'active' | 'blocked' | 'inactive';

type Type = 'business_entity' | 'individual';
type Type = 'business_entity' | 'company' | 'individual';
}

class CardholdersResource {
Expand Down