Skip to content

Commit dd739cb

Browse files
committed
SDK regeneration
1 parent 9f7c1f2 commit dd739cb

File tree

62 files changed

+238
-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.

62 files changed

+238
-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: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def with_raw_response(self) -> RawAccountsClient:
3030
def list(
3131
self,
3232
*,
33-
app_id: typing.Optional[str] = None,
33+
app: typing.Optional[str] = None,
3434
external_user_id: typing.Optional[str] = None,
3535
oauth_app_id: typing.Optional[str] = None,
3636
after: typing.Optional[str] = None,
@@ -44,7 +44,7 @@ def list(
4444
4545
Parameters
4646
----------
47-
app_id : typing.Optional[str]
47+
app : typing.Optional[str]
4848
The app slug or ID to filter accounts by.
4949
5050
external_user_id : typing.Optional[str]
@@ -90,7 +90,7 @@ def list(
9090
yield page
9191
"""
9292
return self._raw_client.list(
93-
app_id=app_id,
93+
app=app,
9494
external_user_id=external_user_id,
9595
oauth_app_id=oauth_app_id,
9696
after=after,
@@ -106,7 +106,7 @@ def create(
106106
app_slug: str,
107107
cfmap_json: str,
108108
connect_token: str,
109-
app_id: typing.Optional[str] = None,
109+
app: typing.Optional[str] = None,
110110
external_user_id: typing.Optional[str] = None,
111111
oauth_app_id: typing.Optional[str] = None,
112112
name: typing.Optional[str] = OMIT,
@@ -126,7 +126,7 @@ def create(
126126
connect_token : str
127127
The connect token for authentication
128128
129-
app_id : typing.Optional[str]
129+
app : typing.Optional[str]
130130
The app slug or ID to filter accounts by.
131131
132132
external_user_id : typing.Optional[str]
@@ -165,7 +165,7 @@ def create(
165165
app_slug=app_slug,
166166
cfmap_json=cfmap_json,
167167
connect_token=connect_token,
168-
app_id=app_id,
168+
app=app,
169169
external_user_id=external_user_id,
170170
oauth_app_id=oauth_app_id,
171171
name=name,
@@ -300,7 +300,7 @@ def with_raw_response(self) -> AsyncRawAccountsClient:
300300
async def list(
301301
self,
302302
*,
303-
app_id: typing.Optional[str] = None,
303+
app: typing.Optional[str] = None,
304304
external_user_id: typing.Optional[str] = None,
305305
oauth_app_id: typing.Optional[str] = None,
306306
after: typing.Optional[str] = None,
@@ -314,7 +314,7 @@ async def list(
314314
315315
Parameters
316316
----------
317-
app_id : typing.Optional[str]
317+
app : typing.Optional[str]
318318
The app slug or ID to filter accounts by.
319319
320320
external_user_id : typing.Optional[str]
@@ -369,7 +369,7 @@ async def main() -> None:
369369
asyncio.run(main())
370370
"""
371371
return await self._raw_client.list(
372-
app_id=app_id,
372+
app=app,
373373
external_user_id=external_user_id,
374374
oauth_app_id=oauth_app_id,
375375
after=after,
@@ -385,7 +385,7 @@ async def create(
385385
app_slug: str,
386386
cfmap_json: str,
387387
connect_token: str,
388-
app_id: typing.Optional[str] = None,
388+
app: typing.Optional[str] = None,
389389
external_user_id: typing.Optional[str] = None,
390390
oauth_app_id: typing.Optional[str] = None,
391391
name: typing.Optional[str] = OMIT,
@@ -405,7 +405,7 @@ async def create(
405405
connect_token : str
406406
The connect token for authentication
407407
408-
app_id : typing.Optional[str]
408+
app : typing.Optional[str]
409409
The app slug or ID to filter accounts by.
410410
411411
external_user_id : typing.Optional[str]
@@ -452,7 +452,7 @@ async def main() -> None:
452452
app_slug=app_slug,
453453
cfmap_json=cfmap_json,
454454
connect_token=connect_token,
455-
app_id=app_id,
455+
app=app,
456456
external_user_id=external_user_id,
457457
oauth_app_id=oauth_app_id,
458458
name=name,

src/pipedream/accounts/raw_client.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
2525
def list(
2626
self,
2727
*,
28-
app_id: typing.Optional[str] = None,
28+
app: typing.Optional[str] = None,
2929
external_user_id: typing.Optional[str] = None,
3030
oauth_app_id: typing.Optional[str] = None,
3131
after: typing.Optional[str] = None,
@@ -39,7 +39,7 @@ def list(
3939
4040
Parameters
4141
----------
42-
app_id : typing.Optional[str]
42+
app : typing.Optional[str]
4343
The app slug or ID to filter accounts by.
4444
4545
external_user_id : typing.Optional[str]
@@ -71,7 +71,7 @@ def list(
7171
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/accounts",
7272
method="GET",
7373
params={
74-
"app_id": app_id,
74+
"app": app,
7575
"external_user_id": external_user_id,
7676
"oauth_app_id": oauth_app_id,
7777
"after": after,
@@ -97,7 +97,7 @@ 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,
100+
app=app,
101101
external_user_id=external_user_id,
102102
oauth_app_id=oauth_app_id,
103103
after=_parsed_next,
@@ -131,7 +131,7 @@ def create(
131131
app_slug: str,
132132
cfmap_json: str,
133133
connect_token: str,
134-
app_id: typing.Optional[str] = None,
134+
app: typing.Optional[str] = None,
135135
external_user_id: typing.Optional[str] = None,
136136
oauth_app_id: typing.Optional[str] = None,
137137
name: typing.Optional[str] = OMIT,
@@ -151,7 +151,7 @@ def create(
151151
connect_token : str
152152
The connect token for authentication
153153
154-
app_id : typing.Optional[str]
154+
app : typing.Optional[str]
155155
The app slug or ID to filter accounts by.
156156
157157
external_user_id : typing.Optional[str]
@@ -174,7 +174,7 @@ def create(
174174
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/accounts",
175175
method="POST",
176176
params={
177-
"app_id": app_id,
177+
"app": app,
178178
"external_user_id": external_user_id,
179179
"oauth_app_id": oauth_app_id,
180180
},
@@ -363,7 +363,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
363363
async def list(
364364
self,
365365
*,
366-
app_id: typing.Optional[str] = None,
366+
app: typing.Optional[str] = None,
367367
external_user_id: typing.Optional[str] = None,
368368
oauth_app_id: typing.Optional[str] = None,
369369
after: typing.Optional[str] = None,
@@ -377,7 +377,7 @@ async def list(
377377
378378
Parameters
379379
----------
380-
app_id : typing.Optional[str]
380+
app : typing.Optional[str]
381381
The app slug or ID to filter accounts by.
382382
383383
external_user_id : typing.Optional[str]
@@ -409,7 +409,7 @@ async def list(
409409
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/accounts",
410410
method="GET",
411411
params={
412-
"app_id": app_id,
412+
"app": app,
413413
"external_user_id": external_user_id,
414414
"oauth_app_id": oauth_app_id,
415415
"after": after,
@@ -437,7 +437,7 @@ async def list(
437437

438438
async def _get_next():
439439
return await self.list(
440-
app_id=app_id,
440+
app=app,
441441
external_user_id=external_user_id,
442442
oauth_app_id=oauth_app_id,
443443
after=_parsed_next,
@@ -472,7 +472,7 @@ async def create(
472472
app_slug: str,
473473
cfmap_json: str,
474474
connect_token: str,
475-
app_id: typing.Optional[str] = None,
475+
app: typing.Optional[str] = None,
476476
external_user_id: typing.Optional[str] = None,
477477
oauth_app_id: typing.Optional[str] = None,
478478
name: typing.Optional[str] = OMIT,
@@ -492,7 +492,7 @@ async def create(
492492
connect_token : str
493493
The connect token for authentication
494494
495-
app_id : typing.Optional[str]
495+
app : typing.Optional[str]
496496
The app slug or ID to filter accounts by.
497497
498498
external_user_id : typing.Optional[str]
@@ -515,7 +515,7 @@ async def create(
515515
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/accounts",
516516
method="POST",
517517
params={
518-
"app_id": app_id,
518+
"app": app,
519519
"external_user_id": external_user_id,
520520
"oauth_app_id": oauth_app_id,
521521
},

src/pipedream/actions/client.py

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from ..core.request_options import RequestOptions
88
from ..types.component import Component
99
from ..types.configure_prop_response import ConfigurePropResponse
10-
from ..types.configured_props import ConfiguredProps
1110
from ..types.reload_props_response import ReloadPropsResponse
1211
from ..types.run_action_opts_stash_id import RunActionOptsStashId
1312
from ..types.run_action_response import RunActionResponse
@@ -132,7 +131,7 @@ def configure_prop(
132131
external_user_id: str,
133132
prop_name: str,
134133
blocking: typing.Optional[bool] = OMIT,
135-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
134+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
136135
dynamic_props_id: typing.Optional[str] = OMIT,
137136
page: typing.Optional[float] = OMIT,
138137
prev_context: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
@@ -156,7 +155,8 @@ def configure_prop(
156155
blocking : typing.Optional[bool]
157156
Whether this operation should block until completion
158157
159-
configured_props : typing.Optional[ConfiguredProps]
158+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
159+
The configured properties for the component
160160
161161
dynamic_props_id : typing.Optional[str]
162162
The ID for dynamic props
@@ -214,7 +214,7 @@ def reload_props(
214214
id: str,
215215
external_user_id: str,
216216
blocking: typing.Optional[bool] = OMIT,
217-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
217+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
218218
dynamic_props_id: typing.Optional[str] = OMIT,
219219
request_options: typing.Optional[RequestOptions] = None,
220220
) -> ReloadPropsResponse:
@@ -232,7 +232,8 @@ def reload_props(
232232
blocking : typing.Optional[bool]
233233
Whether this operation should block until completion
234234
235-
configured_props : typing.Optional[ConfiguredProps]
235+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
236+
The configured properties for the component
236237
237238
dynamic_props_id : typing.Optional[str]
238239
The ID for dynamic props
@@ -275,7 +276,7 @@ def run(
275276
*,
276277
id: str,
277278
external_user_id: str,
278-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
279+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
279280
dynamic_props_id: typing.Optional[str] = OMIT,
280281
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
281282
request_options: typing.Optional[RequestOptions] = None,
@@ -291,7 +292,8 @@ def run(
291292
external_user_id : str
292293
The external user ID
293294
294-
configured_props : typing.Optional[ConfiguredProps]
295+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
296+
The configured properties for the action
295297
296298
dynamic_props_id : typing.Optional[str]
297299
The ID for dynamic props
@@ -466,7 +468,7 @@ async def configure_prop(
466468
external_user_id: str,
467469
prop_name: str,
468470
blocking: typing.Optional[bool] = OMIT,
469-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
471+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
470472
dynamic_props_id: typing.Optional[str] = OMIT,
471473
page: typing.Optional[float] = OMIT,
472474
prev_context: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
@@ -490,7 +492,8 @@ async def configure_prop(
490492
blocking : typing.Optional[bool]
491493
Whether this operation should block until completion
492494
493-
configured_props : typing.Optional[ConfiguredProps]
495+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
496+
The configured properties for the component
494497
495498
dynamic_props_id : typing.Optional[str]
496499
The ID for dynamic props
@@ -556,7 +559,7 @@ async def reload_props(
556559
id: str,
557560
external_user_id: str,
558561
blocking: typing.Optional[bool] = OMIT,
559-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
562+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
560563
dynamic_props_id: typing.Optional[str] = OMIT,
561564
request_options: typing.Optional[RequestOptions] = None,
562565
) -> ReloadPropsResponse:
@@ -574,7 +577,8 @@ async def reload_props(
574577
blocking : typing.Optional[bool]
575578
Whether this operation should block until completion
576579
577-
configured_props : typing.Optional[ConfiguredProps]
580+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
581+
The configured properties for the component
578582
579583
dynamic_props_id : typing.Optional[str]
580584
The ID for dynamic props
@@ -625,7 +629,7 @@ async def run(
625629
*,
626630
id: str,
627631
external_user_id: str,
628-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
632+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
629633
dynamic_props_id: typing.Optional[str] = OMIT,
630634
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
631635
request_options: typing.Optional[RequestOptions] = None,
@@ -641,7 +645,8 @@ async def run(
641645
external_user_id : str
642646
The external user ID
643647
644-
configured_props : typing.Optional[ConfiguredProps]
648+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
649+
The configured properties for the action
645650
646651
dynamic_props_id : typing.Optional[str]
647652
The ID for dynamic props

0 commit comments

Comments
 (0)