Skip to content

Commit

Permalink
Codegen for openapi 9918f6f (stripe#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe authored Feb 17, 2021
1 parent 357b3f1 commit e615360
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 4 deletions.
4 changes: 3 additions & 1 deletion types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ declare module 'stripe' {

interface Ideal {
/**
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
*/
bank: Ideal.Bank | null;

Expand Down Expand Up @@ -1204,6 +1204,7 @@ declare module 'stripe' {
| 'moneyou'
| 'rabobank'
| 'regiobank'
| 'revolut'
| 'sns_bank'
| 'triodos_bank'
| 'van_lanschot';
Expand All @@ -1219,6 +1220,7 @@ declare module 'stripe' {
| 'MOYONL21'
| 'RABONL2U'
| 'RBRBNL21'
| 'REVOLT21'
| 'SNSBNL2A'
| 'TRIONL2U';
}
Expand Down
17 changes: 16 additions & 1 deletion types/2020-08-27/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ declare module 'stripe' {
*/
number: string | null;

/**
* The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
*/
on_behalf_of: string | Stripe.Account | null;

/**
* Whether payment was successfully collected for this invoice. An invoice can be paid (most commonly) with a charge or with credit from the customer's account balance.
*/
Expand Down Expand Up @@ -798,6 +803,11 @@ declare module 'stripe' {
*/
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;

/**
* The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
*/
on_behalf_of?: string;

/**
* Configuration settings for the PaymentIntent that is generated when the invoice is finalized.
*/
Expand Down Expand Up @@ -1008,6 +1018,11 @@ declare module 'stripe' {
*/
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;

/**
* The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
*/
on_behalf_of?: Stripe.Emptyable<string>;

/**
* Configuration settings for the PaymentIntent that is generated when the invoice is finalized.
*/
Expand Down Expand Up @@ -1171,7 +1186,7 @@ declare module 'stripe' {

interface InvoiceFinalizeInvoiceParams {
/**
* Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/workflow/#auto_advance) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action.
* Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/overview#auto-advance) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action.
*/
auto_advance?: boolean;

Expand Down
3 changes: 3 additions & 0 deletions types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,7 @@ declare module 'stripe' {
| 'moneyou'
| 'rabobank'
| 'regiobank'
| 'revolut'
| 'sns_bank'
| 'triodos_bank'
| 'van_lanschot';
Expand Down Expand Up @@ -1790,6 +1791,7 @@ declare module 'stripe' {
| 'moneyou'
| 'rabobank'
| 'regiobank'
| 'revolut'
| 'sns_bank'
| 'triodos_bank'
| 'van_lanschot';
Expand Down Expand Up @@ -2608,6 +2610,7 @@ declare module 'stripe' {
| 'moneyou'
| 'rabobank'
| 'regiobank'
| 'revolut'
| 'sns_bank'
| 'triodos_bank'
| 'van_lanschot';
Expand Down
5 changes: 4 additions & 1 deletion types/2020-08-27/PaymentMethods.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ declare module 'stripe' {

interface Ideal {
/**
* The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
* The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
*/
bank: Ideal.Bank | null;

Expand All @@ -442,6 +442,7 @@ declare module 'stripe' {
| 'moneyou'
| 'rabobank'
| 'regiobank'
| 'revolut'
| 'sns_bank'
| 'triodos_bank'
| 'van_lanschot';
Expand All @@ -457,6 +458,7 @@ declare module 'stripe' {
| 'MOYONL21'
| 'RABONL2U'
| 'RBRBNL21'
| 'REVOLT21'
| 'SNSBNL2A'
| 'TRIONL2U';
}
Expand Down Expand Up @@ -897,6 +899,7 @@ declare module 'stripe' {
| 'moneyou'
| 'rabobank'
| 'regiobank'
| 'revolut'
| 'sns_bank'
| 'triodos_bank'
| 'van_lanschot';
Expand Down
4 changes: 3 additions & 1 deletion types/2020-08-27/SetupAttempts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ declare module 'stripe' {

interface Ideal {
/**
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
*/
bank: Ideal.Bank | null;

Expand Down Expand Up @@ -252,6 +252,7 @@ declare module 'stripe' {
| 'moneyou'
| 'rabobank'
| 'regiobank'
| 'revolut'
| 'sns_bank'
| 'triodos_bank'
| 'van_lanschot';
Expand All @@ -267,6 +268,7 @@ declare module 'stripe' {
| 'MOYONL21'
| 'RABONL2U'
| 'RBRBNL21'
| 'REVOLT21'
| 'SNSBNL2A'
| 'TRIONL2U';
}
Expand Down

0 comments on commit e615360

Please sign in to comment.