Skip to content
Merged
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 robosystems_client/api/agent/auto_select_agent.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 Down Expand Up @@ -36,7 +37,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/graphs/{graph_id}/agent",
"url": "/v1/graphs/{graph_id}/agent".format(
graph_id=quote(str(graph_id), safe=""),
),
"params": params,
}

Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/agent/batch_process_queries.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 @@ -20,7 +21,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/graphs/{graph_id}/agent/batch",
"url": "/v1/graphs/{graph_id}/agent/batch".format(
graph_id=quote(str(graph_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
6 changes: 5 additions & 1 deletion robosystems_client/api/agent/execute_specific_agent.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 Down Expand Up @@ -37,7 +38,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/graphs/{graph_id}/agent/{agent_type}",
"url": "/v1/graphs/{graph_id}/agent/{agent_type}".format(
graph_id=quote(str(graph_id), safe=""),
agent_type=quote(str(agent_type), safe=""),
),
"params": params,
}

Expand Down
6 changes: 5 additions & 1 deletion robosystems_client/api/agent/get_agent_metadata.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 @@ -16,7 +17,10 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/graphs/{graph_id}/agent/{agent_type}",
"url": "/v1/graphs/{graph_id}/agent/{agent_type}".format(
graph_id=quote(str(graph_id), safe=""),
agent_type=quote(str(agent_type), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/agent/list_agents.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 Down Expand Up @@ -28,7 +29,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/graphs/{graph_id}/agent",
"url": "/v1/graphs/{graph_id}/agent".format(
graph_id=quote(str(graph_id), safe=""),
),
"params": params,
}

Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/agent/recommend_agent.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 @@ -20,7 +21,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/v1/graphs/{graph_id}/agent/recommend",
"url": "/v1/graphs/{graph_id}/agent/recommend".format(
graph_id=quote(str(graph_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/backup/create_backup.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/graphs/{graph_id}/backups",
"url": "/v1/graphs/{graph_id}/backups".format(
graph_id=quote(str(graph_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
6 changes: 5 additions & 1 deletion robosystems_client/api/backup/get_backup_download_url.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 @@ -24,7 +25,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/graphs/{graph_id}/backups/{backup_id}/download",
"url": "/v1/graphs/{graph_id}/backups/{backup_id}/download".format(
graph_id=quote(str(graph_id), safe=""),
backup_id=quote(str(backup_id), safe=""),
),
"params": params,
}

Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/backup/get_backup_stats.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/graphs/{graph_id}/backups/stats",
"url": "/v1/graphs/{graph_id}/backups/stats".format(
graph_id=quote(str(graph_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/backup/list_backups.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 @@ -26,7 +27,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/graphs/{graph_id}/backups",
"url": "/v1/graphs/{graph_id}/backups".format(
graph_id=quote(str(graph_id), safe=""),
),
"params": params,
}

Expand Down
6 changes: 5 additions & 1 deletion robosystems_client/api/backup/restore_backup.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/graphs/{graph_id}/backups/{backup_id}/restore",
"url": "/v1/graphs/{graph_id}/backups/{backup_id}/restore".format(
graph_id=quote(str(graph_id), safe=""),
backup_id=quote(str(backup_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
6 changes: 5 additions & 1 deletion robosystems_client/api/billing/cancel_org_subscription.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": "post",
"url": f"/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}/cancel",
"url": "/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}/cancel".format(
org_id=quote(str(org_id), safe=""),
subscription_id=quote(str(subscription_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/billing/create_portal_session.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/billing/customer/{org_id}/portal",
"url": "/v1/billing/customer/{org_id}/portal".format(
org_id=quote(str(org_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/billing/get_checkout_status.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/billing/checkout/{session_id}/status",
"url": "/v1/billing/checkout/{session_id}/status".format(
session_id=quote(str(session_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/billing/get_org_billing_customer.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/billing/customer/{org_id}",
"url": "/v1/billing/customer/{org_id}".format(
org_id=quote(str(org_id), safe=""),
),
}

return _kwargs
Expand Down
6 changes: 5 additions & 1 deletion robosystems_client/api/billing/get_org_subscription.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/billing/subscriptions/{org_id}/subscription/{subscription_id}",
"url": "/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}".format(
org_id=quote(str(org_id), safe=""),
subscription_id=quote(str(subscription_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/billing/get_org_upcoming_invoice.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 @@ -15,7 +16,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/billing/invoices/{org_id}/upcoming",
"url": "/v1/billing/invoices/{org_id}/upcoming".format(
org_id=quote(str(org_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/billing/list_org_invoices.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 @@ -23,7 +24,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/v1/billing/invoices/{org_id}",
"url": "/v1/billing/invoices/{org_id}".format(
org_id=quote(str(org_id), safe=""),
),
"params": params,
}

Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/billing/list_org_subscriptions.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/billing/subscriptions/{org_id}",
"url": "/v1/billing/subscriptions/{org_id}".format(
org_id=quote(str(org_id), safe=""),
),
}

return _kwargs
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/connections/create_connection.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,9 @@ def _get_kwargs(

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

_kwargs["json"] = body.to_dict()
Expand Down
5 changes: 4 additions & 1 deletion robosystems_client/api/connections/create_link_token.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/graphs/{graph_id}/connections/link/token",
"url": "/v1/graphs/{graph_id}/connections/link/token".format(
graph_id=quote(str(graph_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
Loading