@@ -25,12 +25,12 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
2525 def list (
2626 self ,
2727 * ,
28- app_id : typing .Optional [str ] = None ,
2928 external_user_id : typing .Optional [str ] = None ,
3029 oauth_app_id : typing .Optional [str ] = None ,
3130 after : typing .Optional [str ] = None ,
3231 before : typing .Optional [str ] = None ,
3332 limit : typing .Optional [int ] = None ,
33+ app : typing .Optional [str ] = None ,
3434 include_credentials : typing .Optional [bool ] = None ,
3535 request_options : typing .Optional [RequestOptions ] = None ,
3636 ) -> SyncPager [Account ]:
@@ -39,9 +39,6 @@ def list(
3939
4040 Parameters
4141 ----------
42- app_id : typing.Optional[str]
43- The app slug or ID to filter accounts by.
44-
4542 external_user_id : typing.Optional[str]
4643
4744 oauth_app_id : typing.Optional[str]
@@ -56,6 +53,9 @@ def list(
5653 limit : typing.Optional[int]
5754 The maximum number of results to return
5855
56+ app : typing.Optional[str]
57+ The app slug or ID to filter accounts by.
58+
5959 include_credentials : typing.Optional[bool]
6060 Whether to retrieve the account's credentials or not
6161
@@ -71,12 +71,12 @@ def list(
7171 f"v1/connect/{ jsonable_encoder (self ._client_wrapper ._project_id )} /accounts" ,
7272 method = "GET" ,
7373 params = {
74- "app_id" : app_id ,
7574 "external_user_id" : external_user_id ,
7675 "oauth_app_id" : oauth_app_id ,
7776 "after" : after ,
7877 "before" : before ,
7978 "limit" : limit ,
79+ "app" : app ,
8080 "include_credentials" : include_credentials ,
8181 },
8282 request_options = request_options ,
@@ -97,12 +97,12 @@ def list(
9797 _parsed_next = _parsed_response .page_info .end_cursor
9898 _has_next = _parsed_next is not None and _parsed_next != ""
9999 _get_next = lambda : self .list (
100- app_id = app_id ,
101100 external_user_id = external_user_id ,
102101 oauth_app_id = oauth_app_id ,
103102 after = _parsed_next ,
104103 before = before ,
105104 limit = limit ,
105+ app = app ,
106106 include_credentials = include_credentials ,
107107 request_options = request_options ,
108108 )
@@ -131,7 +131,6 @@ def create(
131131 app_slug : str ,
132132 cfmap_json : str ,
133133 connect_token : str ,
134- app_id : typing .Optional [str ] = None ,
135134 external_user_id : typing .Optional [str ] = None ,
136135 oauth_app_id : typing .Optional [str ] = None ,
137136 name : typing .Optional [str ] = OMIT ,
@@ -151,9 +150,6 @@ def create(
151150 connect_token : str
152151 The connect token for authentication
153152
154- app_id : typing.Optional[str]
155- The app slug or ID to filter accounts by.
156-
157153 external_user_id : typing.Optional[str]
158154
159155 oauth_app_id : typing.Optional[str]
@@ -174,7 +170,6 @@ def create(
174170 f"v1/connect/{ jsonable_encoder (self ._client_wrapper ._project_id )} /accounts" ,
175171 method = "POST" ,
176172 params = {
177- "app_id" : app_id ,
178173 "external_user_id" : external_user_id ,
179174 "oauth_app_id" : oauth_app_id ,
180175 },
@@ -363,12 +358,12 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
363358 async def list (
364359 self ,
365360 * ,
366- app_id : typing .Optional [str ] = None ,
367361 external_user_id : typing .Optional [str ] = None ,
368362 oauth_app_id : typing .Optional [str ] = None ,
369363 after : typing .Optional [str ] = None ,
370364 before : typing .Optional [str ] = None ,
371365 limit : typing .Optional [int ] = None ,
366+ app : typing .Optional [str ] = None ,
372367 include_credentials : typing .Optional [bool ] = None ,
373368 request_options : typing .Optional [RequestOptions ] = None ,
374369 ) -> AsyncPager [Account ]:
@@ -377,9 +372,6 @@ async def list(
377372
378373 Parameters
379374 ----------
380- app_id : typing.Optional[str]
381- The app slug or ID to filter accounts by.
382-
383375 external_user_id : typing.Optional[str]
384376
385377 oauth_app_id : typing.Optional[str]
@@ -394,6 +386,9 @@ async def list(
394386 limit : typing.Optional[int]
395387 The maximum number of results to return
396388
389+ app : typing.Optional[str]
390+ The app slug or ID to filter accounts by.
391+
397392 include_credentials : typing.Optional[bool]
398393 Whether to retrieve the account's credentials or not
399394
@@ -409,12 +404,12 @@ async def list(
409404 f"v1/connect/{ jsonable_encoder (self ._client_wrapper ._project_id )} /accounts" ,
410405 method = "GET" ,
411406 params = {
412- "app_id" : app_id ,
413407 "external_user_id" : external_user_id ,
414408 "oauth_app_id" : oauth_app_id ,
415409 "after" : after ,
416410 "before" : before ,
417411 "limit" : limit ,
412+ "app" : app ,
418413 "include_credentials" : include_credentials ,
419414 },
420415 request_options = request_options ,
@@ -437,12 +432,12 @@ async def list(
437432
438433 async def _get_next ():
439434 return await self .list (
440- app_id = app_id ,
441435 external_user_id = external_user_id ,
442436 oauth_app_id = oauth_app_id ,
443437 after = _parsed_next ,
444438 before = before ,
445439 limit = limit ,
440+ app = app ,
446441 include_credentials = include_credentials ,
447442 request_options = request_options ,
448443 )
@@ -472,7 +467,6 @@ async def create(
472467 app_slug : str ,
473468 cfmap_json : str ,
474469 connect_token : str ,
475- app_id : typing .Optional [str ] = None ,
476470 external_user_id : typing .Optional [str ] = None ,
477471 oauth_app_id : typing .Optional [str ] = None ,
478472 name : typing .Optional [str ] = OMIT ,
@@ -492,9 +486,6 @@ async def create(
492486 connect_token : str
493487 The connect token for authentication
494488
495- app_id : typing.Optional[str]
496- The app slug or ID to filter accounts by.
497-
498489 external_user_id : typing.Optional[str]
499490
500491 oauth_app_id : typing.Optional[str]
@@ -515,7 +506,6 @@ async def create(
515506 f"v1/connect/{ jsonable_encoder (self ._client_wrapper ._project_id )} /accounts" ,
516507 method = "POST" ,
517508 params = {
518- "app_id" : app_id ,
519509 "external_user_id" : external_user_id ,
520510 "oauth_app_id" : oauth_app_id ,
521511 },
0 commit comments