diff --git a/nuon/api/actions/get_action_workflow_configs.py b/nuon/api/actions/get_action_workflow_configs.py index e1bbe7ac..b99c8a57 100644 --- a/nuon/api/actions/get_action_workflow_configs.py +++ b/nuon/api/actions/get_action_workflow_configs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppActionWorkflowConfig"]]]: """get action workflow for an app @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppActionWorkflowConfig"]]]: """get action workflow for an app @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppActionWorkflowConfig"]]]: """get action workflow for an app @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppActionWorkflowConfig"]]]: """get action workflow for an app @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/actions/get_action_workflows.py b/nuon/api/actions/get_action_workflows.py index 35ddbd91..12db8f94 100644 --- a/nuon/api/actions/get_action_workflows.py +++ b/nuon/api/actions/get_action_workflows.py @@ -17,12 +17,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["q"] = q @@ -41,7 +36,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -102,7 +96,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppActionWorkflow"]]]: """get action workflows for an app @@ -112,7 +105,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -128,7 +120,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -146,7 +137,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppActionWorkflow"]]]: """get action workflows for an app @@ -156,7 +146,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,7 +162,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -185,7 +173,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppActionWorkflow"]]]: """get action workflows for an app @@ -195,7 +182,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -211,7 +197,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -227,7 +212,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppActionWorkflow"]]]: """get action workflows for an app @@ -237,7 +221,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -255,6 +238,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/actions/get_install_action_workflow_recent_runs.py b/nuon/api/actions/get_install_action_workflow_recent_runs.py index 79a6e21a..d25957c0 100644 --- a/nuon/api/actions/get_install_action_workflow_recent_runs.py +++ b/nuon/api/actions/get_install_action_workflow_recent_runs.py @@ -17,12 +17,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -39,7 +34,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -95,7 +89,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[AppInstallActionWorkflow, StderrErrResponse]]: """get recent runs for an action workflow by install id @@ -105,7 +98,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -121,7 +113,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[AppInstallActionWorkflow, StderrErrResponse]]: """get recent runs for an action workflow by install id @@ -149,7 +139,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -166,7 +155,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -178,7 +166,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[AppInstallActionWorkflow, StderrErrResponse]]: """get recent runs for an action workflow by install id @@ -188,7 +175,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -204,7 +190,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -220,7 +205,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[AppInstallActionWorkflow, StderrErrResponse]]: """get recent runs for an action workflow by install id @@ -230,7 +214,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -248,6 +231,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/actions/get_install_action_workflow_runs.py b/nuon/api/actions/get_install_action_workflow_runs.py index e61c86ca..b0a18fb3 100644 --- a/nuon/api/actions/get_install_action_workflow_runs.py +++ b/nuon/api/actions/get_install_action_workflow_runs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallActionWorkflowRun"]]]: """get action workflow runs by install id @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallActionWorkflowRun"]]]: """get action workflow runs by install id @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallActionWorkflowRun"]]]: """get action workflow runs by install id @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallActionWorkflowRun"]]]: """get action workflow runs by install id @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/actions/get_install_action_workflows_latest_runs.py b/nuon/api/actions/get_install_action_workflows_latest_runs.py index 8ddcd813..ecb5c9c7 100644 --- a/nuon/api/actions/get_install_action_workflows_latest_runs.py +++ b/nuon/api/actions/get_install_action_workflows_latest_runs.py @@ -18,12 +18,7 @@ def _get_kwargs( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["trigger_types"] = trigger_types @@ -44,7 +39,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -106,7 +100,6 @@ def sync_detailed( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallActionWorkflow"]]]: """get latest runs for all action workflows by install id @@ -117,7 +110,6 @@ def sync_detailed( limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. q (Union[Unset, str]): - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -134,7 +126,6 @@ def sync_detailed( limit=limit, page=page, q=q, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -153,7 +144,6 @@ def sync( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallActionWorkflow"]]]: """get latest runs for all action workflows by install id @@ -164,7 +154,6 @@ def sync( limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. q (Union[Unset, str]): - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -182,7 +171,6 @@ def sync( limit=limit, page=page, q=q, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -195,7 +183,6 @@ async def asyncio_detailed( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallActionWorkflow"]]]: """get latest runs for all action workflows by install id @@ -206,7 +193,6 @@ async def asyncio_detailed( limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. q (Union[Unset, str]): - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -223,7 +209,6 @@ async def asyncio_detailed( limit=limit, page=page, q=q, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -240,7 +225,6 @@ async def asyncio( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallActionWorkflow"]]]: """get latest runs for all action workflows by install id @@ -251,7 +235,6 @@ async def asyncio( limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. q (Union[Unset, str]): - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -270,6 +253,5 @@ async def asyncio( limit=limit, page=page, q=q, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/apps/get_app_branch_app_configs.py b/nuon/api/apps/get_app_branch_app_configs.py index c604544b..b7a9f756 100644 --- a/nuon/api/apps/get_app_branch_app_configs.py +++ b/nuon/api/apps/get_app_branch_app_configs.py @@ -17,12 +17,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -39,7 +34,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -100,7 +94,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppConfig"]]]: """get app branch app configs @@ -110,7 +103,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,7 +118,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -144,7 +135,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppConfig"]]]: """get app branch app configs @@ -154,7 +144,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,7 +160,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -183,7 +171,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppConfig"]]]: """get app branch app configs @@ -193,7 +180,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -209,7 +195,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -225,7 +210,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppConfig"]]]: """get app branch app configs @@ -235,7 +219,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -253,6 +236,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/apps/get_app_branches.py b/nuon/api/apps/get_app_branches.py index 74e79ba0..83687a65 100644 --- a/nuon/api/apps/get_app_branches.py +++ b/nuon/api/apps/get_app_branches.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppBranch"]]]: """get app branches @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppBranch"]]]: """get app branches @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppBranch"]]]: """get app branches @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppBranch"]]]: """get app branches @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/apps/get_app_configs.py b/nuon/api/apps/get_app_configs.py index 6821edcf..86fd623d 100644 --- a/nuon/api/apps/get_app_configs.py +++ b/nuon/api/apps/get_app_configs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppConfig"]]]: """get app configs @@ -109,7 +102,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,7 +116,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -141,7 +132,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppConfig"]]]: """get app configs @@ -152,7 +142,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +157,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -179,7 +167,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppConfig"]]]: """get app configs @@ -190,7 +177,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -205,7 +191,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -220,7 +205,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppConfig"]]]: """get app configs @@ -231,7 +215,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -248,6 +231,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/apps/get_app_input_configs.py b/nuon/api/apps/get_app_input_configs.py index 09fc58fe..d6326fba 100644 --- a/nuon/api/apps/get_app_input_configs.py +++ b/nuon/api/apps/get_app_input_configs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppInputConfig"]]]: """get app input configs @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppInputConfig"]]]: """get app input configs @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppInputConfig"]]]: """get app input configs @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppInputConfig"]]]: """get app input configs @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/apps/get_app_runner_configs.py b/nuon/api/apps/get_app_runner_configs.py index 09ade96f..dbc0f9e8 100644 --- a/nuon/api/apps/get_app_runner_configs.py +++ b/nuon/api/apps/get_app_runner_configs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppRunnerConfig"]]]: """get app runner configs @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppRunnerConfig"]]]: """get app runner configs @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppRunnerConfig"]]]: """get app runner configs @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppRunnerConfig"]]]: """get app runner configs @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/apps/get_app_sandbox_configs.py b/nuon/api/apps/get_app_sandbox_configs.py index ebd13c2f..0f52ba44 100644 --- a/nuon/api/apps/get_app_sandbox_configs.py +++ b/nuon/api/apps/get_app_sandbox_configs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppSandboxConfig"]]]: """get app sandbox configs @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppSandboxConfig"]]]: """get app sandbox configs @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppSandboxConfig"]]]: """get app sandbox configs @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppSandboxConfig"]]]: """get app sandbox configs @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/apps/get_app_secrets.py b/nuon/api/apps/get_app_secrets.py index 0c57cc9f..28f49914 100644 --- a/nuon/api/apps/get_app_secrets.py +++ b/nuon/api/apps/get_app_secrets.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppSecret"]]]: """get app secrets @@ -111,7 +104,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,7 +118,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -143,7 +134,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppSecret"]]]: """get app secrets @@ -156,7 +146,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -172,7 +161,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -183,7 +171,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppAppSecret"]]]: """get app secrets @@ -196,7 +183,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -211,7 +197,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -226,7 +211,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppAppSecret"]]]: """get app secrets @@ -239,7 +223,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -256,6 +239,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/apps/get_apps.py b/nuon/api/apps/get_apps.py index aa275ae5..b4fff9ff 100644 --- a/nuon/api/apps/get_apps.py +++ b/nuon/api/apps/get_apps.py @@ -16,12 +16,7 @@ def _get_kwargs( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -40,7 +35,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -100,7 +94,6 @@ def sync_detailed( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppApp"]]]: """get all apps for the current org @@ -109,7 +102,6 @@ def sync_detailed( q (Union[Unset, str]): limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,7 +116,6 @@ def sync_detailed( q=q, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -141,7 +132,6 @@ def sync( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppApp"]]]: """get all apps for the current org @@ -150,7 +140,6 @@ def sync( q (Union[Unset, str]): limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -166,7 +155,6 @@ def sync( q=q, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -177,7 +165,6 @@ async def asyncio_detailed( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppApp"]]]: """get all apps for the current org @@ -186,7 +173,6 @@ async def asyncio_detailed( q (Union[Unset, str]): limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -201,7 +187,6 @@ async def asyncio_detailed( q=q, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -216,7 +201,6 @@ async def asyncio( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppApp"]]]: """get all apps for the current org @@ -225,7 +209,6 @@ async def asyncio( q (Union[Unset, str]): limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -242,6 +225,5 @@ async def asyncio( q=q, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/components/get_app_components.py b/nuon/api/components/get_app_components.py index 8f1bd222..93928341 100644 --- a/nuon/api/components/get_app_components.py +++ b/nuon/api/components/get_app_components.py @@ -18,12 +18,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["q"] = q @@ -44,7 +39,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -106,7 +100,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponent"]]]: """get all components for an app @@ -117,7 +110,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -134,7 +126,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -153,7 +144,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponent"]]]: """get all components for an app @@ -164,7 +154,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -182,7 +171,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -195,7 +183,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponent"]]]: """get all components for an app @@ -206,7 +193,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -223,7 +209,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -240,7 +225,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponent"]]]: """get all components for an app @@ -251,7 +235,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -270,6 +253,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/components/get_component_builds.py b/nuon/api/components/get_component_builds.py index 137e7485..40405cc3 100644 --- a/nuon/api/components/get_component_builds.py +++ b/nuon/api/components/get_component_builds.py @@ -17,12 +17,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["component_id"] = component_id @@ -43,7 +38,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -104,7 +98,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentBuild"]]]: """get builds for components @@ -114,7 +107,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -130,7 +122,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -148,7 +139,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentBuild"]]]: """get builds for components @@ -158,7 +148,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -175,7 +164,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -187,7 +175,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentBuild"]]]: """get builds for components @@ -197,7 +184,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -213,7 +199,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -229,7 +214,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentBuild"]]]: """get builds for components @@ -239,7 +223,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -257,6 +240,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/components/get_component_configs.py b/nuon/api/components/get_component_configs.py index 16b4f1a7..7b1d1e03 100644 --- a/nuon/api/components/get_component_configs.py +++ b/nuon/api/components/get_component_configs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentConfigConnection"]]]: """get all configs for a component @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentConfigConnection"]]]: """get all configs for a component @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentConfigConnection"]]]: """get all configs for a component @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentConfigConnection"]]]: """get all configs for a component @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/components/get_org_components.py b/nuon/api/components/get_org_components.py index 84ed48cf..0a360e26 100644 --- a/nuon/api/components/get_org_components.py +++ b/nuon/api/components/get_org_components.py @@ -15,12 +15,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -37,7 +32,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -96,7 +90,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponent"]]]: """get all components for an org @@ -104,7 +97,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -118,7 +110,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -134,7 +125,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponent"]]]: """get all components for an org @@ -142,7 +132,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,7 +146,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -167,7 +155,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponent"]]]: """get all components for an org @@ -175,7 +162,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -189,7 +175,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -203,7 +188,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponent"]]]: """get all components for an org @@ -211,7 +195,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -227,6 +210,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installers/get_installers.py b/nuon/api/installers/get_installers.py index 5e71c543..a9546faa 100644 --- a/nuon/api/installers/get_installers.py +++ b/nuon/api/installers/get_installers.py @@ -15,12 +15,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -37,7 +32,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -96,7 +90,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstaller"]]]: """get installers for current org @@ -106,7 +99,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -120,7 +112,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -136,7 +127,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstaller"]]]: """get installers for current org @@ -146,7 +136,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -161,7 +150,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -171,7 +159,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstaller"]]]: """get installers for current org @@ -181,7 +168,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -195,7 +181,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -209,7 +194,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstaller"]]]: """get installers for current org @@ -219,7 +203,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -235,6 +218,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_app_installs.py b/nuon/api/installs/get_app_installs.py index d1abe4a4..12061b3b 100644 --- a/nuon/api/installs/get_app_installs.py +++ b/nuon/api/installs/get_app_installs.py @@ -17,12 +17,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["q"] = q @@ -41,7 +36,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -102,7 +96,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstall"]]]: """get all installs for an app @@ -112,7 +105,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -128,7 +120,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -146,7 +137,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstall"]]]: """get all installs for an app @@ -156,7 +146,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,7 +162,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -185,7 +173,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstall"]]]: """get all installs for an app @@ -195,7 +182,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -211,7 +197,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -227,7 +212,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstall"]]]: """get all installs for an app @@ -237,7 +221,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -255,6 +238,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_action_workflows.py b/nuon/api/installs/get_install_action_workflows.py index 1c61d1ee..dc61bab3 100644 --- a/nuon/api/installs/get_install_action_workflows.py +++ b/nuon/api/installs/get_install_action_workflows.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallActionWorkflow"]]]: """get an installs action workflows @@ -109,7 +102,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,7 +116,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -141,7 +132,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallActionWorkflow"]]]: """get an installs action workflows @@ -152,7 +142,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +157,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -179,7 +167,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallActionWorkflow"]]]: """get an installs action workflows @@ -190,7 +177,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -205,7 +191,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -220,7 +205,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallActionWorkflow"]]]: """get an installs action workflows @@ -231,7 +215,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -248,6 +231,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_component_deploys.py b/nuon/api/installs/get_install_component_deploys.py index 63e55797..1646368d 100644 --- a/nuon/api/installs/get_install_component_deploys.py +++ b/nuon/api/installs/get_install_component_deploys.py @@ -17,12 +17,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -39,7 +34,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -100,7 +94,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallDeploy"]]]: """get an install components deploys @@ -110,7 +103,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,7 +118,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -144,7 +135,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallDeploy"]]]: """get an install components deploys @@ -154,7 +144,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,7 +160,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -183,7 +171,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallDeploy"]]]: """get an install components deploys @@ -193,7 +180,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -209,7 +195,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -225,7 +210,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallDeploy"]]]: """get an install components deploys @@ -235,7 +219,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -253,6 +236,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_components.py b/nuon/api/installs/get_install_components.py index 08fd4b77..7d097ce9 100644 --- a/nuon/api/installs/get_install_components.py +++ b/nuon/api/installs/get_install_components.py @@ -15,12 +15,7 @@ def _get_kwargs( *, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -35,7 +30,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -94,7 +88,6 @@ def sync_detailed( client: AuthenticatedClient, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallComponent"]]]: """get an installs components @@ -102,7 +95,6 @@ def sync_detailed( install_id (str): offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,7 +108,6 @@ def sync_detailed( install_id=install_id, offset=offset, limit=limit, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -132,7 +123,6 @@ def sync( client: AuthenticatedClient, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallComponent"]]]: """get an installs components @@ -140,7 +130,6 @@ def sync( install_id (str): offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -155,7 +144,6 @@ def sync( client=client, offset=offset, limit=limit, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -165,7 +153,6 @@ async def asyncio_detailed( client: AuthenticatedClient, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallComponent"]]]: """get an installs components @@ -173,7 +160,6 @@ async def asyncio_detailed( install_id (str): offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -187,7 +173,6 @@ async def asyncio_detailed( install_id=install_id, offset=offset, limit=limit, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -201,7 +186,6 @@ async def asyncio( client: AuthenticatedClient, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallComponent"]]]: """get an installs components @@ -209,7 +193,6 @@ async def asyncio( install_id (str): offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -225,6 +208,5 @@ async def asyncio( client=client, offset=offset, limit=limit, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_components_summary.py b/nuon/api/installs/get_install_components_summary.py index 1e3d1df4..dd101822 100644 --- a/nuon/api/installs/get_install_components_summary.py +++ b/nuon/api/installs/get_install_components_summary.py @@ -18,12 +18,7 @@ def _get_kwargs( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["types"] = types @@ -44,7 +39,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -106,7 +100,6 @@ def sync_detailed( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallComponentSummary"]]]: """get an installs components summary @@ -117,7 +110,6 @@ def sync_detailed( limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. q (Union[Unset, str]): - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -134,7 +126,6 @@ def sync_detailed( limit=limit, page=page, q=q, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -153,7 +144,6 @@ def sync( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallComponentSummary"]]]: """get an installs components summary @@ -164,7 +154,6 @@ def sync( limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. q (Union[Unset, str]): - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -182,7 +171,6 @@ def sync( limit=limit, page=page, q=q, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -195,7 +183,6 @@ async def asyncio_detailed( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallComponentSummary"]]]: """get an installs components summary @@ -206,7 +193,6 @@ async def asyncio_detailed( limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. q (Union[Unset, str]): - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -223,7 +209,6 @@ async def asyncio_detailed( limit=limit, page=page, q=q, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -240,7 +225,6 @@ async def asyncio( limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, q: Union[Unset, str] = UNSET, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallComponentSummary"]]]: """get an installs components summary @@ -251,7 +235,6 @@ async def asyncio( limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. q (Union[Unset, str]): - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -270,6 +253,5 @@ async def asyncio( limit=limit, page=page, q=q, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_deploys.py b/nuon/api/installs/get_install_deploys.py index a8047539..19c01b2c 100644 --- a/nuon/api/installs/get_install_deploys.py +++ b/nuon/api/installs/get_install_deploys.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallDeploy"]]]: """get all deploys to an install @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallDeploy"]]]: """get all deploys to an install @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallDeploy"]]]: """get all deploys to an install @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallDeploy"]]]: """get all deploys to an install @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_events.py b/nuon/api/installs/get_install_events.py index 90eeb06d..d9813009 100644 --- a/nuon/api/installs/get_install_events.py +++ b/nuon/api/installs/get_install_events.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallEvent"]]]: """get events for an install @@ -111,7 +104,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,7 +118,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -143,7 +134,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallEvent"]]]: """get events for an install @@ -156,7 +146,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -172,7 +161,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -183,7 +171,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallEvent"]]]: """get events for an install @@ -196,7 +183,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -211,7 +197,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -226,7 +211,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallEvent"]]]: """get events for an install @@ -239,7 +223,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -256,6 +239,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_inputs.py b/nuon/api/installs/get_install_inputs.py index 96242548..76d652fb 100644 --- a/nuon/api/installs/get_install_inputs.py +++ b/nuon/api/installs/get_install_inputs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallInputs"]]]: """get an installs inputs @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallInputs"]]]: """get an installs inputs @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallInputs"]]]: """get an installs inputs @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallInputs"]]]: """get an installs inputs @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_sandbox_runs.py b/nuon/api/installs/get_install_sandbox_runs.py index 273feca6..05680687 100644 --- a/nuon/api/installs/get_install_sandbox_runs.py +++ b/nuon/api/installs/get_install_sandbox_runs.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallSandboxRun"]]]: """get an installs sandbox runs @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallSandboxRun"]]]: """get an installs sandbox runs @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstallSandboxRun"]]]: """get an installs sandbox runs @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstallSandboxRun"]]]: """get an installs sandbox runs @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_install_state_history.py b/nuon/api/installs/get_install_state_history.py new file mode 100644 index 00000000..a9bfc30a --- /dev/null +++ b/nuon/api/installs/get_install_state_history.py @@ -0,0 +1,227 @@ +from http import HTTPStatus +from typing import Any, Optional, Union + +import httpx + +from ... import errors +from ...client import AuthenticatedClient, Client +from ...models.app_install_state import AppInstallState +from ...models.stderr_err_response import StderrErrResponse +from ...types import UNSET, Response, Unset + + +def _get_kwargs( + install_id: str, + *, + offset: Union[Unset, int] = 0, + limit: Union[Unset, int] = 10, + page: Union[Unset, int] = 0, +) -> dict[str, Any]: + params: dict[str, Any] = {} + + params["offset"] = offset + + params["limit"] = limit + + params["page"] = page + + params = {k: v for k, v in params.items() if v is not UNSET and v is not None} + + _kwargs: dict[str, Any] = { + "method": "get", + "url": f"/v1/installs/{install_id}/state-history", + "params": params, + } + + return _kwargs + + +def _parse_response( + *, client: Union[AuthenticatedClient, Client], response: httpx.Response +) -> Optional[Union[StderrErrResponse, list["AppInstallState"]]]: + if response.status_code == 200: + response_200 = [] + _response_200 = response.json() + for response_200_item_data in _response_200: + response_200_item = AppInstallState.from_dict(response_200_item_data) + + response_200.append(response_200_item) + + return response_200 + if response.status_code == 400: + response_400 = StderrErrResponse.from_dict(response.json()) + + return response_400 + if response.status_code == 401: + response_401 = StderrErrResponse.from_dict(response.json()) + + return response_401 + if response.status_code == 403: + response_403 = StderrErrResponse.from_dict(response.json()) + + return response_403 + if response.status_code == 404: + response_404 = StderrErrResponse.from_dict(response.json()) + + return response_404 + if response.status_code == 500: + response_500 = StderrErrResponse.from_dict(response.json()) + + return response_500 + if client.raise_on_unexpected_status: + raise errors.UnexpectedStatus(response.status_code, response.content) + else: + return None + + +def _build_response( + *, client: Union[AuthenticatedClient, Client], response: httpx.Response +) -> Response[Union[StderrErrResponse, list["AppInstallState"]]]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + install_id: str, + *, + client: AuthenticatedClient, + offset: Union[Unset, int] = 0, + limit: Union[Unset, int] = 10, + page: Union[Unset, int] = 0, +) -> Response[Union[StderrErrResponse, list["AppInstallState"]]]: + """Get install state history. + + Args: + install_id (str): + offset (Union[Unset, int]): Default: 0. + limit (Union[Unset, int]): Default: 10. + page (Union[Unset, int]): Default: 0. + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Union[StderrErrResponse, list['AppInstallState']]] + """ + + kwargs = _get_kwargs( + install_id=install_id, + offset=offset, + limit=limit, + page=page, + ) + + response = client.get_httpx_client().request( + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + install_id: str, + *, + client: AuthenticatedClient, + offset: Union[Unset, int] = 0, + limit: Union[Unset, int] = 10, + page: Union[Unset, int] = 0, +) -> Optional[Union[StderrErrResponse, list["AppInstallState"]]]: + """Get install state history. + + Args: + install_id (str): + offset (Union[Unset, int]): Default: 0. + limit (Union[Unset, int]): Default: 10. + page (Union[Unset, int]): Default: 0. + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Union[StderrErrResponse, list['AppInstallState']] + """ + + return sync_detailed( + install_id=install_id, + client=client, + offset=offset, + limit=limit, + page=page, + ).parsed + + +async def asyncio_detailed( + install_id: str, + *, + client: AuthenticatedClient, + offset: Union[Unset, int] = 0, + limit: Union[Unset, int] = 10, + page: Union[Unset, int] = 0, +) -> Response[Union[StderrErrResponse, list["AppInstallState"]]]: + """Get install state history. + + Args: + install_id (str): + offset (Union[Unset, int]): Default: 0. + limit (Union[Unset, int]): Default: 10. + page (Union[Unset, int]): Default: 0. + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Union[StderrErrResponse, list['AppInstallState']]] + """ + + kwargs = _get_kwargs( + install_id=install_id, + offset=offset, + limit=limit, + page=page, + ) + + response = await client.get_async_httpx_client().request(**kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + install_id: str, + *, + client: AuthenticatedClient, + offset: Union[Unset, int] = 0, + limit: Union[Unset, int] = 10, + page: Union[Unset, int] = 0, +) -> Optional[Union[StderrErrResponse, list["AppInstallState"]]]: + """Get install state history. + + Args: + install_id (str): + offset (Union[Unset, int]): Default: 0. + limit (Union[Unset, int]): Default: 10. + page (Union[Unset, int]): Default: 0. + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Union[StderrErrResponse, list['AppInstallState']] + """ + + return ( + await asyncio_detailed( + install_id=install_id, + client=client, + offset=offset, + limit=limit, + page=page, + ) + ).parsed diff --git a/nuon/api/installs/get_org_installs.py b/nuon/api/installs/get_org_installs.py index ab52b5f6..254ab42a 100644 --- a/nuon/api/installs/get_org_installs.py +++ b/nuon/api/installs/get_org_installs.py @@ -16,12 +16,7 @@ def _get_kwargs( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -40,7 +35,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -100,7 +94,6 @@ def sync_detailed( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstall"]]]: """get all installs for an org @@ -109,7 +102,6 @@ def sync_detailed( q (Union[Unset, str]): limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,7 +116,6 @@ def sync_detailed( q=q, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -141,7 +132,6 @@ def sync( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstall"]]]: """get all installs for an org @@ -150,7 +140,6 @@ def sync( q (Union[Unset, str]): limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -166,7 +155,6 @@ def sync( q=q, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -177,7 +165,6 @@ async def asyncio_detailed( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppInstall"]]]: """get all installs for an org @@ -186,7 +173,6 @@ async def asyncio_detailed( q (Union[Unset, str]): limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -201,7 +187,6 @@ async def asyncio_detailed( q=q, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -216,7 +201,6 @@ async def asyncio( q: Union[Unset, str] = UNSET, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppInstall"]]]: """get all installs for an org @@ -225,7 +209,6 @@ async def asyncio( q (Union[Unset, str]): limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -242,6 +225,5 @@ async def asyncio( q=q, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/installs/get_workflows.py b/nuon/api/installs/get_workflows.py index bb1e4691..f4622fe1 100644 --- a/nuon/api/installs/get_workflows.py +++ b/nuon/api/installs/get_workflows.py @@ -16,12 +16,11 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, + planonly: Union[Unset, bool] = True, + type_: Union[Unset, str] = UNSET, + created_at_gte: Union[Unset, str] = UNSET, + created_at_lte: Union[Unset, str] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -30,6 +29,14 @@ def _get_kwargs( params["page"] = page + params["planonly"] = planonly + + params["type"] = type_ + + params["created_at_gte"] = created_at_gte + + params["created_at_lte"] = created_at_lte + params = {k: v for k, v in params.items() if v is not UNSET and v is not None} _kwargs: dict[str, Any] = { @@ -38,7 +45,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +104,10 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, + planonly: Union[Unset, bool] = True, + type_: Union[Unset, str] = UNSET, + created_at_gte: Union[Unset, str] = UNSET, + created_at_lte: Union[Unset, str] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppWorkflow"]]]: """get workflows @@ -109,7 +118,10 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): + planonly (Union[Unset, bool]): Default: True. + type_ (Union[Unset, str]): + created_at_gte (Union[Unset, str]): + created_at_lte (Union[Unset, str]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,7 +136,10 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, + planonly=planonly, + type_=type_, + created_at_gte=created_at_gte, + created_at_lte=created_at_lte, ) response = client.get_httpx_client().request( @@ -141,7 +156,10 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, + planonly: Union[Unset, bool] = True, + type_: Union[Unset, str] = UNSET, + created_at_gte: Union[Unset, str] = UNSET, + created_at_lte: Union[Unset, str] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppWorkflow"]]]: """get workflows @@ -152,7 +170,10 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): + planonly (Union[Unset, bool]): Default: True. + type_ (Union[Unset, str]): + created_at_gte (Union[Unset, str]): + created_at_lte (Union[Unset, str]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +189,10 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, + planonly=planonly, + type_=type_, + created_at_gte=created_at_gte, + created_at_lte=created_at_lte, ).parsed @@ -179,7 +203,10 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, + planonly: Union[Unset, bool] = True, + type_: Union[Unset, str] = UNSET, + created_at_gte: Union[Unset, str] = UNSET, + created_at_lte: Union[Unset, str] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppWorkflow"]]]: """get workflows @@ -190,7 +217,10 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): + planonly (Union[Unset, bool]): Default: True. + type_ (Union[Unset, str]): + created_at_gte (Union[Unset, str]): + created_at_lte (Union[Unset, str]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -205,7 +235,10 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, + planonly=planonly, + type_=type_, + created_at_gte=created_at_gte, + created_at_lte=created_at_lte, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -220,7 +253,10 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, + planonly: Union[Unset, bool] = True, + type_: Union[Unset, str] = UNSET, + created_at_gte: Union[Unset, str] = UNSET, + created_at_lte: Union[Unset, str] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppWorkflow"]]]: """get workflows @@ -231,7 +267,10 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): + planonly (Union[Unset, bool]): Default: True. + type_ (Union[Unset, str]): + created_at_gte (Union[Unset, str]): + created_at_lte (Union[Unset, str]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -248,6 +287,9 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, + planonly=planonly, + type_=type_, + created_at_gte=created_at_gte, + created_at_lte=created_at_lte, ) ).parsed diff --git a/nuon/api/orgs/get_org_acounts.py b/nuon/api/orgs/get_org_acounts.py index 00ed48c2..0e366525 100644 --- a/nuon/api/orgs/get_org_acounts.py +++ b/nuon/api/orgs/get_org_acounts.py @@ -15,12 +15,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -37,7 +32,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -91,7 +85,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[AppAccount, StderrErrResponse]]: """Get user accounts for current org @@ -99,7 +92,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -113,7 +105,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -129,7 +120,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[AppAccount, StderrErrResponse]]: """Get user accounts for current org @@ -137,7 +127,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -152,7 +141,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -162,7 +150,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[AppAccount, StderrErrResponse]]: """Get user accounts for current org @@ -170,7 +157,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -184,7 +170,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -198,7 +183,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[AppAccount, StderrErrResponse]]: """Get user accounts for current org @@ -206,7 +190,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -222,6 +205,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/orgs/get_org_invites.py b/nuon/api/orgs/get_org_invites.py index f149afa9..48e369d3 100644 --- a/nuon/api/orgs/get_org_invites.py +++ b/nuon/api/orgs/get_org_invites.py @@ -15,12 +15,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -37,7 +32,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -96,7 +90,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppOrgInvite"]]]: """Return org invites @@ -106,7 +99,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -120,7 +112,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -136,7 +127,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppOrgInvite"]]]: """Return org invites @@ -146,7 +136,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -161,7 +150,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -171,7 +159,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppOrgInvite"]]]: """Return org invites @@ -181,7 +168,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -195,7 +181,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -209,7 +194,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppOrgInvite"]]]: """Return org invites @@ -219,7 +203,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -235,6 +218,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/orgs/get_orgs.py b/nuon/api/orgs/get_orgs.py index 623f2c28..28903731 100644 --- a/nuon/api/orgs/get_orgs.py +++ b/nuon/api/orgs/get_orgs.py @@ -12,17 +12,15 @@ def _get_kwargs( *, + q: Union[Unset, str] = UNSET, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} + params["q"] = q + params["offset"] = offset params["limit"] = limit @@ -37,7 +35,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -93,18 +90,18 @@ def _build_response( def sync_detailed( *, client: AuthenticatedClient, + q: Union[Unset, str] = UNSET, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppOrg"]]]: """Return current user's orgs Args: + q (Union[Unset, str]): offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,10 +112,10 @@ def sync_detailed( """ kwargs = _get_kwargs( + q=q, offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -131,18 +128,18 @@ def sync_detailed( def sync( *, client: AuthenticatedClient, + q: Union[Unset, str] = UNSET, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppOrg"]]]: """Return current user's orgs Args: + q (Union[Unset, str]): offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -154,28 +151,28 @@ def sync( return sync_detailed( client=client, + q=q, offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed async def asyncio_detailed( *, client: AuthenticatedClient, + q: Union[Unset, str] = UNSET, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppOrg"]]]: """Return current user's orgs Args: + q (Union[Unset, str]): offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -186,10 +183,10 @@ async def asyncio_detailed( """ kwargs = _get_kwargs( + q=q, offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -200,18 +197,18 @@ async def asyncio_detailed( async def asyncio( *, client: AuthenticatedClient, + q: Union[Unset, str] = UNSET, offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppOrg"]]]: """Return current user's orgs Args: + q (Union[Unset, str]): offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -224,9 +221,9 @@ async def asyncio( return ( await asyncio_detailed( client=client, + q=q, offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/releases/get_app_releases.py b/nuon/api/releases/get_app_releases.py index 04967a6d..356b612c 100644 --- a/nuon/api/releases/get_app_releases.py +++ b/nuon/api/releases/get_app_releases.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentRelease"]]]: """get all releases for an app @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentRelease"]]]: """get all releases for an app @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentRelease"]]]: """get all releases for an app @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentRelease"]]]: """get all releases for an app @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/releases/get_component_releases.py b/nuon/api/releases/get_component_releases.py index cec8059d..71e84513 100644 --- a/nuon/api/releases/get_component_releases.py +++ b/nuon/api/releases/get_component_releases.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentRelease"]]]: """get all releases for a component @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentRelease"]]]: """get all releases for a component @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentRelease"]]]: """get all releases for a component @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentRelease"]]]: """get all releases for a component @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/releases/get_release_steps.py b/nuon/api/releases/get_release_steps.py index ab5edc00..3435c586 100644 --- a/nuon/api/releases/get_release_steps.py +++ b/nuon/api/releases/get_release_steps.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentReleaseStep"]]]: """get a release @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentReleaseStep"]]]: """get a release @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppComponentReleaseStep"]]]: """get a release @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppComponentReleaseStep"]]]: """get a release @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/runners/get_runner_jobs.py b/nuon/api/runners/get_runner_jobs.py index a3ec3001..043b5017 100644 --- a/nuon/api/runners/get_runner_jobs.py +++ b/nuon/api/runners/get_runner_jobs.py @@ -20,12 +20,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["group"] = group @@ -50,7 +45,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -114,7 +108,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppRunnerJob"]]]: """get runner jobs @@ -129,7 +122,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,7 +140,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -169,7 +160,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppRunnerJob"]]]: """get runner jobs @@ -184,7 +174,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -204,7 +193,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -219,7 +207,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppRunnerJob"]]]: """get runner jobs @@ -234,7 +221,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -253,7 +239,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -272,7 +257,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppRunnerJob"]]]: """get runner jobs @@ -287,7 +271,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -308,6 +291,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/runners/get_runner_recent_health_checks.py b/nuon/api/runners/get_runner_recent_health_checks.py index 9dab4df3..31ff8baa 100644 --- a/nuon/api/runners/get_runner_recent_health_checks.py +++ b/nuon/api/runners/get_runner_recent_health_checks.py @@ -17,12 +17,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["window"] = window @@ -41,7 +36,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -102,7 +96,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppRunnerHealthCheck"]]]: """get recent health checks @@ -114,7 +107,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -130,7 +122,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -148,7 +139,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppRunnerHealthCheck"]]]: """get recent health checks @@ -160,7 +150,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -177,7 +166,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -189,7 +177,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppRunnerHealthCheck"]]]: """get recent health checks @@ -201,7 +188,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -217,7 +203,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -233,7 +218,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppRunnerHealthCheck"]]]: """get recent health checks @@ -245,7 +229,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -263,6 +246,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/runners/get_terraform_states.py b/nuon/api/runners/get_terraform_states.py index b8a4ba1b..a4afc9b5 100644 --- a/nuon/api/runners/get_terraform_states.py +++ b/nuon/api/runners/get_terraform_states.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppTerraformWorkspaceState"]]]: """get terraform states @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppTerraformWorkspaceState"]]]: """get terraform states @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppTerraformWorkspaceState"]]]: """get terraform states @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppTerraformWorkspaceState"]]]: """get terraform states @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/runners/get_terraform_workspace_states_json.py b/nuon/api/runners/get_terraform_workspace_states_json.py index 5ba82128..6f5ba956 100644 --- a/nuon/api/runners/get_terraform_workspace_states_json.py +++ b/nuon/api/runners/get_terraform_workspace_states_json.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppTerraformWorkspaceStateJSON"]]]: """get terraform states json @@ -107,7 +100,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,7 +114,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -139,7 +130,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppTerraformWorkspaceStateJSON"]]]: """get terraform states json @@ -148,7 +138,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -164,7 +153,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -175,7 +163,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppTerraformWorkspaceStateJSON"]]]: """get terraform states json @@ -184,7 +171,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,7 +185,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -214,7 +199,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppTerraformWorkspaceStateJSON"]]]: """get terraform states json @@ -223,7 +207,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -240,6 +223,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/runnersrunner/get_runner_job_executions.py b/nuon/api/runnersrunner/get_runner_job_executions.py index 49372fce..7042efcc 100644 --- a/nuon/api/runnersrunner/get_runner_job_executions.py +++ b/nuon/api/runnersrunner/get_runner_job_executions.py @@ -16,12 +16,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -38,7 +33,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -98,7 +92,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppRunnerJobExecution"]]]: """get runner job executions @@ -109,7 +102,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,7 +116,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -141,7 +132,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppRunnerJobExecution"]]]: """get runner job executions @@ -152,7 +142,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +157,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -179,7 +167,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppRunnerJobExecution"]]]: """get runner job executions @@ -190,7 +177,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -205,7 +191,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -220,7 +205,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppRunnerJobExecution"]]]: """get runner job executions @@ -231,7 +215,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -248,6 +231,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/api/vcs/delete_vcs_connection.py b/nuon/api/vcs/delete_vcs_connection.py new file mode 100644 index 00000000..ba41ab77 --- /dev/null +++ b/nuon/api/vcs/delete_vcs_connection.py @@ -0,0 +1,169 @@ +from http import HTTPStatus +from typing import Any, Optional, Union, cast + +import httpx + +from ... import errors +from ...client import AuthenticatedClient, Client +from ...models.stderr_err_response import StderrErrResponse +from ...types import Response + + +def _get_kwargs( + connection_id: str, +) -> dict[str, Any]: + _kwargs: dict[str, Any] = { + "method": "delete", + "url": f"/v1/vcs/connections/{connection_id}", + } + + return _kwargs + + +def _parse_response( + *, client: Union[AuthenticatedClient, Client], response: httpx.Response +) -> Optional[Union[Any, StderrErrResponse]]: + if response.status_code == 204: + response_204 = cast(Any, None) + return response_204 + if response.status_code == 400: + response_400 = StderrErrResponse.from_dict(response.json()) + + return response_400 + if response.status_code == 401: + response_401 = StderrErrResponse.from_dict(response.json()) + + return response_401 + if response.status_code == 403: + response_403 = StderrErrResponse.from_dict(response.json()) + + return response_403 + if response.status_code == 404: + response_404 = StderrErrResponse.from_dict(response.json()) + + return response_404 + if response.status_code == 500: + response_500 = StderrErrResponse.from_dict(response.json()) + + return response_500 + if client.raise_on_unexpected_status: + raise errors.UnexpectedStatus(response.status_code, response.content) + else: + return None + + +def _build_response( + *, client: Union[AuthenticatedClient, Client], response: httpx.Response +) -> Response[Union[Any, StderrErrResponse]]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + connection_id: str, + *, + client: AuthenticatedClient, +) -> Response[Union[Any, StderrErrResponse]]: + """Deletes a VCS connection + + Args: + connection_id (str): + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Union[Any, StderrErrResponse]] + """ + + kwargs = _get_kwargs( + connection_id=connection_id, + ) + + response = client.get_httpx_client().request( + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + connection_id: str, + *, + client: AuthenticatedClient, +) -> Optional[Union[Any, StderrErrResponse]]: + """Deletes a VCS connection + + Args: + connection_id (str): + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Union[Any, StderrErrResponse] + """ + + return sync_detailed( + connection_id=connection_id, + client=client, + ).parsed + + +async def asyncio_detailed( + connection_id: str, + *, + client: AuthenticatedClient, +) -> Response[Union[Any, StderrErrResponse]]: + """Deletes a VCS connection + + Args: + connection_id (str): + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Union[Any, StderrErrResponse]] + """ + + kwargs = _get_kwargs( + connection_id=connection_id, + ) + + response = await client.get_async_httpx_client().request(**kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + connection_id: str, + *, + client: AuthenticatedClient, +) -> Optional[Union[Any, StderrErrResponse]]: + """Deletes a VCS connection + + Args: + connection_id (str): + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Union[Any, StderrErrResponse] + """ + + return ( + await asyncio_detailed( + connection_id=connection_id, + client=client, + ) + ).parsed diff --git a/nuon/api/vcs/get_org_vcs_connections.py b/nuon/api/vcs/get_org_vcs_connections.py index 37449de4..7c2ab538 100644 --- a/nuon/api/vcs/get_org_vcs_connections.py +++ b/nuon/api/vcs/get_org_vcs_connections.py @@ -15,12 +15,7 @@ def _get_kwargs( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> dict[str, Any]: - headers: dict[str, Any] = {} - if not isinstance(x_nuon_pagination_enabled, Unset): - headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false" - params: dict[str, Any] = {} params["offset"] = offset @@ -37,7 +32,6 @@ def _get_kwargs( "params": params, } - _kwargs["headers"] = headers return _kwargs @@ -96,7 +90,6 @@ def sync_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppVCSConnection"]]]: """get vcs connection for an org @@ -104,7 +97,6 @@ def sync_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -118,7 +110,6 @@ def sync_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = client.get_httpx_client().request( @@ -134,7 +125,6 @@ def sync( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppVCSConnection"]]]: """get vcs connection for an org @@ -142,7 +132,6 @@ def sync( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,7 +146,6 @@ def sync( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ).parsed @@ -167,7 +155,6 @@ async def asyncio_detailed( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Response[Union[StderrErrResponse, list["AppVCSConnection"]]]: """get vcs connection for an org @@ -175,7 +162,6 @@ async def asyncio_detailed( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -189,7 +175,6 @@ async def asyncio_detailed( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -203,7 +188,6 @@ async def asyncio( offset: Union[Unset, int] = 0, limit: Union[Unset, int] = 10, page: Union[Unset, int] = 0, - x_nuon_pagination_enabled: Union[Unset, bool] = UNSET, ) -> Optional[Union[StderrErrResponse, list["AppVCSConnection"]]]: """get vcs connection for an org @@ -211,7 +195,6 @@ async def asyncio( offset (Union[Unset, int]): Default: 0. limit (Union[Unset, int]): Default: 10. page (Union[Unset, int]): Default: 0. - x_nuon_pagination_enabled (Union[Unset, bool]): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -227,6 +210,5 @@ async def asyncio( offset=offset, limit=limit, page=page, - x_nuon_pagination_enabled=x_nuon_pagination_enabled, ) ).parsed diff --git a/nuon/models/__init__.py b/nuon/models/__init__.py index 6d574099..712259b2 100644 --- a/nuon/models/__init__.py +++ b/nuon/models/__init__.py @@ -85,6 +85,7 @@ from .app_install_inputs_redacted_values import AppInstallInputsRedactedValues from .app_install_inputs_values import AppInstallInputsValues from .app_install_links import AppInstallLinks +from .app_install_metadata import AppInstallMetadata from .app_install_sandbox import AppInstallSandbox from .app_install_sandbox_run import AppInstallSandboxRun from .app_install_sandbox_run_outputs import AppInstallSandboxRunOutputs @@ -181,6 +182,7 @@ from .app_workflow_step_response_type import AppWorkflowStepResponseType from .app_workflow_type import AppWorkflowType from .config_app_policy_type import ConfigAppPolicyType +from .generics_null_time import GenericsNullTime from .get_app_config_template_type import GetAppConfigTemplateType from .get_config_schema_response_200 import GetConfigSchemaResponse200 from .get_install_component_outputs_response_200 import GetInstallComponentOutputsResponse200 @@ -193,6 +195,7 @@ GithubComPowertoolsdevMonoPkgTypesStateStateComponents, ) from .helpers_create_install_config_params import HelpersCreateInstallConfigParams +from .helpers_install_metadata import HelpersInstallMetadata from .lock_terraform_workspace_body import LockTerraformWorkspaceBody from .outputs_secret_sync_output import OutputsSecretSyncOutput from .permissions_permission import PermissionsPermission @@ -440,6 +443,7 @@ "AppInstallInputsRedactedValues", "AppInstallInputsValues", "AppInstallLinks", + "AppInstallMetadata", "AppInstallSandbox", "AppInstallSandboxRun", "AppInstallSandboxRunOutputs", @@ -531,6 +535,7 @@ "AppWorkflowStepResponseType", "AppWorkflowType", "ConfigAppPolicyType", + "GenericsNullTime", "GetAppConfigTemplateType", "GetConfigSchemaResponse200", "GetInstallComponentOutputsResponse200", @@ -539,6 +544,7 @@ "GithubComPowertoolsdevMonoPkgTypesStateState", "GithubComPowertoolsdevMonoPkgTypesStateStateComponents", "HelpersCreateInstallConfigParams", + "HelpersInstallMetadata", "LockTerraformWorkspaceBody", "OutputsSecretSyncOutput", "PermissionsPermission", diff --git a/nuon/models/app_app_sandbox_config.py b/nuon/models/app_app_sandbox_config.py index 80c12e6b..91161f4a 100644 --- a/nuon/models/app_app_sandbox_config.py +++ b/nuon/models/app_app_sandbox_config.py @@ -27,6 +27,7 @@ class AppAppSandboxConfig: connected_github_vcs_config (Union[Unset, AppConnectedGithubVCSConfig]): created_at (Union[Unset, str]): created_by_id (Union[Unset, str]): + drift_schedule (Union[Unset, str]): env_vars (Union[Unset, AppAppSandboxConfigEnvVars]): id (Union[Unset, str]): org_id (Union[Unset, str]): @@ -44,6 +45,7 @@ class AppAppSandboxConfig: connected_github_vcs_config: Union[Unset, "AppConnectedGithubVCSConfig"] = UNSET created_at: Union[Unset, str] = UNSET created_by_id: Union[Unset, str] = UNSET + drift_schedule: Union[Unset, str] = UNSET env_vars: Union[Unset, "AppAppSandboxConfigEnvVars"] = UNSET id: Union[Unset, str] = UNSET org_id: Union[Unset, str] = UNSET @@ -71,6 +73,8 @@ def to_dict(self) -> dict[str, Any]: created_by_id = self.created_by_id + drift_schedule = self.drift_schedule + env_vars: Union[Unset, dict[str, Any]] = UNSET if not isinstance(self.env_vars, Unset): env_vars = self.env_vars.to_dict() @@ -112,6 +116,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["created_at"] = created_at if created_by_id is not UNSET: field_dict["created_by_id"] = created_by_id + if drift_schedule is not UNSET: + field_dict["drift_schedule"] = drift_schedule if env_vars is not UNSET: field_dict["env_vars"] = env_vars if id is not UNSET: @@ -158,6 +164,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by_id = d.pop("created_by_id", UNSET) + drift_schedule = d.pop("drift_schedule", UNSET) + _env_vars = d.pop("env_vars", UNSET) env_vars: Union[Unset, AppAppSandboxConfigEnvVars] if isinstance(_env_vars, Unset): @@ -197,6 +205,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: connected_github_vcs_config=connected_github_vcs_config, created_at=created_at, created_by_id=created_by_id, + drift_schedule=drift_schedule, env_vars=env_vars, id=id, org_id=org_id, diff --git a/nuon/models/app_component_config_connection.py b/nuon/models/app_component_config_connection.py index ef7139c5..27aa75dd 100644 --- a/nuon/models/app_component_config_connection.py +++ b/nuon/models/app_component_config_connection.py @@ -33,6 +33,7 @@ class AppComponentConfigConnection: created_at (Union[Unset, str]): created_by_id (Union[Unset, str]): docker_build (Union[Unset, AppDockerBuildComponentConfig]): + drift_schedule (Union[Unset, str]): external_image (Union[Unset, AppExternalImageComponentConfig]): helm (Union[Unset, AppHelmComponentConfig]): id (Union[Unset, str]): @@ -55,6 +56,7 @@ class AppComponentConfigConnection: created_at: Union[Unset, str] = UNSET created_by_id: Union[Unset, str] = UNSET docker_build: Union[Unset, "AppDockerBuildComponentConfig"] = UNSET + drift_schedule: Union[Unset, str] = UNSET external_image: Union[Unset, "AppExternalImageComponentConfig"] = UNSET helm: Union[Unset, "AppHelmComponentConfig"] = UNSET id: Union[Unset, str] = UNSET @@ -91,6 +93,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.docker_build, Unset): docker_build = self.docker_build.to_dict() + drift_schedule = self.drift_schedule + external_image: Union[Unset, dict[str, Any]] = UNSET if not isinstance(self.external_image, Unset): external_image = self.external_image.to_dict() @@ -153,6 +157,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["created_by_id"] = created_by_id if docker_build is not UNSET: field_dict["docker_build"] = docker_build + if drift_schedule is not UNSET: + field_dict["drift_schedule"] = drift_schedule if external_image is not UNSET: field_dict["external_image"] = external_image if helm is not UNSET: @@ -212,6 +218,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: else: docker_build = AppDockerBuildComponentConfig.from_dict(_docker_build) + drift_schedule = d.pop("drift_schedule", UNSET) + _external_image = d.pop("external_image", UNSET) external_image: Union[Unset, AppExternalImageComponentConfig] if isinstance(_external_image, Unset): @@ -279,6 +287,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_at=created_at, created_by_id=created_by_id, docker_build=docker_build, + drift_schedule=drift_schedule, external_image=external_image, helm=helm, id=id, diff --git a/nuon/models/app_install.py b/nuon/models/app_install.py index 44f8b889..ddb53524 100644 --- a/nuon/models/app_install.py +++ b/nuon/models/app_install.py @@ -18,6 +18,7 @@ from ..models.app_install_event import AppInstallEvent from ..models.app_install_inputs import AppInstallInputs from ..models.app_install_links import AppInstallLinks + from ..models.app_install_metadata import AppInstallMetadata from ..models.app_install_sandbox import AppInstallSandbox from ..models.app_install_sandbox_run import AppInstallSandboxRun from ..models.app_install_stack import AppInstallStack @@ -55,6 +56,7 @@ class AppInstall: install_stack (Union[Unset, AppInstallStack]): install_states (Union[Unset, list['AppInstallState']]): links (Union[Unset, AppInstallLinks]): + metadata (Union[Unset, AppInstallMetadata]): name (Union[Unset, str]): runner_id (Union[Unset, str]): runner_status (Union[Unset, str]): @@ -92,6 +94,7 @@ class AppInstall: install_stack: Union[Unset, "AppInstallStack"] = UNSET install_states: Union[Unset, list["AppInstallState"]] = UNSET links: Union[Unset, "AppInstallLinks"] = UNSET + metadata: Union[Unset, "AppInstallMetadata"] = UNSET name: Union[Unset, str] = UNSET runner_id: Union[Unset, str] = UNSET runner_status: Union[Unset, str] = UNSET @@ -199,6 +202,10 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.links, Unset): links = self.links.to_dict() + metadata: Union[Unset, dict[str, Any]] = UNSET + if not isinstance(self.metadata, Unset): + metadata = self.metadata.to_dict() + name = self.name runner_id = self.runner_id @@ -279,6 +286,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["install_states"] = install_states if links is not UNSET: field_dict["links"] = links + if metadata is not UNSET: + field_dict["metadata"] = metadata if name is not UNSET: field_dict["name"] = name if runner_id is not UNSET: @@ -319,6 +328,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: from ..models.app_install_event import AppInstallEvent from ..models.app_install_inputs import AppInstallInputs from ..models.app_install_links import AppInstallLinks + from ..models.app_install_metadata import AppInstallMetadata from ..models.app_install_sandbox import AppInstallSandbox from ..models.app_install_sandbox_run import AppInstallSandboxRun from ..models.app_install_stack import AppInstallStack @@ -442,6 +452,13 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: else: links = AppInstallLinks.from_dict(_links) + _metadata = d.pop("metadata", UNSET) + metadata: Union[Unset, AppInstallMetadata] + if isinstance(_metadata, Unset): + metadata = UNSET + else: + metadata = AppInstallMetadata.from_dict(_metadata) + name = d.pop("name", UNSET) runner_id = d.pop("runner_id", UNSET) @@ -500,6 +517,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: install_stack=install_stack, install_states=install_states, links=links, + metadata=metadata, name=name, runner_id=runner_id, runner_status=runner_status, diff --git a/nuon/models/app_install_deploy.py b/nuon/models/app_install_deploy.py index c12cfbb5..e511236e 100644 --- a/nuon/models/app_install_deploy.py +++ b/nuon/models/app_install_deploy.py @@ -43,6 +43,7 @@ class AppInstallDeploy: log_stream (Union[Unset, AppLogStream]): oci_artifact (Union[Unset, AppOCIArtifact]): outputs (Union[Unset, AppInstallDeployOutputs]): + plan_only (Union[Unset, bool]): release_id (Union[Unset, str]): runner_jobs (Union[Unset, list['AppRunnerJob']]): runner details status (Union[Unset, str]): @@ -70,6 +71,7 @@ class AppInstallDeploy: log_stream: Union[Unset, "AppLogStream"] = UNSET oci_artifact: Union[Unset, "AppOCIArtifact"] = UNSET outputs: Union[Unset, "AppInstallDeployOutputs"] = UNSET + plan_only: Union[Unset, bool] = UNSET release_id: Union[Unset, str] = UNSET runner_jobs: Union[Unset, list["AppRunnerJob"]] = UNSET status: Union[Unset, str] = UNSET @@ -132,6 +134,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.outputs, Unset): outputs = self.outputs.to_dict() + plan_only = self.plan_only + release_id = self.release_id runner_jobs: Union[Unset, list[dict[str, Any]]] = UNSET @@ -194,6 +198,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["oci_artifact"] = oci_artifact if outputs is not UNSET: field_dict["outputs"] = outputs + if plan_only is not UNSET: + field_dict["plan_only"] = plan_only if release_id is not UNSET: field_dict["release_id"] = release_id if runner_jobs is not UNSET: @@ -295,6 +301,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: else: outputs = AppInstallDeployOutputs.from_dict(_outputs) + plan_only = d.pop("plan_only", UNSET) + release_id = d.pop("release_id", UNSET) runner_jobs = [] @@ -344,6 +352,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: log_stream=log_stream, oci_artifact=oci_artifact, outputs=outputs, + plan_only=plan_only, release_id=release_id, runner_jobs=runner_jobs, status=status, diff --git a/nuon/models/app_install_deploy_status.py b/nuon/models/app_install_deploy_status.py index b4273baf..e570a1c1 100644 --- a/nuon/models/app_install_deploy_status.py +++ b/nuon/models/app_install_deploy_status.py @@ -4,11 +4,14 @@ class AppInstallDeployStatus(str, Enum): ACTIVE = "active" APPROVAL_DENIED = "approval-denied" + AUTO_SKIPPED = "auto-skipped" CANCELLED = "cancelled" + DRIFT_DETECTED = "drift-detected" ERROR = "error" EXECUTING = "executing" INACTIVE = "inactive" NOOP = "noop" + NO_DRIFT = "no-drift" PENDING = "pending" PENDING_APPROVAL = "pending-approval" PLANNING = "planning" diff --git a/nuon/models/app_install_metadata.py b/nuon/models/app_install_metadata.py new file mode 100644 index 00000000..ca9b4c85 --- /dev/null +++ b/nuon/models/app_install_metadata.py @@ -0,0 +1,44 @@ +from collections.abc import Mapping +from typing import Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +T = TypeVar("T", bound="AppInstallMetadata") + + +@_attrs_define +class AppInstallMetadata: + """ """ + + additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + app_install_metadata = cls() + + app_install_metadata.additional_properties = d + return app_install_metadata + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> str: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: str) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/nuon/models/app_install_state.py b/nuon/models/app_install_state.py index c4f13ef4..692ab245 100644 --- a/nuon/models/app_install_state.py +++ b/nuon/models/app_install_state.py @@ -1,11 +1,15 @@ from collections.abc import Mapping -from typing import Any, TypeVar, Union +from typing import TYPE_CHECKING, Any, TypeVar, Union from attrs import define as _attrs_define from attrs import field as _attrs_field from ..types import UNSET, Unset +if TYPE_CHECKING: + from ..models.generics_null_time import GenericsNullTime + + T = TypeVar("T", bound="AppInstallState") @@ -19,6 +23,7 @@ class AppInstallState: created_by_id (Union[Unset, str]): id (Union[Unset, str]): install_id (Union[Unset, str]): + stale_at (Union[Unset, GenericsNullTime]): triggered_by_id (Union[Unset, str]): triggered_by_type (Union[Unset, str]): updated_at (Union[Unset, str]): @@ -31,6 +36,7 @@ class AppInstallState: created_by_id: Union[Unset, str] = UNSET id: Union[Unset, str] = UNSET install_id: Union[Unset, str] = UNSET + stale_at: Union[Unset, "GenericsNullTime"] = UNSET triggered_by_id: Union[Unset, str] = UNSET triggered_by_type: Union[Unset, str] = UNSET updated_at: Union[Unset, str] = UNSET @@ -50,6 +56,10 @@ def to_dict(self) -> dict[str, Any]: install_id = self.install_id + stale_at: Union[Unset, dict[str, Any]] = UNSET + if not isinstance(self.stale_at, Unset): + stale_at = self.stale_at.to_dict() + triggered_by_id = self.triggered_by_id triggered_by_type = self.triggered_by_type @@ -73,6 +83,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["id"] = id if install_id is not UNSET: field_dict["install_id"] = install_id + if stale_at is not UNSET: + field_dict["stale_at"] = stale_at if triggered_by_id is not UNSET: field_dict["triggered_by_id"] = triggered_by_id if triggered_by_type is not UNSET: @@ -86,6 +98,8 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.generics_null_time import GenericsNullTime + d = dict(src_dict) archived = d.pop("archived", UNSET) @@ -99,6 +113,13 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: install_id = d.pop("install_id", UNSET) + _stale_at = d.pop("stale_at", UNSET) + stale_at: Union[Unset, GenericsNullTime] + if isinstance(_stale_at, Unset): + stale_at = UNSET + else: + stale_at = GenericsNullTime.from_dict(_stale_at) + triggered_by_id = d.pop("triggered_by_id", UNSET) triggered_by_type = d.pop("triggered_by_type", UNSET) @@ -114,6 +135,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by_id=created_by_id, id=id, install_id=install_id, + stale_at=stale_at, triggered_by_id=triggered_by_id, triggered_by_type=triggered_by_type, updated_at=updated_at, diff --git a/nuon/models/app_runner_health_check.py b/nuon/models/app_runner_health_check.py index 217f3232..3746f58b 100644 --- a/nuon/models/app_runner_health_check.py +++ b/nuon/models/app_runner_health_check.py @@ -22,6 +22,7 @@ class AppRunnerHealthCheck: created_by_id (Union[Unset, str]): id (Union[Unset, str]): minute_bucket (Union[Unset, str]): + process (Union[Unset, str]): runner_id (Union[Unset, str]): runner_job (Union[Unset, AppRunnerJob]): status (Union[Unset, AppRunnerStatus]): @@ -33,6 +34,7 @@ class AppRunnerHealthCheck: created_by_id: Union[Unset, str] = UNSET id: Union[Unset, str] = UNSET minute_bucket: Union[Unset, str] = UNSET + process: Union[Unset, str] = UNSET runner_id: Union[Unset, str] = UNSET runner_job: Union[Unset, "AppRunnerJob"] = UNSET status: Union[Unset, AppRunnerStatus] = UNSET @@ -49,6 +51,8 @@ def to_dict(self) -> dict[str, Any]: minute_bucket = self.minute_bucket + process = self.process + runner_id = self.runner_id runner_job: Union[Unset, dict[str, Any]] = UNSET @@ -74,6 +78,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["id"] = id if minute_bucket is not UNSET: field_dict["minute_bucket"] = minute_bucket + if process is not UNSET: + field_dict["process"] = process if runner_id is not UNSET: field_dict["runner_id"] = runner_id if runner_job is not UNSET: @@ -100,6 +106,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: minute_bucket = d.pop("minute_bucket", UNSET) + process = d.pop("process", UNSET) + runner_id = d.pop("runner_id", UNSET) _runner_job = d.pop("runner_job", UNSET) @@ -125,6 +133,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by_id=created_by_id, id=id, minute_bucket=minute_bucket, + process=process, runner_id=runner_id, runner_job=runner_job, status=status, diff --git a/nuon/models/app_runner_heart_beat.py b/nuon/models/app_runner_heart_beat.py index 7ddaefcb..6be7b4cc 100644 --- a/nuon/models/app_runner_heart_beat.py +++ b/nuon/models/app_runner_heart_beat.py @@ -17,6 +17,7 @@ class AppRunnerHeartBeat: created_at (Union[Unset, str]): created_by_id (Union[Unset, str]): id (Union[Unset, str]): + process (Union[Unset, str]): runner_id (Union[Unset, str]): started_at (Union[Unset, str]): updated_at (Union[Unset, str]): @@ -27,6 +28,7 @@ class AppRunnerHeartBeat: created_at: Union[Unset, str] = UNSET created_by_id: Union[Unset, str] = UNSET id: Union[Unset, str] = UNSET + process: Union[Unset, str] = UNSET runner_id: Union[Unset, str] = UNSET started_at: Union[Unset, str] = UNSET updated_at: Union[Unset, str] = UNSET @@ -42,6 +44,8 @@ def to_dict(self) -> dict[str, Any]: id = self.id + process = self.process + runner_id = self.runner_id started_at = self.started_at @@ -61,6 +65,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["created_by_id"] = created_by_id if id is not UNSET: field_dict["id"] = id + if process is not UNSET: + field_dict["process"] = process if runner_id is not UNSET: field_dict["runner_id"] = runner_id if started_at is not UNSET: @@ -83,6 +89,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: id = d.pop("id", UNSET) + process = d.pop("process", UNSET) + runner_id = d.pop("runner_id", UNSET) started_at = d.pop("started_at", UNSET) @@ -96,6 +104,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_at=created_at, created_by_id=created_by_id, id=id, + process=process, runner_id=runner_id, started_at=started_at, updated_at=updated_at, diff --git a/nuon/models/app_status.py b/nuon/models/app_status.py index 21c366e3..9aad42c3 100644 --- a/nuon/models/app_status.py +++ b/nuon/models/app_status.py @@ -9,8 +9,12 @@ class AppStatus(str, Enum): APPROVAL_EXPIRED = "approval-expired" APPROVAL_RETRY = "approval-retry" APPROVED = "approved" + AUTO_SKIPPED = "auto-skipped" AWAITING_USER_RUN = "awaiting-user-run" + BUILDING = "building" CANCELLED = "cancelled" + CHECKING_PLAN = "checking-plan" + DELETING = "deleting" DISCARDED = "discarded" ERROR = "error" EXPIRED = "expired" diff --git a/nuon/models/app_vcs_connection.py b/nuon/models/app_vcs_connection.py index 1366f90c..77ffc23a 100644 --- a/nuon/models/app_vcs_connection.py +++ b/nuon/models/app_vcs_connection.py @@ -19,6 +19,8 @@ class AppVCSConnection: Attributes: created_at (Union[Unset, str]): created_by_id (Union[Unset, str]): + github_account_id (Union[Unset, str]): + github_account_name (Union[Unset, str]): github_install_id (Union[Unset, str]): id (Union[Unset, str]): updated_at (Union[Unset, str]): @@ -27,6 +29,8 @@ class AppVCSConnection: created_at: Union[Unset, str] = UNSET created_by_id: Union[Unset, str] = UNSET + github_account_id: Union[Unset, str] = UNSET + github_account_name: Union[Unset, str] = UNSET github_install_id: Union[Unset, str] = UNSET id: Union[Unset, str] = UNSET updated_at: Union[Unset, str] = UNSET @@ -38,6 +42,10 @@ def to_dict(self) -> dict[str, Any]: created_by_id = self.created_by_id + github_account_id = self.github_account_id + + github_account_name = self.github_account_name + github_install_id = self.github_install_id id = self.id @@ -58,6 +66,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["created_at"] = created_at if created_by_id is not UNSET: field_dict["created_by_id"] = created_by_id + if github_account_id is not UNSET: + field_dict["github_account_id"] = github_account_id + if github_account_name is not UNSET: + field_dict["github_account_name"] = github_account_name if github_install_id is not UNSET: field_dict["github_install_id"] = github_install_id if id is not UNSET: @@ -78,6 +90,10 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by_id = d.pop("created_by_id", UNSET) + github_account_id = d.pop("github_account_id", UNSET) + + github_account_name = d.pop("github_account_name", UNSET) + github_install_id = d.pop("github_install_id", UNSET) id = d.pop("id", UNSET) @@ -94,6 +110,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: app_vcs_connection = cls( created_at=created_at, created_by_id=created_by_id, + github_account_id=github_account_id, + github_account_name=github_account_name, github_install_id=github_install_id, id=id, updated_at=updated_at, diff --git a/nuon/models/app_workflow_type.py b/nuon/models/app_workflow_type.py index ab95e8cb..3341f7a3 100644 --- a/nuon/models/app_workflow_type.py +++ b/nuon/models/app_workflow_type.py @@ -9,6 +9,8 @@ class AppWorkflowType(str, Enum): DEPLOY_COMPONENTS = "deploy_components" DEPROVISION = "deprovision" DEPROVISION_SANDBOX = "deprovision_sandbox" + DRIFT_RUN = "drift_run" + DRIFT_RUN_REPROVISION_SANDBOX = "drift_run_reprovision_sandbox" INPUT_UPDATE = "input_update" MANUAL_DEPLOY = "manual_deploy" PROVISION = "provision" diff --git a/nuon/models/generics_null_time.py b/nuon/models/generics_null_time.py new file mode 100644 index 00000000..8e567168 --- /dev/null +++ b/nuon/models/generics_null_time.py @@ -0,0 +1,68 @@ +from collections.abc import Mapping +from typing import Any, TypeVar, Union + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="GenericsNullTime") + + +@_attrs_define +class GenericsNullTime: + """ + Attributes: + time (Union[Unset, str]): + valid (Union[Unset, bool]): Valid is true if Time is not NULL + """ + + time: Union[Unset, str] = UNSET + valid: Union[Unset, bool] = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + time = self.time + + valid = self.valid + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if time is not UNSET: + field_dict["time"] = time + if valid is not UNSET: + field_dict["valid"] = valid + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + time = d.pop("time", UNSET) + + valid = d.pop("valid", UNSET) + + generics_null_time = cls( + time=time, + valid=valid, + ) + + generics_null_time.additional_properties = d + return generics_null_time + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/nuon/models/github_com_powertoolsdev_mono_pkg_types_state_state.py b/nuon/models/github_com_powertoolsdev_mono_pkg_types_state_state.py index d49d901e..dd0f5dc7 100644 --- a/nuon/models/github_com_powertoolsdev_mono_pkg_types_state_state.py +++ b/nuon/models/github_com_powertoolsdev_mono_pkg_types_state_state.py @@ -44,6 +44,7 @@ class GithubComPowertoolsdevMonoPkgTypesStateState: runner (Union[Unset, StateRunnerState]): sandbox (Union[Unset, StateSandboxState]): secrets (Union[Unset, StateSecretsState]): + stale_at (Union[Unset, str]): loaded from the database but not part of the state itself """ actions: Union[Unset, "StateActionsState"] = UNSET @@ -60,6 +61,7 @@ class GithubComPowertoolsdevMonoPkgTypesStateState: runner: Union[Unset, "StateRunnerState"] = UNSET sandbox: Union[Unset, "StateSandboxState"] = UNSET secrets: Union[Unset, "StateSecretsState"] = UNSET + stale_at: Union[Unset, str] = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -115,6 +117,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.secrets, Unset): secrets = self.secrets.to_dict() + stale_at = self.stale_at + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -146,6 +150,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["sandbox"] = sandbox if secrets is not UNSET: field_dict["secrets"] = secrets + if stale_at is not UNSET: + field_dict["stale_at"] = stale_at return field_dict @@ -255,6 +261,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: else: secrets = StateSecretsState.from_dict(_secrets) + stale_at = d.pop("stale_at", UNSET) + github_com_powertoolsdev_mono_pkg_types_state_state = cls( actions=actions, app=app, @@ -270,6 +278,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: runner=runner, sandbox=sandbox, secrets=secrets, + stale_at=stale_at, ) github_com_powertoolsdev_mono_pkg_types_state_state.additional_properties = d diff --git a/nuon/models/helpers_install_metadata.py b/nuon/models/helpers_install_metadata.py new file mode 100644 index 00000000..7a4c6607 --- /dev/null +++ b/nuon/models/helpers_install_metadata.py @@ -0,0 +1,59 @@ +from collections.abc import Mapping +from typing import Any, TypeVar, Union + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="HelpersInstallMetadata") + + +@_attrs_define +class HelpersInstallMetadata: + """ + Attributes: + managed_by (Union[Unset, str]): + """ + + managed_by: Union[Unset, str] = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + managed_by = self.managed_by + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if managed_by is not UNSET: + field_dict["managed_by"] = managed_by + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + managed_by = d.pop("managed_by", UNSET) + + helpers_install_metadata = cls( + managed_by=managed_by, + ) + + helpers_install_metadata.additional_properties = d + return helpers_install_metadata + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/nuon/models/service_create_app_sandbox_config_request.py b/nuon/models/service_create_app_sandbox_config_request.py index 6961c2c3..74b79c11 100644 --- a/nuon/models/service_create_app_sandbox_config_request.py +++ b/nuon/models/service_create_app_sandbox_config_request.py @@ -29,6 +29,7 @@ class ServiceCreateAppSandboxConfigRequest: variables (ServiceCreateAppSandboxConfigRequestVariables): app_config_id (Union[Unset, str]): connected_github_vcs_config (Union[Unset, ServiceConnectedGithubVCSSandboxConfigRequest]): + drift_schedule (Union[Unset, str]): public_git_vcs_config (Union[Unset, ServicePublicGitVCSSandboxConfigRequest]): variables_files (Union[Unset, list[str]]): """ @@ -38,6 +39,7 @@ class ServiceCreateAppSandboxConfigRequest: variables: "ServiceCreateAppSandboxConfigRequestVariables" app_config_id: Union[Unset, str] = UNSET connected_github_vcs_config: Union[Unset, "ServiceConnectedGithubVCSSandboxConfigRequest"] = UNSET + drift_schedule: Union[Unset, str] = UNSET public_git_vcs_config: Union[Unset, "ServicePublicGitVCSSandboxConfigRequest"] = UNSET variables_files: Union[Unset, list[str]] = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -55,6 +57,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.connected_github_vcs_config, Unset): connected_github_vcs_config = self.connected_github_vcs_config.to_dict() + drift_schedule = self.drift_schedule + public_git_vcs_config: Union[Unset, dict[str, Any]] = UNSET if not isinstance(self.public_git_vcs_config, Unset): public_git_vcs_config = self.public_git_vcs_config.to_dict() @@ -76,6 +80,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["app_config_id"] = app_config_id if connected_github_vcs_config is not UNSET: field_dict["connected_github_vcs_config"] = connected_github_vcs_config + if drift_schedule is not UNSET: + field_dict["drift_schedule"] = drift_schedule if public_git_vcs_config is not UNSET: field_dict["public_git_vcs_config"] = public_git_vcs_config if variables_files is not UNSET: @@ -114,6 +120,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: _connected_github_vcs_config ) + drift_schedule = d.pop("drift_schedule", UNSET) + _public_git_vcs_config = d.pop("public_git_vcs_config", UNSET) public_git_vcs_config: Union[Unset, ServicePublicGitVCSSandboxConfigRequest] if isinstance(_public_git_vcs_config, Unset): @@ -129,6 +137,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: variables=variables, app_config_id=app_config_id, connected_github_vcs_config=connected_github_vcs_config, + drift_schedule=drift_schedule, public_git_vcs_config=public_git_vcs_config, variables_files=variables_files, ) diff --git a/nuon/models/service_create_helm_component_config_request.py b/nuon/models/service_create_helm_component_config_request.py index f15b3598..e5f2e720 100644 --- a/nuon/models/service_create_helm_component_config_request.py +++ b/nuon/models/service_create_helm_component_config_request.py @@ -27,6 +27,7 @@ class ServiceCreateHelmComponentConfigRequest: checksum (Union[Unset, str]): connected_github_vcs_config (Union[Unset, ServiceConnectedGithubVCSConfigRequest]): dependencies (Union[Unset, list[str]]): + drift_schedule (Union[Unset, str]): namespace (Union[Unset, str]): public_git_vcs_config (Union[Unset, ServicePublicGitVCSConfigRequest]): references (Union[Unset, list[str]]): @@ -41,6 +42,7 @@ class ServiceCreateHelmComponentConfigRequest: checksum: Union[Unset, str] = UNSET connected_github_vcs_config: Union[Unset, "ServiceConnectedGithubVCSConfigRequest"] = UNSET dependencies: Union[Unset, list[str]] = UNSET + drift_schedule: Union[Unset, str] = UNSET namespace: Union[Unset, str] = UNSET public_git_vcs_config: Union[Unset, "ServicePublicGitVCSConfigRequest"] = UNSET references: Union[Unset, list[str]] = UNSET @@ -66,6 +68,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.dependencies, Unset): dependencies = self.dependencies + drift_schedule = self.drift_schedule + namespace = self.namespace public_git_vcs_config: Union[Unset, dict[str, Any]] = UNSET @@ -100,6 +104,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["connected_github_vcs_config"] = connected_github_vcs_config if dependencies is not UNSET: field_dict["dependencies"] = dependencies + if drift_schedule is not UNSET: + field_dict["drift_schedule"] = drift_schedule if namespace is not UNSET: field_dict["namespace"] = namespace if public_git_vcs_config is not UNSET: @@ -141,6 +147,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: dependencies = cast(list[str], d.pop("dependencies", UNSET)) + drift_schedule = d.pop("drift_schedule", UNSET) + namespace = d.pop("namespace", UNSET) _public_git_vcs_config = d.pop("public_git_vcs_config", UNSET) @@ -165,6 +173,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: checksum=checksum, connected_github_vcs_config=connected_github_vcs_config, dependencies=dependencies, + drift_schedule=drift_schedule, namespace=namespace, public_git_vcs_config=public_git_vcs_config, references=references, diff --git a/nuon/models/service_create_install_request.py b/nuon/models/service_create_install_request.py index 6a1ccd35..d6c6cabf 100644 --- a/nuon/models/service_create_install_request.py +++ b/nuon/models/service_create_install_request.py @@ -8,6 +8,7 @@ if TYPE_CHECKING: from ..models.helpers_create_install_config_params import HelpersCreateInstallConfigParams + from ..models.helpers_install_metadata import HelpersInstallMetadata from ..models.service_create_install_request_aws_account import ServiceCreateInstallRequestAwsAccount from ..models.service_create_install_request_azure_account import ServiceCreateInstallRequestAzureAccount from ..models.service_create_install_request_inputs import ServiceCreateInstallRequestInputs @@ -25,6 +26,7 @@ class ServiceCreateInstallRequest: azure_account (Union[Unset, ServiceCreateInstallRequestAzureAccount]): inputs (Union[Unset, ServiceCreateInstallRequestInputs]): install_config (Union[Unset, HelpersCreateInstallConfigParams]): + metadata (Union[Unset, HelpersInstallMetadata]): """ name: str @@ -32,6 +34,7 @@ class ServiceCreateInstallRequest: azure_account: Union[Unset, "ServiceCreateInstallRequestAzureAccount"] = UNSET inputs: Union[Unset, "ServiceCreateInstallRequestInputs"] = UNSET install_config: Union[Unset, "HelpersCreateInstallConfigParams"] = UNSET + metadata: Union[Unset, "HelpersInstallMetadata"] = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -53,6 +56,10 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.install_config, Unset): install_config = self.install_config.to_dict() + metadata: Union[Unset, dict[str, Any]] = UNSET + if not isinstance(self.metadata, Unset): + metadata = self.metadata.to_dict() + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -68,12 +75,15 @@ def to_dict(self) -> dict[str, Any]: field_dict["inputs"] = inputs if install_config is not UNSET: field_dict["install_config"] = install_config + if metadata is not UNSET: + field_dict["metadata"] = metadata return field_dict @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: from ..models.helpers_create_install_config_params import HelpersCreateInstallConfigParams + from ..models.helpers_install_metadata import HelpersInstallMetadata from ..models.service_create_install_request_aws_account import ServiceCreateInstallRequestAwsAccount from ..models.service_create_install_request_azure_account import ServiceCreateInstallRequestAzureAccount from ..models.service_create_install_request_inputs import ServiceCreateInstallRequestInputs @@ -109,12 +119,20 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: else: install_config = HelpersCreateInstallConfigParams.from_dict(_install_config) + _metadata = d.pop("metadata", UNSET) + metadata: Union[Unset, HelpersInstallMetadata] + if isinstance(_metadata, Unset): + metadata = UNSET + else: + metadata = HelpersInstallMetadata.from_dict(_metadata) + service_create_install_request = cls( name=name, aws_account=aws_account, azure_account=azure_account, inputs=inputs, install_config=install_config, + metadata=metadata, ) service_create_install_request.additional_properties = d diff --git a/nuon/models/service_create_kubernetes_manifest_component_config_request.py b/nuon/models/service_create_kubernetes_manifest_component_config_request.py index fc5ed464..4c7e2f45 100644 --- a/nuon/models/service_create_kubernetes_manifest_component_config_request.py +++ b/nuon/models/service_create_kubernetes_manifest_component_config_request.py @@ -16,6 +16,7 @@ class ServiceCreateKubernetesManifestComponentConfigRequest: app_config_id (Union[Unset, str]): checksum (Union[Unset, str]): dependencies (Union[Unset, list[str]]): + drift_schedule (Union[Unset, str]): manifest (Union[Unset, str]): namespace (Union[Unset, str]): references (Union[Unset, list[str]]): @@ -24,6 +25,7 @@ class ServiceCreateKubernetesManifestComponentConfigRequest: app_config_id: Union[Unset, str] = UNSET checksum: Union[Unset, str] = UNSET dependencies: Union[Unset, list[str]] = UNSET + drift_schedule: Union[Unset, str] = UNSET manifest: Union[Unset, str] = UNSET namespace: Union[Unset, str] = UNSET references: Union[Unset, list[str]] = UNSET @@ -38,6 +40,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.dependencies, Unset): dependencies = self.dependencies + drift_schedule = self.drift_schedule + manifest = self.manifest namespace = self.namespace @@ -55,6 +59,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["checksum"] = checksum if dependencies is not UNSET: field_dict["dependencies"] = dependencies + if drift_schedule is not UNSET: + field_dict["drift_schedule"] = drift_schedule if manifest is not UNSET: field_dict["manifest"] = manifest if namespace is not UNSET: @@ -73,6 +79,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: dependencies = cast(list[str], d.pop("dependencies", UNSET)) + drift_schedule = d.pop("drift_schedule", UNSET) + manifest = d.pop("manifest", UNSET) namespace = d.pop("namespace", UNSET) @@ -83,6 +91,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: app_config_id=app_config_id, checksum=checksum, dependencies=dependencies, + drift_schedule=drift_schedule, manifest=manifest, namespace=namespace, references=references, diff --git a/nuon/models/service_create_terraform_module_component_config_request.py b/nuon/models/service_create_terraform_module_component_config_request.py index 8239e431..7a6182a7 100644 --- a/nuon/models/service_create_terraform_module_component_config_request.py +++ b/nuon/models/service_create_terraform_module_component_config_request.py @@ -30,6 +30,7 @@ class ServiceCreateTerraformModuleComponentConfigRequest: checksum (Union[Unset, str]): connected_github_vcs_config (Union[Unset, ServiceConnectedGithubVCSConfigRequest]): dependencies (Union[Unset, list[str]]): + drift_schedule (Union[Unset, str]): public_git_vcs_config (Union[Unset, ServicePublicGitVCSConfigRequest]): references (Union[Unset, list[str]]): variables_files (Union[Unset, list[str]]): @@ -42,6 +43,7 @@ class ServiceCreateTerraformModuleComponentConfigRequest: checksum: Union[Unset, str] = UNSET connected_github_vcs_config: Union[Unset, "ServiceConnectedGithubVCSConfigRequest"] = UNSET dependencies: Union[Unset, list[str]] = UNSET + drift_schedule: Union[Unset, str] = UNSET public_git_vcs_config: Union[Unset, "ServicePublicGitVCSConfigRequest"] = UNSET references: Union[Unset, list[str]] = UNSET variables_files: Union[Unset, list[str]] = UNSET @@ -65,6 +67,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.dependencies, Unset): dependencies = self.dependencies + drift_schedule = self.drift_schedule + public_git_vcs_config: Union[Unset, dict[str, Any]] = UNSET if not isinstance(self.public_git_vcs_config, Unset): public_git_vcs_config = self.public_git_vcs_config.to_dict() @@ -95,6 +99,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["connected_github_vcs_config"] = connected_github_vcs_config if dependencies is not UNSET: field_dict["dependencies"] = dependencies + if drift_schedule is not UNSET: + field_dict["drift_schedule"] = drift_schedule if public_git_vcs_config is not UNSET: field_dict["public_git_vcs_config"] = public_git_vcs_config if references is not UNSET: @@ -135,6 +141,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: dependencies = cast(list[str], d.pop("dependencies", UNSET)) + drift_schedule = d.pop("drift_schedule", UNSET) + _public_git_vcs_config = d.pop("public_git_vcs_config", UNSET) public_git_vcs_config: Union[Unset, ServicePublicGitVCSConfigRequest] if isinstance(_public_git_vcs_config, Unset): @@ -155,6 +163,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: checksum=checksum, connected_github_vcs_config=connected_github_vcs_config, dependencies=dependencies, + drift_schedule=drift_schedule, public_git_vcs_config=public_git_vcs_config, references=references, variables_files=variables_files, diff --git a/nuon/models/service_update_install_request.py b/nuon/models/service_update_install_request.py index 30f00e43..728f2080 100644 --- a/nuon/models/service_update_install_request.py +++ b/nuon/models/service_update_install_request.py @@ -1,11 +1,15 @@ from collections.abc import Mapping -from typing import Any, TypeVar, Union +from typing import TYPE_CHECKING, Any, TypeVar, Union from attrs import define as _attrs_define from attrs import field as _attrs_field from ..types import UNSET, Unset +if TYPE_CHECKING: + from ..models.helpers_install_metadata import HelpersInstallMetadata + + T = TypeVar("T", bound="ServiceUpdateInstallRequest") @@ -13,18 +17,26 @@ class ServiceUpdateInstallRequest: """ Attributes: + metadata (Union[Unset, HelpersInstallMetadata]): name (Union[Unset, str]): """ + metadata: Union[Unset, "HelpersInstallMetadata"] = UNSET name: Union[Unset, str] = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + metadata: Union[Unset, dict[str, Any]] = UNSET + if not isinstance(self.metadata, Unset): + metadata = self.metadata.to_dict() + name = self.name field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) + if metadata is not UNSET: + field_dict["metadata"] = metadata if name is not UNSET: field_dict["name"] = name @@ -32,10 +44,20 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.helpers_install_metadata import HelpersInstallMetadata + d = dict(src_dict) + _metadata = d.pop("metadata", UNSET) + metadata: Union[Unset, HelpersInstallMetadata] + if isinstance(_metadata, Unset): + metadata = UNSET + else: + metadata = HelpersInstallMetadata.from_dict(_metadata) + name = d.pop("name", UNSET) service_update_install_request = cls( + metadata=metadata, name=name, ) diff --git a/pyproject.toml b/pyproject.toml index a77ff287..eca88daa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nuon" -version = "0.19.619" +version = "0.19.625" description = "A client library for accessing Nuon" authors = [] requires-python = "~=3.9" diff --git a/version.txt b/version.txt index 20fbb5a7..39136359 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.19.619 +0.19.625