Skip to content

Commit f90283e

Browse files
otari-bot[bot]github-actions[bot]
authored andcommitted
chore: regenerate SDK client core from Otari OpenAPI spec
1 parent 784676d commit f90283e

639 files changed

Lines changed: 3007 additions & 653 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎sdk-endpoints.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ PUT /api/v1/auth/password # dashboard-only
151151
# the credential ones. An SDK authenticates as a key rather than as a person and
152152
# has no account page to render, so there is nothing here for one to wrap.
153153
PATCH /api/v1/auth/profile # dashboard-only
154+
# A signed-in person's message to the Otari team, sent from the top bar (the
155+
# account menu on a phone).
156+
# It is something a person writes, not something an integration calls.
157+
POST /api/v1/feedback # dashboard-only
154158
# Signup, email verification, and password reset (otari#650): claiming a
155159
# roster identity's dashboard login and recovering it, the same browser-only
156160
# credential flow PUT /api/v1/auth/password is. No SDK caller holds a password.
@@ -323,6 +327,7 @@ GET /api/v1/organizations/me/guardrails # operator surfa
323327
POST /api/v1/organizations/me/guardrails # operator surface
324328
PATCH /api/v1/organizations/me/guardrails/{guardrail_id} # operator surface
325329
DELETE /api/v1/organizations/me/guardrails/{guardrail_id} # operator surface
330+
POST /api/v1/organizations/me/guardrails/{guardrail_id}/test # operator surface
326331
# The definitions those mandates will point at: what a guardrail *is*, where the
327332
# mandate says where it runs. Excluded on the `/organizations/me` ground rather
328333
# than the operator one above, which is the same ground the provider-key form

