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

Add support for political_exposure on Person #962

Merged
merged 1 commit into from
Jul 17, 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
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