From f813e91596fb6e87e4c187fd638b6562129c5d32 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Fri, 26 Mar 2021 11:55:18 -0400 Subject: [PATCH] Codegen for openapi 06ec3f8 --- types/2020-08-27/Accounts.d.ts | 87 ++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/types/2020-08-27/Accounts.d.ts b/types/2020-08-27/Accounts.d.ts index 7d8be22206..93e14a2ce1 100644 --- a/types/2020-08-27/Accounts.d.ts +++ b/types/2020-08-27/Accounts.d.ts @@ -607,6 +607,8 @@ declare module 'stripe' { branding: Settings.Branding; + card_issuing?: Settings.CardIssuing; + card_payments: Settings.CardPayments; dashboard: Settings.Dashboard; @@ -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; @@ -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. */ @@ -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. @@ -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. */ @@ -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.