‎src/otari/_client/__init__.py‎

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
Otari, an OpenAI-compatible LLM gateway with API key management
99
10-
The version of the OpenAPI document: 0.9.0
10+
The version of the OpenAPI document: 0.11.0
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
@@ -29,6 +29,7 @@
2929
"CatalogApi",
3030
"ChatApi",
3131
"EmbeddingsApi",
32+
"FeedbackApi",
3233
"FilesApi",
3334
"HealthApi",
3435
"HooksApi",
@@ -107,6 +108,9 @@
107108
"AliasResponse",
108109
"AllocationHealthResponse",
109110
"Annotations",
111+
"AnthropicFileDeleted",
112+
"AnthropicFileList",
113+
"AnthropicFileMetadata",
110114
"ApiKeyId",
111115
"AppliedEditsInner",
112116
"AudioContent",
@@ -179,6 +183,7 @@
179183
"CodeExecutor",
180184
"ConfigField",
181185
"ConfigSearchToolSchema",
186+
"Container",
182187
"Content",
183188
"Content1",
184189
"Content10",
@@ -236,6 +241,7 @@
236241
"ExternalIngestError",
237242
"ExternalIngestResult",
238243
"ExternalUsageEvent",
244+
"FeedbackSubmission",
239245
"GateResultResponse",
240246
"GatewaySettings",
241247
"GuardrailCatalog",
@@ -434,6 +440,9 @@
434440
"OAuthCallbackRequest",
435441
"OAuthSessionResponse",
436442
"OfferingUsage",
443+
"OpenAIFileDeleted",
444+
"OpenAIFileList",
445+
"OpenAIFileObject",
437446
"OrgProviderAvailableModelsPublic",
438447
"OrgProviderKeyCreateRequest",
439448
"OrgProviderKeyModelCreateRequest",
@@ -461,6 +470,8 @@
461470
"OrganizationGuardrailDefinitionUpdate",
462471
"OrganizationGuardrailDefinitionsPublic",
463472
"OrganizationGuardrailPublic",
473+
"OrganizationGuardrailTest",
474+
"OrganizationGuardrailTestResult",
464475
"OrganizationGuardrailUpdate",
465476
"OrganizationGuardrailsPublic",
466477
"OrganizationMembershipContextPublic",
@@ -532,6 +543,10 @@
532543
"ResetPasswordRequest",
533544
"Resource",
534545
"ResourceLink",
546+
"ResponseFilesCreateFile",
547+
"ResponseFilesDeleteFile",
548+
"ResponseFilesGetFile",
549+
"ResponseFilesListFiles",
535550
"ResponsesRequest",
536551
"RotateMasterKeyResponse",
537552
"RouterStatus",
@@ -656,6 +671,7 @@
656671
from otari._client.api.catalog_api import CatalogApi as CatalogApi
657672
from otari._client.api.chat_api import ChatApi as ChatApi
658673
from otari._client.api.embeddings_api import EmbeddingsApi as EmbeddingsApi
674+
from otari._client.api.feedback_api import FeedbackApi as FeedbackApi
659675
from otari._client.api.files_api import FilesApi as FilesApi
660676
from otari._client.api.health_api import HealthApi as HealthApi
661677
from otari._client.api.hooks_api import HooksApi as HooksApi
@@ -738,6 +754,9 @@
738754
from otari._client.models.alias_response import AliasResponse as AliasResponse
739755
from otari._client.models.allocation_health_response import AllocationHealthResponse as AllocationHealthResponse
740756
from otari._client.models.annotations import Annotations as Annotations
757+
from otari._client.models.anthropic_file_deleted import AnthropicFileDeleted as AnthropicFileDeleted
758+
from otari._client.models.anthropic_file_list import AnthropicFileList as AnthropicFileList
759+
from otari._client.models.anthropic_file_metadata import AnthropicFileMetadata as AnthropicFileMetadata
741760
from otari._client.models.api_key_id import ApiKeyId as ApiKeyId
742761
from otari._client.models.applied_edits_inner import AppliedEditsInner as AppliedEditsInner
743762
from otari._client.models.audio_content import AudioContent as AudioContent
@@ -810,6 +829,7 @@
810829
from otari._client.models.code_executor import CodeExecutor as CodeExecutor
811830
from otari._client.models.config_field import ConfigField as ConfigField
812831
from otari._client.models.config_search_tool_schema import ConfigSearchToolSchema as ConfigSearchToolSchema
832+
from otari._client.models.container import Container as Container
813833
from otari._client.models.content import Content as Content
814834
from otari._client.models.content1 import Content1 as Content1
815835
from otari._client.models.content10 import Content10 as Content10
@@ -867,6 +887,7 @@
867887
from otari._client.models.external_ingest_error import ExternalIngestError as ExternalIngestError
868888
from otari._client.models.external_ingest_result import ExternalIngestResult as ExternalIngestResult
869889
from otari._client.models.external_usage_event import ExternalUsageEvent as ExternalUsageEvent
890+
from otari._client.models.feedback_submission import FeedbackSubmission as FeedbackSubmission
870891
from otari._client.models.gate_result_response import GateResultResponse as GateResultResponse
871892
from otari._client.models.gateway_settings import GatewaySettings as GatewaySettings
872893
from otari._client.models.guardrail_catalog import GuardrailCatalog as GuardrailCatalog
@@ -1065,6 +1086,9 @@
10651086
from otari._client.models.o_auth_callback_request import OAuthCallbackRequest as OAuthCallbackRequest
10661087
from otari._client.models.o_auth_session_response import OAuthSessionResponse as OAuthSessionResponse
10671088
from otari._client.models.offering_usage import OfferingUsage as OfferingUsage
1089+
from otari._client.models.open_ai_file_deleted import OpenAIFileDeleted as OpenAIFileDeleted
1090+
from otari._client.models.open_ai_file_list import OpenAIFileList as OpenAIFileList
1091+
from otari._client.models.open_ai_file_object import OpenAIFileObject as OpenAIFileObject
10681092
from otari._client.models.org_provider_available_models_public import OrgProviderAvailableModelsPublic as OrgProviderAvailableModelsPublic
10691093
from otari._client.models.org_provider_key_create_request import OrgProviderKeyCreateRequest as OrgProviderKeyCreateRequest
10701094
from otari._client.models.org_provider_key_model_create_request import OrgProviderKeyModelCreateRequest as OrgProviderKeyModelCreateRequest
@@ -1092,6 +1116,8 @@
10921116
from otari._client.models.organization_guardrail_definition_update import OrganizationGuardrailDefinitionUpdate as OrganizationGuardrailDefinitionUpdate
10931117
from otari._client.models.organization_guardrail_definitions_public import OrganizationGuardrailDefinitionsPublic as OrganizationGuardrailDefinitionsPublic
10941118
from otari._client.models.organization_guardrail_public import OrganizationGuardrailPublic as OrganizationGuardrailPublic
1119+
from otari._client.models.organization_guardrail_test import OrganizationGuardrailTest as OrganizationGuardrailTest
1120+
from otari._client.models.organization_guardrail_test_result import OrganizationGuardrailTestResult as OrganizationGuardrailTestResult
10951121
from otari._client.models.organization_guardrail_update import OrganizationGuardrailUpdate as OrganizationGuardrailUpdate
10961122
from otari._client.models.organization_guardrails_public import OrganizationGuardrailsPublic as OrganizationGuardrailsPublic
10971123
from otari._client.models.organization_membership_context_public import OrganizationMembershipContextPublic as OrganizationMembershipContextPublic
@@ -1163,6 +1189,10 @@
11631189
from otari._client.models.reset_password_request import ResetPasswordRequest as ResetPasswordRequest
11641190
from otari._client.models.resource import Resource as Resource
11651191
from otari._client.models.resource_link import ResourceLink as ResourceLink
1192+
from otari._client.models.response_files_create_file import ResponseFilesCreateFile as ResponseFilesCreateFile
1193+
from otari._client.models.response_files_delete_file import ResponseFilesDeleteFile as ResponseFilesDeleteFile
1194+
from otari._client.models.response_files_get_file import ResponseFilesGetFile as ResponseFilesGetFile
1195+
from otari._client.models.response_files_list_files import ResponseFilesListFiles as ResponseFilesListFiles
11661196
from otari._client.models.responses_request import ResponsesRequest as ResponsesRequest
11671197
from otari._client.models.rotate_master_key_response import RotateMasterKeyResponse as RotateMasterKeyResponse
11681198
from otari._client.models.router_status import RouterStatus as RouterStatus

