1212from ..types .run_action_opts_stash_id import RunActionOptsStashId
1313from ..types .run_action_response import RunActionResponse
1414from .raw_client import AsyncRawActionsClient , RawActionsClient
15+ from .types .actions_list_request_registry import ActionsListRequestRegistry
1516
1617# this is used as the default value for optional parameters
1718OMIT = typing .cast (typing .Any , ...)
@@ -40,6 +41,7 @@ def list(
4041 limit : typing .Optional [int ] = None ,
4142 q : typing .Optional [str ] = None ,
4243 app : typing .Optional [str ] = None ,
44+ registry : typing .Optional [ActionsListRequestRegistry ] = None ,
4345 request_options : typing .Optional [RequestOptions ] = None ,
4446 ) -> SyncPager [Component ]:
4547 """
@@ -62,6 +64,9 @@ def list(
6264 app : typing.Optional[str]
6365 The ID or name slug of the app to filter the actions
6466
67+ registry : typing.Optional[ActionsListRequestRegistry]
68+ The registry to retrieve actions from. Defaults to 'all' ('public', 'private', or 'all')
69+
6570 request_options : typing.Optional[RequestOptions]
6671 Request-specific configuration.
6772
@@ -86,6 +91,7 @@ def list(
8691 limit=1,
8792 q="q",
8893 app="app",
94+ registry="public",
8995 )
9096 for item in response:
9197 yield item
@@ -94,7 +100,7 @@ def list(
94100 yield page
95101 """
96102 return self ._raw_client .list (
97- after = after , before = before , limit = limit , q = q , app = app , request_options = request_options
103+ after = after , before = before , limit = limit , q = q , app = app , registry = registry , request_options = request_options
98104 )
99105
100106 def retrieve (
@@ -386,6 +392,7 @@ async def list(
386392 limit : typing .Optional [int ] = None ,
387393 q : typing .Optional [str ] = None ,
388394 app : typing .Optional [str ] = None ,
395+ registry : typing .Optional [ActionsListRequestRegistry ] = None ,
389396 request_options : typing .Optional [RequestOptions ] = None ,
390397 ) -> AsyncPager [Component ]:
391398 """
@@ -408,6 +415,9 @@ async def list(
408415 app : typing.Optional[str]
409416 The ID or name slug of the app to filter the actions
410417
418+ registry : typing.Optional[ActionsListRequestRegistry]
419+ The registry to retrieve actions from. Defaults to 'all' ('public', 'private', or 'all')
420+
411421 request_options : typing.Optional[RequestOptions]
412422 Request-specific configuration.
413423
@@ -437,6 +447,7 @@ async def main() -> None:
437447 limit=1,
438448 q="q",
439449 app="app",
450+ registry="public",
440451 )
441452 async for item in response:
442453 yield item
@@ -449,7 +460,7 @@ async def main() -> None:
449460 asyncio.run(main())
450461 """
451462 return await self ._raw_client .list (
452- after = after , before = before , limit = limit , q = q , app = app , request_options = request_options
463+ after = after , before = before , limit = limit , q = q , app = app , registry = registry , request_options = request_options
453464 )
454465
455466 async def retrieve (
0 commit comments