From eae31fdd0e02b8d37fcb239971a19eda23535976 Mon Sep 17 00:00:00 2001 From: khaledosman <2937633+khaledosman@users.noreply.github.com> Date: Fri, 11 Sep 2026 10:08:00 +0000 Subject: [PATCH] chore: regenerate SDK client core from Otari OpenAPI spec --- sdk-endpoints.txt | 1 + src/otari/_client/__init__.py | 6 + src/otari/_client/api/admin_api.py | 42 +-- src/otari/_client/api/agent_telemetry_api.py | 56 ++-- src/otari/_client/api/aliases_api.py | 84 ++--- src/otari/_client/api/audio_api.py | 28 +- src/otari/_client/api/auth_api.py | 238 +++++++------- src/otari/_client/api/batches_api.py | 70 ++--- src/otari/_client/api/bootstrap_api.py | 14 +- src/otari/_client/api/budgets_api.py | 84 ++--- src/otari/_client/api/chat_api.py | 14 +- src/otari/_client/api/embeddings_api.py | 14 +- src/otari/_client/api/files_api.py | 70 ++--- src/otari/_client/api/health_api.py | 42 +-- src/otari/_client/api/images_api.py | 14 +- src/otari/_client/api/invitations_api.py | 28 +- src/otari/_client/api/keys_api.py | 84 ++--- src/otari/_client/api/mcp_api.py | 28 +- src/otari/_client/api/mcp_servers_api.py | 56 ++-- src/otari/_client/api/messages_api.py | 28 +- src/otari/_client/api/models_api.py | 56 ++-- src/otari/_client/api/moderations_api.py | 14 +- .../_client/api/organization_budgets_api.py | 112 +++---- .../api/organization_guardrails_api.py | 56 ++-- .../_client/api/organization_keys_api.py | 70 ++--- .../_client/api/organization_pricing_api.py | 56 ++-- .../_client/api/organization_usage_api.py | 56 ++-- src/otari/_client/api/organizations_api.py | 266 ++++++++-------- src/otari/_client/api/otel_api.py | 42 +-- src/otari/_client/api/pricing_api.py | 112 +++---- src/otari/_client/api/provider_keys_api.py | 182 +++++------ src/otari/_client/api/providers_api.py | 154 +++++----- src/otari/_client/api/rerank_api.py | 14 +- src/otari/_client/api/responses_api.py | 14 +- src/otari/_client/api/routing_api.py | 126 ++++---- src/otari/_client/api/scoped_budgets_api.py | 70 ++--- src/otari/_client/api/search_api.py | 28 +- src/otari/_client/api/search_tools_api.py | 84 ++--- src/otari/_client/api/settings_api.py | 98 +++--- src/otari/_client/api/tool_settings_api.py | 290 ++++++++++++++++-- src/otari/_client/api/tools_api.py | 14 +- src/otari/_client/api/usage_api.py | 112 +++---- src/otari/_client/api/users_api.py | 84 ++--- src/otari/_client/api/web_search_api.py | 14 +- .../_client/api/workspace_activation_api.py | 42 +-- .../workspace_code_execution_policy_api.py | 42 +-- .../workspace_member_budget_policies_api.py | 56 ++-- .../_client/api/workspace_web_search_api.py | 42 +-- src/otari/_client/api/workspaces_api.py | 126 ++++---- src/otari/_client/models/__init__.py | 3 + src/otari/_client/models/guardrail_catalog.py | 105 +++++++ .../models/guardrail_parameter_spec.py | 122 ++++++++ .../_client/models/guardrail_profile_spec.py | 109 +++++++ .../models/organization_guardrail_public.py | 2 +- .../models/organization_guardrail_update.py | 2 +- 55 files changed, 2185 insertions(+), 1591 deletions(-) create mode 100644 src/otari/_client/models/guardrail_catalog.py create mode 100644 src/otari/_client/models/guardrail_parameter_spec.py create mode 100644 src/otari/_client/models/guardrail_profile_spec.py diff --git a/sdk-endpoints.txt b/sdk-endpoints.txt index 259557e9..877cd53b 100644 --- a/sdk-endpoints.txt +++ b/sdk-endpoints.txt @@ -189,6 +189,7 @@ GET /api/v1/tools # not yet wrapped GET /api/v1/tool-settings # not yet wrapped PATCH /api/v1/tool-settings # not yet wrapped POST /api/v1/tool-settings/{service}/test # not yet wrapped +GET /api/v1/tool-settings/guardrails/profiles # not yet wrapped POST /api/v1/search # not yet wrapped POST /api/v1/search/{search_tool_name} # not yet wrapped # Search tools (runtime search-tool management) diff --git a/src/otari/_client/__init__.py b/src/otari/_client/__init__.py index 3b04570b..bfea9472 100644 --- a/src/otari/_client/__init__.py +++ b/src/otari/_client/__init__.py @@ -210,7 +210,10 @@ "ExternalIngestResult", "ExternalUsageEvent", "GatewaySettings", + "GuardrailCatalog", "GuardrailConfig", + "GuardrailParameterSpec", + "GuardrailProfileSpec", "HTTPValidationError", "IMGImage", "IMGUsage", @@ -765,7 +768,10 @@ from otari._client.models.external_ingest_result import ExternalIngestResult as ExternalIngestResult from otari._client.models.external_usage_event import ExternalUsageEvent as ExternalUsageEvent from otari._client.models.gateway_settings import GatewaySettings as GatewaySettings +from otari._client.models.guardrail_catalog import GuardrailCatalog as GuardrailCatalog from otari._client.models.guardrail_config import GuardrailConfig as GuardrailConfig +from otari._client.models.guardrail_parameter_spec import GuardrailParameterSpec as GuardrailParameterSpec +from otari._client.models.guardrail_profile_spec import GuardrailProfileSpec as GuardrailProfileSpec from otari._client.models.http_validation_error import HTTPValidationError as HTTPValidationError from otari._client.models.img_image import IMGImage as IMGImage from otari._client.models.img_usage import IMGUsage as IMGUsage diff --git a/src/otari/_client/api/admin_api.py b/src/otari/_client/api/admin_api.py index 43eea6f0..6c78fa85 100644 --- a/src/otari/_client/api/admin_api.py +++ b/src/otari/_client/api/admin_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def get_administration_access_api_v1_admin_access_get( + def admin_get_administration_access( self, _request_timeout: Union[ None, @@ -84,7 +84,7 @@ def get_administration_access_api_v1_admin_access_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_administration_access_api_v1_admin_access_get_serialize( + _param = self._admin_get_administration_access_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106,7 +106,7 @@ def get_administration_access_api_v1_admin_access_get( @validate_call - def get_administration_access_api_v1_admin_access_get_with_http_info( + def admin_get_administration_access_with_http_info( self, _request_timeout: Union[ None, @@ -147,7 +147,7 @@ def get_administration_access_api_v1_admin_access_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_administration_access_api_v1_admin_access_get_serialize( + _param = self._admin_get_administration_access_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -169,7 +169,7 @@ def get_administration_access_api_v1_admin_access_get_with_http_info( @validate_call - def get_administration_access_api_v1_admin_access_get_without_preload_content( + def admin_get_administration_access_without_preload_content( self, _request_timeout: Union[ None, @@ -210,7 +210,7 @@ def get_administration_access_api_v1_admin_access_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_administration_access_api_v1_admin_access_get_serialize( + _param = self._admin_get_administration_access_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -227,7 +227,7 @@ def get_administration_access_api_v1_admin_access_get_without_preload_content( return response_data.response - def _get_administration_access_api_v1_admin_access_get_serialize( + def _admin_get_administration_access_serialize( self, _request_auth, _content_type, @@ -290,7 +290,7 @@ def _get_administration_access_api_v1_admin_access_get_serialize( @validate_call - def list_deployment_users_api_v1_admin_users_get( + def admin_list_deployment_users( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -337,7 +337,7 @@ def list_deployment_users_api_v1_admin_users_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_deployment_users_api_v1_admin_users_get_serialize( + _param = self._admin_list_deployment_users_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -362,7 +362,7 @@ def list_deployment_users_api_v1_admin_users_get( @validate_call - def list_deployment_users_api_v1_admin_users_get_with_http_info( + def admin_list_deployment_users_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -409,7 +409,7 @@ def list_deployment_users_api_v1_admin_users_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_deployment_users_api_v1_admin_users_get_serialize( + _param = self._admin_list_deployment_users_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -434,7 +434,7 @@ def list_deployment_users_api_v1_admin_users_get_with_http_info( @validate_call - def list_deployment_users_api_v1_admin_users_get_without_preload_content( + def admin_list_deployment_users_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -481,7 +481,7 @@ def list_deployment_users_api_v1_admin_users_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_deployment_users_api_v1_admin_users_get_serialize( + _param = self._admin_list_deployment_users_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -501,7 +501,7 @@ def list_deployment_users_api_v1_admin_users_get_without_preload_content( return response_data.response - def _list_deployment_users_api_v1_admin_users_get_serialize( + def _admin_list_deployment_users_serialize( self, skip, limit, @@ -574,7 +574,7 @@ def _list_deployment_users_api_v1_admin_users_get_serialize( @validate_call - def update_deployment_user_api_v1_admin_users_user_id_patch( + def admin_update_deployment_user( self, user_id: UUID, deployment_user_update_request: DeploymentUserUpdateRequest, @@ -621,7 +621,7 @@ def update_deployment_user_api_v1_admin_users_user_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_deployment_user_api_v1_admin_users_user_id_patch_serialize( + _param = self._admin_update_deployment_user_serialize( user_id=user_id, deployment_user_update_request=deployment_user_update_request, _request_auth=_request_auth, @@ -646,7 +646,7 @@ def update_deployment_user_api_v1_admin_users_user_id_patch( @validate_call - def update_deployment_user_api_v1_admin_users_user_id_patch_with_http_info( + def admin_update_deployment_user_with_http_info( self, user_id: UUID, deployment_user_update_request: DeploymentUserUpdateRequest, @@ -693,7 +693,7 @@ def update_deployment_user_api_v1_admin_users_user_id_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_deployment_user_api_v1_admin_users_user_id_patch_serialize( + _param = self._admin_update_deployment_user_serialize( user_id=user_id, deployment_user_update_request=deployment_user_update_request, _request_auth=_request_auth, @@ -718,7 +718,7 @@ def update_deployment_user_api_v1_admin_users_user_id_patch_with_http_info( @validate_call - def update_deployment_user_api_v1_admin_users_user_id_patch_without_preload_content( + def admin_update_deployment_user_without_preload_content( self, user_id: UUID, deployment_user_update_request: DeploymentUserUpdateRequest, @@ -765,7 +765,7 @@ def update_deployment_user_api_v1_admin_users_user_id_patch_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._update_deployment_user_api_v1_admin_users_user_id_patch_serialize( + _param = self._admin_update_deployment_user_serialize( user_id=user_id, deployment_user_update_request=deployment_user_update_request, _request_auth=_request_auth, @@ -785,7 +785,7 @@ def update_deployment_user_api_v1_admin_users_user_id_patch_without_preload_cont return response_data.response - def _update_deployment_user_api_v1_admin_users_user_id_patch_serialize( + def _admin_update_deployment_user_serialize( self, user_id, deployment_user_update_request, diff --git a/src/otari/_client/api/agent_telemetry_api.py b/src/otari/_client/api/agent_telemetry_api.py index 810142fa..4ecd9d29 100644 --- a/src/otari/_client/api/agent_telemetry_api.py +++ b/src/otari/_client/api/agent_telemetry_api.py @@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def agent_telemetry_series_api_v1_agent_telemetry_series_get( + def agent_telemetry_agent_telemetry_series( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -106,7 +106,7 @@ def agent_telemetry_series_api_v1_agent_telemetry_series_get( :return: Returns the result object. """ # noqa: E501 - _param = self._agent_telemetry_series_api_v1_agent_telemetry_series_get_serialize( + _param = self._agent_telemetry_agent_telemetry_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -136,7 +136,7 @@ def agent_telemetry_series_api_v1_agent_telemetry_series_get( @validate_call - def agent_telemetry_series_api_v1_agent_telemetry_series_get_with_http_info( + def agent_telemetry_agent_telemetry_series_with_http_info( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -198,7 +198,7 @@ def agent_telemetry_series_api_v1_agent_telemetry_series_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._agent_telemetry_series_api_v1_agent_telemetry_series_get_serialize( + _param = self._agent_telemetry_agent_telemetry_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -228,7 +228,7 @@ def agent_telemetry_series_api_v1_agent_telemetry_series_get_with_http_info( @validate_call - def agent_telemetry_series_api_v1_agent_telemetry_series_get_without_preload_content( + def agent_telemetry_agent_telemetry_series_without_preload_content( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -290,7 +290,7 @@ def agent_telemetry_series_api_v1_agent_telemetry_series_get_without_preload_con :return: Returns the result object. """ # noqa: E501 - _param = self._agent_telemetry_series_api_v1_agent_telemetry_series_get_serialize( + _param = self._agent_telemetry_agent_telemetry_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -315,7 +315,7 @@ def agent_telemetry_series_api_v1_agent_telemetry_series_get_without_preload_con return response_data.response - def _agent_telemetry_series_api_v1_agent_telemetry_series_get_serialize( + def _agent_telemetry_agent_telemetry_series_serialize( self, group_by, start_date, @@ -433,7 +433,7 @@ def _agent_telemetry_series_api_v1_agent_telemetry_series_get_serialize( @validate_call - def agent_telemetry_summary_api_v1_agent_telemetry_summary_get( + def agent_telemetry_agent_telemetry_summary( self, start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -492,7 +492,7 @@ def agent_telemetry_summary_api_v1_agent_telemetry_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._agent_telemetry_summary_api_v1_agent_telemetry_summary_get_serialize( + _param = self._agent_telemetry_agent_telemetry_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -521,7 +521,7 @@ def agent_telemetry_summary_api_v1_agent_telemetry_summary_get( @validate_call - def agent_telemetry_summary_api_v1_agent_telemetry_summary_get_with_http_info( + def agent_telemetry_agent_telemetry_summary_with_http_info( self, start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -580,7 +580,7 @@ def agent_telemetry_summary_api_v1_agent_telemetry_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._agent_telemetry_summary_api_v1_agent_telemetry_summary_get_serialize( + _param = self._agent_telemetry_agent_telemetry_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -609,7 +609,7 @@ def agent_telemetry_summary_api_v1_agent_telemetry_summary_get_with_http_info( @validate_call - def agent_telemetry_summary_api_v1_agent_telemetry_summary_get_without_preload_content( + def agent_telemetry_agent_telemetry_summary_without_preload_content( self, start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -668,7 +668,7 @@ def agent_telemetry_summary_api_v1_agent_telemetry_summary_get_without_preload_c :return: Returns the result object. """ # noqa: E501 - _param = self._agent_telemetry_summary_api_v1_agent_telemetry_summary_get_serialize( + _param = self._agent_telemetry_agent_telemetry_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -692,7 +692,7 @@ def agent_telemetry_summary_api_v1_agent_telemetry_summary_get_without_preload_c return response_data.response - def _agent_telemetry_summary_api_v1_agent_telemetry_summary_get_serialize( + def _agent_telemetry_agent_telemetry_summary_serialize( self, start_date, end_date, @@ -805,7 +805,7 @@ def _agent_telemetry_summary_api_v1_agent_telemetry_summary_get_serialize( @validate_call - def count_agent_telemetry_api_v1_agent_telemetry_count_get( + def agent_telemetry_count_agent_telemetry( self, start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -861,7 +861,7 @@ def count_agent_telemetry_api_v1_agent_telemetry_count_get( :return: Returns the result object. """ # noqa: E501 - _param = self._count_agent_telemetry_api_v1_agent_telemetry_count_get_serialize( + _param = self._agent_telemetry_count_agent_telemetry_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -889,7 +889,7 @@ def count_agent_telemetry_api_v1_agent_telemetry_count_get( @validate_call - def count_agent_telemetry_api_v1_agent_telemetry_count_get_with_http_info( + def agent_telemetry_count_agent_telemetry_with_http_info( self, start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -945,7 +945,7 @@ def count_agent_telemetry_api_v1_agent_telemetry_count_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._count_agent_telemetry_api_v1_agent_telemetry_count_get_serialize( + _param = self._agent_telemetry_count_agent_telemetry_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -973,7 +973,7 @@ def count_agent_telemetry_api_v1_agent_telemetry_count_get_with_http_info( @validate_call - def count_agent_telemetry_api_v1_agent_telemetry_count_get_without_preload_content( + def agent_telemetry_count_agent_telemetry_without_preload_content( self, start_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return rows with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1029,7 +1029,7 @@ def count_agent_telemetry_api_v1_agent_telemetry_count_get_without_preload_conte :return: Returns the result object. """ # noqa: E501 - _param = self._count_agent_telemetry_api_v1_agent_telemetry_count_get_serialize( + _param = self._agent_telemetry_count_agent_telemetry_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -1052,7 +1052,7 @@ def count_agent_telemetry_api_v1_agent_telemetry_count_get_without_preload_conte return response_data.response - def _count_agent_telemetry_api_v1_agent_telemetry_count_get_serialize( + def _agent_telemetry_count_agent_telemetry_serialize( self, start_date, end_date, @@ -1160,7 +1160,7 @@ def _count_agent_telemetry_api_v1_agent_telemetry_count_get_serialize( @validate_call - def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete( + def agent_telemetry_delete_agent_telemetry_rows( self, agent_telemetry_delete_request: AgentTelemetryDeleteRequest, _request_timeout: Union[ @@ -1204,7 +1204,7 @@ def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_serialize( + _param = self._agent_telemetry_delete_agent_telemetry_rows_serialize( agent_telemetry_delete_request=agent_telemetry_delete_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1228,7 +1228,7 @@ def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete( @validate_call - def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_with_http_info( + def agent_telemetry_delete_agent_telemetry_rows_with_http_info( self, agent_telemetry_delete_request: AgentTelemetryDeleteRequest, _request_timeout: Union[ @@ -1272,7 +1272,7 @@ def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_serialize( + _param = self._agent_telemetry_delete_agent_telemetry_rows_serialize( agent_telemetry_delete_request=agent_telemetry_delete_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1296,7 +1296,7 @@ def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_with_http_info( @validate_call - def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_without_preload_content( + def agent_telemetry_delete_agent_telemetry_rows_without_preload_content( self, agent_telemetry_delete_request: AgentTelemetryDeleteRequest, _request_timeout: Union[ @@ -1340,7 +1340,7 @@ def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_serialize( + _param = self._agent_telemetry_delete_agent_telemetry_rows_serialize( agent_telemetry_delete_request=agent_telemetry_delete_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1359,7 +1359,7 @@ def delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_without_preload_co return response_data.response - def _delete_agent_telemetry_rows_api_v1_agent_telemetry_delete_serialize( + def _agent_telemetry_delete_agent_telemetry_rows_serialize( self, agent_telemetry_delete_request, _request_auth, diff --git a/src/otari/_client/api/aliases_api.py b/src/otari/_client/api/aliases_api.py index 83a5ad20..469c5b99 100644 --- a/src/otari/_client/api/aliases_api.py +++ b/src/otari/_client/api/aliases_api.py @@ -41,7 +41,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def delete_alias_api_v1_aliases_name_delete( + def aliases_delete_alias( self, name: StrictStr, user_id: Annotated[Optional[StrictStr], Field(description="Delete the alias scoped to this user. Omit to delete the workspace-wide alias of that name.")] = None, @@ -91,7 +91,7 @@ def delete_alias_api_v1_aliases_name_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_alias_api_v1_aliases_name_delete_serialize( + _param = self._aliases_delete_alias_serialize( name=name, user_id=user_id, workspace_id=workspace_id, @@ -117,7 +117,7 @@ def delete_alias_api_v1_aliases_name_delete( @validate_call - def delete_alias_api_v1_aliases_name_delete_with_http_info( + def aliases_delete_alias_with_http_info( self, name: StrictStr, user_id: Annotated[Optional[StrictStr], Field(description="Delete the alias scoped to this user. Omit to delete the workspace-wide alias of that name.")] = None, @@ -167,7 +167,7 @@ def delete_alias_api_v1_aliases_name_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_alias_api_v1_aliases_name_delete_serialize( + _param = self._aliases_delete_alias_serialize( name=name, user_id=user_id, workspace_id=workspace_id, @@ -193,7 +193,7 @@ def delete_alias_api_v1_aliases_name_delete_with_http_info( @validate_call - def delete_alias_api_v1_aliases_name_delete_without_preload_content( + def aliases_delete_alias_without_preload_content( self, name: StrictStr, user_id: Annotated[Optional[StrictStr], Field(description="Delete the alias scoped to this user. Omit to delete the workspace-wide alias of that name.")] = None, @@ -243,7 +243,7 @@ def delete_alias_api_v1_aliases_name_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_alias_api_v1_aliases_name_delete_serialize( + _param = self._aliases_delete_alias_serialize( name=name, user_id=user_id, workspace_id=workspace_id, @@ -264,7 +264,7 @@ def delete_alias_api_v1_aliases_name_delete_without_preload_content( return response_data.response - def _delete_alias_api_v1_aliases_name_delete_serialize( + def _aliases_delete_alias_serialize( self, name, user_id, @@ -340,7 +340,7 @@ def _delete_alias_api_v1_aliases_name_delete_serialize( @validate_call - def delete_organization_alias_api_v1_organizations_me_aliases_name_delete( + def aliases_delete_organization_alias( self, name: StrictStr, workspace_id: Annotated[Optional[UUID], Field(description="Delete the alias in this workspace of the caller's organization.")] = None, @@ -387,7 +387,7 @@ def delete_organization_alias_api_v1_organizations_me_aliases_name_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_alias_api_v1_organizations_me_aliases_name_delete_serialize( + _param = self._aliases_delete_organization_alias_serialize( name=name, workspace_id=workspace_id, _request_auth=_request_auth, @@ -412,7 +412,7 @@ def delete_organization_alias_api_v1_organizations_me_aliases_name_delete( @validate_call - def delete_organization_alias_api_v1_organizations_me_aliases_name_delete_with_http_info( + def aliases_delete_organization_alias_with_http_info( self, name: StrictStr, workspace_id: Annotated[Optional[UUID], Field(description="Delete the alias in this workspace of the caller's organization.")] = None, @@ -459,7 +459,7 @@ def delete_organization_alias_api_v1_organizations_me_aliases_name_delete_with_h :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_alias_api_v1_organizations_me_aliases_name_delete_serialize( + _param = self._aliases_delete_organization_alias_serialize( name=name, workspace_id=workspace_id, _request_auth=_request_auth, @@ -484,7 +484,7 @@ def delete_organization_alias_api_v1_organizations_me_aliases_name_delete_with_h @validate_call - def delete_organization_alias_api_v1_organizations_me_aliases_name_delete_without_preload_content( + def aliases_delete_organization_alias_without_preload_content( self, name: StrictStr, workspace_id: Annotated[Optional[UUID], Field(description="Delete the alias in this workspace of the caller's organization.")] = None, @@ -531,7 +531,7 @@ def delete_organization_alias_api_v1_organizations_me_aliases_name_delete_withou :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_alias_api_v1_organizations_me_aliases_name_delete_serialize( + _param = self._aliases_delete_organization_alias_serialize( name=name, workspace_id=workspace_id, _request_auth=_request_auth, @@ -551,7 +551,7 @@ def delete_organization_alias_api_v1_organizations_me_aliases_name_delete_withou return response_data.response - def _delete_organization_alias_api_v1_organizations_me_aliases_name_delete_serialize( + def _aliases_delete_organization_alias_serialize( self, name, workspace_id, @@ -622,7 +622,7 @@ def _delete_organization_alias_api_v1_organizations_me_aliases_name_delete_seria @validate_call - def list_aliases_api_v1_aliases_get( + def aliases_list_aliases( self, workspace_id: Annotated[Optional[UUID], Field(description="Only stored entries in this workspace. Config-file entries are always included, being deployment-wide. Omit to list the stored entries of every workspace.")] = None, _request_timeout: Union[ @@ -666,7 +666,7 @@ def list_aliases_api_v1_aliases_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_aliases_api_v1_aliases_get_serialize( + _param = self._aliases_list_aliases_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -690,7 +690,7 @@ def list_aliases_api_v1_aliases_get( @validate_call - def list_aliases_api_v1_aliases_get_with_http_info( + def aliases_list_aliases_with_http_info( self, workspace_id: Annotated[Optional[UUID], Field(description="Only stored entries in this workspace. Config-file entries are always included, being deployment-wide. Omit to list the stored entries of every workspace.")] = None, _request_timeout: Union[ @@ -734,7 +734,7 @@ def list_aliases_api_v1_aliases_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_aliases_api_v1_aliases_get_serialize( + _param = self._aliases_list_aliases_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -758,7 +758,7 @@ def list_aliases_api_v1_aliases_get_with_http_info( @validate_call - def list_aliases_api_v1_aliases_get_without_preload_content( + def aliases_list_aliases_without_preload_content( self, workspace_id: Annotated[Optional[UUID], Field(description="Only stored entries in this workspace. Config-file entries are always included, being deployment-wide. Omit to list the stored entries of every workspace.")] = None, _request_timeout: Union[ @@ -802,7 +802,7 @@ def list_aliases_api_v1_aliases_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_aliases_api_v1_aliases_get_serialize( + _param = self._aliases_list_aliases_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -821,7 +821,7 @@ def list_aliases_api_v1_aliases_get_without_preload_content( return response_data.response - def _list_aliases_api_v1_aliases_get_serialize( + def _aliases_list_aliases_serialize( self, workspace_id, _request_auth, @@ -889,7 +889,7 @@ def _list_aliases_api_v1_aliases_get_serialize( @validate_call - def list_visible_aliases_api_v1_organizations_me_aliases_get( + def aliases_list_visible_aliases( self, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum entries to return, stored and config-file together.")] = None, _request_timeout: Union[ @@ -933,7 +933,7 @@ def list_visible_aliases_api_v1_organizations_me_aliases_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_visible_aliases_api_v1_organizations_me_aliases_get_serialize( + _param = self._aliases_list_visible_aliases_serialize( limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -957,7 +957,7 @@ def list_visible_aliases_api_v1_organizations_me_aliases_get( @validate_call - def list_visible_aliases_api_v1_organizations_me_aliases_get_with_http_info( + def aliases_list_visible_aliases_with_http_info( self, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum entries to return, stored and config-file together.")] = None, _request_timeout: Union[ @@ -1001,7 +1001,7 @@ def list_visible_aliases_api_v1_organizations_me_aliases_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_visible_aliases_api_v1_organizations_me_aliases_get_serialize( + _param = self._aliases_list_visible_aliases_serialize( limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -1025,7 +1025,7 @@ def list_visible_aliases_api_v1_organizations_me_aliases_get_with_http_info( @validate_call - def list_visible_aliases_api_v1_organizations_me_aliases_get_without_preload_content( + def aliases_list_visible_aliases_without_preload_content( self, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum entries to return, stored and config-file together.")] = None, _request_timeout: Union[ @@ -1069,7 +1069,7 @@ def list_visible_aliases_api_v1_organizations_me_aliases_get_without_preload_con :return: Returns the result object. """ # noqa: E501 - _param = self._list_visible_aliases_api_v1_organizations_me_aliases_get_serialize( + _param = self._aliases_list_visible_aliases_serialize( limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -1088,7 +1088,7 @@ def list_visible_aliases_api_v1_organizations_me_aliases_get_without_preload_con return response_data.response - def _list_visible_aliases_api_v1_organizations_me_aliases_get_serialize( + def _aliases_list_visible_aliases_serialize( self, limit, _request_auth, @@ -1156,7 +1156,7 @@ def _list_visible_aliases_api_v1_organizations_me_aliases_get_serialize( @validate_call - def set_alias_api_v1_aliases_post( + def aliases_set_alias( self, alias_request: AliasRequest, _request_timeout: Union[ @@ -1200,7 +1200,7 @@ def set_alias_api_v1_aliases_post( :return: Returns the result object. """ # noqa: E501 - _param = self._set_alias_api_v1_aliases_post_serialize( + _param = self._aliases_set_alias_serialize( alias_request=alias_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1224,7 +1224,7 @@ def set_alias_api_v1_aliases_post( @validate_call - def set_alias_api_v1_aliases_post_with_http_info( + def aliases_set_alias_with_http_info( self, alias_request: AliasRequest, _request_timeout: Union[ @@ -1268,7 +1268,7 @@ def set_alias_api_v1_aliases_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._set_alias_api_v1_aliases_post_serialize( + _param = self._aliases_set_alias_serialize( alias_request=alias_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1292,7 +1292,7 @@ def set_alias_api_v1_aliases_post_with_http_info( @validate_call - def set_alias_api_v1_aliases_post_without_preload_content( + def aliases_set_alias_without_preload_content( self, alias_request: AliasRequest, _request_timeout: Union[ @@ -1336,7 +1336,7 @@ def set_alias_api_v1_aliases_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._set_alias_api_v1_aliases_post_serialize( + _param = self._aliases_set_alias_serialize( alias_request=alias_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1355,7 +1355,7 @@ def set_alias_api_v1_aliases_post_without_preload_content( return response_data.response - def _set_alias_api_v1_aliases_post_serialize( + def _aliases_set_alias_serialize( self, alias_request, _request_auth, @@ -1434,7 +1434,7 @@ def _set_alias_api_v1_aliases_post_serialize( @validate_call - def set_organization_alias_api_v1_organizations_me_aliases_post( + def aliases_set_organization_alias( self, alias_request: AliasRequest, _request_timeout: Union[ @@ -1478,7 +1478,7 @@ def set_organization_alias_api_v1_organizations_me_aliases_post( :return: Returns the result object. """ # noqa: E501 - _param = self._set_organization_alias_api_v1_organizations_me_aliases_post_serialize( + _param = self._aliases_set_organization_alias_serialize( alias_request=alias_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1502,7 +1502,7 @@ def set_organization_alias_api_v1_organizations_me_aliases_post( @validate_call - def set_organization_alias_api_v1_organizations_me_aliases_post_with_http_info( + def aliases_set_organization_alias_with_http_info( self, alias_request: AliasRequest, _request_timeout: Union[ @@ -1546,7 +1546,7 @@ def set_organization_alias_api_v1_organizations_me_aliases_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._set_organization_alias_api_v1_organizations_me_aliases_post_serialize( + _param = self._aliases_set_organization_alias_serialize( alias_request=alias_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1570,7 +1570,7 @@ def set_organization_alias_api_v1_organizations_me_aliases_post_with_http_info( @validate_call - def set_organization_alias_api_v1_organizations_me_aliases_post_without_preload_content( + def aliases_set_organization_alias_without_preload_content( self, alias_request: AliasRequest, _request_timeout: Union[ @@ -1614,7 +1614,7 @@ def set_organization_alias_api_v1_organizations_me_aliases_post_without_preload_ :return: Returns the result object. """ # noqa: E501 - _param = self._set_organization_alias_api_v1_organizations_me_aliases_post_serialize( + _param = self._aliases_set_organization_alias_serialize( alias_request=alias_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1633,7 +1633,7 @@ def set_organization_alias_api_v1_organizations_me_aliases_post_without_preload_ return response_data.response - def _set_organization_alias_api_v1_organizations_me_aliases_post_serialize( + def _aliases_set_organization_alias_serialize( self, alias_request, _request_auth, diff --git a/src/otari/_client/api/audio_api.py b/src/otari/_client/api/audio_api.py index 8e24aeba..c4176e8b 100644 --- a/src/otari/_client/api/audio_api.py +++ b/src/otari/_client/api/audio_api.py @@ -38,7 +38,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_speech_api_v1_audio_speech_post( + def audio_create_speech( self, audio_speech_request: AudioSpeechRequest, _request_timeout: Union[ @@ -82,7 +82,7 @@ def create_speech_api_v1_audio_speech_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_speech_api_v1_audio_speech_post_serialize( + _param = self._audio_create_speech_serialize( audio_speech_request=audio_speech_request, _request_auth=_request_auth, _content_type=_content_type, @@ -106,7 +106,7 @@ def create_speech_api_v1_audio_speech_post( @validate_call - def create_speech_api_v1_audio_speech_post_with_http_info( + def audio_create_speech_with_http_info( self, audio_speech_request: AudioSpeechRequest, _request_timeout: Union[ @@ -150,7 +150,7 @@ def create_speech_api_v1_audio_speech_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_speech_api_v1_audio_speech_post_serialize( + _param = self._audio_create_speech_serialize( audio_speech_request=audio_speech_request, _request_auth=_request_auth, _content_type=_content_type, @@ -174,7 +174,7 @@ def create_speech_api_v1_audio_speech_post_with_http_info( @validate_call - def create_speech_api_v1_audio_speech_post_without_preload_content( + def audio_create_speech_without_preload_content( self, audio_speech_request: AudioSpeechRequest, _request_timeout: Union[ @@ -218,7 +218,7 @@ def create_speech_api_v1_audio_speech_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_speech_api_v1_audio_speech_post_serialize( + _param = self._audio_create_speech_serialize( audio_speech_request=audio_speech_request, _request_auth=_request_auth, _content_type=_content_type, @@ -237,7 +237,7 @@ def create_speech_api_v1_audio_speech_post_without_preload_content( return response_data.response - def _create_speech_api_v1_audio_speech_post_serialize( + def _audio_create_speech_serialize( self, audio_speech_request, _request_auth, @@ -322,7 +322,7 @@ def _create_speech_api_v1_audio_speech_post_serialize( @validate_call - def create_transcription_api_v1_audio_transcriptions_post( + def audio_create_transcription( self, file: StrictStr, model: StrictStr, @@ -384,7 +384,7 @@ def create_transcription_api_v1_audio_transcriptions_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_transcription_api_v1_audio_transcriptions_post_serialize( + _param = self._audio_create_transcription_serialize( file=file, model=model, language=language, @@ -414,7 +414,7 @@ def create_transcription_api_v1_audio_transcriptions_post( @validate_call - def create_transcription_api_v1_audio_transcriptions_post_with_http_info( + def audio_create_transcription_with_http_info( self, file: StrictStr, model: StrictStr, @@ -476,7 +476,7 @@ def create_transcription_api_v1_audio_transcriptions_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_transcription_api_v1_audio_transcriptions_post_serialize( + _param = self._audio_create_transcription_serialize( file=file, model=model, language=language, @@ -506,7 +506,7 @@ def create_transcription_api_v1_audio_transcriptions_post_with_http_info( @validate_call - def create_transcription_api_v1_audio_transcriptions_post_without_preload_content( + def audio_create_transcription_without_preload_content( self, file: StrictStr, model: StrictStr, @@ -568,7 +568,7 @@ def create_transcription_api_v1_audio_transcriptions_post_without_preload_conten :return: Returns the result object. """ # noqa: E501 - _param = self._create_transcription_api_v1_audio_transcriptions_post_serialize( + _param = self._audio_create_transcription_serialize( file=file, model=model, language=language, @@ -593,7 +593,7 @@ def create_transcription_api_v1_audio_transcriptions_post_without_preload_conten return response_data.response - def _create_transcription_api_v1_audio_transcriptions_post_serialize( + def _audio_create_transcription_serialize( self, file, model, diff --git a/src/otari/_client/api/auth_api.py b/src/otari/_client/api/auth_api.py index acd0ed64..17786db9 100644 --- a/src/otari/_client/api/auth_api.py +++ b/src/otari/_client/api/auth_api.py @@ -61,7 +61,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def authenticate_passkey_api_v1_auth_webauthn_authenticate_post( + def auth_authenticate_passkey( self, authenticate_passkey_request: AuthenticatePasskeyRequest, _request_timeout: Union[ @@ -105,7 +105,7 @@ def authenticate_passkey_api_v1_auth_webauthn_authenticate_post( :return: Returns the result object. """ # noqa: E501 - _param = self._authenticate_passkey_api_v1_auth_webauthn_authenticate_post_serialize( + _param = self._auth_authenticate_passkey_serialize( authenticate_passkey_request=authenticate_passkey_request, _request_auth=_request_auth, _content_type=_content_type, @@ -129,7 +129,7 @@ def authenticate_passkey_api_v1_auth_webauthn_authenticate_post( @validate_call - def authenticate_passkey_api_v1_auth_webauthn_authenticate_post_with_http_info( + def auth_authenticate_passkey_with_http_info( self, authenticate_passkey_request: AuthenticatePasskeyRequest, _request_timeout: Union[ @@ -173,7 +173,7 @@ def authenticate_passkey_api_v1_auth_webauthn_authenticate_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._authenticate_passkey_api_v1_auth_webauthn_authenticate_post_serialize( + _param = self._auth_authenticate_passkey_serialize( authenticate_passkey_request=authenticate_passkey_request, _request_auth=_request_auth, _content_type=_content_type, @@ -197,7 +197,7 @@ def authenticate_passkey_api_v1_auth_webauthn_authenticate_post_with_http_info( @validate_call - def authenticate_passkey_api_v1_auth_webauthn_authenticate_post_without_preload_content( + def auth_authenticate_passkey_without_preload_content( self, authenticate_passkey_request: AuthenticatePasskeyRequest, _request_timeout: Union[ @@ -241,7 +241,7 @@ def authenticate_passkey_api_v1_auth_webauthn_authenticate_post_without_preload_ :return: Returns the result object. """ # noqa: E501 - _param = self._authenticate_passkey_api_v1_auth_webauthn_authenticate_post_serialize( + _param = self._auth_authenticate_passkey_serialize( authenticate_passkey_request=authenticate_passkey_request, _request_auth=_request_auth, _content_type=_content_type, @@ -260,7 +260,7 @@ def authenticate_passkey_api_v1_auth_webauthn_authenticate_post_without_preload_ return response_data.response - def _authenticate_passkey_api_v1_auth_webauthn_authenticate_post_serialize( + def _auth_authenticate_passkey_serialize( self, authenticate_passkey_request, _request_auth, @@ -337,7 +337,7 @@ def _authenticate_passkey_api_v1_auth_webauthn_authenticate_post_serialize( @validate_call - def authentication_options_api_v1_auth_webauthn_authenticate_options_post( + def auth_authentication_options( self, _request_timeout: Union[ None, @@ -378,7 +378,7 @@ def authentication_options_api_v1_auth_webauthn_authenticate_options_post( :return: Returns the result object. """ # noqa: E501 - _param = self._authentication_options_api_v1_auth_webauthn_authenticate_options_post_serialize( + _param = self._auth_authentication_options_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -400,7 +400,7 @@ def authentication_options_api_v1_auth_webauthn_authenticate_options_post( @validate_call - def authentication_options_api_v1_auth_webauthn_authenticate_options_post_with_http_info( + def auth_authentication_options_with_http_info( self, _request_timeout: Union[ None, @@ -441,7 +441,7 @@ def authentication_options_api_v1_auth_webauthn_authenticate_options_post_with_h :return: Returns the result object. """ # noqa: E501 - _param = self._authentication_options_api_v1_auth_webauthn_authenticate_options_post_serialize( + _param = self._auth_authentication_options_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -463,7 +463,7 @@ def authentication_options_api_v1_auth_webauthn_authenticate_options_post_with_h @validate_call - def authentication_options_api_v1_auth_webauthn_authenticate_options_post_without_preload_content( + def auth_authentication_options_without_preload_content( self, _request_timeout: Union[ None, @@ -504,7 +504,7 @@ def authentication_options_api_v1_auth_webauthn_authenticate_options_post_withou :return: Returns the result object. """ # noqa: E501 - _param = self._authentication_options_api_v1_auth_webauthn_authenticate_options_post_serialize( + _param = self._auth_authentication_options_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -521,7 +521,7 @@ def authentication_options_api_v1_auth_webauthn_authenticate_options_post_withou return response_data.response - def _authentication_options_api_v1_auth_webauthn_authenticate_options_post_serialize( + def _auth_authentication_options_serialize( self, _request_auth, _content_type, @@ -582,7 +582,7 @@ def _authentication_options_api_v1_auth_webauthn_authenticate_options_post_seria @validate_call - def authorize_api_v1_auth_oauth_provider_authorize_get( + def auth_authorize( self, provider: Annotated[str, Field(strict=True, description="Which OAuth provider to sign in with.")], _request_timeout: Union[ @@ -626,7 +626,7 @@ def authorize_api_v1_auth_oauth_provider_authorize_get( :return: Returns the result object. """ # noqa: E501 - _param = self._authorize_api_v1_auth_oauth_provider_authorize_get_serialize( + _param = self._auth_authorize_serialize( provider=provider, _request_auth=_request_auth, _content_type=_content_type, @@ -650,7 +650,7 @@ def authorize_api_v1_auth_oauth_provider_authorize_get( @validate_call - def authorize_api_v1_auth_oauth_provider_authorize_get_with_http_info( + def auth_authorize_with_http_info( self, provider: Annotated[str, Field(strict=True, description="Which OAuth provider to sign in with.")], _request_timeout: Union[ @@ -694,7 +694,7 @@ def authorize_api_v1_auth_oauth_provider_authorize_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._authorize_api_v1_auth_oauth_provider_authorize_get_serialize( + _param = self._auth_authorize_serialize( provider=provider, _request_auth=_request_auth, _content_type=_content_type, @@ -718,7 +718,7 @@ def authorize_api_v1_auth_oauth_provider_authorize_get_with_http_info( @validate_call - def authorize_api_v1_auth_oauth_provider_authorize_get_without_preload_content( + def auth_authorize_without_preload_content( self, provider: Annotated[str, Field(strict=True, description="Which OAuth provider to sign in with.")], _request_timeout: Union[ @@ -762,7 +762,7 @@ def authorize_api_v1_auth_oauth_provider_authorize_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._authorize_api_v1_auth_oauth_provider_authorize_get_serialize( + _param = self._auth_authorize_serialize( provider=provider, _request_auth=_request_auth, _content_type=_content_type, @@ -781,7 +781,7 @@ def authorize_api_v1_auth_oauth_provider_authorize_get_without_preload_content( return response_data.response - def _authorize_api_v1_auth_oauth_provider_authorize_get_serialize( + def _auth_authorize_serialize( self, provider, _request_auth, @@ -845,7 +845,7 @@ def _authorize_api_v1_auth_oauth_provider_authorize_get_serialize( @validate_call - def callback_api_v1_auth_oauth_provider_callback_post( + def auth_callback( self, provider: Annotated[str, Field(strict=True, description="Which OAuth provider to sign in with.")], o_auth_callback_request: OAuthCallbackRequest, @@ -892,7 +892,7 @@ def callback_api_v1_auth_oauth_provider_callback_post( :return: Returns the result object. """ # noqa: E501 - _param = self._callback_api_v1_auth_oauth_provider_callback_post_serialize( + _param = self._auth_callback_serialize( provider=provider, o_auth_callback_request=o_auth_callback_request, _request_auth=_request_auth, @@ -917,7 +917,7 @@ def callback_api_v1_auth_oauth_provider_callback_post( @validate_call - def callback_api_v1_auth_oauth_provider_callback_post_with_http_info( + def auth_callback_with_http_info( self, provider: Annotated[str, Field(strict=True, description="Which OAuth provider to sign in with.")], o_auth_callback_request: OAuthCallbackRequest, @@ -964,7 +964,7 @@ def callback_api_v1_auth_oauth_provider_callback_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._callback_api_v1_auth_oauth_provider_callback_post_serialize( + _param = self._auth_callback_serialize( provider=provider, o_auth_callback_request=o_auth_callback_request, _request_auth=_request_auth, @@ -989,7 +989,7 @@ def callback_api_v1_auth_oauth_provider_callback_post_with_http_info( @validate_call - def callback_api_v1_auth_oauth_provider_callback_post_without_preload_content( + def auth_callback_without_preload_content( self, provider: Annotated[str, Field(strict=True, description="Which OAuth provider to sign in with.")], o_auth_callback_request: OAuthCallbackRequest, @@ -1036,7 +1036,7 @@ def callback_api_v1_auth_oauth_provider_callback_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._callback_api_v1_auth_oauth_provider_callback_post_serialize( + _param = self._auth_callback_serialize( provider=provider, o_auth_callback_request=o_auth_callback_request, _request_auth=_request_auth, @@ -1056,7 +1056,7 @@ def callback_api_v1_auth_oauth_provider_callback_post_without_preload_content( return response_data.response - def _callback_api_v1_auth_oauth_provider_callback_post_serialize( + def _auth_callback_serialize( self, provider, o_auth_callback_request, @@ -1136,7 +1136,7 @@ def _callback_api_v1_auth_oauth_provider_callback_post_serialize( @validate_call - def confirm_reset_api_v1_auth_password_reset_confirm_post( + def auth_confirm_reset( self, reset_password_request: ResetPasswordRequest, _request_timeout: Union[ @@ -1180,7 +1180,7 @@ def confirm_reset_api_v1_auth_password_reset_confirm_post( :return: Returns the result object. """ # noqa: E501 - _param = self._confirm_reset_api_v1_auth_password_reset_confirm_post_serialize( + _param = self._auth_confirm_reset_serialize( reset_password_request=reset_password_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1204,7 +1204,7 @@ def confirm_reset_api_v1_auth_password_reset_confirm_post( @validate_call - def confirm_reset_api_v1_auth_password_reset_confirm_post_with_http_info( + def auth_confirm_reset_with_http_info( self, reset_password_request: ResetPasswordRequest, _request_timeout: Union[ @@ -1248,7 +1248,7 @@ def confirm_reset_api_v1_auth_password_reset_confirm_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._confirm_reset_api_v1_auth_password_reset_confirm_post_serialize( + _param = self._auth_confirm_reset_serialize( reset_password_request=reset_password_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1272,7 +1272,7 @@ def confirm_reset_api_v1_auth_password_reset_confirm_post_with_http_info( @validate_call - def confirm_reset_api_v1_auth_password_reset_confirm_post_without_preload_content( + def auth_confirm_reset_without_preload_content( self, reset_password_request: ResetPasswordRequest, _request_timeout: Union[ @@ -1316,7 +1316,7 @@ def confirm_reset_api_v1_auth_password_reset_confirm_post_without_preload_conten :return: Returns the result object. """ # noqa: E501 - _param = self._confirm_reset_api_v1_auth_password_reset_confirm_post_serialize( + _param = self._auth_confirm_reset_serialize( reset_password_request=reset_password_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1335,7 +1335,7 @@ def confirm_reset_api_v1_auth_password_reset_confirm_post_without_preload_conten return response_data.response - def _confirm_reset_api_v1_auth_password_reset_confirm_post_serialize( + def _auth_confirm_reset_serialize( self, reset_password_request, _request_auth, @@ -1412,7 +1412,7 @@ def _confirm_reset_api_v1_auth_password_reset_confirm_post_serialize( @validate_call - def create_session_api_v1_auth_session_post( + def auth_create_session( self, create_session_request: CreateSessionRequest, _request_timeout: Union[ @@ -1456,7 +1456,7 @@ def create_session_api_v1_auth_session_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_session_api_v1_auth_session_post_serialize( + _param = self._auth_create_session_serialize( create_session_request=create_session_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1480,7 +1480,7 @@ def create_session_api_v1_auth_session_post( @validate_call - def create_session_api_v1_auth_session_post_with_http_info( + def auth_create_session_with_http_info( self, create_session_request: CreateSessionRequest, _request_timeout: Union[ @@ -1524,7 +1524,7 @@ def create_session_api_v1_auth_session_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_session_api_v1_auth_session_post_serialize( + _param = self._auth_create_session_serialize( create_session_request=create_session_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1548,7 +1548,7 @@ def create_session_api_v1_auth_session_post_with_http_info( @validate_call - def create_session_api_v1_auth_session_post_without_preload_content( + def auth_create_session_without_preload_content( self, create_session_request: CreateSessionRequest, _request_timeout: Union[ @@ -1592,7 +1592,7 @@ def create_session_api_v1_auth_session_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_session_api_v1_auth_session_post_serialize( + _param = self._auth_create_session_serialize( create_session_request=create_session_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1611,7 +1611,7 @@ def create_session_api_v1_auth_session_post_without_preload_content( return response_data.response - def _create_session_api_v1_auth_session_post_serialize( + def _auth_create_session_serialize( self, create_session_request, _request_auth, @@ -1688,7 +1688,7 @@ def _create_session_api_v1_auth_session_post_serialize( @validate_call - def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete( + def auth_delete_passkey( self, credential_id: UUID, _request_timeout: Union[ @@ -1732,7 +1732,7 @@ def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_serialize( + _param = self._auth_delete_passkey_serialize( credential_id=credential_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1756,7 +1756,7 @@ def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete( @validate_call - def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_with_http_info( + def auth_delete_passkey_with_http_info( self, credential_id: UUID, _request_timeout: Union[ @@ -1800,7 +1800,7 @@ def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_with_ht :return: Returns the result object. """ # noqa: E501 - _param = self._delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_serialize( + _param = self._auth_delete_passkey_serialize( credential_id=credential_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1824,7 +1824,7 @@ def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_with_ht @validate_call - def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_without_preload_content( + def auth_delete_passkey_without_preload_content( self, credential_id: UUID, _request_timeout: Union[ @@ -1868,7 +1868,7 @@ def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_without :return: Returns the result object. """ # noqa: E501 - _param = self._delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_serialize( + _param = self._auth_delete_passkey_serialize( credential_id=credential_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1887,7 +1887,7 @@ def delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_without return response_data.response - def _delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_serialize( + def _auth_delete_passkey_serialize( self, credential_id, _request_auth, @@ -1953,7 +1953,7 @@ def _delete_passkey_api_v1_auth_webauthn_credentials_credential_id_delete_serial @validate_call - def delete_session_api_v1_auth_session_delete( + def auth_delete_session( self, _request_timeout: Union[ None, @@ -1994,7 +1994,7 @@ def delete_session_api_v1_auth_session_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_session_api_v1_auth_session_delete_serialize( + _param = self._auth_delete_session_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2016,7 +2016,7 @@ def delete_session_api_v1_auth_session_delete( @validate_call - def delete_session_api_v1_auth_session_delete_with_http_info( + def auth_delete_session_with_http_info( self, _request_timeout: Union[ None, @@ -2057,7 +2057,7 @@ def delete_session_api_v1_auth_session_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_session_api_v1_auth_session_delete_serialize( + _param = self._auth_delete_session_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2079,7 +2079,7 @@ def delete_session_api_v1_auth_session_delete_with_http_info( @validate_call - def delete_session_api_v1_auth_session_delete_without_preload_content( + def auth_delete_session_without_preload_content( self, _request_timeout: Union[ None, @@ -2120,7 +2120,7 @@ def delete_session_api_v1_auth_session_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_session_api_v1_auth_session_delete_serialize( + _param = self._auth_delete_session_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2137,7 +2137,7 @@ def delete_session_api_v1_auth_session_delete_without_preload_content( return response_data.response - def _delete_session_api_v1_auth_session_delete_serialize( + def _auth_delete_session_serialize( self, _request_auth, _content_type, @@ -2191,7 +2191,7 @@ def _delete_session_api_v1_auth_session_delete_serialize( @validate_call - def list_passkeys_api_v1_auth_webauthn_credentials_get( + def auth_list_passkeys( self, _request_timeout: Union[ None, @@ -2232,7 +2232,7 @@ def list_passkeys_api_v1_auth_webauthn_credentials_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_passkeys_api_v1_auth_webauthn_credentials_get_serialize( + _param = self._auth_list_passkeys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2254,7 +2254,7 @@ def list_passkeys_api_v1_auth_webauthn_credentials_get( @validate_call - def list_passkeys_api_v1_auth_webauthn_credentials_get_with_http_info( + def auth_list_passkeys_with_http_info( self, _request_timeout: Union[ None, @@ -2295,7 +2295,7 @@ def list_passkeys_api_v1_auth_webauthn_credentials_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_passkeys_api_v1_auth_webauthn_credentials_get_serialize( + _param = self._auth_list_passkeys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2317,7 +2317,7 @@ def list_passkeys_api_v1_auth_webauthn_credentials_get_with_http_info( @validate_call - def list_passkeys_api_v1_auth_webauthn_credentials_get_without_preload_content( + def auth_list_passkeys_without_preload_content( self, _request_timeout: Union[ None, @@ -2358,7 +2358,7 @@ def list_passkeys_api_v1_auth_webauthn_credentials_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_passkeys_api_v1_auth_webauthn_credentials_get_serialize( + _param = self._auth_list_passkeys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2375,7 +2375,7 @@ def list_passkeys_api_v1_auth_webauthn_credentials_get_without_preload_content( return response_data.response - def _list_passkeys_api_v1_auth_webauthn_credentials_get_serialize( + def _auth_list_passkeys_serialize( self, _request_auth, _content_type, @@ -2438,7 +2438,7 @@ def _list_passkeys_api_v1_auth_webauthn_credentials_get_serialize( @validate_call - def register_passkey_api_v1_auth_webauthn_register_post( + def auth_register_passkey( self, register_passkey_request: RegisterPasskeyRequest, _request_timeout: Union[ @@ -2482,7 +2482,7 @@ def register_passkey_api_v1_auth_webauthn_register_post( :return: Returns the result object. """ # noqa: E501 - _param = self._register_passkey_api_v1_auth_webauthn_register_post_serialize( + _param = self._auth_register_passkey_serialize( register_passkey_request=register_passkey_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2506,7 +2506,7 @@ def register_passkey_api_v1_auth_webauthn_register_post( @validate_call - def register_passkey_api_v1_auth_webauthn_register_post_with_http_info( + def auth_register_passkey_with_http_info( self, register_passkey_request: RegisterPasskeyRequest, _request_timeout: Union[ @@ -2550,7 +2550,7 @@ def register_passkey_api_v1_auth_webauthn_register_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._register_passkey_api_v1_auth_webauthn_register_post_serialize( + _param = self._auth_register_passkey_serialize( register_passkey_request=register_passkey_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2574,7 +2574,7 @@ def register_passkey_api_v1_auth_webauthn_register_post_with_http_info( @validate_call - def register_passkey_api_v1_auth_webauthn_register_post_without_preload_content( + def auth_register_passkey_without_preload_content( self, register_passkey_request: RegisterPasskeyRequest, _request_timeout: Union[ @@ -2618,7 +2618,7 @@ def register_passkey_api_v1_auth_webauthn_register_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._register_passkey_api_v1_auth_webauthn_register_post_serialize( + _param = self._auth_register_passkey_serialize( register_passkey_request=register_passkey_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2637,7 +2637,7 @@ def register_passkey_api_v1_auth_webauthn_register_post_without_preload_content( return response_data.response - def _register_passkey_api_v1_auth_webauthn_register_post_serialize( + def _auth_register_passkey_serialize( self, register_passkey_request, _request_auth, @@ -2716,7 +2716,7 @@ def _register_passkey_api_v1_auth_webauthn_register_post_serialize( @validate_call - def registration_options_api_v1_auth_webauthn_register_options_post( + def auth_registration_options( self, _request_timeout: Union[ None, @@ -2757,7 +2757,7 @@ def registration_options_api_v1_auth_webauthn_register_options_post( :return: Returns the result object. """ # noqa: E501 - _param = self._registration_options_api_v1_auth_webauthn_register_options_post_serialize( + _param = self._auth_registration_options_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2779,7 +2779,7 @@ def registration_options_api_v1_auth_webauthn_register_options_post( @validate_call - def registration_options_api_v1_auth_webauthn_register_options_post_with_http_info( + def auth_registration_options_with_http_info( self, _request_timeout: Union[ None, @@ -2820,7 +2820,7 @@ def registration_options_api_v1_auth_webauthn_register_options_post_with_http_in :return: Returns the result object. """ # noqa: E501 - _param = self._registration_options_api_v1_auth_webauthn_register_options_post_serialize( + _param = self._auth_registration_options_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2842,7 +2842,7 @@ def registration_options_api_v1_auth_webauthn_register_options_post_with_http_in @validate_call - def registration_options_api_v1_auth_webauthn_register_options_post_without_preload_content( + def auth_registration_options_without_preload_content( self, _request_timeout: Union[ None, @@ -2883,7 +2883,7 @@ def registration_options_api_v1_auth_webauthn_register_options_post_without_prel :return: Returns the result object. """ # noqa: E501 - _param = self._registration_options_api_v1_auth_webauthn_register_options_post_serialize( + _param = self._auth_registration_options_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2900,7 +2900,7 @@ def registration_options_api_v1_auth_webauthn_register_options_post_without_prel return response_data.response - def _registration_options_api_v1_auth_webauthn_register_options_post_serialize( + def _auth_registration_options_serialize( self, _request_auth, _content_type, @@ -2963,7 +2963,7 @@ def _registration_options_api_v1_auth_webauthn_register_options_post_serialize( @validate_call - def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch( + def auth_rename_passkey( self, credential_id: UUID, web_authn_credential_update: WebAuthnCredentialUpdate, @@ -3010,7 +3010,7 @@ def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_serialize( + _param = self._auth_rename_passkey_serialize( credential_id=credential_id, web_authn_credential_update=web_authn_credential_update, _request_auth=_request_auth, @@ -3035,7 +3035,7 @@ def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch( @validate_call - def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_with_http_info( + def auth_rename_passkey_with_http_info( self, credential_id: UUID, web_authn_credential_update: WebAuthnCredentialUpdate, @@ -3082,7 +3082,7 @@ def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_with_htt :return: Returns the result object. """ # noqa: E501 - _param = self._rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_serialize( + _param = self._auth_rename_passkey_serialize( credential_id=credential_id, web_authn_credential_update=web_authn_credential_update, _request_auth=_request_auth, @@ -3107,7 +3107,7 @@ def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_with_htt @validate_call - def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_without_preload_content( + def auth_rename_passkey_without_preload_content( self, credential_id: UUID, web_authn_credential_update: WebAuthnCredentialUpdate, @@ -3154,7 +3154,7 @@ def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_without_ :return: Returns the result object. """ # noqa: E501 - _param = self._rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_serialize( + _param = self._auth_rename_passkey_serialize( credential_id=credential_id, web_authn_credential_update=web_authn_credential_update, _request_auth=_request_auth, @@ -3174,7 +3174,7 @@ def rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_without_ return response_data.response - def _rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_serialize( + def _auth_rename_passkey_serialize( self, credential_id, web_authn_credential_update, @@ -3256,7 +3256,7 @@ def _rename_passkey_api_v1_auth_webauthn_credentials_credential_id_patch_seriali @validate_call - def request_reset_api_v1_auth_password_reset_post( + def auth_request_reset( self, request_password_reset_request: RequestPasswordResetRequest, _request_timeout: Union[ @@ -3300,7 +3300,7 @@ def request_reset_api_v1_auth_password_reset_post( :return: Returns the result object. """ # noqa: E501 - _param = self._request_reset_api_v1_auth_password_reset_post_serialize( + _param = self._auth_request_reset_serialize( request_password_reset_request=request_password_reset_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3324,7 +3324,7 @@ def request_reset_api_v1_auth_password_reset_post( @validate_call - def request_reset_api_v1_auth_password_reset_post_with_http_info( + def auth_request_reset_with_http_info( self, request_password_reset_request: RequestPasswordResetRequest, _request_timeout: Union[ @@ -3368,7 +3368,7 @@ def request_reset_api_v1_auth_password_reset_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._request_reset_api_v1_auth_password_reset_post_serialize( + _param = self._auth_request_reset_serialize( request_password_reset_request=request_password_reset_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3392,7 +3392,7 @@ def request_reset_api_v1_auth_password_reset_post_with_http_info( @validate_call - def request_reset_api_v1_auth_password_reset_post_without_preload_content( + def auth_request_reset_without_preload_content( self, request_password_reset_request: RequestPasswordResetRequest, _request_timeout: Union[ @@ -3436,7 +3436,7 @@ def request_reset_api_v1_auth_password_reset_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._request_reset_api_v1_auth_password_reset_post_serialize( + _param = self._auth_request_reset_serialize( request_password_reset_request=request_password_reset_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3455,7 +3455,7 @@ def request_reset_api_v1_auth_password_reset_post_without_preload_content( return response_data.response - def _request_reset_api_v1_auth_password_reset_post_serialize( + def _auth_request_reset_serialize( self, request_password_reset_request, _request_auth, @@ -3532,7 +3532,7 @@ def _request_reset_api_v1_auth_password_reset_post_serialize( @validate_call - def resend_verification_api_v1_auth_resend_verification_post( + def auth_resend_verification( self, resend_verification_request: ResendVerificationRequest, _request_timeout: Union[ @@ -3576,7 +3576,7 @@ def resend_verification_api_v1_auth_resend_verification_post( :return: Returns the result object. """ # noqa: E501 - _param = self._resend_verification_api_v1_auth_resend_verification_post_serialize( + _param = self._auth_resend_verification_serialize( resend_verification_request=resend_verification_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3600,7 +3600,7 @@ def resend_verification_api_v1_auth_resend_verification_post( @validate_call - def resend_verification_api_v1_auth_resend_verification_post_with_http_info( + def auth_resend_verification_with_http_info( self, resend_verification_request: ResendVerificationRequest, _request_timeout: Union[ @@ -3644,7 +3644,7 @@ def resend_verification_api_v1_auth_resend_verification_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._resend_verification_api_v1_auth_resend_verification_post_serialize( + _param = self._auth_resend_verification_serialize( resend_verification_request=resend_verification_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3668,7 +3668,7 @@ def resend_verification_api_v1_auth_resend_verification_post_with_http_info( @validate_call - def resend_verification_api_v1_auth_resend_verification_post_without_preload_content( + def auth_resend_verification_without_preload_content( self, resend_verification_request: ResendVerificationRequest, _request_timeout: Union[ @@ -3712,7 +3712,7 @@ def resend_verification_api_v1_auth_resend_verification_post_without_preload_con :return: Returns the result object. """ # noqa: E501 - _param = self._resend_verification_api_v1_auth_resend_verification_post_serialize( + _param = self._auth_resend_verification_serialize( resend_verification_request=resend_verification_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3731,7 +3731,7 @@ def resend_verification_api_v1_auth_resend_verification_post_without_preload_con return response_data.response - def _resend_verification_api_v1_auth_resend_verification_post_serialize( + def _auth_resend_verification_serialize( self, resend_verification_request, _request_auth, @@ -3808,7 +3808,7 @@ def _resend_verification_api_v1_auth_resend_verification_post_serialize( @validate_call - def set_dashboard_password_api_v1_auth_password_put( + def auth_set_dashboard_password( self, set_password_request: SetPasswordRequest, _request_timeout: Union[ @@ -3852,7 +3852,7 @@ def set_dashboard_password_api_v1_auth_password_put( :return: Returns the result object. """ # noqa: E501 - _param = self._set_dashboard_password_api_v1_auth_password_put_serialize( + _param = self._auth_set_dashboard_password_serialize( set_password_request=set_password_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3876,7 +3876,7 @@ def set_dashboard_password_api_v1_auth_password_put( @validate_call - def set_dashboard_password_api_v1_auth_password_put_with_http_info( + def auth_set_dashboard_password_with_http_info( self, set_password_request: SetPasswordRequest, _request_timeout: Union[ @@ -3920,7 +3920,7 @@ def set_dashboard_password_api_v1_auth_password_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._set_dashboard_password_api_v1_auth_password_put_serialize( + _param = self._auth_set_dashboard_password_serialize( set_password_request=set_password_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3944,7 +3944,7 @@ def set_dashboard_password_api_v1_auth_password_put_with_http_info( @validate_call - def set_dashboard_password_api_v1_auth_password_put_without_preload_content( + def auth_set_dashboard_password_without_preload_content( self, set_password_request: SetPasswordRequest, _request_timeout: Union[ @@ -3988,7 +3988,7 @@ def set_dashboard_password_api_v1_auth_password_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._set_dashboard_password_api_v1_auth_password_put_serialize( + _param = self._auth_set_dashboard_password_serialize( set_password_request=set_password_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4007,7 +4007,7 @@ def set_dashboard_password_api_v1_auth_password_put_without_preload_content( return response_data.response - def _set_dashboard_password_api_v1_auth_password_put_serialize( + def _auth_set_dashboard_password_serialize( self, set_password_request, _request_auth, @@ -4086,7 +4086,7 @@ def _set_dashboard_password_api_v1_auth_password_put_serialize( @validate_call - def signup_api_v1_auth_signup_post( + def auth_signup( self, signup_request: SignupRequest, _request_timeout: Union[ @@ -4130,7 +4130,7 @@ def signup_api_v1_auth_signup_post( :return: Returns the result object. """ # noqa: E501 - _param = self._signup_api_v1_auth_signup_post_serialize( + _param = self._auth_signup_serialize( signup_request=signup_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4154,7 +4154,7 @@ def signup_api_v1_auth_signup_post( @validate_call - def signup_api_v1_auth_signup_post_with_http_info( + def auth_signup_with_http_info( self, signup_request: SignupRequest, _request_timeout: Union[ @@ -4198,7 +4198,7 @@ def signup_api_v1_auth_signup_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._signup_api_v1_auth_signup_post_serialize( + _param = self._auth_signup_serialize( signup_request=signup_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4222,7 +4222,7 @@ def signup_api_v1_auth_signup_post_with_http_info( @validate_call - def signup_api_v1_auth_signup_post_without_preload_content( + def auth_signup_without_preload_content( self, signup_request: SignupRequest, _request_timeout: Union[ @@ -4266,7 +4266,7 @@ def signup_api_v1_auth_signup_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._signup_api_v1_auth_signup_post_serialize( + _param = self._auth_signup_serialize( signup_request=signup_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4285,7 +4285,7 @@ def signup_api_v1_auth_signup_post_without_preload_content( return response_data.response - def _signup_api_v1_auth_signup_post_serialize( + def _auth_signup_serialize( self, signup_request, _request_auth, @@ -4362,7 +4362,7 @@ def _signup_api_v1_auth_signup_post_serialize( @validate_call - def verify_email_route_api_v1_auth_verify_email_post( + def auth_verify_email_route( self, verify_email_request: VerifyEmailRequest, _request_timeout: Union[ @@ -4406,7 +4406,7 @@ def verify_email_route_api_v1_auth_verify_email_post( :return: Returns the result object. """ # noqa: E501 - _param = self._verify_email_route_api_v1_auth_verify_email_post_serialize( + _param = self._auth_verify_email_route_serialize( verify_email_request=verify_email_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4430,7 +4430,7 @@ def verify_email_route_api_v1_auth_verify_email_post( @validate_call - def verify_email_route_api_v1_auth_verify_email_post_with_http_info( + def auth_verify_email_route_with_http_info( self, verify_email_request: VerifyEmailRequest, _request_timeout: Union[ @@ -4474,7 +4474,7 @@ def verify_email_route_api_v1_auth_verify_email_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._verify_email_route_api_v1_auth_verify_email_post_serialize( + _param = self._auth_verify_email_route_serialize( verify_email_request=verify_email_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4498,7 +4498,7 @@ def verify_email_route_api_v1_auth_verify_email_post_with_http_info( @validate_call - def verify_email_route_api_v1_auth_verify_email_post_without_preload_content( + def auth_verify_email_route_without_preload_content( self, verify_email_request: VerifyEmailRequest, _request_timeout: Union[ @@ -4542,7 +4542,7 @@ def verify_email_route_api_v1_auth_verify_email_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._verify_email_route_api_v1_auth_verify_email_post_serialize( + _param = self._auth_verify_email_route_serialize( verify_email_request=verify_email_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4561,7 +4561,7 @@ def verify_email_route_api_v1_auth_verify_email_post_without_preload_content( return response_data.response - def _verify_email_route_api_v1_auth_verify_email_post_serialize( + def _auth_verify_email_route_serialize( self, verify_email_request, _request_auth, diff --git a/src/otari/_client/api/batches_api.py b/src/otari/_client/api/batches_api.py index 80010be7..3c34dd0e 100644 --- a/src/otari/_client/api/batches_api.py +++ b/src/otari/_client/api/batches_api.py @@ -38,7 +38,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def cancel_batch_api_v1_batches_batch_id_cancel_post( + def batches_cancel_batch( self, batch_id: StrictStr, provider: StrictStr, @@ -85,7 +85,7 @@ def cancel_batch_api_v1_batches_batch_id_cancel_post( :return: Returns the result object. """ # noqa: E501 - _param = self._cancel_batch_api_v1_batches_batch_id_cancel_post_serialize( + _param = self._batches_cancel_batch_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -110,7 +110,7 @@ def cancel_batch_api_v1_batches_batch_id_cancel_post( @validate_call - def cancel_batch_api_v1_batches_batch_id_cancel_post_with_http_info( + def batches_cancel_batch_with_http_info( self, batch_id: StrictStr, provider: StrictStr, @@ -157,7 +157,7 @@ def cancel_batch_api_v1_batches_batch_id_cancel_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._cancel_batch_api_v1_batches_batch_id_cancel_post_serialize( + _param = self._batches_cancel_batch_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -182,7 +182,7 @@ def cancel_batch_api_v1_batches_batch_id_cancel_post_with_http_info( @validate_call - def cancel_batch_api_v1_batches_batch_id_cancel_post_without_preload_content( + def batches_cancel_batch_without_preload_content( self, batch_id: StrictStr, provider: StrictStr, @@ -229,7 +229,7 @@ def cancel_batch_api_v1_batches_batch_id_cancel_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._cancel_batch_api_v1_batches_batch_id_cancel_post_serialize( + _param = self._batches_cancel_batch_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -249,7 +249,7 @@ def cancel_batch_api_v1_batches_batch_id_cancel_post_without_preload_content( return response_data.response - def _cancel_batch_api_v1_batches_batch_id_cancel_post_serialize( + def _batches_cancel_batch_serialize( self, batch_id, provider, @@ -320,7 +320,7 @@ def _cancel_batch_api_v1_batches_batch_id_cancel_post_serialize( @validate_call - def create_batch_api_v1_batches_post( + def batches_create_batch( self, create_batch_request: CreateBatchRequest, _request_timeout: Union[ @@ -364,7 +364,7 @@ def create_batch_api_v1_batches_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_batch_api_v1_batches_post_serialize( + _param = self._batches_create_batch_serialize( create_batch_request=create_batch_request, _request_auth=_request_auth, _content_type=_content_type, @@ -388,7 +388,7 @@ def create_batch_api_v1_batches_post( @validate_call - def create_batch_api_v1_batches_post_with_http_info( + def batches_create_batch_with_http_info( self, create_batch_request: CreateBatchRequest, _request_timeout: Union[ @@ -432,7 +432,7 @@ def create_batch_api_v1_batches_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_batch_api_v1_batches_post_serialize( + _param = self._batches_create_batch_serialize( create_batch_request=create_batch_request, _request_auth=_request_auth, _content_type=_content_type, @@ -456,7 +456,7 @@ def create_batch_api_v1_batches_post_with_http_info( @validate_call - def create_batch_api_v1_batches_post_without_preload_content( + def batches_create_batch_without_preload_content( self, create_batch_request: CreateBatchRequest, _request_timeout: Union[ @@ -500,7 +500,7 @@ def create_batch_api_v1_batches_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_batch_api_v1_batches_post_serialize( + _param = self._batches_create_batch_serialize( create_batch_request=create_batch_request, _request_auth=_request_auth, _content_type=_content_type, @@ -519,7 +519,7 @@ def create_batch_api_v1_batches_post_without_preload_content( return response_data.response - def _create_batch_api_v1_batches_post_serialize( + def _batches_create_batch_serialize( self, create_batch_request, _request_auth, @@ -598,7 +598,7 @@ def _create_batch_api_v1_batches_post_serialize( @validate_call - def list_batches_api_v1_batches_get( + def batches_list_batches( self, provider: StrictStr, after: Optional[StrictStr] = None, @@ -648,7 +648,7 @@ def list_batches_api_v1_batches_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_batches_api_v1_batches_get_serialize( + _param = self._batches_list_batches_serialize( provider=provider, after=after, limit=limit, @@ -674,7 +674,7 @@ def list_batches_api_v1_batches_get( @validate_call - def list_batches_api_v1_batches_get_with_http_info( + def batches_list_batches_with_http_info( self, provider: StrictStr, after: Optional[StrictStr] = None, @@ -724,7 +724,7 @@ def list_batches_api_v1_batches_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_batches_api_v1_batches_get_serialize( + _param = self._batches_list_batches_serialize( provider=provider, after=after, limit=limit, @@ -750,7 +750,7 @@ def list_batches_api_v1_batches_get_with_http_info( @validate_call - def list_batches_api_v1_batches_get_without_preload_content( + def batches_list_batches_without_preload_content( self, provider: StrictStr, after: Optional[StrictStr] = None, @@ -800,7 +800,7 @@ def list_batches_api_v1_batches_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_batches_api_v1_batches_get_serialize( + _param = self._batches_list_batches_serialize( provider=provider, after=after, limit=limit, @@ -821,7 +821,7 @@ def list_batches_api_v1_batches_get_without_preload_content( return response_data.response - def _list_batches_api_v1_batches_get_serialize( + def _batches_list_batches_serialize( self, provider, after, @@ -899,7 +899,7 @@ def _list_batches_api_v1_batches_get_serialize( @validate_call - def retrieve_batch_api_v1_batches_batch_id_get( + def batches_retrieve_batch( self, batch_id: StrictStr, provider: StrictStr, @@ -946,7 +946,7 @@ def retrieve_batch_api_v1_batches_batch_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._retrieve_batch_api_v1_batches_batch_id_get_serialize( + _param = self._batches_retrieve_batch_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -971,7 +971,7 @@ def retrieve_batch_api_v1_batches_batch_id_get( @validate_call - def retrieve_batch_api_v1_batches_batch_id_get_with_http_info( + def batches_retrieve_batch_with_http_info( self, batch_id: StrictStr, provider: StrictStr, @@ -1018,7 +1018,7 @@ def retrieve_batch_api_v1_batches_batch_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._retrieve_batch_api_v1_batches_batch_id_get_serialize( + _param = self._batches_retrieve_batch_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -1043,7 +1043,7 @@ def retrieve_batch_api_v1_batches_batch_id_get_with_http_info( @validate_call - def retrieve_batch_api_v1_batches_batch_id_get_without_preload_content( + def batches_retrieve_batch_without_preload_content( self, batch_id: StrictStr, provider: StrictStr, @@ -1090,7 +1090,7 @@ def retrieve_batch_api_v1_batches_batch_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._retrieve_batch_api_v1_batches_batch_id_get_serialize( + _param = self._batches_retrieve_batch_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -1110,7 +1110,7 @@ def retrieve_batch_api_v1_batches_batch_id_get_without_preload_content( return response_data.response - def _retrieve_batch_api_v1_batches_batch_id_get_serialize( + def _batches_retrieve_batch_serialize( self, batch_id, provider, @@ -1181,7 +1181,7 @@ def _retrieve_batch_api_v1_batches_batch_id_get_serialize( @validate_call - def retrieve_batch_results_api_v1_batches_batch_id_results_get( + def batches_retrieve_batch_results( self, batch_id: StrictStr, provider: StrictStr, @@ -1228,7 +1228,7 @@ def retrieve_batch_results_api_v1_batches_batch_id_results_get( :return: Returns the result object. """ # noqa: E501 - _param = self._retrieve_batch_results_api_v1_batches_batch_id_results_get_serialize( + _param = self._batches_retrieve_batch_results_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -1255,7 +1255,7 @@ def retrieve_batch_results_api_v1_batches_batch_id_results_get( @validate_call - def retrieve_batch_results_api_v1_batches_batch_id_results_get_with_http_info( + def batches_retrieve_batch_results_with_http_info( self, batch_id: StrictStr, provider: StrictStr, @@ -1302,7 +1302,7 @@ def retrieve_batch_results_api_v1_batches_batch_id_results_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._retrieve_batch_results_api_v1_batches_batch_id_results_get_serialize( + _param = self._batches_retrieve_batch_results_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -1329,7 +1329,7 @@ def retrieve_batch_results_api_v1_batches_batch_id_results_get_with_http_info( @validate_call - def retrieve_batch_results_api_v1_batches_batch_id_results_get_without_preload_content( + def batches_retrieve_batch_results_without_preload_content( self, batch_id: StrictStr, provider: StrictStr, @@ -1376,7 +1376,7 @@ def retrieve_batch_results_api_v1_batches_batch_id_results_get_without_preload_c :return: Returns the result object. """ # noqa: E501 - _param = self._retrieve_batch_results_api_v1_batches_batch_id_results_get_serialize( + _param = self._batches_retrieve_batch_results_serialize( batch_id=batch_id, provider=provider, _request_auth=_request_auth, @@ -1398,7 +1398,7 @@ def retrieve_batch_results_api_v1_batches_batch_id_results_get_without_preload_c return response_data.response - def _retrieve_batch_results_api_v1_batches_batch_id_results_get_serialize( + def _batches_retrieve_batch_results_serialize( self, batch_id, provider, diff --git a/src/otari/_client/api/bootstrap_api.py b/src/otari/_client/api/bootstrap_api.py index 288a5df3..5bdb84e7 100644 --- a/src/otari/_client/api/bootstrap_api.py +++ b/src/otari/_client/api/bootstrap_api.py @@ -36,7 +36,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def get_bootstrap_api_v1_bootstrap_get( + def bootstrap_get_bootstrap( self, _request_timeout: Union[ None, @@ -77,7 +77,7 @@ def get_bootstrap_api_v1_bootstrap_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_bootstrap_api_v1_bootstrap_get_serialize( + _param = self._bootstrap_get_bootstrap_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99,7 +99,7 @@ def get_bootstrap_api_v1_bootstrap_get( @validate_call - def get_bootstrap_api_v1_bootstrap_get_with_http_info( + def bootstrap_get_bootstrap_with_http_info( self, _request_timeout: Union[ None, @@ -140,7 +140,7 @@ def get_bootstrap_api_v1_bootstrap_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_bootstrap_api_v1_bootstrap_get_serialize( + _param = self._bootstrap_get_bootstrap_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -162,7 +162,7 @@ def get_bootstrap_api_v1_bootstrap_get_with_http_info( @validate_call - def get_bootstrap_api_v1_bootstrap_get_without_preload_content( + def bootstrap_get_bootstrap_without_preload_content( self, _request_timeout: Union[ None, @@ -203,7 +203,7 @@ def get_bootstrap_api_v1_bootstrap_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_bootstrap_api_v1_bootstrap_get_serialize( + _param = self._bootstrap_get_bootstrap_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -220,7 +220,7 @@ def get_bootstrap_api_v1_bootstrap_get_without_preload_content( return response_data.response - def _get_bootstrap_api_v1_bootstrap_get_serialize( + def _bootstrap_get_bootstrap_serialize( self, _request_auth, _content_type, diff --git a/src/otari/_client/api/budgets_api.py b/src/otari/_client/api/budgets_api.py index a41b4eb3..7181b683 100644 --- a/src/otari/_client/api/budgets_api.py +++ b/src/otari/_client/api/budgets_api.py @@ -42,7 +42,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_budget_api_v1_budgets_post( + def budgets_create_budget( self, create_budget_request: CreateBudgetRequest, _request_timeout: Union[ @@ -86,7 +86,7 @@ def create_budget_api_v1_budgets_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_budget_api_v1_budgets_post_serialize( + _param = self._budgets_create_budget_serialize( create_budget_request=create_budget_request, _request_auth=_request_auth, _content_type=_content_type, @@ -110,7 +110,7 @@ def create_budget_api_v1_budgets_post( @validate_call - def create_budget_api_v1_budgets_post_with_http_info( + def budgets_create_budget_with_http_info( self, create_budget_request: CreateBudgetRequest, _request_timeout: Union[ @@ -154,7 +154,7 @@ def create_budget_api_v1_budgets_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_budget_api_v1_budgets_post_serialize( + _param = self._budgets_create_budget_serialize( create_budget_request=create_budget_request, _request_auth=_request_auth, _content_type=_content_type, @@ -178,7 +178,7 @@ def create_budget_api_v1_budgets_post_with_http_info( @validate_call - def create_budget_api_v1_budgets_post_without_preload_content( + def budgets_create_budget_without_preload_content( self, create_budget_request: CreateBudgetRequest, _request_timeout: Union[ @@ -222,7 +222,7 @@ def create_budget_api_v1_budgets_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_budget_api_v1_budgets_post_serialize( + _param = self._budgets_create_budget_serialize( create_budget_request=create_budget_request, _request_auth=_request_auth, _content_type=_content_type, @@ -241,7 +241,7 @@ def create_budget_api_v1_budgets_post_without_preload_content( return response_data.response - def _create_budget_api_v1_budgets_post_serialize( + def _budgets_create_budget_serialize( self, create_budget_request, _request_auth, @@ -320,7 +320,7 @@ def _create_budget_api_v1_budgets_post_serialize( @validate_call - def delete_budget_api_v1_budgets_budget_id_delete( + def budgets_delete_budget( self, budget_id: StrictStr, _request_timeout: Union[ @@ -364,7 +364,7 @@ def delete_budget_api_v1_budgets_budget_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_budget_api_v1_budgets_budget_id_delete_serialize( + _param = self._budgets_delete_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -388,7 +388,7 @@ def delete_budget_api_v1_budgets_budget_id_delete( @validate_call - def delete_budget_api_v1_budgets_budget_id_delete_with_http_info( + def budgets_delete_budget_with_http_info( self, budget_id: StrictStr, _request_timeout: Union[ @@ -432,7 +432,7 @@ def delete_budget_api_v1_budgets_budget_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_budget_api_v1_budgets_budget_id_delete_serialize( + _param = self._budgets_delete_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -456,7 +456,7 @@ def delete_budget_api_v1_budgets_budget_id_delete_with_http_info( @validate_call - def delete_budget_api_v1_budgets_budget_id_delete_without_preload_content( + def budgets_delete_budget_without_preload_content( self, budget_id: StrictStr, _request_timeout: Union[ @@ -500,7 +500,7 @@ def delete_budget_api_v1_budgets_budget_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_budget_api_v1_budgets_budget_id_delete_serialize( + _param = self._budgets_delete_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -519,7 +519,7 @@ def delete_budget_api_v1_budgets_budget_id_delete_without_preload_content( return response_data.response - def _delete_budget_api_v1_budgets_budget_id_delete_serialize( + def _budgets_delete_budget_serialize( self, budget_id, _request_auth, @@ -585,7 +585,7 @@ def _delete_budget_api_v1_budgets_budget_id_delete_serialize( @validate_call - def get_budget_api_v1_budgets_budget_id_get( + def budgets_get_budget( self, budget_id: StrictStr, _request_timeout: Union[ @@ -629,7 +629,7 @@ def get_budget_api_v1_budgets_budget_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_budget_api_v1_budgets_budget_id_get_serialize( + _param = self._budgets_get_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -653,7 +653,7 @@ def get_budget_api_v1_budgets_budget_id_get( @validate_call - def get_budget_api_v1_budgets_budget_id_get_with_http_info( + def budgets_get_budget_with_http_info( self, budget_id: StrictStr, _request_timeout: Union[ @@ -697,7 +697,7 @@ def get_budget_api_v1_budgets_budget_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_budget_api_v1_budgets_budget_id_get_serialize( + _param = self._budgets_get_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -721,7 +721,7 @@ def get_budget_api_v1_budgets_budget_id_get_with_http_info( @validate_call - def get_budget_api_v1_budgets_budget_id_get_without_preload_content( + def budgets_get_budget_without_preload_content( self, budget_id: StrictStr, _request_timeout: Union[ @@ -765,7 +765,7 @@ def get_budget_api_v1_budgets_budget_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_budget_api_v1_budgets_budget_id_get_serialize( + _param = self._budgets_get_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -784,7 +784,7 @@ def get_budget_api_v1_budgets_budget_id_get_without_preload_content( return response_data.response - def _get_budget_api_v1_budgets_budget_id_get_serialize( + def _budgets_get_budget_serialize( self, budget_id, _request_auth, @@ -850,7 +850,7 @@ def _get_budget_api_v1_budgets_budget_id_get_serialize( @validate_call - def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get( + def budgets_list_budget_reset_logs( self, budget_id: StrictStr, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, @@ -900,7 +900,7 @@ def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_serialize( + _param = self._budgets_list_budget_reset_logs_serialize( budget_id=budget_id, skip=skip, limit=limit, @@ -926,7 +926,7 @@ def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get( @validate_call - def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_with_http_info( + def budgets_list_budget_reset_logs_with_http_info( self, budget_id: StrictStr, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, @@ -976,7 +976,7 @@ def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_with_http_inf :return: Returns the result object. """ # noqa: E501 - _param = self._list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_serialize( + _param = self._budgets_list_budget_reset_logs_serialize( budget_id=budget_id, skip=skip, limit=limit, @@ -1002,7 +1002,7 @@ def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_with_http_inf @validate_call - def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_without_preload_content( + def budgets_list_budget_reset_logs_without_preload_content( self, budget_id: StrictStr, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, @@ -1052,7 +1052,7 @@ def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_without_prelo :return: Returns the result object. """ # noqa: E501 - _param = self._list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_serialize( + _param = self._budgets_list_budget_reset_logs_serialize( budget_id=budget_id, skip=skip, limit=limit, @@ -1073,7 +1073,7 @@ def list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_without_prelo return response_data.response - def _list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_serialize( + def _budgets_list_budget_reset_logs_serialize( self, budget_id, skip, @@ -1149,7 +1149,7 @@ def _list_budget_reset_logs_api_v1_budgets_budget_id_reset_logs_get_serialize( @validate_call - def list_budgets_api_v1_budgets_get( + def budgets_list_budgets( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1196,7 +1196,7 @@ def list_budgets_api_v1_budgets_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_budgets_api_v1_budgets_get_serialize( + _param = self._budgets_list_budgets_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1221,7 +1221,7 @@ def list_budgets_api_v1_budgets_get( @validate_call - def list_budgets_api_v1_budgets_get_with_http_info( + def budgets_list_budgets_with_http_info( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1268,7 +1268,7 @@ def list_budgets_api_v1_budgets_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_budgets_api_v1_budgets_get_serialize( + _param = self._budgets_list_budgets_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1293,7 +1293,7 @@ def list_budgets_api_v1_budgets_get_with_http_info( @validate_call - def list_budgets_api_v1_budgets_get_without_preload_content( + def budgets_list_budgets_without_preload_content( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1340,7 +1340,7 @@ def list_budgets_api_v1_budgets_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_budgets_api_v1_budgets_get_serialize( + _param = self._budgets_list_budgets_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1360,7 +1360,7 @@ def list_budgets_api_v1_budgets_get_without_preload_content( return response_data.response - def _list_budgets_api_v1_budgets_get_serialize( + def _budgets_list_budgets_serialize( self, skip, limit, @@ -1433,7 +1433,7 @@ def _list_budgets_api_v1_budgets_get_serialize( @validate_call - def update_budget_api_v1_budgets_budget_id_patch( + def budgets_update_budget( self, budget_id: StrictStr, update_budget_request: UpdateBudgetRequest, @@ -1480,7 +1480,7 @@ def update_budget_api_v1_budgets_budget_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_budget_api_v1_budgets_budget_id_patch_serialize( + _param = self._budgets_update_budget_serialize( budget_id=budget_id, update_budget_request=update_budget_request, _request_auth=_request_auth, @@ -1505,7 +1505,7 @@ def update_budget_api_v1_budgets_budget_id_patch( @validate_call - def update_budget_api_v1_budgets_budget_id_patch_with_http_info( + def budgets_update_budget_with_http_info( self, budget_id: StrictStr, update_budget_request: UpdateBudgetRequest, @@ -1552,7 +1552,7 @@ def update_budget_api_v1_budgets_budget_id_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_budget_api_v1_budgets_budget_id_patch_serialize( + _param = self._budgets_update_budget_serialize( budget_id=budget_id, update_budget_request=update_budget_request, _request_auth=_request_auth, @@ -1577,7 +1577,7 @@ def update_budget_api_v1_budgets_budget_id_patch_with_http_info( @validate_call - def update_budget_api_v1_budgets_budget_id_patch_without_preload_content( + def budgets_update_budget_without_preload_content( self, budget_id: StrictStr, update_budget_request: UpdateBudgetRequest, @@ -1624,7 +1624,7 @@ def update_budget_api_v1_budgets_budget_id_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_budget_api_v1_budgets_budget_id_patch_serialize( + _param = self._budgets_update_budget_serialize( budget_id=budget_id, update_budget_request=update_budget_request, _request_auth=_request_auth, @@ -1644,7 +1644,7 @@ def update_budget_api_v1_budgets_budget_id_patch_without_preload_content( return response_data.response - def _update_budget_api_v1_budgets_budget_id_patch_serialize( + def _budgets_update_budget_serialize( self, budget_id, update_budget_request, diff --git a/src/otari/_client/api/chat_api.py b/src/otari/_client/api/chat_api.py index 075f595c..9c846b00 100644 --- a/src/otari/_client/api/chat_api.py +++ b/src/otari/_client/api/chat_api.py @@ -37,7 +37,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def chat_completions_api_v1_chat_completions_post( + def chat_chat_completions( self, chat_completion_request: ChatCompletionRequest, _request_timeout: Union[ @@ -81,7 +81,7 @@ def chat_completions_api_v1_chat_completions_post( :return: Returns the result object. """ # noqa: E501 - _param = self._chat_completions_api_v1_chat_completions_post_serialize( + _param = self._chat_chat_completions_serialize( chat_completion_request=chat_completion_request, _request_auth=_request_auth, _content_type=_content_type, @@ -105,7 +105,7 @@ def chat_completions_api_v1_chat_completions_post( @validate_call - def chat_completions_api_v1_chat_completions_post_with_http_info( + def chat_chat_completions_with_http_info( self, chat_completion_request: ChatCompletionRequest, _request_timeout: Union[ @@ -149,7 +149,7 @@ def chat_completions_api_v1_chat_completions_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._chat_completions_api_v1_chat_completions_post_serialize( + _param = self._chat_chat_completions_serialize( chat_completion_request=chat_completion_request, _request_auth=_request_auth, _content_type=_content_type, @@ -173,7 +173,7 @@ def chat_completions_api_v1_chat_completions_post_with_http_info( @validate_call - def chat_completions_api_v1_chat_completions_post_without_preload_content( + def chat_chat_completions_without_preload_content( self, chat_completion_request: ChatCompletionRequest, _request_timeout: Union[ @@ -217,7 +217,7 @@ def chat_completions_api_v1_chat_completions_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._chat_completions_api_v1_chat_completions_post_serialize( + _param = self._chat_chat_completions_serialize( chat_completion_request=chat_completion_request, _request_auth=_request_auth, _content_type=_content_type, @@ -236,7 +236,7 @@ def chat_completions_api_v1_chat_completions_post_without_preload_content( return response_data.response - def _chat_completions_api_v1_chat_completions_post_serialize( + def _chat_chat_completions_serialize( self, chat_completion_request, _request_auth, diff --git a/src/otari/_client/api/embeddings_api.py b/src/otari/_client/api/embeddings_api.py index 276fc8bd..7daeb779 100644 --- a/src/otari/_client/api/embeddings_api.py +++ b/src/otari/_client/api/embeddings_api.py @@ -37,7 +37,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_embedding_api_v1_embeddings_post( + def embeddings_create_embedding( self, embedding_request: EmbeddingRequest, _request_timeout: Union[ @@ -81,7 +81,7 @@ def create_embedding_api_v1_embeddings_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_embedding_api_v1_embeddings_post_serialize( + _param = self._embeddings_create_embedding_serialize( embedding_request=embedding_request, _request_auth=_request_auth, _content_type=_content_type, @@ -105,7 +105,7 @@ def create_embedding_api_v1_embeddings_post( @validate_call - def create_embedding_api_v1_embeddings_post_with_http_info( + def embeddings_create_embedding_with_http_info( self, embedding_request: EmbeddingRequest, _request_timeout: Union[ @@ -149,7 +149,7 @@ def create_embedding_api_v1_embeddings_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_embedding_api_v1_embeddings_post_serialize( + _param = self._embeddings_create_embedding_serialize( embedding_request=embedding_request, _request_auth=_request_auth, _content_type=_content_type, @@ -173,7 +173,7 @@ def create_embedding_api_v1_embeddings_post_with_http_info( @validate_call - def create_embedding_api_v1_embeddings_post_without_preload_content( + def embeddings_create_embedding_without_preload_content( self, embedding_request: EmbeddingRequest, _request_timeout: Union[ @@ -217,7 +217,7 @@ def create_embedding_api_v1_embeddings_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_embedding_api_v1_embeddings_post_serialize( + _param = self._embeddings_create_embedding_serialize( embedding_request=embedding_request, _request_auth=_request_auth, _content_type=_content_type, @@ -236,7 +236,7 @@ def create_embedding_api_v1_embeddings_post_without_preload_content( return response_data.response - def _create_embedding_api_v1_embeddings_post_serialize( + def _embeddings_create_embedding_serialize( self, embedding_request, _request_auth, diff --git a/src/otari/_client/api/files_api.py b/src/otari/_client/api/files_api.py index a9040005..df62bd4d 100644 --- a/src/otari/_client/api/files_api.py +++ b/src/otari/_client/api/files_api.py @@ -38,7 +38,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_file_api_v1_files_post( + def files_create_file( self, file: StrictStr, purpose: Optional[StrictStr] = None, @@ -88,7 +88,7 @@ def create_file_api_v1_files_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_file_api_v1_files_post_serialize( + _param = self._files_create_file_serialize( file=file, purpose=purpose, user=user, @@ -114,7 +114,7 @@ def create_file_api_v1_files_post( @validate_call - def create_file_api_v1_files_post_with_http_info( + def files_create_file_with_http_info( self, file: StrictStr, purpose: Optional[StrictStr] = None, @@ -164,7 +164,7 @@ def create_file_api_v1_files_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_file_api_v1_files_post_serialize( + _param = self._files_create_file_serialize( file=file, purpose=purpose, user=user, @@ -190,7 +190,7 @@ def create_file_api_v1_files_post_with_http_info( @validate_call - def create_file_api_v1_files_post_without_preload_content( + def files_create_file_without_preload_content( self, file: StrictStr, purpose: Optional[StrictStr] = None, @@ -240,7 +240,7 @@ def create_file_api_v1_files_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_file_api_v1_files_post_serialize( + _param = self._files_create_file_serialize( file=file, purpose=purpose, user=user, @@ -261,7 +261,7 @@ def create_file_api_v1_files_post_without_preload_content( return response_data.response - def _create_file_api_v1_files_post_serialize( + def _files_create_file_serialize( self, file, purpose, @@ -346,7 +346,7 @@ def _create_file_api_v1_files_post_serialize( @validate_call - def delete_file_api_v1_files_file_id_delete( + def files_delete_file( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -393,7 +393,7 @@ def delete_file_api_v1_files_file_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_file_api_v1_files_file_id_delete_serialize( + _param = self._files_delete_file_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -418,7 +418,7 @@ def delete_file_api_v1_files_file_id_delete( @validate_call - def delete_file_api_v1_files_file_id_delete_with_http_info( + def files_delete_file_with_http_info( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -465,7 +465,7 @@ def delete_file_api_v1_files_file_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_file_api_v1_files_file_id_delete_serialize( + _param = self._files_delete_file_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -490,7 +490,7 @@ def delete_file_api_v1_files_file_id_delete_with_http_info( @validate_call - def delete_file_api_v1_files_file_id_delete_without_preload_content( + def files_delete_file_without_preload_content( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -537,7 +537,7 @@ def delete_file_api_v1_files_file_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_file_api_v1_files_file_id_delete_serialize( + _param = self._files_delete_file_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -557,7 +557,7 @@ def delete_file_api_v1_files_file_id_delete_without_preload_content( return response_data.response - def _delete_file_api_v1_files_file_id_delete_serialize( + def _files_delete_file_serialize( self, file_id, user, @@ -628,7 +628,7 @@ def _delete_file_api_v1_files_file_id_delete_serialize( @validate_call - def get_file_api_v1_files_file_id_get( + def files_get_file( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -675,7 +675,7 @@ def get_file_api_v1_files_file_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_file_api_v1_files_file_id_get_serialize( + _param = self._files_get_file_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -700,7 +700,7 @@ def get_file_api_v1_files_file_id_get( @validate_call - def get_file_api_v1_files_file_id_get_with_http_info( + def files_get_file_with_http_info( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -747,7 +747,7 @@ def get_file_api_v1_files_file_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_file_api_v1_files_file_id_get_serialize( + _param = self._files_get_file_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -772,7 +772,7 @@ def get_file_api_v1_files_file_id_get_with_http_info( @validate_call - def get_file_api_v1_files_file_id_get_without_preload_content( + def files_get_file_without_preload_content( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -819,7 +819,7 @@ def get_file_api_v1_files_file_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_file_api_v1_files_file_id_get_serialize( + _param = self._files_get_file_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -839,7 +839,7 @@ def get_file_api_v1_files_file_id_get_without_preload_content( return response_data.response - def _get_file_api_v1_files_file_id_get_serialize( + def _files_get_file_serialize( self, file_id, user, @@ -910,7 +910,7 @@ def _get_file_api_v1_files_file_id_get_serialize( @validate_call - def get_file_content_api_v1_files_file_id_content_get( + def files_get_file_content( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -957,7 +957,7 @@ def get_file_content_api_v1_files_file_id_content_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_file_content_api_v1_files_file_id_content_get_serialize( + _param = self._files_get_file_content_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -982,7 +982,7 @@ def get_file_content_api_v1_files_file_id_content_get( @validate_call - def get_file_content_api_v1_files_file_id_content_get_with_http_info( + def files_get_file_content_with_http_info( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -1029,7 +1029,7 @@ def get_file_content_api_v1_files_file_id_content_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_file_content_api_v1_files_file_id_content_get_serialize( + _param = self._files_get_file_content_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -1054,7 +1054,7 @@ def get_file_content_api_v1_files_file_id_content_get_with_http_info( @validate_call - def get_file_content_api_v1_files_file_id_content_get_without_preload_content( + def files_get_file_content_without_preload_content( self, file_id: StrictStr, user: Optional[StrictStr] = None, @@ -1101,7 +1101,7 @@ def get_file_content_api_v1_files_file_id_content_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_file_content_api_v1_files_file_id_content_get_serialize( + _param = self._files_get_file_content_serialize( file_id=file_id, user=user, _request_auth=_request_auth, @@ -1121,7 +1121,7 @@ def get_file_content_api_v1_files_file_id_content_get_without_preload_content( return response_data.response - def _get_file_content_api_v1_files_file_id_content_get_serialize( + def _files_get_file_content_serialize( self, file_id, user, @@ -1194,7 +1194,7 @@ def _get_file_content_api_v1_files_file_id_content_get_serialize( @validate_call - def list_files_api_v1_files_get( + def files_list_files( self, user: Optional[StrictStr] = None, purpose: Optional[StrictStr] = None, @@ -1244,7 +1244,7 @@ def list_files_api_v1_files_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_files_api_v1_files_get_serialize( + _param = self._files_list_files_serialize( user=user, purpose=purpose, workspace_id=workspace_id, @@ -1270,7 +1270,7 @@ def list_files_api_v1_files_get( @validate_call - def list_files_api_v1_files_get_with_http_info( + def files_list_files_with_http_info( self, user: Optional[StrictStr] = None, purpose: Optional[StrictStr] = None, @@ -1320,7 +1320,7 @@ def list_files_api_v1_files_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_files_api_v1_files_get_serialize( + _param = self._files_list_files_serialize( user=user, purpose=purpose, workspace_id=workspace_id, @@ -1346,7 +1346,7 @@ def list_files_api_v1_files_get_with_http_info( @validate_call - def list_files_api_v1_files_get_without_preload_content( + def files_list_files_without_preload_content( self, user: Optional[StrictStr] = None, purpose: Optional[StrictStr] = None, @@ -1396,7 +1396,7 @@ def list_files_api_v1_files_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_files_api_v1_files_get_serialize( + _param = self._files_list_files_serialize( user=user, purpose=purpose, workspace_id=workspace_id, @@ -1417,7 +1417,7 @@ def list_files_api_v1_files_get_without_preload_content( return response_data.response - def _list_files_api_v1_files_get_serialize( + def _files_list_files_serialize( self, user, purpose, diff --git a/src/otari/_client/api/health_api.py b/src/otari/_client/api/health_api.py index 2e4baeaf..8162e294 100644 --- a/src/otari/_client/api/health_api.py +++ b/src/otari/_client/api/health_api.py @@ -37,7 +37,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def health_check_api_v1_health_get( + def health_health_check( self, _request_timeout: Union[ None, @@ -78,7 +78,7 @@ def health_check_api_v1_health_get( :return: Returns the result object. """ # noqa: E501 - _param = self._health_check_api_v1_health_get_serialize( + _param = self._health_health_check_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100,7 +100,7 @@ def health_check_api_v1_health_get( @validate_call - def health_check_api_v1_health_get_with_http_info( + def health_health_check_with_http_info( self, _request_timeout: Union[ None, @@ -141,7 +141,7 @@ def health_check_api_v1_health_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._health_check_api_v1_health_get_serialize( + _param = self._health_health_check_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -163,7 +163,7 @@ def health_check_api_v1_health_get_with_http_info( @validate_call - def health_check_api_v1_health_get_without_preload_content( + def health_health_check_without_preload_content( self, _request_timeout: Union[ None, @@ -204,7 +204,7 @@ def health_check_api_v1_health_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._health_check_api_v1_health_get_serialize( + _param = self._health_health_check_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -221,7 +221,7 @@ def health_check_api_v1_health_get_without_preload_content( return response_data.response - def _health_check_api_v1_health_get_serialize( + def _health_health_check_serialize( self, _request_auth, _content_type, @@ -282,7 +282,7 @@ def _health_check_api_v1_health_get_serialize( @validate_call - def health_liveness_api_v1_health_liveness_get( + def health_health_liveness( self, _request_timeout: Union[ None, @@ -323,7 +323,7 @@ def health_liveness_api_v1_health_liveness_get( :return: Returns the result object. """ # noqa: E501 - _param = self._health_liveness_api_v1_health_liveness_get_serialize( + _param = self._health_health_liveness_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -345,7 +345,7 @@ def health_liveness_api_v1_health_liveness_get( @validate_call - def health_liveness_api_v1_health_liveness_get_with_http_info( + def health_health_liveness_with_http_info( self, _request_timeout: Union[ None, @@ -386,7 +386,7 @@ def health_liveness_api_v1_health_liveness_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._health_liveness_api_v1_health_liveness_get_serialize( + _param = self._health_health_liveness_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -408,7 +408,7 @@ def health_liveness_api_v1_health_liveness_get_with_http_info( @validate_call - def health_liveness_api_v1_health_liveness_get_without_preload_content( + def health_health_liveness_without_preload_content( self, _request_timeout: Union[ None, @@ -449,7 +449,7 @@ def health_liveness_api_v1_health_liveness_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._health_liveness_api_v1_health_liveness_get_serialize( + _param = self._health_health_liveness_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -466,7 +466,7 @@ def health_liveness_api_v1_health_liveness_get_without_preload_content( return response_data.response - def _health_liveness_api_v1_health_liveness_get_serialize( + def _health_health_liveness_serialize( self, _request_auth, _content_type, @@ -527,7 +527,7 @@ def _health_liveness_api_v1_health_liveness_get_serialize( @validate_call - def health_readiness_api_v1_health_readiness_get( + def health_health_readiness( self, _request_timeout: Union[ None, @@ -568,7 +568,7 @@ def health_readiness_api_v1_health_readiness_get( :return: Returns the result object. """ # noqa: E501 - _param = self._health_readiness_api_v1_health_readiness_get_serialize( + _param = self._health_health_readiness_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -590,7 +590,7 @@ def health_readiness_api_v1_health_readiness_get( @validate_call - def health_readiness_api_v1_health_readiness_get_with_http_info( + def health_health_readiness_with_http_info( self, _request_timeout: Union[ None, @@ -631,7 +631,7 @@ def health_readiness_api_v1_health_readiness_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._health_readiness_api_v1_health_readiness_get_serialize( + _param = self._health_health_readiness_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -653,7 +653,7 @@ def health_readiness_api_v1_health_readiness_get_with_http_info( @validate_call - def health_readiness_api_v1_health_readiness_get_without_preload_content( + def health_health_readiness_without_preload_content( self, _request_timeout: Union[ None, @@ -694,7 +694,7 @@ def health_readiness_api_v1_health_readiness_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._health_readiness_api_v1_health_readiness_get_serialize( + _param = self._health_health_readiness_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -711,7 +711,7 @@ def health_readiness_api_v1_health_readiness_get_without_preload_content( return response_data.response - def _health_readiness_api_v1_health_readiness_get_serialize( + def _health_health_readiness_serialize( self, _request_auth, _content_type, diff --git a/src/otari/_client/api/images_api.py b/src/otari/_client/api/images_api.py index db64f560..15125a83 100644 --- a/src/otari/_client/api/images_api.py +++ b/src/otari/_client/api/images_api.py @@ -37,7 +37,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_image_api_v1_images_generations_post( + def images_create_image( self, image_generation_request: ImageGenerationRequest, _request_timeout: Union[ @@ -81,7 +81,7 @@ def create_image_api_v1_images_generations_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_image_api_v1_images_generations_post_serialize( + _param = self._images_create_image_serialize( image_generation_request=image_generation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -105,7 +105,7 @@ def create_image_api_v1_images_generations_post( @validate_call - def create_image_api_v1_images_generations_post_with_http_info( + def images_create_image_with_http_info( self, image_generation_request: ImageGenerationRequest, _request_timeout: Union[ @@ -149,7 +149,7 @@ def create_image_api_v1_images_generations_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_image_api_v1_images_generations_post_serialize( + _param = self._images_create_image_serialize( image_generation_request=image_generation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -173,7 +173,7 @@ def create_image_api_v1_images_generations_post_with_http_info( @validate_call - def create_image_api_v1_images_generations_post_without_preload_content( + def images_create_image_without_preload_content( self, image_generation_request: ImageGenerationRequest, _request_timeout: Union[ @@ -217,7 +217,7 @@ def create_image_api_v1_images_generations_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_image_api_v1_images_generations_post_serialize( + _param = self._images_create_image_serialize( image_generation_request=image_generation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -236,7 +236,7 @@ def create_image_api_v1_images_generations_post_without_preload_content( return response_data.response - def _create_image_api_v1_images_generations_post_serialize( + def _images_create_image_serialize( self, image_generation_request, _request_auth, diff --git a/src/otari/_client/api/invitations_api.py b/src/otari/_client/api/invitations_api.py index d000d91c..ed1569b5 100644 --- a/src/otari/_client/api/invitations_api.py +++ b/src/otari/_client/api/invitations_api.py @@ -39,7 +39,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def accept_invitation_api_v1_invitations_accept_post( + def invitations_accept_invitation( self, accept_invitation_request: AcceptInvitationRequest, _request_timeout: Union[ @@ -83,7 +83,7 @@ def accept_invitation_api_v1_invitations_accept_post( :return: Returns the result object. """ # noqa: E501 - _param = self._accept_invitation_api_v1_invitations_accept_post_serialize( + _param = self._invitations_accept_invitation_serialize( accept_invitation_request=accept_invitation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -107,7 +107,7 @@ def accept_invitation_api_v1_invitations_accept_post( @validate_call - def accept_invitation_api_v1_invitations_accept_post_with_http_info( + def invitations_accept_invitation_with_http_info( self, accept_invitation_request: AcceptInvitationRequest, _request_timeout: Union[ @@ -151,7 +151,7 @@ def accept_invitation_api_v1_invitations_accept_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._accept_invitation_api_v1_invitations_accept_post_serialize( + _param = self._invitations_accept_invitation_serialize( accept_invitation_request=accept_invitation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -175,7 +175,7 @@ def accept_invitation_api_v1_invitations_accept_post_with_http_info( @validate_call - def accept_invitation_api_v1_invitations_accept_post_without_preload_content( + def invitations_accept_invitation_without_preload_content( self, accept_invitation_request: AcceptInvitationRequest, _request_timeout: Union[ @@ -219,7 +219,7 @@ def accept_invitation_api_v1_invitations_accept_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._accept_invitation_api_v1_invitations_accept_post_serialize( + _param = self._invitations_accept_invitation_serialize( accept_invitation_request=accept_invitation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -238,7 +238,7 @@ def accept_invitation_api_v1_invitations_accept_post_without_preload_content( return response_data.response - def _accept_invitation_api_v1_invitations_accept_post_serialize( + def _invitations_accept_invitation_serialize( self, accept_invitation_request, _request_auth, @@ -315,7 +315,7 @@ def _accept_invitation_api_v1_invitations_accept_post_serialize( @validate_call - def validate_invitation_api_v1_invitations_validate_post( + def invitations_validate_invitation( self, validate_invitation_request: ValidateInvitationRequest, _request_timeout: Union[ @@ -359,7 +359,7 @@ def validate_invitation_api_v1_invitations_validate_post( :return: Returns the result object. """ # noqa: E501 - _param = self._validate_invitation_api_v1_invitations_validate_post_serialize( + _param = self._invitations_validate_invitation_serialize( validate_invitation_request=validate_invitation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -383,7 +383,7 @@ def validate_invitation_api_v1_invitations_validate_post( @validate_call - def validate_invitation_api_v1_invitations_validate_post_with_http_info( + def invitations_validate_invitation_with_http_info( self, validate_invitation_request: ValidateInvitationRequest, _request_timeout: Union[ @@ -427,7 +427,7 @@ def validate_invitation_api_v1_invitations_validate_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._validate_invitation_api_v1_invitations_validate_post_serialize( + _param = self._invitations_validate_invitation_serialize( validate_invitation_request=validate_invitation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -451,7 +451,7 @@ def validate_invitation_api_v1_invitations_validate_post_with_http_info( @validate_call - def validate_invitation_api_v1_invitations_validate_post_without_preload_content( + def invitations_validate_invitation_without_preload_content( self, validate_invitation_request: ValidateInvitationRequest, _request_timeout: Union[ @@ -495,7 +495,7 @@ def validate_invitation_api_v1_invitations_validate_post_without_preload_content :return: Returns the result object. """ # noqa: E501 - _param = self._validate_invitation_api_v1_invitations_validate_post_serialize( + _param = self._invitations_validate_invitation_serialize( validate_invitation_request=validate_invitation_request, _request_auth=_request_auth, _content_type=_content_type, @@ -514,7 +514,7 @@ def validate_invitation_api_v1_invitations_validate_post_without_preload_content return response_data.response - def _validate_invitation_api_v1_invitations_validate_post_serialize( + def _invitations_validate_invitation_serialize( self, validate_invitation_request, _request_auth, diff --git a/src/otari/_client/api/keys_api.py b/src/otari/_client/api/keys_api.py index baf4ab83..a2ff62d2 100644 --- a/src/otari/_client/api/keys_api.py +++ b/src/otari/_client/api/keys_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_key_api_v1_keys_post( + def keys_create_key( self, create_key_request: CreateKeyRequest, _request_timeout: Union[ @@ -87,7 +87,7 @@ def create_key_api_v1_keys_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_key_api_v1_keys_post_serialize( + _param = self._keys_create_key_serialize( create_key_request=create_key_request, _request_auth=_request_auth, _content_type=_content_type, @@ -111,7 +111,7 @@ def create_key_api_v1_keys_post( @validate_call - def create_key_api_v1_keys_post_with_http_info( + def keys_create_key_with_http_info( self, create_key_request: CreateKeyRequest, _request_timeout: Union[ @@ -155,7 +155,7 @@ def create_key_api_v1_keys_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_key_api_v1_keys_post_serialize( + _param = self._keys_create_key_serialize( create_key_request=create_key_request, _request_auth=_request_auth, _content_type=_content_type, @@ -179,7 +179,7 @@ def create_key_api_v1_keys_post_with_http_info( @validate_call - def create_key_api_v1_keys_post_without_preload_content( + def keys_create_key_without_preload_content( self, create_key_request: CreateKeyRequest, _request_timeout: Union[ @@ -223,7 +223,7 @@ def create_key_api_v1_keys_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_key_api_v1_keys_post_serialize( + _param = self._keys_create_key_serialize( create_key_request=create_key_request, _request_auth=_request_auth, _content_type=_content_type, @@ -242,7 +242,7 @@ def create_key_api_v1_keys_post_without_preload_content( return response_data.response - def _create_key_api_v1_keys_post_serialize( + def _keys_create_key_serialize( self, create_key_request, _request_auth, @@ -321,7 +321,7 @@ def _create_key_api_v1_keys_post_serialize( @validate_call - def delete_key_api_v1_keys_key_id_delete( + def keys_delete_key( self, key_id: StrictStr, _request_timeout: Union[ @@ -365,7 +365,7 @@ def delete_key_api_v1_keys_key_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_key_api_v1_keys_key_id_delete_serialize( + _param = self._keys_delete_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -389,7 +389,7 @@ def delete_key_api_v1_keys_key_id_delete( @validate_call - def delete_key_api_v1_keys_key_id_delete_with_http_info( + def keys_delete_key_with_http_info( self, key_id: StrictStr, _request_timeout: Union[ @@ -433,7 +433,7 @@ def delete_key_api_v1_keys_key_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_key_api_v1_keys_key_id_delete_serialize( + _param = self._keys_delete_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -457,7 +457,7 @@ def delete_key_api_v1_keys_key_id_delete_with_http_info( @validate_call - def delete_key_api_v1_keys_key_id_delete_without_preload_content( + def keys_delete_key_without_preload_content( self, key_id: StrictStr, _request_timeout: Union[ @@ -501,7 +501,7 @@ def delete_key_api_v1_keys_key_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_key_api_v1_keys_key_id_delete_serialize( + _param = self._keys_delete_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -520,7 +520,7 @@ def delete_key_api_v1_keys_key_id_delete_without_preload_content( return response_data.response - def _delete_key_api_v1_keys_key_id_delete_serialize( + def _keys_delete_key_serialize( self, key_id, _request_auth, @@ -586,7 +586,7 @@ def _delete_key_api_v1_keys_key_id_delete_serialize( @validate_call - def get_key_api_v1_keys_key_id_get( + def keys_get_key( self, key_id: StrictStr, _request_timeout: Union[ @@ -630,7 +630,7 @@ def get_key_api_v1_keys_key_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_key_api_v1_keys_key_id_get_serialize( + _param = self._keys_get_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -654,7 +654,7 @@ def get_key_api_v1_keys_key_id_get( @validate_call - def get_key_api_v1_keys_key_id_get_with_http_info( + def keys_get_key_with_http_info( self, key_id: StrictStr, _request_timeout: Union[ @@ -698,7 +698,7 @@ def get_key_api_v1_keys_key_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_key_api_v1_keys_key_id_get_serialize( + _param = self._keys_get_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -722,7 +722,7 @@ def get_key_api_v1_keys_key_id_get_with_http_info( @validate_call - def get_key_api_v1_keys_key_id_get_without_preload_content( + def keys_get_key_without_preload_content( self, key_id: StrictStr, _request_timeout: Union[ @@ -766,7 +766,7 @@ def get_key_api_v1_keys_key_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_key_api_v1_keys_key_id_get_serialize( + _param = self._keys_get_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -785,7 +785,7 @@ def get_key_api_v1_keys_key_id_get_without_preload_content( return response_data.response - def _get_key_api_v1_keys_key_id_get_serialize( + def _keys_get_key_serialize( self, key_id, _request_auth, @@ -851,7 +851,7 @@ def _get_key_api_v1_keys_key_id_get_serialize( @validate_call - def list_keys_api_v1_keys_get( + def keys_list_keys( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -901,7 +901,7 @@ def list_keys_api_v1_keys_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_keys_api_v1_keys_get_serialize( + _param = self._keys_list_keys_serialize( skip=skip, limit=limit, workspace_id=workspace_id, @@ -927,7 +927,7 @@ def list_keys_api_v1_keys_get( @validate_call - def list_keys_api_v1_keys_get_with_http_info( + def keys_list_keys_with_http_info( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -977,7 +977,7 @@ def list_keys_api_v1_keys_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_keys_api_v1_keys_get_serialize( + _param = self._keys_list_keys_serialize( skip=skip, limit=limit, workspace_id=workspace_id, @@ -1003,7 +1003,7 @@ def list_keys_api_v1_keys_get_with_http_info( @validate_call - def list_keys_api_v1_keys_get_without_preload_content( + def keys_list_keys_without_preload_content( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1053,7 +1053,7 @@ def list_keys_api_v1_keys_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_keys_api_v1_keys_get_serialize( + _param = self._keys_list_keys_serialize( skip=skip, limit=limit, workspace_id=workspace_id, @@ -1074,7 +1074,7 @@ def list_keys_api_v1_keys_get_without_preload_content( return response_data.response - def _list_keys_api_v1_keys_get_serialize( + def _keys_list_keys_serialize( self, skip, limit, @@ -1152,7 +1152,7 @@ def _list_keys_api_v1_keys_get_serialize( @validate_call - def rotate_key_api_v1_keys_key_id_rotate_post( + def keys_rotate_key( self, key_id: StrictStr, _request_timeout: Union[ @@ -1196,7 +1196,7 @@ def rotate_key_api_v1_keys_key_id_rotate_post( :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_key_api_v1_keys_key_id_rotate_post_serialize( + _param = self._keys_rotate_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1220,7 +1220,7 @@ def rotate_key_api_v1_keys_key_id_rotate_post( @validate_call - def rotate_key_api_v1_keys_key_id_rotate_post_with_http_info( + def keys_rotate_key_with_http_info( self, key_id: StrictStr, _request_timeout: Union[ @@ -1264,7 +1264,7 @@ def rotate_key_api_v1_keys_key_id_rotate_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_key_api_v1_keys_key_id_rotate_post_serialize( + _param = self._keys_rotate_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1288,7 +1288,7 @@ def rotate_key_api_v1_keys_key_id_rotate_post_with_http_info( @validate_call - def rotate_key_api_v1_keys_key_id_rotate_post_without_preload_content( + def keys_rotate_key_without_preload_content( self, key_id: StrictStr, _request_timeout: Union[ @@ -1332,7 +1332,7 @@ def rotate_key_api_v1_keys_key_id_rotate_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_key_api_v1_keys_key_id_rotate_post_serialize( + _param = self._keys_rotate_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1351,7 +1351,7 @@ def rotate_key_api_v1_keys_key_id_rotate_post_without_preload_content( return response_data.response - def _rotate_key_api_v1_keys_key_id_rotate_post_serialize( + def _keys_rotate_key_serialize( self, key_id, _request_auth, @@ -1417,7 +1417,7 @@ def _rotate_key_api_v1_keys_key_id_rotate_post_serialize( @validate_call - def update_key_api_v1_keys_key_id_patch( + def keys_update_key( self, key_id: StrictStr, update_key_request: UpdateKeyRequest, @@ -1464,7 +1464,7 @@ def update_key_api_v1_keys_key_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_key_api_v1_keys_key_id_patch_serialize( + _param = self._keys_update_key_serialize( key_id=key_id, update_key_request=update_key_request, _request_auth=_request_auth, @@ -1489,7 +1489,7 @@ def update_key_api_v1_keys_key_id_patch( @validate_call - def update_key_api_v1_keys_key_id_patch_with_http_info( + def keys_update_key_with_http_info( self, key_id: StrictStr, update_key_request: UpdateKeyRequest, @@ -1536,7 +1536,7 @@ def update_key_api_v1_keys_key_id_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_key_api_v1_keys_key_id_patch_serialize( + _param = self._keys_update_key_serialize( key_id=key_id, update_key_request=update_key_request, _request_auth=_request_auth, @@ -1561,7 +1561,7 @@ def update_key_api_v1_keys_key_id_patch_with_http_info( @validate_call - def update_key_api_v1_keys_key_id_patch_without_preload_content( + def keys_update_key_without_preload_content( self, key_id: StrictStr, update_key_request: UpdateKeyRequest, @@ -1608,7 +1608,7 @@ def update_key_api_v1_keys_key_id_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_key_api_v1_keys_key_id_patch_serialize( + _param = self._keys_update_key_serialize( key_id=key_id, update_key_request=update_key_request, _request_auth=_request_auth, @@ -1628,7 +1628,7 @@ def update_key_api_v1_keys_key_id_patch_without_preload_content( return response_data.response - def _update_key_api_v1_keys_key_id_patch_serialize( + def _keys_update_key_serialize( self, key_id, update_key_request, diff --git a/src/otari/_client/api/mcp_api.py b/src/otari/_client/api/mcp_api.py index 3ae74ce9..f314ad8d 100644 --- a/src/otari/_client/api/mcp_api.py +++ b/src/otari/_client/api/mcp_api.py @@ -39,7 +39,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def execute_mcp_tool_api_v1_mcp_execute_post( + def mcp_execute_mcp_tool( self, mcp_execute_request: McpExecuteRequest, _request_timeout: Union[ @@ -83,7 +83,7 @@ def execute_mcp_tool_api_v1_mcp_execute_post( :return: Returns the result object. """ # noqa: E501 - _param = self._execute_mcp_tool_api_v1_mcp_execute_post_serialize( + _param = self._mcp_execute_mcp_tool_serialize( mcp_execute_request=mcp_execute_request, _request_auth=_request_auth, _content_type=_content_type, @@ -118,7 +118,7 @@ def execute_mcp_tool_api_v1_mcp_execute_post( @validate_call - def execute_mcp_tool_api_v1_mcp_execute_post_with_http_info( + def mcp_execute_mcp_tool_with_http_info( self, mcp_execute_request: McpExecuteRequest, _request_timeout: Union[ @@ -162,7 +162,7 @@ def execute_mcp_tool_api_v1_mcp_execute_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._execute_mcp_tool_api_v1_mcp_execute_post_serialize( + _param = self._mcp_execute_mcp_tool_serialize( mcp_execute_request=mcp_execute_request, _request_auth=_request_auth, _content_type=_content_type, @@ -197,7 +197,7 @@ def execute_mcp_tool_api_v1_mcp_execute_post_with_http_info( @validate_call - def execute_mcp_tool_api_v1_mcp_execute_post_without_preload_content( + def mcp_execute_mcp_tool_without_preload_content( self, mcp_execute_request: McpExecuteRequest, _request_timeout: Union[ @@ -241,7 +241,7 @@ def execute_mcp_tool_api_v1_mcp_execute_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._execute_mcp_tool_api_v1_mcp_execute_post_serialize( + _param = self._mcp_execute_mcp_tool_serialize( mcp_execute_request=mcp_execute_request, _request_auth=_request_auth, _content_type=_content_type, @@ -271,7 +271,7 @@ def execute_mcp_tool_api_v1_mcp_execute_post_without_preload_content( return response_data.response - def _execute_mcp_tool_api_v1_mcp_execute_post_serialize( + def _mcp_execute_mcp_tool_serialize( self, mcp_execute_request, _request_auth, @@ -350,7 +350,7 @@ def _execute_mcp_tool_api_v1_mcp_execute_post_serialize( @validate_call - def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get( + def mcp_list_mcp_tools( self, mcp_server_id: UUID, _request_timeout: Union[ @@ -394,7 +394,7 @@ def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_serialize( + _param = self._mcp_list_mcp_tools_serialize( mcp_server_id=mcp_server_id, _request_auth=_request_auth, _content_type=_content_type, @@ -427,7 +427,7 @@ def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get( @validate_call - def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_with_http_info( + def mcp_list_mcp_tools_with_http_info( self, mcp_server_id: UUID, _request_timeout: Union[ @@ -471,7 +471,7 @@ def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_serialize( + _param = self._mcp_list_mcp_tools_serialize( mcp_server_id=mcp_server_id, _request_auth=_request_auth, _content_type=_content_type, @@ -504,7 +504,7 @@ def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_with_http_info( @validate_call - def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_without_preload_content( + def mcp_list_mcp_tools_without_preload_content( self, mcp_server_id: UUID, _request_timeout: Union[ @@ -548,7 +548,7 @@ def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_serialize( + _param = self._mcp_list_mcp_tools_serialize( mcp_server_id=mcp_server_id, _request_auth=_request_auth, _content_type=_content_type, @@ -576,7 +576,7 @@ def list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_without_preload_co return response_data.response - def _list_mcp_tools_api_v1_mcp_servers_mcp_server_id_tools_get_serialize( + def _mcp_list_mcp_tools_serialize( self, mcp_server_id, _request_auth, diff --git a/src/otari/_client/api/mcp_servers_api.py b/src/otari/_client/api/mcp_servers_api.py index 088f2a2d..f5a538e8 100644 --- a/src/otari/_client/api/mcp_servers_api.py +++ b/src/otari/_client/api/mcp_servers_api.py @@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post( + def mcp_servers_create_workspace_mcp_server( self, workspace_id: UUID, workspace_mcp_server_create: WorkspaceMcpServerCreate, @@ -91,7 +91,7 @@ def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_serialize( + _param = self._mcp_servers_create_workspace_mcp_server_serialize( workspace_id=workspace_id, workspace_mcp_server_create=workspace_mcp_server_create, _request_auth=_request_auth, @@ -116,7 +116,7 @@ def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post( @validate_call - def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_with_http_info( + def mcp_servers_create_workspace_mcp_server_with_http_info( self, workspace_id: UUID, workspace_mcp_server_create: WorkspaceMcpServerCreate, @@ -163,7 +163,7 @@ def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_ :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_serialize( + _param = self._mcp_servers_create_workspace_mcp_server_serialize( workspace_id=workspace_id, workspace_mcp_server_create=workspace_mcp_server_create, _request_auth=_request_auth, @@ -188,7 +188,7 @@ def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_ @validate_call - def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_without_preload_content( + def mcp_servers_create_workspace_mcp_server_without_preload_content( self, workspace_id: UUID, workspace_mcp_server_create: WorkspaceMcpServerCreate, @@ -235,7 +235,7 @@ def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_ :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_serialize( + _param = self._mcp_servers_create_workspace_mcp_server_serialize( workspace_id=workspace_id, workspace_mcp_server_create=workspace_mcp_server_create, _request_auth=_request_auth, @@ -255,7 +255,7 @@ def create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_ return response_data.response - def _create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post_serialize( + def _mcp_servers_create_workspace_mcp_server_serialize( self, workspace_id, workspace_mcp_server_create, @@ -337,7 +337,7 @@ def _create_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_post @validate_call - def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_delete( + def mcp_servers_delete_workspace_mcp_server( self, workspace_id: UUID, server_id: UUID, @@ -384,7 +384,7 @@ def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_delete_serialize( + _param = self._mcp_servers_delete_workspace_mcp_server_serialize( workspace_id=workspace_id, server_id=server_id, _request_auth=_request_auth, @@ -409,7 +409,7 @@ def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve @validate_call - def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_delete_with_http_info( + def mcp_servers_delete_workspace_mcp_server_with_http_info( self, workspace_id: UUID, server_id: UUID, @@ -456,7 +456,7 @@ def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_delete_serialize( + _param = self._mcp_servers_delete_workspace_mcp_server_serialize( workspace_id=workspace_id, server_id=server_id, _request_auth=_request_auth, @@ -481,7 +481,7 @@ def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve @validate_call - def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_delete_without_preload_content( + def mcp_servers_delete_workspace_mcp_server_without_preload_content( self, workspace_id: UUID, server_id: UUID, @@ -528,7 +528,7 @@ def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_delete_serialize( + _param = self._mcp_servers_delete_workspace_mcp_server_serialize( workspace_id=workspace_id, server_id=server_id, _request_auth=_request_auth, @@ -548,7 +548,7 @@ def delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve return response_data.response - def _delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_delete_serialize( + def _mcp_servers_delete_workspace_mcp_server_serialize( self, workspace_id, server_id, @@ -617,7 +617,7 @@ def _delete_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serv @validate_call - def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get( + def mcp_servers_list_workspace_mcp_servers( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -667,7 +667,7 @@ def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_serialize( + _param = self._mcp_servers_list_workspace_mcp_servers_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -693,7 +693,7 @@ def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get( @validate_call - def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_with_http_info( + def mcp_servers_list_workspace_mcp_servers_with_http_info( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -743,7 +743,7 @@ def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_wi :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_serialize( + _param = self._mcp_servers_list_workspace_mcp_servers_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -769,7 +769,7 @@ def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_wi @validate_call - def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_without_preload_content( + def mcp_servers_list_workspace_mcp_servers_without_preload_content( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -819,7 +819,7 @@ def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_wi :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_serialize( + _param = self._mcp_servers_list_workspace_mcp_servers_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -840,7 +840,7 @@ def list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_wi return response_data.response - def _list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_serialize( + def _mcp_servers_list_workspace_mcp_servers_serialize( self, workspace_id, skip, @@ -916,7 +916,7 @@ def _list_workspace_mcp_servers_api_v1_workspaces_workspace_id_mcp_servers_get_s @validate_call - def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_patch( + def mcp_servers_update_workspace_mcp_server( self, workspace_id: UUID, server_id: UUID, @@ -966,7 +966,7 @@ def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_patch_serialize( + _param = self._mcp_servers_update_workspace_mcp_server_serialize( workspace_id=workspace_id, server_id=server_id, workspace_mcp_server_update=workspace_mcp_server_update, @@ -992,7 +992,7 @@ def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve @validate_call - def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_patch_with_http_info( + def mcp_servers_update_workspace_mcp_server_with_http_info( self, workspace_id: UUID, server_id: UUID, @@ -1042,7 +1042,7 @@ def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_patch_serialize( + _param = self._mcp_servers_update_workspace_mcp_server_serialize( workspace_id=workspace_id, server_id=server_id, workspace_mcp_server_update=workspace_mcp_server_update, @@ -1068,7 +1068,7 @@ def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve @validate_call - def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_patch_without_preload_content( + def mcp_servers_update_workspace_mcp_server_without_preload_content( self, workspace_id: UUID, server_id: UUID, @@ -1118,7 +1118,7 @@ def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_patch_serialize( + _param = self._mcp_servers_update_workspace_mcp_server_serialize( workspace_id=workspace_id, server_id=server_id, workspace_mcp_server_update=workspace_mcp_server_update, @@ -1139,7 +1139,7 @@ def update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_serve return response_data.response - def _update_workspace_mcp_server_api_v1_workspaces_workspace_id_mcp_servers_server_id_patch_serialize( + def _mcp_servers_update_workspace_mcp_server_serialize( self, workspace_id, server_id, diff --git a/src/otari/_client/api/messages_api.py b/src/otari/_client/api/messages_api.py index ebd00838..287e0f1d 100644 --- a/src/otari/_client/api/messages_api.py +++ b/src/otari/_client/api/messages_api.py @@ -39,7 +39,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def count_message_tokens_api_v1_messages_count_tokens_post( + def messages_count_message_tokens( self, count_tokens_request: CountTokensRequest, _request_timeout: Union[ @@ -83,7 +83,7 @@ def count_message_tokens_api_v1_messages_count_tokens_post( :return: Returns the result object. """ # noqa: E501 - _param = self._count_message_tokens_api_v1_messages_count_tokens_post_serialize( + _param = self._messages_count_message_tokens_serialize( count_tokens_request=count_tokens_request, _request_auth=_request_auth, _content_type=_content_type, @@ -107,7 +107,7 @@ def count_message_tokens_api_v1_messages_count_tokens_post( @validate_call - def count_message_tokens_api_v1_messages_count_tokens_post_with_http_info( + def messages_count_message_tokens_with_http_info( self, count_tokens_request: CountTokensRequest, _request_timeout: Union[ @@ -151,7 +151,7 @@ def count_message_tokens_api_v1_messages_count_tokens_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._count_message_tokens_api_v1_messages_count_tokens_post_serialize( + _param = self._messages_count_message_tokens_serialize( count_tokens_request=count_tokens_request, _request_auth=_request_auth, _content_type=_content_type, @@ -175,7 +175,7 @@ def count_message_tokens_api_v1_messages_count_tokens_post_with_http_info( @validate_call - def count_message_tokens_api_v1_messages_count_tokens_post_without_preload_content( + def messages_count_message_tokens_without_preload_content( self, count_tokens_request: CountTokensRequest, _request_timeout: Union[ @@ -219,7 +219,7 @@ def count_message_tokens_api_v1_messages_count_tokens_post_without_preload_conte :return: Returns the result object. """ # noqa: E501 - _param = self._count_message_tokens_api_v1_messages_count_tokens_post_serialize( + _param = self._messages_count_message_tokens_serialize( count_tokens_request=count_tokens_request, _request_auth=_request_auth, _content_type=_content_type, @@ -238,7 +238,7 @@ def count_message_tokens_api_v1_messages_count_tokens_post_without_preload_conte return response_data.response - def _count_message_tokens_api_v1_messages_count_tokens_post_serialize( + def _messages_count_message_tokens_serialize( self, count_tokens_request, _request_auth, @@ -317,7 +317,7 @@ def _count_message_tokens_api_v1_messages_count_tokens_post_serialize( @validate_call - def create_message_api_v1_messages_post( + def messages_create_message( self, messages_request: MessagesRequest, _request_timeout: Union[ @@ -361,7 +361,7 @@ def create_message_api_v1_messages_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_message_api_v1_messages_post_serialize( + _param = self._messages_create_message_serialize( messages_request=messages_request, _request_auth=_request_auth, _content_type=_content_type, @@ -385,7 +385,7 @@ def create_message_api_v1_messages_post( @validate_call - def create_message_api_v1_messages_post_with_http_info( + def messages_create_message_with_http_info( self, messages_request: MessagesRequest, _request_timeout: Union[ @@ -429,7 +429,7 @@ def create_message_api_v1_messages_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_message_api_v1_messages_post_serialize( + _param = self._messages_create_message_serialize( messages_request=messages_request, _request_auth=_request_auth, _content_type=_content_type, @@ -453,7 +453,7 @@ def create_message_api_v1_messages_post_with_http_info( @validate_call - def create_message_api_v1_messages_post_without_preload_content( + def messages_create_message_without_preload_content( self, messages_request: MessagesRequest, _request_timeout: Union[ @@ -497,7 +497,7 @@ def create_message_api_v1_messages_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_message_api_v1_messages_post_serialize( + _param = self._messages_create_message_serialize( messages_request=messages_request, _request_auth=_request_auth, _content_type=_content_type, @@ -516,7 +516,7 @@ def create_message_api_v1_messages_post_without_preload_content( return response_data.response - def _create_message_api_v1_messages_post_serialize( + def _messages_create_message_serialize( self, messages_request, _request_auth, diff --git a/src/otari/_client/api/models_api.py b/src/otari/_client/api/models_api.py index f2976232..477ff91e 100644 --- a/src/otari/_client/api/models_api.py +++ b/src/otari/_client/api/models_api.py @@ -42,7 +42,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def get_model_api_v1_models_model_id_get( + def models_get_model( self, model_id: StrictStr, _request_timeout: Union[ @@ -86,7 +86,7 @@ def get_model_api_v1_models_model_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_model_api_v1_models_model_id_get_serialize( + _param = self._models_get_model_serialize( model_id=model_id, _request_auth=_request_auth, _content_type=_content_type, @@ -110,7 +110,7 @@ def get_model_api_v1_models_model_id_get( @validate_call - def get_model_api_v1_models_model_id_get_with_http_info( + def models_get_model_with_http_info( self, model_id: StrictStr, _request_timeout: Union[ @@ -154,7 +154,7 @@ def get_model_api_v1_models_model_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_model_api_v1_models_model_id_get_serialize( + _param = self._models_get_model_serialize( model_id=model_id, _request_auth=_request_auth, _content_type=_content_type, @@ -178,7 +178,7 @@ def get_model_api_v1_models_model_id_get_with_http_info( @validate_call - def get_model_api_v1_models_model_id_get_without_preload_content( + def models_get_model_without_preload_content( self, model_id: StrictStr, _request_timeout: Union[ @@ -222,7 +222,7 @@ def get_model_api_v1_models_model_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_model_api_v1_models_model_id_get_serialize( + _param = self._models_get_model_serialize( model_id=model_id, _request_auth=_request_auth, _content_type=_content_type, @@ -241,7 +241,7 @@ def get_model_api_v1_models_model_id_get_without_preload_content( return response_data.response - def _get_model_api_v1_models_model_id_get_serialize( + def _models_get_model_serialize( self, model_id, _request_auth, @@ -307,7 +307,7 @@ def _get_model_api_v1_models_model_id_get_serialize( @validate_call - def list_discoverable_models_api_v1_models_discoverable_get( + def models_list_discoverable_models( self, refresh: Annotated[Optional[StrictBool], Field(description="Re-dial every provider instead of answering from the discovery cache.")] = None, _request_timeout: Union[ @@ -351,7 +351,7 @@ def list_discoverable_models_api_v1_models_discoverable_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_discoverable_models_api_v1_models_discoverable_get_serialize( + _param = self._models_list_discoverable_models_serialize( refresh=refresh, _request_auth=_request_auth, _content_type=_content_type, @@ -375,7 +375,7 @@ def list_discoverable_models_api_v1_models_discoverable_get( @validate_call - def list_discoverable_models_api_v1_models_discoverable_get_with_http_info( + def models_list_discoverable_models_with_http_info( self, refresh: Annotated[Optional[StrictBool], Field(description="Re-dial every provider instead of answering from the discovery cache.")] = None, _request_timeout: Union[ @@ -419,7 +419,7 @@ def list_discoverable_models_api_v1_models_discoverable_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_discoverable_models_api_v1_models_discoverable_get_serialize( + _param = self._models_list_discoverable_models_serialize( refresh=refresh, _request_auth=_request_auth, _content_type=_content_type, @@ -443,7 +443,7 @@ def list_discoverable_models_api_v1_models_discoverable_get_with_http_info( @validate_call - def list_discoverable_models_api_v1_models_discoverable_get_without_preload_content( + def models_list_discoverable_models_without_preload_content( self, refresh: Annotated[Optional[StrictBool], Field(description="Re-dial every provider instead of answering from the discovery cache.")] = None, _request_timeout: Union[ @@ -487,7 +487,7 @@ def list_discoverable_models_api_v1_models_discoverable_get_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._list_discoverable_models_api_v1_models_discoverable_get_serialize( + _param = self._models_list_discoverable_models_serialize( refresh=refresh, _request_auth=_request_auth, _content_type=_content_type, @@ -506,7 +506,7 @@ def list_discoverable_models_api_v1_models_discoverable_get_without_preload_cont return response_data.response - def _list_discoverable_models_api_v1_models_discoverable_get_serialize( + def _models_list_discoverable_models_serialize( self, refresh, _request_auth, @@ -574,7 +574,7 @@ def _list_discoverable_models_api_v1_models_discoverable_get_serialize( @validate_call - def list_model_metadata_api_v1_models_metadata_get( + def models_list_model_metadata( self, _request_timeout: Union[ None, @@ -615,7 +615,7 @@ def list_model_metadata_api_v1_models_metadata_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_model_metadata_api_v1_models_metadata_get_serialize( + _param = self._models_list_model_metadata_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -637,7 +637,7 @@ def list_model_metadata_api_v1_models_metadata_get( @validate_call - def list_model_metadata_api_v1_models_metadata_get_with_http_info( + def models_list_model_metadata_with_http_info( self, _request_timeout: Union[ None, @@ -678,7 +678,7 @@ def list_model_metadata_api_v1_models_metadata_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_model_metadata_api_v1_models_metadata_get_serialize( + _param = self._models_list_model_metadata_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -700,7 +700,7 @@ def list_model_metadata_api_v1_models_metadata_get_with_http_info( @validate_call - def list_model_metadata_api_v1_models_metadata_get_without_preload_content( + def models_list_model_metadata_without_preload_content( self, _request_timeout: Union[ None, @@ -741,7 +741,7 @@ def list_model_metadata_api_v1_models_metadata_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_model_metadata_api_v1_models_metadata_get_serialize( + _param = self._models_list_model_metadata_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -758,7 +758,7 @@ def list_model_metadata_api_v1_models_metadata_get_without_preload_content( return response_data.response - def _list_model_metadata_api_v1_models_metadata_get_serialize( + def _models_list_model_metadata_serialize( self, _request_auth, _content_type, @@ -821,7 +821,7 @@ def _list_model_metadata_api_v1_models_metadata_get_serialize( @validate_call - def list_models_api_v1_models_get( + def models_list_models( self, provider: Annotated[Optional[StrictStr], Field(description="Filter models by provider name")] = None, _request_timeout: Union[ @@ -865,7 +865,7 @@ def list_models_api_v1_models_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_models_api_v1_models_get_serialize( + _param = self._models_list_models_serialize( provider=provider, _request_auth=_request_auth, _content_type=_content_type, @@ -889,7 +889,7 @@ def list_models_api_v1_models_get( @validate_call - def list_models_api_v1_models_get_with_http_info( + def models_list_models_with_http_info( self, provider: Annotated[Optional[StrictStr], Field(description="Filter models by provider name")] = None, _request_timeout: Union[ @@ -933,7 +933,7 @@ def list_models_api_v1_models_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_models_api_v1_models_get_serialize( + _param = self._models_list_models_serialize( provider=provider, _request_auth=_request_auth, _content_type=_content_type, @@ -957,7 +957,7 @@ def list_models_api_v1_models_get_with_http_info( @validate_call - def list_models_api_v1_models_get_without_preload_content( + def models_list_models_without_preload_content( self, provider: Annotated[Optional[StrictStr], Field(description="Filter models by provider name")] = None, _request_timeout: Union[ @@ -1001,7 +1001,7 @@ def list_models_api_v1_models_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_models_api_v1_models_get_serialize( + _param = self._models_list_models_serialize( provider=provider, _request_auth=_request_auth, _content_type=_content_type, @@ -1020,7 +1020,7 @@ def list_models_api_v1_models_get_without_preload_content( return response_data.response - def _list_models_api_v1_models_get_serialize( + def _models_list_models_serialize( self, provider, _request_auth, diff --git a/src/otari/_client/api/moderations_api.py b/src/otari/_client/api/moderations_api.py index e38bd393..0641ad73 100644 --- a/src/otari/_client/api/moderations_api.py +++ b/src/otari/_client/api/moderations_api.py @@ -39,7 +39,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_moderation_api_v1_moderations_post( + def moderations_create_moderation( self, moderation_request: ModerationRequest, include_raw: Optional[StrictBool] = None, @@ -86,7 +86,7 @@ def create_moderation_api_v1_moderations_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_moderation_api_v1_moderations_post_serialize( + _param = self._moderations_create_moderation_serialize( moderation_request=moderation_request, include_raw=include_raw, _request_auth=_request_auth, @@ -111,7 +111,7 @@ def create_moderation_api_v1_moderations_post( @validate_call - def create_moderation_api_v1_moderations_post_with_http_info( + def moderations_create_moderation_with_http_info( self, moderation_request: ModerationRequest, include_raw: Optional[StrictBool] = None, @@ -158,7 +158,7 @@ def create_moderation_api_v1_moderations_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_moderation_api_v1_moderations_post_serialize( + _param = self._moderations_create_moderation_serialize( moderation_request=moderation_request, include_raw=include_raw, _request_auth=_request_auth, @@ -183,7 +183,7 @@ def create_moderation_api_v1_moderations_post_with_http_info( @validate_call - def create_moderation_api_v1_moderations_post_without_preload_content( + def moderations_create_moderation_without_preload_content( self, moderation_request: ModerationRequest, include_raw: Optional[StrictBool] = None, @@ -230,7 +230,7 @@ def create_moderation_api_v1_moderations_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_moderation_api_v1_moderations_post_serialize( + _param = self._moderations_create_moderation_serialize( moderation_request=moderation_request, include_raw=include_raw, _request_auth=_request_auth, @@ -250,7 +250,7 @@ def create_moderation_api_v1_moderations_post_without_preload_content( return response_data.response - def _create_moderation_api_v1_moderations_post_serialize( + def _moderations_create_moderation_serialize( self, moderation_request, include_raw, diff --git a/src/otari/_client/api/organization_budgets_api.py b/src/otari/_client/api/organization_budgets_api.py index e336b138..0be530c8 100644 --- a/src/otari/_client/api/organization_budgets_api.py +++ b/src/otari/_client/api/organization_budgets_api.py @@ -47,7 +47,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_organization_budget_api_v1_organizations_me_budgets_post( + def organization_budgets_create_organization_budget( self, organization_budget_create: OrganizationBudgetCreate, _request_timeout: Union[ @@ -91,7 +91,7 @@ def create_organization_budget_api_v1_organizations_me_budgets_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_budget_api_v1_organizations_me_budgets_post_serialize( + _param = self._organization_budgets_create_organization_budget_serialize( organization_budget_create=organization_budget_create, _request_auth=_request_auth, _content_type=_content_type, @@ -115,7 +115,7 @@ def create_organization_budget_api_v1_organizations_me_budgets_post( @validate_call - def create_organization_budget_api_v1_organizations_me_budgets_post_with_http_info( + def organization_budgets_create_organization_budget_with_http_info( self, organization_budget_create: OrganizationBudgetCreate, _request_timeout: Union[ @@ -159,7 +159,7 @@ def create_organization_budget_api_v1_organizations_me_budgets_post_with_http_in :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_budget_api_v1_organizations_me_budgets_post_serialize( + _param = self._organization_budgets_create_organization_budget_serialize( organization_budget_create=organization_budget_create, _request_auth=_request_auth, _content_type=_content_type, @@ -183,7 +183,7 @@ def create_organization_budget_api_v1_organizations_me_budgets_post_with_http_in @validate_call - def create_organization_budget_api_v1_organizations_me_budgets_post_without_preload_content( + def organization_budgets_create_organization_budget_without_preload_content( self, organization_budget_create: OrganizationBudgetCreate, _request_timeout: Union[ @@ -227,7 +227,7 @@ def create_organization_budget_api_v1_organizations_me_budgets_post_without_prel :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_budget_api_v1_organizations_me_budgets_post_serialize( + _param = self._organization_budgets_create_organization_budget_serialize( organization_budget_create=organization_budget_create, _request_auth=_request_auth, _content_type=_content_type, @@ -246,7 +246,7 @@ def create_organization_budget_api_v1_organizations_me_budgets_post_without_prel return response_data.response - def _create_organization_budget_api_v1_organizations_me_budgets_post_serialize( + def _organization_budgets_create_organization_budget_serialize( self, organization_budget_create, _request_auth, @@ -325,7 +325,7 @@ def _create_organization_budget_api_v1_organizations_me_budgets_post_serialize( @validate_call - def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_post( + def organization_budgets_create_organization_spend_ceiling( self, organization_scoped_budget_create: OrganizationScopedBudgetCreate, _request_timeout: Union[ @@ -369,7 +369,7 @@ def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_pos :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_post_serialize( + _param = self._organization_budgets_create_organization_spend_ceiling_serialize( organization_scoped_budget_create=organization_scoped_budget_create, _request_auth=_request_auth, _content_type=_content_type, @@ -393,7 +393,7 @@ def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_pos @validate_call - def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_post_with_http_info( + def organization_budgets_create_organization_spend_ceiling_with_http_info( self, organization_scoped_budget_create: OrganizationScopedBudgetCreate, _request_timeout: Union[ @@ -437,7 +437,7 @@ def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_pos :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_post_serialize( + _param = self._organization_budgets_create_organization_spend_ceiling_serialize( organization_scoped_budget_create=organization_scoped_budget_create, _request_auth=_request_auth, _content_type=_content_type, @@ -461,7 +461,7 @@ def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_pos @validate_call - def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_post_without_preload_content( + def organization_budgets_create_organization_spend_ceiling_without_preload_content( self, organization_scoped_budget_create: OrganizationScopedBudgetCreate, _request_timeout: Union[ @@ -505,7 +505,7 @@ def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_pos :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_post_serialize( + _param = self._organization_budgets_create_organization_spend_ceiling_serialize( organization_scoped_budget_create=organization_scoped_budget_create, _request_auth=_request_auth, _content_type=_content_type, @@ -524,7 +524,7 @@ def create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_pos return response_data.response - def _create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_post_serialize( + def _organization_budgets_create_organization_spend_ceiling_serialize( self, organization_scoped_budget_create, _request_auth, @@ -603,7 +603,7 @@ def _create_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_po @validate_call - def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete( + def organization_budgets_delete_organization_budget( self, budget_id: StrictStr, _request_timeout: Union[ @@ -647,7 +647,7 @@ def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_serialize( + _param = self._organization_budgets_delete_organization_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -671,7 +671,7 @@ def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete( @validate_call - def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_with_http_info( + def organization_budgets_delete_organization_budget_with_http_info( self, budget_id: StrictStr, _request_timeout: Union[ @@ -715,7 +715,7 @@ def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_ :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_serialize( + _param = self._organization_budgets_delete_organization_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -739,7 +739,7 @@ def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_ @validate_call - def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_without_preload_content( + def organization_budgets_delete_organization_budget_without_preload_content( self, budget_id: StrictStr, _request_timeout: Union[ @@ -783,7 +783,7 @@ def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_ :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_serialize( + _param = self._organization_budgets_delete_organization_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -802,7 +802,7 @@ def delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_ return response_data.response - def _delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete_serialize( + def _organization_budgets_delete_organization_budget_serialize( self, budget_id, _request_auth, @@ -868,7 +868,7 @@ def _delete_organization_budget_api_v1_organizations_me_budgets_budget_id_delete @validate_call - def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_delete( + def organization_budgets_delete_organization_spend_ceiling( self, ceiling_id: StrictStr, _request_timeout: Union[ @@ -912,7 +912,7 @@ def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_delete_serialize( + _param = self._organization_budgets_delete_organization_spend_ceiling_serialize( ceiling_id=ceiling_id, _request_auth=_request_auth, _content_type=_content_type, @@ -936,7 +936,7 @@ def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei @validate_call - def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_delete_with_http_info( + def organization_budgets_delete_organization_spend_ceiling_with_http_info( self, ceiling_id: StrictStr, _request_timeout: Union[ @@ -980,7 +980,7 @@ def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_delete_serialize( + _param = self._organization_budgets_delete_organization_spend_ceiling_serialize( ceiling_id=ceiling_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1004,7 +1004,7 @@ def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei @validate_call - def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_delete_without_preload_content( + def organization_budgets_delete_organization_spend_ceiling_without_preload_content( self, ceiling_id: StrictStr, _request_timeout: Union[ @@ -1048,7 +1048,7 @@ def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_delete_serialize( + _param = self._organization_budgets_delete_organization_spend_ceiling_serialize( ceiling_id=ceiling_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1067,7 +1067,7 @@ def delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei return response_data.response - def _delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_delete_serialize( + def _organization_budgets_delete_organization_spend_ceiling_serialize( self, ceiling_id, _request_auth, @@ -1133,7 +1133,7 @@ def _delete_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ce @validate_call - def list_organization_budgets_api_v1_organizations_me_budgets_get( + def organization_budgets_list_organization_budgets( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1180,7 +1180,7 @@ def list_organization_budgets_api_v1_organizations_me_budgets_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_budgets_api_v1_organizations_me_budgets_get_serialize( + _param = self._organization_budgets_list_organization_budgets_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1205,7 +1205,7 @@ def list_organization_budgets_api_v1_organizations_me_budgets_get( @validate_call - def list_organization_budgets_api_v1_organizations_me_budgets_get_with_http_info( + def organization_budgets_list_organization_budgets_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1252,7 +1252,7 @@ def list_organization_budgets_api_v1_organizations_me_budgets_get_with_http_info :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_budgets_api_v1_organizations_me_budgets_get_serialize( + _param = self._organization_budgets_list_organization_budgets_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1277,7 +1277,7 @@ def list_organization_budgets_api_v1_organizations_me_budgets_get_with_http_info @validate_call - def list_organization_budgets_api_v1_organizations_me_budgets_get_without_preload_content( + def organization_budgets_list_organization_budgets_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1324,7 +1324,7 @@ def list_organization_budgets_api_v1_organizations_me_budgets_get_without_preloa :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_budgets_api_v1_organizations_me_budgets_get_serialize( + _param = self._organization_budgets_list_organization_budgets_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1344,7 +1344,7 @@ def list_organization_budgets_api_v1_organizations_me_budgets_get_without_preloa return response_data.response - def _list_organization_budgets_api_v1_organizations_me_budgets_get_serialize( + def _organization_budgets_list_organization_budgets_serialize( self, skip, limit, @@ -1417,7 +1417,7 @@ def _list_organization_budgets_api_v1_organizations_me_budgets_get_serialize( @validate_call - def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get( + def organization_budgets_list_organization_spend_ceilings( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1464,7 +1464,7 @@ def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_serialize( + _param = self._organization_budgets_list_organization_spend_ceilings_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1489,7 +1489,7 @@ def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get( @validate_call - def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_with_http_info( + def organization_budgets_list_organization_spend_ceilings_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1536,7 +1536,7 @@ def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_serialize( + _param = self._organization_budgets_list_organization_spend_ceilings_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1561,7 +1561,7 @@ def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_ @validate_call - def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_without_preload_content( + def organization_budgets_list_organization_spend_ceilings_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1608,7 +1608,7 @@ def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_serialize( + _param = self._organization_budgets_list_organization_spend_ceilings_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1628,7 +1628,7 @@ def list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_ return response_data.response - def _list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get_serialize( + def _organization_budgets_list_organization_spend_ceilings_serialize( self, skip, limit, @@ -1701,7 +1701,7 @@ def _list_organization_spend_ceilings_api_v1_organizations_me_spend_ceilings_get @validate_call - def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch( + def organization_budgets_update_organization_budget( self, budget_id: StrictStr, organization_budget_update: OrganizationBudgetUpdate, @@ -1748,7 +1748,7 @@ def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_serialize( + _param = self._organization_budgets_update_organization_budget_serialize( budget_id=budget_id, organization_budget_update=organization_budget_update, _request_auth=_request_auth, @@ -1773,7 +1773,7 @@ def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch( @validate_call - def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_with_http_info( + def organization_budgets_update_organization_budget_with_http_info( self, budget_id: StrictStr, organization_budget_update: OrganizationBudgetUpdate, @@ -1820,7 +1820,7 @@ def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_w :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_serialize( + _param = self._organization_budgets_update_organization_budget_serialize( budget_id=budget_id, organization_budget_update=organization_budget_update, _request_auth=_request_auth, @@ -1845,7 +1845,7 @@ def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_w @validate_call - def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_without_preload_content( + def organization_budgets_update_organization_budget_without_preload_content( self, budget_id: StrictStr, organization_budget_update: OrganizationBudgetUpdate, @@ -1892,7 +1892,7 @@ def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_w :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_serialize( + _param = self._organization_budgets_update_organization_budget_serialize( budget_id=budget_id, organization_budget_update=organization_budget_update, _request_auth=_request_auth, @@ -1912,7 +1912,7 @@ def update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_w return response_data.response - def _update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_serialize( + def _organization_budgets_update_organization_budget_serialize( self, budget_id, organization_budget_update, @@ -1994,7 +1994,7 @@ def _update_organization_budget_api_v1_organizations_me_budgets_budget_id_patch_ @validate_call - def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_patch( + def organization_budgets_update_organization_spend_ceiling( self, ceiling_id: StrictStr, organization_scoped_budget_update: OrganizationScopedBudgetUpdate, @@ -2041,7 +2041,7 @@ def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_patch_serialize( + _param = self._organization_budgets_update_organization_spend_ceiling_serialize( ceiling_id=ceiling_id, organization_scoped_budget_update=organization_scoped_budget_update, _request_auth=_request_auth, @@ -2066,7 +2066,7 @@ def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei @validate_call - def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_patch_with_http_info( + def organization_budgets_update_organization_spend_ceiling_with_http_info( self, ceiling_id: StrictStr, organization_scoped_budget_update: OrganizationScopedBudgetUpdate, @@ -2113,7 +2113,7 @@ def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_patch_serialize( + _param = self._organization_budgets_update_organization_spend_ceiling_serialize( ceiling_id=ceiling_id, organization_scoped_budget_update=organization_scoped_budget_update, _request_auth=_request_auth, @@ -2138,7 +2138,7 @@ def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei @validate_call - def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_patch_without_preload_content( + def organization_budgets_update_organization_spend_ceiling_without_preload_content( self, ceiling_id: StrictStr, organization_scoped_budget_update: OrganizationScopedBudgetUpdate, @@ -2185,7 +2185,7 @@ def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_patch_serialize( + _param = self._organization_budgets_update_organization_spend_ceiling_serialize( ceiling_id=ceiling_id, organization_scoped_budget_update=organization_scoped_budget_update, _request_auth=_request_auth, @@ -2205,7 +2205,7 @@ def update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_cei return response_data.response - def _update_organization_spend_ceiling_api_v1_organizations_me_spend_ceilings_ceiling_id_patch_serialize( + def _organization_budgets_update_organization_spend_ceiling_serialize( self, ceiling_id, organization_scoped_budget_update, diff --git a/src/otari/_client/api/organization_guardrails_api.py b/src/otari/_client/api/organization_guardrails_api.py index d3303284..b5c9576c 100644 --- a/src/otari/_client/api/organization_guardrails_api.py +++ b/src/otari/_client/api/organization_guardrails_api.py @@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_organization_guardrail_api_v1_organizations_me_guardrails_post( + def organization_guardrails_create_organization_guardrail( self, organization_guardrail_create: OrganizationGuardrailCreate, _request_timeout: Union[ @@ -88,7 +88,7 @@ def create_organization_guardrail_api_v1_organizations_me_guardrails_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_guardrail_api_v1_organizations_me_guardrails_post_serialize( + _param = self._organization_guardrails_create_organization_guardrail_serialize( organization_guardrail_create=organization_guardrail_create, _request_auth=_request_auth, _content_type=_content_type, @@ -112,7 +112,7 @@ def create_organization_guardrail_api_v1_organizations_me_guardrails_post( @validate_call - def create_organization_guardrail_api_v1_organizations_me_guardrails_post_with_http_info( + def organization_guardrails_create_organization_guardrail_with_http_info( self, organization_guardrail_create: OrganizationGuardrailCreate, _request_timeout: Union[ @@ -156,7 +156,7 @@ def create_organization_guardrail_api_v1_organizations_me_guardrails_post_with_h :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_guardrail_api_v1_organizations_me_guardrails_post_serialize( + _param = self._organization_guardrails_create_organization_guardrail_serialize( organization_guardrail_create=organization_guardrail_create, _request_auth=_request_auth, _content_type=_content_type, @@ -180,7 +180,7 @@ def create_organization_guardrail_api_v1_organizations_me_guardrails_post_with_h @validate_call - def create_organization_guardrail_api_v1_organizations_me_guardrails_post_without_preload_content( + def organization_guardrails_create_organization_guardrail_without_preload_content( self, organization_guardrail_create: OrganizationGuardrailCreate, _request_timeout: Union[ @@ -224,7 +224,7 @@ def create_organization_guardrail_api_v1_organizations_me_guardrails_post_withou :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_guardrail_api_v1_organizations_me_guardrails_post_serialize( + _param = self._organization_guardrails_create_organization_guardrail_serialize( organization_guardrail_create=organization_guardrail_create, _request_auth=_request_auth, _content_type=_content_type, @@ -243,7 +243,7 @@ def create_organization_guardrail_api_v1_organizations_me_guardrails_post_withou return response_data.response - def _create_organization_guardrail_api_v1_organizations_me_guardrails_post_serialize( + def _organization_guardrails_create_organization_guardrail_serialize( self, organization_guardrail_create, _request_auth, @@ -322,7 +322,7 @@ def _create_organization_guardrail_api_v1_organizations_me_guardrails_post_seria @validate_call - def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_delete( + def organization_guardrails_delete_organization_guardrail( self, guardrail_id: UUID, _request_timeout: Union[ @@ -366,7 +366,7 @@ def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_delete_serialize( + _param = self._organization_guardrails_delete_organization_guardrail_serialize( guardrail_id=guardrail_id, _request_auth=_request_auth, _content_type=_content_type, @@ -390,7 +390,7 @@ def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i @validate_call - def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_delete_with_http_info( + def organization_guardrails_delete_organization_guardrail_with_http_info( self, guardrail_id: UUID, _request_timeout: Union[ @@ -434,7 +434,7 @@ def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_delete_serialize( + _param = self._organization_guardrails_delete_organization_guardrail_serialize( guardrail_id=guardrail_id, _request_auth=_request_auth, _content_type=_content_type, @@ -458,7 +458,7 @@ def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i @validate_call - def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_delete_without_preload_content( + def organization_guardrails_delete_organization_guardrail_without_preload_content( self, guardrail_id: UUID, _request_timeout: Union[ @@ -502,7 +502,7 @@ def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_delete_serialize( + _param = self._organization_guardrails_delete_organization_guardrail_serialize( guardrail_id=guardrail_id, _request_auth=_request_auth, _content_type=_content_type, @@ -521,7 +521,7 @@ def delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i return response_data.response - def _delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_delete_serialize( + def _organization_guardrails_delete_organization_guardrail_serialize( self, guardrail_id, _request_auth, @@ -587,7 +587,7 @@ def _delete_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_ @validate_call - def list_organization_guardrails_api_v1_organizations_me_guardrails_get( + def organization_guardrails_list_organization_guardrails( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -634,7 +634,7 @@ def list_organization_guardrails_api_v1_organizations_me_guardrails_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_guardrails_api_v1_organizations_me_guardrails_get_serialize( + _param = self._organization_guardrails_list_organization_guardrails_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -659,7 +659,7 @@ def list_organization_guardrails_api_v1_organizations_me_guardrails_get( @validate_call - def list_organization_guardrails_api_v1_organizations_me_guardrails_get_with_http_info( + def organization_guardrails_list_organization_guardrails_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -706,7 +706,7 @@ def list_organization_guardrails_api_v1_organizations_me_guardrails_get_with_htt :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_guardrails_api_v1_organizations_me_guardrails_get_serialize( + _param = self._organization_guardrails_list_organization_guardrails_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -731,7 +731,7 @@ def list_organization_guardrails_api_v1_organizations_me_guardrails_get_with_htt @validate_call - def list_organization_guardrails_api_v1_organizations_me_guardrails_get_without_preload_content( + def organization_guardrails_list_organization_guardrails_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -778,7 +778,7 @@ def list_organization_guardrails_api_v1_organizations_me_guardrails_get_without_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_guardrails_api_v1_organizations_me_guardrails_get_serialize( + _param = self._organization_guardrails_list_organization_guardrails_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -798,7 +798,7 @@ def list_organization_guardrails_api_v1_organizations_me_guardrails_get_without_ return response_data.response - def _list_organization_guardrails_api_v1_organizations_me_guardrails_get_serialize( + def _organization_guardrails_list_organization_guardrails_serialize( self, skip, limit, @@ -871,7 +871,7 @@ def _list_organization_guardrails_api_v1_organizations_me_guardrails_get_seriali @validate_call - def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_patch( + def organization_guardrails_update_organization_guardrail( self, guardrail_id: UUID, organization_guardrail_update: OrganizationGuardrailUpdate, @@ -918,7 +918,7 @@ def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_patch_serialize( + _param = self._organization_guardrails_update_organization_guardrail_serialize( guardrail_id=guardrail_id, organization_guardrail_update=organization_guardrail_update, _request_auth=_request_auth, @@ -943,7 +943,7 @@ def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i @validate_call - def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_patch_with_http_info( + def organization_guardrails_update_organization_guardrail_with_http_info( self, guardrail_id: UUID, organization_guardrail_update: OrganizationGuardrailUpdate, @@ -990,7 +990,7 @@ def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_patch_serialize( + _param = self._organization_guardrails_update_organization_guardrail_serialize( guardrail_id=guardrail_id, organization_guardrail_update=organization_guardrail_update, _request_auth=_request_auth, @@ -1015,7 +1015,7 @@ def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i @validate_call - def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_patch_without_preload_content( + def organization_guardrails_update_organization_guardrail_without_preload_content( self, guardrail_id: UUID, organization_guardrail_update: OrganizationGuardrailUpdate, @@ -1062,7 +1062,7 @@ def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i :return: Returns the result object. """ # noqa: E501 - _param = self._update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_patch_serialize( + _param = self._organization_guardrails_update_organization_guardrail_serialize( guardrail_id=guardrail_id, organization_guardrail_update=organization_guardrail_update, _request_auth=_request_auth, @@ -1082,7 +1082,7 @@ def update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_i return response_data.response - def _update_organization_guardrail_api_v1_organizations_me_guardrails_guardrail_id_patch_serialize( + def _organization_guardrails_update_organization_guardrail_serialize( self, guardrail_id, organization_guardrail_update, diff --git a/src/otari/_client/api/organization_keys_api.py b/src/otari/_client/api/organization_keys_api.py index ebb7526e..2d11961d 100644 --- a/src/otari/_client/api/organization_keys_api.py +++ b/src/otari/_client/api/organization_keys_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_own_key_api_v1_organizations_me_keys_post( + def organization_keys_create_own_key( self, create_own_key_request: CreateOwnKeyRequest, _request_timeout: Union[ @@ -87,7 +87,7 @@ def create_own_key_api_v1_organizations_me_keys_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_own_key_api_v1_organizations_me_keys_post_serialize( + _param = self._organization_keys_create_own_key_serialize( create_own_key_request=create_own_key_request, _request_auth=_request_auth, _content_type=_content_type, @@ -111,7 +111,7 @@ def create_own_key_api_v1_organizations_me_keys_post( @validate_call - def create_own_key_api_v1_organizations_me_keys_post_with_http_info( + def organization_keys_create_own_key_with_http_info( self, create_own_key_request: CreateOwnKeyRequest, _request_timeout: Union[ @@ -155,7 +155,7 @@ def create_own_key_api_v1_organizations_me_keys_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_own_key_api_v1_organizations_me_keys_post_serialize( + _param = self._organization_keys_create_own_key_serialize( create_own_key_request=create_own_key_request, _request_auth=_request_auth, _content_type=_content_type, @@ -179,7 +179,7 @@ def create_own_key_api_v1_organizations_me_keys_post_with_http_info( @validate_call - def create_own_key_api_v1_organizations_me_keys_post_without_preload_content( + def organization_keys_create_own_key_without_preload_content( self, create_own_key_request: CreateOwnKeyRequest, _request_timeout: Union[ @@ -223,7 +223,7 @@ def create_own_key_api_v1_organizations_me_keys_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_own_key_api_v1_organizations_me_keys_post_serialize( + _param = self._organization_keys_create_own_key_serialize( create_own_key_request=create_own_key_request, _request_auth=_request_auth, _content_type=_content_type, @@ -242,7 +242,7 @@ def create_own_key_api_v1_organizations_me_keys_post_without_preload_content( return response_data.response - def _create_own_key_api_v1_organizations_me_keys_post_serialize( + def _organization_keys_create_own_key_serialize( self, create_own_key_request, _request_auth, @@ -321,7 +321,7 @@ def _create_own_key_api_v1_organizations_me_keys_post_serialize( @validate_call - def delete_own_key_api_v1_organizations_me_keys_key_id_delete( + def organization_keys_delete_own_key( self, key_id: StrictStr, _request_timeout: Union[ @@ -365,7 +365,7 @@ def delete_own_key_api_v1_organizations_me_keys_key_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_own_key_api_v1_organizations_me_keys_key_id_delete_serialize( + _param = self._organization_keys_delete_own_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -389,7 +389,7 @@ def delete_own_key_api_v1_organizations_me_keys_key_id_delete( @validate_call - def delete_own_key_api_v1_organizations_me_keys_key_id_delete_with_http_info( + def organization_keys_delete_own_key_with_http_info( self, key_id: StrictStr, _request_timeout: Union[ @@ -433,7 +433,7 @@ def delete_own_key_api_v1_organizations_me_keys_key_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_own_key_api_v1_organizations_me_keys_key_id_delete_serialize( + _param = self._organization_keys_delete_own_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -457,7 +457,7 @@ def delete_own_key_api_v1_organizations_me_keys_key_id_delete_with_http_info( @validate_call - def delete_own_key_api_v1_organizations_me_keys_key_id_delete_without_preload_content( + def organization_keys_delete_own_key_without_preload_content( self, key_id: StrictStr, _request_timeout: Union[ @@ -501,7 +501,7 @@ def delete_own_key_api_v1_organizations_me_keys_key_id_delete_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._delete_own_key_api_v1_organizations_me_keys_key_id_delete_serialize( + _param = self._organization_keys_delete_own_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -520,7 +520,7 @@ def delete_own_key_api_v1_organizations_me_keys_key_id_delete_without_preload_co return response_data.response - def _delete_own_key_api_v1_organizations_me_keys_key_id_delete_serialize( + def _organization_keys_delete_own_key_serialize( self, key_id, _request_auth, @@ -586,7 +586,7 @@ def _delete_own_key_api_v1_organizations_me_keys_key_id_delete_serialize( @validate_call - def list_own_keys_api_v1_organizations_me_keys_get( + def organization_keys_list_own_keys( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -636,7 +636,7 @@ def list_own_keys_api_v1_organizations_me_keys_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_own_keys_api_v1_organizations_me_keys_get_serialize( + _param = self._organization_keys_list_own_keys_serialize( skip=skip, limit=limit, workspace_id=workspace_id, @@ -662,7 +662,7 @@ def list_own_keys_api_v1_organizations_me_keys_get( @validate_call - def list_own_keys_api_v1_organizations_me_keys_get_with_http_info( + def organization_keys_list_own_keys_with_http_info( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -712,7 +712,7 @@ def list_own_keys_api_v1_organizations_me_keys_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_own_keys_api_v1_organizations_me_keys_get_serialize( + _param = self._organization_keys_list_own_keys_serialize( skip=skip, limit=limit, workspace_id=workspace_id, @@ -738,7 +738,7 @@ def list_own_keys_api_v1_organizations_me_keys_get_with_http_info( @validate_call - def list_own_keys_api_v1_organizations_me_keys_get_without_preload_content( + def organization_keys_list_own_keys_without_preload_content( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -788,7 +788,7 @@ def list_own_keys_api_v1_organizations_me_keys_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_own_keys_api_v1_organizations_me_keys_get_serialize( + _param = self._organization_keys_list_own_keys_serialize( skip=skip, limit=limit, workspace_id=workspace_id, @@ -809,7 +809,7 @@ def list_own_keys_api_v1_organizations_me_keys_get_without_preload_content( return response_data.response - def _list_own_keys_api_v1_organizations_me_keys_get_serialize( + def _organization_keys_list_own_keys_serialize( self, skip, limit, @@ -887,7 +887,7 @@ def _list_own_keys_api_v1_organizations_me_keys_get_serialize( @validate_call - def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post( + def organization_keys_rotate_own_key( self, key_id: StrictStr, _request_timeout: Union[ @@ -931,7 +931,7 @@ def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post( :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_serialize( + _param = self._organization_keys_rotate_own_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -955,7 +955,7 @@ def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post( @validate_call - def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_with_http_info( + def organization_keys_rotate_own_key_with_http_info( self, key_id: StrictStr, _request_timeout: Union[ @@ -999,7 +999,7 @@ def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_with_http_inf :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_serialize( + _param = self._organization_keys_rotate_own_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1023,7 +1023,7 @@ def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_with_http_inf @validate_call - def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_without_preload_content( + def organization_keys_rotate_own_key_without_preload_content( self, key_id: StrictStr, _request_timeout: Union[ @@ -1067,7 +1067,7 @@ def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_without_prelo :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_serialize( + _param = self._organization_keys_rotate_own_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1086,7 +1086,7 @@ def rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_without_prelo return response_data.response - def _rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_serialize( + def _organization_keys_rotate_own_key_serialize( self, key_id, _request_auth, @@ -1152,7 +1152,7 @@ def _rotate_own_key_api_v1_organizations_me_keys_key_id_rotate_post_serialize( @validate_call - def update_own_key_api_v1_organizations_me_keys_key_id_patch( + def organization_keys_update_own_key( self, key_id: StrictStr, update_own_key_request: UpdateOwnKeyRequest, @@ -1199,7 +1199,7 @@ def update_own_key_api_v1_organizations_me_keys_key_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_own_key_api_v1_organizations_me_keys_key_id_patch_serialize( + _param = self._organization_keys_update_own_key_serialize( key_id=key_id, update_own_key_request=update_own_key_request, _request_auth=_request_auth, @@ -1224,7 +1224,7 @@ def update_own_key_api_v1_organizations_me_keys_key_id_patch( @validate_call - def update_own_key_api_v1_organizations_me_keys_key_id_patch_with_http_info( + def organization_keys_update_own_key_with_http_info( self, key_id: StrictStr, update_own_key_request: UpdateOwnKeyRequest, @@ -1271,7 +1271,7 @@ def update_own_key_api_v1_organizations_me_keys_key_id_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_own_key_api_v1_organizations_me_keys_key_id_patch_serialize( + _param = self._organization_keys_update_own_key_serialize( key_id=key_id, update_own_key_request=update_own_key_request, _request_auth=_request_auth, @@ -1296,7 +1296,7 @@ def update_own_key_api_v1_organizations_me_keys_key_id_patch_with_http_info( @validate_call - def update_own_key_api_v1_organizations_me_keys_key_id_patch_without_preload_content( + def organization_keys_update_own_key_without_preload_content( self, key_id: StrictStr, update_own_key_request: UpdateOwnKeyRequest, @@ -1343,7 +1343,7 @@ def update_own_key_api_v1_organizations_me_keys_key_id_patch_without_preload_con :return: Returns the result object. """ # noqa: E501 - _param = self._update_own_key_api_v1_organizations_me_keys_key_id_patch_serialize( + _param = self._organization_keys_update_own_key_serialize( key_id=key_id, update_own_key_request=update_own_key_request, _request_auth=_request_auth, @@ -1363,7 +1363,7 @@ def update_own_key_api_v1_organizations_me_keys_key_id_patch_without_preload_con return response_data.response - def _update_own_key_api_v1_organizations_me_keys_key_id_patch_serialize( + def _organization_keys_update_own_key_serialize( self, key_id, update_own_key_request, diff --git a/src/otari/_client/api/organization_pricing_api.py b/src/otari/_client/api/organization_pricing_api.py index 8fac7167..97f57f91 100644 --- a/src/otari/_client/api/organization_pricing_api.py +++ b/src/otari/_client/api/organization_pricing_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_organization_pricing_api_v1_organizations_me_pricing_post( + def organization_pricing_create_organization_pricing( self, organization_model_pricing_create: OrganizationModelPricingCreate, _request_timeout: Union[ @@ -87,7 +87,7 @@ def create_organization_pricing_api_v1_organizations_me_pricing_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_pricing_api_v1_organizations_me_pricing_post_serialize( + _param = self._organization_pricing_create_organization_pricing_serialize( organization_model_pricing_create=organization_model_pricing_create, _request_auth=_request_auth, _content_type=_content_type, @@ -111,7 +111,7 @@ def create_organization_pricing_api_v1_organizations_me_pricing_post( @validate_call - def create_organization_pricing_api_v1_organizations_me_pricing_post_with_http_info( + def organization_pricing_create_organization_pricing_with_http_info( self, organization_model_pricing_create: OrganizationModelPricingCreate, _request_timeout: Union[ @@ -155,7 +155,7 @@ def create_organization_pricing_api_v1_organizations_me_pricing_post_with_http_i :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_pricing_api_v1_organizations_me_pricing_post_serialize( + _param = self._organization_pricing_create_organization_pricing_serialize( organization_model_pricing_create=organization_model_pricing_create, _request_auth=_request_auth, _content_type=_content_type, @@ -179,7 +179,7 @@ def create_organization_pricing_api_v1_organizations_me_pricing_post_with_http_i @validate_call - def create_organization_pricing_api_v1_organizations_me_pricing_post_without_preload_content( + def organization_pricing_create_organization_pricing_without_preload_content( self, organization_model_pricing_create: OrganizationModelPricingCreate, _request_timeout: Union[ @@ -223,7 +223,7 @@ def create_organization_pricing_api_v1_organizations_me_pricing_post_without_pre :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_pricing_api_v1_organizations_me_pricing_post_serialize( + _param = self._organization_pricing_create_organization_pricing_serialize( organization_model_pricing_create=organization_model_pricing_create, _request_auth=_request_auth, _content_type=_content_type, @@ -242,7 +242,7 @@ def create_organization_pricing_api_v1_organizations_me_pricing_post_without_pre return response_data.response - def _create_organization_pricing_api_v1_organizations_me_pricing_post_serialize( + def _organization_pricing_create_organization_pricing_serialize( self, organization_model_pricing_create, _request_auth, @@ -321,7 +321,7 @@ def _create_organization_pricing_api_v1_organizations_me_pricing_post_serialize( @validate_call - def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delete( + def organization_pricing_delete_organization_pricing( self, pricing_id: UUID, _request_timeout: Union[ @@ -365,7 +365,7 @@ def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delet :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delete_serialize( + _param = self._organization_pricing_delete_organization_pricing_serialize( pricing_id=pricing_id, _request_auth=_request_auth, _content_type=_content_type, @@ -389,7 +389,7 @@ def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delet @validate_call - def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delete_with_http_info( + def organization_pricing_delete_organization_pricing_with_http_info( self, pricing_id: UUID, _request_timeout: Union[ @@ -433,7 +433,7 @@ def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delet :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delete_serialize( + _param = self._organization_pricing_delete_organization_pricing_serialize( pricing_id=pricing_id, _request_auth=_request_auth, _content_type=_content_type, @@ -457,7 +457,7 @@ def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delet @validate_call - def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delete_without_preload_content( + def organization_pricing_delete_organization_pricing_without_preload_content( self, pricing_id: UUID, _request_timeout: Union[ @@ -501,7 +501,7 @@ def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delet :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delete_serialize( + _param = self._organization_pricing_delete_organization_pricing_serialize( pricing_id=pricing_id, _request_auth=_request_auth, _content_type=_content_type, @@ -520,7 +520,7 @@ def delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delet return response_data.response - def _delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_delete_serialize( + def _organization_pricing_delete_organization_pricing_serialize( self, pricing_id, _request_auth, @@ -586,7 +586,7 @@ def _delete_organization_pricing_api_v1_organizations_me_pricing_pricing_id_dele @validate_call - def list_organization_pricing_api_v1_organizations_me_pricing_get( + def organization_pricing_list_organization_pricing( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -633,7 +633,7 @@ def list_organization_pricing_api_v1_organizations_me_pricing_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_pricing_api_v1_organizations_me_pricing_get_serialize( + _param = self._organization_pricing_list_organization_pricing_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -658,7 +658,7 @@ def list_organization_pricing_api_v1_organizations_me_pricing_get( @validate_call - def list_organization_pricing_api_v1_organizations_me_pricing_get_with_http_info( + def organization_pricing_list_organization_pricing_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -705,7 +705,7 @@ def list_organization_pricing_api_v1_organizations_me_pricing_get_with_http_info :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_pricing_api_v1_organizations_me_pricing_get_serialize( + _param = self._organization_pricing_list_organization_pricing_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -730,7 +730,7 @@ def list_organization_pricing_api_v1_organizations_me_pricing_get_with_http_info @validate_call - def list_organization_pricing_api_v1_organizations_me_pricing_get_without_preload_content( + def organization_pricing_list_organization_pricing_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -777,7 +777,7 @@ def list_organization_pricing_api_v1_organizations_me_pricing_get_without_preloa :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_pricing_api_v1_organizations_me_pricing_get_serialize( + _param = self._organization_pricing_list_organization_pricing_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -797,7 +797,7 @@ def list_organization_pricing_api_v1_organizations_me_pricing_get_without_preloa return response_data.response - def _list_organization_pricing_api_v1_organizations_me_pricing_get_serialize( + def _organization_pricing_list_organization_pricing_serialize( self, skip, limit, @@ -870,7 +870,7 @@ def _list_organization_pricing_api_v1_organizations_me_pricing_get_serialize( @validate_call - def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put( + def organization_pricing_replace_organization_pricing( self, pricing_id: UUID, organization_model_pricing_update: OrganizationModelPricingUpdate, @@ -917,7 +917,7 @@ def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_serialize( + _param = self._organization_pricing_replace_organization_pricing_serialize( pricing_id=pricing_id, organization_model_pricing_update=organization_model_pricing_update, _request_auth=_request_auth, @@ -942,7 +942,7 @@ def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put( @validate_call - def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_with_http_info( + def organization_pricing_replace_organization_pricing_with_http_info( self, pricing_id: UUID, organization_model_pricing_update: OrganizationModelPricingUpdate, @@ -989,7 +989,7 @@ def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_ :return: Returns the result object. """ # noqa: E501 - _param = self._replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_serialize( + _param = self._organization_pricing_replace_organization_pricing_serialize( pricing_id=pricing_id, organization_model_pricing_update=organization_model_pricing_update, _request_auth=_request_auth, @@ -1014,7 +1014,7 @@ def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_ @validate_call - def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_without_preload_content( + def organization_pricing_replace_organization_pricing_without_preload_content( self, pricing_id: UUID, organization_model_pricing_update: OrganizationModelPricingUpdate, @@ -1061,7 +1061,7 @@ def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_ :return: Returns the result object. """ # noqa: E501 - _param = self._replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_serialize( + _param = self._organization_pricing_replace_organization_pricing_serialize( pricing_id=pricing_id, organization_model_pricing_update=organization_model_pricing_update, _request_auth=_request_auth, @@ -1081,7 +1081,7 @@ def replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_ return response_data.response - def _replace_organization_pricing_api_v1_organizations_me_pricing_pricing_id_put_serialize( + def _organization_pricing_replace_organization_pricing_serialize( self, pricing_id, organization_model_pricing_update, diff --git a/src/otari/_client/api/organization_usage_api.py b/src/otari/_client/api/organization_usage_api.py index 0c8312e1..66ad064c 100644 --- a/src/otari/_client/api/organization_usage_api.py +++ b/src/otari/_client/api/organization_usage_api.py @@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def count_organization_usage_api_v1_organizations_me_usage_count_get( + def organization_usage_count_organization_usage( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -133,7 +133,7 @@ def count_organization_usage_api_v1_organizations_me_usage_count_get( :return: Returns the result object. """ # noqa: E501 - _param = self._count_organization_usage_api_v1_organizations_me_usage_count_get_serialize( + _param = self._organization_usage_count_organization_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -172,7 +172,7 @@ def count_organization_usage_api_v1_organizations_me_usage_count_get( @validate_call - def count_organization_usage_api_v1_organizations_me_usage_count_get_with_http_info( + def organization_usage_count_organization_usage_with_http_info( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -261,7 +261,7 @@ def count_organization_usage_api_v1_organizations_me_usage_count_get_with_http_i :return: Returns the result object. """ # noqa: E501 - _param = self._count_organization_usage_api_v1_organizations_me_usage_count_get_serialize( + _param = self._organization_usage_count_organization_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -300,7 +300,7 @@ def count_organization_usage_api_v1_organizations_me_usage_count_get_with_http_i @validate_call - def count_organization_usage_api_v1_organizations_me_usage_count_get_without_preload_content( + def organization_usage_count_organization_usage_without_preload_content( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -389,7 +389,7 @@ def count_organization_usage_api_v1_organizations_me_usage_count_get_without_pre :return: Returns the result object. """ # noqa: E501 - _param = self._count_organization_usage_api_v1_organizations_me_usage_count_get_serialize( + _param = self._organization_usage_count_organization_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -423,7 +423,7 @@ def count_organization_usage_api_v1_organizations_me_usage_count_get_without_pre return response_data.response - def _count_organization_usage_api_v1_organizations_me_usage_count_get_serialize( + def _organization_usage_count_organization_usage_serialize( self, start_date, end_date, @@ -588,7 +588,7 @@ def _count_organization_usage_api_v1_organizations_me_usage_count_get_serialize( @validate_call - def list_organization_usage_api_v1_organizations_me_usage_get( + def organization_usage_list_organization_usage( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -683,7 +683,7 @@ def list_organization_usage_api_v1_organizations_me_usage_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_usage_api_v1_organizations_me_usage_get_serialize( + _param = self._organization_usage_list_organization_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -724,7 +724,7 @@ def list_organization_usage_api_v1_organizations_me_usage_get( @validate_call - def list_organization_usage_api_v1_organizations_me_usage_get_with_http_info( + def organization_usage_list_organization_usage_with_http_info( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -819,7 +819,7 @@ def list_organization_usage_api_v1_organizations_me_usage_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_usage_api_v1_organizations_me_usage_get_serialize( + _param = self._organization_usage_list_organization_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -860,7 +860,7 @@ def list_organization_usage_api_v1_organizations_me_usage_get_with_http_info( @validate_call - def list_organization_usage_api_v1_organizations_me_usage_get_without_preload_content( + def organization_usage_list_organization_usage_without_preload_content( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -955,7 +955,7 @@ def list_organization_usage_api_v1_organizations_me_usage_get_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._list_organization_usage_api_v1_organizations_me_usage_get_serialize( + _param = self._organization_usage_list_organization_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -991,7 +991,7 @@ def list_organization_usage_api_v1_organizations_me_usage_get_without_preload_co return response_data.response - def _list_organization_usage_api_v1_organizations_me_usage_get_serialize( + def _organization_usage_list_organization_usage_serialize( self, start_date, end_date, @@ -1166,7 +1166,7 @@ def _list_organization_usage_api_v1_organizations_me_usage_get_serialize( @validate_call - def organization_usage_series_api_v1_organizations_me_usage_series_get( + def organization_usage_organization_usage_series( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1258,7 +1258,7 @@ def organization_usage_series_api_v1_organizations_me_usage_series_get( :return: Returns the result object. """ # noqa: E501 - _param = self._organization_usage_series_api_v1_organizations_me_usage_series_get_serialize( + _param = self._organization_usage_organization_usage_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -1298,7 +1298,7 @@ def organization_usage_series_api_v1_organizations_me_usage_series_get( @validate_call - def organization_usage_series_api_v1_organizations_me_usage_series_get_with_http_info( + def organization_usage_organization_usage_series_with_http_info( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1390,7 +1390,7 @@ def organization_usage_series_api_v1_organizations_me_usage_series_get_with_http :return: Returns the result object. """ # noqa: E501 - _param = self._organization_usage_series_api_v1_organizations_me_usage_series_get_serialize( + _param = self._organization_usage_organization_usage_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -1430,7 +1430,7 @@ def organization_usage_series_api_v1_organizations_me_usage_series_get_with_http @validate_call - def organization_usage_series_api_v1_organizations_me_usage_series_get_without_preload_content( + def organization_usage_organization_usage_series_without_preload_content( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1522,7 +1522,7 @@ def organization_usage_series_api_v1_organizations_me_usage_series_get_without_p :return: Returns the result object. """ # noqa: E501 - _param = self._organization_usage_series_api_v1_organizations_me_usage_series_get_serialize( + _param = self._organization_usage_organization_usage_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -1557,7 +1557,7 @@ def organization_usage_series_api_v1_organizations_me_usage_series_get_without_p return response_data.response - def _organization_usage_series_api_v1_organizations_me_usage_series_get_serialize( + def _organization_usage_organization_usage_series_serialize( self, group_by, start_date, @@ -1726,7 +1726,7 @@ def _organization_usage_series_api_v1_organizations_me_usage_series_get_serializ @validate_call - def organization_usage_summary_api_v1_organizations_me_usage_summary_get( + def organization_usage_organization_usage_summary( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1818,7 +1818,7 @@ def organization_usage_summary_api_v1_organizations_me_usage_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._organization_usage_summary_api_v1_organizations_me_usage_summary_get_serialize( + _param = self._organization_usage_organization_usage_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -1858,7 +1858,7 @@ def organization_usage_summary_api_v1_organizations_me_usage_summary_get( @validate_call - def organization_usage_summary_api_v1_organizations_me_usage_summary_get_with_http_info( + def organization_usage_organization_usage_summary_with_http_info( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1950,7 +1950,7 @@ def organization_usage_summary_api_v1_organizations_me_usage_summary_get_with_ht :return: Returns the result object. """ # noqa: E501 - _param = self._organization_usage_summary_api_v1_organizations_me_usage_summary_get_serialize( + _param = self._organization_usage_organization_usage_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -1990,7 +1990,7 @@ def organization_usage_summary_api_v1_organizations_me_usage_summary_get_with_ht @validate_call - def organization_usage_summary_api_v1_organizations_me_usage_summary_get_without_preload_content( + def organization_usage_organization_usage_summary_without_preload_content( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -2082,7 +2082,7 @@ def organization_usage_summary_api_v1_organizations_me_usage_summary_get_without :return: Returns the result object. """ # noqa: E501 - _param = self._organization_usage_summary_api_v1_organizations_me_usage_summary_get_serialize( + _param = self._organization_usage_organization_usage_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -2117,7 +2117,7 @@ def organization_usage_summary_api_v1_organizations_me_usage_summary_get_without return response_data.response - def _organization_usage_summary_api_v1_organizations_me_usage_summary_get_serialize( + def _organization_usage_organization_usage_summary_serialize( self, start_date, end_date, diff --git a/src/otari/_client/api/organizations_api.py b/src/otari/_client/api/organizations_api.py index 4fd83107..33590ca6 100644 --- a/src/otari/_client/api/organizations_api.py +++ b/src/otari/_client/api/organizations_api.py @@ -59,7 +59,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_accept_post( + def organizations_accept_caller_pending_membership( self, organization_member_id: UUID, _request_timeout: Union[ @@ -103,7 +103,7 @@ def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships :return: Returns the result object. """ # noqa: E501 - _param = self._accept_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_accept_post_serialize( + _param = self._organizations_accept_caller_pending_membership_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -127,7 +127,7 @@ def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships @validate_call - def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_accept_post_with_http_info( + def organizations_accept_caller_pending_membership_with_http_info( self, organization_member_id: UUID, _request_timeout: Union[ @@ -171,7 +171,7 @@ def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships :return: Returns the result object. """ # noqa: E501 - _param = self._accept_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_accept_post_serialize( + _param = self._organizations_accept_caller_pending_membership_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -195,7 +195,7 @@ def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships @validate_call - def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_accept_post_without_preload_content( + def organizations_accept_caller_pending_membership_without_preload_content( self, organization_member_id: UUID, _request_timeout: Union[ @@ -239,7 +239,7 @@ def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships :return: Returns the result object. """ # noqa: E501 - _param = self._accept_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_accept_post_serialize( + _param = self._organizations_accept_caller_pending_membership_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -258,7 +258,7 @@ def accept_caller_pending_membership_api_v1_organizations_me_pending_memberships return response_data.response - def _accept_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_accept_post_serialize( + def _organizations_accept_caller_pending_membership_serialize( self, organization_member_id, _request_auth, @@ -324,7 +324,7 @@ def _accept_caller_pending_membership_api_v1_organizations_me_pending_membership @validate_call - def create_active_organization_domain_api_v1_organizations_me_domains_post( + def organizations_create_active_organization_domain( self, organization_domain_create_request: OrganizationDomainCreateRequest, _request_timeout: Union[ @@ -368,7 +368,7 @@ def create_active_organization_domain_api_v1_organizations_me_domains_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_active_organization_domain_api_v1_organizations_me_domains_post_serialize( + _param = self._organizations_create_active_organization_domain_serialize( organization_domain_create_request=organization_domain_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -392,7 +392,7 @@ def create_active_organization_domain_api_v1_organizations_me_domains_post( @validate_call - def create_active_organization_domain_api_v1_organizations_me_domains_post_with_http_info( + def organizations_create_active_organization_domain_with_http_info( self, organization_domain_create_request: OrganizationDomainCreateRequest, _request_timeout: Union[ @@ -436,7 +436,7 @@ def create_active_organization_domain_api_v1_organizations_me_domains_post_with_ :return: Returns the result object. """ # noqa: E501 - _param = self._create_active_organization_domain_api_v1_organizations_me_domains_post_serialize( + _param = self._organizations_create_active_organization_domain_serialize( organization_domain_create_request=organization_domain_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -460,7 +460,7 @@ def create_active_organization_domain_api_v1_organizations_me_domains_post_with_ @validate_call - def create_active_organization_domain_api_v1_organizations_me_domains_post_without_preload_content( + def organizations_create_active_organization_domain_without_preload_content( self, organization_domain_create_request: OrganizationDomainCreateRequest, _request_timeout: Union[ @@ -504,7 +504,7 @@ def create_active_organization_domain_api_v1_organizations_me_domains_post_witho :return: Returns the result object. """ # noqa: E501 - _param = self._create_active_organization_domain_api_v1_organizations_me_domains_post_serialize( + _param = self._organizations_create_active_organization_domain_serialize( organization_domain_create_request=organization_domain_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -523,7 +523,7 @@ def create_active_organization_domain_api_v1_organizations_me_domains_post_witho return response_data.response - def _create_active_organization_domain_api_v1_organizations_me_domains_post_serialize( + def _organizations_create_active_organization_domain_serialize( self, organization_domain_create_request, _request_auth, @@ -602,7 +602,7 @@ def _create_active_organization_domain_api_v1_organizations_me_domains_post_seri @validate_call - def create_active_organization_member_api_v1_organizations_me_members_post( + def organizations_create_active_organization_member( self, active_organization_member_create_request: ActiveOrganizationMemberCreateRequest, _request_timeout: Union[ @@ -646,7 +646,7 @@ def create_active_organization_member_api_v1_organizations_me_members_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_active_organization_member_api_v1_organizations_me_members_post_serialize( + _param = self._organizations_create_active_organization_member_serialize( active_organization_member_create_request=active_organization_member_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -670,7 +670,7 @@ def create_active_organization_member_api_v1_organizations_me_members_post( @validate_call - def create_active_organization_member_api_v1_organizations_me_members_post_with_http_info( + def organizations_create_active_organization_member_with_http_info( self, active_organization_member_create_request: ActiveOrganizationMemberCreateRequest, _request_timeout: Union[ @@ -714,7 +714,7 @@ def create_active_organization_member_api_v1_organizations_me_members_post_with_ :return: Returns the result object. """ # noqa: E501 - _param = self._create_active_organization_member_api_v1_organizations_me_members_post_serialize( + _param = self._organizations_create_active_organization_member_serialize( active_organization_member_create_request=active_organization_member_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -738,7 +738,7 @@ def create_active_organization_member_api_v1_organizations_me_members_post_with_ @validate_call - def create_active_organization_member_api_v1_organizations_me_members_post_without_preload_content( + def organizations_create_active_organization_member_without_preload_content( self, active_organization_member_create_request: ActiveOrganizationMemberCreateRequest, _request_timeout: Union[ @@ -782,7 +782,7 @@ def create_active_organization_member_api_v1_organizations_me_members_post_witho :return: Returns the result object. """ # noqa: E501 - _param = self._create_active_organization_member_api_v1_organizations_me_members_post_serialize( + _param = self._organizations_create_active_organization_member_serialize( active_organization_member_create_request=active_organization_member_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -801,7 +801,7 @@ def create_active_organization_member_api_v1_organizations_me_members_post_witho return response_data.response - def _create_active_organization_member_api_v1_organizations_me_members_post_serialize( + def _organizations_create_active_organization_member_serialize( self, active_organization_member_create_request, _request_auth, @@ -880,7 +880,7 @@ def _create_active_organization_member_api_v1_organizations_me_members_post_seri @validate_call - def create_organization_api_v1_organizations_post( + def organizations_create_organization( self, organization_create_request: OrganizationCreateRequest, _request_timeout: Union[ @@ -924,7 +924,7 @@ def create_organization_api_v1_organizations_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_api_v1_organizations_post_serialize( + _param = self._organizations_create_organization_serialize( organization_create_request=organization_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -948,7 +948,7 @@ def create_organization_api_v1_organizations_post( @validate_call - def create_organization_api_v1_organizations_post_with_http_info( + def organizations_create_organization_with_http_info( self, organization_create_request: OrganizationCreateRequest, _request_timeout: Union[ @@ -992,7 +992,7 @@ def create_organization_api_v1_organizations_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_api_v1_organizations_post_serialize( + _param = self._organizations_create_organization_serialize( organization_create_request=organization_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1016,7 +1016,7 @@ def create_organization_api_v1_organizations_post_with_http_info( @validate_call - def create_organization_api_v1_organizations_post_without_preload_content( + def organizations_create_organization_without_preload_content( self, organization_create_request: OrganizationCreateRequest, _request_timeout: Union[ @@ -1060,7 +1060,7 @@ def create_organization_api_v1_organizations_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_organization_api_v1_organizations_post_serialize( + _param = self._organizations_create_organization_serialize( organization_create_request=organization_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1079,7 +1079,7 @@ def create_organization_api_v1_organizations_post_without_preload_content( return response_data.response - def _create_organization_api_v1_organizations_post_serialize( + def _organizations_create_organization_serialize( self, organization_create_request, _request_auth, @@ -1158,7 +1158,7 @@ def _create_organization_api_v1_organizations_post_serialize( @validate_call - def decline_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_decline_post( + def organizations_decline_caller_pending_membership( self, organization_member_id: UUID, _request_timeout: Union[ @@ -1202,7 +1202,7 @@ def decline_caller_pending_membership_api_v1_organizations_me_pending_membership :return: Returns the result object. """ # noqa: E501 - _param = self._decline_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_decline_post_serialize( + _param = self._organizations_decline_caller_pending_membership_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1226,7 +1226,7 @@ def decline_caller_pending_membership_api_v1_organizations_me_pending_membership @validate_call - def decline_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_decline_post_with_http_info( + def organizations_decline_caller_pending_membership_with_http_info( self, organization_member_id: UUID, _request_timeout: Union[ @@ -1270,7 +1270,7 @@ def decline_caller_pending_membership_api_v1_organizations_me_pending_membership :return: Returns the result object. """ # noqa: E501 - _param = self._decline_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_decline_post_serialize( + _param = self._organizations_decline_caller_pending_membership_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1294,7 +1294,7 @@ def decline_caller_pending_membership_api_v1_organizations_me_pending_membership @validate_call - def decline_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_decline_post_without_preload_content( + def organizations_decline_caller_pending_membership_without_preload_content( self, organization_member_id: UUID, _request_timeout: Union[ @@ -1338,7 +1338,7 @@ def decline_caller_pending_membership_api_v1_organizations_me_pending_membership :return: Returns the result object. """ # noqa: E501 - _param = self._decline_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_decline_post_serialize( + _param = self._organizations_decline_caller_pending_membership_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1357,7 +1357,7 @@ def decline_caller_pending_membership_api_v1_organizations_me_pending_membership return response_data.response - def _decline_caller_pending_membership_api_v1_organizations_me_pending_memberships_organization_member_id_decline_post_serialize( + def _organizations_decline_caller_pending_membership_serialize( self, organization_member_id, _request_auth, @@ -1423,7 +1423,7 @@ def _decline_caller_pending_membership_api_v1_organizations_me_pending_membershi @validate_call - def delete_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_delete( + def organizations_delete_active_organization_domain( self, organization_domain_id: UUID, _request_timeout: Union[ @@ -1467,7 +1467,7 @@ def delete_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._delete_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_delete_serialize( + _param = self._organizations_delete_active_organization_domain_serialize( organization_domain_id=organization_domain_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1491,7 +1491,7 @@ def delete_active_organization_domain_api_v1_organizations_me_domains_organizati @validate_call - def delete_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_delete_with_http_info( + def organizations_delete_active_organization_domain_with_http_info( self, organization_domain_id: UUID, _request_timeout: Union[ @@ -1535,7 +1535,7 @@ def delete_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._delete_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_delete_serialize( + _param = self._organizations_delete_active_organization_domain_serialize( organization_domain_id=organization_domain_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1559,7 +1559,7 @@ def delete_active_organization_domain_api_v1_organizations_me_domains_organizati @validate_call - def delete_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_delete_without_preload_content( + def organizations_delete_active_organization_domain_without_preload_content( self, organization_domain_id: UUID, _request_timeout: Union[ @@ -1603,7 +1603,7 @@ def delete_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._delete_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_delete_serialize( + _param = self._organizations_delete_active_organization_domain_serialize( organization_domain_id=organization_domain_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1622,7 +1622,7 @@ def delete_active_organization_domain_api_v1_organizations_me_domains_organizati return response_data.response - def _delete_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_delete_serialize( + def _organizations_delete_active_organization_domain_serialize( self, organization_domain_id, _request_auth, @@ -1688,7 +1688,7 @@ def _delete_active_organization_domain_api_v1_organizations_me_domains_organizat @validate_call - def get_active_organization_context_api_v1_organizations_me_get( + def organizations_get_active_organization_context( self, _request_timeout: Union[ None, @@ -1729,7 +1729,7 @@ def get_active_organization_context_api_v1_organizations_me_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_active_organization_context_api_v1_organizations_me_get_serialize( + _param = self._organizations_get_active_organization_context_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1751,7 +1751,7 @@ def get_active_organization_context_api_v1_organizations_me_get( @validate_call - def get_active_organization_context_api_v1_organizations_me_get_with_http_info( + def organizations_get_active_organization_context_with_http_info( self, _request_timeout: Union[ None, @@ -1792,7 +1792,7 @@ def get_active_organization_context_api_v1_organizations_me_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_active_organization_context_api_v1_organizations_me_get_serialize( + _param = self._organizations_get_active_organization_context_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1814,7 +1814,7 @@ def get_active_organization_context_api_v1_organizations_me_get_with_http_info( @validate_call - def get_active_organization_context_api_v1_organizations_me_get_without_preload_content( + def organizations_get_active_organization_context_without_preload_content( self, _request_timeout: Union[ None, @@ -1855,7 +1855,7 @@ def get_active_organization_context_api_v1_organizations_me_get_without_preload_ :return: Returns the result object. """ # noqa: E501 - _param = self._get_active_organization_context_api_v1_organizations_me_get_serialize( + _param = self._organizations_get_active_organization_context_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1872,7 +1872,7 @@ def get_active_organization_context_api_v1_organizations_me_get_without_preload_ return response_data.response - def _get_active_organization_context_api_v1_organizations_me_get_serialize( + def _organizations_get_active_organization_context_serialize( self, _request_auth, _content_type, @@ -1935,7 +1935,7 @@ def _get_active_organization_context_api_v1_organizations_me_get_serialize( @validate_call - def invite_active_organization_member_api_v1_organizations_me_member_invitations_post( + def organizations_invite_active_organization_member( self, invite_organization_member_request: InviteOrganizationMemberRequest, _request_timeout: Union[ @@ -1979,7 +1979,7 @@ def invite_active_organization_member_api_v1_organizations_me_member_invitations :return: Returns the result object. """ # noqa: E501 - _param = self._invite_active_organization_member_api_v1_organizations_me_member_invitations_post_serialize( + _param = self._organizations_invite_active_organization_member_serialize( invite_organization_member_request=invite_organization_member_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2003,7 +2003,7 @@ def invite_active_organization_member_api_v1_organizations_me_member_invitations @validate_call - def invite_active_organization_member_api_v1_organizations_me_member_invitations_post_with_http_info( + def organizations_invite_active_organization_member_with_http_info( self, invite_organization_member_request: InviteOrganizationMemberRequest, _request_timeout: Union[ @@ -2047,7 +2047,7 @@ def invite_active_organization_member_api_v1_organizations_me_member_invitations :return: Returns the result object. """ # noqa: E501 - _param = self._invite_active_organization_member_api_v1_organizations_me_member_invitations_post_serialize( + _param = self._organizations_invite_active_organization_member_serialize( invite_organization_member_request=invite_organization_member_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2071,7 +2071,7 @@ def invite_active_organization_member_api_v1_organizations_me_member_invitations @validate_call - def invite_active_organization_member_api_v1_organizations_me_member_invitations_post_without_preload_content( + def organizations_invite_active_organization_member_without_preload_content( self, invite_organization_member_request: InviteOrganizationMemberRequest, _request_timeout: Union[ @@ -2115,7 +2115,7 @@ def invite_active_organization_member_api_v1_organizations_me_member_invitations :return: Returns the result object. """ # noqa: E501 - _param = self._invite_active_organization_member_api_v1_organizations_me_member_invitations_post_serialize( + _param = self._organizations_invite_active_organization_member_serialize( invite_organization_member_request=invite_organization_member_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2134,7 +2134,7 @@ def invite_active_organization_member_api_v1_organizations_me_member_invitations return response_data.response - def _invite_active_organization_member_api_v1_organizations_me_member_invitations_post_serialize( + def _organizations_invite_active_organization_member_serialize( self, invite_organization_member_request, _request_auth, @@ -2213,7 +2213,7 @@ def _invite_active_organization_member_api_v1_organizations_me_member_invitation @validate_call - def list_active_organization_domains_api_v1_organizations_me_domains_get( + def organizations_list_active_organization_domains( self, _request_timeout: Union[ None, @@ -2254,7 +2254,7 @@ def list_active_organization_domains_api_v1_organizations_me_domains_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_active_organization_domains_api_v1_organizations_me_domains_get_serialize( + _param = self._organizations_list_active_organization_domains_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2276,7 +2276,7 @@ def list_active_organization_domains_api_v1_organizations_me_domains_get( @validate_call - def list_active_organization_domains_api_v1_organizations_me_domains_get_with_http_info( + def organizations_list_active_organization_domains_with_http_info( self, _request_timeout: Union[ None, @@ -2317,7 +2317,7 @@ def list_active_organization_domains_api_v1_organizations_me_domains_get_with_ht :return: Returns the result object. """ # noqa: E501 - _param = self._list_active_organization_domains_api_v1_organizations_me_domains_get_serialize( + _param = self._organizations_list_active_organization_domains_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2339,7 +2339,7 @@ def list_active_organization_domains_api_v1_organizations_me_domains_get_with_ht @validate_call - def list_active_organization_domains_api_v1_organizations_me_domains_get_without_preload_content( + def organizations_list_active_organization_domains_without_preload_content( self, _request_timeout: Union[ None, @@ -2380,7 +2380,7 @@ def list_active_organization_domains_api_v1_organizations_me_domains_get_without :return: Returns the result object. """ # noqa: E501 - _param = self._list_active_organization_domains_api_v1_organizations_me_domains_get_serialize( + _param = self._organizations_list_active_organization_domains_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2397,7 +2397,7 @@ def list_active_organization_domains_api_v1_organizations_me_domains_get_without return response_data.response - def _list_active_organization_domains_api_v1_organizations_me_domains_get_serialize( + def _organizations_list_active_organization_domains_serialize( self, _request_auth, _content_type, @@ -2460,7 +2460,7 @@ def _list_active_organization_domains_api_v1_organizations_me_domains_get_serial @validate_call - def list_active_organization_members_api_v1_organizations_me_members_get( + def organizations_list_active_organization_members( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -2507,7 +2507,7 @@ def list_active_organization_members_api_v1_organizations_me_members_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_active_organization_members_api_v1_organizations_me_members_get_serialize( + _param = self._organizations_list_active_organization_members_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -2532,7 +2532,7 @@ def list_active_organization_members_api_v1_organizations_me_members_get( @validate_call - def list_active_organization_members_api_v1_organizations_me_members_get_with_http_info( + def organizations_list_active_organization_members_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -2579,7 +2579,7 @@ def list_active_organization_members_api_v1_organizations_me_members_get_with_ht :return: Returns the result object. """ # noqa: E501 - _param = self._list_active_organization_members_api_v1_organizations_me_members_get_serialize( + _param = self._organizations_list_active_organization_members_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -2604,7 +2604,7 @@ def list_active_organization_members_api_v1_organizations_me_members_get_with_ht @validate_call - def list_active_organization_members_api_v1_organizations_me_members_get_without_preload_content( + def organizations_list_active_organization_members_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -2651,7 +2651,7 @@ def list_active_organization_members_api_v1_organizations_me_members_get_without :return: Returns the result object. """ # noqa: E501 - _param = self._list_active_organization_members_api_v1_organizations_me_members_get_serialize( + _param = self._organizations_list_active_organization_members_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -2671,7 +2671,7 @@ def list_active_organization_members_api_v1_organizations_me_members_get_without return response_data.response - def _list_active_organization_members_api_v1_organizations_me_members_get_serialize( + def _organizations_list_active_organization_members_serialize( self, skip, limit, @@ -2744,7 +2744,7 @@ def _list_active_organization_members_api_v1_organizations_me_members_get_serial @validate_call - def list_caller_organization_memberships_api_v1_organizations_me_memberships_get( + def organizations_list_caller_organization_memberships( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -2791,7 +2791,7 @@ def list_caller_organization_memberships_api_v1_organizations_me_memberships_get :return: Returns the result object. """ # noqa: E501 - _param = self._list_caller_organization_memberships_api_v1_organizations_me_memberships_get_serialize( + _param = self._organizations_list_caller_organization_memberships_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -2816,7 +2816,7 @@ def list_caller_organization_memberships_api_v1_organizations_me_memberships_get @validate_call - def list_caller_organization_memberships_api_v1_organizations_me_memberships_get_with_http_info( + def organizations_list_caller_organization_memberships_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -2863,7 +2863,7 @@ def list_caller_organization_memberships_api_v1_organizations_me_memberships_get :return: Returns the result object. """ # noqa: E501 - _param = self._list_caller_organization_memberships_api_v1_organizations_me_memberships_get_serialize( + _param = self._organizations_list_caller_organization_memberships_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -2888,7 +2888,7 @@ def list_caller_organization_memberships_api_v1_organizations_me_memberships_get @validate_call - def list_caller_organization_memberships_api_v1_organizations_me_memberships_get_without_preload_content( + def organizations_list_caller_organization_memberships_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -2935,7 +2935,7 @@ def list_caller_organization_memberships_api_v1_organizations_me_memberships_get :return: Returns the result object. """ # noqa: E501 - _param = self._list_caller_organization_memberships_api_v1_organizations_me_memberships_get_serialize( + _param = self._organizations_list_caller_organization_memberships_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -2955,7 +2955,7 @@ def list_caller_organization_memberships_api_v1_organizations_me_memberships_get return response_data.response - def _list_caller_organization_memberships_api_v1_organizations_me_memberships_get_serialize( + def _organizations_list_caller_organization_memberships_serialize( self, skip, limit, @@ -3028,7 +3028,7 @@ def _list_caller_organization_memberships_api_v1_organizations_me_memberships_ge @validate_call - def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_get( + def organizations_list_caller_pending_memberships( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -3075,7 +3075,7 @@ def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_get_serialize( + _param = self._organizations_list_caller_pending_memberships_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -3100,7 +3100,7 @@ def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_ @validate_call - def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_get_with_http_info( + def organizations_list_caller_pending_memberships_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -3147,7 +3147,7 @@ def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_get_serialize( + _param = self._organizations_list_caller_pending_memberships_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -3172,7 +3172,7 @@ def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_ @validate_call - def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_get_without_preload_content( + def organizations_list_caller_pending_memberships_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -3219,7 +3219,7 @@ def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_get_serialize( + _param = self._organizations_list_caller_pending_memberships_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -3239,7 +3239,7 @@ def list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_ return response_data.response - def _list_caller_pending_memberships_api_v1_organizations_me_pending_memberships_get_serialize( + def _organizations_list_caller_pending_memberships_serialize( self, skip, limit, @@ -3312,7 +3312,7 @@ def _list_caller_pending_memberships_api_v1_organizations_me_pending_memberships @validate_call - def remove_active_organization_member_api_v1_organizations_me_members_organization_member_id_delete( + def organizations_remove_active_organization_member( self, organization_member_id: UUID, _request_timeout: Union[ @@ -3356,7 +3356,7 @@ def remove_active_organization_member_api_v1_organizations_me_members_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._remove_active_organization_member_api_v1_organizations_me_members_organization_member_id_delete_serialize( + _param = self._organizations_remove_active_organization_member_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3380,7 +3380,7 @@ def remove_active_organization_member_api_v1_organizations_me_members_organizati @validate_call - def remove_active_organization_member_api_v1_organizations_me_members_organization_member_id_delete_with_http_info( + def organizations_remove_active_organization_member_with_http_info( self, organization_member_id: UUID, _request_timeout: Union[ @@ -3424,7 +3424,7 @@ def remove_active_organization_member_api_v1_organizations_me_members_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._remove_active_organization_member_api_v1_organizations_me_members_organization_member_id_delete_serialize( + _param = self._organizations_remove_active_organization_member_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3448,7 +3448,7 @@ def remove_active_organization_member_api_v1_organizations_me_members_organizati @validate_call - def remove_active_organization_member_api_v1_organizations_me_members_organization_member_id_delete_without_preload_content( + def organizations_remove_active_organization_member_without_preload_content( self, organization_member_id: UUID, _request_timeout: Union[ @@ -3492,7 +3492,7 @@ def remove_active_organization_member_api_v1_organizations_me_members_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._remove_active_organization_member_api_v1_organizations_me_members_organization_member_id_delete_serialize( + _param = self._organizations_remove_active_organization_member_serialize( organization_member_id=organization_member_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3511,7 +3511,7 @@ def remove_active_organization_member_api_v1_organizations_me_members_organizati return response_data.response - def _remove_active_organization_member_api_v1_organizations_me_members_organization_member_id_delete_serialize( + def _organizations_remove_active_organization_member_serialize( self, organization_member_id, _request_auth, @@ -3577,7 +3577,7 @@ def _remove_active_organization_member_api_v1_organizations_me_members_organizat @validate_call - def revoke_active_organization_member_invitation_api_v1_organizations_me_member_invitations_invitation_id_delete( + def organizations_revoke_active_organization_member_invitation( self, invitation_id: UUID, _request_timeout: Union[ @@ -3621,7 +3621,7 @@ def revoke_active_organization_member_invitation_api_v1_organizations_me_member_ :return: Returns the result object. """ # noqa: E501 - _param = self._revoke_active_organization_member_invitation_api_v1_organizations_me_member_invitations_invitation_id_delete_serialize( + _param = self._organizations_revoke_active_organization_member_invitation_serialize( invitation_id=invitation_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3645,7 +3645,7 @@ def revoke_active_organization_member_invitation_api_v1_organizations_me_member_ @validate_call - def revoke_active_organization_member_invitation_api_v1_organizations_me_member_invitations_invitation_id_delete_with_http_info( + def organizations_revoke_active_organization_member_invitation_with_http_info( self, invitation_id: UUID, _request_timeout: Union[ @@ -3689,7 +3689,7 @@ def revoke_active_organization_member_invitation_api_v1_organizations_me_member_ :return: Returns the result object. """ # noqa: E501 - _param = self._revoke_active_organization_member_invitation_api_v1_organizations_me_member_invitations_invitation_id_delete_serialize( + _param = self._organizations_revoke_active_organization_member_invitation_serialize( invitation_id=invitation_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3713,7 +3713,7 @@ def revoke_active_organization_member_invitation_api_v1_organizations_me_member_ @validate_call - def revoke_active_organization_member_invitation_api_v1_organizations_me_member_invitations_invitation_id_delete_without_preload_content( + def organizations_revoke_active_organization_member_invitation_without_preload_content( self, invitation_id: UUID, _request_timeout: Union[ @@ -3757,7 +3757,7 @@ def revoke_active_organization_member_invitation_api_v1_organizations_me_member_ :return: Returns the result object. """ # noqa: E501 - _param = self._revoke_active_organization_member_invitation_api_v1_organizations_me_member_invitations_invitation_id_delete_serialize( + _param = self._organizations_revoke_active_organization_member_invitation_serialize( invitation_id=invitation_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3776,7 +3776,7 @@ def revoke_active_organization_member_invitation_api_v1_organizations_me_member_ return response_data.response - def _revoke_active_organization_member_invitation_api_v1_organizations_me_member_invitations_invitation_id_delete_serialize( + def _organizations_revoke_active_organization_member_invitation_serialize( self, invitation_id, _request_auth, @@ -3842,7 +3842,7 @@ def _revoke_active_organization_member_invitation_api_v1_organizations_me_member @validate_call - def switch_active_organization_api_v1_organizations_me_switch_post( + def organizations_switch_active_organization( self, switch_active_organization_request: SwitchActiveOrganizationRequest, _request_timeout: Union[ @@ -3886,7 +3886,7 @@ def switch_active_organization_api_v1_organizations_me_switch_post( :return: Returns the result object. """ # noqa: E501 - _param = self._switch_active_organization_api_v1_organizations_me_switch_post_serialize( + _param = self._organizations_switch_active_organization_serialize( switch_active_organization_request=switch_active_organization_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3910,7 +3910,7 @@ def switch_active_organization_api_v1_organizations_me_switch_post( @validate_call - def switch_active_organization_api_v1_organizations_me_switch_post_with_http_info( + def organizations_switch_active_organization_with_http_info( self, switch_active_organization_request: SwitchActiveOrganizationRequest, _request_timeout: Union[ @@ -3954,7 +3954,7 @@ def switch_active_organization_api_v1_organizations_me_switch_post_with_http_inf :return: Returns the result object. """ # noqa: E501 - _param = self._switch_active_organization_api_v1_organizations_me_switch_post_serialize( + _param = self._organizations_switch_active_organization_serialize( switch_active_organization_request=switch_active_organization_request, _request_auth=_request_auth, _content_type=_content_type, @@ -3978,7 +3978,7 @@ def switch_active_organization_api_v1_organizations_me_switch_post_with_http_inf @validate_call - def switch_active_organization_api_v1_organizations_me_switch_post_without_preload_content( + def organizations_switch_active_organization_without_preload_content( self, switch_active_organization_request: SwitchActiveOrganizationRequest, _request_timeout: Union[ @@ -4022,7 +4022,7 @@ def switch_active_organization_api_v1_organizations_me_switch_post_without_prelo :return: Returns the result object. """ # noqa: E501 - _param = self._switch_active_organization_api_v1_organizations_me_switch_post_serialize( + _param = self._organizations_switch_active_organization_serialize( switch_active_organization_request=switch_active_organization_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4041,7 +4041,7 @@ def switch_active_organization_api_v1_organizations_me_switch_post_without_prelo return response_data.response - def _switch_active_organization_api_v1_organizations_me_switch_post_serialize( + def _organizations_switch_active_organization_serialize( self, switch_active_organization_request, _request_auth, @@ -4120,7 +4120,7 @@ def _switch_active_organization_api_v1_organizations_me_switch_post_serialize( @validate_call - def update_active_organization_api_v1_organizations_me_patch( + def organizations_update_active_organization( self, active_organization_update_request: ActiveOrganizationUpdateRequest, _request_timeout: Union[ @@ -4164,7 +4164,7 @@ def update_active_organization_api_v1_organizations_me_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_api_v1_organizations_me_patch_serialize( + _param = self._organizations_update_active_organization_serialize( active_organization_update_request=active_organization_update_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4188,7 +4188,7 @@ def update_active_organization_api_v1_organizations_me_patch( @validate_call - def update_active_organization_api_v1_organizations_me_patch_with_http_info( + def organizations_update_active_organization_with_http_info( self, active_organization_update_request: ActiveOrganizationUpdateRequest, _request_timeout: Union[ @@ -4232,7 +4232,7 @@ def update_active_organization_api_v1_organizations_me_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_api_v1_organizations_me_patch_serialize( + _param = self._organizations_update_active_organization_serialize( active_organization_update_request=active_organization_update_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4256,7 +4256,7 @@ def update_active_organization_api_v1_organizations_me_patch_with_http_info( @validate_call - def update_active_organization_api_v1_organizations_me_patch_without_preload_content( + def organizations_update_active_organization_without_preload_content( self, active_organization_update_request: ActiveOrganizationUpdateRequest, _request_timeout: Union[ @@ -4300,7 +4300,7 @@ def update_active_organization_api_v1_organizations_me_patch_without_preload_con :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_api_v1_organizations_me_patch_serialize( + _param = self._organizations_update_active_organization_serialize( active_organization_update_request=active_organization_update_request, _request_auth=_request_auth, _content_type=_content_type, @@ -4319,7 +4319,7 @@ def update_active_organization_api_v1_organizations_me_patch_without_preload_con return response_data.response - def _update_active_organization_api_v1_organizations_me_patch_serialize( + def _organizations_update_active_organization_serialize( self, active_organization_update_request, _request_auth, @@ -4398,7 +4398,7 @@ def _update_active_organization_api_v1_organizations_me_patch_serialize( @validate_call - def update_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_patch( + def organizations_update_active_organization_domain( self, organization_domain_id: UUID, organization_domain_update_request: OrganizationDomainUpdateRequest, @@ -4445,7 +4445,7 @@ def update_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_patch_serialize( + _param = self._organizations_update_active_organization_domain_serialize( organization_domain_id=organization_domain_id, organization_domain_update_request=organization_domain_update_request, _request_auth=_request_auth, @@ -4470,7 +4470,7 @@ def update_active_organization_domain_api_v1_organizations_me_domains_organizati @validate_call - def update_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_patch_with_http_info( + def organizations_update_active_organization_domain_with_http_info( self, organization_domain_id: UUID, organization_domain_update_request: OrganizationDomainUpdateRequest, @@ -4517,7 +4517,7 @@ def update_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_patch_serialize( + _param = self._organizations_update_active_organization_domain_serialize( organization_domain_id=organization_domain_id, organization_domain_update_request=organization_domain_update_request, _request_auth=_request_auth, @@ -4542,7 +4542,7 @@ def update_active_organization_domain_api_v1_organizations_me_domains_organizati @validate_call - def update_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_patch_without_preload_content( + def organizations_update_active_organization_domain_without_preload_content( self, organization_domain_id: UUID, organization_domain_update_request: OrganizationDomainUpdateRequest, @@ -4589,7 +4589,7 @@ def update_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_patch_serialize( + _param = self._organizations_update_active_organization_domain_serialize( organization_domain_id=organization_domain_id, organization_domain_update_request=organization_domain_update_request, _request_auth=_request_auth, @@ -4609,7 +4609,7 @@ def update_active_organization_domain_api_v1_organizations_me_domains_organizati return response_data.response - def _update_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_patch_serialize( + def _organizations_update_active_organization_domain_serialize( self, organization_domain_id, organization_domain_update_request, @@ -4691,7 +4691,7 @@ def _update_active_organization_domain_api_v1_organizations_me_domains_organizat @validate_call - def update_active_organization_member_api_v1_organizations_me_members_organization_member_id_patch( + def organizations_update_active_organization_member( self, organization_member_id: UUID, active_organization_member_update_request: ActiveOrganizationMemberUpdateRequest, @@ -4738,7 +4738,7 @@ def update_active_organization_member_api_v1_organizations_me_members_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_member_api_v1_organizations_me_members_organization_member_id_patch_serialize( + _param = self._organizations_update_active_organization_member_serialize( organization_member_id=organization_member_id, active_organization_member_update_request=active_organization_member_update_request, _request_auth=_request_auth, @@ -4763,7 +4763,7 @@ def update_active_organization_member_api_v1_organizations_me_members_organizati @validate_call - def update_active_organization_member_api_v1_organizations_me_members_organization_member_id_patch_with_http_info( + def organizations_update_active_organization_member_with_http_info( self, organization_member_id: UUID, active_organization_member_update_request: ActiveOrganizationMemberUpdateRequest, @@ -4810,7 +4810,7 @@ def update_active_organization_member_api_v1_organizations_me_members_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_member_api_v1_organizations_me_members_organization_member_id_patch_serialize( + _param = self._organizations_update_active_organization_member_serialize( organization_member_id=organization_member_id, active_organization_member_update_request=active_organization_member_update_request, _request_auth=_request_auth, @@ -4835,7 +4835,7 @@ def update_active_organization_member_api_v1_organizations_me_members_organizati @validate_call - def update_active_organization_member_api_v1_organizations_me_members_organization_member_id_patch_without_preload_content( + def organizations_update_active_organization_member_without_preload_content( self, organization_member_id: UUID, active_organization_member_update_request: ActiveOrganizationMemberUpdateRequest, @@ -4882,7 +4882,7 @@ def update_active_organization_member_api_v1_organizations_me_members_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._update_active_organization_member_api_v1_organizations_me_members_organization_member_id_patch_serialize( + _param = self._organizations_update_active_organization_member_serialize( organization_member_id=organization_member_id, active_organization_member_update_request=active_organization_member_update_request, _request_auth=_request_auth, @@ -4902,7 +4902,7 @@ def update_active_organization_member_api_v1_organizations_me_members_organizati return response_data.response - def _update_active_organization_member_api_v1_organizations_me_members_organization_member_id_patch_serialize( + def _organizations_update_active_organization_member_serialize( self, organization_member_id, active_organization_member_update_request, @@ -4984,7 +4984,7 @@ def _update_active_organization_member_api_v1_organizations_me_members_organizat @validate_call - def verify_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_verify_post( + def organizations_verify_active_organization_domain( self, organization_domain_id: UUID, _request_timeout: Union[ @@ -5028,7 +5028,7 @@ def verify_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._verify_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_verify_post_serialize( + _param = self._organizations_verify_active_organization_domain_serialize( organization_domain_id=organization_domain_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5052,7 +5052,7 @@ def verify_active_organization_domain_api_v1_organizations_me_domains_organizati @validate_call - def verify_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_verify_post_with_http_info( + def organizations_verify_active_organization_domain_with_http_info( self, organization_domain_id: UUID, _request_timeout: Union[ @@ -5096,7 +5096,7 @@ def verify_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._verify_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_verify_post_serialize( + _param = self._organizations_verify_active_organization_domain_serialize( organization_domain_id=organization_domain_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5120,7 +5120,7 @@ def verify_active_organization_domain_api_v1_organizations_me_domains_organizati @validate_call - def verify_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_verify_post_without_preload_content( + def organizations_verify_active_organization_domain_without_preload_content( self, organization_domain_id: UUID, _request_timeout: Union[ @@ -5164,7 +5164,7 @@ def verify_active_organization_domain_api_v1_organizations_me_domains_organizati :return: Returns the result object. """ # noqa: E501 - _param = self._verify_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_verify_post_serialize( + _param = self._organizations_verify_active_organization_domain_serialize( organization_domain_id=organization_domain_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5183,7 +5183,7 @@ def verify_active_organization_domain_api_v1_organizations_me_domains_organizati return response_data.response - def _verify_active_organization_domain_api_v1_organizations_me_domains_organization_domain_id_verify_post_serialize( + def _organizations_verify_active_organization_domain_serialize( self, organization_domain_id, _request_auth, diff --git a/src/otari/_client/api/otel_api.py b/src/otari/_client/api/otel_api.py index 3ecd3cd5..b2cfeeba 100644 --- a/src/otari/_client/api/otel_api.py +++ b/src/otari/_client/api/otel_api.py @@ -36,7 +36,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def receive_logs_otlp_v1_logs_post( + def otel_receive_logs( self, _request_timeout: Union[ None, @@ -77,7 +77,7 @@ def receive_logs_otlp_v1_logs_post( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_logs_otlp_v1_logs_post_serialize( + _param = self._otel_receive_logs_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99,7 +99,7 @@ def receive_logs_otlp_v1_logs_post( @validate_call - def receive_logs_otlp_v1_logs_post_with_http_info( + def otel_receive_logs_with_http_info( self, _request_timeout: Union[ None, @@ -140,7 +140,7 @@ def receive_logs_otlp_v1_logs_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_logs_otlp_v1_logs_post_serialize( + _param = self._otel_receive_logs_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -162,7 +162,7 @@ def receive_logs_otlp_v1_logs_post_with_http_info( @validate_call - def receive_logs_otlp_v1_logs_post_without_preload_content( + def otel_receive_logs_without_preload_content( self, _request_timeout: Union[ None, @@ -203,7 +203,7 @@ def receive_logs_otlp_v1_logs_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_logs_otlp_v1_logs_post_serialize( + _param = self._otel_receive_logs_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -220,7 +220,7 @@ def receive_logs_otlp_v1_logs_post_without_preload_content( return response_data.response - def _receive_logs_otlp_v1_logs_post_serialize( + def _otel_receive_logs_serialize( self, _request_auth, _content_type, @@ -283,7 +283,7 @@ def _receive_logs_otlp_v1_logs_post_serialize( @validate_call - def receive_metrics_otlp_v1_metrics_post( + def otel_receive_metrics( self, _request_timeout: Union[ None, @@ -324,7 +324,7 @@ def receive_metrics_otlp_v1_metrics_post( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_metrics_otlp_v1_metrics_post_serialize( + _param = self._otel_receive_metrics_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -346,7 +346,7 @@ def receive_metrics_otlp_v1_metrics_post( @validate_call - def receive_metrics_otlp_v1_metrics_post_with_http_info( + def otel_receive_metrics_with_http_info( self, _request_timeout: Union[ None, @@ -387,7 +387,7 @@ def receive_metrics_otlp_v1_metrics_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_metrics_otlp_v1_metrics_post_serialize( + _param = self._otel_receive_metrics_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -409,7 +409,7 @@ def receive_metrics_otlp_v1_metrics_post_with_http_info( @validate_call - def receive_metrics_otlp_v1_metrics_post_without_preload_content( + def otel_receive_metrics_without_preload_content( self, _request_timeout: Union[ None, @@ -450,7 +450,7 @@ def receive_metrics_otlp_v1_metrics_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_metrics_otlp_v1_metrics_post_serialize( + _param = self._otel_receive_metrics_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -467,7 +467,7 @@ def receive_metrics_otlp_v1_metrics_post_without_preload_content( return response_data.response - def _receive_metrics_otlp_v1_metrics_post_serialize( + def _otel_receive_metrics_serialize( self, _request_auth, _content_type, @@ -530,7 +530,7 @@ def _receive_metrics_otlp_v1_metrics_post_serialize( @validate_call - def receive_traces_otlp_v1_traces_post( + def otel_receive_traces( self, _request_timeout: Union[ None, @@ -571,7 +571,7 @@ def receive_traces_otlp_v1_traces_post( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_traces_otlp_v1_traces_post_serialize( + _param = self._otel_receive_traces_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -593,7 +593,7 @@ def receive_traces_otlp_v1_traces_post( @validate_call - def receive_traces_otlp_v1_traces_post_with_http_info( + def otel_receive_traces_with_http_info( self, _request_timeout: Union[ None, @@ -634,7 +634,7 @@ def receive_traces_otlp_v1_traces_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_traces_otlp_v1_traces_post_serialize( + _param = self._otel_receive_traces_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -656,7 +656,7 @@ def receive_traces_otlp_v1_traces_post_with_http_info( @validate_call - def receive_traces_otlp_v1_traces_post_without_preload_content( + def otel_receive_traces_without_preload_content( self, _request_timeout: Union[ None, @@ -697,7 +697,7 @@ def receive_traces_otlp_v1_traces_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._receive_traces_otlp_v1_traces_post_serialize( + _param = self._otel_receive_traces_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -714,7 +714,7 @@ def receive_traces_otlp_v1_traces_post_without_preload_content( return response_data.response - def _receive_traces_otlp_v1_traces_post_serialize( + def _otel_receive_traces_serialize( self, _request_auth, _content_type, diff --git a/src/otari/_client/api/pricing_api.py b/src/otari/_client/api/pricing_api.py index 6b0327ba..528196f9 100644 --- a/src/otari/_client/api/pricing_api.py +++ b/src/otari/_client/api/pricing_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post( + def pricing_confirm_pricing_refresh( self, _request_timeout: Union[ None, @@ -84,7 +84,7 @@ def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post( :return: Returns the result object. """ # noqa: E501 - _param = self._confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_serialize( + _param = self._pricing_confirm_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106,7 +106,7 @@ def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post( @validate_call - def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_with_http_info( + def pricing_confirm_pricing_refresh_with_http_info( self, _request_timeout: Union[ None, @@ -147,7 +147,7 @@ def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_serialize( + _param = self._pricing_confirm_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -169,7 +169,7 @@ def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_with_http_info( @validate_call - def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_without_preload_content( + def pricing_confirm_pricing_refresh_without_preload_content( self, _request_timeout: Union[ None, @@ -210,7 +210,7 @@ def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_without_preload_ :return: Returns the result object. """ # noqa: E501 - _param = self._confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_serialize( + _param = self._pricing_confirm_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -227,7 +227,7 @@ def confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_without_preload_ return response_data.response - def _confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_serialize( + def _pricing_confirm_pricing_refresh_serialize( self, _request_auth, _content_type, @@ -290,7 +290,7 @@ def _confirm_pricing_refresh_api_v1_pricing_refresh_confirm_post_serialize( @validate_call - def delete_pricing_api_v1_pricing_model_key_delete( + def pricing_delete_pricing( self, model_key: StrictStr, effective_at: Annotated[Optional[datetime], Field(description="ISO datetime identifying a specific pricing row to delete")] = None, @@ -337,7 +337,7 @@ def delete_pricing_api_v1_pricing_model_key_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_pricing_api_v1_pricing_model_key_delete_serialize( + _param = self._pricing_delete_pricing_serialize( model_key=model_key, effective_at=effective_at, _request_auth=_request_auth, @@ -362,7 +362,7 @@ def delete_pricing_api_v1_pricing_model_key_delete( @validate_call - def delete_pricing_api_v1_pricing_model_key_delete_with_http_info( + def pricing_delete_pricing_with_http_info( self, model_key: StrictStr, effective_at: Annotated[Optional[datetime], Field(description="ISO datetime identifying a specific pricing row to delete")] = None, @@ -409,7 +409,7 @@ def delete_pricing_api_v1_pricing_model_key_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_pricing_api_v1_pricing_model_key_delete_serialize( + _param = self._pricing_delete_pricing_serialize( model_key=model_key, effective_at=effective_at, _request_auth=_request_auth, @@ -434,7 +434,7 @@ def delete_pricing_api_v1_pricing_model_key_delete_with_http_info( @validate_call - def delete_pricing_api_v1_pricing_model_key_delete_without_preload_content( + def pricing_delete_pricing_without_preload_content( self, model_key: StrictStr, effective_at: Annotated[Optional[datetime], Field(description="ISO datetime identifying a specific pricing row to delete")] = None, @@ -481,7 +481,7 @@ def delete_pricing_api_v1_pricing_model_key_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_pricing_api_v1_pricing_model_key_delete_serialize( + _param = self._pricing_delete_pricing_serialize( model_key=model_key, effective_at=effective_at, _request_auth=_request_auth, @@ -501,7 +501,7 @@ def delete_pricing_api_v1_pricing_model_key_delete_without_preload_content( return response_data.response - def _delete_pricing_api_v1_pricing_model_key_delete_serialize( + def _pricing_delete_pricing_serialize( self, model_key, effective_at, @@ -581,7 +581,7 @@ def _delete_pricing_api_v1_pricing_model_key_delete_serialize( @validate_call - def get_pricing_api_v1_pricing_model_key_get( + def pricing_get_pricing( self, model_key: StrictStr, as_of: Annotated[Optional[datetime], Field(description="ISO datetime for effective lookup")] = None, @@ -628,7 +628,7 @@ def get_pricing_api_v1_pricing_model_key_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_pricing_api_v1_pricing_model_key_get_serialize( + _param = self._pricing_get_pricing_serialize( model_key=model_key, as_of=as_of, _request_auth=_request_auth, @@ -653,7 +653,7 @@ def get_pricing_api_v1_pricing_model_key_get( @validate_call - def get_pricing_api_v1_pricing_model_key_get_with_http_info( + def pricing_get_pricing_with_http_info( self, model_key: StrictStr, as_of: Annotated[Optional[datetime], Field(description="ISO datetime for effective lookup")] = None, @@ -700,7 +700,7 @@ def get_pricing_api_v1_pricing_model_key_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_pricing_api_v1_pricing_model_key_get_serialize( + _param = self._pricing_get_pricing_serialize( model_key=model_key, as_of=as_of, _request_auth=_request_auth, @@ -725,7 +725,7 @@ def get_pricing_api_v1_pricing_model_key_get_with_http_info( @validate_call - def get_pricing_api_v1_pricing_model_key_get_without_preload_content( + def pricing_get_pricing_without_preload_content( self, model_key: StrictStr, as_of: Annotated[Optional[datetime], Field(description="ISO datetime for effective lookup")] = None, @@ -772,7 +772,7 @@ def get_pricing_api_v1_pricing_model_key_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_pricing_api_v1_pricing_model_key_get_serialize( + _param = self._pricing_get_pricing_serialize( model_key=model_key, as_of=as_of, _request_auth=_request_auth, @@ -792,7 +792,7 @@ def get_pricing_api_v1_pricing_model_key_get_without_preload_content( return response_data.response - def _get_pricing_api_v1_pricing_model_key_get_serialize( + def _pricing_get_pricing_serialize( self, model_key, as_of, @@ -872,7 +872,7 @@ def _get_pricing_api_v1_pricing_model_key_get_serialize( @validate_call - def get_pricing_history_api_v1_pricing_model_key_history_get( + def pricing_get_pricing_history( self, model_key: StrictStr, _request_timeout: Union[ @@ -916,7 +916,7 @@ def get_pricing_history_api_v1_pricing_model_key_history_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_pricing_history_api_v1_pricing_model_key_history_get_serialize( + _param = self._pricing_get_pricing_history_serialize( model_key=model_key, _request_auth=_request_auth, _content_type=_content_type, @@ -940,7 +940,7 @@ def get_pricing_history_api_v1_pricing_model_key_history_get( @validate_call - def get_pricing_history_api_v1_pricing_model_key_history_get_with_http_info( + def pricing_get_pricing_history_with_http_info( self, model_key: StrictStr, _request_timeout: Union[ @@ -984,7 +984,7 @@ def get_pricing_history_api_v1_pricing_model_key_history_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_pricing_history_api_v1_pricing_model_key_history_get_serialize( + _param = self._pricing_get_pricing_history_serialize( model_key=model_key, _request_auth=_request_auth, _content_type=_content_type, @@ -1008,7 +1008,7 @@ def get_pricing_history_api_v1_pricing_model_key_history_get_with_http_info( @validate_call - def get_pricing_history_api_v1_pricing_model_key_history_get_without_preload_content( + def pricing_get_pricing_history_without_preload_content( self, model_key: StrictStr, _request_timeout: Union[ @@ -1052,7 +1052,7 @@ def get_pricing_history_api_v1_pricing_model_key_history_get_without_preload_con :return: Returns the result object. """ # noqa: E501 - _param = self._get_pricing_history_api_v1_pricing_model_key_history_get_serialize( + _param = self._pricing_get_pricing_history_serialize( model_key=model_key, _request_auth=_request_auth, _content_type=_content_type, @@ -1071,7 +1071,7 @@ def get_pricing_history_api_v1_pricing_model_key_history_get_without_preload_con return response_data.response - def _get_pricing_history_api_v1_pricing_model_key_history_get_serialize( + def _pricing_get_pricing_history_serialize( self, model_key, _request_auth, @@ -1137,7 +1137,7 @@ def _get_pricing_history_api_v1_pricing_model_key_history_get_serialize( @validate_call - def list_pricing_api_v1_pricing_get( + def pricing_list_pricing( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1184,7 +1184,7 @@ def list_pricing_api_v1_pricing_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_pricing_api_v1_pricing_get_serialize( + _param = self._pricing_list_pricing_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1209,7 +1209,7 @@ def list_pricing_api_v1_pricing_get( @validate_call - def list_pricing_api_v1_pricing_get_with_http_info( + def pricing_list_pricing_with_http_info( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1256,7 +1256,7 @@ def list_pricing_api_v1_pricing_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_pricing_api_v1_pricing_get_serialize( + _param = self._pricing_list_pricing_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1281,7 +1281,7 @@ def list_pricing_api_v1_pricing_get_with_http_info( @validate_call - def list_pricing_api_v1_pricing_get_without_preload_content( + def pricing_list_pricing_without_preload_content( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1328,7 +1328,7 @@ def list_pricing_api_v1_pricing_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_pricing_api_v1_pricing_get_serialize( + _param = self._pricing_list_pricing_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1348,7 +1348,7 @@ def list_pricing_api_v1_pricing_get_without_preload_content( return response_data.response - def _list_pricing_api_v1_pricing_get_serialize( + def _pricing_list_pricing_serialize( self, skip, limit, @@ -1421,7 +1421,7 @@ def _list_pricing_api_v1_pricing_get_serialize( @validate_call - def preview_pricing_refresh_api_v1_pricing_refresh_post( + def pricing_preview_pricing_refresh( self, _request_timeout: Union[ None, @@ -1462,7 +1462,7 @@ def preview_pricing_refresh_api_v1_pricing_refresh_post( :return: Returns the result object. """ # noqa: E501 - _param = self._preview_pricing_refresh_api_v1_pricing_refresh_post_serialize( + _param = self._pricing_preview_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1484,7 +1484,7 @@ def preview_pricing_refresh_api_v1_pricing_refresh_post( @validate_call - def preview_pricing_refresh_api_v1_pricing_refresh_post_with_http_info( + def pricing_preview_pricing_refresh_with_http_info( self, _request_timeout: Union[ None, @@ -1525,7 +1525,7 @@ def preview_pricing_refresh_api_v1_pricing_refresh_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._preview_pricing_refresh_api_v1_pricing_refresh_post_serialize( + _param = self._pricing_preview_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1547,7 +1547,7 @@ def preview_pricing_refresh_api_v1_pricing_refresh_post_with_http_info( @validate_call - def preview_pricing_refresh_api_v1_pricing_refresh_post_without_preload_content( + def pricing_preview_pricing_refresh_without_preload_content( self, _request_timeout: Union[ None, @@ -1588,7 +1588,7 @@ def preview_pricing_refresh_api_v1_pricing_refresh_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._preview_pricing_refresh_api_v1_pricing_refresh_post_serialize( + _param = self._pricing_preview_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1605,7 +1605,7 @@ def preview_pricing_refresh_api_v1_pricing_refresh_post_without_preload_content( return response_data.response - def _preview_pricing_refresh_api_v1_pricing_refresh_post_serialize( + def _pricing_preview_pricing_refresh_serialize( self, _request_auth, _content_type, @@ -1668,7 +1668,7 @@ def _preview_pricing_refresh_api_v1_pricing_refresh_post_serialize( @validate_call - def reject_pricing_refresh_api_v1_pricing_refresh_reject_post( + def pricing_reject_pricing_refresh( self, _request_timeout: Union[ None, @@ -1709,7 +1709,7 @@ def reject_pricing_refresh_api_v1_pricing_refresh_reject_post( :return: Returns the result object. """ # noqa: E501 - _param = self._reject_pricing_refresh_api_v1_pricing_refresh_reject_post_serialize( + _param = self._pricing_reject_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1731,7 +1731,7 @@ def reject_pricing_refresh_api_v1_pricing_refresh_reject_post( @validate_call - def reject_pricing_refresh_api_v1_pricing_refresh_reject_post_with_http_info( + def pricing_reject_pricing_refresh_with_http_info( self, _request_timeout: Union[ None, @@ -1772,7 +1772,7 @@ def reject_pricing_refresh_api_v1_pricing_refresh_reject_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._reject_pricing_refresh_api_v1_pricing_refresh_reject_post_serialize( + _param = self._pricing_reject_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1794,7 +1794,7 @@ def reject_pricing_refresh_api_v1_pricing_refresh_reject_post_with_http_info( @validate_call - def reject_pricing_refresh_api_v1_pricing_refresh_reject_post_without_preload_content( + def pricing_reject_pricing_refresh_without_preload_content( self, _request_timeout: Union[ None, @@ -1835,7 +1835,7 @@ def reject_pricing_refresh_api_v1_pricing_refresh_reject_post_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._reject_pricing_refresh_api_v1_pricing_refresh_reject_post_serialize( + _param = self._pricing_reject_pricing_refresh_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1852,7 +1852,7 @@ def reject_pricing_refresh_api_v1_pricing_refresh_reject_post_without_preload_co return response_data.response - def _reject_pricing_refresh_api_v1_pricing_refresh_reject_post_serialize( + def _pricing_reject_pricing_refresh_serialize( self, _request_auth, _content_type, @@ -1908,7 +1908,7 @@ def _reject_pricing_refresh_api_v1_pricing_refresh_reject_post_serialize( @validate_call - def set_pricing_api_v1_pricing_post( + def pricing_set_pricing( self, set_pricing_request: SetPricingRequest, _request_timeout: Union[ @@ -1952,7 +1952,7 @@ def set_pricing_api_v1_pricing_post( :return: Returns the result object. """ # noqa: E501 - _param = self._set_pricing_api_v1_pricing_post_serialize( + _param = self._pricing_set_pricing_serialize( set_pricing_request=set_pricing_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1976,7 +1976,7 @@ def set_pricing_api_v1_pricing_post( @validate_call - def set_pricing_api_v1_pricing_post_with_http_info( + def pricing_set_pricing_with_http_info( self, set_pricing_request: SetPricingRequest, _request_timeout: Union[ @@ -2020,7 +2020,7 @@ def set_pricing_api_v1_pricing_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._set_pricing_api_v1_pricing_post_serialize( + _param = self._pricing_set_pricing_serialize( set_pricing_request=set_pricing_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2044,7 +2044,7 @@ def set_pricing_api_v1_pricing_post_with_http_info( @validate_call - def set_pricing_api_v1_pricing_post_without_preload_content( + def pricing_set_pricing_without_preload_content( self, set_pricing_request: SetPricingRequest, _request_timeout: Union[ @@ -2088,7 +2088,7 @@ def set_pricing_api_v1_pricing_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._set_pricing_api_v1_pricing_post_serialize( + _param = self._pricing_set_pricing_serialize( set_pricing_request=set_pricing_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2107,7 +2107,7 @@ def set_pricing_api_v1_pricing_post_without_preload_content( return response_data.response - def _set_pricing_api_v1_pricing_post_serialize( + def _pricing_set_pricing_serialize( self, set_pricing_request, _request_auth, diff --git a/src/otari/_client/api/provider_keys_api.py b/src/otari/_client/api/provider_keys_api.py index cc066dfa..953426d8 100644 --- a/src/otari/_client/api/provider_keys_api.py +++ b/src/otari/_client/api/provider_keys_api.py @@ -49,7 +49,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_post( + def provider_keys_add_workspace_provider_key_model_restriction( self, workspace_id: UUID, key_id: UUID, @@ -99,7 +99,7 @@ def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_ :return: Returns the result object. """ # noqa: E501 - _param = self._add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_post_serialize( + _param = self._provider_keys_add_workspace_provider_key_model_restriction_serialize( workspace_id=workspace_id, key_id=key_id, workspace_provider_model_restriction_request=workspace_provider_model_restriction_request, @@ -125,7 +125,7 @@ def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_ @validate_call - def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_post_with_http_info( + def provider_keys_add_workspace_provider_key_model_restriction_with_http_info( self, workspace_id: UUID, key_id: UUID, @@ -175,7 +175,7 @@ def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_ :return: Returns the result object. """ # noqa: E501 - _param = self._add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_post_serialize( + _param = self._provider_keys_add_workspace_provider_key_model_restriction_serialize( workspace_id=workspace_id, key_id=key_id, workspace_provider_model_restriction_request=workspace_provider_model_restriction_request, @@ -201,7 +201,7 @@ def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_ @validate_call - def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_post_without_preload_content( + def provider_keys_add_workspace_provider_key_model_restriction_without_preload_content( self, workspace_id: UUID, key_id: UUID, @@ -251,7 +251,7 @@ def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_ :return: Returns the result object. """ # noqa: E501 - _param = self._add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_post_serialize( + _param = self._provider_keys_add_workspace_provider_key_model_restriction_serialize( workspace_id=workspace_id, key_id=key_id, workspace_provider_model_restriction_request=workspace_provider_model_restriction_request, @@ -272,7 +272,7 @@ def add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_ return response_data.response - def _add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_post_serialize( + def _provider_keys_add_workspace_provider_key_model_restriction_serialize( self, workspace_id, key_id, @@ -357,7 +357,7 @@ def _add_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id @validate_call - def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archive_post( + def provider_keys_archive_org_provider_key( self, key_id: UUID, _request_timeout: Union[ @@ -401,7 +401,7 @@ def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archiv :return: Returns the result object. """ # noqa: E501 - _param = self._archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archive_post_serialize( + _param = self._provider_keys_archive_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -425,7 +425,7 @@ def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archiv @validate_call - def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archive_post_with_http_info( + def provider_keys_archive_org_provider_key_with_http_info( self, key_id: UUID, _request_timeout: Union[ @@ -469,7 +469,7 @@ def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archiv :return: Returns the result object. """ # noqa: E501 - _param = self._archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archive_post_serialize( + _param = self._provider_keys_archive_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -493,7 +493,7 @@ def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archiv @validate_call - def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archive_post_without_preload_content( + def provider_keys_archive_org_provider_key_without_preload_content( self, key_id: UUID, _request_timeout: Union[ @@ -537,7 +537,7 @@ def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archiv :return: Returns the result object. """ # noqa: E501 - _param = self._archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archive_post_serialize( + _param = self._provider_keys_archive_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -556,7 +556,7 @@ def archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archiv return response_data.response - def _archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archive_post_serialize( + def _provider_keys_archive_org_provider_key_serialize( self, key_id, _request_auth, @@ -622,7 +622,7 @@ def _archive_org_provider_key_api_v1_organizations_me_provider_keys_key_id_archi @validate_call - def create_org_provider_key_api_v1_organizations_me_provider_keys_post( + def provider_keys_create_org_provider_key( self, org_provider_key_create_request: OrgProviderKeyCreateRequest, _request_timeout: Union[ @@ -666,7 +666,7 @@ def create_org_provider_key_api_v1_organizations_me_provider_keys_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_org_provider_key_api_v1_organizations_me_provider_keys_post_serialize( + _param = self._provider_keys_create_org_provider_key_serialize( org_provider_key_create_request=org_provider_key_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -690,7 +690,7 @@ def create_org_provider_key_api_v1_organizations_me_provider_keys_post( @validate_call - def create_org_provider_key_api_v1_organizations_me_provider_keys_post_with_http_info( + def provider_keys_create_org_provider_key_with_http_info( self, org_provider_key_create_request: OrgProviderKeyCreateRequest, _request_timeout: Union[ @@ -734,7 +734,7 @@ def create_org_provider_key_api_v1_organizations_me_provider_keys_post_with_http :return: Returns the result object. """ # noqa: E501 - _param = self._create_org_provider_key_api_v1_organizations_me_provider_keys_post_serialize( + _param = self._provider_keys_create_org_provider_key_serialize( org_provider_key_create_request=org_provider_key_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -758,7 +758,7 @@ def create_org_provider_key_api_v1_organizations_me_provider_keys_post_with_http @validate_call - def create_org_provider_key_api_v1_organizations_me_provider_keys_post_without_preload_content( + def provider_keys_create_org_provider_key_without_preload_content( self, org_provider_key_create_request: OrgProviderKeyCreateRequest, _request_timeout: Union[ @@ -802,7 +802,7 @@ def create_org_provider_key_api_v1_organizations_me_provider_keys_post_without_p :return: Returns the result object. """ # noqa: E501 - _param = self._create_org_provider_key_api_v1_organizations_me_provider_keys_post_serialize( + _param = self._provider_keys_create_org_provider_key_serialize( org_provider_key_create_request=org_provider_key_create_request, _request_auth=_request_auth, _content_type=_content_type, @@ -821,7 +821,7 @@ def create_org_provider_key_api_v1_organizations_me_provider_keys_post_without_p return response_data.response - def _create_org_provider_key_api_v1_organizations_me_provider_keys_post_serialize( + def _provider_keys_create_org_provider_key_serialize( self, org_provider_key_create_request, _request_auth, @@ -900,7 +900,7 @@ def _create_org_provider_key_api_v1_organizations_me_provider_keys_post_serializ @validate_call - def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete( + def provider_keys_delete_org_provider_key( self, key_id: UUID, _request_timeout: Union[ @@ -944,7 +944,7 @@ def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_serialize( + _param = self._provider_keys_delete_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -968,7 +968,7 @@ def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete( @validate_call - def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_with_http_info( + def provider_keys_delete_org_provider_key_with_http_info( self, key_id: UUID, _request_timeout: Union[ @@ -1012,7 +1012,7 @@ def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_ :return: Returns the result object. """ # noqa: E501 - _param = self._delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_serialize( + _param = self._provider_keys_delete_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1036,7 +1036,7 @@ def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_ @validate_call - def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_without_preload_content( + def provider_keys_delete_org_provider_key_without_preload_content( self, key_id: UUID, _request_timeout: Union[ @@ -1080,7 +1080,7 @@ def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_ :return: Returns the result object. """ # noqa: E501 - _param = self._delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_serialize( + _param = self._provider_keys_delete_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1099,7 +1099,7 @@ def delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_ return response_data.response - def _delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete_serialize( + def _provider_keys_delete_org_provider_key_serialize( self, key_id, _request_auth, @@ -1165,7 +1165,7 @@ def _delete_org_provider_key_api_v1_organizations_me_provider_keys_key_id_delete @validate_call - def list_org_provider_keys_api_v1_organizations_me_provider_keys_get( + def provider_keys_list_org_provider_keys( self, include_archived: Annotated[Optional[StrictBool], Field(description="Include archived keys.")] = None, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -1215,7 +1215,7 @@ def list_org_provider_keys_api_v1_organizations_me_provider_keys_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_org_provider_keys_api_v1_organizations_me_provider_keys_get_serialize( + _param = self._provider_keys_list_org_provider_keys_serialize( include_archived=include_archived, skip=skip, limit=limit, @@ -1241,7 +1241,7 @@ def list_org_provider_keys_api_v1_organizations_me_provider_keys_get( @validate_call - def list_org_provider_keys_api_v1_organizations_me_provider_keys_get_with_http_info( + def provider_keys_list_org_provider_keys_with_http_info( self, include_archived: Annotated[Optional[StrictBool], Field(description="Include archived keys.")] = None, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -1291,7 +1291,7 @@ def list_org_provider_keys_api_v1_organizations_me_provider_keys_get_with_http_i :return: Returns the result object. """ # noqa: E501 - _param = self._list_org_provider_keys_api_v1_organizations_me_provider_keys_get_serialize( + _param = self._provider_keys_list_org_provider_keys_serialize( include_archived=include_archived, skip=skip, limit=limit, @@ -1317,7 +1317,7 @@ def list_org_provider_keys_api_v1_organizations_me_provider_keys_get_with_http_i @validate_call - def list_org_provider_keys_api_v1_organizations_me_provider_keys_get_without_preload_content( + def provider_keys_list_org_provider_keys_without_preload_content( self, include_archived: Annotated[Optional[StrictBool], Field(description="Include archived keys.")] = None, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -1367,7 +1367,7 @@ def list_org_provider_keys_api_v1_organizations_me_provider_keys_get_without_pre :return: Returns the result object. """ # noqa: E501 - _param = self._list_org_provider_keys_api_v1_organizations_me_provider_keys_get_serialize( + _param = self._provider_keys_list_org_provider_keys_serialize( include_archived=include_archived, skip=skip, limit=limit, @@ -1388,7 +1388,7 @@ def list_org_provider_keys_api_v1_organizations_me_provider_keys_get_without_pre return response_data.response - def _list_org_provider_keys_api_v1_organizations_me_provider_keys_get_serialize( + def _provider_keys_list_org_provider_keys_serialize( self, include_archived, skip, @@ -1466,7 +1466,7 @@ def _list_org_provider_keys_api_v1_organizations_me_provider_keys_get_serialize( @validate_call - def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_id_provider_keys_key_id_models_get( + def provider_keys_list_workspace_provider_key_model_restrictions( self, workspace_id: UUID, key_id: UUID, @@ -1513,7 +1513,7 @@ def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_i :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_id_provider_keys_key_id_models_get_serialize( + _param = self._provider_keys_list_workspace_provider_key_model_restrictions_serialize( workspace_id=workspace_id, key_id=key_id, _request_auth=_request_auth, @@ -1538,7 +1538,7 @@ def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_i @validate_call - def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_id_provider_keys_key_id_models_get_with_http_info( + def provider_keys_list_workspace_provider_key_model_restrictions_with_http_info( self, workspace_id: UUID, key_id: UUID, @@ -1585,7 +1585,7 @@ def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_i :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_id_provider_keys_key_id_models_get_serialize( + _param = self._provider_keys_list_workspace_provider_key_model_restrictions_serialize( workspace_id=workspace_id, key_id=key_id, _request_auth=_request_auth, @@ -1610,7 +1610,7 @@ def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_i @validate_call - def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_id_provider_keys_key_id_models_get_without_preload_content( + def provider_keys_list_workspace_provider_key_model_restrictions_without_preload_content( self, workspace_id: UUID, key_id: UUID, @@ -1657,7 +1657,7 @@ def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_i :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_id_provider_keys_key_id_models_get_serialize( + _param = self._provider_keys_list_workspace_provider_key_model_restrictions_serialize( workspace_id=workspace_id, key_id=key_id, _request_auth=_request_auth, @@ -1677,7 +1677,7 @@ def list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_i return response_data.response - def _list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_id_provider_keys_key_id_models_get_serialize( + def _provider_keys_list_workspace_provider_key_model_restrictions_serialize( self, workspace_id, key_id, @@ -1746,7 +1746,7 @@ def _list_workspace_provider_key_model_restrictions_api_v1_workspaces_workspace_ @validate_call - def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_get( + def provider_keys_list_workspace_provider_keys( self, workspace_id: UUID, _request_timeout: Union[ @@ -1790,7 +1790,7 @@ def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_ge :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_get_serialize( + _param = self._provider_keys_list_workspace_provider_keys_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1814,7 +1814,7 @@ def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_ge @validate_call - def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_get_with_http_info( + def provider_keys_list_workspace_provider_keys_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -1858,7 +1858,7 @@ def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_ge :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_get_serialize( + _param = self._provider_keys_list_workspace_provider_keys_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1882,7 +1882,7 @@ def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_ge @validate_call - def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_get_without_preload_content( + def provider_keys_list_workspace_provider_keys_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -1926,7 +1926,7 @@ def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_ge :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_get_serialize( + _param = self._provider_keys_list_workspace_provider_keys_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1945,7 +1945,7 @@ def list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_ge return response_data.response - def _list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_get_serialize( + def _provider_keys_list_workspace_provider_keys_serialize( self, workspace_id, _request_auth, @@ -2011,7 +2011,7 @@ def _list_workspace_provider_keys_api_v1_workspaces_workspace_id_provider_keys_g @validate_call - def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_model_delete( + def provider_keys_remove_workspace_provider_key_model_restriction( self, workspace_id: UUID, key_id: UUID, @@ -2061,7 +2061,7 @@ def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_ :return: Returns the result object. """ # noqa: E501 - _param = self._remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_model_delete_serialize( + _param = self._provider_keys_remove_workspace_provider_key_model_restriction_serialize( workspace_id=workspace_id, key_id=key_id, model=model, @@ -2087,7 +2087,7 @@ def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_ @validate_call - def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_model_delete_with_http_info( + def provider_keys_remove_workspace_provider_key_model_restriction_with_http_info( self, workspace_id: UUID, key_id: UUID, @@ -2137,7 +2137,7 @@ def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_ :return: Returns the result object. """ # noqa: E501 - _param = self._remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_model_delete_serialize( + _param = self._provider_keys_remove_workspace_provider_key_model_restriction_serialize( workspace_id=workspace_id, key_id=key_id, model=model, @@ -2163,7 +2163,7 @@ def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_ @validate_call - def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_model_delete_without_preload_content( + def provider_keys_remove_workspace_provider_key_model_restriction_without_preload_content( self, workspace_id: UUID, key_id: UUID, @@ -2213,7 +2213,7 @@ def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_ :return: Returns the result object. """ # noqa: E501 - _param = self._remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_model_delete_serialize( + _param = self._provider_keys_remove_workspace_provider_key_model_restriction_serialize( workspace_id=workspace_id, key_id=key_id, model=model, @@ -2234,7 +2234,7 @@ def remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_ return response_data.response - def _remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace_id_provider_keys_key_id_models_model_delete_serialize( + def _provider_keys_remove_workspace_provider_key_model_restriction_serialize( self, workspace_id, key_id, @@ -2306,7 +2306,7 @@ def _remove_workspace_provider_key_model_restriction_api_v1_workspaces_workspace @validate_call - def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_delete( + def provider_keys_reset_workspace_provider_key_override( self, workspace_id: UUID, key_id: UUID, @@ -2353,7 +2353,7 @@ def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provide :return: Returns the result object. """ # noqa: E501 - _param = self._reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_delete_serialize( + _param = self._provider_keys_reset_workspace_provider_key_override_serialize( workspace_id=workspace_id, key_id=key_id, _request_auth=_request_auth, @@ -2378,7 +2378,7 @@ def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provide @validate_call - def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_delete_with_http_info( + def provider_keys_reset_workspace_provider_key_override_with_http_info( self, workspace_id: UUID, key_id: UUID, @@ -2425,7 +2425,7 @@ def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provide :return: Returns the result object. """ # noqa: E501 - _param = self._reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_delete_serialize( + _param = self._provider_keys_reset_workspace_provider_key_override_serialize( workspace_id=workspace_id, key_id=key_id, _request_auth=_request_auth, @@ -2450,7 +2450,7 @@ def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provide @validate_call - def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_delete_without_preload_content( + def provider_keys_reset_workspace_provider_key_override_without_preload_content( self, workspace_id: UUID, key_id: UUID, @@ -2497,7 +2497,7 @@ def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provide :return: Returns the result object. """ # noqa: E501 - _param = self._reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_delete_serialize( + _param = self._provider_keys_reset_workspace_provider_key_override_serialize( workspace_id=workspace_id, key_id=key_id, _request_auth=_request_auth, @@ -2517,7 +2517,7 @@ def reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provide return response_data.response - def _reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_delete_serialize( + def _provider_keys_reset_workspace_provider_key_override_serialize( self, workspace_id, key_id, @@ -2586,7 +2586,7 @@ def _reset_workspace_provider_key_override_api_v1_workspaces_workspace_id_provid @validate_call - def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restore_post( + def provider_keys_restore_org_provider_key( self, key_id: UUID, _request_timeout: Union[ @@ -2630,7 +2630,7 @@ def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restor :return: Returns the result object. """ # noqa: E501 - _param = self._restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restore_post_serialize( + _param = self._provider_keys_restore_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2654,7 +2654,7 @@ def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restor @validate_call - def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restore_post_with_http_info( + def provider_keys_restore_org_provider_key_with_http_info( self, key_id: UUID, _request_timeout: Union[ @@ -2698,7 +2698,7 @@ def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restor :return: Returns the result object. """ # noqa: E501 - _param = self._restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restore_post_serialize( + _param = self._provider_keys_restore_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2722,7 +2722,7 @@ def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restor @validate_call - def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restore_post_without_preload_content( + def provider_keys_restore_org_provider_key_without_preload_content( self, key_id: UUID, _request_timeout: Union[ @@ -2766,7 +2766,7 @@ def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restor :return: Returns the result object. """ # noqa: E501 - _param = self._restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restore_post_serialize( + _param = self._provider_keys_restore_org_provider_key_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2785,7 +2785,7 @@ def restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restor return response_data.response - def _restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_restore_post_serialize( + def _provider_keys_restore_org_provider_key_serialize( self, key_id, _request_auth, @@ -2851,7 +2851,7 @@ def _restore_org_provider_key_api_v1_organizations_me_provider_keys_key_id_resto @validate_call - def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_default_post( + def provider_keys_set_org_provider_key_default( self, key_id: UUID, _request_timeout: Union[ @@ -2895,7 +2895,7 @@ def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_de :return: Returns the result object. """ # noqa: E501 - _param = self._set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_default_post_serialize( + _param = self._provider_keys_set_org_provider_key_default_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2919,7 +2919,7 @@ def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_de @validate_call - def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_default_post_with_http_info( + def provider_keys_set_org_provider_key_default_with_http_info( self, key_id: UUID, _request_timeout: Union[ @@ -2963,7 +2963,7 @@ def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_de :return: Returns the result object. """ # noqa: E501 - _param = self._set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_default_post_serialize( + _param = self._provider_keys_set_org_provider_key_default_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2987,7 +2987,7 @@ def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_de @validate_call - def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_default_post_without_preload_content( + def provider_keys_set_org_provider_key_default_without_preload_content( self, key_id: UUID, _request_timeout: Union[ @@ -3031,7 +3031,7 @@ def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_de :return: Returns the result object. """ # noqa: E501 - _param = self._set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_default_post_serialize( + _param = self._provider_keys_set_org_provider_key_default_serialize( key_id=key_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3050,7 +3050,7 @@ def set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_de return response_data.response - def _set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_default_post_serialize( + def _provider_keys_set_org_provider_key_default_serialize( self, key_id, _request_auth, @@ -3116,7 +3116,7 @@ def _set_org_provider_key_default_api_v1_organizations_me_provider_keys_key_id_d @validate_call - def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_patch( + def provider_keys_set_workspace_provider_key_override( self, workspace_id: UUID, key_id: UUID, @@ -3166,7 +3166,7 @@ def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_ :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_patch_serialize( + _param = self._provider_keys_set_workspace_provider_key_override_serialize( workspace_id=workspace_id, key_id=key_id, workspace_provider_key_override_request=workspace_provider_key_override_request, @@ -3192,7 +3192,7 @@ def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_ @validate_call - def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_patch_with_http_info( + def provider_keys_set_workspace_provider_key_override_with_http_info( self, workspace_id: UUID, key_id: UUID, @@ -3242,7 +3242,7 @@ def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_ :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_patch_serialize( + _param = self._provider_keys_set_workspace_provider_key_override_serialize( workspace_id=workspace_id, key_id=key_id, workspace_provider_key_override_request=workspace_provider_key_override_request, @@ -3268,7 +3268,7 @@ def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_ @validate_call - def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_patch_without_preload_content( + def provider_keys_set_workspace_provider_key_override_without_preload_content( self, workspace_id: UUID, key_id: UUID, @@ -3318,7 +3318,7 @@ def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_ :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_patch_serialize( + _param = self._provider_keys_set_workspace_provider_key_override_serialize( workspace_id=workspace_id, key_id=key_id, workspace_provider_key_override_request=workspace_provider_key_override_request, @@ -3339,7 +3339,7 @@ def set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_ return response_data.response - def _set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider_keys_key_id_patch_serialize( + def _provider_keys_set_workspace_provider_key_override_serialize( self, workspace_id, key_id, @@ -3424,7 +3424,7 @@ def _set_workspace_provider_key_override_api_v1_workspaces_workspace_id_provider @validate_call - def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch( + def provider_keys_update_org_provider_key( self, key_id: UUID, org_provider_key_update_request: OrgProviderKeyUpdateRequest, @@ -3471,7 +3471,7 @@ def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_serialize( + _param = self._provider_keys_update_org_provider_key_serialize( key_id=key_id, org_provider_key_update_request=org_provider_key_update_request, _request_auth=_request_auth, @@ -3496,7 +3496,7 @@ def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch( @validate_call - def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_with_http_info( + def provider_keys_update_org_provider_key_with_http_info( self, key_id: UUID, org_provider_key_update_request: OrgProviderKeyUpdateRequest, @@ -3543,7 +3543,7 @@ def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_w :return: Returns the result object. """ # noqa: E501 - _param = self._update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_serialize( + _param = self._provider_keys_update_org_provider_key_serialize( key_id=key_id, org_provider_key_update_request=org_provider_key_update_request, _request_auth=_request_auth, @@ -3568,7 +3568,7 @@ def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_w @validate_call - def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_without_preload_content( + def provider_keys_update_org_provider_key_without_preload_content( self, key_id: UUID, org_provider_key_update_request: OrgProviderKeyUpdateRequest, @@ -3615,7 +3615,7 @@ def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_w :return: Returns the result object. """ # noqa: E501 - _param = self._update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_serialize( + _param = self._provider_keys_update_org_provider_key_serialize( key_id=key_id, org_provider_key_update_request=org_provider_key_update_request, _request_auth=_request_auth, @@ -3635,7 +3635,7 @@ def update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_w return response_data.response - def _update_org_provider_key_api_v1_organizations_me_provider_keys_key_id_patch_serialize( + def _provider_keys_update_org_provider_key_serialize( self, key_id, org_provider_key_update_request, diff --git a/src/otari/_client/api/providers_api.py b/src/otari/_client/api/providers_api.py index 3d613f2e..36801555 100644 --- a/src/otari/_client/api/providers_api.py +++ b/src/otari/_client/api/providers_api.py @@ -47,7 +47,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_stored_provider_api_v1_provider_credentials_post( + def providers_create_stored_provider( self, create_stored_provider_request: CreateStoredProviderRequest, _request_timeout: Union[ @@ -91,7 +91,7 @@ def create_stored_provider_api_v1_provider_credentials_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_stored_provider_api_v1_provider_credentials_post_serialize( + _param = self._providers_create_stored_provider_serialize( create_stored_provider_request=create_stored_provider_request, _request_auth=_request_auth, _content_type=_content_type, @@ -115,7 +115,7 @@ def create_stored_provider_api_v1_provider_credentials_post( @validate_call - def create_stored_provider_api_v1_provider_credentials_post_with_http_info( + def providers_create_stored_provider_with_http_info( self, create_stored_provider_request: CreateStoredProviderRequest, _request_timeout: Union[ @@ -159,7 +159,7 @@ def create_stored_provider_api_v1_provider_credentials_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_stored_provider_api_v1_provider_credentials_post_serialize( + _param = self._providers_create_stored_provider_serialize( create_stored_provider_request=create_stored_provider_request, _request_auth=_request_auth, _content_type=_content_type, @@ -183,7 +183,7 @@ def create_stored_provider_api_v1_provider_credentials_post_with_http_info( @validate_call - def create_stored_provider_api_v1_provider_credentials_post_without_preload_content( + def providers_create_stored_provider_without_preload_content( self, create_stored_provider_request: CreateStoredProviderRequest, _request_timeout: Union[ @@ -227,7 +227,7 @@ def create_stored_provider_api_v1_provider_credentials_post_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._create_stored_provider_api_v1_provider_credentials_post_serialize( + _param = self._providers_create_stored_provider_serialize( create_stored_provider_request=create_stored_provider_request, _request_auth=_request_auth, _content_type=_content_type, @@ -246,7 +246,7 @@ def create_stored_provider_api_v1_provider_credentials_post_without_preload_cont return response_data.response - def _create_stored_provider_api_v1_provider_credentials_post_serialize( + def _providers_create_stored_provider_serialize( self, create_stored_provider_request, _request_auth, @@ -325,7 +325,7 @@ def _create_stored_provider_api_v1_provider_credentials_post_serialize( @validate_call - def delete_stored_provider_api_v1_provider_credentials_instance_delete( + def providers_delete_stored_provider( self, instance: StrictStr, _request_timeout: Union[ @@ -369,7 +369,7 @@ def delete_stored_provider_api_v1_provider_credentials_instance_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_stored_provider_api_v1_provider_credentials_instance_delete_serialize( + _param = self._providers_delete_stored_provider_serialize( instance=instance, _request_auth=_request_auth, _content_type=_content_type, @@ -393,7 +393,7 @@ def delete_stored_provider_api_v1_provider_credentials_instance_delete( @validate_call - def delete_stored_provider_api_v1_provider_credentials_instance_delete_with_http_info( + def providers_delete_stored_provider_with_http_info( self, instance: StrictStr, _request_timeout: Union[ @@ -437,7 +437,7 @@ def delete_stored_provider_api_v1_provider_credentials_instance_delete_with_http :return: Returns the result object. """ # noqa: E501 - _param = self._delete_stored_provider_api_v1_provider_credentials_instance_delete_serialize( + _param = self._providers_delete_stored_provider_serialize( instance=instance, _request_auth=_request_auth, _content_type=_content_type, @@ -461,7 +461,7 @@ def delete_stored_provider_api_v1_provider_credentials_instance_delete_with_http @validate_call - def delete_stored_provider_api_v1_provider_credentials_instance_delete_without_preload_content( + def providers_delete_stored_provider_without_preload_content( self, instance: StrictStr, _request_timeout: Union[ @@ -505,7 +505,7 @@ def delete_stored_provider_api_v1_provider_credentials_instance_delete_without_p :return: Returns the result object. """ # noqa: E501 - _param = self._delete_stored_provider_api_v1_provider_credentials_instance_delete_serialize( + _param = self._providers_delete_stored_provider_serialize( instance=instance, _request_auth=_request_auth, _content_type=_content_type, @@ -524,7 +524,7 @@ def delete_stored_provider_api_v1_provider_credentials_instance_delete_without_p return response_data.response - def _delete_stored_provider_api_v1_provider_credentials_instance_delete_serialize( + def _providers_delete_stored_provider_serialize( self, instance, _request_auth, @@ -590,7 +590,7 @@ def _delete_stored_provider_api_v1_provider_credentials_instance_delete_serializ @validate_call - def list_providers_api_v1_providers_get( + def providers_list_providers( self, _request_timeout: Union[ None, @@ -631,7 +631,7 @@ def list_providers_api_v1_providers_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_providers_api_v1_providers_get_serialize( + _param = self._providers_list_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -653,7 +653,7 @@ def list_providers_api_v1_providers_get( @validate_call - def list_providers_api_v1_providers_get_with_http_info( + def providers_list_providers_with_http_info( self, _request_timeout: Union[ None, @@ -694,7 +694,7 @@ def list_providers_api_v1_providers_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_providers_api_v1_providers_get_serialize( + _param = self._providers_list_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -716,7 +716,7 @@ def list_providers_api_v1_providers_get_with_http_info( @validate_call - def list_providers_api_v1_providers_get_without_preload_content( + def providers_list_providers_without_preload_content( self, _request_timeout: Union[ None, @@ -757,7 +757,7 @@ def list_providers_api_v1_providers_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_providers_api_v1_providers_get_serialize( + _param = self._providers_list_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -774,7 +774,7 @@ def list_providers_api_v1_providers_get_without_preload_content( return response_data.response - def _list_providers_api_v1_providers_get_serialize( + def _providers_list_providers_serialize( self, _request_auth, _content_type, @@ -837,7 +837,7 @@ def _list_providers_api_v1_providers_get_serialize( @validate_call - def list_stored_providers_api_v1_provider_credentials_get( + def providers_list_stored_providers( self, _request_timeout: Union[ None, @@ -878,7 +878,7 @@ def list_stored_providers_api_v1_provider_credentials_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_stored_providers_api_v1_provider_credentials_get_serialize( + _param = self._providers_list_stored_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -900,7 +900,7 @@ def list_stored_providers_api_v1_provider_credentials_get( @validate_call - def list_stored_providers_api_v1_provider_credentials_get_with_http_info( + def providers_list_stored_providers_with_http_info( self, _request_timeout: Union[ None, @@ -941,7 +941,7 @@ def list_stored_providers_api_v1_provider_credentials_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_stored_providers_api_v1_provider_credentials_get_serialize( + _param = self._providers_list_stored_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -963,7 +963,7 @@ def list_stored_providers_api_v1_provider_credentials_get_with_http_info( @validate_call - def list_stored_providers_api_v1_provider_credentials_get_without_preload_content( + def providers_list_stored_providers_without_preload_content( self, _request_timeout: Union[ None, @@ -1004,7 +1004,7 @@ def list_stored_providers_api_v1_provider_credentials_get_without_preload_conten :return: Returns the result object. """ # noqa: E501 - _param = self._list_stored_providers_api_v1_provider_credentials_get_serialize( + _param = self._providers_list_stored_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1021,7 +1021,7 @@ def list_stored_providers_api_v1_provider_credentials_get_without_preload_conten return response_data.response - def _list_stored_providers_api_v1_provider_credentials_get_serialize( + def _providers_list_stored_providers_serialize( self, _request_auth, _content_type, @@ -1084,7 +1084,7 @@ def _list_stored_providers_api_v1_provider_credentials_get_serialize( @validate_call - def provider_catalog_api_v1_providers_catalog_get( + def providers_provider_catalog( self, _request_timeout: Union[ None, @@ -1125,7 +1125,7 @@ def provider_catalog_api_v1_providers_catalog_get( :return: Returns the result object. """ # noqa: E501 - _param = self._provider_catalog_api_v1_providers_catalog_get_serialize( + _param = self._providers_provider_catalog_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1147,7 +1147,7 @@ def provider_catalog_api_v1_providers_catalog_get( @validate_call - def provider_catalog_api_v1_providers_catalog_get_with_http_info( + def providers_provider_catalog_with_http_info( self, _request_timeout: Union[ None, @@ -1188,7 +1188,7 @@ def provider_catalog_api_v1_providers_catalog_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._provider_catalog_api_v1_providers_catalog_get_serialize( + _param = self._providers_provider_catalog_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1210,7 +1210,7 @@ def provider_catalog_api_v1_providers_catalog_get_with_http_info( @validate_call - def provider_catalog_api_v1_providers_catalog_get_without_preload_content( + def providers_provider_catalog_without_preload_content( self, _request_timeout: Union[ None, @@ -1251,7 +1251,7 @@ def provider_catalog_api_v1_providers_catalog_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._provider_catalog_api_v1_providers_catalog_get_serialize( + _param = self._providers_provider_catalog_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1268,7 +1268,7 @@ def provider_catalog_api_v1_providers_catalog_get_without_preload_content( return response_data.response - def _provider_catalog_api_v1_providers_catalog_get_serialize( + def _providers_provider_catalog_serialize( self, _request_auth, _content_type, @@ -1331,7 +1331,7 @@ def _provider_catalog_api_v1_providers_catalog_get_serialize( @validate_call - def provider_catalog_detail_api_v1_providers_catalog_provider_id_get( + def providers_provider_catalog_detail( self, provider_id: StrictStr, _request_timeout: Union[ @@ -1375,7 +1375,7 @@ def provider_catalog_detail_api_v1_providers_catalog_provider_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._provider_catalog_detail_api_v1_providers_catalog_provider_id_get_serialize( + _param = self._providers_provider_catalog_detail_serialize( provider_id=provider_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1399,7 +1399,7 @@ def provider_catalog_detail_api_v1_providers_catalog_provider_id_get( @validate_call - def provider_catalog_detail_api_v1_providers_catalog_provider_id_get_with_http_info( + def providers_provider_catalog_detail_with_http_info( self, provider_id: StrictStr, _request_timeout: Union[ @@ -1443,7 +1443,7 @@ def provider_catalog_detail_api_v1_providers_catalog_provider_id_get_with_http_i :return: Returns the result object. """ # noqa: E501 - _param = self._provider_catalog_detail_api_v1_providers_catalog_provider_id_get_serialize( + _param = self._providers_provider_catalog_detail_serialize( provider_id=provider_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1467,7 +1467,7 @@ def provider_catalog_detail_api_v1_providers_catalog_provider_id_get_with_http_i @validate_call - def provider_catalog_detail_api_v1_providers_catalog_provider_id_get_without_preload_content( + def providers_provider_catalog_detail_without_preload_content( self, provider_id: StrictStr, _request_timeout: Union[ @@ -1511,7 +1511,7 @@ def provider_catalog_detail_api_v1_providers_catalog_provider_id_get_without_pre :return: Returns the result object. """ # noqa: E501 - _param = self._provider_catalog_detail_api_v1_providers_catalog_provider_id_get_serialize( + _param = self._providers_provider_catalog_detail_serialize( provider_id=provider_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1530,7 +1530,7 @@ def provider_catalog_detail_api_v1_providers_catalog_provider_id_get_without_pre return response_data.response - def _provider_catalog_detail_api_v1_providers_catalog_provider_id_get_serialize( + def _providers_provider_catalog_detail_serialize( self, provider_id, _request_auth, @@ -1596,7 +1596,7 @@ def _provider_catalog_detail_api_v1_providers_catalog_provider_id_get_serialize( @validate_call - def provider_health_api_v1_providers_health_get( + def providers_provider_health( self, refresh: Optional[StrictBool] = None, _request_timeout: Union[ @@ -1640,7 +1640,7 @@ def provider_health_api_v1_providers_health_get( :return: Returns the result object. """ # noqa: E501 - _param = self._provider_health_api_v1_providers_health_get_serialize( + _param = self._providers_provider_health_serialize( refresh=refresh, _request_auth=_request_auth, _content_type=_content_type, @@ -1664,7 +1664,7 @@ def provider_health_api_v1_providers_health_get( @validate_call - def provider_health_api_v1_providers_health_get_with_http_info( + def providers_provider_health_with_http_info( self, refresh: Optional[StrictBool] = None, _request_timeout: Union[ @@ -1708,7 +1708,7 @@ def provider_health_api_v1_providers_health_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._provider_health_api_v1_providers_health_get_serialize( + _param = self._providers_provider_health_serialize( refresh=refresh, _request_auth=_request_auth, _content_type=_content_type, @@ -1732,7 +1732,7 @@ def provider_health_api_v1_providers_health_get_with_http_info( @validate_call - def provider_health_api_v1_providers_health_get_without_preload_content( + def providers_provider_health_without_preload_content( self, refresh: Optional[StrictBool] = None, _request_timeout: Union[ @@ -1776,7 +1776,7 @@ def provider_health_api_v1_providers_health_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._provider_health_api_v1_providers_health_get_serialize( + _param = self._providers_provider_health_serialize( refresh=refresh, _request_auth=_request_auth, _content_type=_content_type, @@ -1795,7 +1795,7 @@ def provider_health_api_v1_providers_health_get_without_preload_content( return response_data.response - def _provider_health_api_v1_providers_health_get_serialize( + def _providers_provider_health_serialize( self, refresh, _request_auth, @@ -1863,7 +1863,7 @@ def _provider_health_api_v1_providers_health_get_serialize( @validate_call - def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post( + def providers_reencrypt_stored_provider_keys( self, _request_timeout: Union[ None, @@ -1904,7 +1904,7 @@ def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post( :return: Returns the result object. """ # noqa: E501 - _param = self._reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_serialize( + _param = self._providers_reencrypt_stored_provider_keys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1926,7 +1926,7 @@ def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post( @validate_call - def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_with_http_info( + def providers_reencrypt_stored_provider_keys_with_http_info( self, _request_timeout: Union[ None, @@ -1967,7 +1967,7 @@ def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_wi :return: Returns the result object. """ # noqa: E501 - _param = self._reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_serialize( + _param = self._providers_reencrypt_stored_provider_keys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1989,7 +1989,7 @@ def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_wi @validate_call - def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_without_preload_content( + def providers_reencrypt_stored_provider_keys_without_preload_content( self, _request_timeout: Union[ None, @@ -2030,7 +2030,7 @@ def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_wi :return: Returns the result object. """ # noqa: E501 - _param = self._reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_serialize( + _param = self._providers_reencrypt_stored_provider_keys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2047,7 +2047,7 @@ def reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_wi return response_data.response - def _reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_serialize( + def _providers_reencrypt_stored_provider_keys_serialize( self, _request_auth, _content_type, @@ -2110,7 +2110,7 @@ def _reencrypt_stored_provider_keys_api_v1_provider_credentials_reencrypt_post_s @validate_call - def test_provider_connection_api_v1_provider_credentials_test_post( + def providers_test_provider_connection( self, test_provider_request: TestProviderRequest, _request_timeout: Union[ @@ -2154,7 +2154,7 @@ def test_provider_connection_api_v1_provider_credentials_test_post( :return: Returns the result object. """ # noqa: E501 - _param = self._test_provider_connection_api_v1_provider_credentials_test_post_serialize( + _param = self._providers_test_provider_connection_serialize( test_provider_request=test_provider_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2178,7 +2178,7 @@ def test_provider_connection_api_v1_provider_credentials_test_post( @validate_call - def test_provider_connection_api_v1_provider_credentials_test_post_with_http_info( + def providers_test_provider_connection_with_http_info( self, test_provider_request: TestProviderRequest, _request_timeout: Union[ @@ -2222,7 +2222,7 @@ def test_provider_connection_api_v1_provider_credentials_test_post_with_http_inf :return: Returns the result object. """ # noqa: E501 - _param = self._test_provider_connection_api_v1_provider_credentials_test_post_serialize( + _param = self._providers_test_provider_connection_serialize( test_provider_request=test_provider_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2246,7 +2246,7 @@ def test_provider_connection_api_v1_provider_credentials_test_post_with_http_inf @validate_call - def test_provider_connection_api_v1_provider_credentials_test_post_without_preload_content( + def providers_test_provider_connection_without_preload_content( self, test_provider_request: TestProviderRequest, _request_timeout: Union[ @@ -2290,7 +2290,7 @@ def test_provider_connection_api_v1_provider_credentials_test_post_without_prelo :return: Returns the result object. """ # noqa: E501 - _param = self._test_provider_connection_api_v1_provider_credentials_test_post_serialize( + _param = self._providers_test_provider_connection_serialize( test_provider_request=test_provider_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2309,7 +2309,7 @@ def test_provider_connection_api_v1_provider_credentials_test_post_without_prelo return response_data.response - def _test_provider_connection_api_v1_provider_credentials_test_post_serialize( + def _providers_test_provider_connection_serialize( self, test_provider_request, _request_auth, @@ -2388,7 +2388,7 @@ def _test_provider_connection_api_v1_provider_credentials_test_post_serialize( @validate_call - def test_stored_provider_api_v1_provider_credentials_instance_test_post( + def providers_test_stored_provider( self, instance: StrictStr, _request_timeout: Union[ @@ -2432,7 +2432,7 @@ def test_stored_provider_api_v1_provider_credentials_instance_test_post( :return: Returns the result object. """ # noqa: E501 - _param = self._test_stored_provider_api_v1_provider_credentials_instance_test_post_serialize( + _param = self._providers_test_stored_provider_serialize( instance=instance, _request_auth=_request_auth, _content_type=_content_type, @@ -2456,7 +2456,7 @@ def test_stored_provider_api_v1_provider_credentials_instance_test_post( @validate_call - def test_stored_provider_api_v1_provider_credentials_instance_test_post_with_http_info( + def providers_test_stored_provider_with_http_info( self, instance: StrictStr, _request_timeout: Union[ @@ -2500,7 +2500,7 @@ def test_stored_provider_api_v1_provider_credentials_instance_test_post_with_htt :return: Returns the result object. """ # noqa: E501 - _param = self._test_stored_provider_api_v1_provider_credentials_instance_test_post_serialize( + _param = self._providers_test_stored_provider_serialize( instance=instance, _request_auth=_request_auth, _content_type=_content_type, @@ -2524,7 +2524,7 @@ def test_stored_provider_api_v1_provider_credentials_instance_test_post_with_htt @validate_call - def test_stored_provider_api_v1_provider_credentials_instance_test_post_without_preload_content( + def providers_test_stored_provider_without_preload_content( self, instance: StrictStr, _request_timeout: Union[ @@ -2568,7 +2568,7 @@ def test_stored_provider_api_v1_provider_credentials_instance_test_post_without_ :return: Returns the result object. """ # noqa: E501 - _param = self._test_stored_provider_api_v1_provider_credentials_instance_test_post_serialize( + _param = self._providers_test_stored_provider_serialize( instance=instance, _request_auth=_request_auth, _content_type=_content_type, @@ -2587,7 +2587,7 @@ def test_stored_provider_api_v1_provider_credentials_instance_test_post_without_ return response_data.response - def _test_stored_provider_api_v1_provider_credentials_instance_test_post_serialize( + def _providers_test_stored_provider_serialize( self, instance, _request_auth, @@ -2653,7 +2653,7 @@ def _test_stored_provider_api_v1_provider_credentials_instance_test_post_seriali @validate_call - def update_stored_provider_api_v1_provider_credentials_instance_patch( + def providers_update_stored_provider( self, instance: StrictStr, update_stored_provider_request: UpdateStoredProviderRequest, @@ -2700,7 +2700,7 @@ def update_stored_provider_api_v1_provider_credentials_instance_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_stored_provider_api_v1_provider_credentials_instance_patch_serialize( + _param = self._providers_update_stored_provider_serialize( instance=instance, update_stored_provider_request=update_stored_provider_request, _request_auth=_request_auth, @@ -2725,7 +2725,7 @@ def update_stored_provider_api_v1_provider_credentials_instance_patch( @validate_call - def update_stored_provider_api_v1_provider_credentials_instance_patch_with_http_info( + def providers_update_stored_provider_with_http_info( self, instance: StrictStr, update_stored_provider_request: UpdateStoredProviderRequest, @@ -2772,7 +2772,7 @@ def update_stored_provider_api_v1_provider_credentials_instance_patch_with_http_ :return: Returns the result object. """ # noqa: E501 - _param = self._update_stored_provider_api_v1_provider_credentials_instance_patch_serialize( + _param = self._providers_update_stored_provider_serialize( instance=instance, update_stored_provider_request=update_stored_provider_request, _request_auth=_request_auth, @@ -2797,7 +2797,7 @@ def update_stored_provider_api_v1_provider_credentials_instance_patch_with_http_ @validate_call - def update_stored_provider_api_v1_provider_credentials_instance_patch_without_preload_content( + def providers_update_stored_provider_without_preload_content( self, instance: StrictStr, update_stored_provider_request: UpdateStoredProviderRequest, @@ -2844,7 +2844,7 @@ def update_stored_provider_api_v1_provider_credentials_instance_patch_without_pr :return: Returns the result object. """ # noqa: E501 - _param = self._update_stored_provider_api_v1_provider_credentials_instance_patch_serialize( + _param = self._providers_update_stored_provider_serialize( instance=instance, update_stored_provider_request=update_stored_provider_request, _request_auth=_request_auth, @@ -2864,7 +2864,7 @@ def update_stored_provider_api_v1_provider_credentials_instance_patch_without_pr return response_data.response - def _update_stored_provider_api_v1_provider_credentials_instance_patch_serialize( + def _providers_update_stored_provider_serialize( self, instance, update_stored_provider_request, diff --git a/src/otari/_client/api/rerank_api.py b/src/otari/_client/api/rerank_api.py index 5358d7da..bc65a0a0 100644 --- a/src/otari/_client/api/rerank_api.py +++ b/src/otari/_client/api/rerank_api.py @@ -37,7 +37,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_rerank_api_v1_rerank_post( + def rerank_create_rerank( self, rerank_request: RerankRequest, _request_timeout: Union[ @@ -81,7 +81,7 @@ def create_rerank_api_v1_rerank_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_rerank_api_v1_rerank_post_serialize( + _param = self._rerank_create_rerank_serialize( rerank_request=rerank_request, _request_auth=_request_auth, _content_type=_content_type, @@ -105,7 +105,7 @@ def create_rerank_api_v1_rerank_post( @validate_call - def create_rerank_api_v1_rerank_post_with_http_info( + def rerank_create_rerank_with_http_info( self, rerank_request: RerankRequest, _request_timeout: Union[ @@ -149,7 +149,7 @@ def create_rerank_api_v1_rerank_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_rerank_api_v1_rerank_post_serialize( + _param = self._rerank_create_rerank_serialize( rerank_request=rerank_request, _request_auth=_request_auth, _content_type=_content_type, @@ -173,7 +173,7 @@ def create_rerank_api_v1_rerank_post_with_http_info( @validate_call - def create_rerank_api_v1_rerank_post_without_preload_content( + def rerank_create_rerank_without_preload_content( self, rerank_request: RerankRequest, _request_timeout: Union[ @@ -217,7 +217,7 @@ def create_rerank_api_v1_rerank_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_rerank_api_v1_rerank_post_serialize( + _param = self._rerank_create_rerank_serialize( rerank_request=rerank_request, _request_auth=_request_auth, _content_type=_content_type, @@ -236,7 +236,7 @@ def create_rerank_api_v1_rerank_post_without_preload_content( return response_data.response - def _create_rerank_api_v1_rerank_post_serialize( + def _rerank_create_rerank_serialize( self, rerank_request, _request_auth, diff --git a/src/otari/_client/api/responses_api.py b/src/otari/_client/api/responses_api.py index 410e9f12..570f14fe 100644 --- a/src/otari/_client/api/responses_api.py +++ b/src/otari/_client/api/responses_api.py @@ -37,7 +37,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_response_api_v1_responses_post( + def responses_create_response( self, responses_request: ResponsesRequest, _request_timeout: Union[ @@ -81,7 +81,7 @@ def create_response_api_v1_responses_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_response_api_v1_responses_post_serialize( + _param = self._responses_create_response_serialize( responses_request=responses_request, _request_auth=_request_auth, _content_type=_content_type, @@ -105,7 +105,7 @@ def create_response_api_v1_responses_post( @validate_call - def create_response_api_v1_responses_post_with_http_info( + def responses_create_response_with_http_info( self, responses_request: ResponsesRequest, _request_timeout: Union[ @@ -149,7 +149,7 @@ def create_response_api_v1_responses_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_response_api_v1_responses_post_serialize( + _param = self._responses_create_response_serialize( responses_request=responses_request, _request_auth=_request_auth, _content_type=_content_type, @@ -173,7 +173,7 @@ def create_response_api_v1_responses_post_with_http_info( @validate_call - def create_response_api_v1_responses_post_without_preload_content( + def responses_create_response_without_preload_content( self, responses_request: ResponsesRequest, _request_timeout: Union[ @@ -217,7 +217,7 @@ def create_response_api_v1_responses_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_response_api_v1_responses_post_serialize( + _param = self._responses_create_response_serialize( responses_request=responses_request, _request_auth=_request_auth, _content_type=_content_type, @@ -236,7 +236,7 @@ def create_response_api_v1_responses_post_without_preload_content( return response_data.response - def _create_response_api_v1_responses_post_serialize( + def _responses_create_response_serialize( self, responses_request, _request_auth, diff --git a/src/otari/_client/api/routing_api.py b/src/otari/_client/api/routing_api.py index 73bbc104..65d92ad6 100644 --- a/src/otari/_client/api/routing_api.py +++ b/src/otari/_client/api/routing_api.py @@ -46,7 +46,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_name_delete( + def routing_delete_organization_routing_policy( self, name: StrictStr, workspace_id: Annotated[Optional[UUID], Field(description="Delete the policy in this workspace of the caller's organization.")] = None, @@ -93,7 +93,7 @@ def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_ :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_routing_policy_api_v1_organizations_me_routing_policies_name_delete_serialize( + _param = self._routing_delete_organization_routing_policy_serialize( name=name, workspace_id=workspace_id, _request_auth=_request_auth, @@ -118,7 +118,7 @@ def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_ @validate_call - def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_name_delete_with_http_info( + def routing_delete_organization_routing_policy_with_http_info( self, name: StrictStr, workspace_id: Annotated[Optional[UUID], Field(description="Delete the policy in this workspace of the caller's organization.")] = None, @@ -165,7 +165,7 @@ def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_ :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_routing_policy_api_v1_organizations_me_routing_policies_name_delete_serialize( + _param = self._routing_delete_organization_routing_policy_serialize( name=name, workspace_id=workspace_id, _request_auth=_request_auth, @@ -190,7 +190,7 @@ def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_ @validate_call - def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_name_delete_without_preload_content( + def routing_delete_organization_routing_policy_without_preload_content( self, name: StrictStr, workspace_id: Annotated[Optional[UUID], Field(description="Delete the policy in this workspace of the caller's organization.")] = None, @@ -237,7 +237,7 @@ def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_ :return: Returns the result object. """ # noqa: E501 - _param = self._delete_organization_routing_policy_api_v1_organizations_me_routing_policies_name_delete_serialize( + _param = self._routing_delete_organization_routing_policy_serialize( name=name, workspace_id=workspace_id, _request_auth=_request_auth, @@ -257,7 +257,7 @@ def delete_organization_routing_policy_api_v1_organizations_me_routing_policies_ return response_data.response - def _delete_organization_routing_policy_api_v1_organizations_me_routing_policies_name_delete_serialize( + def _routing_delete_organization_routing_policy_serialize( self, name, workspace_id, @@ -328,7 +328,7 @@ def _delete_organization_routing_policy_api_v1_organizations_me_routing_policies @validate_call - def delete_policy_api_v1_routing_policies_name_delete( + def routing_delete_policy( self, name: StrictStr, user_id: Annotated[Optional[StrictStr], Field(description="Delete the policy scoped to this user. Omit to delete the workspace-wide one.")] = None, @@ -378,7 +378,7 @@ def delete_policy_api_v1_routing_policies_name_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_policy_api_v1_routing_policies_name_delete_serialize( + _param = self._routing_delete_policy_serialize( name=name, user_id=user_id, workspace_id=workspace_id, @@ -404,7 +404,7 @@ def delete_policy_api_v1_routing_policies_name_delete( @validate_call - def delete_policy_api_v1_routing_policies_name_delete_with_http_info( + def routing_delete_policy_with_http_info( self, name: StrictStr, user_id: Annotated[Optional[StrictStr], Field(description="Delete the policy scoped to this user. Omit to delete the workspace-wide one.")] = None, @@ -454,7 +454,7 @@ def delete_policy_api_v1_routing_policies_name_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_policy_api_v1_routing_policies_name_delete_serialize( + _param = self._routing_delete_policy_serialize( name=name, user_id=user_id, workspace_id=workspace_id, @@ -480,7 +480,7 @@ def delete_policy_api_v1_routing_policies_name_delete_with_http_info( @validate_call - def delete_policy_api_v1_routing_policies_name_delete_without_preload_content( + def routing_delete_policy_without_preload_content( self, name: StrictStr, user_id: Annotated[Optional[StrictStr], Field(description="Delete the policy scoped to this user. Omit to delete the workspace-wide one.")] = None, @@ -530,7 +530,7 @@ def delete_policy_api_v1_routing_policies_name_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_policy_api_v1_routing_policies_name_delete_serialize( + _param = self._routing_delete_policy_serialize( name=name, user_id=user_id, workspace_id=workspace_id, @@ -551,7 +551,7 @@ def delete_policy_api_v1_routing_policies_name_delete_without_preload_content( return response_data.response - def _delete_policy_api_v1_routing_policies_name_delete_serialize( + def _routing_delete_policy_serialize( self, name, user_id, @@ -627,7 +627,7 @@ def _delete_policy_api_v1_routing_policies_name_delete_serialize( @validate_call - def explain_policy_api_v1_routing_policies_explain_post( + def routing_explain_policy( self, explain_request: ExplainRequest, _request_timeout: Union[ @@ -671,7 +671,7 @@ def explain_policy_api_v1_routing_policies_explain_post( :return: Returns the result object. """ # noqa: E501 - _param = self._explain_policy_api_v1_routing_policies_explain_post_serialize( + _param = self._routing_explain_policy_serialize( explain_request=explain_request, _request_auth=_request_auth, _content_type=_content_type, @@ -695,7 +695,7 @@ def explain_policy_api_v1_routing_policies_explain_post( @validate_call - def explain_policy_api_v1_routing_policies_explain_post_with_http_info( + def routing_explain_policy_with_http_info( self, explain_request: ExplainRequest, _request_timeout: Union[ @@ -739,7 +739,7 @@ def explain_policy_api_v1_routing_policies_explain_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._explain_policy_api_v1_routing_policies_explain_post_serialize( + _param = self._routing_explain_policy_serialize( explain_request=explain_request, _request_auth=_request_auth, _content_type=_content_type, @@ -763,7 +763,7 @@ def explain_policy_api_v1_routing_policies_explain_post_with_http_info( @validate_call - def explain_policy_api_v1_routing_policies_explain_post_without_preload_content( + def routing_explain_policy_without_preload_content( self, explain_request: ExplainRequest, _request_timeout: Union[ @@ -807,7 +807,7 @@ def explain_policy_api_v1_routing_policies_explain_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._explain_policy_api_v1_routing_policies_explain_post_serialize( + _param = self._routing_explain_policy_serialize( explain_request=explain_request, _request_auth=_request_auth, _content_type=_content_type, @@ -826,7 +826,7 @@ def explain_policy_api_v1_routing_policies_explain_post_without_preload_content( return response_data.response - def _explain_policy_api_v1_routing_policies_explain_post_serialize( + def _routing_explain_policy_serialize( self, explain_request, _request_auth, @@ -905,7 +905,7 @@ def _explain_policy_api_v1_routing_policies_explain_post_serialize( @validate_call - def list_policies_api_v1_routing_policies_get( + def routing_list_policies( self, workspace_id: Annotated[Optional[UUID], Field(description="Only stored policies in this workspace. Config-file policies are always included, being deployment-wide. Omit to list the stored policies of every workspace.")] = None, _request_timeout: Union[ @@ -949,7 +949,7 @@ def list_policies_api_v1_routing_policies_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_policies_api_v1_routing_policies_get_serialize( + _param = self._routing_list_policies_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -973,7 +973,7 @@ def list_policies_api_v1_routing_policies_get( @validate_call - def list_policies_api_v1_routing_policies_get_with_http_info( + def routing_list_policies_with_http_info( self, workspace_id: Annotated[Optional[UUID], Field(description="Only stored policies in this workspace. Config-file policies are always included, being deployment-wide. Omit to list the stored policies of every workspace.")] = None, _request_timeout: Union[ @@ -1017,7 +1017,7 @@ def list_policies_api_v1_routing_policies_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_policies_api_v1_routing_policies_get_serialize( + _param = self._routing_list_policies_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1041,7 +1041,7 @@ def list_policies_api_v1_routing_policies_get_with_http_info( @validate_call - def list_policies_api_v1_routing_policies_get_without_preload_content( + def routing_list_policies_without_preload_content( self, workspace_id: Annotated[Optional[UUID], Field(description="Only stored policies in this workspace. Config-file policies are always included, being deployment-wide. Omit to list the stored policies of every workspace.")] = None, _request_timeout: Union[ @@ -1085,7 +1085,7 @@ def list_policies_api_v1_routing_policies_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_policies_api_v1_routing_policies_get_serialize( + _param = self._routing_list_policies_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1104,7 +1104,7 @@ def list_policies_api_v1_routing_policies_get_without_preload_content( return response_data.response - def _list_policies_api_v1_routing_policies_get_serialize( + def _routing_list_policies_serialize( self, workspace_id, _request_auth, @@ -1172,7 +1172,7 @@ def _list_policies_api_v1_routing_policies_get_serialize( @validate_call - def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get( + def routing_list_visible_routing_policies( self, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum entries to return, stored and config-file together.")] = None, _request_timeout: Union[ @@ -1216,7 +1216,7 @@ def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_serialize( + _param = self._routing_list_visible_routing_policies_serialize( limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -1240,7 +1240,7 @@ def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get( @validate_call - def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_with_http_info( + def routing_list_visible_routing_policies_with_http_info( self, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum entries to return, stored and config-file together.")] = None, _request_timeout: Union[ @@ -1284,7 +1284,7 @@ def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_w :return: Returns the result object. """ # noqa: E501 - _param = self._list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_serialize( + _param = self._routing_list_visible_routing_policies_serialize( limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -1308,7 +1308,7 @@ def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_w @validate_call - def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_without_preload_content( + def routing_list_visible_routing_policies_without_preload_content( self, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum entries to return, stored and config-file together.")] = None, _request_timeout: Union[ @@ -1352,7 +1352,7 @@ def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_w :return: Returns the result object. """ # noqa: E501 - _param = self._list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_serialize( + _param = self._routing_list_visible_routing_policies_serialize( limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -1371,7 +1371,7 @@ def list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_w return response_data.response - def _list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_serialize( + def _routing_list_visible_routing_policies_serialize( self, limit, _request_auth, @@ -1439,7 +1439,7 @@ def _list_visible_routing_policies_api_v1_organizations_me_routing_policies_get_ @validate_call - def rank_candidates_api_v1_routing_preferences_rank_post( + def routing_rank_candidates( self, rank_request: RankRequest, _request_timeout: Union[ @@ -1483,7 +1483,7 @@ def rank_candidates_api_v1_routing_preferences_rank_post( :return: Returns the result object. """ # noqa: E501 - _param = self._rank_candidates_api_v1_routing_preferences_rank_post_serialize( + _param = self._routing_rank_candidates_serialize( rank_request=rank_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1507,7 +1507,7 @@ def rank_candidates_api_v1_routing_preferences_rank_post( @validate_call - def rank_candidates_api_v1_routing_preferences_rank_post_with_http_info( + def routing_rank_candidates_with_http_info( self, rank_request: RankRequest, _request_timeout: Union[ @@ -1551,7 +1551,7 @@ def rank_candidates_api_v1_routing_preferences_rank_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._rank_candidates_api_v1_routing_preferences_rank_post_serialize( + _param = self._routing_rank_candidates_serialize( rank_request=rank_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1575,7 +1575,7 @@ def rank_candidates_api_v1_routing_preferences_rank_post_with_http_info( @validate_call - def rank_candidates_api_v1_routing_preferences_rank_post_without_preload_content( + def routing_rank_candidates_without_preload_content( self, rank_request: RankRequest, _request_timeout: Union[ @@ -1619,7 +1619,7 @@ def rank_candidates_api_v1_routing_preferences_rank_post_without_preload_content :return: Returns the result object. """ # noqa: E501 - _param = self._rank_candidates_api_v1_routing_preferences_rank_post_serialize( + _param = self._routing_rank_candidates_serialize( rank_request=rank_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1638,7 +1638,7 @@ def rank_candidates_api_v1_routing_preferences_rank_post_without_preload_content return response_data.response - def _rank_candidates_api_v1_routing_preferences_rank_post_serialize( + def _routing_rank_candidates_serialize( self, rank_request, _request_auth, @@ -1717,7 +1717,7 @@ def _rank_candidates_api_v1_routing_preferences_rank_post_serialize( @validate_call - def routing_memory_status_api_v1_routing_status_get( + def routing_routing_memory_status( self, user_id: Annotated[StrictStr, Field(description="Whose routing memory to report on.")], workspace_id: Annotated[Optional[UUID], Field(description="Which workspace's routing memory to report on. Omit for the default workspace.")] = None, @@ -1764,7 +1764,7 @@ def routing_memory_status_api_v1_routing_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._routing_memory_status_api_v1_routing_status_get_serialize( + _param = self._routing_routing_memory_status_serialize( user_id=user_id, workspace_id=workspace_id, _request_auth=_request_auth, @@ -1789,7 +1789,7 @@ def routing_memory_status_api_v1_routing_status_get( @validate_call - def routing_memory_status_api_v1_routing_status_get_with_http_info( + def routing_routing_memory_status_with_http_info( self, user_id: Annotated[StrictStr, Field(description="Whose routing memory to report on.")], workspace_id: Annotated[Optional[UUID], Field(description="Which workspace's routing memory to report on. Omit for the default workspace.")] = None, @@ -1836,7 +1836,7 @@ def routing_memory_status_api_v1_routing_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._routing_memory_status_api_v1_routing_status_get_serialize( + _param = self._routing_routing_memory_status_serialize( user_id=user_id, workspace_id=workspace_id, _request_auth=_request_auth, @@ -1861,7 +1861,7 @@ def routing_memory_status_api_v1_routing_status_get_with_http_info( @validate_call - def routing_memory_status_api_v1_routing_status_get_without_preload_content( + def routing_routing_memory_status_without_preload_content( self, user_id: Annotated[StrictStr, Field(description="Whose routing memory to report on.")], workspace_id: Annotated[Optional[UUID], Field(description="Which workspace's routing memory to report on. Omit for the default workspace.")] = None, @@ -1908,7 +1908,7 @@ def routing_memory_status_api_v1_routing_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._routing_memory_status_api_v1_routing_status_get_serialize( + _param = self._routing_routing_memory_status_serialize( user_id=user_id, workspace_id=workspace_id, _request_auth=_request_auth, @@ -1928,7 +1928,7 @@ def routing_memory_status_api_v1_routing_status_get_without_preload_content( return response_data.response - def _routing_memory_status_api_v1_routing_status_get_serialize( + def _routing_routing_memory_status_serialize( self, user_id, workspace_id, @@ -2001,7 +2001,7 @@ def _routing_memory_status_api_v1_routing_status_get_serialize( @validate_call - def set_organization_routing_policy_api_v1_organizations_me_routing_policies_post( + def routing_set_organization_routing_policy( self, policy_request: PolicyRequest, _request_timeout: Union[ @@ -2045,7 +2045,7 @@ def set_organization_routing_policy_api_v1_organizations_me_routing_policies_pos :return: Returns the result object. """ # noqa: E501 - _param = self._set_organization_routing_policy_api_v1_organizations_me_routing_policies_post_serialize( + _param = self._routing_set_organization_routing_policy_serialize( policy_request=policy_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2069,7 +2069,7 @@ def set_organization_routing_policy_api_v1_organizations_me_routing_policies_pos @validate_call - def set_organization_routing_policy_api_v1_organizations_me_routing_policies_post_with_http_info( + def routing_set_organization_routing_policy_with_http_info( self, policy_request: PolicyRequest, _request_timeout: Union[ @@ -2113,7 +2113,7 @@ def set_organization_routing_policy_api_v1_organizations_me_routing_policies_pos :return: Returns the result object. """ # noqa: E501 - _param = self._set_organization_routing_policy_api_v1_organizations_me_routing_policies_post_serialize( + _param = self._routing_set_organization_routing_policy_serialize( policy_request=policy_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2137,7 +2137,7 @@ def set_organization_routing_policy_api_v1_organizations_me_routing_policies_pos @validate_call - def set_organization_routing_policy_api_v1_organizations_me_routing_policies_post_without_preload_content( + def routing_set_organization_routing_policy_without_preload_content( self, policy_request: PolicyRequest, _request_timeout: Union[ @@ -2181,7 +2181,7 @@ def set_organization_routing_policy_api_v1_organizations_me_routing_policies_pos :return: Returns the result object. """ # noqa: E501 - _param = self._set_organization_routing_policy_api_v1_organizations_me_routing_policies_post_serialize( + _param = self._routing_set_organization_routing_policy_serialize( policy_request=policy_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2200,7 +2200,7 @@ def set_organization_routing_policy_api_v1_organizations_me_routing_policies_pos return response_data.response - def _set_organization_routing_policy_api_v1_organizations_me_routing_policies_post_serialize( + def _routing_set_organization_routing_policy_serialize( self, policy_request, _request_auth, @@ -2279,7 +2279,7 @@ def _set_organization_routing_policy_api_v1_organizations_me_routing_policies_po @validate_call - def set_policy_api_v1_routing_policies_post( + def routing_set_policy( self, policy_request: PolicyRequest, _request_timeout: Union[ @@ -2323,7 +2323,7 @@ def set_policy_api_v1_routing_policies_post( :return: Returns the result object. """ # noqa: E501 - _param = self._set_policy_api_v1_routing_policies_post_serialize( + _param = self._routing_set_policy_serialize( policy_request=policy_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2347,7 +2347,7 @@ def set_policy_api_v1_routing_policies_post( @validate_call - def set_policy_api_v1_routing_policies_post_with_http_info( + def routing_set_policy_with_http_info( self, policy_request: PolicyRequest, _request_timeout: Union[ @@ -2391,7 +2391,7 @@ def set_policy_api_v1_routing_policies_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._set_policy_api_v1_routing_policies_post_serialize( + _param = self._routing_set_policy_serialize( policy_request=policy_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2415,7 +2415,7 @@ def set_policy_api_v1_routing_policies_post_with_http_info( @validate_call - def set_policy_api_v1_routing_policies_post_without_preload_content( + def routing_set_policy_without_preload_content( self, policy_request: PolicyRequest, _request_timeout: Union[ @@ -2459,7 +2459,7 @@ def set_policy_api_v1_routing_policies_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._set_policy_api_v1_routing_policies_post_serialize( + _param = self._routing_set_policy_serialize( policy_request=policy_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2478,7 +2478,7 @@ def set_policy_api_v1_routing_policies_post_without_preload_content( return response_data.response - def _set_policy_api_v1_routing_policies_post_serialize( + def _routing_set_policy_serialize( self, policy_request, _request_auth, diff --git a/src/otari/_client/api/scoped_budgets_api.py b/src/otari/_client/api/scoped_budgets_api.py index 96db2564..96dbbdaa 100644 --- a/src/otari/_client/api/scoped_budgets_api.py +++ b/src/otari/_client/api/scoped_budgets_api.py @@ -41,7 +41,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_scoped_budget_api_v1_scoped_budgets_post( + def scoped_budgets_create_scoped_budget( self, create_scoped_budget_request: CreateScopedBudgetRequest, _request_timeout: Union[ @@ -85,7 +85,7 @@ def create_scoped_budget_api_v1_scoped_budgets_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_scoped_budget_api_v1_scoped_budgets_post_serialize( + _param = self._scoped_budgets_create_scoped_budget_serialize( create_scoped_budget_request=create_scoped_budget_request, _request_auth=_request_auth, _content_type=_content_type, @@ -109,7 +109,7 @@ def create_scoped_budget_api_v1_scoped_budgets_post( @validate_call - def create_scoped_budget_api_v1_scoped_budgets_post_with_http_info( + def scoped_budgets_create_scoped_budget_with_http_info( self, create_scoped_budget_request: CreateScopedBudgetRequest, _request_timeout: Union[ @@ -153,7 +153,7 @@ def create_scoped_budget_api_v1_scoped_budgets_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_scoped_budget_api_v1_scoped_budgets_post_serialize( + _param = self._scoped_budgets_create_scoped_budget_serialize( create_scoped_budget_request=create_scoped_budget_request, _request_auth=_request_auth, _content_type=_content_type, @@ -177,7 +177,7 @@ def create_scoped_budget_api_v1_scoped_budgets_post_with_http_info( @validate_call - def create_scoped_budget_api_v1_scoped_budgets_post_without_preload_content( + def scoped_budgets_create_scoped_budget_without_preload_content( self, create_scoped_budget_request: CreateScopedBudgetRequest, _request_timeout: Union[ @@ -221,7 +221,7 @@ def create_scoped_budget_api_v1_scoped_budgets_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_scoped_budget_api_v1_scoped_budgets_post_serialize( + _param = self._scoped_budgets_create_scoped_budget_serialize( create_scoped_budget_request=create_scoped_budget_request, _request_auth=_request_auth, _content_type=_content_type, @@ -240,7 +240,7 @@ def create_scoped_budget_api_v1_scoped_budgets_post_without_preload_content( return response_data.response - def _create_scoped_budget_api_v1_scoped_budgets_post_serialize( + def _scoped_budgets_create_scoped_budget_serialize( self, create_scoped_budget_request, _request_auth, @@ -319,7 +319,7 @@ def _create_scoped_budget_api_v1_scoped_budgets_post_serialize( @validate_call - def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete( + def scoped_budgets_delete_scoped_budget( self, budget_id: StrictStr, _request_timeout: Union[ @@ -363,7 +363,7 @@ def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_serialize( + _param = self._scoped_budgets_delete_scoped_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -387,7 +387,7 @@ def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete( @validate_call - def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_with_http_info( + def scoped_budgets_delete_scoped_budget_with_http_info( self, budget_id: StrictStr, _request_timeout: Union[ @@ -431,7 +431,7 @@ def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_serialize( + _param = self._scoped_budgets_delete_scoped_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -455,7 +455,7 @@ def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_with_http_info( @validate_call - def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_without_preload_content( + def scoped_budgets_delete_scoped_budget_without_preload_content( self, budget_id: StrictStr, _request_timeout: Union[ @@ -499,7 +499,7 @@ def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_without_preload_ :return: Returns the result object. """ # noqa: E501 - _param = self._delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_serialize( + _param = self._scoped_budgets_delete_scoped_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -518,7 +518,7 @@ def delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_without_preload_ return response_data.response - def _delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_serialize( + def _scoped_budgets_delete_scoped_budget_serialize( self, budget_id, _request_auth, @@ -584,7 +584,7 @@ def _delete_scoped_budget_api_v1_scoped_budgets_budget_id_delete_serialize( @validate_call - def get_scoped_budget_api_v1_scoped_budgets_budget_id_get( + def scoped_budgets_get_scoped_budget( self, budget_id: StrictStr, _request_timeout: Union[ @@ -628,7 +628,7 @@ def get_scoped_budget_api_v1_scoped_budgets_budget_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_scoped_budget_api_v1_scoped_budgets_budget_id_get_serialize( + _param = self._scoped_budgets_get_scoped_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -652,7 +652,7 @@ def get_scoped_budget_api_v1_scoped_budgets_budget_id_get( @validate_call - def get_scoped_budget_api_v1_scoped_budgets_budget_id_get_with_http_info( + def scoped_budgets_get_scoped_budget_with_http_info( self, budget_id: StrictStr, _request_timeout: Union[ @@ -696,7 +696,7 @@ def get_scoped_budget_api_v1_scoped_budgets_budget_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_scoped_budget_api_v1_scoped_budgets_budget_id_get_serialize( + _param = self._scoped_budgets_get_scoped_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -720,7 +720,7 @@ def get_scoped_budget_api_v1_scoped_budgets_budget_id_get_with_http_info( @validate_call - def get_scoped_budget_api_v1_scoped_budgets_budget_id_get_without_preload_content( + def scoped_budgets_get_scoped_budget_without_preload_content( self, budget_id: StrictStr, _request_timeout: Union[ @@ -764,7 +764,7 @@ def get_scoped_budget_api_v1_scoped_budgets_budget_id_get_without_preload_conten :return: Returns the result object. """ # noqa: E501 - _param = self._get_scoped_budget_api_v1_scoped_budgets_budget_id_get_serialize( + _param = self._scoped_budgets_get_scoped_budget_serialize( budget_id=budget_id, _request_auth=_request_auth, _content_type=_content_type, @@ -783,7 +783,7 @@ def get_scoped_budget_api_v1_scoped_budgets_budget_id_get_without_preload_conten return response_data.response - def _get_scoped_budget_api_v1_scoped_budgets_budget_id_get_serialize( + def _scoped_budgets_get_scoped_budget_serialize( self, budget_id, _request_auth, @@ -849,7 +849,7 @@ def _get_scoped_budget_api_v1_scoped_budgets_budget_id_get_serialize( @validate_call - def list_scoped_budgets_api_v1_scoped_budgets_get( + def scoped_budgets_list_scoped_budgets( self, scope_type: Optional[StrictStr] = None, scope_id: Optional[Annotated[str, Field(strict=True, max_length=255)]] = None, @@ -902,7 +902,7 @@ def list_scoped_budgets_api_v1_scoped_budgets_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_scoped_budgets_api_v1_scoped_budgets_get_serialize( + _param = self._scoped_budgets_list_scoped_budgets_serialize( scope_type=scope_type, scope_id=scope_id, skip=skip, @@ -929,7 +929,7 @@ def list_scoped_budgets_api_v1_scoped_budgets_get( @validate_call - def list_scoped_budgets_api_v1_scoped_budgets_get_with_http_info( + def scoped_budgets_list_scoped_budgets_with_http_info( self, scope_type: Optional[StrictStr] = None, scope_id: Optional[Annotated[str, Field(strict=True, max_length=255)]] = None, @@ -982,7 +982,7 @@ def list_scoped_budgets_api_v1_scoped_budgets_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_scoped_budgets_api_v1_scoped_budgets_get_serialize( + _param = self._scoped_budgets_list_scoped_budgets_serialize( scope_type=scope_type, scope_id=scope_id, skip=skip, @@ -1009,7 +1009,7 @@ def list_scoped_budgets_api_v1_scoped_budgets_get_with_http_info( @validate_call - def list_scoped_budgets_api_v1_scoped_budgets_get_without_preload_content( + def scoped_budgets_list_scoped_budgets_without_preload_content( self, scope_type: Optional[StrictStr] = None, scope_id: Optional[Annotated[str, Field(strict=True, max_length=255)]] = None, @@ -1062,7 +1062,7 @@ def list_scoped_budgets_api_v1_scoped_budgets_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_scoped_budgets_api_v1_scoped_budgets_get_serialize( + _param = self._scoped_budgets_list_scoped_budgets_serialize( scope_type=scope_type, scope_id=scope_id, skip=skip, @@ -1084,7 +1084,7 @@ def list_scoped_budgets_api_v1_scoped_budgets_get_without_preload_content( return response_data.response - def _list_scoped_budgets_api_v1_scoped_budgets_get_serialize( + def _scoped_budgets_list_scoped_budgets_serialize( self, scope_type, scope_id, @@ -1167,7 +1167,7 @@ def _list_scoped_budgets_api_v1_scoped_budgets_get_serialize( @validate_call - def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch( + def scoped_budgets_update_scoped_budget( self, budget_id: StrictStr, update_scoped_budget_request: UpdateScopedBudgetRequest, @@ -1214,7 +1214,7 @@ def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_serialize( + _param = self._scoped_budgets_update_scoped_budget_serialize( budget_id=budget_id, update_scoped_budget_request=update_scoped_budget_request, _request_auth=_request_auth, @@ -1239,7 +1239,7 @@ def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch( @validate_call - def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_with_http_info( + def scoped_budgets_update_scoped_budget_with_http_info( self, budget_id: StrictStr, update_scoped_budget_request: UpdateScopedBudgetRequest, @@ -1286,7 +1286,7 @@ def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_serialize( + _param = self._scoped_budgets_update_scoped_budget_serialize( budget_id=budget_id, update_scoped_budget_request=update_scoped_budget_request, _request_auth=_request_auth, @@ -1311,7 +1311,7 @@ def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_with_http_info( @validate_call - def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_without_preload_content( + def scoped_budgets_update_scoped_budget_without_preload_content( self, budget_id: StrictStr, update_scoped_budget_request: UpdateScopedBudgetRequest, @@ -1358,7 +1358,7 @@ def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_without_preload_c :return: Returns the result object. """ # noqa: E501 - _param = self._update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_serialize( + _param = self._scoped_budgets_update_scoped_budget_serialize( budget_id=budget_id, update_scoped_budget_request=update_scoped_budget_request, _request_auth=_request_auth, @@ -1378,7 +1378,7 @@ def update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_without_preload_c return response_data.response - def _update_scoped_budget_api_v1_scoped_budgets_budget_id_patch_serialize( + def _scoped_budgets_update_scoped_budget_serialize( self, budget_id, update_scoped_budget_request, diff --git a/src/otari/_client/api/search_api.py b/src/otari/_client/api/search_api.py index b47e5ead..22221ece 100644 --- a/src/otari/_client/api/search_api.py +++ b/src/otari/_client/api/search_api.py @@ -39,7 +39,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_search_api_v1_search_post( + def search_create_search( self, search_request: SearchRequest, _request_timeout: Union[ @@ -83,7 +83,7 @@ def create_search_api_v1_search_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_api_v1_search_post_serialize( + _param = self._search_create_search_serialize( search_request=search_request, _request_auth=_request_auth, _content_type=_content_type, @@ -107,7 +107,7 @@ def create_search_api_v1_search_post( @validate_call - def create_search_api_v1_search_post_with_http_info( + def search_create_search_with_http_info( self, search_request: SearchRequest, _request_timeout: Union[ @@ -151,7 +151,7 @@ def create_search_api_v1_search_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_api_v1_search_post_serialize( + _param = self._search_create_search_serialize( search_request=search_request, _request_auth=_request_auth, _content_type=_content_type, @@ -175,7 +175,7 @@ def create_search_api_v1_search_post_with_http_info( @validate_call - def create_search_api_v1_search_post_without_preload_content( + def search_create_search_without_preload_content( self, search_request: SearchRequest, _request_timeout: Union[ @@ -219,7 +219,7 @@ def create_search_api_v1_search_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_api_v1_search_post_serialize( + _param = self._search_create_search_serialize( search_request=search_request, _request_auth=_request_auth, _content_type=_content_type, @@ -238,7 +238,7 @@ def create_search_api_v1_search_post_without_preload_content( return response_data.response - def _create_search_api_v1_search_post_serialize( + def _search_create_search_serialize( self, search_request, _request_auth, @@ -317,7 +317,7 @@ def _create_search_api_v1_search_post_serialize( @validate_call - def create_search_for_tool_api_v1_search_search_tool_name_post( + def search_create_search_for_tool( self, search_tool_name: Annotated[StrictStr, Field(description="Configured search tool to run against")], search_request: SearchRequest, @@ -364,7 +364,7 @@ def create_search_for_tool_api_v1_search_search_tool_name_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_for_tool_api_v1_search_search_tool_name_post_serialize( + _param = self._search_create_search_for_tool_serialize( search_tool_name=search_tool_name, search_request=search_request, _request_auth=_request_auth, @@ -389,7 +389,7 @@ def create_search_for_tool_api_v1_search_search_tool_name_post( @validate_call - def create_search_for_tool_api_v1_search_search_tool_name_post_with_http_info( + def search_create_search_for_tool_with_http_info( self, search_tool_name: Annotated[StrictStr, Field(description="Configured search tool to run against")], search_request: SearchRequest, @@ -436,7 +436,7 @@ def create_search_for_tool_api_v1_search_search_tool_name_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_for_tool_api_v1_search_search_tool_name_post_serialize( + _param = self._search_create_search_for_tool_serialize( search_tool_name=search_tool_name, search_request=search_request, _request_auth=_request_auth, @@ -461,7 +461,7 @@ def create_search_for_tool_api_v1_search_search_tool_name_post_with_http_info( @validate_call - def create_search_for_tool_api_v1_search_search_tool_name_post_without_preload_content( + def search_create_search_for_tool_without_preload_content( self, search_tool_name: Annotated[StrictStr, Field(description="Configured search tool to run against")], search_request: SearchRequest, @@ -508,7 +508,7 @@ def create_search_for_tool_api_v1_search_search_tool_name_post_without_preload_c :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_for_tool_api_v1_search_search_tool_name_post_serialize( + _param = self._search_create_search_for_tool_serialize( search_tool_name=search_tool_name, search_request=search_request, _request_auth=_request_auth, @@ -528,7 +528,7 @@ def create_search_for_tool_api_v1_search_search_tool_name_post_without_preload_c return response_data.response - def _create_search_for_tool_api_v1_search_search_tool_name_post_serialize( + def _search_create_search_for_tool_serialize( self, search_tool_name, search_request, diff --git a/src/otari/_client/api/search_tools_api.py b/src/otari/_client/api/search_tools_api.py index 755deb74..66d7852e 100644 --- a/src/otari/_client/api/search_tools_api.py +++ b/src/otari/_client/api/search_tools_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_search_tool_api_v1_search_tools_post( + def search_tools_create_search_tool( self, create_search_tool_request: CreateSearchToolRequest, _request_timeout: Union[ @@ -87,7 +87,7 @@ def create_search_tool_api_v1_search_tools_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_tool_api_v1_search_tools_post_serialize( + _param = self._search_tools_create_search_tool_serialize( create_search_tool_request=create_search_tool_request, _request_auth=_request_auth, _content_type=_content_type, @@ -111,7 +111,7 @@ def create_search_tool_api_v1_search_tools_post( @validate_call - def create_search_tool_api_v1_search_tools_post_with_http_info( + def search_tools_create_search_tool_with_http_info( self, create_search_tool_request: CreateSearchToolRequest, _request_timeout: Union[ @@ -155,7 +155,7 @@ def create_search_tool_api_v1_search_tools_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_tool_api_v1_search_tools_post_serialize( + _param = self._search_tools_create_search_tool_serialize( create_search_tool_request=create_search_tool_request, _request_auth=_request_auth, _content_type=_content_type, @@ -179,7 +179,7 @@ def create_search_tool_api_v1_search_tools_post_with_http_info( @validate_call - def create_search_tool_api_v1_search_tools_post_without_preload_content( + def search_tools_create_search_tool_without_preload_content( self, create_search_tool_request: CreateSearchToolRequest, _request_timeout: Union[ @@ -223,7 +223,7 @@ def create_search_tool_api_v1_search_tools_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_search_tool_api_v1_search_tools_post_serialize( + _param = self._search_tools_create_search_tool_serialize( create_search_tool_request=create_search_tool_request, _request_auth=_request_auth, _content_type=_content_type, @@ -242,7 +242,7 @@ def create_search_tool_api_v1_search_tools_post_without_preload_content( return response_data.response - def _create_search_tool_api_v1_search_tools_post_serialize( + def _search_tools_create_search_tool_serialize( self, create_search_tool_request, _request_auth, @@ -321,7 +321,7 @@ def _create_search_tool_api_v1_search_tools_post_serialize( @validate_call - def delete_stored_search_tool_api_v1_search_tools_name_delete( + def search_tools_delete_stored_search_tool( self, name: StrictStr, _request_timeout: Union[ @@ -365,7 +365,7 @@ def delete_stored_search_tool_api_v1_search_tools_name_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_stored_search_tool_api_v1_search_tools_name_delete_serialize( + _param = self._search_tools_delete_stored_search_tool_serialize( name=name, _request_auth=_request_auth, _content_type=_content_type, @@ -389,7 +389,7 @@ def delete_stored_search_tool_api_v1_search_tools_name_delete( @validate_call - def delete_stored_search_tool_api_v1_search_tools_name_delete_with_http_info( + def search_tools_delete_stored_search_tool_with_http_info( self, name: StrictStr, _request_timeout: Union[ @@ -433,7 +433,7 @@ def delete_stored_search_tool_api_v1_search_tools_name_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_stored_search_tool_api_v1_search_tools_name_delete_serialize( + _param = self._search_tools_delete_stored_search_tool_serialize( name=name, _request_auth=_request_auth, _content_type=_content_type, @@ -457,7 +457,7 @@ def delete_stored_search_tool_api_v1_search_tools_name_delete_with_http_info( @validate_call - def delete_stored_search_tool_api_v1_search_tools_name_delete_without_preload_content( + def search_tools_delete_stored_search_tool_without_preload_content( self, name: StrictStr, _request_timeout: Union[ @@ -501,7 +501,7 @@ def delete_stored_search_tool_api_v1_search_tools_name_delete_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._delete_stored_search_tool_api_v1_search_tools_name_delete_serialize( + _param = self._search_tools_delete_stored_search_tool_serialize( name=name, _request_auth=_request_auth, _content_type=_content_type, @@ -520,7 +520,7 @@ def delete_stored_search_tool_api_v1_search_tools_name_delete_without_preload_co return response_data.response - def _delete_stored_search_tool_api_v1_search_tools_name_delete_serialize( + def _search_tools_delete_stored_search_tool_serialize( self, name, _request_auth, @@ -586,7 +586,7 @@ def _delete_stored_search_tool_api_v1_search_tools_name_delete_serialize( @validate_call - def list_all_search_tools_api_v1_search_tools_get( + def search_tools_list_all_search_tools( self, _request_timeout: Union[ None, @@ -627,7 +627,7 @@ def list_all_search_tools_api_v1_search_tools_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_all_search_tools_api_v1_search_tools_get_serialize( + _param = self._search_tools_list_all_search_tools_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -649,7 +649,7 @@ def list_all_search_tools_api_v1_search_tools_get( @validate_call - def list_all_search_tools_api_v1_search_tools_get_with_http_info( + def search_tools_list_all_search_tools_with_http_info( self, _request_timeout: Union[ None, @@ -690,7 +690,7 @@ def list_all_search_tools_api_v1_search_tools_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_all_search_tools_api_v1_search_tools_get_serialize( + _param = self._search_tools_list_all_search_tools_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -712,7 +712,7 @@ def list_all_search_tools_api_v1_search_tools_get_with_http_info( @validate_call - def list_all_search_tools_api_v1_search_tools_get_without_preload_content( + def search_tools_list_all_search_tools_without_preload_content( self, _request_timeout: Union[ None, @@ -753,7 +753,7 @@ def list_all_search_tools_api_v1_search_tools_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_all_search_tools_api_v1_search_tools_get_serialize( + _param = self._search_tools_list_all_search_tools_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -770,7 +770,7 @@ def list_all_search_tools_api_v1_search_tools_get_without_preload_content( return response_data.response - def _list_all_search_tools_api_v1_search_tools_get_serialize( + def _search_tools_list_all_search_tools_serialize( self, _request_auth, _content_type, @@ -833,7 +833,7 @@ def _list_all_search_tools_api_v1_search_tools_get_serialize( @validate_call - def list_search_providers_api_v1_search_tools_providers_get( + def search_tools_list_search_providers( self, _request_timeout: Union[ None, @@ -874,7 +874,7 @@ def list_search_providers_api_v1_search_tools_providers_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_search_providers_api_v1_search_tools_providers_get_serialize( + _param = self._search_tools_list_search_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -896,7 +896,7 @@ def list_search_providers_api_v1_search_tools_providers_get( @validate_call - def list_search_providers_api_v1_search_tools_providers_get_with_http_info( + def search_tools_list_search_providers_with_http_info( self, _request_timeout: Union[ None, @@ -937,7 +937,7 @@ def list_search_providers_api_v1_search_tools_providers_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_search_providers_api_v1_search_tools_providers_get_serialize( + _param = self._search_tools_list_search_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -959,7 +959,7 @@ def list_search_providers_api_v1_search_tools_providers_get_with_http_info( @validate_call - def list_search_providers_api_v1_search_tools_providers_get_without_preload_content( + def search_tools_list_search_providers_without_preload_content( self, _request_timeout: Union[ None, @@ -1000,7 +1000,7 @@ def list_search_providers_api_v1_search_tools_providers_get_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._list_search_providers_api_v1_search_tools_providers_get_serialize( + _param = self._search_tools_list_search_providers_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1017,7 +1017,7 @@ def list_search_providers_api_v1_search_tools_providers_get_without_preload_cont return response_data.response - def _list_search_providers_api_v1_search_tools_providers_get_serialize( + def _search_tools_list_search_providers_serialize( self, _request_auth, _content_type, @@ -1080,7 +1080,7 @@ def _list_search_providers_api_v1_search_tools_providers_get_serialize( @validate_call - def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post( + def search_tools_reencrypt_stored_search_tool_keys( self, _request_timeout: Union[ None, @@ -1121,7 +1121,7 @@ def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post( :return: Returns the result object. """ # noqa: E501 - _param = self._reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_serialize( + _param = self._search_tools_reencrypt_stored_search_tool_keys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1143,7 +1143,7 @@ def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post( @validate_call - def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_with_http_info( + def search_tools_reencrypt_stored_search_tool_keys_with_http_info( self, _request_timeout: Union[ None, @@ -1184,7 +1184,7 @@ def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_with_ht :return: Returns the result object. """ # noqa: E501 - _param = self._reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_serialize( + _param = self._search_tools_reencrypt_stored_search_tool_keys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1206,7 +1206,7 @@ def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_with_ht @validate_call - def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_without_preload_content( + def search_tools_reencrypt_stored_search_tool_keys_without_preload_content( self, _request_timeout: Union[ None, @@ -1247,7 +1247,7 @@ def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_without :return: Returns the result object. """ # noqa: E501 - _param = self._reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_serialize( + _param = self._search_tools_reencrypt_stored_search_tool_keys_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1264,7 +1264,7 @@ def reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_without return response_data.response - def _reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_serialize( + def _search_tools_reencrypt_stored_search_tool_keys_serialize( self, _request_auth, _content_type, @@ -1327,7 +1327,7 @@ def _reencrypt_stored_search_tool_keys_api_v1_search_tools_reencrypt_post_serial @validate_call - def update_search_tool_api_v1_search_tools_name_patch( + def search_tools_update_search_tool( self, name: StrictStr, update_search_tool_request: UpdateSearchToolRequest, @@ -1374,7 +1374,7 @@ def update_search_tool_api_v1_search_tools_name_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_search_tool_api_v1_search_tools_name_patch_serialize( + _param = self._search_tools_update_search_tool_serialize( name=name, update_search_tool_request=update_search_tool_request, _request_auth=_request_auth, @@ -1399,7 +1399,7 @@ def update_search_tool_api_v1_search_tools_name_patch( @validate_call - def update_search_tool_api_v1_search_tools_name_patch_with_http_info( + def search_tools_update_search_tool_with_http_info( self, name: StrictStr, update_search_tool_request: UpdateSearchToolRequest, @@ -1446,7 +1446,7 @@ def update_search_tool_api_v1_search_tools_name_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_search_tool_api_v1_search_tools_name_patch_serialize( + _param = self._search_tools_update_search_tool_serialize( name=name, update_search_tool_request=update_search_tool_request, _request_auth=_request_auth, @@ -1471,7 +1471,7 @@ def update_search_tool_api_v1_search_tools_name_patch_with_http_info( @validate_call - def update_search_tool_api_v1_search_tools_name_patch_without_preload_content( + def search_tools_update_search_tool_without_preload_content( self, name: StrictStr, update_search_tool_request: UpdateSearchToolRequest, @@ -1518,7 +1518,7 @@ def update_search_tool_api_v1_search_tools_name_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_search_tool_api_v1_search_tools_name_patch_serialize( + _param = self._search_tools_update_search_tool_serialize( name=name, update_search_tool_request=update_search_tool_request, _request_auth=_request_auth, @@ -1538,7 +1538,7 @@ def update_search_tool_api_v1_search_tools_name_patch_without_preload_content( return response_data.response - def _update_search_tool_api_v1_search_tools_name_patch_serialize( + def _search_tools_update_search_tool_serialize( self, name, update_search_tool_request, diff --git a/src/otari/_client/api/settings_api.py b/src/otari/_client/api/settings_api.py index b4ecc1ad..f66ca46f 100644 --- a/src/otari/_client/api/settings_api.py +++ b/src/otari/_client/api/settings_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def get_mail_settings_api_v1_settings_mail_get( + def settings_get_mail_settings( self, _request_timeout: Union[ None, @@ -84,7 +84,7 @@ def get_mail_settings_api_v1_settings_mail_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_mail_settings_api_v1_settings_mail_get_serialize( + _param = self._settings_get_mail_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106,7 +106,7 @@ def get_mail_settings_api_v1_settings_mail_get( @validate_call - def get_mail_settings_api_v1_settings_mail_get_with_http_info( + def settings_get_mail_settings_with_http_info( self, _request_timeout: Union[ None, @@ -147,7 +147,7 @@ def get_mail_settings_api_v1_settings_mail_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_mail_settings_api_v1_settings_mail_get_serialize( + _param = self._settings_get_mail_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -169,7 +169,7 @@ def get_mail_settings_api_v1_settings_mail_get_with_http_info( @validate_call - def get_mail_settings_api_v1_settings_mail_get_without_preload_content( + def settings_get_mail_settings_without_preload_content( self, _request_timeout: Union[ None, @@ -210,7 +210,7 @@ def get_mail_settings_api_v1_settings_mail_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_mail_settings_api_v1_settings_mail_get_serialize( + _param = self._settings_get_mail_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -227,7 +227,7 @@ def get_mail_settings_api_v1_settings_mail_get_without_preload_content( return response_data.response - def _get_mail_settings_api_v1_settings_mail_get_serialize( + def _settings_get_mail_settings_serialize( self, _request_auth, _content_type, @@ -290,7 +290,7 @@ def _get_mail_settings_api_v1_settings_mail_get_serialize( @validate_call - def get_maintenance_mode_api_v1_settings_maintenance_mode_get( + def settings_get_maintenance_mode( self, _request_timeout: Union[ None, @@ -331,7 +331,7 @@ def get_maintenance_mode_api_v1_settings_maintenance_mode_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_maintenance_mode_api_v1_settings_maintenance_mode_get_serialize( + _param = self._settings_get_maintenance_mode_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -353,7 +353,7 @@ def get_maintenance_mode_api_v1_settings_maintenance_mode_get( @validate_call - def get_maintenance_mode_api_v1_settings_maintenance_mode_get_with_http_info( + def settings_get_maintenance_mode_with_http_info( self, _request_timeout: Union[ None, @@ -394,7 +394,7 @@ def get_maintenance_mode_api_v1_settings_maintenance_mode_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_maintenance_mode_api_v1_settings_maintenance_mode_get_serialize( + _param = self._settings_get_maintenance_mode_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -416,7 +416,7 @@ def get_maintenance_mode_api_v1_settings_maintenance_mode_get_with_http_info( @validate_call - def get_maintenance_mode_api_v1_settings_maintenance_mode_get_without_preload_content( + def settings_get_maintenance_mode_without_preload_content( self, _request_timeout: Union[ None, @@ -457,7 +457,7 @@ def get_maintenance_mode_api_v1_settings_maintenance_mode_get_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._get_maintenance_mode_api_v1_settings_maintenance_mode_get_serialize( + _param = self._settings_get_maintenance_mode_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -474,7 +474,7 @@ def get_maintenance_mode_api_v1_settings_maintenance_mode_get_without_preload_co return response_data.response - def _get_maintenance_mode_api_v1_settings_maintenance_mode_get_serialize( + def _settings_get_maintenance_mode_serialize( self, _request_auth, _content_type, @@ -537,7 +537,7 @@ def _get_maintenance_mode_api_v1_settings_maintenance_mode_get_serialize( @validate_call - def get_settings_api_v1_settings_get( + def settings_get_settings( self, _request_timeout: Union[ None, @@ -578,7 +578,7 @@ def get_settings_api_v1_settings_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_settings_api_v1_settings_get_serialize( + _param = self._settings_get_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -600,7 +600,7 @@ def get_settings_api_v1_settings_get( @validate_call - def get_settings_api_v1_settings_get_with_http_info( + def settings_get_settings_with_http_info( self, _request_timeout: Union[ None, @@ -641,7 +641,7 @@ def get_settings_api_v1_settings_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_settings_api_v1_settings_get_serialize( + _param = self._settings_get_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -663,7 +663,7 @@ def get_settings_api_v1_settings_get_with_http_info( @validate_call - def get_settings_api_v1_settings_get_without_preload_content( + def settings_get_settings_without_preload_content( self, _request_timeout: Union[ None, @@ -704,7 +704,7 @@ def get_settings_api_v1_settings_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_settings_api_v1_settings_get_serialize( + _param = self._settings_get_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -721,7 +721,7 @@ def get_settings_api_v1_settings_get_without_preload_content( return response_data.response - def _get_settings_api_v1_settings_get_serialize( + def _settings_get_settings_serialize( self, _request_auth, _content_type, @@ -784,7 +784,7 @@ def _get_settings_api_v1_settings_get_serialize( @validate_call - def rotate_master_key_api_v1_settings_master_key_rotate_post( + def settings_rotate_master_key( self, _request_timeout: Union[ None, @@ -825,7 +825,7 @@ def rotate_master_key_api_v1_settings_master_key_rotate_post( :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_master_key_api_v1_settings_master_key_rotate_post_serialize( + _param = self._settings_rotate_master_key_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -847,7 +847,7 @@ def rotate_master_key_api_v1_settings_master_key_rotate_post( @validate_call - def rotate_master_key_api_v1_settings_master_key_rotate_post_with_http_info( + def settings_rotate_master_key_with_http_info( self, _request_timeout: Union[ None, @@ -888,7 +888,7 @@ def rotate_master_key_api_v1_settings_master_key_rotate_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_master_key_api_v1_settings_master_key_rotate_post_serialize( + _param = self._settings_rotate_master_key_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -910,7 +910,7 @@ def rotate_master_key_api_v1_settings_master_key_rotate_post_with_http_info( @validate_call - def rotate_master_key_api_v1_settings_master_key_rotate_post_without_preload_content( + def settings_rotate_master_key_without_preload_content( self, _request_timeout: Union[ None, @@ -951,7 +951,7 @@ def rotate_master_key_api_v1_settings_master_key_rotate_post_without_preload_con :return: Returns the result object. """ # noqa: E501 - _param = self._rotate_master_key_api_v1_settings_master_key_rotate_post_serialize( + _param = self._settings_rotate_master_key_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -968,7 +968,7 @@ def rotate_master_key_api_v1_settings_master_key_rotate_post_without_preload_con return response_data.response - def _rotate_master_key_api_v1_settings_master_key_rotate_post_serialize( + def _settings_rotate_master_key_serialize( self, _request_auth, _content_type, @@ -1031,7 +1031,7 @@ def _rotate_master_key_api_v1_settings_master_key_rotate_post_serialize( @validate_call - def send_test_mail_api_v1_settings_mail_test_post( + def settings_send_test_mail( self, send_test_mail_request: SendTestMailRequest, _request_timeout: Union[ @@ -1075,7 +1075,7 @@ def send_test_mail_api_v1_settings_mail_test_post( :return: Returns the result object. """ # noqa: E501 - _param = self._send_test_mail_api_v1_settings_mail_test_post_serialize( + _param = self._settings_send_test_mail_serialize( send_test_mail_request=send_test_mail_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1099,7 +1099,7 @@ def send_test_mail_api_v1_settings_mail_test_post( @validate_call - def send_test_mail_api_v1_settings_mail_test_post_with_http_info( + def settings_send_test_mail_with_http_info( self, send_test_mail_request: SendTestMailRequest, _request_timeout: Union[ @@ -1143,7 +1143,7 @@ def send_test_mail_api_v1_settings_mail_test_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._send_test_mail_api_v1_settings_mail_test_post_serialize( + _param = self._settings_send_test_mail_serialize( send_test_mail_request=send_test_mail_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1167,7 +1167,7 @@ def send_test_mail_api_v1_settings_mail_test_post_with_http_info( @validate_call - def send_test_mail_api_v1_settings_mail_test_post_without_preload_content( + def settings_send_test_mail_without_preload_content( self, send_test_mail_request: SendTestMailRequest, _request_timeout: Union[ @@ -1211,7 +1211,7 @@ def send_test_mail_api_v1_settings_mail_test_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._send_test_mail_api_v1_settings_mail_test_post_serialize( + _param = self._settings_send_test_mail_serialize( send_test_mail_request=send_test_mail_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1230,7 +1230,7 @@ def send_test_mail_api_v1_settings_mail_test_post_without_preload_content( return response_data.response - def _send_test_mail_api_v1_settings_mail_test_post_serialize( + def _settings_send_test_mail_serialize( self, send_test_mail_request, _request_auth, @@ -1309,7 +1309,7 @@ def _send_test_mail_api_v1_settings_mail_test_post_serialize( @validate_call - def update_maintenance_mode_api_v1_settings_maintenance_mode_patch( + def settings_update_maintenance_mode( self, update_maintenance_mode_request: UpdateMaintenanceModeRequest, _request_timeout: Union[ @@ -1353,7 +1353,7 @@ def update_maintenance_mode_api_v1_settings_maintenance_mode_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_maintenance_mode_api_v1_settings_maintenance_mode_patch_serialize( + _param = self._settings_update_maintenance_mode_serialize( update_maintenance_mode_request=update_maintenance_mode_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1377,7 +1377,7 @@ def update_maintenance_mode_api_v1_settings_maintenance_mode_patch( @validate_call - def update_maintenance_mode_api_v1_settings_maintenance_mode_patch_with_http_info( + def settings_update_maintenance_mode_with_http_info( self, update_maintenance_mode_request: UpdateMaintenanceModeRequest, _request_timeout: Union[ @@ -1421,7 +1421,7 @@ def update_maintenance_mode_api_v1_settings_maintenance_mode_patch_with_http_inf :return: Returns the result object. """ # noqa: E501 - _param = self._update_maintenance_mode_api_v1_settings_maintenance_mode_patch_serialize( + _param = self._settings_update_maintenance_mode_serialize( update_maintenance_mode_request=update_maintenance_mode_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1445,7 +1445,7 @@ def update_maintenance_mode_api_v1_settings_maintenance_mode_patch_with_http_inf @validate_call - def update_maintenance_mode_api_v1_settings_maintenance_mode_patch_without_preload_content( + def settings_update_maintenance_mode_without_preload_content( self, update_maintenance_mode_request: UpdateMaintenanceModeRequest, _request_timeout: Union[ @@ -1489,7 +1489,7 @@ def update_maintenance_mode_api_v1_settings_maintenance_mode_patch_without_prelo :return: Returns the result object. """ # noqa: E501 - _param = self._update_maintenance_mode_api_v1_settings_maintenance_mode_patch_serialize( + _param = self._settings_update_maintenance_mode_serialize( update_maintenance_mode_request=update_maintenance_mode_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1508,7 +1508,7 @@ def update_maintenance_mode_api_v1_settings_maintenance_mode_patch_without_prelo return response_data.response - def _update_maintenance_mode_api_v1_settings_maintenance_mode_patch_serialize( + def _settings_update_maintenance_mode_serialize( self, update_maintenance_mode_request, _request_auth, @@ -1587,7 +1587,7 @@ def _update_maintenance_mode_api_v1_settings_maintenance_mode_patch_serialize( @validate_call - def update_settings_api_v1_settings_patch( + def settings_update_settings( self, update_settings_request: UpdateSettingsRequest, _request_timeout: Union[ @@ -1631,7 +1631,7 @@ def update_settings_api_v1_settings_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_settings_api_v1_settings_patch_serialize( + _param = self._settings_update_settings_serialize( update_settings_request=update_settings_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1655,7 +1655,7 @@ def update_settings_api_v1_settings_patch( @validate_call - def update_settings_api_v1_settings_patch_with_http_info( + def settings_update_settings_with_http_info( self, update_settings_request: UpdateSettingsRequest, _request_timeout: Union[ @@ -1699,7 +1699,7 @@ def update_settings_api_v1_settings_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_settings_api_v1_settings_patch_serialize( + _param = self._settings_update_settings_serialize( update_settings_request=update_settings_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1723,7 +1723,7 @@ def update_settings_api_v1_settings_patch_with_http_info( @validate_call - def update_settings_api_v1_settings_patch_without_preload_content( + def settings_update_settings_without_preload_content( self, update_settings_request: UpdateSettingsRequest, _request_timeout: Union[ @@ -1767,7 +1767,7 @@ def update_settings_api_v1_settings_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_settings_api_v1_settings_patch_serialize( + _param = self._settings_update_settings_serialize( update_settings_request=update_settings_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1786,7 +1786,7 @@ def update_settings_api_v1_settings_patch_without_preload_content( return response_data.response - def _update_settings_api_v1_settings_patch_serialize( + def _settings_update_settings_serialize( self, update_settings_request, _request_auth, diff --git a/src/otari/_client/api/tool_settings_api.py b/src/otari/_client/api/tool_settings_api.py index 377b1b20..583368e9 100644 --- a/src/otari/_client/api/tool_settings_api.py +++ b/src/otari/_client/api/tool_settings_api.py @@ -16,6 +16,7 @@ from typing_extensions import Annotated from pydantic import StrictStr +from otari._client.models.guardrail_catalog import GuardrailCatalog from otari._client.models.test_service_request import TestServiceRequest from otari._client.models.test_service_response import TestServiceResponse from otari._client.models.tool_settings_response import ToolSettingsResponse @@ -40,7 +41,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def get_tool_settings_api_v1_tool_settings_get( + def tool_settings_get_tool_settings( self, _request_timeout: Union[ None, @@ -81,7 +82,7 @@ def get_tool_settings_api_v1_tool_settings_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_tool_settings_api_v1_tool_settings_get_serialize( + _param = self._tool_settings_get_tool_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103,7 +104,7 @@ def get_tool_settings_api_v1_tool_settings_get( @validate_call - def get_tool_settings_api_v1_tool_settings_get_with_http_info( + def tool_settings_get_tool_settings_with_http_info( self, _request_timeout: Union[ None, @@ -144,7 +145,7 @@ def get_tool_settings_api_v1_tool_settings_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_tool_settings_api_v1_tool_settings_get_serialize( + _param = self._tool_settings_get_tool_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -166,7 +167,7 @@ def get_tool_settings_api_v1_tool_settings_get_with_http_info( @validate_call - def get_tool_settings_api_v1_tool_settings_get_without_preload_content( + def tool_settings_get_tool_settings_without_preload_content( self, _request_timeout: Union[ None, @@ -207,7 +208,7 @@ def get_tool_settings_api_v1_tool_settings_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_tool_settings_api_v1_tool_settings_get_serialize( + _param = self._tool_settings_get_tool_settings_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -224,7 +225,7 @@ def get_tool_settings_api_v1_tool_settings_get_without_preload_content( return response_data.response - def _get_tool_settings_api_v1_tool_settings_get_serialize( + def _tool_settings_get_tool_settings_serialize( self, _request_auth, _content_type, @@ -287,7 +288,254 @@ def _get_tool_settings_api_v1_tool_settings_get_serialize( @validate_call - def test_service_api_v1_tool_settings_service_test_post( + def tool_settings_list_guardrail_profiles( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GuardrailCatalog: + """List Guardrail Profiles + + List the guardrail profiles this deployment's guardrails service has built. What an organization guardrail's ``profile`` may name, with the ``validate_kwargs`` each one accepts, so the dashboard offers a picker and typed fields instead of a free-text box beside an unrendered dict. The profiles come from the service itself and the parameter schemas from the ``any_guardrail`` registry; neither is a list kept in this repository. See `gateway.services.guardrail_catalog`. Reports ``available: false`` with a reason rather than an error when the service is unconfigured, unreachable, or older than its ``/profiles`` endpoint, because a guardrails outage must not also break the page that configures guardrails. Read against ``guardrails_url``, which is the deployment's own service. An entry that carries an endpoint of its own is not probed: that URL is caller-supplied and fetching it here would make this a way to have the gateway request an address of the caller's choosing. Not on ``verify_catalog_reader``, despite being a catalog read: that plane is the three deployment-describing reads a data-plane key may also make, and admitting a key here would let any workspace credential dial the deployment's guardrails service. This is a management read, so it takes the router's own gate. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tool_settings_list_guardrail_profiles_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GuardrailCatalog", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def tool_settings_list_guardrail_profiles_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GuardrailCatalog]: + """List Guardrail Profiles + + List the guardrail profiles this deployment's guardrails service has built. What an organization guardrail's ``profile`` may name, with the ``validate_kwargs`` each one accepts, so the dashboard offers a picker and typed fields instead of a free-text box beside an unrendered dict. The profiles come from the service itself and the parameter schemas from the ``any_guardrail`` registry; neither is a list kept in this repository. See `gateway.services.guardrail_catalog`. Reports ``available: false`` with a reason rather than an error when the service is unconfigured, unreachable, or older than its ``/profiles`` endpoint, because a guardrails outage must not also break the page that configures guardrails. Read against ``guardrails_url``, which is the deployment's own service. An entry that carries an endpoint of its own is not probed: that URL is caller-supplied and fetching it here would make this a way to have the gateway request an address of the caller's choosing. Not on ``verify_catalog_reader``, despite being a catalog read: that plane is the three deployment-describing reads a data-plane key may also make, and admitting a key here would let any workspace credential dial the deployment's guardrails service. This is a management read, so it takes the router's own gate. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tool_settings_list_guardrail_profiles_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GuardrailCatalog", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def tool_settings_list_guardrail_profiles_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """List Guardrail Profiles + + List the guardrail profiles this deployment's guardrails service has built. What an organization guardrail's ``profile`` may name, with the ``validate_kwargs`` each one accepts, so the dashboard offers a picker and typed fields instead of a free-text box beside an unrendered dict. The profiles come from the service itself and the parameter schemas from the ``any_guardrail`` registry; neither is a list kept in this repository. See `gateway.services.guardrail_catalog`. Reports ``available: false`` with a reason rather than an error when the service is unconfigured, unreachable, or older than its ``/profiles`` endpoint, because a guardrails outage must not also break the page that configures guardrails. Read against ``guardrails_url``, which is the deployment's own service. An entry that carries an endpoint of its own is not probed: that URL is caller-supplied and fetching it here would make this a way to have the gateway request an address of the caller's choosing. Not on ``verify_catalog_reader``, despite being a catalog read: that plane is the three deployment-describing reads a data-plane key may also make, and admitting a key here would let any workspace credential dial the deployment's guardrails service. This is a management read, so it takes the router's own gate. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tool_settings_list_guardrail_profiles_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GuardrailCatalog", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _tool_settings_list_guardrail_profiles_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'XApiKeyAuth', + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/v1/tool-settings/guardrails/profiles', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def tool_settings_test_service( self, service: StrictStr, test_service_request: TestServiceRequest, @@ -334,7 +582,7 @@ def test_service_api_v1_tool_settings_service_test_post( :return: Returns the result object. """ # noqa: E501 - _param = self._test_service_api_v1_tool_settings_service_test_post_serialize( + _param = self._tool_settings_test_service_serialize( service=service, test_service_request=test_service_request, _request_auth=_request_auth, @@ -359,7 +607,7 @@ def test_service_api_v1_tool_settings_service_test_post( @validate_call - def test_service_api_v1_tool_settings_service_test_post_with_http_info( + def tool_settings_test_service_with_http_info( self, service: StrictStr, test_service_request: TestServiceRequest, @@ -406,7 +654,7 @@ def test_service_api_v1_tool_settings_service_test_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._test_service_api_v1_tool_settings_service_test_post_serialize( + _param = self._tool_settings_test_service_serialize( service=service, test_service_request=test_service_request, _request_auth=_request_auth, @@ -431,7 +679,7 @@ def test_service_api_v1_tool_settings_service_test_post_with_http_info( @validate_call - def test_service_api_v1_tool_settings_service_test_post_without_preload_content( + def tool_settings_test_service_without_preload_content( self, service: StrictStr, test_service_request: TestServiceRequest, @@ -478,7 +726,7 @@ def test_service_api_v1_tool_settings_service_test_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._test_service_api_v1_tool_settings_service_test_post_serialize( + _param = self._tool_settings_test_service_serialize( service=service, test_service_request=test_service_request, _request_auth=_request_auth, @@ -498,7 +746,7 @@ def test_service_api_v1_tool_settings_service_test_post_without_preload_content( return response_data.response - def _test_service_api_v1_tool_settings_service_test_post_serialize( + def _tool_settings_test_service_serialize( self, service, test_service_request, @@ -580,7 +828,7 @@ def _test_service_api_v1_tool_settings_service_test_post_serialize( @validate_call - def update_tool_settings_api_v1_tool_settings_patch( + def tool_settings_update_tool_settings( self, update_tool_settings_request: UpdateToolSettingsRequest, _request_timeout: Union[ @@ -624,7 +872,7 @@ def update_tool_settings_api_v1_tool_settings_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_tool_settings_api_v1_tool_settings_patch_serialize( + _param = self._tool_settings_update_tool_settings_serialize( update_tool_settings_request=update_tool_settings_request, _request_auth=_request_auth, _content_type=_content_type, @@ -648,7 +896,7 @@ def update_tool_settings_api_v1_tool_settings_patch( @validate_call - def update_tool_settings_api_v1_tool_settings_patch_with_http_info( + def tool_settings_update_tool_settings_with_http_info( self, update_tool_settings_request: UpdateToolSettingsRequest, _request_timeout: Union[ @@ -692,7 +940,7 @@ def update_tool_settings_api_v1_tool_settings_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_tool_settings_api_v1_tool_settings_patch_serialize( + _param = self._tool_settings_update_tool_settings_serialize( update_tool_settings_request=update_tool_settings_request, _request_auth=_request_auth, _content_type=_content_type, @@ -716,7 +964,7 @@ def update_tool_settings_api_v1_tool_settings_patch_with_http_info( @validate_call - def update_tool_settings_api_v1_tool_settings_patch_without_preload_content( + def tool_settings_update_tool_settings_without_preload_content( self, update_tool_settings_request: UpdateToolSettingsRequest, _request_timeout: Union[ @@ -760,7 +1008,7 @@ def update_tool_settings_api_v1_tool_settings_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_tool_settings_api_v1_tool_settings_patch_serialize( + _param = self._tool_settings_update_tool_settings_serialize( update_tool_settings_request=update_tool_settings_request, _request_auth=_request_auth, _content_type=_content_type, @@ -779,7 +1027,7 @@ def update_tool_settings_api_v1_tool_settings_patch_without_preload_content( return response_data.response - def _update_tool_settings_api_v1_tool_settings_patch_serialize( + def _tool_settings_update_tool_settings_serialize( self, update_tool_settings_request, _request_auth, diff --git a/src/otari/_client/api/tools_api.py b/src/otari/_client/api/tools_api.py index 6ce25222..fe2eb39f 100644 --- a/src/otari/_client/api/tools_api.py +++ b/src/otari/_client/api/tools_api.py @@ -36,7 +36,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def list_tools_api_v1_tools_get( + def tools_list_tools( self, _request_timeout: Union[ None, @@ -77,7 +77,7 @@ def list_tools_api_v1_tools_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_tools_api_v1_tools_get_serialize( + _param = self._tools_list_tools_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99,7 +99,7 @@ def list_tools_api_v1_tools_get( @validate_call - def list_tools_api_v1_tools_get_with_http_info( + def tools_list_tools_with_http_info( self, _request_timeout: Union[ None, @@ -140,7 +140,7 @@ def list_tools_api_v1_tools_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_tools_api_v1_tools_get_serialize( + _param = self._tools_list_tools_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -162,7 +162,7 @@ def list_tools_api_v1_tools_get_with_http_info( @validate_call - def list_tools_api_v1_tools_get_without_preload_content( + def tools_list_tools_without_preload_content( self, _request_timeout: Union[ None, @@ -203,7 +203,7 @@ def list_tools_api_v1_tools_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_tools_api_v1_tools_get_serialize( + _param = self._tools_list_tools_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -220,7 +220,7 @@ def list_tools_api_v1_tools_get_without_preload_content( return response_data.response - def _list_tools_api_v1_tools_get_serialize( + def _tools_list_tools_serialize( self, _request_auth, _content_type, diff --git a/src/otari/_client/api/usage_api.py b/src/otari/_client/api/usage_api.py index 6ee9874c..2000c162 100644 --- a/src/otari/_client/api/usage_api.py +++ b/src/otari/_client/api/usage_api.py @@ -51,7 +51,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def count_usage_api_v1_usage_count_get( + def usage_count_usage( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -140,7 +140,7 @@ def count_usage_api_v1_usage_count_get( :return: Returns the result object. """ # noqa: E501 - _param = self._count_usage_api_v1_usage_count_get_serialize( + _param = self._usage_count_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -179,7 +179,7 @@ def count_usage_api_v1_usage_count_get( @validate_call - def count_usage_api_v1_usage_count_get_with_http_info( + def usage_count_usage_with_http_info( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -268,7 +268,7 @@ def count_usage_api_v1_usage_count_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._count_usage_api_v1_usage_count_get_serialize( + _param = self._usage_count_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -307,7 +307,7 @@ def count_usage_api_v1_usage_count_get_with_http_info( @validate_call - def count_usage_api_v1_usage_count_get_without_preload_content( + def usage_count_usage_without_preload_content( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -396,7 +396,7 @@ def count_usage_api_v1_usage_count_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._count_usage_api_v1_usage_count_get_serialize( + _param = self._usage_count_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -430,7 +430,7 @@ def count_usage_api_v1_usage_count_get_without_preload_content( return response_data.response - def _count_usage_api_v1_usage_count_get_serialize( + def _usage_count_usage_serialize( self, start_date, end_date, @@ -595,7 +595,7 @@ def _count_usage_api_v1_usage_count_get_serialize( @validate_call - def delete_usage_rows_api_v1_usage_delete( + def usage_delete_usage_rows( self, usage_delete_request: UsageDeleteRequest, _request_timeout: Union[ @@ -639,7 +639,7 @@ def delete_usage_rows_api_v1_usage_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_usage_rows_api_v1_usage_delete_serialize( + _param = self._usage_delete_usage_rows_serialize( usage_delete_request=usage_delete_request, _request_auth=_request_auth, _content_type=_content_type, @@ -663,7 +663,7 @@ def delete_usage_rows_api_v1_usage_delete( @validate_call - def delete_usage_rows_api_v1_usage_delete_with_http_info( + def usage_delete_usage_rows_with_http_info( self, usage_delete_request: UsageDeleteRequest, _request_timeout: Union[ @@ -707,7 +707,7 @@ def delete_usage_rows_api_v1_usage_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_usage_rows_api_v1_usage_delete_serialize( + _param = self._usage_delete_usage_rows_serialize( usage_delete_request=usage_delete_request, _request_auth=_request_auth, _content_type=_content_type, @@ -731,7 +731,7 @@ def delete_usage_rows_api_v1_usage_delete_with_http_info( @validate_call - def delete_usage_rows_api_v1_usage_delete_without_preload_content( + def usage_delete_usage_rows_without_preload_content( self, usage_delete_request: UsageDeleteRequest, _request_timeout: Union[ @@ -775,7 +775,7 @@ def delete_usage_rows_api_v1_usage_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_usage_rows_api_v1_usage_delete_serialize( + _param = self._usage_delete_usage_rows_serialize( usage_delete_request=usage_delete_request, _request_auth=_request_auth, _content_type=_content_type, @@ -794,7 +794,7 @@ def delete_usage_rows_api_v1_usage_delete_without_preload_content( return response_data.response - def _delete_usage_rows_api_v1_usage_delete_serialize( + def _usage_delete_usage_rows_serialize( self, usage_delete_request, _request_auth, @@ -873,7 +873,7 @@ def _delete_usage_rows_api_v1_usage_delete_serialize( @validate_call - def ingest_external_usage_api_v1_usage_external_events_post( + def usage_ingest_external_usage( self, external_events_request: ExternalEventsRequest, _request_timeout: Union[ @@ -917,7 +917,7 @@ def ingest_external_usage_api_v1_usage_external_events_post( :return: Returns the result object. """ # noqa: E501 - _param = self._ingest_external_usage_api_v1_usage_external_events_post_serialize( + _param = self._usage_ingest_external_usage_serialize( external_events_request=external_events_request, _request_auth=_request_auth, _content_type=_content_type, @@ -941,7 +941,7 @@ def ingest_external_usage_api_v1_usage_external_events_post( @validate_call - def ingest_external_usage_api_v1_usage_external_events_post_with_http_info( + def usage_ingest_external_usage_with_http_info( self, external_events_request: ExternalEventsRequest, _request_timeout: Union[ @@ -985,7 +985,7 @@ def ingest_external_usage_api_v1_usage_external_events_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ingest_external_usage_api_v1_usage_external_events_post_serialize( + _param = self._usage_ingest_external_usage_serialize( external_events_request=external_events_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1009,7 +1009,7 @@ def ingest_external_usage_api_v1_usage_external_events_post_with_http_info( @validate_call - def ingest_external_usage_api_v1_usage_external_events_post_without_preload_content( + def usage_ingest_external_usage_without_preload_content( self, external_events_request: ExternalEventsRequest, _request_timeout: Union[ @@ -1053,7 +1053,7 @@ def ingest_external_usage_api_v1_usage_external_events_post_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._ingest_external_usage_api_v1_usage_external_events_post_serialize( + _param = self._usage_ingest_external_usage_serialize( external_events_request=external_events_request, _request_auth=_request_auth, _content_type=_content_type, @@ -1072,7 +1072,7 @@ def ingest_external_usage_api_v1_usage_external_events_post_without_preload_cont return response_data.response - def _ingest_external_usage_api_v1_usage_external_events_post_serialize( + def _usage_ingest_external_usage_serialize( self, external_events_request, _request_auth, @@ -1151,7 +1151,7 @@ def _ingest_external_usage_api_v1_usage_external_events_post_serialize( @validate_call - def list_in_flight_api_v1_usage_in_flight_get( + def usage_list_in_flight( self, _request_timeout: Union[ None, @@ -1192,7 +1192,7 @@ def list_in_flight_api_v1_usage_in_flight_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_in_flight_api_v1_usage_in_flight_get_serialize( + _param = self._usage_list_in_flight_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1214,7 +1214,7 @@ def list_in_flight_api_v1_usage_in_flight_get( @validate_call - def list_in_flight_api_v1_usage_in_flight_get_with_http_info( + def usage_list_in_flight_with_http_info( self, _request_timeout: Union[ None, @@ -1255,7 +1255,7 @@ def list_in_flight_api_v1_usage_in_flight_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_in_flight_api_v1_usage_in_flight_get_serialize( + _param = self._usage_list_in_flight_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1277,7 +1277,7 @@ def list_in_flight_api_v1_usage_in_flight_get_with_http_info( @validate_call - def list_in_flight_api_v1_usage_in_flight_get_without_preload_content( + def usage_list_in_flight_without_preload_content( self, _request_timeout: Union[ None, @@ -1318,7 +1318,7 @@ def list_in_flight_api_v1_usage_in_flight_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_in_flight_api_v1_usage_in_flight_get_serialize( + _param = self._usage_list_in_flight_serialize( _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1335,7 +1335,7 @@ def list_in_flight_api_v1_usage_in_flight_get_without_preload_content( return response_data.response - def _list_in_flight_api_v1_usage_in_flight_get_serialize( + def _usage_list_in_flight_serialize( self, _request_auth, _content_type, @@ -1398,7 +1398,7 @@ def _list_in_flight_api_v1_usage_in_flight_get_serialize( @validate_call - def list_usage_api_v1_usage_get( + def usage_list_usage( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1493,7 +1493,7 @@ def list_usage_api_v1_usage_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_usage_api_v1_usage_get_serialize( + _param = self._usage_list_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -1534,7 +1534,7 @@ def list_usage_api_v1_usage_get( @validate_call - def list_usage_api_v1_usage_get_with_http_info( + def usage_list_usage_with_http_info( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1629,7 +1629,7 @@ def list_usage_api_v1_usage_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_usage_api_v1_usage_get_serialize( + _param = self._usage_list_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -1670,7 +1670,7 @@ def list_usage_api_v1_usage_get_with_http_info( @validate_call - def list_usage_api_v1_usage_get_without_preload_content( + def usage_list_usage_without_preload_content( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -1765,7 +1765,7 @@ def list_usage_api_v1_usage_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_usage_api_v1_usage_get_serialize( + _param = self._usage_list_usage_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -1801,7 +1801,7 @@ def list_usage_api_v1_usage_get_without_preload_content( return response_data.response - def _list_usage_api_v1_usage_get_serialize( + def _usage_list_usage_serialize( self, start_date, end_date, @@ -1976,7 +1976,7 @@ def _list_usage_api_v1_usage_get_serialize( @validate_call - def set_usage_price_rows_api_v1_usage_set_price_post( + def usage_set_usage_price_rows( self, usage_set_price_request: UsageSetPriceRequest, _request_timeout: Union[ @@ -2020,7 +2020,7 @@ def set_usage_price_rows_api_v1_usage_set_price_post( :return: Returns the result object. """ # noqa: E501 - _param = self._set_usage_price_rows_api_v1_usage_set_price_post_serialize( + _param = self._usage_set_usage_price_rows_serialize( usage_set_price_request=usage_set_price_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2044,7 +2044,7 @@ def set_usage_price_rows_api_v1_usage_set_price_post( @validate_call - def set_usage_price_rows_api_v1_usage_set_price_post_with_http_info( + def usage_set_usage_price_rows_with_http_info( self, usage_set_price_request: UsageSetPriceRequest, _request_timeout: Union[ @@ -2088,7 +2088,7 @@ def set_usage_price_rows_api_v1_usage_set_price_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._set_usage_price_rows_api_v1_usage_set_price_post_serialize( + _param = self._usage_set_usage_price_rows_serialize( usage_set_price_request=usage_set_price_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2112,7 +2112,7 @@ def set_usage_price_rows_api_v1_usage_set_price_post_with_http_info( @validate_call - def set_usage_price_rows_api_v1_usage_set_price_post_without_preload_content( + def usage_set_usage_price_rows_without_preload_content( self, usage_set_price_request: UsageSetPriceRequest, _request_timeout: Union[ @@ -2156,7 +2156,7 @@ def set_usage_price_rows_api_v1_usage_set_price_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._set_usage_price_rows_api_v1_usage_set_price_post_serialize( + _param = self._usage_set_usage_price_rows_serialize( usage_set_price_request=usage_set_price_request, _request_auth=_request_auth, _content_type=_content_type, @@ -2175,7 +2175,7 @@ def set_usage_price_rows_api_v1_usage_set_price_post_without_preload_content( return response_data.response - def _set_usage_price_rows_api_v1_usage_set_price_post_serialize( + def _usage_set_usage_price_rows_serialize( self, usage_set_price_request, _request_auth, @@ -2254,7 +2254,7 @@ def _set_usage_price_rows_api_v1_usage_set_price_post_serialize( @validate_call - def usage_series_api_v1_usage_series_get( + def usage_usage_series( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -2346,7 +2346,7 @@ def usage_series_api_v1_usage_series_get( :return: Returns the result object. """ # noqa: E501 - _param = self._usage_series_api_v1_usage_series_get_serialize( + _param = self._usage_usage_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -2386,7 +2386,7 @@ def usage_series_api_v1_usage_series_get( @validate_call - def usage_series_api_v1_usage_series_get_with_http_info( + def usage_usage_series_with_http_info( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -2478,7 +2478,7 @@ def usage_series_api_v1_usage_series_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._usage_series_api_v1_usage_series_get_serialize( + _param = self._usage_usage_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -2518,7 +2518,7 @@ def usage_series_api_v1_usage_series_get_with_http_info( @validate_call - def usage_series_api_v1_usage_series_get_without_preload_content( + def usage_usage_series_without_preload_content( self, group_by: Annotated[StrictStr, Field(description="Dimension to split the series by")], start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -2610,7 +2610,7 @@ def usage_series_api_v1_usage_series_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._usage_series_api_v1_usage_series_get_serialize( + _param = self._usage_usage_series_serialize( group_by=group_by, start_date=start_date, end_date=end_date, @@ -2645,7 +2645,7 @@ def usage_series_api_v1_usage_series_get_without_preload_content( return response_data.response - def _usage_series_api_v1_usage_series_get_serialize( + def _usage_usage_series_serialize( self, group_by, start_date, @@ -2814,7 +2814,7 @@ def _usage_series_api_v1_usage_series_get_serialize( @validate_call - def usage_summary_api_v1_usage_summary_get( + def usage_usage_summary( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -2906,7 +2906,7 @@ def usage_summary_api_v1_usage_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._usage_summary_api_v1_usage_summary_get_serialize( + _param = self._usage_usage_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -2946,7 +2946,7 @@ def usage_summary_api_v1_usage_summary_get( @validate_call - def usage_summary_api_v1_usage_summary_get_with_http_info( + def usage_usage_summary_with_http_info( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -3038,7 +3038,7 @@ def usage_summary_api_v1_usage_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._usage_summary_api_v1_usage_summary_get_serialize( + _param = self._usage_usage_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -3078,7 +3078,7 @@ def usage_summary_api_v1_usage_summary_get_with_http_info( @validate_call - def usage_summary_api_v1_usage_summary_get_without_preload_content( + def usage_usage_summary_without_preload_content( self, start_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp >= start_date (ISO 8601 or Unix epoch seconds)")] = None, end_date: Annotated[Optional[datetime], Field(description="Return logs with timestamp < end_date (ISO 8601 or Unix epoch seconds)")] = None, @@ -3170,7 +3170,7 @@ def usage_summary_api_v1_usage_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._usage_summary_api_v1_usage_summary_get_serialize( + _param = self._usage_usage_summary_serialize( start_date=start_date, end_date=end_date, user_id=user_id, @@ -3205,7 +3205,7 @@ def usage_summary_api_v1_usage_summary_get_without_preload_content( return response_data.response - def _usage_summary_api_v1_usage_summary_get_serialize( + def _usage_usage_summary_serialize( self, start_date, end_date, diff --git a/src/otari/_client/api/users_api.py b/src/otari/_client/api/users_api.py index fdfb9df2..ca8f9678 100644 --- a/src/otari/_client/api/users_api.py +++ b/src/otari/_client/api/users_api.py @@ -42,7 +42,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_user_api_v1_users_post( + def users_create_user( self, create_user_request: CreateUserRequest, _request_timeout: Union[ @@ -86,7 +86,7 @@ def create_user_api_v1_users_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_user_api_v1_users_post_serialize( + _param = self._users_create_user_serialize( create_user_request=create_user_request, _request_auth=_request_auth, _content_type=_content_type, @@ -110,7 +110,7 @@ def create_user_api_v1_users_post( @validate_call - def create_user_api_v1_users_post_with_http_info( + def users_create_user_with_http_info( self, create_user_request: CreateUserRequest, _request_timeout: Union[ @@ -154,7 +154,7 @@ def create_user_api_v1_users_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_user_api_v1_users_post_serialize( + _param = self._users_create_user_serialize( create_user_request=create_user_request, _request_auth=_request_auth, _content_type=_content_type, @@ -178,7 +178,7 @@ def create_user_api_v1_users_post_with_http_info( @validate_call - def create_user_api_v1_users_post_without_preload_content( + def users_create_user_without_preload_content( self, create_user_request: CreateUserRequest, _request_timeout: Union[ @@ -222,7 +222,7 @@ def create_user_api_v1_users_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_user_api_v1_users_post_serialize( + _param = self._users_create_user_serialize( create_user_request=create_user_request, _request_auth=_request_auth, _content_type=_content_type, @@ -241,7 +241,7 @@ def create_user_api_v1_users_post_without_preload_content( return response_data.response - def _create_user_api_v1_users_post_serialize( + def _users_create_user_serialize( self, create_user_request, _request_auth, @@ -320,7 +320,7 @@ def _create_user_api_v1_users_post_serialize( @validate_call - def delete_user_api_v1_users_user_id_delete( + def users_delete_user( self, user_id: StrictStr, _request_timeout: Union[ @@ -364,7 +364,7 @@ def delete_user_api_v1_users_user_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_user_api_v1_users_user_id_delete_serialize( + _param = self._users_delete_user_serialize( user_id=user_id, _request_auth=_request_auth, _content_type=_content_type, @@ -388,7 +388,7 @@ def delete_user_api_v1_users_user_id_delete( @validate_call - def delete_user_api_v1_users_user_id_delete_with_http_info( + def users_delete_user_with_http_info( self, user_id: StrictStr, _request_timeout: Union[ @@ -432,7 +432,7 @@ def delete_user_api_v1_users_user_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_user_api_v1_users_user_id_delete_serialize( + _param = self._users_delete_user_serialize( user_id=user_id, _request_auth=_request_auth, _content_type=_content_type, @@ -456,7 +456,7 @@ def delete_user_api_v1_users_user_id_delete_with_http_info( @validate_call - def delete_user_api_v1_users_user_id_delete_without_preload_content( + def users_delete_user_without_preload_content( self, user_id: StrictStr, _request_timeout: Union[ @@ -500,7 +500,7 @@ def delete_user_api_v1_users_user_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_user_api_v1_users_user_id_delete_serialize( + _param = self._users_delete_user_serialize( user_id=user_id, _request_auth=_request_auth, _content_type=_content_type, @@ -519,7 +519,7 @@ def delete_user_api_v1_users_user_id_delete_without_preload_content( return response_data.response - def _delete_user_api_v1_users_user_id_delete_serialize( + def _users_delete_user_serialize( self, user_id, _request_auth, @@ -585,7 +585,7 @@ def _delete_user_api_v1_users_user_id_delete_serialize( @validate_call - def get_user_api_v1_users_user_id_get( + def users_get_user( self, user_id: StrictStr, _request_timeout: Union[ @@ -629,7 +629,7 @@ def get_user_api_v1_users_user_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_user_api_v1_users_user_id_get_serialize( + _param = self._users_get_user_serialize( user_id=user_id, _request_auth=_request_auth, _content_type=_content_type, @@ -653,7 +653,7 @@ def get_user_api_v1_users_user_id_get( @validate_call - def get_user_api_v1_users_user_id_get_with_http_info( + def users_get_user_with_http_info( self, user_id: StrictStr, _request_timeout: Union[ @@ -697,7 +697,7 @@ def get_user_api_v1_users_user_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_user_api_v1_users_user_id_get_serialize( + _param = self._users_get_user_serialize( user_id=user_id, _request_auth=_request_auth, _content_type=_content_type, @@ -721,7 +721,7 @@ def get_user_api_v1_users_user_id_get_with_http_info( @validate_call - def get_user_api_v1_users_user_id_get_without_preload_content( + def users_get_user_without_preload_content( self, user_id: StrictStr, _request_timeout: Union[ @@ -765,7 +765,7 @@ def get_user_api_v1_users_user_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_user_api_v1_users_user_id_get_serialize( + _param = self._users_get_user_serialize( user_id=user_id, _request_auth=_request_auth, _content_type=_content_type, @@ -784,7 +784,7 @@ def get_user_api_v1_users_user_id_get_without_preload_content( return response_data.response - def _get_user_api_v1_users_user_id_get_serialize( + def _users_get_user_serialize( self, user_id, _request_auth, @@ -850,7 +850,7 @@ def _get_user_api_v1_users_user_id_get_serialize( @validate_call - def get_user_usage_api_v1_users_user_id_usage_get( + def users_get_user_usage( self, user_id: StrictStr, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, @@ -900,7 +900,7 @@ def get_user_usage_api_v1_users_user_id_usage_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_user_usage_api_v1_users_user_id_usage_get_serialize( + _param = self._users_get_user_usage_serialize( user_id=user_id, skip=skip, limit=limit, @@ -926,7 +926,7 @@ def get_user_usage_api_v1_users_user_id_usage_get( @validate_call - def get_user_usage_api_v1_users_user_id_usage_get_with_http_info( + def users_get_user_usage_with_http_info( self, user_id: StrictStr, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, @@ -976,7 +976,7 @@ def get_user_usage_api_v1_users_user_id_usage_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_user_usage_api_v1_users_user_id_usage_get_serialize( + _param = self._users_get_user_usage_serialize( user_id=user_id, skip=skip, limit=limit, @@ -1002,7 +1002,7 @@ def get_user_usage_api_v1_users_user_id_usage_get_with_http_info( @validate_call - def get_user_usage_api_v1_users_user_id_usage_get_without_preload_content( + def users_get_user_usage_without_preload_content( self, user_id: StrictStr, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, @@ -1052,7 +1052,7 @@ def get_user_usage_api_v1_users_user_id_usage_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_user_usage_api_v1_users_user_id_usage_get_serialize( + _param = self._users_get_user_usage_serialize( user_id=user_id, skip=skip, limit=limit, @@ -1073,7 +1073,7 @@ def get_user_usage_api_v1_users_user_id_usage_get_without_preload_content( return response_data.response - def _get_user_usage_api_v1_users_user_id_usage_get_serialize( + def _users_get_user_usage_serialize( self, user_id, skip, @@ -1149,7 +1149,7 @@ def _get_user_usage_api_v1_users_user_id_usage_get_serialize( @validate_call - def list_users_api_v1_users_get( + def users_list_users( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1196,7 +1196,7 @@ def list_users_api_v1_users_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_users_api_v1_users_get_serialize( + _param = self._users_list_users_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1221,7 +1221,7 @@ def list_users_api_v1_users_get( @validate_call - def list_users_api_v1_users_get_with_http_info( + def users_list_users_with_http_info( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1268,7 +1268,7 @@ def list_users_api_v1_users_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_users_api_v1_users_get_serialize( + _param = self._users_list_users_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1293,7 +1293,7 @@ def list_users_api_v1_users_get_with_http_info( @validate_call - def list_users_api_v1_users_get_without_preload_content( + def users_list_users_without_preload_content( self, skip: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]] = None, @@ -1340,7 +1340,7 @@ def list_users_api_v1_users_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_users_api_v1_users_get_serialize( + _param = self._users_list_users_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1360,7 +1360,7 @@ def list_users_api_v1_users_get_without_preload_content( return response_data.response - def _list_users_api_v1_users_get_serialize( + def _users_list_users_serialize( self, skip, limit, @@ -1433,7 +1433,7 @@ def _list_users_api_v1_users_get_serialize( @validate_call - def update_user_api_v1_users_user_id_patch( + def users_update_user( self, user_id: StrictStr, update_user_request: UpdateUserRequest, @@ -1480,7 +1480,7 @@ def update_user_api_v1_users_user_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_user_api_v1_users_user_id_patch_serialize( + _param = self._users_update_user_serialize( user_id=user_id, update_user_request=update_user_request, _request_auth=_request_auth, @@ -1505,7 +1505,7 @@ def update_user_api_v1_users_user_id_patch( @validate_call - def update_user_api_v1_users_user_id_patch_with_http_info( + def users_update_user_with_http_info( self, user_id: StrictStr, update_user_request: UpdateUserRequest, @@ -1552,7 +1552,7 @@ def update_user_api_v1_users_user_id_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_user_api_v1_users_user_id_patch_serialize( + _param = self._users_update_user_serialize( user_id=user_id, update_user_request=update_user_request, _request_auth=_request_auth, @@ -1577,7 +1577,7 @@ def update_user_api_v1_users_user_id_patch_with_http_info( @validate_call - def update_user_api_v1_users_user_id_patch_without_preload_content( + def users_update_user_without_preload_content( self, user_id: StrictStr, update_user_request: UpdateUserRequest, @@ -1624,7 +1624,7 @@ def update_user_api_v1_users_user_id_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_user_api_v1_users_user_id_patch_serialize( + _param = self._users_update_user_serialize( user_id=user_id, update_user_request=update_user_request, _request_auth=_request_auth, @@ -1644,7 +1644,7 @@ def update_user_api_v1_users_user_id_patch_without_preload_content( return response_data.response - def _update_user_api_v1_users_user_id_patch_serialize( + def _users_update_user_serialize( self, user_id, update_user_request, diff --git a/src/otari/_client/api/web_search_api.py b/src/otari/_client/api/web_search_api.py index 4f7a335c..07635c18 100644 --- a/src/otari/_client/api/web_search_api.py +++ b/src/otari/_client/api/web_search_api.py @@ -39,7 +39,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def web_search_api_v1_web_search_search_get( + def web_search_web_search( self, q: Annotated[str, Field(min_length=1, strict=True, description="The search query.")], max_results: Optional[Annotated[int, Field(le=20, strict=True, ge=1)]] = None, @@ -101,7 +101,7 @@ def web_search_api_v1_web_search_search_get( :return: Returns the result object. """ # noqa: E501 - _param = self._web_search_api_v1_web_search_search_get_serialize( + _param = self._web_search_web_search_serialize( q=q, max_results=max_results, search_depth=search_depth, @@ -131,7 +131,7 @@ def web_search_api_v1_web_search_search_get( @validate_call - def web_search_api_v1_web_search_search_get_with_http_info( + def web_search_web_search_with_http_info( self, q: Annotated[str, Field(min_length=1, strict=True, description="The search query.")], max_results: Optional[Annotated[int, Field(le=20, strict=True, ge=1)]] = None, @@ -193,7 +193,7 @@ def web_search_api_v1_web_search_search_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._web_search_api_v1_web_search_search_get_serialize( + _param = self._web_search_web_search_serialize( q=q, max_results=max_results, search_depth=search_depth, @@ -223,7 +223,7 @@ def web_search_api_v1_web_search_search_get_with_http_info( @validate_call - def web_search_api_v1_web_search_search_get_without_preload_content( + def web_search_web_search_without_preload_content( self, q: Annotated[str, Field(min_length=1, strict=True, description="The search query.")], max_results: Optional[Annotated[int, Field(le=20, strict=True, ge=1)]] = None, @@ -285,7 +285,7 @@ def web_search_api_v1_web_search_search_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._web_search_api_v1_web_search_search_get_serialize( + _param = self._web_search_web_search_serialize( q=q, max_results=max_results, search_depth=search_depth, @@ -310,7 +310,7 @@ def web_search_api_v1_web_search_search_get_without_preload_content( return response_data.response - def _web_search_api_v1_web_search_search_get_serialize( + def _web_search_web_search_serialize( self, q, max_results, diff --git a/src/otari/_client/api/workspace_activation_api.py b/src/otari/_client/api/workspace_activation_api.py index cbf5582c..2c25bd36 100644 --- a/src/otari/_client/api/workspace_activation_api.py +++ b/src/otari/_client/api/workspace_activation_api.py @@ -39,7 +39,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_key_post( + def workspace_activation_create_workspace_activation_key( self, workspace_id: UUID, _request_timeout: Union[ @@ -83,7 +83,7 @@ def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_ke :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_key_post_serialize( + _param = self._workspace_activation_create_workspace_activation_key_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -107,7 +107,7 @@ def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_ke @validate_call - def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_key_post_with_http_info( + def workspace_activation_create_workspace_activation_key_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -151,7 +151,7 @@ def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_ke :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_key_post_serialize( + _param = self._workspace_activation_create_workspace_activation_key_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -175,7 +175,7 @@ def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_ke @validate_call - def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_key_post_without_preload_content( + def workspace_activation_create_workspace_activation_key_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -219,7 +219,7 @@ def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_ke :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_key_post_serialize( + _param = self._workspace_activation_create_workspace_activation_key_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -238,7 +238,7 @@ def create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_ke return response_data.response - def _create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_key_post_serialize( + def _workspace_activation_create_workspace_activation_key_serialize( self, workspace_id, _request_auth, @@ -304,7 +304,7 @@ def _create_workspace_activation_key_api_v1_workspaces_workspace_id_activation_k @validate_call - def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismiss_post( + def workspace_activation_dismiss_workspace_activation( self, workspace_id: UUID, _request_timeout: Union[ @@ -348,7 +348,7 @@ def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismi :return: Returns the result object. """ # noqa: E501 - _param = self._dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismiss_post_serialize( + _param = self._workspace_activation_dismiss_workspace_activation_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -372,7 +372,7 @@ def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismi @validate_call - def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismiss_post_with_http_info( + def workspace_activation_dismiss_workspace_activation_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -416,7 +416,7 @@ def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismi :return: Returns the result object. """ # noqa: E501 - _param = self._dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismiss_post_serialize( + _param = self._workspace_activation_dismiss_workspace_activation_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -440,7 +440,7 @@ def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismi @validate_call - def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismiss_post_without_preload_content( + def workspace_activation_dismiss_workspace_activation_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -484,7 +484,7 @@ def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismi :return: Returns the result object. """ # noqa: E501 - _param = self._dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismiss_post_serialize( + _param = self._workspace_activation_dismiss_workspace_activation_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -503,7 +503,7 @@ def dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismi return response_data.response - def _dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dismiss_post_serialize( + def _workspace_activation_dismiss_workspace_activation_serialize( self, workspace_id, _request_auth, @@ -569,7 +569,7 @@ def _dismiss_workspace_activation_api_v1_workspaces_workspace_id_activation_dism @validate_call - def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get( + def workspace_activation_get_workspace_activation( self, workspace_id: UUID, _request_timeout: Union[ @@ -613,7 +613,7 @@ def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_serialize( + _param = self._workspace_activation_get_workspace_activation_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -637,7 +637,7 @@ def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get( @validate_call - def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_with_http_info( + def workspace_activation_get_workspace_activation_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -681,7 +681,7 @@ def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_with_ :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_serialize( + _param = self._workspace_activation_get_workspace_activation_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -705,7 +705,7 @@ def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_with_ @validate_call - def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_without_preload_content( + def workspace_activation_get_workspace_activation_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -749,7 +749,7 @@ def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_witho :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_serialize( + _param = self._workspace_activation_get_workspace_activation_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -768,7 +768,7 @@ def get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_witho return response_data.response - def _get_workspace_activation_api_v1_workspaces_workspace_id_activation_get_serialize( + def _workspace_activation_get_workspace_activation_serialize( self, workspace_id, _request_auth, diff --git a/src/otari/_client/api/workspace_code_execution_policy_api.py b/src/otari/_client/api/workspace_code_execution_policy_api.py index 09dc6a74..935a62da 100644 --- a/src/otari/_client/api/workspace_code_execution_policy_api.py +++ b/src/otari/_client/api/workspace_code_execution_policy_api.py @@ -38,7 +38,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_delete( + def workspace_code_execution_policy_clear_workspace_code_execution_policy( self, workspace_id: UUID, _request_timeout: Union[ @@ -82,7 +82,7 @@ def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_ex :return: Returns the result object. """ # noqa: E501 - _param = self._clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_delete_serialize( + _param = self._workspace_code_execution_policy_clear_workspace_code_execution_policy_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -106,7 +106,7 @@ def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_ex @validate_call - def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_delete_with_http_info( + def workspace_code_execution_policy_clear_workspace_code_execution_policy_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -150,7 +150,7 @@ def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_ex :return: Returns the result object. """ # noqa: E501 - _param = self._clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_delete_serialize( + _param = self._workspace_code_execution_policy_clear_workspace_code_execution_policy_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -174,7 +174,7 @@ def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_ex @validate_call - def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_delete_without_preload_content( + def workspace_code_execution_policy_clear_workspace_code_execution_policy_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -218,7 +218,7 @@ def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_ex :return: Returns the result object. """ # noqa: E501 - _param = self._clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_delete_serialize( + _param = self._workspace_code_execution_policy_clear_workspace_code_execution_policy_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -237,7 +237,7 @@ def clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_ex return response_data.response - def _clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_delete_serialize( + def _workspace_code_execution_policy_clear_workspace_code_execution_policy_serialize( self, workspace_id, _request_auth, @@ -303,7 +303,7 @@ def _clear_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_e @validate_call - def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_get( + def workspace_code_execution_policy_get_workspace_code_execution_policy( self, workspace_id: UUID, _request_timeout: Union[ @@ -347,7 +347,7 @@ def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_get_serialize( + _param = self._workspace_code_execution_policy_get_workspace_code_execution_policy_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -371,7 +371,7 @@ def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec @validate_call - def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_get_with_http_info( + def workspace_code_execution_policy_get_workspace_code_execution_policy_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -415,7 +415,7 @@ def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_get_serialize( + _param = self._workspace_code_execution_policy_get_workspace_code_execution_policy_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -439,7 +439,7 @@ def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec @validate_call - def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_get_without_preload_content( + def workspace_code_execution_policy_get_workspace_code_execution_policy_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -483,7 +483,7 @@ def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_get_serialize( + _param = self._workspace_code_execution_policy_get_workspace_code_execution_policy_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -502,7 +502,7 @@ def get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec return response_data.response - def _get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_get_serialize( + def _workspace_code_execution_policy_get_workspace_code_execution_policy_serialize( self, workspace_id, _request_auth, @@ -568,7 +568,7 @@ def _get_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exe @validate_call - def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_put( + def workspace_code_execution_policy_set_workspace_code_execution_policy( self, workspace_id: UUID, workspace_code_execution_policy_update: WorkspaceCodeExecutionPolicyUpdate, @@ -615,7 +615,7 @@ def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_put_serialize( + _param = self._workspace_code_execution_policy_set_workspace_code_execution_policy_serialize( workspace_id=workspace_id, workspace_code_execution_policy_update=workspace_code_execution_policy_update, _request_auth=_request_auth, @@ -640,7 +640,7 @@ def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec @validate_call - def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_put_with_http_info( + def workspace_code_execution_policy_set_workspace_code_execution_policy_with_http_info( self, workspace_id: UUID, workspace_code_execution_policy_update: WorkspaceCodeExecutionPolicyUpdate, @@ -687,7 +687,7 @@ def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_put_serialize( + _param = self._workspace_code_execution_policy_set_workspace_code_execution_policy_serialize( workspace_id=workspace_id, workspace_code_execution_policy_update=workspace_code_execution_policy_update, _request_auth=_request_auth, @@ -712,7 +712,7 @@ def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec @validate_call - def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_put_without_preload_content( + def workspace_code_execution_policy_set_workspace_code_execution_policy_without_preload_content( self, workspace_id: UUID, workspace_code_execution_policy_update: WorkspaceCodeExecutionPolicyUpdate, @@ -759,7 +759,7 @@ def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_put_serialize( + _param = self._workspace_code_execution_policy_set_workspace_code_execution_policy_serialize( workspace_id=workspace_id, workspace_code_execution_policy_update=workspace_code_execution_policy_update, _request_auth=_request_auth, @@ -779,7 +779,7 @@ def set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_exec return response_data.response - def _set_workspace_code_execution_policy_api_v1_workspaces_workspace_id_code_execution_policy_put_serialize( + def _workspace_code_execution_policy_set_workspace_code_execution_policy_serialize( self, workspace_id, workspace_code_execution_policy_update, diff --git a/src/otari/_client/api/workspace_member_budget_policies_api.py b/src/otari/_client/api/workspace_member_budget_policies_api.py index 0783b54c..72014385 100644 --- a/src/otari/_client/api/workspace_member_budget_policies_api.py +++ b/src/otari/_client/api/workspace_member_budget_policies_api.py @@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_post( + def workspace_member_budget_policies_create_workspace_budget_default( self, workspace_id: UUID, workspace_member_budget_policy_create: WorkspaceMemberBudgetPolicyCreate, @@ -91,7 +91,7 @@ def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_post_serialize( + _param = self._workspace_member_budget_policies_create_workspace_budget_default_serialize( workspace_id=workspace_id, workspace_member_budget_policy_create=workspace_member_budget_policy_create, _request_auth=_request_auth, @@ -116,7 +116,7 @@ def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget @validate_call - def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_post_with_http_info( + def workspace_member_budget_policies_create_workspace_budget_default_with_http_info( self, workspace_id: UUID, workspace_member_budget_policy_create: WorkspaceMemberBudgetPolicyCreate, @@ -163,7 +163,7 @@ def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_post_serialize( + _param = self._workspace_member_budget_policies_create_workspace_budget_default_serialize( workspace_id=workspace_id, workspace_member_budget_policy_create=workspace_member_budget_policy_create, _request_auth=_request_auth, @@ -188,7 +188,7 @@ def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget @validate_call - def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_post_without_preload_content( + def workspace_member_budget_policies_create_workspace_budget_default_without_preload_content( self, workspace_id: UUID, workspace_member_budget_policy_create: WorkspaceMemberBudgetPolicyCreate, @@ -235,7 +235,7 @@ def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_post_serialize( + _param = self._workspace_member_budget_policies_create_workspace_budget_default_serialize( workspace_id=workspace_id, workspace_member_budget_policy_create=workspace_member_budget_policy_create, _request_auth=_request_auth, @@ -255,7 +255,7 @@ def create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget return response_data.response - def _create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_post_serialize( + def _workspace_member_budget_policies_create_workspace_budget_default_serialize( self, workspace_id, workspace_member_budget_policy_create, @@ -337,7 +337,7 @@ def _create_workspace_budget_default_api_v1_workspaces_workspace_id_member_budge @validate_call - def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_delete( + def workspace_member_budget_policies_delete_workspace_budget_default( self, workspace_id: UUID, default_id: StrictStr, @@ -384,7 +384,7 @@ def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_delete_serialize( + _param = self._workspace_member_budget_policies_delete_workspace_budget_default_serialize( workspace_id=workspace_id, default_id=default_id, _request_auth=_request_auth, @@ -409,7 +409,7 @@ def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget @validate_call - def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_delete_with_http_info( + def workspace_member_budget_policies_delete_workspace_budget_default_with_http_info( self, workspace_id: UUID, default_id: StrictStr, @@ -456,7 +456,7 @@ def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_delete_serialize( + _param = self._workspace_member_budget_policies_delete_workspace_budget_default_serialize( workspace_id=workspace_id, default_id=default_id, _request_auth=_request_auth, @@ -481,7 +481,7 @@ def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget @validate_call - def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_delete_without_preload_content( + def workspace_member_budget_policies_delete_workspace_budget_default_without_preload_content( self, workspace_id: UUID, default_id: StrictStr, @@ -528,7 +528,7 @@ def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_delete_serialize( + _param = self._workspace_member_budget_policies_delete_workspace_budget_default_serialize( workspace_id=workspace_id, default_id=default_id, _request_auth=_request_auth, @@ -548,7 +548,7 @@ def delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget return response_data.response - def _delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_delete_serialize( + def _workspace_member_budget_policies_delete_workspace_budget_default_serialize( self, workspace_id, default_id, @@ -617,7 +617,7 @@ def _delete_workspace_budget_default_api_v1_workspaces_workspace_id_member_budge @validate_call - def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_policies_get( + def workspace_member_budget_policies_list_workspace_budget_defaults( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -667,7 +667,7 @@ def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_policies_get_serialize( + _param = self._workspace_member_budget_policies_list_workspace_budget_defaults_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -693,7 +693,7 @@ def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_ @validate_call - def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_policies_get_with_http_info( + def workspace_member_budget_policies_list_workspace_budget_defaults_with_http_info( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -743,7 +743,7 @@ def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_policies_get_serialize( + _param = self._workspace_member_budget_policies_list_workspace_budget_defaults_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -769,7 +769,7 @@ def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_ @validate_call - def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_policies_get_without_preload_content( + def workspace_member_budget_policies_list_workspace_budget_defaults_without_preload_content( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -819,7 +819,7 @@ def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_policies_get_serialize( + _param = self._workspace_member_budget_policies_list_workspace_budget_defaults_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -840,7 +840,7 @@ def list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_ return response_data.response - def _list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget_policies_get_serialize( + def _workspace_member_budget_policies_list_workspace_budget_defaults_serialize( self, workspace_id, skip, @@ -916,7 +916,7 @@ def _list_workspace_budget_defaults_api_v1_workspaces_workspace_id_member_budget @validate_call - def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_patch( + def workspace_member_budget_policies_update_workspace_budget_default( self, workspace_id: UUID, default_id: StrictStr, @@ -966,7 +966,7 @@ def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_patch_serialize( + _param = self._workspace_member_budget_policies_update_workspace_budget_default_serialize( workspace_id=workspace_id, default_id=default_id, workspace_member_budget_policy_update=workspace_member_budget_policy_update, @@ -992,7 +992,7 @@ def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget @validate_call - def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_patch_with_http_info( + def workspace_member_budget_policies_update_workspace_budget_default_with_http_info( self, workspace_id: UUID, default_id: StrictStr, @@ -1042,7 +1042,7 @@ def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_patch_serialize( + _param = self._workspace_member_budget_policies_update_workspace_budget_default_serialize( workspace_id=workspace_id, default_id=default_id, workspace_member_budget_policy_update=workspace_member_budget_policy_update, @@ -1068,7 +1068,7 @@ def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget @validate_call - def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_patch_without_preload_content( + def workspace_member_budget_policies_update_workspace_budget_default_without_preload_content( self, workspace_id: UUID, default_id: StrictStr, @@ -1118,7 +1118,7 @@ def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_patch_serialize( + _param = self._workspace_member_budget_policies_update_workspace_budget_default_serialize( workspace_id=workspace_id, default_id=default_id, workspace_member_budget_policy_update=workspace_member_budget_policy_update, @@ -1139,7 +1139,7 @@ def update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget return response_data.response - def _update_workspace_budget_default_api_v1_workspaces_workspace_id_member_budget_policies_default_id_patch_serialize( + def _workspace_member_budget_policies_update_workspace_budget_default_serialize( self, workspace_id, default_id, diff --git a/src/otari/_client/api/workspace_web_search_api.py b/src/otari/_client/api/workspace_web_search_api.py index 45d717a9..40e45b2d 100644 --- a/src/otari/_client/api/workspace_web_search_api.py +++ b/src/otari/_client/api/workspace_web_search_api.py @@ -38,7 +38,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_delete( + def workspace_web_search_clear_workspace_web_search_config( self, workspace_id: UUID, _request_timeout: Union[ @@ -82,7 +82,7 @@ def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ :return: Returns the result object. """ # noqa: E501 - _param = self._clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_delete_serialize( + _param = self._workspace_web_search_clear_workspace_web_search_config_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -106,7 +106,7 @@ def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ @validate_call - def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_delete_with_http_info( + def workspace_web_search_clear_workspace_web_search_config_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -150,7 +150,7 @@ def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ :return: Returns the result object. """ # noqa: E501 - _param = self._clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_delete_serialize( + _param = self._workspace_web_search_clear_workspace_web_search_config_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -174,7 +174,7 @@ def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ @validate_call - def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_delete_without_preload_content( + def workspace_web_search_clear_workspace_web_search_config_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -218,7 +218,7 @@ def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ :return: Returns the result object. """ # noqa: E501 - _param = self._clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_delete_serialize( + _param = self._workspace_web_search_clear_workspace_web_search_config_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -237,7 +237,7 @@ def clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ return response_data.response - def _clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_delete_serialize( + def _workspace_web_search_clear_workspace_web_search_config_serialize( self, workspace_id, _request_auth, @@ -303,7 +303,7 @@ def _clear_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search @validate_call - def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_get( + def workspace_web_search_get_workspace_web_search_config( self, workspace_id: UUID, _request_timeout: Union[ @@ -347,7 +347,7 @@ def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ge :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_get_serialize( + _param = self._workspace_web_search_get_workspace_web_search_config_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -371,7 +371,7 @@ def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ge @validate_call - def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_get_with_http_info( + def workspace_web_search_get_workspace_web_search_config_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -415,7 +415,7 @@ def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ge :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_get_serialize( + _param = self._workspace_web_search_get_workspace_web_search_config_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -439,7 +439,7 @@ def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ge @validate_call - def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_get_without_preload_content( + def workspace_web_search_get_workspace_web_search_config_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -483,7 +483,7 @@ def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ge :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_get_serialize( + _param = self._workspace_web_search_get_workspace_web_search_config_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -502,7 +502,7 @@ def get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_ge return response_data.response - def _get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_get_serialize( + def _workspace_web_search_get_workspace_web_search_config_serialize( self, workspace_id, _request_auth, @@ -568,7 +568,7 @@ def _get_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_g @validate_call - def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_put( + def workspace_web_search_set_workspace_web_search_config( self, workspace_id: UUID, workspace_web_search_config_update: WorkspaceWebSearchConfigUpdate, @@ -615,7 +615,7 @@ def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_pu :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_put_serialize( + _param = self._workspace_web_search_set_workspace_web_search_config_serialize( workspace_id=workspace_id, workspace_web_search_config_update=workspace_web_search_config_update, _request_auth=_request_auth, @@ -640,7 +640,7 @@ def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_pu @validate_call - def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_put_with_http_info( + def workspace_web_search_set_workspace_web_search_config_with_http_info( self, workspace_id: UUID, workspace_web_search_config_update: WorkspaceWebSearchConfigUpdate, @@ -687,7 +687,7 @@ def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_pu :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_put_serialize( + _param = self._workspace_web_search_set_workspace_web_search_config_serialize( workspace_id=workspace_id, workspace_web_search_config_update=workspace_web_search_config_update, _request_auth=_request_auth, @@ -712,7 +712,7 @@ def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_pu @validate_call - def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_put_without_preload_content( + def workspace_web_search_set_workspace_web_search_config_without_preload_content( self, workspace_id: UUID, workspace_web_search_config_update: WorkspaceWebSearchConfigUpdate, @@ -759,7 +759,7 @@ def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_pu :return: Returns the result object. """ # noqa: E501 - _param = self._set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_put_serialize( + _param = self._workspace_web_search_set_workspace_web_search_config_serialize( workspace_id=workspace_id, workspace_web_search_config_update=workspace_web_search_config_update, _request_auth=_request_auth, @@ -779,7 +779,7 @@ def set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_pu return response_data.response - def _set_workspace_web_search_config_api_v1_workspaces_workspace_id_web_search_put_serialize( + def _workspace_web_search_set_workspace_web_search_config_serialize( self, workspace_id, workspace_web_search_config_update, diff --git a/src/otari/_client/api/workspaces_api.py b/src/otari/_client/api/workspaces_api.py index a6cc2761..dc23a3b1 100644 --- a/src/otari/_client/api/workspaces_api.py +++ b/src/otari/_client/api/workspaces_api.py @@ -46,7 +46,7 @@ def __init__(self, api_client=None) -> None: @validate_call - def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post( + def workspaces_add_workspace_member( self, workspace_id: UUID, user_id: UUID, @@ -96,7 +96,7 @@ def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post( :return: Returns the result object. """ # noqa: E501 - _param = self._add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_serialize( + _param = self._workspaces_add_workspace_member_serialize( workspace_id=workspace_id, user_id=user_id, role=role, @@ -122,7 +122,7 @@ def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post( @validate_call - def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_with_http_info( + def workspaces_add_workspace_member_with_http_info( self, workspace_id: UUID, user_id: UUID, @@ -172,7 +172,7 @@ def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_wit :return: Returns the result object. """ # noqa: E501 - _param = self._add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_serialize( + _param = self._workspaces_add_workspace_member_serialize( workspace_id=workspace_id, user_id=user_id, role=role, @@ -198,7 +198,7 @@ def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_wit @validate_call - def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_without_preload_content( + def workspaces_add_workspace_member_without_preload_content( self, workspace_id: UUID, user_id: UUID, @@ -248,7 +248,7 @@ def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_wit :return: Returns the result object. """ # noqa: E501 - _param = self._add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_serialize( + _param = self._workspaces_add_workspace_member_serialize( workspace_id=workspace_id, user_id=user_id, role=role, @@ -269,7 +269,7 @@ def add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_wit return response_data.response - def _add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_serialize( + def _workspaces_add_workspace_member_serialize( self, workspace_id, user_id, @@ -343,7 +343,7 @@ def _add_workspace_member_api_v1_workspaces_workspace_id_members_user_id_post_se @validate_call - def create_workspace_api_v1_workspaces_post( + def workspaces_create_workspace( self, workspace_create: WorkspaceCreate, _request_timeout: Union[ @@ -387,7 +387,7 @@ def create_workspace_api_v1_workspaces_post( :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_api_v1_workspaces_post_serialize( + _param = self._workspaces_create_workspace_serialize( workspace_create=workspace_create, _request_auth=_request_auth, _content_type=_content_type, @@ -411,7 +411,7 @@ def create_workspace_api_v1_workspaces_post( @validate_call - def create_workspace_api_v1_workspaces_post_with_http_info( + def workspaces_create_workspace_with_http_info( self, workspace_create: WorkspaceCreate, _request_timeout: Union[ @@ -455,7 +455,7 @@ def create_workspace_api_v1_workspaces_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_api_v1_workspaces_post_serialize( + _param = self._workspaces_create_workspace_serialize( workspace_create=workspace_create, _request_auth=_request_auth, _content_type=_content_type, @@ -479,7 +479,7 @@ def create_workspace_api_v1_workspaces_post_with_http_info( @validate_call - def create_workspace_api_v1_workspaces_post_without_preload_content( + def workspaces_create_workspace_without_preload_content( self, workspace_create: WorkspaceCreate, _request_timeout: Union[ @@ -523,7 +523,7 @@ def create_workspace_api_v1_workspaces_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_workspace_api_v1_workspaces_post_serialize( + _param = self._workspaces_create_workspace_serialize( workspace_create=workspace_create, _request_auth=_request_auth, _content_type=_content_type, @@ -542,7 +542,7 @@ def create_workspace_api_v1_workspaces_post_without_preload_content( return response_data.response - def _create_workspace_api_v1_workspaces_post_serialize( + def _workspaces_create_workspace_serialize( self, workspace_create, _request_auth, @@ -621,7 +621,7 @@ def _create_workspace_api_v1_workspaces_post_serialize( @validate_call - def delete_workspace_api_v1_workspaces_workspace_id_delete( + def workspaces_delete_workspace( self, workspace_id: UUID, _request_timeout: Union[ @@ -665,7 +665,7 @@ def delete_workspace_api_v1_workspaces_workspace_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_api_v1_workspaces_workspace_id_delete_serialize( + _param = self._workspaces_delete_workspace_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -689,7 +689,7 @@ def delete_workspace_api_v1_workspaces_workspace_id_delete( @validate_call - def delete_workspace_api_v1_workspaces_workspace_id_delete_with_http_info( + def workspaces_delete_workspace_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -733,7 +733,7 @@ def delete_workspace_api_v1_workspaces_workspace_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_api_v1_workspaces_workspace_id_delete_serialize( + _param = self._workspaces_delete_workspace_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -757,7 +757,7 @@ def delete_workspace_api_v1_workspaces_workspace_id_delete_with_http_info( @validate_call - def delete_workspace_api_v1_workspaces_workspace_id_delete_without_preload_content( + def workspaces_delete_workspace_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -801,7 +801,7 @@ def delete_workspace_api_v1_workspaces_workspace_id_delete_without_preload_conte :return: Returns the result object. """ # noqa: E501 - _param = self._delete_workspace_api_v1_workspaces_workspace_id_delete_serialize( + _param = self._workspaces_delete_workspace_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -820,7 +820,7 @@ def delete_workspace_api_v1_workspaces_workspace_id_delete_without_preload_conte return response_data.response - def _delete_workspace_api_v1_workspaces_workspace_id_delete_serialize( + def _workspaces_delete_workspace_serialize( self, workspace_id, _request_auth, @@ -886,7 +886,7 @@ def _delete_workspace_api_v1_workspaces_workspace_id_delete_serialize( @validate_call - def get_workspace_api_v1_workspaces_workspace_id_get( + def workspaces_get_workspace( self, workspace_id: UUID, _request_timeout: Union[ @@ -930,7 +930,7 @@ def get_workspace_api_v1_workspaces_workspace_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_api_v1_workspaces_workspace_id_get_serialize( + _param = self._workspaces_get_workspace_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -954,7 +954,7 @@ def get_workspace_api_v1_workspaces_workspace_id_get( @validate_call - def get_workspace_api_v1_workspaces_workspace_id_get_with_http_info( + def workspaces_get_workspace_with_http_info( self, workspace_id: UUID, _request_timeout: Union[ @@ -998,7 +998,7 @@ def get_workspace_api_v1_workspaces_workspace_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_api_v1_workspaces_workspace_id_get_serialize( + _param = self._workspaces_get_workspace_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1022,7 +1022,7 @@ def get_workspace_api_v1_workspaces_workspace_id_get_with_http_info( @validate_call - def get_workspace_api_v1_workspaces_workspace_id_get_without_preload_content( + def workspaces_get_workspace_without_preload_content( self, workspace_id: UUID, _request_timeout: Union[ @@ -1066,7 +1066,7 @@ def get_workspace_api_v1_workspaces_workspace_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_workspace_api_v1_workspaces_workspace_id_get_serialize( + _param = self._workspaces_get_workspace_serialize( workspace_id=workspace_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1085,7 +1085,7 @@ def get_workspace_api_v1_workspaces_workspace_id_get_without_preload_content( return response_data.response - def _get_workspace_api_v1_workspaces_workspace_id_get_serialize( + def _workspaces_get_workspace_serialize( self, workspace_id, _request_auth, @@ -1151,7 +1151,7 @@ def _get_workspace_api_v1_workspaces_workspace_id_get_serialize( @validate_call - def list_workspace_members_api_v1_workspaces_workspace_id_members_get( + def workspaces_list_workspace_members( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -1201,7 +1201,7 @@ def list_workspace_members_api_v1_workspaces_workspace_id_members_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_members_api_v1_workspaces_workspace_id_members_get_serialize( + _param = self._workspaces_list_workspace_members_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -1227,7 +1227,7 @@ def list_workspace_members_api_v1_workspaces_workspace_id_members_get( @validate_call - def list_workspace_members_api_v1_workspaces_workspace_id_members_get_with_http_info( + def workspaces_list_workspace_members_with_http_info( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -1277,7 +1277,7 @@ def list_workspace_members_api_v1_workspaces_workspace_id_members_get_with_http_ :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_members_api_v1_workspaces_workspace_id_members_get_serialize( + _param = self._workspaces_list_workspace_members_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -1303,7 +1303,7 @@ def list_workspace_members_api_v1_workspaces_workspace_id_members_get_with_http_ @validate_call - def list_workspace_members_api_v1_workspaces_workspace_id_members_get_without_preload_content( + def workspaces_list_workspace_members_without_preload_content( self, workspace_id: UUID, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, @@ -1353,7 +1353,7 @@ def list_workspace_members_api_v1_workspaces_workspace_id_members_get_without_pr :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspace_members_api_v1_workspaces_workspace_id_members_get_serialize( + _param = self._workspaces_list_workspace_members_serialize( workspace_id=workspace_id, skip=skip, limit=limit, @@ -1374,7 +1374,7 @@ def list_workspace_members_api_v1_workspaces_workspace_id_members_get_without_pr return response_data.response - def _list_workspace_members_api_v1_workspaces_workspace_id_members_get_serialize( + def _workspaces_list_workspace_members_serialize( self, workspace_id, skip, @@ -1450,7 +1450,7 @@ def _list_workspace_members_api_v1_workspaces_workspace_id_members_get_serialize @validate_call - def list_workspaces_api_v1_workspaces_get( + def workspaces_list_workspaces( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1497,7 +1497,7 @@ def list_workspaces_api_v1_workspaces_get( :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspaces_api_v1_workspaces_get_serialize( + _param = self._workspaces_list_workspaces_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1522,7 +1522,7 @@ def list_workspaces_api_v1_workspaces_get( @validate_call - def list_workspaces_api_v1_workspaces_get_with_http_info( + def workspaces_list_workspaces_with_http_info( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1569,7 +1569,7 @@ def list_workspaces_api_v1_workspaces_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspaces_api_v1_workspaces_get_serialize( + _param = self._workspaces_list_workspaces_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1594,7 +1594,7 @@ def list_workspaces_api_v1_workspaces_get_with_http_info( @validate_call - def list_workspaces_api_v1_workspaces_get_without_preload_content( + def workspaces_list_workspaces_without_preload_content( self, skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None, limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None, @@ -1641,7 +1641,7 @@ def list_workspaces_api_v1_workspaces_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._list_workspaces_api_v1_workspaces_get_serialize( + _param = self._workspaces_list_workspaces_serialize( skip=skip, limit=limit, _request_auth=_request_auth, @@ -1661,7 +1661,7 @@ def list_workspaces_api_v1_workspaces_get_without_preload_content( return response_data.response - def _list_workspaces_api_v1_workspaces_get_serialize( + def _workspaces_list_workspaces_serialize( self, skip, limit, @@ -1734,7 +1734,7 @@ def _list_workspaces_api_v1_workspaces_get_serialize( @validate_call - def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delete( + def workspaces_remove_workspace_member( self, workspace_id: UUID, user_id: UUID, @@ -1781,7 +1781,7 @@ def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delet :return: Returns the result object. """ # noqa: E501 - _param = self._remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delete_serialize( + _param = self._workspaces_remove_workspace_member_serialize( workspace_id=workspace_id, user_id=user_id, _request_auth=_request_auth, @@ -1806,7 +1806,7 @@ def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delet @validate_call - def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delete_with_http_info( + def workspaces_remove_workspace_member_with_http_info( self, workspace_id: UUID, user_id: UUID, @@ -1853,7 +1853,7 @@ def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delet :return: Returns the result object. """ # noqa: E501 - _param = self._remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delete_serialize( + _param = self._workspaces_remove_workspace_member_serialize( workspace_id=workspace_id, user_id=user_id, _request_auth=_request_auth, @@ -1878,7 +1878,7 @@ def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delet @validate_call - def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delete_without_preload_content( + def workspaces_remove_workspace_member_without_preload_content( self, workspace_id: UUID, user_id: UUID, @@ -1925,7 +1925,7 @@ def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delet :return: Returns the result object. """ # noqa: E501 - _param = self._remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delete_serialize( + _param = self._workspaces_remove_workspace_member_serialize( workspace_id=workspace_id, user_id=user_id, _request_auth=_request_auth, @@ -1945,7 +1945,7 @@ def remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delet return response_data.response - def _remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_delete_serialize( + def _workspaces_remove_workspace_member_serialize( self, workspace_id, user_id, @@ -2014,7 +2014,7 @@ def _remove_workspace_member_api_v1_workspaces_workspace_id_members_user_id_dele @validate_call - def update_workspace_api_v1_workspaces_workspace_id_patch( + def workspaces_update_workspace( self, workspace_id: UUID, workspace_update: WorkspaceUpdate, @@ -2061,7 +2061,7 @@ def update_workspace_api_v1_workspaces_workspace_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_api_v1_workspaces_workspace_id_patch_serialize( + _param = self._workspaces_update_workspace_serialize( workspace_id=workspace_id, workspace_update=workspace_update, _request_auth=_request_auth, @@ -2086,7 +2086,7 @@ def update_workspace_api_v1_workspaces_workspace_id_patch( @validate_call - def update_workspace_api_v1_workspaces_workspace_id_patch_with_http_info( + def workspaces_update_workspace_with_http_info( self, workspace_id: UUID, workspace_update: WorkspaceUpdate, @@ -2133,7 +2133,7 @@ def update_workspace_api_v1_workspaces_workspace_id_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_api_v1_workspaces_workspace_id_patch_serialize( + _param = self._workspaces_update_workspace_serialize( workspace_id=workspace_id, workspace_update=workspace_update, _request_auth=_request_auth, @@ -2158,7 +2158,7 @@ def update_workspace_api_v1_workspaces_workspace_id_patch_with_http_info( @validate_call - def update_workspace_api_v1_workspaces_workspace_id_patch_without_preload_content( + def workspaces_update_workspace_without_preload_content( self, workspace_id: UUID, workspace_update: WorkspaceUpdate, @@ -2205,7 +2205,7 @@ def update_workspace_api_v1_workspaces_workspace_id_patch_without_preload_conten :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_api_v1_workspaces_workspace_id_patch_serialize( + _param = self._workspaces_update_workspace_serialize( workspace_id=workspace_id, workspace_update=workspace_update, _request_auth=_request_auth, @@ -2225,7 +2225,7 @@ def update_workspace_api_v1_workspaces_workspace_id_patch_without_preload_conten return response_data.response - def _update_workspace_api_v1_workspaces_workspace_id_patch_serialize( + def _workspaces_update_workspace_serialize( self, workspace_id, workspace_update, @@ -2307,7 +2307,7 @@ def _update_workspace_api_v1_workspaces_workspace_id_patch_serialize( @validate_call - def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_patch( + def workspaces_update_workspace_member_role( self, workspace_id: UUID, user_id: UUID, @@ -2357,7 +2357,7 @@ def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_ :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_patch_serialize( + _param = self._workspaces_update_workspace_member_role_serialize( workspace_id=workspace_id, user_id=user_id, role=role, @@ -2383,7 +2383,7 @@ def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_ @validate_call - def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_patch_with_http_info( + def workspaces_update_workspace_member_role_with_http_info( self, workspace_id: UUID, user_id: UUID, @@ -2433,7 +2433,7 @@ def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_ :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_patch_serialize( + _param = self._workspaces_update_workspace_member_role_serialize( workspace_id=workspace_id, user_id=user_id, role=role, @@ -2459,7 +2459,7 @@ def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_ @validate_call - def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_patch_without_preload_content( + def workspaces_update_workspace_member_role_without_preload_content( self, workspace_id: UUID, user_id: UUID, @@ -2509,7 +2509,7 @@ def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_ :return: Returns the result object. """ # noqa: E501 - _param = self._update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_patch_serialize( + _param = self._workspaces_update_workspace_member_role_serialize( workspace_id=workspace_id, user_id=user_id, role=role, @@ -2530,7 +2530,7 @@ def update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_ return response_data.response - def _update_workspace_member_role_api_v1_workspaces_workspace_id_members_user_id_patch_serialize( + def _workspaces_update_workspace_member_role_serialize( self, workspace_id, user_id, diff --git a/src/otari/_client/models/__init__.py b/src/otari/_client/models/__init__.py index 1473ddcf..47ec6633 100644 --- a/src/otari/_client/models/__init__.py +++ b/src/otari/_client/models/__init__.py @@ -149,7 +149,10 @@ from otari._client.models.external_ingest_result import ExternalIngestResult from otari._client.models.external_usage_event import ExternalUsageEvent from otari._client.models.gateway_settings import GatewaySettings +from otari._client.models.guardrail_catalog import GuardrailCatalog from otari._client.models.guardrail_config import GuardrailConfig +from otari._client.models.guardrail_parameter_spec import GuardrailParameterSpec +from otari._client.models.guardrail_profile_spec import GuardrailProfileSpec from otari._client.models.http_validation_error import HTTPValidationError from otari._client.models.img_image import IMGImage from otari._client.models.img_usage import IMGUsage diff --git a/src/otari/_client/models/guardrail_catalog.py b/src/otari/_client/models/guardrail_catalog.py new file mode 100644 index 00000000..ca821556 --- /dev/null +++ b/src/otari/_client/models/guardrail_catalog.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + otari + + Otari, an OpenAI-compatible LLM gateway with API key management + + The version of the OpenAPI document: 0.0.0-dev + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from otari._client.models.guardrail_profile_spec import GuardrailProfileSpec +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class GuardrailCatalog(BaseModel): + """ + The profiles a guardrail entry may name, or why they could not be listed. + """ # noqa: E501 + available: StrictBool = Field(description="Whether the guardrails service answered with its profiles") + profiles: Optional[List[GuardrailProfileSpec]] = None + reason: Optional[StrictStr] = Field(default=None, description="Why the catalog is unavailable, in terms a tenant can act on") + __properties: ClassVar[List[str]] = ["available", "profiles", "reason"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GuardrailCatalog from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in profiles (list) + _items = [] + if self.profiles: + for _item_profiles in self.profiles: + if _item_profiles: + _items.append(_item_profiles.to_dict()) + _dict['profiles'] = _items + # set to None if reason (nullable) is None + # and model_fields_set contains the field + if self.reason is None and "reason" in self.model_fields_set: + _dict['reason'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GuardrailCatalog from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "available": obj.get("available"), + "profiles": [GuardrailProfileSpec.from_dict(_item) for _item in obj["profiles"]] if obj.get("profiles") is not None else None, + "reason": obj.get("reason") + }) + return _obj + + diff --git a/src/otari/_client/models/guardrail_parameter_spec.py b/src/otari/_client/models/guardrail_parameter_spec.py new file mode 100644 index 00000000..e9f4f279 --- /dev/null +++ b/src/otari/_client/models/guardrail_parameter_spec.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + otari + + Otari, an OpenAI-compatible LLM gateway with API key management + + The version of the OpenAPI document: 0.0.0-dev + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class GuardrailParameterSpec(BaseModel): + """ + One ``validate_kwargs`` key a profile accepts, typed for a form control. + """ # noqa: E501 + choices: Optional[List[StrictStr]] = Field(default=None, description="Allowed values for an enum parameter") + default: Optional[Any] = None + description: Optional[StrictStr] = Field(default=None, description="One-line help text from the guardrail's docstring") + name: StrictStr = Field(description="The keyword argument's name, as it is sent in validate_kwargs") + required: StrictBool = Field(description="Whether a value must be supplied for the guardrail to run. Folds together the signature having no default and upstream's effectively-required flag, which covers a parameter that defaults to a value the guardrail then refuses to run without") + secret: Optional[StrictBool] = Field(default=False, description="Whether the value is a credential, so a form masks it and never echoes it back") + type: StrictStr = Field(description="Value shape, so a form can render the matching control") + __properties: ClassVar[List[str]] = ["choices", "default", "description", "name", "required", "secret", "type"] + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['string', 'integer', 'number', 'boolean', 'enum', 'json']): + raise ValueError("must be one of enum values ('string', 'integer', 'number', 'boolean', 'enum', 'json')") + return value + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GuardrailParameterSpec from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if choices (nullable) is None + # and model_fields_set contains the field + if self.choices is None and "choices" in self.model_fields_set: + _dict['choices'] = None + + # set to None if default (nullable) is None + # and model_fields_set contains the field + if self.default is None and "default" in self.model_fields_set: + _dict['default'] = None + + # set to None if description (nullable) is None + # and model_fields_set contains the field + if self.description is None and "description" in self.model_fields_set: + _dict['description'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GuardrailParameterSpec from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "choices": obj.get("choices"), + "default": obj.get("default"), + "description": obj.get("description"), + "name": obj.get("name"), + "required": obj.get("required"), + "secret": obj.get("secret") if obj.get("secret") is not None else False, + "type": obj.get("type") + }) + return _obj + + diff --git a/src/otari/_client/models/guardrail_profile_spec.py b/src/otari/_client/models/guardrail_profile_spec.py new file mode 100644 index 00000000..04a2e6a0 --- /dev/null +++ b/src/otari/_client/models/guardrail_profile_spec.py @@ -0,0 +1,109 @@ +# coding: utf-8 + +""" + otari + + Otari, an OpenAI-compatible LLM gateway with API key management + + The version of the OpenAPI document: 0.0.0-dev + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from otari._client.models.guardrail_parameter_spec import GuardrailParameterSpec +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class GuardrailProfileSpec(BaseModel): + """ + One profile the operator's guardrails service has built. + """ # noqa: E501 + guardrail: StrictStr = Field(description="The any-guardrail class the profile is built from") + model_id: Optional[StrictStr] = Field(default=None, description="The model the operator pinned, when they pinned one") + parameters: Optional[List[GuardrailParameterSpec]] = Field(default=None, description="The validate_kwargs this profile accepts") + parameters_known: StrictBool = Field(description="False when this gateway's any-guardrail is older than the service's and has no schema for that class. The profile is still selectable; only its typed fields are missing") + profile: StrictStr = Field(description="The name a guardrail entry puts in its profile field") + __properties: ClassVar[List[str]] = ["guardrail", "model_id", "parameters", "parameters_known", "profile"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GuardrailProfileSpec from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in parameters (list) + _items = [] + if self.parameters: + for _item_parameters in self.parameters: + if _item_parameters: + _items.append(_item_parameters.to_dict()) + _dict['parameters'] = _items + # set to None if model_id (nullable) is None + # and model_fields_set contains the field + if self.model_id is None and "model_id" in self.model_fields_set: + _dict['model_id'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GuardrailProfileSpec from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "guardrail": obj.get("guardrail"), + "model_id": obj.get("model_id"), + "parameters": [GuardrailParameterSpec.from_dict(_item) for _item in obj["parameters"]] if obj.get("parameters") is not None else None, + "parameters_known": obj.get("parameters_known"), + "profile": obj.get("profile") + }) + return _obj + + diff --git a/src/otari/_client/models/organization_guardrail_public.py b/src/otari/_client/models/organization_guardrail_public.py index d56fe3a9..fa43c386 100644 --- a/src/otari/_client/models/organization_guardrail_public.py +++ b/src/otari/_client/models/organization_guardrail_public.py @@ -26,7 +26,7 @@ class OrganizationGuardrailPublic(BaseModel): """ - The API-facing shape. Never carries the credential, only whether one is set. + The API-facing shape. Never carries the credential, nor a credential-shaped parameter. ``validate_kwargs`` is the second place a credential lives on this row, and the one with no column of its own: a guardrail class can take a vendor key as a parameter, so the form offers a box for it and whatever is typed there is stored as plain JSON. It is masked the way ``org_provider_keys.client_args`` is, by the *name* of the entry rather than by what the guardrail catalog says about it, so the mask still applies when the guardrails service is down and no catalog can be read. """ # noqa: E501 applies_to_all_workspaces: StrictBool created_at: StrictStr diff --git a/src/otari/_client/models/organization_guardrail_update.py b/src/otari/_client/models/organization_guardrail_update.py index a1ea31d7..b2199c5e 100644 --- a/src/otari/_client/models/organization_guardrail_update.py +++ b/src/otari/_client/models/organization_guardrail_update.py @@ -36,7 +36,7 @@ class OrganizationGuardrailUpdate(BaseModel): on_unavailable: Optional[StrictStr] = None profile: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=128)]] = None url: Optional[Annotated[str, Field(strict=True, max_length=2048)]] = None - validate_kwargs: Optional[Dict[str, Any]] = None + validate_kwargs: Optional[Dict[str, Any]] = Field(default=None, description="Provider-native request fields used as defaults (e.g. exa's 'type', searxng's 'engines').") workspace_ids: Optional[Annotated[List[UUID], Field(max_length=500)]] = None __properties: ClassVar[List[str]] = ["applies_to_all_workspaces", "credential", "enabled", "mode", "on_unavailable", "profile", "url", "validate_kwargs", "workspace_ids"]