Skip to content

Commit 8fcbfd8

Browse files
feat(api): api update
1 parent c844ccb commit 8fcbfd8

File tree

2 files changed

+47
-2
lines changed

2 files changed

+47
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 38
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/ivy%2Fgetivy-1a3837a0f9c9369020397dad0674ca1f65d03458ea458156adc97bb73c1af47e.yml
3-
openapi_spec_hash: 793643f6313ea58ac39e0b96e0b96e27
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/ivy%2Fgetivy-80af9a01073d5bf791a17bd167b01b0e66b74a0bfba57d67bad3b9f8c570e22e.yml
3+
openapi_spec_hash: d3c1620c54b576384b8eebadb316bf7c
44
config_hash: 279607e9c3acabbd35a648b3551c79a9

src/resources/banks.ts

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,21 @@ export interface BankListResponse {
349349
* A list of banks.
350350
*/
351351
banks: Array<BankListResponse.Bank>;
352+
353+
/**
354+
* The total number of banks
355+
*/
356+
count: number;
357+
358+
/**
359+
* Whether there are more banks to retrieve
360+
*/
361+
hasNext: boolean;
362+
363+
/**
364+
* The number of banks skipped
365+
*/
366+
skip: number;
352367
}
353368

354369
export namespace BankListResponse {
@@ -673,6 +688,21 @@ export interface BankSearchResponse {
673688
* A list of banks.
674689
*/
675690
banks: Array<BankSearchResponse.Bank>;
691+
692+
/**
693+
* The total number of banks
694+
*/
695+
count: number;
696+
697+
/**
698+
* Whether there are more banks to retrieve
699+
*/
700+
hasNext: boolean;
701+
702+
/**
703+
* The number of banks skipped
704+
*/
705+
skip: number;
676706
}
677707

678708
export namespace BankSearchResponse {
@@ -1014,6 +1044,11 @@ export interface BankListParams {
10141044
*/
10151045
group?: string;
10161046

1047+
/**
1048+
* The maximum number of banks to return (default 1000)
1049+
*/
1050+
limit?: number;
1051+
10171052
/**
10181053
* ISO 3166-1 alpha-2 country code. Filter banks with provided market only.
10191054
*/
@@ -1273,6 +1308,11 @@ export interface BankListParams {
12731308
* The internal checkout session id. For internal use only.
12741309
*/
12751310
sessionId?: string;
1311+
1312+
/**
1313+
* The number of banks to skip
1314+
*/
1315+
skip?: number;
12761316
}
12771317

12781318
export interface BankSearchParams {
@@ -1564,6 +1604,11 @@ export interface BankSearchParams {
15641604
* The internal checkout session id. For internal use only.
15651605
*/
15661606
sessionId?: string;
1607+
1608+
/**
1609+
* The number of banks to skip
1610+
*/
1611+
skip?: number;
15671612
}
15681613

15691614
export declare namespace Banks {

0 commit comments

Comments
 (0)