Skip to content

Commit

Permalink
Merge pull request #850 from stripe/remi/codegen-ebf457d
Browse files Browse the repository at this point in the history
Multiple API changes
  • Loading branch information
remi-stripe authored Mar 25, 2020
2 parents 8e8a9c1 + bbed148 commit 79f30db
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
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

0 comments on commit 79f30db

Please sign in to comment.