‎src/otari/_client/_spec_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__spec_version__ = "0.9.0"
1+
__spec_version__ = "0.11.0"

‎src/otari/_client/api/__init__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from otari._client.api.catalog_api import CatalogApi
1313
from otari._client.api.chat_api import ChatApi
1414
from otari._client.api.embeddings_api import EmbeddingsApi
15+
from otari._client.api.feedback_api import FeedbackApi
1516
from otari._client.api.files_api import FilesApi
1617
from otari._client.api.health_api import HealthApi
1718
from otari._client.api.hooks_api import HooksApi

‎src/otari/_client/api/admin_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Otari, an OpenAI-compatible LLM gateway with API key management
55
6-
The version of the OpenAPI document: 0.9.0
6+
The version of the OpenAPI document: 0.11.0
77
Generated by OpenAPI Generator (https://openapi-generator.tech)
88
99
Do not edit the class manually.

‎src/otari/_client/api/agent_telemetry_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Otari, an OpenAI-compatible LLM gateway with API key management
55
6-
The version of the OpenAPI document: 0.9.0
6+
The version of the OpenAPI document: 0.11.0
77
Generated by OpenAPI Generator (https://openapi-generator.tech)
88
99
Do not edit the class manually.

‎src/otari/_client/api/aliases_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Otari, an OpenAI-compatible LLM gateway with API key management
55
6-
The version of the OpenAPI document: 0.9.0
6+
The version of the OpenAPI document: 0.11.0
77
Generated by OpenAPI Generator (https://openapi-generator.tech)
88
99
Do not edit the class manually.

‎src/otari/_client/api/audio_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Otari, an OpenAI-compatible LLM gateway with API key management
55
6-
The version of the OpenAPI document: 0.9.0
6+
The version of the OpenAPI document: 0.11.0
77
Generated by OpenAPI Generator (https://openapi-generator.tech)
88
99
Do not edit the class manually.

‎src/otari/_client/api/auth_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Otari, an OpenAI-compatible LLM gateway with API key management
55
6-
The version of the OpenAPI document: 0.9.0
6+
The version of the OpenAPI document: 0.11.0
77
Generated by OpenAPI Generator (https://openapi-generator.tech)
88
99
Do not edit the class manually.

‎src/otari/_client/api/batches_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Otari, an OpenAI-compatible LLM gateway with API key management
55
6-
The version of the OpenAPI document: 0.9.0
6+
The version of the OpenAPI document: 0.11.0
77
Generated by OpenAPI Generator (https://openapi-generator.tech)
88
99
Do not edit the class manually.

0 commit comments

Comments
 (0)