Skip to content

Commit 95c7404

Browse files
committed
SDK regeneration
1 parent 9f7c1f2 commit 95c7404

File tree

67 files changed

+376
-600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+376
-600
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pipedream"
33

44
[tool.poetry]
55
name = "pipedream"
6-
version = "1.0.8"
6+
version = "1.0.9"
77
description = ""
88
readme = "README.md"
99
authors = []

src/pipedream/accounts/client.py

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ def with_raw_response(self) -> RawAccountsClient:
3030
def list(
3131
self,
3232
*,
33-
app_id: typing.Optional[str] = None,
3433
external_user_id: typing.Optional[str] = None,
3534
oauth_app_id: typing.Optional[str] = None,
3635
after: typing.Optional[str] = None,
3736
before: typing.Optional[str] = None,
3837
limit: typing.Optional[int] = None,
38+
app: typing.Optional[str] = None,
3939
include_credentials: typing.Optional[bool] = None,
4040
request_options: typing.Optional[RequestOptions] = None,
4141
) -> SyncPager[Account]:
@@ -44,9 +44,6 @@ def list(
4444
4545
Parameters
4646
----------
47-
app_id : typing.Optional[str]
48-
The app slug or ID to filter accounts by.
49-
5047
external_user_id : typing.Optional[str]
5148
5249
oauth_app_id : typing.Optional[str]
@@ -61,6 +58,9 @@ def list(
6158
limit : typing.Optional[int]
6259
The maximum number of results to return
6360
61+
app : typing.Optional[str]
62+
The app slug or ID to filter accounts by.
63+
6464
include_credentials : typing.Optional[bool]
6565
Whether to retrieve the account's credentials or not
6666
@@ -90,12 +90,12 @@ def list(
9090
yield page
9191
"""
9292
return self._raw_client.list(
93-
app_id=app_id,
9493
external_user_id=external_user_id,
9594
oauth_app_id=oauth_app_id,
9695
after=after,
9796
before=before,
9897
limit=limit,
98+
app=app,
9999
include_credentials=include_credentials,
100100
request_options=request_options,
101101
)
@@ -106,7 +106,6 @@ def create(
106106
app_slug: str,
107107
cfmap_json: str,
108108
connect_token: str,
109-
app_id: typing.Optional[str] = None,
110109
external_user_id: typing.Optional[str] = None,
111110
oauth_app_id: typing.Optional[str] = None,
112111
name: typing.Optional[str] = OMIT,
@@ -126,9 +125,6 @@ def create(
126125
connect_token : str
127126
The connect token for authentication
128127
129-
app_id : typing.Optional[str]
130-
The app slug or ID to filter accounts by.
131-
132128
external_user_id : typing.Optional[str]
133129
134130
oauth_app_id : typing.Optional[str]
@@ -165,7 +161,6 @@ def create(
165161
app_slug=app_slug,
166162
cfmap_json=cfmap_json,
167163
connect_token=connect_token,
168-
app_id=app_id,
169164
external_user_id=external_user_id,
170165
oauth_app_id=oauth_app_id,
171166
name=name,
@@ -300,12 +295,12 @@ def with_raw_response(self) -> AsyncRawAccountsClient:
300295
async def list(
301296
self,
302297
*,
303-
app_id: typing.Optional[str] = None,
304298
external_user_id: typing.Optional[str] = None,
305299
oauth_app_id: typing.Optional[str] = None,
306300
after: typing.Optional[str] = None,
307301
before: typing.Optional[str] = None,
308302
limit: typing.Optional[int] = None,
303+
app: typing.Optional[str] = None,
309304
include_credentials: typing.Optional[bool] = None,
310305
request_options: typing.Optional[RequestOptions] = None,
311306
) -> AsyncPager[Account]:
@@ -314,9 +309,6 @@ async def list(
314309
315310
Parameters
316311
----------
317-
app_id : typing.Optional[str]
318-
The app slug or ID to filter accounts by.
319-
320312
external_user_id : typing.Optional[str]
321313
322314
oauth_app_id : typing.Optional[str]
@@ -331,6 +323,9 @@ async def list(
331323
limit : typing.Optional[int]
332324
The maximum number of results to return
333325
326+
app : typing.Optional[str]
327+
The app slug or ID to filter accounts by.
328+
334329
include_credentials : typing.Optional[bool]
335330
Whether to retrieve the account's credentials or not
336331
@@ -369,12 +364,12 @@ async def main() -> None:
369364
asyncio.run(main())
370365
"""
371366
return await self._raw_client.list(
372-
app_id=app_id,
373367
external_user_id=external_user_id,
374368
oauth_app_id=oauth_app_id,
375369
after=after,
376370
before=before,
377371
limit=limit,
372+
app=app,
378373
include_credentials=include_credentials,
379374
request_options=request_options,
380375
)
@@ -385,7 +380,6 @@ async def create(
385380
app_slug: str,
386381
cfmap_json: str,
387382
connect_token: str,
388-
app_id: typing.Optional[str] = None,
389383
external_user_id: typing.Optional[str] = None,
390384
oauth_app_id: typing.Optional[str] = None,
391385
name: typing.Optional[str] = OMIT,
@@ -405,9 +399,6 @@ async def create(
405399
connect_token : str
406400
The connect token for authentication
407401
408-
app_id : typing.Optional[str]
409-
The app slug or ID to filter accounts by.
410-
411402
external_user_id : typing.Optional[str]
412403
413404
oauth_app_id : typing.Optional[str]
@@ -452,7 +443,6 @@ async def main() -> None:
452443
app_slug=app_slug,
453444
cfmap_json=cfmap_json,
454445
connect_token=connect_token,
455-
app_id=app_id,
456446
external_user_id=external_user_id,
457447
oauth_app_id=oauth_app_id,
458448
name=name,

src/pipedream/accounts/raw_client.py

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)