Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion nuon/api/accounts/complete_user_journey.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -15,7 +16,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/account/user-journeys/{journey_name}/complete",
"url": "/v1/account/user-journeys/{journey_name}/complete".format(
journey_name=quote(str(journey_name), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/accounts/reset_user_journey.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -15,7 +16,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/account/user-journeys/{journey_name}/reset",
"url": "/v1/account/user-journeys/{journey_name}/reset".format(
journey_name=quote(str(journey_name), safe=""),
),
}

return _kwargs
Expand Down
6 changes: 5 additions & 1 deletion nuon/api/accounts/update_user_journey_step.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -21,7 +22,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "patch",
"url": f"/v1/account/user-journeys/{journey_name}/steps/{step_name}",
"url": "/v1/account/user-journeys/{journey_name}/steps/{step_name}".format(
journey_name=quote(str(journey_name), safe=""),
step_name=quote(str(step_name), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
6 changes: 5 additions & 1 deletion nuon/api/actions/create_action_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -21,7 +22,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/apps/{app_id}/actions/{action_id}/configs",
"url": "/v1/apps/{app_id}/actions/{action_id}/configs".format(
app_id=quote(str(app_id), safe=""),
action_id=quote(str(action_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/create_action_workflow_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -20,7 +21,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/action-workflows/{action_workflow_id}/configs",
"url": "/v1/action-workflows/{action_workflow_id}/configs".format(
action_workflow_id=quote(str(action_workflow_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/create_app_action.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -20,7 +21,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/apps/{app_id}/actions",
"url": "/v1/apps/{app_id}/actions".format(
app_id=quote(str(app_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/create_app_action_workflow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -20,7 +21,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/apps/{app_id}/action-workflows",
"url": "/v1/apps/{app_id}/action-workflows".format(
app_id=quote(str(app_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
25 changes: 12 additions & 13 deletions nuon/api/actions/create_install_action_run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any, cast
from urllib.parse import quote

import httpx

Expand All @@ -19,7 +20,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/installs/{install_id}/actions/runs",
"url": "/v1/installs/{install_id}/actions/runs".format(
install_id=quote(str(install_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down Expand Up @@ -85,10 +88,9 @@ def sync_detailed(
client: AuthenticatedClient,
body: ServiceCreateInstallActionWorkflowRunRequest,
) -> Response[StderrErrResponse | str]:
"""create an action workflow run for an install
"""create an action run for an install


AppWorkflowConfigId param has been deprecated and is no longer being consumed, the api uses
currently install id to lookup related appworkflowconfigId

Args:
install_id (str):
Expand Down Expand Up @@ -120,10 +122,9 @@ def sync(
client: AuthenticatedClient,
body: ServiceCreateInstallActionWorkflowRunRequest,
) -> StderrErrResponse | str | None:
"""create an action workflow run for an install
"""create an action run for an install


AppWorkflowConfigId param has been deprecated and is no longer being consumed, the api uses
currently install id to lookup related appworkflowconfigId

Args:
install_id (str):
Expand All @@ -150,10 +151,9 @@ async def asyncio_detailed(
client: AuthenticatedClient,
body: ServiceCreateInstallActionWorkflowRunRequest,
) -> Response[StderrErrResponse | str]:
"""create an action workflow run for an install
"""create an action run for an install


AppWorkflowConfigId param has been deprecated and is no longer being consumed, the api uses
currently install id to lookup related appworkflowconfigId

Args:
install_id (str):
Expand Down Expand Up @@ -183,10 +183,9 @@ async def asyncio(
client: AuthenticatedClient,
body: ServiceCreateInstallActionWorkflowRunRequest,
) -> StderrErrResponse | str | None:
"""create an action workflow run for an install
"""create an action run for an install


AppWorkflowConfigId param has been deprecated and is no longer being consumed, the api uses
currently install id to lookup related appworkflowconfigId

Args:
install_id (str):
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/create_install_action_workflow_run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any, cast
from urllib.parse import quote

import httpx

Expand All @@ -19,7 +20,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/installs/{install_id}/action-workflows/runs",
"url": "/v1/installs/{install_id}/action-workflows/runs".format(
install_id=quote(str(install_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/delete_action.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any, cast
from urllib.parse import quote

import httpx

Expand All @@ -14,7 +15,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/v1/actions/{action_id}",
"url": "/v1/actions/{action_id}".format(
action_id=quote(str(action_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/delete_action_workflow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any, cast
from urllib.parse import quote

import httpx

Expand All @@ -14,7 +15,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/v1/action-workflows/{action_workflow_id}",
"url": "/v1/action-workflows/{action_workflow_id}".format(
action_workflow_id=quote(str(action_workflow_id), safe=""),
),
}

return _kwargs
Expand Down
6 changes: 5 additions & 1 deletion nuon/api/actions/get_action_latest_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -16,7 +17,10 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/apps/{app_id}/actions/{action_id}/latest-config",
"url": "/v1/apps/{app_id}/actions/{action_id}/latest-config".format(
app_id=quote(str(app_id), safe=""),
action_id=quote(str(action_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/get_action_workflow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -15,7 +16,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/action-workflows/{action_workflow_id}",
"url": "/v1/action-workflows/{action_workflow_id}".format(
action_workflow_id=quote(str(action_workflow_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/get_action_workflow_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -15,7 +16,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/action-workflows/configs/{action_workflow_config_id}",
"url": "/v1/action-workflows/configs/{action_workflow_config_id}".format(
action_workflow_config_id=quote(str(action_workflow_config_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/get_action_workflow_configs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand Down Expand Up @@ -29,7 +30,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/action-workflows/{action_workflow_id}/configs",
"url": "/v1/action-workflows/{action_workflow_id}/configs".format(
action_workflow_id=quote(str(action_workflow_id), safe=""),
),
"params": params,
}

Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/get_action_workflow_latest_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -15,7 +16,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/action-workflows/{action_workflow_id}/latest-config",
"url": "/v1/action-workflows/{action_workflow_id}/latest-config".format(
action_workflow_id=quote(str(action_workflow_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion nuon/api/actions/get_action_workflows.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand Down Expand Up @@ -32,7 +33,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/apps/{app_id}/action-workflows",
"url": "/v1/apps/{app_id}/action-workflows".format(
app_id=quote(str(app_id), safe=""),
),
"params": params,
}

Expand Down
6 changes: 5 additions & 1 deletion nuon/api/actions/get_app_action.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -16,7 +17,10 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/apps/{app_id}/actions/{action_id}",
"url": "/v1/apps/{app_id}/actions/{action_id}".format(
app_id=quote(str(app_id), safe=""),
action_id=quote(str(action_id), safe=""),
),
}

return _kwargs
Expand Down
7 changes: 6 additions & 1 deletion nuon/api/actions/get_app_action_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -17,7 +18,11 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/apps/{app_id}/actions/{action_id}/configs/{action_config_id}",
"url": "/v1/apps/{app_id}/actions/{action_id}/configs/{action_config_id}".format(
app_id=quote(str(app_id), safe=""),
action_id=quote(str(action_id), safe=""),
action_config_id=quote(str(action_config_id), safe=""),
),
}

return _kwargs
Expand Down
Loading
Loading