@@ -25,12 +25,12 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
25
25
def list (
26
26
self ,
27
27
* ,
28
- app_id : typing .Optional [str ] = None ,
29
28
external_user_id : typing .Optional [str ] = None ,
30
29
oauth_app_id : typing .Optional [str ] = None ,
31
30
after : typing .Optional [str ] = None ,
32
31
before : typing .Optional [str ] = None ,
33
32
limit : typing .Optional [int ] = None ,
33
+ app : typing .Optional [str ] = None ,
34
34
include_credentials : typing .Optional [bool ] = None ,
35
35
request_options : typing .Optional [RequestOptions ] = None ,
36
36
) -> SyncPager [Account ]:
@@ -39,9 +39,6 @@ def list(
39
39
40
40
Parameters
41
41
----------
42
- app_id : typing.Optional[str]
43
- The app slug or ID to filter accounts by.
44
-
45
42
external_user_id : typing.Optional[str]
46
43
47
44
oauth_app_id : typing.Optional[str]
@@ -56,6 +53,9 @@ def list(
56
53
limit : typing.Optional[int]
57
54
The maximum number of results to return
58
55
56
+ app : typing.Optional[str]
57
+ The app slug or ID to filter accounts by.
58
+
59
59
include_credentials : typing.Optional[bool]
60
60
Whether to retrieve the account's credentials or not
61
61
@@ -71,12 +71,12 @@ def list(
71
71
f"v1/connect/{ jsonable_encoder (self ._client_wrapper ._project_id )} /accounts" ,
72
72
method = "GET" ,
73
73
params = {
74
- "app_id" : app_id ,
75
74
"external_user_id" : external_user_id ,
76
75
"oauth_app_id" : oauth_app_id ,
77
76
"after" : after ,
78
77
"before" : before ,
79
78
"limit" : limit ,
79
+ "app" : app ,
80
80
"include_credentials" : include_credentials ,
81
81
},
82
82
request_options = request_options ,
@@ -97,12 +97,12 @@ def list(
97
97
_parsed_next = _parsed_response .page_info .end_cursor
98
98
_has_next = _parsed_next is not None and _parsed_next != ""
99
99
_get_next = lambda : self .list (
100
- app_id = app_id ,
101
100
external_user_id = external_user_id ,
102
101
oauth_app_id = oauth_app_id ,
103
102
after = _parsed_next ,
104
103
before = before ,
105
104
limit = limit ,
105
+ app = app ,
106
106
include_credentials = include_credentials ,
107
107
request_options = request_options ,
108
108
)
@@ -131,7 +131,6 @@ def create(
131
131
app_slug : str ,
132
132
cfmap_json : str ,
133
133
connect_token : str ,
134
- app_id : typing .Optional [str ] = None ,
135
134
external_user_id : typing .Optional [str ] = None ,
136
135
oauth_app_id : typing .Optional [str ] = None ,
137
136
name : typing .Optional [str ] = OMIT ,
@@ -151,9 +150,6 @@ def create(
151
150
connect_token : str
152
151
The connect token for authentication
153
152
154
- app_id : typing.Optional[str]
155
- The app slug or ID to filter accounts by.
156
-
157
153
external_user_id : typing.Optional[str]
158
154
159
155
oauth_app_id : typing.Optional[str]
@@ -174,7 +170,6 @@ def create(
174
170
f"v1/connect/{ jsonable_encoder (self ._client_wrapper ._project_id )} /accounts" ,
175
171
method = "POST" ,
176
172
params = {
177
- "app_id" : app_id ,
178
173
"external_user_id" : external_user_id ,
179
174
"oauth_app_id" : oauth_app_id ,
180
175
},
@@ -363,12 +358,12 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
363
358
async def list (
364
359
self ,
365
360
* ,
366
- app_id : typing .Optional [str ] = None ,
367
361
external_user_id : typing .Optional [str ] = None ,
368
362
oauth_app_id : typing .Optional [str ] = None ,
369
363
after : typing .Optional [str ] = None ,
370
364
before : typing .Optional [str ] = None ,
371
365
limit : typing .Optional [int ] = None ,
366
+ app : typing .Optional [str ] = None ,
372
367
include_credentials : typing .Optional [bool ] = None ,
373
368
request_options : typing .Optional [RequestOptions ] = None ,
374
369
) -> AsyncPager [Account ]:
@@ -377,9 +372,6 @@ async def list(
377
372
378
373
Parameters
379
374
----------
380
- app_id : typing.Optional[str]
381
- The app slug or ID to filter accounts by.
382
-
383
375
external_user_id : typing.Optional[str]
384
376
385
377
oauth_app_id : typing.Optional[str]
@@ -394,6 +386,9 @@ async def list(
394
386
limit : typing.Optional[int]
395
387
The maximum number of results to return
396
388
389
+ app : typing.Optional[str]
390
+ The app slug or ID to filter accounts by.
391
+
397
392
include_credentials : typing.Optional[bool]
398
393
Whether to retrieve the account's credentials or not
399
394
@@ -409,12 +404,12 @@ async def list(
409
404
f"v1/connect/{ jsonable_encoder (self ._client_wrapper ._project_id )} /accounts" ,
410
405
method = "GET" ,
411
406
params = {
412
- "app_id" : app_id ,
413
407
"external_user_id" : external_user_id ,
414
408
"oauth_app_id" : oauth_app_id ,
415
409
"after" : after ,
416
410
"before" : before ,
417
411
"limit" : limit ,
412
+ "app" : app ,
418
413
"include_credentials" : include_credentials ,
419
414
},
420
415
request_options = request_options ,
@@ -437,12 +432,12 @@ async def list(
437
432
438
433
async def _get_next ():
439
434
return await self .list (
440
- app_id = app_id ,
441
435
external_user_id = external_user_id ,
442
436
oauth_app_id = oauth_app_id ,
443
437
after = _parsed_next ,
444
438
before = before ,
445
439
limit = limit ,
440
+ app = app ,
446
441
include_credentials = include_credentials ,
447
442
request_options = request_options ,
448
443
)
@@ -472,7 +467,6 @@ async def create(
472
467
app_slug : str ,
473
468
cfmap_json : str ,
474
469
connect_token : str ,
475
- app_id : typing .Optional [str ] = None ,
476
470
external_user_id : typing .Optional [str ] = None ,
477
471
oauth_app_id : typing .Optional [str ] = None ,
478
472
name : typing .Optional [str ] = OMIT ,
@@ -492,9 +486,6 @@ async def create(
492
486
connect_token : str
493
487
The connect token for authentication
494
488
495
- app_id : typing.Optional[str]
496
- The app slug or ID to filter accounts by.
497
-
498
489
external_user_id : typing.Optional[str]
499
490
500
491
oauth_app_id : typing.Optional[str]
@@ -515,7 +506,6 @@ async def create(
515
506
f"v1/connect/{ jsonable_encoder (self ._client_wrapper ._project_id )} /accounts" ,
516
507
method = "POST" ,
517
508
params = {
518
- "app_id" : app_id ,
519
509
"external_user_id" : external_user_id ,
520
510
"oauth_app_id" : oauth_app_id ,
521
511
},
0 commit comments