Skip to content

Commit

Permalink
Codegen for openapi 66ae67d
Browse files Browse the repository at this point in the history
  • Loading branch information
yejia-stripe committed Nov 12, 2021
1 parent b6fe70c commit 86bfd2f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 0 additions & 5 deletions test/resources/generated_examples_test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,11 +572,6 @@ describe('Checkout.Session', function() {
const sessions = await stripe.checkout.sessions.list({limit: 3});
expect(sessions).not.to.be.null;
});

it('expire method', async function() {
const session = await stripe.checkout.sessions.expire('sess_xyz');
expect(session).not.to.be.null;
});
});

describe('Coupon', function() {
Expand Down
3 changes: 2 additions & 1 deletion types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ declare module 'stripe' {
account_holder_type: Fpx.AccountHolderType | null;

/**
* The customer's bank. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`.
* The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`.
*/
bank: Fpx.Bank;

Expand All @@ -1143,6 +1143,7 @@ declare module 'stripe' {

type Bank =
| 'affin_bank'
| 'agrobank'
| 'alliance_bank'
| 'ambank'
| 'bank_islam'
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 @@ -1253,6 +1253,7 @@ declare module 'stripe' {

type Bank =
| 'affin_bank'
| 'agrobank'
| 'alliance_bank'
| 'ambank'
| 'bank_islam'
Expand Down Expand Up @@ -2165,6 +2166,7 @@ declare module 'stripe' {

type Bank =
| 'affin_bank'
| 'agrobank'
| 'alliance_bank'
| 'ambank'
| 'bank_islam'
Expand Down Expand Up @@ -3191,6 +3193,7 @@ declare module 'stripe' {

type Bank =
| 'affin_bank'
| 'agrobank'
| 'alliance_bank'
| 'ambank'
| 'bank_islam'
Expand Down
4 changes: 3 additions & 1 deletion types/2020-08-27/PaymentMethods.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ declare module 'stripe' {
account_holder_type: Fpx.AccountHolderType | null;

/**
* The customer's bank, if provided. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`.
* The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`.
*/
bank: Fpx.Bank;
}
Expand All @@ -438,6 +438,7 @@ declare module 'stripe' {

type Bank =
| 'affin_bank'
| 'agrobank'
| 'alliance_bank'
| 'ambank'
| 'bank_islam'
Expand Down Expand Up @@ -948,6 +949,7 @@ declare module 'stripe' {

type Bank =
| 'affin_bank'
| 'agrobank'
| 'alliance_bank'
| 'ambank'
| 'bank_islam'
Expand Down

0 comments on commit 86bfd2f

Please sign in to comment.