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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sdk-endpoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 6 additions & 0 deletions src/otari/_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@
"ExternalIngestResult",
"ExternalUsageEvent",
"GatewaySettings",
"GuardrailCatalog",
"GuardrailConfig",
"GuardrailParameterSpec",
"GuardrailProfileSpec",
"HTTPValidationError",
"IMGImage",
"IMGUsage",
Expand Down Expand Up @@ -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
Expand Down
42 changes: 21 additions & 21 deletions src/otari/_client/api/admin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down
Loading
Loading