Skip to content

Commit

Permalink
Codegen for openapi 06ec3f8
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Mar 26, 2021
1 parent 0070286 commit f813e91
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions types/2020-08-27/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,8 @@ declare module 'stripe' {

branding: Settings.Branding;

card_issuing?: Settings.CardIssuing;

card_payments: Settings.CardPayments;

dashboard: Settings.Dashboard;
Expand Down Expand Up @@ -648,6 +650,29 @@ declare module 'stripe' {
secondary_color: string | null;
}

interface CardIssuing {
tos_acceptance?: CardIssuing.TosAcceptance;
}

namespace CardIssuing {
interface TosAcceptance {
/**
* The Unix timestamp marking when the account representative accepted the service agreement.
*/
date: number | null;

/**
* The IP address from which the account representative accepted the service agreement.
*/
ip: string | null;

/**
* The user agent of the browser from which the account representative accepted the service agreement.
*/
user_agent?: string;
}
}

interface CardPayments {
decline_on?: CardPayments.DeclineOn;

Expand Down Expand Up @@ -1638,6 +1663,11 @@ declare module 'stripe' {
*/
branding?: Settings.Branding;

/**
* Settings specific to the account's use of the Card Issuing product.
*/
card_issuing?: Settings.CardIssuing;

/**
* Settings specific to card charging on the account.
*/
Expand Down Expand Up @@ -1677,6 +1707,32 @@ declare module 'stripe' {
secondary_color?: string;
}

interface CardIssuing {
/**
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](stripe.com/docs/issuing/connect/tos_acceptance).
*/
tos_acceptance?: CardIssuing.TosAcceptance;
}

namespace CardIssuing {
interface TosAcceptance {
/**
* The Unix timestamp marking when the account representative accepted the service agreement.
*/
date?: number;

/**
* The IP address from which the account representative accepted the service agreement.
*/
ip?: string;

/**
* The user agent of the browser from which the account representative accepted the service agreement.
*/
user_agent?: string;
}
}

interface CardPayments {
/**
* Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
Expand Down Expand Up @@ -2651,6 +2707,11 @@ declare module 'stripe' {
*/
branding?: Settings.Branding;

/**
* Settings specific to the account's use of the Card Issuing product.
*/
card_issuing?: Settings.CardIssuing;

/**
* Settings specific to card charging on the account.
*/
Expand Down Expand Up @@ -2690,6 +2751,32 @@ declare module 'stripe' {
secondary_color?: string;
}

interface CardIssuing {
/**
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](stripe.com/docs/issuing/connect/tos_acceptance).
*/
tos_acceptance?: CardIssuing.TosAcceptance;
}

namespace CardIssuing {
interface TosAcceptance {
/**
* The Unix timestamp marking when the account representative accepted the service agreement.
*/
date?: number;

/**
* The IP address from which the account representative accepted the service agreement.
*/
ip?: string;

/**
* The user agent of the browser from which the account representative accepted the service agreement.
*/
user_agent?: string;
}
}

interface CardPayments {
/**
* Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
Expand Down

0 comments on commit f813e91

Please sign in to comment.