Skip to content

Commit

Permalink
Update generated code (#1979)
Browse files Browse the repository at this point in the history
* Update generated code for v735

* Update generated code for v737

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Dec 22, 2023
1 parent dba16fc commit d472b6a
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v734
v737
4 changes: 2 additions & 2 deletions types/CustomersResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ declare module 'stripe' {

interface InvoiceSettings {
/**
* Default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
* The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
*/
custom_fields?: Stripe.Emptyable<Array<InvoiceSettings.CustomField>>;

Expand Down Expand Up @@ -429,7 +429,7 @@ declare module 'stripe' {

interface InvoiceSettings {
/**
* Default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
* The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
*/
custom_fields?: Stripe.Emptyable<Array<InvoiceSettings.CustomField>>;

Expand Down
7 changes: 6 additions & 1 deletion types/Mandates.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,12 @@ declare module 'stripe' {
url: string;
}

interface UsBankAccount {}
interface UsBankAccount {
/**
* Mandate collection method
*/
collection_method?: 'paper';
}
}

interface SingleUse {
Expand Down
9 changes: 9 additions & 0 deletions types/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2051,6 +2051,8 @@ declare module 'stripe' {
interface UsBankAccount {
financial_connections?: UsBankAccount.FinancialConnections;

mandate_options?: UsBankAccount.MandateOptions;

/**
* Preferred transaction settlement speed
*/
Expand Down Expand Up @@ -2099,6 +2101,13 @@ declare module 'stripe' {
type Prefetch = 'balances' | 'transactions';
}

interface MandateOptions {
/**
* Mandate collection method
*/
collection_method?: 'paper';
}

type PreferredSettlementSpeed = 'fastest' | 'standard';

type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
Expand Down
36 changes: 36 additions & 0 deletions types/PaymentIntentsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2043,6 +2043,11 @@ declare module 'stripe' {
*/
financial_connections?: UsBankAccount.FinancialConnections;

/**
* Additional fields for Mandate creation
*/
mandate_options?: UsBankAccount.MandateOptions;

/**
* Additional fields for network related functions
*/
Expand Down Expand Up @@ -2100,6 +2105,13 @@ declare module 'stripe' {
type Prefetch = 'balances' | 'transactions';
}

interface MandateOptions {
/**
* The method used to collect offline mandate customer acceptance.
*/
collection_method?: Stripe.Emptyable<'paper'>;
}

interface Networks {
/**
* Triggers validations to run across the selected networks
Expand Down Expand Up @@ -4145,6 +4157,11 @@ declare module 'stripe' {
*/
financial_connections?: UsBankAccount.FinancialConnections;

/**
* Additional fields for Mandate creation
*/
mandate_options?: UsBankAccount.MandateOptions;

/**
* Additional fields for network related functions
*/
Expand Down Expand Up @@ -4202,6 +4219,13 @@ declare module 'stripe' {
type Prefetch = 'balances' | 'transactions';
}

interface MandateOptions {
/**
* The method used to collect offline mandate customer acceptance.
*/
collection_method?: Stripe.Emptyable<'paper'>;
}

interface Networks {
/**
* Triggers validations to run across the selected networks
Expand Down Expand Up @@ -6385,6 +6409,11 @@ declare module 'stripe' {
*/
financial_connections?: UsBankAccount.FinancialConnections;

/**
* Additional fields for Mandate creation
*/
mandate_options?: UsBankAccount.MandateOptions;

/**
* Additional fields for network related functions
*/
Expand Down Expand Up @@ -6442,6 +6471,13 @@ declare module 'stripe' {
type Prefetch = 'balances' | 'transactions';
}

interface MandateOptions {
/**
* The method used to collect offline mandate customer acceptance.
*/
collection_method?: Stripe.Emptyable<'paper'>;
}

interface Networks {
/**
* Triggers validations to run across the selected networks
Expand Down
9 changes: 9 additions & 0 deletions types/SetupIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ declare module 'stripe' {
interface UsBankAccount {
financial_connections?: UsBankAccount.FinancialConnections;

mandate_options?: UsBankAccount.MandateOptions;

/**
* Bank account verification method.
*/
Expand Down Expand Up @@ -784,6 +786,13 @@ declare module 'stripe' {
type Prefetch = 'balances' | 'transactions';
}

interface MandateOptions {
/**
* Mandate collection method
*/
collection_method?: 'paper';
}

type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
}
}
Expand Down
36 changes: 36 additions & 0 deletions types/SetupIntentsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,11 @@ declare module 'stripe' {
*/
financial_connections?: UsBankAccount.FinancialConnections;

/**
* Additional fields for Mandate creation
*/
mandate_options?: UsBankAccount.MandateOptions;

/**
* Additional fields for network related functions
*/
Expand Down Expand Up @@ -1085,6 +1090,13 @@ declare module 'stripe' {
type Prefetch = 'balances' | 'transactions';
}

interface MandateOptions {
/**
* The method used to collect offline mandate customer acceptance.
*/
collection_method?: Stripe.Emptyable<'paper'>;
}

interface Networks {
/**
* Triggers validations to run across the selected networks
Expand Down Expand Up @@ -2064,6 +2076,11 @@ declare module 'stripe' {
*/
financial_connections?: UsBankAccount.FinancialConnections;

/**
* Additional fields for Mandate creation
*/
mandate_options?: UsBankAccount.MandateOptions;

/**
* Additional fields for network related functions
*/
Expand Down Expand Up @@ -2103,6 +2120,13 @@ declare module 'stripe' {
type Prefetch = 'balances' | 'transactions';
}

interface MandateOptions {
/**
* The method used to collect offline mandate customer acceptance.
*/
collection_method?: Stripe.Emptyable<'paper'>;
}

interface Networks {
/**
* Triggers validations to run across the selected networks
Expand Down Expand Up @@ -3162,6 +3186,11 @@ declare module 'stripe' {
*/
financial_connections?: UsBankAccount.FinancialConnections;

/**
* Additional fields for Mandate creation
*/
mandate_options?: UsBankAccount.MandateOptions;

/**
* Additional fields for network related functions
*/
Expand Down Expand Up @@ -3201,6 +3230,13 @@ declare module 'stripe' {
type Prefetch = 'balances' | 'transactions';
}

interface MandateOptions {
/**
* The method used to collect offline mandate customer acceptance.
*/
collection_method?: Stripe.Emptyable<'paper'>;
}

interface Networks {
/**
* Triggers validations to run across the selected networks
Expand Down

0 comments on commit d472b6a

Please sign in to comment.