Skip to content

Commit

Permalink
Merge pull request #962 from stripe/remi/codegen-0b9fd61
Browse files Browse the repository at this point in the history
Add support for `political_exposure` on `Person`
  • Loading branch information
remi-stripe committed Jul 17, 2020
2 parents 75cc9a0 + ef02d4d commit 1915ac3
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
14 changes: 14 additions & 0 deletions types/2020-03-02/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
*/
political_exposure?: Individual.PoliticalExposure;

/**
* The last four digits of the individual's Social Security Number (U.S. only).
*/
Expand Down Expand Up @@ -1143,6 +1148,8 @@ declare module 'stripe' {
year: number;
}

type PoliticalExposure = 'existing' | 'none';

interface Verification {
/**
* A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
Expand Down Expand Up @@ -1752,6 +1759,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
*/
political_exposure?: Individual.PoliticalExposure;

/**
* The last four digits of the individual's Social Security Number (U.S. only).
*/
Expand Down Expand Up @@ -1813,6 +1825,8 @@ declare module 'stripe' {
year: number;
}

type PoliticalExposure = 'existing' | 'none';

interface Verification {
/**
* A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
Expand Down
17 changes: 17 additions & 0 deletions types/2020-03-02/Persons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ declare module 'stripe' {
*/
phone?: string | null;

/**
* Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
*/
political_exposure?: Person.PoliticalExposure;

relationship?: Person.Relationship;

/**
Expand Down Expand Up @@ -207,6 +212,8 @@ declare module 'stripe' {
year: number | null;
}

type PoliticalExposure = 'existing' | 'none';

interface Relationship {
/**
* Whether the person is a director of the account's legal entity. Currently only required for accounts in the EU. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Expand Down Expand Up @@ -509,6 +516,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
*/
political_exposure?: string;

/**
* The relationship that this person has with the account's legal entity.
*/
Expand Down Expand Up @@ -744,6 +756,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
*/
political_exposure?: string;

/**
* The relationship that this person has with the account's legal entity.
*/
Expand Down
12 changes: 12 additions & 0 deletions types/2020-03-02/Tokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
*/
political_exposure?: Individual.PoliticalExposure;

/**
* The last four digits of the individual's Social Security Number (U.S. only).
*/
Expand Down Expand Up @@ -415,6 +420,8 @@ declare module 'stripe' {
year: number;
}

type PoliticalExposure = 'existing' | 'none';

interface Verification {
/**
* A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
Expand Down Expand Up @@ -598,6 +605,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
*/
political_exposure?: string;

/**
* The relationship that this person has with the account's legal entity.
*/
Expand Down

0 comments on commit 1915ac3

Please sign in to comment.