@homeflare/distilled-litellm 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -12
- package/dist/services/a2a.js +1 -1
- package/dist/services/a2a_registration.js +1 -1
- package/dist/services/access_groups.d.ts +18 -0
- package/dist/services/access_groups.d.ts.map +1 -1
- package/dist/services/access_groups.js +15 -1
- package/dist/services/access_groups.js.map +1 -1
- package/dist/services/adaptive_router.js +1 -1
- package/dist/services/agents.d.ts +10 -0
- package/dist/services/agents.d.ts.map +1 -1
- package/dist/services/agents.js +10 -1
- package/dist/services/agents.js.map +1 -1
- package/dist/services/alerting.js +1 -1
- package/dist/services/anthropic_passthrough.js +1 -1
- package/dist/services/anthropic_skills.d.ts +7 -1
- package/dist/services/anthropic_skills.d.ts.map +1 -1
- package/dist/services/anthropic_skills.js +6 -2
- package/dist/services/anthropic_skills.js.map +1 -1
- package/dist/services/assistants.js +1 -1
- package/dist/services/audio.js +1 -1
- package/dist/services/audit_logging.d.ts +2 -0
- package/dist/services/audit_logging.d.ts.map +1 -1
- package/dist/services/audit_logging.js +2 -1
- package/dist/services/audit_logging.js.map +1 -1
- package/dist/services/auto_router.d.ts +162 -62
- package/dist/services/auto_router.d.ts.map +1 -1
- package/dist/services/auto_router.js +92 -31
- package/dist/services/auto_router.js.map +1 -1
- package/dist/services/batch.js +1 -1
- package/dist/services/beta_agents.js +1 -1
- package/dist/services/beta_mcp.js +1 -1
- package/dist/services/budget_management.d.ts +8 -3
- package/dist/services/budget_management.d.ts.map +1 -1
- package/dist/services/budget_management.js +7 -4
- package/dist/services/budget_management.js.map +1 -1
- package/dist/services/budget_spend_tracking.d.ts +24 -5
- package/dist/services/budget_spend_tracking.d.ts.map +1 -1
- package/dist/services/budget_spend_tracking.js +17 -4
- package/dist/services/budget_spend_tracking.js.map +1 -1
- package/dist/services/cache_settings.js +1 -1
- package/dist/services/caching.js +1 -1
- package/dist/services/chat_completions.js +1 -1
- package/dist/services/claude_code_marketplace.d.ts +11 -10
- package/dist/services/claude_code_marketplace.d.ts.map +1 -1
- package/dist/services/claude_code_marketplace.js +8 -6
- package/dist/services/claude_code_marketplace.js.map +1 -1
- package/dist/services/cloudzero.js +1 -1
- package/dist/services/completions.js +1 -1
- package/dist/services/compliance.js +1 -1
- package/dist/services/config_overrides.d.ts +5 -1
- package/dist/services/config_overrides.d.ts.map +1 -1
- package/dist/services/config_overrides.js +3 -1
- package/dist/services/config_overrides.js.map +1 -1
- package/dist/services/config_yaml.d.ts +120 -6
- package/dist/services/config_yaml.d.ts.map +1 -1
- package/dist/services/config_yaml.js +67 -1
- package/dist/services/config_yaml.js.map +1 -1
- package/dist/services/containers.d.ts +8 -2
- package/dist/services/containers.d.ts.map +1 -1
- package/dist/services/containers.js +13 -5
- package/dist/services/containers.js.map +1 -1
- package/dist/services/coordination_redis_settings.js +1 -1
- package/dist/services/cost_tracking.d.ts +91 -1
- package/dist/services/cost_tracking.d.ts.map +1 -1
- package/dist/services/cost_tracking.js +82 -2
- package/dist/services/cost_tracking.js.map +1 -1
- package/dist/services/credential_management.d.ts +16 -3
- package/dist/services/credential_management.d.ts.map +1 -1
- package/dist/services/credential_management.js +13 -4
- package/dist/services/credential_management.js.map +1 -1
- package/dist/services/customer_management.d.ts +25 -2
- package/dist/services/customer_management.d.ts.map +1 -1
- package/dist/services/customer_management.js +22 -3
- package/dist/services/customer_management.js.map +1 -1
- package/dist/services/email_management.js +1 -1
- package/dist/services/embeddings.js +1 -1
- package/dist/services/evals.js +1 -1
- package/dist/services/experimental.js +1 -1
- package/dist/services/fallback_management.js +1 -1
- package/dist/services/files.js +1 -1
- package/dist/services/fine_tuning.js +1 -1
- package/dist/services/gemini_agents.js +1 -1
- package/dist/services/google_genai_endpoints.js +1 -1
- package/dist/services/guardrails.d.ts +80 -7
- package/dist/services/guardrails.d.ts.map +1 -1
- package/dist/services/guardrails.js +37 -1
- package/dist/services/guardrails.js.map +1 -1
- package/dist/services/health.d.ts +2 -2
- package/dist/services/health.d.ts.map +1 -1
- package/dist/services/health.js +2 -2
- package/dist/services/health.js.map +1 -1
- package/dist/services/images.js +1 -1
- package/dist/services/index.d.ts +1 -15
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +1 -15
- package/dist/services/index.js.map +1 -1
- package/dist/services/internal_user_management.d.ts +227 -39
- package/dist/services/internal_user_management.d.ts.map +1 -1
- package/dist/services/internal_user_management.js +194 -37
- package/dist/services/internal_user_management.js.map +1 -1
- package/dist/services/invite_links.js +1 -1
- package/dist/services/jwt_mappings.d.ts +3 -0
- package/dist/services/jwt_mappings.d.ts.map +1 -1
- package/dist/services/jwt_mappings.js +4 -1
- package/dist/services/jwt_mappings.js.map +1 -1
- package/dist/services/key_management.d.ts +116 -50
- package/dist/services/key_management.d.ts.map +1 -1
- package/dist/services/key_management.js +95 -40
- package/dist/services/key_management.js.map +1 -1
- package/dist/services/langfuse_passthrough.js +1 -1
- package/dist/services/llm_passthrough.d.ts +1199 -0
- package/dist/services/llm_passthrough.d.ts.map +1 -0
- package/dist/services/llm_passthrough.js +2150 -0
- package/dist/services/llm_passthrough.js.map +1 -0
- package/dist/services/llm_utils.js +1 -1
- package/dist/services/logging_callbacks.js +1 -1
- package/dist/services/mcp_byok_oauth.d.ts +18 -11
- package/dist/services/mcp_byok_oauth.d.ts.map +1 -1
- package/dist/services/mcp_byok_oauth.js +27 -24
- package/dist/services/mcp_byok_oauth.js.map +1 -1
- package/dist/services/mcp_discoverable.d.ts +34 -0
- package/dist/services/mcp_discoverable.d.ts.map +1 -1
- package/dist/services/mcp_discoverable.js +51 -1
- package/dist/services/mcp_discoverable.js.map +1 -1
- package/dist/services/mcp_management.d.ts +90 -2
- package/dist/services/mcp_management.d.ts.map +1 -1
- package/dist/services/mcp_management.js +115 -3
- package/dist/services/mcp_management.js.map +1 -1
- package/dist/services/mcp_rest.d.ts +13 -0
- package/dist/services/mcp_rest.d.ts.map +1 -1
- package/dist/services/mcp_rest.js +10 -2
- package/dist/services/mcp_rest.js.map +1 -1
- package/dist/services/memory_management.d.ts +2 -0
- package/dist/services/memory_management.d.ts.map +1 -1
- package/dist/services/memory_management.js +2 -1
- package/dist/services/memory_management.js.map +1 -1
- package/dist/services/misc.d.ts +86 -1
- package/dist/services/misc.d.ts.map +1 -1
- package/dist/services/misc.js +126 -2
- package/dist/services/misc.js.map +1 -1
- package/dist/services/model_management.d.ts +310 -19
- package/dist/services/model_management.d.ts.map +1 -1
- package/dist/services/model_management.js +240 -7
- package/dist/services/model_management.js.map +1 -1
- package/dist/services/moderations.js +1 -1
- package/dist/services/ocr.js +1 -1
- package/dist/services/open_ai_pass_through.d.ts +35 -90
- package/dist/services/open_ai_pass_through.d.ts.map +1 -1
- package/dist/services/open_ai_pass_through.js +41 -139
- package/dist/services/open_ai_pass_through.js.map +1 -1
- package/dist/services/organization_management.d.ts +21 -1
- package/dist/services/organization_management.d.ts.map +1 -1
- package/dist/services/organization_management.js +20 -2
- package/dist/services/organization_management.js.map +1 -1
- package/dist/services/plugins.js +1 -1
- package/dist/services/policies.d.ts +2 -0
- package/dist/services/policies.d.ts.map +1 -1
- package/dist/services/policies.js +3 -1
- package/dist/services/policies.js.map +1 -1
- package/dist/services/policy_engine.d.ts +6 -0
- package/dist/services/policy_engine.d.ts.map +1 -1
- package/dist/services/policy_engine.js +4 -1
- package/dist/services/policy_engine.js.map +1 -1
- package/dist/services/project_management.d.ts +15 -0
- package/dist/services/project_management.d.ts.map +1 -1
- package/dist/services/project_management.js +14 -1
- package/dist/services/project_management.js.map +1 -1
- package/dist/services/prompts.js +1 -1
- package/dist/services/public.d.ts +124 -0
- package/dist/services/public.d.ts.map +1 -1
- package/dist/services/public.js +158 -1
- package/dist/services/public.js.map +1 -1
- package/dist/services/rag.js +1 -1
- package/dist/services/realtime.d.ts +4 -26
- package/dist/services/realtime.d.ts.map +1 -1
- package/dist/services/realtime.js +7 -57
- package/dist/services/realtime.js.map +1 -1
- package/dist/services/rerank.d.ts +72 -0
- package/dist/services/rerank.d.ts.map +1 -1
- package/dist/services/rerank.js +61 -4
- package/dist/services/rerank.js.map +1 -1
- package/dist/services/responses.d.ts +30 -0
- package/dist/services/responses.d.ts.map +1 -1
- package/dist/services/responses.js +59 -1
- package/dist/services/responses.js.map +1 -1
- package/dist/services/router_settings.js +1 -1
- package/dist/services/rust_control_plane.js +1 -1
- package/dist/services/scim.d.ts +41 -1
- package/dist/services/scim.d.ts.map +1 -1
- package/dist/services/scim.js +60 -2
- package/dist/services/scim.js.map +1 -1
- package/dist/services/search.js +1 -1
- package/dist/services/search_tools.js +1 -1
- package/dist/services/settings.d.ts +88 -0
- package/dist/services/settings.d.ts.map +1 -1
- package/dist/services/settings.js +113 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/services/sso_settings.d.ts +1 -1
- package/dist/services/sso_settings.d.ts.map +1 -1
- package/dist/services/sso_settings.js +1 -1
- package/dist/services/sso_settings.js.map +1 -1
- package/dist/services/tag_management.d.ts +7 -0
- package/dist/services/tag_management.d.ts.map +1 -1
- package/dist/services/tag_management.js +8 -1
- package/dist/services/tag_management.js.map +1 -1
- package/dist/services/team_management.d.ts +265 -17
- package/dist/services/team_management.d.ts.map +1 -1
- package/dist/services/team_management.js +247 -12
- package/dist/services/team_management.js.map +1 -1
- package/dist/services/tools.js +1 -1
- package/dist/services/ui_settings.js +1 -1
- package/dist/services/ui_theme_settings.js +1 -1
- package/dist/services/usage_ai.js +1 -1
- package/dist/services/vantage.js +1 -1
- package/dist/services/vector_store_management.js +1 -1
- package/dist/services/vector_stores.js +1 -1
- package/dist/services/videos.js +1 -1
- package/dist/services/web_socket.d.ts +0 -18
- package/dist/services/web_socket.d.ts.map +1 -1
- package/dist/services/web_socket.js +1 -33
- package/dist/services/web_socket.js.map +1 -1
- package/dist/services/workflow_management.js +1 -1
- package/package.json +1 -1
- package/src/services/a2a.ts +1 -1
- package/src/services/a2a_registration.ts +1 -1
- package/src/services/access_groups.ts +44 -1
- package/src/services/adaptive_router.ts +1 -1
- package/src/services/agents.ts +22 -1
- package/src/services/alerting.ts +1 -1
- package/src/services/anthropic_passthrough.ts +1 -1
- package/src/services/anthropic_skills.ts +12 -2
- package/src/services/assistants.ts +1 -1
- package/src/services/audio.ts +1 -1
- package/src/services/audit_logging.ts +4 -1
- package/src/services/auto_router.ts +303 -93
- package/src/services/batch.ts +1 -1
- package/src/services/beta_agents.ts +1 -1
- package/src/services/beta_mcp.ts +1 -1
- package/src/services/budget_management.ts +12 -4
- package/src/services/budget_spend_tracking.ts +38 -6
- package/src/services/cache_settings.ts +1 -1
- package/src/services/caching.ts +1 -1
- package/src/services/chat_completions.ts +1 -1
- package/src/services/claude_code_marketplace.ts +20 -14
- package/src/services/cloudzero.ts +1 -1
- package/src/services/completions.ts +1 -1
- package/src/services/compliance.ts +1 -1
- package/src/services/config_overrides.ts +8 -2
- package/src/services/config_yaml.ts +251 -6
- package/src/services/containers.ts +29 -11
- package/src/services/coordination_redis_settings.ts +1 -1
- package/src/services/cost_tracking.ts +198 -2
- package/src/services/credential_management.ts +25 -6
- package/src/services/customer_management.ts +49 -3
- package/src/services/email_management.ts +1 -1
- package/src/services/embeddings.ts +1 -1
- package/src/services/evals.ts +1 -1
- package/src/services/experimental.ts +1 -1
- package/src/services/fallback_management.ts +1 -1
- package/src/services/files.ts +1 -1
- package/src/services/fine_tuning.ts +1 -1
- package/src/services/gemini_agents.ts +1 -1
- package/src/services/google_genai_endpoints.ts +1 -1
- package/src/services/guardrails.ts +198 -8
- package/src/services/health.ts +3 -2
- package/src/services/images.ts +1 -1
- package/src/services/index.ts +1 -15
- package/src/services/internal_user_management.ts +565 -103
- package/src/services/invite_links.ts +1 -1
- package/src/services/jwt_mappings.ts +7 -1
- package/src/services/key_management.ts +257 -127
- package/src/services/langfuse_passthrough.ts +1 -1
- package/src/services/llm_passthrough.ts +4542 -0
- package/src/services/llm_utils.ts +1 -1
- package/src/services/logging_callbacks.ts +1 -1
- package/src/services/mcp_byok_oauth.ts +65 -45
- package/src/services/mcp_discoverable.ts +109 -1
- package/src/services/mcp_management.ts +258 -3
- package/src/services/mcp_rest.ts +30 -5
- package/src/services/memory_management.ts +4 -1
- package/src/services/misc.ts +269 -2
- package/src/services/model_management.ts +666 -21
- package/src/services/moderations.ts +1 -1
- package/src/services/ocr.ts +1 -1
- package/src/services/open_ai_pass_through.ts +81 -286
- package/src/services/organization_management.ts +44 -2
- package/src/services/plugins.ts +1 -1
- package/src/services/policies.ts +5 -1
- package/src/services/policy_engine.ts +10 -1
- package/src/services/project_management.ts +33 -1
- package/src/services/prompts.ts +1 -1
- package/src/services/public.ts +356 -1
- package/src/services/rag.ts +1 -1
- package/src/services/realtime.ts +11 -111
- package/src/services/rerank.ts +187 -7
- package/src/services/responses.ts +117 -1
- package/src/services/router_settings.ts +1 -1
- package/src/services/rust_control_plane.ts +1 -1
- package/src/services/scim.ts +134 -3
- package/src/services/search.ts +1 -1
- package/src/services/search_tools.ts +1 -1
- package/src/services/settings.ts +278 -1
- package/src/services/sso_settings.ts +2 -1
- package/src/services/tag_management.ts +15 -1
- package/src/services/team_management.ts +676 -37
- package/src/services/tools.ts +1 -1
- package/src/services/ui_settings.ts +1 -1
- package/src/services/ui_theme_settings.ts +1 -1
- package/src/services/usage_ai.ts +1 -1
- package/src/services/vantage.ts +1 -1
- package/src/services/vector_store_management.ts +1 -1
- package/src/services/vector_stores.ts +1 -1
- package/src/services/videos.ts +1 -1
- package/src/services/web_socket.ts +1 -61
- package/src/services/workflow_management.ts +1 -1
- package/dist/services/anthropic_pass_through.d.ts +0 -70
- package/dist/services/anthropic_pass_through.d.ts.map +0 -1
- package/dist/services/anthropic_pass_through.js +0 -114
- package/dist/services/anthropic_pass_through.js.map +0 -1
- package/dist/services/assembly_ai_eu_pass_through.d.ts +0 -70
- package/dist/services/assembly_ai_eu_pass_through.d.ts.map +0 -1
- package/dist/services/assembly_ai_eu_pass_through.js +0 -114
- package/dist/services/assembly_ai_eu_pass_through.js.map +0 -1
- package/dist/services/assembly_ai_pass_through.d.ts +0 -70
- package/dist/services/assembly_ai_pass_through.d.ts.map +0 -1
- package/dist/services/assembly_ai_pass_through.js +0 -114
- package/dist/services/assembly_ai_pass_through.js.map +0 -1
- package/dist/services/aws_comprehend_medical_pass_through.d.ts +0 -36
- package/dist/services/aws_comprehend_medical_pass_through.d.ts.map +0 -1
- package/dist/services/aws_comprehend_medical_pass_through.js +0 -56
- package/dist/services/aws_comprehend_medical_pass_through.js.map +0 -1
- package/dist/services/azure_ai_pass_through.d.ts +0 -70
- package/dist/services/azure_ai_pass_through.d.ts.map +0 -1
- package/dist/services/azure_ai_pass_through.js +0 -112
- package/dist/services/azure_ai_pass_through.js.map +0 -1
- package/dist/services/azure_pass_through.d.ts +0 -70
- package/dist/services/azure_pass_through.d.ts.map +0 -1
- package/dist/services/azure_pass_through.js +0 -107
- package/dist/services/azure_pass_through.js.map +0 -1
- package/dist/services/bedrock_pass_through.d.ts +0 -70
- package/dist/services/bedrock_pass_through.d.ts.map +0 -1
- package/dist/services/bedrock_pass_through.js +0 -114
- package/dist/services/bedrock_pass_through.js.map +0 -1
- package/dist/services/cohere_pass_through.d.ts +0 -70
- package/dist/services/cohere_pass_through.d.ts.map +0 -1
- package/dist/services/cohere_pass_through.js +0 -112
- package/dist/services/cohere_pass_through.js.map +0 -1
- package/dist/services/cursor_pass_through.d.ts +0 -70
- package/dist/services/cursor_pass_through.d.ts.map +0 -1
- package/dist/services/cursor_pass_through.js +0 -112
- package/dist/services/cursor_pass_through.js.map +0 -1
- package/dist/services/google_ai_studio_pass_through.d.ts +0 -70
- package/dist/services/google_ai_studio_pass_through.d.ts.map +0 -1
- package/dist/services/google_ai_studio_pass_through.js +0 -112
- package/dist/services/google_ai_studio_pass_through.js.map +0 -1
- package/dist/services/milvus_pass_through.d.ts +0 -70
- package/dist/services/milvus_pass_through.d.ts.map +0 -1
- package/dist/services/milvus_pass_through.js +0 -112
- package/dist/services/milvus_pass_through.js.map +0 -1
- package/dist/services/mistral_pass_through.d.ts +0 -70
- package/dist/services/mistral_pass_through.d.ts.map +0 -1
- package/dist/services/mistral_pass_through.js +0 -114
- package/dist/services/mistral_pass_through.js.map +0 -1
- package/dist/services/vertex_ai_pass_through.d.ts +0 -180
- package/dist/services/vertex_ai_pass_through.d.ts.map +0 -1
- package/dist/services/vertex_ai_pass_through.js +0 -334
- package/dist/services/vertex_ai_pass_through.js.map +0 -1
- package/dist/services/vllm_pass_through.d.ts +0 -70
- package/dist/services/vllm_pass_through.d.ts.map +0 -1
- package/dist/services/vllm_pass_through.js +0 -104
- package/dist/services/vllm_pass_through.js.map +0 -1
- package/dist/services/watsonx_pass_through.d.ts +0 -70
- package/dist/services/watsonx_pass_through.d.ts.map +0 -1
- package/dist/services/watsonx_pass_through.js +0 -114
- package/dist/services/watsonx_pass_through.js.map +0 -1
- package/src/services/anthropic_pass_through.ts +0 -233
- package/src/services/assembly_ai_eu_pass_through.ts +0 -237
- package/src/services/assembly_ai_pass_through.ts +0 -237
- package/src/services/aws_comprehend_medical_pass_through.ts +0 -109
- package/src/services/azure_ai_pass_through.ts +0 -231
- package/src/services/azure_pass_through.ts +0 -227
- package/src/services/bedrock_pass_through.ts +0 -229
- package/src/services/cohere_pass_through.ts +0 -227
- package/src/services/cursor_pass_through.ts +0 -227
- package/src/services/google_ai_studio_pass_through.ts +0 -227
- package/src/services/milvus_pass_through.ts +0 -227
- package/src/services/mistral_pass_through.ts +0 -229
- package/src/services/vertex_ai_pass_through.ts +0 -684
- package/src/services/vllm_pass_through.ts +0 -227
- package/src/services/watsonx_pass_through.ts +0 -229
|
@@ -0,0 +1,4542 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.103.0 — see README). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as C from "@distilled.cloud/core/category";
|
|
5
|
+
import * as T from "../traits.ts";
|
|
6
|
+
import {
|
|
7
|
+
LitellmProtocol,
|
|
8
|
+
type LitellmOpError,
|
|
9
|
+
type LitellmOpContext,
|
|
10
|
+
} from "../protocol.ts";
|
|
11
|
+
import * as Retry from "../retry.ts";
|
|
12
|
+
|
|
13
|
+
export type { LitellmOpError, LitellmOpContext };
|
|
14
|
+
|
|
15
|
+
export class UnprocessableEntity
|
|
16
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
|
+
/*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
|
|
18
|
+
code: S.Number,
|
|
19
|
+
message: S.String,
|
|
20
|
+
}).pipe(C.withBadRequestError),
|
|
21
|
+
[{ status: 422 }],
|
|
22
|
+
) {}
|
|
23
|
+
|
|
24
|
+
export interface CreateRealtimeClientSecretOpenaiV1RealtimeClientSecretsPostRequest {}
|
|
25
|
+
export const CreateRealtimeClientSecretOpenaiV1RealtimeClientSecretsPostRequest =
|
|
26
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
27
|
+
S.Struct({}).pipe(
|
|
28
|
+
T.Http({
|
|
29
|
+
method: "POST",
|
|
30
|
+
uri: "/openai/v1/realtime/client_secrets",
|
|
31
|
+
code: 200,
|
|
32
|
+
}),
|
|
33
|
+
),
|
|
34
|
+
).annotate({
|
|
35
|
+
identifier:
|
|
36
|
+
"CreateRealtimeClientSecretOpenaiV1RealtimeClientSecretsPostRequest",
|
|
37
|
+
}) as any as S.Schema<CreateRealtimeClientSecretOpenaiV1RealtimeClientSecretsPostRequest>;
|
|
38
|
+
|
|
39
|
+
export type RealtimeClientSecretResponseSessionMap = {
|
|
40
|
+
[key: string]: unknown | undefined;
|
|
41
|
+
};
|
|
42
|
+
export const RealtimeClientSecretResponseSessionMap = /*@__PURE__*/ S.Record(
|
|
43
|
+
S.String,
|
|
44
|
+
S.Unknown,
|
|
45
|
+
) as any as S.Schema<RealtimeClientSecretResponseSessionMap>;
|
|
46
|
+
|
|
47
|
+
/** Response from POST /v1/realtime/client_secrets. Both the top-level `value` and `session.client_secret.value` will contain the encrypted token instead of the raw ephemeral key. The `session` field is kept as a raw dict so unknown fields pass through. */
|
|
48
|
+
export interface RealtimeClientSecretResponse {
|
|
49
|
+
expires_at?: number | null;
|
|
50
|
+
session?: RealtimeClientSecretResponseSessionMap | null;
|
|
51
|
+
value: string;
|
|
52
|
+
}
|
|
53
|
+
export const RealtimeClientSecretResponse = /*@__PURE__*/ S.suspend(() =>
|
|
54
|
+
S.Struct({
|
|
55
|
+
expires_at: S.optional(S.NullOr(S.Number)),
|
|
56
|
+
session: S.optional(S.NullOr(RealtimeClientSecretResponseSessionMap)),
|
|
57
|
+
value: S.String,
|
|
58
|
+
}),
|
|
59
|
+
).annotate({
|
|
60
|
+
identifier: "RealtimeClientSecretResponse",
|
|
61
|
+
}) as any as S.Schema<RealtimeClientSecretResponse>;
|
|
62
|
+
|
|
63
|
+
export interface CreateRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPostRequest {}
|
|
64
|
+
export const CreateRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPostRequest =
|
|
65
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
66
|
+
S.Struct({}).pipe(
|
|
67
|
+
T.Http({
|
|
68
|
+
method: "POST",
|
|
69
|
+
uri: "/openai/v1/realtime/transcription_sessions",
|
|
70
|
+
code: 200,
|
|
71
|
+
}),
|
|
72
|
+
),
|
|
73
|
+
).annotate({
|
|
74
|
+
identifier:
|
|
75
|
+
"CreateRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPostRequest",
|
|
76
|
+
}) as any as S.Schema<CreateRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPostRequest>;
|
|
77
|
+
|
|
78
|
+
export type RealtimeTranscriptionSessionResponseClientSecretMap = {
|
|
79
|
+
[key: string]: unknown | undefined;
|
|
80
|
+
};
|
|
81
|
+
export const RealtimeTranscriptionSessionResponseClientSecretMap =
|
|
82
|
+
/*@__PURE__*/ S.Record(
|
|
83
|
+
S.String,
|
|
84
|
+
S.Unknown,
|
|
85
|
+
) as any as S.Schema<RealtimeTranscriptionSessionResponseClientSecretMap>;
|
|
86
|
+
|
|
87
|
+
/** Response from POST /v1/realtime/transcription_sessions. `client_secret.value` contains the encrypted token instead of the raw ephemeral key. Unknown fields pass through unchanged. */
|
|
88
|
+
export interface RealtimeTranscriptionSessionResponse {
|
|
89
|
+
client_secret?: RealtimeTranscriptionSessionResponseClientSecretMap | null;
|
|
90
|
+
}
|
|
91
|
+
export const RealtimeTranscriptionSessionResponse = /*@__PURE__*/ S.suspend(
|
|
92
|
+
() =>
|
|
93
|
+
S.Struct({
|
|
94
|
+
client_secret: S.optional(
|
|
95
|
+
S.NullOr(RealtimeTranscriptionSessionResponseClientSecretMap),
|
|
96
|
+
),
|
|
97
|
+
}),
|
|
98
|
+
).annotate({
|
|
99
|
+
identifier: "RealtimeTranscriptionSessionResponse",
|
|
100
|
+
}) as any as S.Schema<RealtimeTranscriptionSessionResponse>;
|
|
101
|
+
|
|
102
|
+
export interface DeleteAnthropicProxyRouteAnthropicEndpointRequest {
|
|
103
|
+
endpoint: string;
|
|
104
|
+
}
|
|
105
|
+
export const DeleteAnthropicProxyRouteAnthropicEndpointRequest =
|
|
106
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
107
|
+
S.Struct({
|
|
108
|
+
endpoint: S.String.pipe(T.Label()),
|
|
109
|
+
}).pipe(
|
|
110
|
+
T.Http({ method: "DELETE", uri: "/anthropic/{endpoint}", code: 200 }),
|
|
111
|
+
),
|
|
112
|
+
).annotate({
|
|
113
|
+
identifier: "DeleteAnthropicProxyRouteAnthropicEndpointRequest",
|
|
114
|
+
}) as any as S.Schema<DeleteAnthropicProxyRouteAnthropicEndpointRequest>;
|
|
115
|
+
|
|
116
|
+
export interface DeleteAnthropicProxyRouteAnthropicEndpointResponse {
|
|
117
|
+
body: unknown;
|
|
118
|
+
}
|
|
119
|
+
export const DeleteAnthropicProxyRouteAnthropicEndpointResponse =
|
|
120
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
121
|
+
S.Struct({
|
|
122
|
+
body: S.Unknown,
|
|
123
|
+
}),
|
|
124
|
+
).annotate({
|
|
125
|
+
identifier: "DeleteAnthropicProxyRouteAnthropicEndpointResponse",
|
|
126
|
+
}) as any as S.Schema<DeleteAnthropicProxyRouteAnthropicEndpointResponse>;
|
|
127
|
+
|
|
128
|
+
export interface DeleteAssemblyaiProxyRouteAssemblyaiEndpointRequest {
|
|
129
|
+
endpoint: string;
|
|
130
|
+
}
|
|
131
|
+
export const DeleteAssemblyaiProxyRouteAssemblyaiEndpointRequest =
|
|
132
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
133
|
+
S.Struct({
|
|
134
|
+
endpoint: S.String.pipe(T.Label()),
|
|
135
|
+
}).pipe(
|
|
136
|
+
T.Http({ method: "DELETE", uri: "/assemblyai/{endpoint}", code: 200 }),
|
|
137
|
+
),
|
|
138
|
+
).annotate({
|
|
139
|
+
identifier: "DeleteAssemblyaiProxyRouteAssemblyaiEndpointRequest",
|
|
140
|
+
}) as any as S.Schema<DeleteAssemblyaiProxyRouteAssemblyaiEndpointRequest>;
|
|
141
|
+
|
|
142
|
+
export interface DeleteAssemblyaiProxyRouteAssemblyaiEndpointResponse {
|
|
143
|
+
body: unknown;
|
|
144
|
+
}
|
|
145
|
+
export const DeleteAssemblyaiProxyRouteAssemblyaiEndpointResponse =
|
|
146
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
147
|
+
S.Struct({
|
|
148
|
+
body: S.Unknown,
|
|
149
|
+
}),
|
|
150
|
+
).annotate({
|
|
151
|
+
identifier: "DeleteAssemblyaiProxyRouteAssemblyaiEndpointResponse",
|
|
152
|
+
}) as any as S.Schema<DeleteAssemblyaiProxyRouteAssemblyaiEndpointResponse>;
|
|
153
|
+
|
|
154
|
+
export interface DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointRequest {
|
|
155
|
+
endpoint: string;
|
|
156
|
+
}
|
|
157
|
+
export const DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointRequest =
|
|
158
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
159
|
+
S.Struct({
|
|
160
|
+
endpoint: S.String.pipe(T.Label()),
|
|
161
|
+
}).pipe(
|
|
162
|
+
T.Http({ method: "DELETE", uri: "/eu.assemblyai/{endpoint}", code: 200 }),
|
|
163
|
+
),
|
|
164
|
+
).annotate({
|
|
165
|
+
identifier: "DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointRequest",
|
|
166
|
+
}) as any as S.Schema<DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointRequest>;
|
|
167
|
+
|
|
168
|
+
export interface DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointResponse {
|
|
169
|
+
body: unknown;
|
|
170
|
+
}
|
|
171
|
+
export const DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointResponse =
|
|
172
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
173
|
+
S.Struct({
|
|
174
|
+
body: S.Unknown,
|
|
175
|
+
}),
|
|
176
|
+
).annotate({
|
|
177
|
+
identifier: "DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointResponse",
|
|
178
|
+
}) as any as S.Schema<DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointResponse>;
|
|
179
|
+
|
|
180
|
+
export interface DeleteAzureProxyRouteAzureAiEndpointRequest {
|
|
181
|
+
endpoint: string;
|
|
182
|
+
}
|
|
183
|
+
export const DeleteAzureProxyRouteAzureAiEndpointRequest =
|
|
184
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
185
|
+
S.Struct({
|
|
186
|
+
endpoint: S.String.pipe(T.Label()),
|
|
187
|
+
}).pipe(
|
|
188
|
+
T.Http({ method: "DELETE", uri: "/azure_ai/{endpoint}", code: 200 }),
|
|
189
|
+
),
|
|
190
|
+
).annotate({
|
|
191
|
+
identifier: "DeleteAzureProxyRouteAzureAiEndpointRequest",
|
|
192
|
+
}) as any as S.Schema<DeleteAzureProxyRouteAzureAiEndpointRequest>;
|
|
193
|
+
|
|
194
|
+
export interface DeleteAzureProxyRouteAzureAiEndpointResponse {
|
|
195
|
+
body: unknown;
|
|
196
|
+
}
|
|
197
|
+
export const DeleteAzureProxyRouteAzureAiEndpointResponse =
|
|
198
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
199
|
+
S.Struct({
|
|
200
|
+
body: S.Unknown,
|
|
201
|
+
}),
|
|
202
|
+
).annotate({
|
|
203
|
+
identifier: "DeleteAzureProxyRouteAzureAiEndpointResponse",
|
|
204
|
+
}) as any as S.Schema<DeleteAzureProxyRouteAzureAiEndpointResponse>;
|
|
205
|
+
|
|
206
|
+
export interface DeleteAzureProxyRouteAzureEndpointRequest {
|
|
207
|
+
endpoint: string;
|
|
208
|
+
}
|
|
209
|
+
export const DeleteAzureProxyRouteAzureEndpointRequest =
|
|
210
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
211
|
+
S.Struct({
|
|
212
|
+
endpoint: S.String.pipe(T.Label()),
|
|
213
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/azure/{endpoint}", code: 200 })),
|
|
214
|
+
).annotate({
|
|
215
|
+
identifier: "DeleteAzureProxyRouteAzureEndpointRequest",
|
|
216
|
+
}) as any as S.Schema<DeleteAzureProxyRouteAzureEndpointRequest>;
|
|
217
|
+
|
|
218
|
+
export interface DeleteAzureProxyRouteAzureEndpointResponse {
|
|
219
|
+
body: unknown;
|
|
220
|
+
}
|
|
221
|
+
export const DeleteAzureProxyRouteAzureEndpointResponse =
|
|
222
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
223
|
+
S.Struct({
|
|
224
|
+
body: S.Unknown,
|
|
225
|
+
}),
|
|
226
|
+
).annotate({
|
|
227
|
+
identifier: "DeleteAzureProxyRouteAzureEndpointResponse",
|
|
228
|
+
}) as any as S.Schema<DeleteAzureProxyRouteAzureEndpointResponse>;
|
|
229
|
+
|
|
230
|
+
export interface DeleteAzureSpeechProxyRouteAzureSpeechEndpointRequest {
|
|
231
|
+
endpoint: string;
|
|
232
|
+
}
|
|
233
|
+
export const DeleteAzureSpeechProxyRouteAzureSpeechEndpointRequest =
|
|
234
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
235
|
+
S.Struct({
|
|
236
|
+
endpoint: S.String.pipe(T.Label()),
|
|
237
|
+
}).pipe(
|
|
238
|
+
T.Http({ method: "DELETE", uri: "/azure_speech/{endpoint}", code: 200 }),
|
|
239
|
+
),
|
|
240
|
+
).annotate({
|
|
241
|
+
identifier: "DeleteAzureSpeechProxyRouteAzureSpeechEndpointRequest",
|
|
242
|
+
}) as any as S.Schema<DeleteAzureSpeechProxyRouteAzureSpeechEndpointRequest>;
|
|
243
|
+
|
|
244
|
+
export interface DeleteAzureSpeechProxyRouteAzureSpeechEndpointResponse {
|
|
245
|
+
body: unknown;
|
|
246
|
+
}
|
|
247
|
+
export const DeleteAzureSpeechProxyRouteAzureSpeechEndpointResponse =
|
|
248
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
249
|
+
S.Struct({
|
|
250
|
+
body: S.Unknown,
|
|
251
|
+
}),
|
|
252
|
+
).annotate({
|
|
253
|
+
identifier: "DeleteAzureSpeechProxyRouteAzureSpeechEndpointResponse",
|
|
254
|
+
}) as any as S.Schema<DeleteAzureSpeechProxyRouteAzureSpeechEndpointResponse>;
|
|
255
|
+
|
|
256
|
+
export interface DeleteBedrockProxyRouteBedrockEndpointRequest {
|
|
257
|
+
endpoint: string;
|
|
258
|
+
}
|
|
259
|
+
export const DeleteBedrockProxyRouteBedrockEndpointRequest =
|
|
260
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
261
|
+
S.Struct({
|
|
262
|
+
endpoint: S.String.pipe(T.Label()),
|
|
263
|
+
}).pipe(
|
|
264
|
+
T.Http({ method: "DELETE", uri: "/bedrock/{endpoint}", code: 200 }),
|
|
265
|
+
),
|
|
266
|
+
).annotate({
|
|
267
|
+
identifier: "DeleteBedrockProxyRouteBedrockEndpointRequest",
|
|
268
|
+
}) as any as S.Schema<DeleteBedrockProxyRouteBedrockEndpointRequest>;
|
|
269
|
+
|
|
270
|
+
export interface DeleteBedrockProxyRouteBedrockEndpointResponse {
|
|
271
|
+
body: unknown;
|
|
272
|
+
}
|
|
273
|
+
export const DeleteBedrockProxyRouteBedrockEndpointResponse =
|
|
274
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
275
|
+
S.Struct({
|
|
276
|
+
body: S.Unknown,
|
|
277
|
+
}),
|
|
278
|
+
).annotate({
|
|
279
|
+
identifier: "DeleteBedrockProxyRouteBedrockEndpointResponse",
|
|
280
|
+
}) as any as S.Schema<DeleteBedrockProxyRouteBedrockEndpointResponse>;
|
|
281
|
+
|
|
282
|
+
export interface DeleteCohereProxyRouteCohereEndpointRequest {
|
|
283
|
+
endpoint: string;
|
|
284
|
+
}
|
|
285
|
+
export const DeleteCohereProxyRouteCohereEndpointRequest =
|
|
286
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
287
|
+
S.Struct({
|
|
288
|
+
endpoint: S.String.pipe(T.Label()),
|
|
289
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/cohere/{endpoint}", code: 200 })),
|
|
290
|
+
).annotate({
|
|
291
|
+
identifier: "DeleteCohereProxyRouteCohereEndpointRequest",
|
|
292
|
+
}) as any as S.Schema<DeleteCohereProxyRouteCohereEndpointRequest>;
|
|
293
|
+
|
|
294
|
+
export interface DeleteCohereProxyRouteCohereEndpointResponse {
|
|
295
|
+
body: unknown;
|
|
296
|
+
}
|
|
297
|
+
export const DeleteCohereProxyRouteCohereEndpointResponse =
|
|
298
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
299
|
+
S.Struct({
|
|
300
|
+
body: S.Unknown,
|
|
301
|
+
}),
|
|
302
|
+
).annotate({
|
|
303
|
+
identifier: "DeleteCohereProxyRouteCohereEndpointResponse",
|
|
304
|
+
}) as any as S.Schema<DeleteCohereProxyRouteCohereEndpointResponse>;
|
|
305
|
+
|
|
306
|
+
export interface DeleteCursorProxyRouteCursorEndpointRequest {
|
|
307
|
+
endpoint: string;
|
|
308
|
+
}
|
|
309
|
+
export const DeleteCursorProxyRouteCursorEndpointRequest =
|
|
310
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
311
|
+
S.Struct({
|
|
312
|
+
endpoint: S.String.pipe(T.Label()),
|
|
313
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/cursor/{endpoint}", code: 200 })),
|
|
314
|
+
).annotate({
|
|
315
|
+
identifier: "DeleteCursorProxyRouteCursorEndpointRequest",
|
|
316
|
+
}) as any as S.Schema<DeleteCursorProxyRouteCursorEndpointRequest>;
|
|
317
|
+
|
|
318
|
+
export interface DeleteCursorProxyRouteCursorEndpointResponse {
|
|
319
|
+
body: unknown;
|
|
320
|
+
}
|
|
321
|
+
export const DeleteCursorProxyRouteCursorEndpointResponse =
|
|
322
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
323
|
+
S.Struct({
|
|
324
|
+
body: S.Unknown,
|
|
325
|
+
}),
|
|
326
|
+
).annotate({
|
|
327
|
+
identifier: "DeleteCursorProxyRouteCursorEndpointResponse",
|
|
328
|
+
}) as any as S.Schema<DeleteCursorProxyRouteCursorEndpointResponse>;
|
|
329
|
+
|
|
330
|
+
export interface DeleteGeminiProxyRouteGeminiEndpointRequest {
|
|
331
|
+
endpoint: string;
|
|
332
|
+
}
|
|
333
|
+
export const DeleteGeminiProxyRouteGeminiEndpointRequest =
|
|
334
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
335
|
+
S.Struct({
|
|
336
|
+
endpoint: S.String.pipe(T.Label()),
|
|
337
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/gemini/{endpoint}", code: 200 })),
|
|
338
|
+
).annotate({
|
|
339
|
+
identifier: "DeleteGeminiProxyRouteGeminiEndpointRequest",
|
|
340
|
+
}) as any as S.Schema<DeleteGeminiProxyRouteGeminiEndpointRequest>;
|
|
341
|
+
|
|
342
|
+
export interface DeleteGeminiProxyRouteGeminiEndpointResponse {
|
|
343
|
+
body: unknown;
|
|
344
|
+
}
|
|
345
|
+
export const DeleteGeminiProxyRouteGeminiEndpointResponse =
|
|
346
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
347
|
+
S.Struct({
|
|
348
|
+
body: S.Unknown,
|
|
349
|
+
}),
|
|
350
|
+
).annotate({
|
|
351
|
+
identifier: "DeleteGeminiProxyRouteGeminiEndpointResponse",
|
|
352
|
+
}) as any as S.Schema<DeleteGeminiProxyRouteGeminiEndpointResponse>;
|
|
353
|
+
|
|
354
|
+
export interface DeleteGigachatProxyRouteGigachatEndpointRequest {
|
|
355
|
+
endpoint: string;
|
|
356
|
+
}
|
|
357
|
+
export const DeleteGigachatProxyRouteGigachatEndpointRequest =
|
|
358
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
359
|
+
S.Struct({
|
|
360
|
+
endpoint: S.String.pipe(T.Label()),
|
|
361
|
+
}).pipe(
|
|
362
|
+
T.Http({ method: "DELETE", uri: "/gigachat/{endpoint}", code: 200 }),
|
|
363
|
+
),
|
|
364
|
+
).annotate({
|
|
365
|
+
identifier: "DeleteGigachatProxyRouteGigachatEndpointRequest",
|
|
366
|
+
}) as any as S.Schema<DeleteGigachatProxyRouteGigachatEndpointRequest>;
|
|
367
|
+
|
|
368
|
+
export interface DeleteGigachatProxyRouteGigachatEndpointResponse {
|
|
369
|
+
body: unknown;
|
|
370
|
+
}
|
|
371
|
+
export const DeleteGigachatProxyRouteGigachatEndpointResponse =
|
|
372
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
373
|
+
S.Struct({
|
|
374
|
+
body: S.Unknown,
|
|
375
|
+
}),
|
|
376
|
+
).annotate({
|
|
377
|
+
identifier: "DeleteGigachatProxyRouteGigachatEndpointResponse",
|
|
378
|
+
}) as any as S.Schema<DeleteGigachatProxyRouteGigachatEndpointResponse>;
|
|
379
|
+
|
|
380
|
+
export interface DeleteMilvusProxyRouteMilvusEndpointRequest {
|
|
381
|
+
endpoint: string;
|
|
382
|
+
}
|
|
383
|
+
export const DeleteMilvusProxyRouteMilvusEndpointRequest =
|
|
384
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
385
|
+
S.Struct({
|
|
386
|
+
endpoint: S.String.pipe(T.Label()),
|
|
387
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/milvus/{endpoint}", code: 200 })),
|
|
388
|
+
).annotate({
|
|
389
|
+
identifier: "DeleteMilvusProxyRouteMilvusEndpointRequest",
|
|
390
|
+
}) as any as S.Schema<DeleteMilvusProxyRouteMilvusEndpointRequest>;
|
|
391
|
+
|
|
392
|
+
export interface DeleteMilvusProxyRouteMilvusEndpointResponse {
|
|
393
|
+
body: unknown;
|
|
394
|
+
}
|
|
395
|
+
export const DeleteMilvusProxyRouteMilvusEndpointResponse =
|
|
396
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
397
|
+
S.Struct({
|
|
398
|
+
body: S.Unknown,
|
|
399
|
+
}),
|
|
400
|
+
).annotate({
|
|
401
|
+
identifier: "DeleteMilvusProxyRouteMilvusEndpointResponse",
|
|
402
|
+
}) as any as S.Schema<DeleteMilvusProxyRouteMilvusEndpointResponse>;
|
|
403
|
+
|
|
404
|
+
export interface DeleteMistralProxyRouteMistralEndpointRequest {
|
|
405
|
+
endpoint: string;
|
|
406
|
+
}
|
|
407
|
+
export const DeleteMistralProxyRouteMistralEndpointRequest =
|
|
408
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
409
|
+
S.Struct({
|
|
410
|
+
endpoint: S.String.pipe(T.Label()),
|
|
411
|
+
}).pipe(
|
|
412
|
+
T.Http({ method: "DELETE", uri: "/mistral/{endpoint}", code: 200 }),
|
|
413
|
+
),
|
|
414
|
+
).annotate({
|
|
415
|
+
identifier: "DeleteMistralProxyRouteMistralEndpointRequest",
|
|
416
|
+
}) as any as S.Schema<DeleteMistralProxyRouteMistralEndpointRequest>;
|
|
417
|
+
|
|
418
|
+
export interface DeleteMistralProxyRouteMistralEndpointResponse {
|
|
419
|
+
body: unknown;
|
|
420
|
+
}
|
|
421
|
+
export const DeleteMistralProxyRouteMistralEndpointResponse =
|
|
422
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
423
|
+
S.Struct({
|
|
424
|
+
body: S.Unknown,
|
|
425
|
+
}),
|
|
426
|
+
).annotate({
|
|
427
|
+
identifier: "DeleteMistralProxyRouteMistralEndpointResponse",
|
|
428
|
+
}) as any as S.Schema<DeleteMistralProxyRouteMistralEndpointResponse>;
|
|
429
|
+
|
|
430
|
+
export interface DeleteNvidiaNimProxyRouteNvidiaNimEndpointRequest {
|
|
431
|
+
endpoint: string;
|
|
432
|
+
}
|
|
433
|
+
export const DeleteNvidiaNimProxyRouteNvidiaNimEndpointRequest =
|
|
434
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
435
|
+
S.Struct({
|
|
436
|
+
endpoint: S.String.pipe(T.Label()),
|
|
437
|
+
}).pipe(
|
|
438
|
+
T.Http({ method: "DELETE", uri: "/nvidia_nim/{endpoint}", code: 200 }),
|
|
439
|
+
),
|
|
440
|
+
).annotate({
|
|
441
|
+
identifier: "DeleteNvidiaNimProxyRouteNvidiaNimEndpointRequest",
|
|
442
|
+
}) as any as S.Schema<DeleteNvidiaNimProxyRouteNvidiaNimEndpointRequest>;
|
|
443
|
+
|
|
444
|
+
export interface DeleteNvidiaNimProxyRouteNvidiaNimEndpointResponse {
|
|
445
|
+
body: unknown;
|
|
446
|
+
}
|
|
447
|
+
export const DeleteNvidiaNimProxyRouteNvidiaNimEndpointResponse =
|
|
448
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
449
|
+
S.Struct({
|
|
450
|
+
body: S.Unknown,
|
|
451
|
+
}),
|
|
452
|
+
).annotate({
|
|
453
|
+
identifier: "DeleteNvidiaNimProxyRouteNvidiaNimEndpointResponse",
|
|
454
|
+
}) as any as S.Schema<DeleteNvidiaNimProxyRouteNvidiaNimEndpointResponse>;
|
|
455
|
+
|
|
456
|
+
export interface DeleteOpenaiProxyRouteOpenaiEndpointRequest {
|
|
457
|
+
endpoint: string;
|
|
458
|
+
}
|
|
459
|
+
export const DeleteOpenaiProxyRouteOpenaiEndpointRequest =
|
|
460
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
461
|
+
S.Struct({
|
|
462
|
+
endpoint: S.String.pipe(T.Label()),
|
|
463
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/openai/{endpoint}", code: 200 })),
|
|
464
|
+
).annotate({
|
|
465
|
+
identifier: "DeleteOpenaiProxyRouteOpenaiEndpointRequest",
|
|
466
|
+
}) as any as S.Schema<DeleteOpenaiProxyRouteOpenaiEndpointRequest>;
|
|
467
|
+
|
|
468
|
+
export interface DeleteOpenaiProxyRouteOpenaiEndpointResponse {
|
|
469
|
+
body: unknown;
|
|
470
|
+
}
|
|
471
|
+
export const DeleteOpenaiProxyRouteOpenaiEndpointResponse =
|
|
472
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
473
|
+
S.Struct({
|
|
474
|
+
body: S.Unknown,
|
|
475
|
+
}),
|
|
476
|
+
).annotate({
|
|
477
|
+
identifier: "DeleteOpenaiProxyRouteOpenaiEndpointResponse",
|
|
478
|
+
}) as any as S.Schema<DeleteOpenaiProxyRouteOpenaiEndpointResponse>;
|
|
479
|
+
|
|
480
|
+
export interface DeleteTypesafeProxyRouteTypesafeEndpointRequest {
|
|
481
|
+
endpoint: string;
|
|
482
|
+
}
|
|
483
|
+
export const DeleteTypesafeProxyRouteTypesafeEndpointRequest =
|
|
484
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
485
|
+
S.Struct({
|
|
486
|
+
endpoint: S.String.pipe(T.Label()),
|
|
487
|
+
}).pipe(
|
|
488
|
+
T.Http({ method: "DELETE", uri: "/typesafe/{endpoint}", code: 200 }),
|
|
489
|
+
),
|
|
490
|
+
).annotate({
|
|
491
|
+
identifier: "DeleteTypesafeProxyRouteTypesafeEndpointRequest",
|
|
492
|
+
}) as any as S.Schema<DeleteTypesafeProxyRouteTypesafeEndpointRequest>;
|
|
493
|
+
|
|
494
|
+
export interface DeleteTypesafeProxyRouteTypesafeEndpointResponse {
|
|
495
|
+
body: unknown;
|
|
496
|
+
}
|
|
497
|
+
export const DeleteTypesafeProxyRouteTypesafeEndpointResponse =
|
|
498
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
499
|
+
S.Struct({
|
|
500
|
+
body: S.Unknown,
|
|
501
|
+
}),
|
|
502
|
+
).annotate({
|
|
503
|
+
identifier: "DeleteTypesafeProxyRouteTypesafeEndpointResponse",
|
|
504
|
+
}) as any as S.Schema<DeleteTypesafeProxyRouteTypesafeEndpointResponse>;
|
|
505
|
+
|
|
506
|
+
export interface DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest {
|
|
507
|
+
endpoint: string;
|
|
508
|
+
}
|
|
509
|
+
export const DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest =
|
|
510
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
511
|
+
S.Struct({
|
|
512
|
+
endpoint: S.String.pipe(T.Label()),
|
|
513
|
+
}).pipe(
|
|
514
|
+
T.Http({
|
|
515
|
+
method: "DELETE",
|
|
516
|
+
uri: "/vertex_ai/discovery/{endpoint}",
|
|
517
|
+
code: 200,
|
|
518
|
+
}),
|
|
519
|
+
),
|
|
520
|
+
).annotate({
|
|
521
|
+
identifier:
|
|
522
|
+
"DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest",
|
|
523
|
+
}) as any as S.Schema<DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest>;
|
|
524
|
+
|
|
525
|
+
export interface DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse {
|
|
526
|
+
body: unknown;
|
|
527
|
+
}
|
|
528
|
+
export const DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse =
|
|
529
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
530
|
+
S.Struct({
|
|
531
|
+
body: S.Unknown,
|
|
532
|
+
}),
|
|
533
|
+
).annotate({
|
|
534
|
+
identifier:
|
|
535
|
+
"DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse",
|
|
536
|
+
}) as any as S.Schema<DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse>;
|
|
537
|
+
|
|
538
|
+
export interface DeleteVertexProxyRouteVertexAiEndpointRequest {
|
|
539
|
+
endpoint: string;
|
|
540
|
+
}
|
|
541
|
+
export const DeleteVertexProxyRouteVertexAiEndpointRequest =
|
|
542
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
543
|
+
S.Struct({
|
|
544
|
+
endpoint: S.String.pipe(T.Label()),
|
|
545
|
+
}).pipe(
|
|
546
|
+
T.Http({ method: "DELETE", uri: "/vertex_ai/{endpoint}", code: 200 }),
|
|
547
|
+
),
|
|
548
|
+
).annotate({
|
|
549
|
+
identifier: "DeleteVertexProxyRouteVertexAiEndpointRequest",
|
|
550
|
+
}) as any as S.Schema<DeleteVertexProxyRouteVertexAiEndpointRequest>;
|
|
551
|
+
|
|
552
|
+
export interface DeleteVertexProxyRouteVertexAiEndpointResponse {
|
|
553
|
+
body: unknown;
|
|
554
|
+
}
|
|
555
|
+
export const DeleteVertexProxyRouteVertexAiEndpointResponse =
|
|
556
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
557
|
+
S.Struct({
|
|
558
|
+
body: S.Unknown,
|
|
559
|
+
}),
|
|
560
|
+
).annotate({
|
|
561
|
+
identifier: "DeleteVertexProxyRouteVertexAiEndpointResponse",
|
|
562
|
+
}) as any as S.Schema<DeleteVertexProxyRouteVertexAiEndpointResponse>;
|
|
563
|
+
|
|
564
|
+
export interface DeleteVllmProxyRouteVllmEndpointRequest {
|
|
565
|
+
endpoint: string;
|
|
566
|
+
}
|
|
567
|
+
export const DeleteVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
568
|
+
() =>
|
|
569
|
+
S.Struct({
|
|
570
|
+
endpoint: S.String.pipe(T.Label()),
|
|
571
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/vllm/{endpoint}", code: 200 })),
|
|
572
|
+
).annotate({
|
|
573
|
+
identifier: "DeleteVllmProxyRouteVllmEndpointRequest",
|
|
574
|
+
}) as any as S.Schema<DeleteVllmProxyRouteVllmEndpointRequest>;
|
|
575
|
+
|
|
576
|
+
export interface DeleteVllmProxyRouteVllmEndpointResponse {
|
|
577
|
+
body: unknown;
|
|
578
|
+
}
|
|
579
|
+
export const DeleteVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(
|
|
580
|
+
() =>
|
|
581
|
+
S.Struct({
|
|
582
|
+
body: S.Unknown,
|
|
583
|
+
}),
|
|
584
|
+
).annotate({
|
|
585
|
+
identifier: "DeleteVllmProxyRouteVllmEndpointResponse",
|
|
586
|
+
}) as any as S.Schema<DeleteVllmProxyRouteVllmEndpointResponse>;
|
|
587
|
+
|
|
588
|
+
export interface DeleteWatsonxProxyRouteWatsonxEndpointRequest {
|
|
589
|
+
endpoint: string;
|
|
590
|
+
}
|
|
591
|
+
export const DeleteWatsonxProxyRouteWatsonxEndpointRequest =
|
|
592
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
593
|
+
S.Struct({
|
|
594
|
+
endpoint: S.String.pipe(T.Label()),
|
|
595
|
+
}).pipe(
|
|
596
|
+
T.Http({ method: "DELETE", uri: "/watsonx/{endpoint}", code: 200 }),
|
|
597
|
+
),
|
|
598
|
+
).annotate({
|
|
599
|
+
identifier: "DeleteWatsonxProxyRouteWatsonxEndpointRequest",
|
|
600
|
+
}) as any as S.Schema<DeleteWatsonxProxyRouteWatsonxEndpointRequest>;
|
|
601
|
+
|
|
602
|
+
export interface DeleteWatsonxProxyRouteWatsonxEndpointResponse {
|
|
603
|
+
body: unknown;
|
|
604
|
+
}
|
|
605
|
+
export const DeleteWatsonxProxyRouteWatsonxEndpointResponse =
|
|
606
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
607
|
+
S.Struct({
|
|
608
|
+
body: S.Unknown,
|
|
609
|
+
}),
|
|
610
|
+
).annotate({
|
|
611
|
+
identifier: "DeleteWatsonxProxyRouteWatsonxEndpointResponse",
|
|
612
|
+
}) as any as S.Schema<DeleteWatsonxProxyRouteWatsonxEndpointResponse>;
|
|
613
|
+
|
|
614
|
+
export interface GetAnthropicProxyRouteAnthropicEndpointRequest {
|
|
615
|
+
endpoint: string;
|
|
616
|
+
}
|
|
617
|
+
export const GetAnthropicProxyRouteAnthropicEndpointRequest =
|
|
618
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
619
|
+
S.Struct({
|
|
620
|
+
endpoint: S.String.pipe(T.Label()),
|
|
621
|
+
}).pipe(T.Http({ method: "GET", uri: "/anthropic/{endpoint}", code: 200 })),
|
|
622
|
+
).annotate({
|
|
623
|
+
identifier: "GetAnthropicProxyRouteAnthropicEndpointRequest",
|
|
624
|
+
}) as any as S.Schema<GetAnthropicProxyRouteAnthropicEndpointRequest>;
|
|
625
|
+
|
|
626
|
+
export interface GetAnthropicProxyRouteAnthropicEndpointResponse {
|
|
627
|
+
body: unknown;
|
|
628
|
+
}
|
|
629
|
+
export const GetAnthropicProxyRouteAnthropicEndpointResponse =
|
|
630
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
631
|
+
S.Struct({
|
|
632
|
+
body: S.Unknown,
|
|
633
|
+
}),
|
|
634
|
+
).annotate({
|
|
635
|
+
identifier: "GetAnthropicProxyRouteAnthropicEndpointResponse",
|
|
636
|
+
}) as any as S.Schema<GetAnthropicProxyRouteAnthropicEndpointResponse>;
|
|
637
|
+
|
|
638
|
+
export interface GetAssemblyaiProxyRouteAssemblyaiEndpointRequest {
|
|
639
|
+
endpoint: string;
|
|
640
|
+
}
|
|
641
|
+
export const GetAssemblyaiProxyRouteAssemblyaiEndpointRequest =
|
|
642
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
643
|
+
S.Struct({
|
|
644
|
+
endpoint: S.String.pipe(T.Label()),
|
|
645
|
+
}).pipe(
|
|
646
|
+
T.Http({ method: "GET", uri: "/assemblyai/{endpoint}", code: 200 }),
|
|
647
|
+
),
|
|
648
|
+
).annotate({
|
|
649
|
+
identifier: "GetAssemblyaiProxyRouteAssemblyaiEndpointRequest",
|
|
650
|
+
}) as any as S.Schema<GetAssemblyaiProxyRouteAssemblyaiEndpointRequest>;
|
|
651
|
+
|
|
652
|
+
export interface GetAssemblyaiProxyRouteAssemblyaiEndpointResponse {
|
|
653
|
+
body: unknown;
|
|
654
|
+
}
|
|
655
|
+
export const GetAssemblyaiProxyRouteAssemblyaiEndpointResponse =
|
|
656
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
657
|
+
S.Struct({
|
|
658
|
+
body: S.Unknown,
|
|
659
|
+
}),
|
|
660
|
+
).annotate({
|
|
661
|
+
identifier: "GetAssemblyaiProxyRouteAssemblyaiEndpointResponse",
|
|
662
|
+
}) as any as S.Schema<GetAssemblyaiProxyRouteAssemblyaiEndpointResponse>;
|
|
663
|
+
|
|
664
|
+
export interface GetAssemblyaiProxyRouteEuAssemblyaiEndpointRequest {
|
|
665
|
+
endpoint: string;
|
|
666
|
+
}
|
|
667
|
+
export const GetAssemblyaiProxyRouteEuAssemblyaiEndpointRequest =
|
|
668
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
669
|
+
S.Struct({
|
|
670
|
+
endpoint: S.String.pipe(T.Label()),
|
|
671
|
+
}).pipe(
|
|
672
|
+
T.Http({ method: "GET", uri: "/eu.assemblyai/{endpoint}", code: 200 }),
|
|
673
|
+
),
|
|
674
|
+
).annotate({
|
|
675
|
+
identifier: "GetAssemblyaiProxyRouteEuAssemblyaiEndpointRequest",
|
|
676
|
+
}) as any as S.Schema<GetAssemblyaiProxyRouteEuAssemblyaiEndpointRequest>;
|
|
677
|
+
|
|
678
|
+
export interface GetAssemblyaiProxyRouteEuAssemblyaiEndpointResponse {
|
|
679
|
+
body: unknown;
|
|
680
|
+
}
|
|
681
|
+
export const GetAssemblyaiProxyRouteEuAssemblyaiEndpointResponse =
|
|
682
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
683
|
+
S.Struct({
|
|
684
|
+
body: S.Unknown,
|
|
685
|
+
}),
|
|
686
|
+
).annotate({
|
|
687
|
+
identifier: "GetAssemblyaiProxyRouteEuAssemblyaiEndpointResponse",
|
|
688
|
+
}) as any as S.Schema<GetAssemblyaiProxyRouteEuAssemblyaiEndpointResponse>;
|
|
689
|
+
|
|
690
|
+
export interface GetAzureProxyRouteAzureAiEndpointRequest {
|
|
691
|
+
endpoint: string;
|
|
692
|
+
}
|
|
693
|
+
export const GetAzureProxyRouteAzureAiEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
694
|
+
() =>
|
|
695
|
+
S.Struct({
|
|
696
|
+
endpoint: S.String.pipe(T.Label()),
|
|
697
|
+
}).pipe(T.Http({ method: "GET", uri: "/azure_ai/{endpoint}", code: 200 })),
|
|
698
|
+
).annotate({
|
|
699
|
+
identifier: "GetAzureProxyRouteAzureAiEndpointRequest",
|
|
700
|
+
}) as any as S.Schema<GetAzureProxyRouteAzureAiEndpointRequest>;
|
|
701
|
+
|
|
702
|
+
export interface GetAzureProxyRouteAzureAiEndpointResponse {
|
|
703
|
+
body: unknown;
|
|
704
|
+
}
|
|
705
|
+
export const GetAzureProxyRouteAzureAiEndpointResponse =
|
|
706
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
707
|
+
S.Struct({
|
|
708
|
+
body: S.Unknown,
|
|
709
|
+
}),
|
|
710
|
+
).annotate({
|
|
711
|
+
identifier: "GetAzureProxyRouteAzureAiEndpointResponse",
|
|
712
|
+
}) as any as S.Schema<GetAzureProxyRouteAzureAiEndpointResponse>;
|
|
713
|
+
|
|
714
|
+
export interface GetAzureProxyRouteAzureEndpointRequest {
|
|
715
|
+
endpoint: string;
|
|
716
|
+
}
|
|
717
|
+
export const GetAzureProxyRouteAzureEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
718
|
+
() =>
|
|
719
|
+
S.Struct({
|
|
720
|
+
endpoint: S.String.pipe(T.Label()),
|
|
721
|
+
}).pipe(T.Http({ method: "GET", uri: "/azure/{endpoint}", code: 200 })),
|
|
722
|
+
).annotate({
|
|
723
|
+
identifier: "GetAzureProxyRouteAzureEndpointRequest",
|
|
724
|
+
}) as any as S.Schema<GetAzureProxyRouteAzureEndpointRequest>;
|
|
725
|
+
|
|
726
|
+
export interface GetAzureProxyRouteAzureEndpointResponse {
|
|
727
|
+
body: unknown;
|
|
728
|
+
}
|
|
729
|
+
export const GetAzureProxyRouteAzureEndpointResponse = /*@__PURE__*/ S.suspend(
|
|
730
|
+
() =>
|
|
731
|
+
S.Struct({
|
|
732
|
+
body: S.Unknown,
|
|
733
|
+
}),
|
|
734
|
+
).annotate({
|
|
735
|
+
identifier: "GetAzureProxyRouteAzureEndpointResponse",
|
|
736
|
+
}) as any as S.Schema<GetAzureProxyRouteAzureEndpointResponse>;
|
|
737
|
+
|
|
738
|
+
export interface GetAzureSpeechProxyRouteAzureSpeechEndpointRequest {
|
|
739
|
+
endpoint: string;
|
|
740
|
+
}
|
|
741
|
+
export const GetAzureSpeechProxyRouteAzureSpeechEndpointRequest =
|
|
742
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
743
|
+
S.Struct({
|
|
744
|
+
endpoint: S.String.pipe(T.Label()),
|
|
745
|
+
}).pipe(
|
|
746
|
+
T.Http({ method: "GET", uri: "/azure_speech/{endpoint}", code: 200 }),
|
|
747
|
+
),
|
|
748
|
+
).annotate({
|
|
749
|
+
identifier: "GetAzureSpeechProxyRouteAzureSpeechEndpointRequest",
|
|
750
|
+
}) as any as S.Schema<GetAzureSpeechProxyRouteAzureSpeechEndpointRequest>;
|
|
751
|
+
|
|
752
|
+
export interface GetAzureSpeechProxyRouteAzureSpeechEndpointResponse {
|
|
753
|
+
body: unknown;
|
|
754
|
+
}
|
|
755
|
+
export const GetAzureSpeechProxyRouteAzureSpeechEndpointResponse =
|
|
756
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
757
|
+
S.Struct({
|
|
758
|
+
body: S.Unknown,
|
|
759
|
+
}),
|
|
760
|
+
).annotate({
|
|
761
|
+
identifier: "GetAzureSpeechProxyRouteAzureSpeechEndpointResponse",
|
|
762
|
+
}) as any as S.Schema<GetAzureSpeechProxyRouteAzureSpeechEndpointResponse>;
|
|
763
|
+
|
|
764
|
+
export interface GetBedrockProxyRouteBedrockEndpointRequest {
|
|
765
|
+
endpoint: string;
|
|
766
|
+
}
|
|
767
|
+
export const GetBedrockProxyRouteBedrockEndpointRequest =
|
|
768
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
769
|
+
S.Struct({
|
|
770
|
+
endpoint: S.String.pipe(T.Label()),
|
|
771
|
+
}).pipe(T.Http({ method: "GET", uri: "/bedrock/{endpoint}", code: 200 })),
|
|
772
|
+
).annotate({
|
|
773
|
+
identifier: "GetBedrockProxyRouteBedrockEndpointRequest",
|
|
774
|
+
}) as any as S.Schema<GetBedrockProxyRouteBedrockEndpointRequest>;
|
|
775
|
+
|
|
776
|
+
export interface GetBedrockProxyRouteBedrockEndpointResponse {
|
|
777
|
+
body: unknown;
|
|
778
|
+
}
|
|
779
|
+
export const GetBedrockProxyRouteBedrockEndpointResponse =
|
|
780
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
781
|
+
S.Struct({
|
|
782
|
+
body: S.Unknown,
|
|
783
|
+
}),
|
|
784
|
+
).annotate({
|
|
785
|
+
identifier: "GetBedrockProxyRouteBedrockEndpointResponse",
|
|
786
|
+
}) as any as S.Schema<GetBedrockProxyRouteBedrockEndpointResponse>;
|
|
787
|
+
|
|
788
|
+
export interface GetCohereProxyRouteCohereEndpointRequest {
|
|
789
|
+
endpoint: string;
|
|
790
|
+
}
|
|
791
|
+
export const GetCohereProxyRouteCohereEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
792
|
+
() =>
|
|
793
|
+
S.Struct({
|
|
794
|
+
endpoint: S.String.pipe(T.Label()),
|
|
795
|
+
}).pipe(T.Http({ method: "GET", uri: "/cohere/{endpoint}", code: 200 })),
|
|
796
|
+
).annotate({
|
|
797
|
+
identifier: "GetCohereProxyRouteCohereEndpointRequest",
|
|
798
|
+
}) as any as S.Schema<GetCohereProxyRouteCohereEndpointRequest>;
|
|
799
|
+
|
|
800
|
+
export interface GetCohereProxyRouteCohereEndpointResponse {
|
|
801
|
+
body: unknown;
|
|
802
|
+
}
|
|
803
|
+
export const GetCohereProxyRouteCohereEndpointResponse =
|
|
804
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
805
|
+
S.Struct({
|
|
806
|
+
body: S.Unknown,
|
|
807
|
+
}),
|
|
808
|
+
).annotate({
|
|
809
|
+
identifier: "GetCohereProxyRouteCohereEndpointResponse",
|
|
810
|
+
}) as any as S.Schema<GetCohereProxyRouteCohereEndpointResponse>;
|
|
811
|
+
|
|
812
|
+
export interface GetCursorProxyRouteCursorEndpointRequest {
|
|
813
|
+
endpoint: string;
|
|
814
|
+
}
|
|
815
|
+
export const GetCursorProxyRouteCursorEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
816
|
+
() =>
|
|
817
|
+
S.Struct({
|
|
818
|
+
endpoint: S.String.pipe(T.Label()),
|
|
819
|
+
}).pipe(T.Http({ method: "GET", uri: "/cursor/{endpoint}", code: 200 })),
|
|
820
|
+
).annotate({
|
|
821
|
+
identifier: "GetCursorProxyRouteCursorEndpointRequest",
|
|
822
|
+
}) as any as S.Schema<GetCursorProxyRouteCursorEndpointRequest>;
|
|
823
|
+
|
|
824
|
+
export interface GetCursorProxyRouteCursorEndpointResponse {
|
|
825
|
+
body: unknown;
|
|
826
|
+
}
|
|
827
|
+
export const GetCursorProxyRouteCursorEndpointResponse =
|
|
828
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
829
|
+
S.Struct({
|
|
830
|
+
body: S.Unknown,
|
|
831
|
+
}),
|
|
832
|
+
).annotate({
|
|
833
|
+
identifier: "GetCursorProxyRouteCursorEndpointResponse",
|
|
834
|
+
}) as any as S.Schema<GetCursorProxyRouteCursorEndpointResponse>;
|
|
835
|
+
|
|
836
|
+
export interface GetGeminiProxyRouteGeminiEndpointRequest {
|
|
837
|
+
endpoint: string;
|
|
838
|
+
}
|
|
839
|
+
export const GetGeminiProxyRouteGeminiEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
840
|
+
() =>
|
|
841
|
+
S.Struct({
|
|
842
|
+
endpoint: S.String.pipe(T.Label()),
|
|
843
|
+
}).pipe(T.Http({ method: "GET", uri: "/gemini/{endpoint}", code: 200 })),
|
|
844
|
+
).annotate({
|
|
845
|
+
identifier: "GetGeminiProxyRouteGeminiEndpointRequest",
|
|
846
|
+
}) as any as S.Schema<GetGeminiProxyRouteGeminiEndpointRequest>;
|
|
847
|
+
|
|
848
|
+
export interface GetGeminiProxyRouteGeminiEndpointResponse {
|
|
849
|
+
body: unknown;
|
|
850
|
+
}
|
|
851
|
+
export const GetGeminiProxyRouteGeminiEndpointResponse =
|
|
852
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
853
|
+
S.Struct({
|
|
854
|
+
body: S.Unknown,
|
|
855
|
+
}),
|
|
856
|
+
).annotate({
|
|
857
|
+
identifier: "GetGeminiProxyRouteGeminiEndpointResponse",
|
|
858
|
+
}) as any as S.Schema<GetGeminiProxyRouteGeminiEndpointResponse>;
|
|
859
|
+
|
|
860
|
+
export interface GetGigachatProxyRouteGigachatEndpointRequest {
|
|
861
|
+
endpoint: string;
|
|
862
|
+
}
|
|
863
|
+
export const GetGigachatProxyRouteGigachatEndpointRequest =
|
|
864
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
865
|
+
S.Struct({
|
|
866
|
+
endpoint: S.String.pipe(T.Label()),
|
|
867
|
+
}).pipe(T.Http({ method: "GET", uri: "/gigachat/{endpoint}", code: 200 })),
|
|
868
|
+
).annotate({
|
|
869
|
+
identifier: "GetGigachatProxyRouteGigachatEndpointRequest",
|
|
870
|
+
}) as any as S.Schema<GetGigachatProxyRouteGigachatEndpointRequest>;
|
|
871
|
+
|
|
872
|
+
export interface GetGigachatProxyRouteGigachatEndpointResponse {
|
|
873
|
+
body: unknown;
|
|
874
|
+
}
|
|
875
|
+
export const GetGigachatProxyRouteGigachatEndpointResponse =
|
|
876
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
877
|
+
S.Struct({
|
|
878
|
+
body: S.Unknown,
|
|
879
|
+
}),
|
|
880
|
+
).annotate({
|
|
881
|
+
identifier: "GetGigachatProxyRouteGigachatEndpointResponse",
|
|
882
|
+
}) as any as S.Schema<GetGigachatProxyRouteGigachatEndpointResponse>;
|
|
883
|
+
|
|
884
|
+
export interface GetMilvusProxyRouteMilvusEndpointRequest {
|
|
885
|
+
endpoint: string;
|
|
886
|
+
}
|
|
887
|
+
export const GetMilvusProxyRouteMilvusEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
888
|
+
() =>
|
|
889
|
+
S.Struct({
|
|
890
|
+
endpoint: S.String.pipe(T.Label()),
|
|
891
|
+
}).pipe(T.Http({ method: "GET", uri: "/milvus/{endpoint}", code: 200 })),
|
|
892
|
+
).annotate({
|
|
893
|
+
identifier: "GetMilvusProxyRouteMilvusEndpointRequest",
|
|
894
|
+
}) as any as S.Schema<GetMilvusProxyRouteMilvusEndpointRequest>;
|
|
895
|
+
|
|
896
|
+
export interface GetMilvusProxyRouteMilvusEndpointResponse {
|
|
897
|
+
body: unknown;
|
|
898
|
+
}
|
|
899
|
+
export const GetMilvusProxyRouteMilvusEndpointResponse =
|
|
900
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
901
|
+
S.Struct({
|
|
902
|
+
body: S.Unknown,
|
|
903
|
+
}),
|
|
904
|
+
).annotate({
|
|
905
|
+
identifier: "GetMilvusProxyRouteMilvusEndpointResponse",
|
|
906
|
+
}) as any as S.Schema<GetMilvusProxyRouteMilvusEndpointResponse>;
|
|
907
|
+
|
|
908
|
+
export interface GetMistralProxyRouteMistralEndpointRequest {
|
|
909
|
+
endpoint: string;
|
|
910
|
+
}
|
|
911
|
+
export const GetMistralProxyRouteMistralEndpointRequest =
|
|
912
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
913
|
+
S.Struct({
|
|
914
|
+
endpoint: S.String.pipe(T.Label()),
|
|
915
|
+
}).pipe(T.Http({ method: "GET", uri: "/mistral/{endpoint}", code: 200 })),
|
|
916
|
+
).annotate({
|
|
917
|
+
identifier: "GetMistralProxyRouteMistralEndpointRequest",
|
|
918
|
+
}) as any as S.Schema<GetMistralProxyRouteMistralEndpointRequest>;
|
|
919
|
+
|
|
920
|
+
export interface GetMistralProxyRouteMistralEndpointResponse {
|
|
921
|
+
body: unknown;
|
|
922
|
+
}
|
|
923
|
+
export const GetMistralProxyRouteMistralEndpointResponse =
|
|
924
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
925
|
+
S.Struct({
|
|
926
|
+
body: S.Unknown,
|
|
927
|
+
}),
|
|
928
|
+
).annotate({
|
|
929
|
+
identifier: "GetMistralProxyRouteMistralEndpointResponse",
|
|
930
|
+
}) as any as S.Schema<GetMistralProxyRouteMistralEndpointResponse>;
|
|
931
|
+
|
|
932
|
+
export interface GetNvidiaNimProxyRouteNvidiaNimEndpointRequest {
|
|
933
|
+
endpoint: string;
|
|
934
|
+
}
|
|
935
|
+
export const GetNvidiaNimProxyRouteNvidiaNimEndpointRequest =
|
|
936
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
937
|
+
S.Struct({
|
|
938
|
+
endpoint: S.String.pipe(T.Label()),
|
|
939
|
+
}).pipe(
|
|
940
|
+
T.Http({ method: "GET", uri: "/nvidia_nim/{endpoint}", code: 200 }),
|
|
941
|
+
),
|
|
942
|
+
).annotate({
|
|
943
|
+
identifier: "GetNvidiaNimProxyRouteNvidiaNimEndpointRequest",
|
|
944
|
+
}) as any as S.Schema<GetNvidiaNimProxyRouteNvidiaNimEndpointRequest>;
|
|
945
|
+
|
|
946
|
+
export interface GetNvidiaNimProxyRouteNvidiaNimEndpointResponse {
|
|
947
|
+
body: unknown;
|
|
948
|
+
}
|
|
949
|
+
export const GetNvidiaNimProxyRouteNvidiaNimEndpointResponse =
|
|
950
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
951
|
+
S.Struct({
|
|
952
|
+
body: S.Unknown,
|
|
953
|
+
}),
|
|
954
|
+
).annotate({
|
|
955
|
+
identifier: "GetNvidiaNimProxyRouteNvidiaNimEndpointResponse",
|
|
956
|
+
}) as any as S.Schema<GetNvidiaNimProxyRouteNvidiaNimEndpointResponse>;
|
|
957
|
+
|
|
958
|
+
export interface GetOpenaiProxyRouteOpenaiEndpointRequest {
|
|
959
|
+
endpoint: string;
|
|
960
|
+
}
|
|
961
|
+
export const GetOpenaiProxyRouteOpenaiEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
962
|
+
() =>
|
|
963
|
+
S.Struct({
|
|
964
|
+
endpoint: S.String.pipe(T.Label()),
|
|
965
|
+
}).pipe(T.Http({ method: "GET", uri: "/openai/{endpoint}", code: 200 })),
|
|
966
|
+
).annotate({
|
|
967
|
+
identifier: "GetOpenaiProxyRouteOpenaiEndpointRequest",
|
|
968
|
+
}) as any as S.Schema<GetOpenaiProxyRouteOpenaiEndpointRequest>;
|
|
969
|
+
|
|
970
|
+
export interface GetOpenaiProxyRouteOpenaiEndpointResponse {
|
|
971
|
+
body: unknown;
|
|
972
|
+
}
|
|
973
|
+
export const GetOpenaiProxyRouteOpenaiEndpointResponse =
|
|
974
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
975
|
+
S.Struct({
|
|
976
|
+
body: S.Unknown,
|
|
977
|
+
}),
|
|
978
|
+
).annotate({
|
|
979
|
+
identifier: "GetOpenaiProxyRouteOpenaiEndpointResponse",
|
|
980
|
+
}) as any as S.Schema<GetOpenaiProxyRouteOpenaiEndpointResponse>;
|
|
981
|
+
|
|
982
|
+
export interface GetTypesafeProxyRouteTypesafeEndpointRequest {
|
|
983
|
+
endpoint: string;
|
|
984
|
+
}
|
|
985
|
+
export const GetTypesafeProxyRouteTypesafeEndpointRequest =
|
|
986
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
987
|
+
S.Struct({
|
|
988
|
+
endpoint: S.String.pipe(T.Label()),
|
|
989
|
+
}).pipe(T.Http({ method: "GET", uri: "/typesafe/{endpoint}", code: 200 })),
|
|
990
|
+
).annotate({
|
|
991
|
+
identifier: "GetTypesafeProxyRouteTypesafeEndpointRequest",
|
|
992
|
+
}) as any as S.Schema<GetTypesafeProxyRouteTypesafeEndpointRequest>;
|
|
993
|
+
|
|
994
|
+
export interface GetTypesafeProxyRouteTypesafeEndpointResponse {
|
|
995
|
+
body: unknown;
|
|
996
|
+
}
|
|
997
|
+
export const GetTypesafeProxyRouteTypesafeEndpointResponse =
|
|
998
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
999
|
+
S.Struct({
|
|
1000
|
+
body: S.Unknown,
|
|
1001
|
+
}),
|
|
1002
|
+
).annotate({
|
|
1003
|
+
identifier: "GetTypesafeProxyRouteTypesafeEndpointResponse",
|
|
1004
|
+
}) as any as S.Schema<GetTypesafeProxyRouteTypesafeEndpointResponse>;
|
|
1005
|
+
|
|
1006
|
+
export interface GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest {
|
|
1007
|
+
endpoint: string;
|
|
1008
|
+
}
|
|
1009
|
+
export const GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest =
|
|
1010
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1011
|
+
S.Struct({
|
|
1012
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1013
|
+
}).pipe(
|
|
1014
|
+
T.Http({
|
|
1015
|
+
method: "GET",
|
|
1016
|
+
uri: "/vertex_ai/discovery/{endpoint}",
|
|
1017
|
+
code: 200,
|
|
1018
|
+
}),
|
|
1019
|
+
),
|
|
1020
|
+
).annotate({
|
|
1021
|
+
identifier: "GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest",
|
|
1022
|
+
}) as any as S.Schema<GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest>;
|
|
1023
|
+
|
|
1024
|
+
export interface GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse {
|
|
1025
|
+
body: unknown;
|
|
1026
|
+
}
|
|
1027
|
+
export const GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse =
|
|
1028
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1029
|
+
S.Struct({
|
|
1030
|
+
body: S.Unknown,
|
|
1031
|
+
}),
|
|
1032
|
+
).annotate({
|
|
1033
|
+
identifier: "GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse",
|
|
1034
|
+
}) as any as S.Schema<GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse>;
|
|
1035
|
+
|
|
1036
|
+
export interface GetVertexProxyRouteVertexAiEndpointRequest {
|
|
1037
|
+
endpoint: string;
|
|
1038
|
+
}
|
|
1039
|
+
export const GetVertexProxyRouteVertexAiEndpointRequest =
|
|
1040
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1041
|
+
S.Struct({
|
|
1042
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1043
|
+
}).pipe(T.Http({ method: "GET", uri: "/vertex_ai/{endpoint}", code: 200 })),
|
|
1044
|
+
).annotate({
|
|
1045
|
+
identifier: "GetVertexProxyRouteVertexAiEndpointRequest",
|
|
1046
|
+
}) as any as S.Schema<GetVertexProxyRouteVertexAiEndpointRequest>;
|
|
1047
|
+
|
|
1048
|
+
export interface GetVertexProxyRouteVertexAiEndpointResponse {
|
|
1049
|
+
body: unknown;
|
|
1050
|
+
}
|
|
1051
|
+
export const GetVertexProxyRouteVertexAiEndpointResponse =
|
|
1052
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1053
|
+
S.Struct({
|
|
1054
|
+
body: S.Unknown,
|
|
1055
|
+
}),
|
|
1056
|
+
).annotate({
|
|
1057
|
+
identifier: "GetVertexProxyRouteVertexAiEndpointResponse",
|
|
1058
|
+
}) as any as S.Schema<GetVertexProxyRouteVertexAiEndpointResponse>;
|
|
1059
|
+
|
|
1060
|
+
export interface GetVllmProxyRouteVllmEndpointRequest {
|
|
1061
|
+
endpoint: string;
|
|
1062
|
+
}
|
|
1063
|
+
export const GetVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
1064
|
+
() =>
|
|
1065
|
+
S.Struct({
|
|
1066
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1067
|
+
}).pipe(T.Http({ method: "GET", uri: "/vllm/{endpoint}", code: 200 })),
|
|
1068
|
+
).annotate({
|
|
1069
|
+
identifier: "GetVllmProxyRouteVllmEndpointRequest",
|
|
1070
|
+
}) as any as S.Schema<GetVllmProxyRouteVllmEndpointRequest>;
|
|
1071
|
+
|
|
1072
|
+
export interface GetVllmProxyRouteVllmEndpointResponse {
|
|
1073
|
+
body: unknown;
|
|
1074
|
+
}
|
|
1075
|
+
export const GetVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(
|
|
1076
|
+
() =>
|
|
1077
|
+
S.Struct({
|
|
1078
|
+
body: S.Unknown,
|
|
1079
|
+
}),
|
|
1080
|
+
).annotate({
|
|
1081
|
+
identifier: "GetVllmProxyRouteVllmEndpointResponse",
|
|
1082
|
+
}) as any as S.Schema<GetVllmProxyRouteVllmEndpointResponse>;
|
|
1083
|
+
|
|
1084
|
+
export interface GetWatsonxProxyRouteWatsonxEndpointRequest {
|
|
1085
|
+
endpoint: string;
|
|
1086
|
+
}
|
|
1087
|
+
export const GetWatsonxProxyRouteWatsonxEndpointRequest =
|
|
1088
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1089
|
+
S.Struct({
|
|
1090
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1091
|
+
}).pipe(T.Http({ method: "GET", uri: "/watsonx/{endpoint}", code: 200 })),
|
|
1092
|
+
).annotate({
|
|
1093
|
+
identifier: "GetWatsonxProxyRouteWatsonxEndpointRequest",
|
|
1094
|
+
}) as any as S.Schema<GetWatsonxProxyRouteWatsonxEndpointRequest>;
|
|
1095
|
+
|
|
1096
|
+
export interface GetWatsonxProxyRouteWatsonxEndpointResponse {
|
|
1097
|
+
body: unknown;
|
|
1098
|
+
}
|
|
1099
|
+
export const GetWatsonxProxyRouteWatsonxEndpointResponse =
|
|
1100
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1101
|
+
S.Struct({
|
|
1102
|
+
body: S.Unknown,
|
|
1103
|
+
}),
|
|
1104
|
+
).annotate({
|
|
1105
|
+
identifier: "GetWatsonxProxyRouteWatsonxEndpointResponse",
|
|
1106
|
+
}) as any as S.Schema<GetWatsonxProxyRouteWatsonxEndpointResponse>;
|
|
1107
|
+
|
|
1108
|
+
export interface PatchAnthropicProxyRouteAnthropicEndpointRequest {
|
|
1109
|
+
endpoint: string;
|
|
1110
|
+
}
|
|
1111
|
+
export const PatchAnthropicProxyRouteAnthropicEndpointRequest =
|
|
1112
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1113
|
+
S.Struct({
|
|
1114
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1115
|
+
}).pipe(
|
|
1116
|
+
T.Http({ method: "PATCH", uri: "/anthropic/{endpoint}", code: 200 }),
|
|
1117
|
+
),
|
|
1118
|
+
).annotate({
|
|
1119
|
+
identifier: "PatchAnthropicProxyRouteAnthropicEndpointRequest",
|
|
1120
|
+
}) as any as S.Schema<PatchAnthropicProxyRouteAnthropicEndpointRequest>;
|
|
1121
|
+
|
|
1122
|
+
export interface PatchAnthropicProxyRouteAnthropicEndpointResponse {
|
|
1123
|
+
body: unknown;
|
|
1124
|
+
}
|
|
1125
|
+
export const PatchAnthropicProxyRouteAnthropicEndpointResponse =
|
|
1126
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1127
|
+
S.Struct({
|
|
1128
|
+
body: S.Unknown,
|
|
1129
|
+
}),
|
|
1130
|
+
).annotate({
|
|
1131
|
+
identifier: "PatchAnthropicProxyRouteAnthropicEndpointResponse",
|
|
1132
|
+
}) as any as S.Schema<PatchAnthropicProxyRouteAnthropicEndpointResponse>;
|
|
1133
|
+
|
|
1134
|
+
export interface PatchAssemblyaiProxyRouteAssemblyaiEndpointRequest {
|
|
1135
|
+
endpoint: string;
|
|
1136
|
+
}
|
|
1137
|
+
export const PatchAssemblyaiProxyRouteAssemblyaiEndpointRequest =
|
|
1138
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1139
|
+
S.Struct({
|
|
1140
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1141
|
+
}).pipe(
|
|
1142
|
+
T.Http({ method: "PATCH", uri: "/assemblyai/{endpoint}", code: 200 }),
|
|
1143
|
+
),
|
|
1144
|
+
).annotate({
|
|
1145
|
+
identifier: "PatchAssemblyaiProxyRouteAssemblyaiEndpointRequest",
|
|
1146
|
+
}) as any as S.Schema<PatchAssemblyaiProxyRouteAssemblyaiEndpointRequest>;
|
|
1147
|
+
|
|
1148
|
+
export interface PatchAssemblyaiProxyRouteAssemblyaiEndpointResponse {
|
|
1149
|
+
body: unknown;
|
|
1150
|
+
}
|
|
1151
|
+
export const PatchAssemblyaiProxyRouteAssemblyaiEndpointResponse =
|
|
1152
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1153
|
+
S.Struct({
|
|
1154
|
+
body: S.Unknown,
|
|
1155
|
+
}),
|
|
1156
|
+
).annotate({
|
|
1157
|
+
identifier: "PatchAssemblyaiProxyRouteAssemblyaiEndpointResponse",
|
|
1158
|
+
}) as any as S.Schema<PatchAssemblyaiProxyRouteAssemblyaiEndpointResponse>;
|
|
1159
|
+
|
|
1160
|
+
export interface PatchAssemblyaiProxyRouteEuAssemblyaiEndpointRequest {
|
|
1161
|
+
endpoint: string;
|
|
1162
|
+
}
|
|
1163
|
+
export const PatchAssemblyaiProxyRouteEuAssemblyaiEndpointRequest =
|
|
1164
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1165
|
+
S.Struct({
|
|
1166
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1167
|
+
}).pipe(
|
|
1168
|
+
T.Http({ method: "PATCH", uri: "/eu.assemblyai/{endpoint}", code: 200 }),
|
|
1169
|
+
),
|
|
1170
|
+
).annotate({
|
|
1171
|
+
identifier: "PatchAssemblyaiProxyRouteEuAssemblyaiEndpointRequest",
|
|
1172
|
+
}) as any as S.Schema<PatchAssemblyaiProxyRouteEuAssemblyaiEndpointRequest>;
|
|
1173
|
+
|
|
1174
|
+
export interface PatchAssemblyaiProxyRouteEuAssemblyaiEndpointResponse {
|
|
1175
|
+
body: unknown;
|
|
1176
|
+
}
|
|
1177
|
+
export const PatchAssemblyaiProxyRouteEuAssemblyaiEndpointResponse =
|
|
1178
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1179
|
+
S.Struct({
|
|
1180
|
+
body: S.Unknown,
|
|
1181
|
+
}),
|
|
1182
|
+
).annotate({
|
|
1183
|
+
identifier: "PatchAssemblyaiProxyRouteEuAssemblyaiEndpointResponse",
|
|
1184
|
+
}) as any as S.Schema<PatchAssemblyaiProxyRouteEuAssemblyaiEndpointResponse>;
|
|
1185
|
+
|
|
1186
|
+
export interface PatchAzureProxyRouteAzureAiEndpointRequest {
|
|
1187
|
+
endpoint: string;
|
|
1188
|
+
}
|
|
1189
|
+
export const PatchAzureProxyRouteAzureAiEndpointRequest =
|
|
1190
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1191
|
+
S.Struct({
|
|
1192
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1193
|
+
}).pipe(
|
|
1194
|
+
T.Http({ method: "PATCH", uri: "/azure_ai/{endpoint}", code: 200 }),
|
|
1195
|
+
),
|
|
1196
|
+
).annotate({
|
|
1197
|
+
identifier: "PatchAzureProxyRouteAzureAiEndpointRequest",
|
|
1198
|
+
}) as any as S.Schema<PatchAzureProxyRouteAzureAiEndpointRequest>;
|
|
1199
|
+
|
|
1200
|
+
export interface PatchAzureProxyRouteAzureAiEndpointResponse {
|
|
1201
|
+
body: unknown;
|
|
1202
|
+
}
|
|
1203
|
+
export const PatchAzureProxyRouteAzureAiEndpointResponse =
|
|
1204
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1205
|
+
S.Struct({
|
|
1206
|
+
body: S.Unknown,
|
|
1207
|
+
}),
|
|
1208
|
+
).annotate({
|
|
1209
|
+
identifier: "PatchAzureProxyRouteAzureAiEndpointResponse",
|
|
1210
|
+
}) as any as S.Schema<PatchAzureProxyRouteAzureAiEndpointResponse>;
|
|
1211
|
+
|
|
1212
|
+
export interface PatchAzureProxyRouteAzureEndpointRequest {
|
|
1213
|
+
endpoint: string;
|
|
1214
|
+
}
|
|
1215
|
+
export const PatchAzureProxyRouteAzureEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
1216
|
+
() =>
|
|
1217
|
+
S.Struct({
|
|
1218
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1219
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/azure/{endpoint}", code: 200 })),
|
|
1220
|
+
).annotate({
|
|
1221
|
+
identifier: "PatchAzureProxyRouteAzureEndpointRequest",
|
|
1222
|
+
}) as any as S.Schema<PatchAzureProxyRouteAzureEndpointRequest>;
|
|
1223
|
+
|
|
1224
|
+
export interface PatchAzureProxyRouteAzureEndpointResponse {
|
|
1225
|
+
body: unknown;
|
|
1226
|
+
}
|
|
1227
|
+
export const PatchAzureProxyRouteAzureEndpointResponse =
|
|
1228
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1229
|
+
S.Struct({
|
|
1230
|
+
body: S.Unknown,
|
|
1231
|
+
}),
|
|
1232
|
+
).annotate({
|
|
1233
|
+
identifier: "PatchAzureProxyRouteAzureEndpointResponse",
|
|
1234
|
+
}) as any as S.Schema<PatchAzureProxyRouteAzureEndpointResponse>;
|
|
1235
|
+
|
|
1236
|
+
export interface PatchAzureSpeechProxyRouteAzureSpeechEndpointRequest {
|
|
1237
|
+
endpoint: string;
|
|
1238
|
+
}
|
|
1239
|
+
export const PatchAzureSpeechProxyRouteAzureSpeechEndpointRequest =
|
|
1240
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1241
|
+
S.Struct({
|
|
1242
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1243
|
+
}).pipe(
|
|
1244
|
+
T.Http({ method: "PATCH", uri: "/azure_speech/{endpoint}", code: 200 }),
|
|
1245
|
+
),
|
|
1246
|
+
).annotate({
|
|
1247
|
+
identifier: "PatchAzureSpeechProxyRouteAzureSpeechEndpointRequest",
|
|
1248
|
+
}) as any as S.Schema<PatchAzureSpeechProxyRouteAzureSpeechEndpointRequest>;
|
|
1249
|
+
|
|
1250
|
+
export interface PatchAzureSpeechProxyRouteAzureSpeechEndpointResponse {
|
|
1251
|
+
body: unknown;
|
|
1252
|
+
}
|
|
1253
|
+
export const PatchAzureSpeechProxyRouteAzureSpeechEndpointResponse =
|
|
1254
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1255
|
+
S.Struct({
|
|
1256
|
+
body: S.Unknown,
|
|
1257
|
+
}),
|
|
1258
|
+
).annotate({
|
|
1259
|
+
identifier: "PatchAzureSpeechProxyRouteAzureSpeechEndpointResponse",
|
|
1260
|
+
}) as any as S.Schema<PatchAzureSpeechProxyRouteAzureSpeechEndpointResponse>;
|
|
1261
|
+
|
|
1262
|
+
export interface PatchBedrockProxyRouteBedrockEndpointRequest {
|
|
1263
|
+
endpoint: string;
|
|
1264
|
+
}
|
|
1265
|
+
export const PatchBedrockProxyRouteBedrockEndpointRequest =
|
|
1266
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1267
|
+
S.Struct({
|
|
1268
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1269
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/bedrock/{endpoint}", code: 200 })),
|
|
1270
|
+
).annotate({
|
|
1271
|
+
identifier: "PatchBedrockProxyRouteBedrockEndpointRequest",
|
|
1272
|
+
}) as any as S.Schema<PatchBedrockProxyRouteBedrockEndpointRequest>;
|
|
1273
|
+
|
|
1274
|
+
export interface PatchBedrockProxyRouteBedrockEndpointResponse {
|
|
1275
|
+
body: unknown;
|
|
1276
|
+
}
|
|
1277
|
+
export const PatchBedrockProxyRouteBedrockEndpointResponse =
|
|
1278
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1279
|
+
S.Struct({
|
|
1280
|
+
body: S.Unknown,
|
|
1281
|
+
}),
|
|
1282
|
+
).annotate({
|
|
1283
|
+
identifier: "PatchBedrockProxyRouteBedrockEndpointResponse",
|
|
1284
|
+
}) as any as S.Schema<PatchBedrockProxyRouteBedrockEndpointResponse>;
|
|
1285
|
+
|
|
1286
|
+
export interface PatchCohereProxyRouteCohereEndpointRequest {
|
|
1287
|
+
endpoint: string;
|
|
1288
|
+
}
|
|
1289
|
+
export const PatchCohereProxyRouteCohereEndpointRequest =
|
|
1290
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1291
|
+
S.Struct({
|
|
1292
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1293
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/cohere/{endpoint}", code: 200 })),
|
|
1294
|
+
).annotate({
|
|
1295
|
+
identifier: "PatchCohereProxyRouteCohereEndpointRequest",
|
|
1296
|
+
}) as any as S.Schema<PatchCohereProxyRouteCohereEndpointRequest>;
|
|
1297
|
+
|
|
1298
|
+
export interface PatchCohereProxyRouteCohereEndpointResponse {
|
|
1299
|
+
body: unknown;
|
|
1300
|
+
}
|
|
1301
|
+
export const PatchCohereProxyRouteCohereEndpointResponse =
|
|
1302
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1303
|
+
S.Struct({
|
|
1304
|
+
body: S.Unknown,
|
|
1305
|
+
}),
|
|
1306
|
+
).annotate({
|
|
1307
|
+
identifier: "PatchCohereProxyRouteCohereEndpointResponse",
|
|
1308
|
+
}) as any as S.Schema<PatchCohereProxyRouteCohereEndpointResponse>;
|
|
1309
|
+
|
|
1310
|
+
export interface PatchCursorProxyRouteCursorEndpointRequest {
|
|
1311
|
+
endpoint: string;
|
|
1312
|
+
}
|
|
1313
|
+
export const PatchCursorProxyRouteCursorEndpointRequest =
|
|
1314
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1315
|
+
S.Struct({
|
|
1316
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1317
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/cursor/{endpoint}", code: 200 })),
|
|
1318
|
+
).annotate({
|
|
1319
|
+
identifier: "PatchCursorProxyRouteCursorEndpointRequest",
|
|
1320
|
+
}) as any as S.Schema<PatchCursorProxyRouteCursorEndpointRequest>;
|
|
1321
|
+
|
|
1322
|
+
export interface PatchCursorProxyRouteCursorEndpointResponse {
|
|
1323
|
+
body: unknown;
|
|
1324
|
+
}
|
|
1325
|
+
export const PatchCursorProxyRouteCursorEndpointResponse =
|
|
1326
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1327
|
+
S.Struct({
|
|
1328
|
+
body: S.Unknown,
|
|
1329
|
+
}),
|
|
1330
|
+
).annotate({
|
|
1331
|
+
identifier: "PatchCursorProxyRouteCursorEndpointResponse",
|
|
1332
|
+
}) as any as S.Schema<PatchCursorProxyRouteCursorEndpointResponse>;
|
|
1333
|
+
|
|
1334
|
+
export interface PatchGeminiProxyRouteGeminiEndpointRequest {
|
|
1335
|
+
endpoint: string;
|
|
1336
|
+
}
|
|
1337
|
+
export const PatchGeminiProxyRouteGeminiEndpointRequest =
|
|
1338
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1339
|
+
S.Struct({
|
|
1340
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1341
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/gemini/{endpoint}", code: 200 })),
|
|
1342
|
+
).annotate({
|
|
1343
|
+
identifier: "PatchGeminiProxyRouteGeminiEndpointRequest",
|
|
1344
|
+
}) as any as S.Schema<PatchGeminiProxyRouteGeminiEndpointRequest>;
|
|
1345
|
+
|
|
1346
|
+
export interface PatchGeminiProxyRouteGeminiEndpointResponse {
|
|
1347
|
+
body: unknown;
|
|
1348
|
+
}
|
|
1349
|
+
export const PatchGeminiProxyRouteGeminiEndpointResponse =
|
|
1350
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1351
|
+
S.Struct({
|
|
1352
|
+
body: S.Unknown,
|
|
1353
|
+
}),
|
|
1354
|
+
).annotate({
|
|
1355
|
+
identifier: "PatchGeminiProxyRouteGeminiEndpointResponse",
|
|
1356
|
+
}) as any as S.Schema<PatchGeminiProxyRouteGeminiEndpointResponse>;
|
|
1357
|
+
|
|
1358
|
+
export interface PatchGigachatProxyRouteGigachatEndpointRequest {
|
|
1359
|
+
endpoint: string;
|
|
1360
|
+
}
|
|
1361
|
+
export const PatchGigachatProxyRouteGigachatEndpointRequest =
|
|
1362
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1363
|
+
S.Struct({
|
|
1364
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1365
|
+
}).pipe(
|
|
1366
|
+
T.Http({ method: "PATCH", uri: "/gigachat/{endpoint}", code: 200 }),
|
|
1367
|
+
),
|
|
1368
|
+
).annotate({
|
|
1369
|
+
identifier: "PatchGigachatProxyRouteGigachatEndpointRequest",
|
|
1370
|
+
}) as any as S.Schema<PatchGigachatProxyRouteGigachatEndpointRequest>;
|
|
1371
|
+
|
|
1372
|
+
export interface PatchGigachatProxyRouteGigachatEndpointResponse {
|
|
1373
|
+
body: unknown;
|
|
1374
|
+
}
|
|
1375
|
+
export const PatchGigachatProxyRouteGigachatEndpointResponse =
|
|
1376
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1377
|
+
S.Struct({
|
|
1378
|
+
body: S.Unknown,
|
|
1379
|
+
}),
|
|
1380
|
+
).annotate({
|
|
1381
|
+
identifier: "PatchGigachatProxyRouteGigachatEndpointResponse",
|
|
1382
|
+
}) as any as S.Schema<PatchGigachatProxyRouteGigachatEndpointResponse>;
|
|
1383
|
+
|
|
1384
|
+
export interface PatchMilvusProxyRouteMilvusEndpointRequest {
|
|
1385
|
+
endpoint: string;
|
|
1386
|
+
}
|
|
1387
|
+
export const PatchMilvusProxyRouteMilvusEndpointRequest =
|
|
1388
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1389
|
+
S.Struct({
|
|
1390
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1391
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/milvus/{endpoint}", code: 200 })),
|
|
1392
|
+
).annotate({
|
|
1393
|
+
identifier: "PatchMilvusProxyRouteMilvusEndpointRequest",
|
|
1394
|
+
}) as any as S.Schema<PatchMilvusProxyRouteMilvusEndpointRequest>;
|
|
1395
|
+
|
|
1396
|
+
export interface PatchMilvusProxyRouteMilvusEndpointResponse {
|
|
1397
|
+
body: unknown;
|
|
1398
|
+
}
|
|
1399
|
+
export const PatchMilvusProxyRouteMilvusEndpointResponse =
|
|
1400
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1401
|
+
S.Struct({
|
|
1402
|
+
body: S.Unknown,
|
|
1403
|
+
}),
|
|
1404
|
+
).annotate({
|
|
1405
|
+
identifier: "PatchMilvusProxyRouteMilvusEndpointResponse",
|
|
1406
|
+
}) as any as S.Schema<PatchMilvusProxyRouteMilvusEndpointResponse>;
|
|
1407
|
+
|
|
1408
|
+
export interface PatchMistralProxyRouteMistralEndpointRequest {
|
|
1409
|
+
endpoint: string;
|
|
1410
|
+
}
|
|
1411
|
+
export const PatchMistralProxyRouteMistralEndpointRequest =
|
|
1412
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1413
|
+
S.Struct({
|
|
1414
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1415
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/mistral/{endpoint}", code: 200 })),
|
|
1416
|
+
).annotate({
|
|
1417
|
+
identifier: "PatchMistralProxyRouteMistralEndpointRequest",
|
|
1418
|
+
}) as any as S.Schema<PatchMistralProxyRouteMistralEndpointRequest>;
|
|
1419
|
+
|
|
1420
|
+
export interface PatchMistralProxyRouteMistralEndpointResponse {
|
|
1421
|
+
body: unknown;
|
|
1422
|
+
}
|
|
1423
|
+
export const PatchMistralProxyRouteMistralEndpointResponse =
|
|
1424
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1425
|
+
S.Struct({
|
|
1426
|
+
body: S.Unknown,
|
|
1427
|
+
}),
|
|
1428
|
+
).annotate({
|
|
1429
|
+
identifier: "PatchMistralProxyRouteMistralEndpointResponse",
|
|
1430
|
+
}) as any as S.Schema<PatchMistralProxyRouteMistralEndpointResponse>;
|
|
1431
|
+
|
|
1432
|
+
export interface PatchNvidiaNimProxyRouteNvidiaNimEndpointRequest {
|
|
1433
|
+
endpoint: string;
|
|
1434
|
+
}
|
|
1435
|
+
export const PatchNvidiaNimProxyRouteNvidiaNimEndpointRequest =
|
|
1436
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1437
|
+
S.Struct({
|
|
1438
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1439
|
+
}).pipe(
|
|
1440
|
+
T.Http({ method: "PATCH", uri: "/nvidia_nim/{endpoint}", code: 200 }),
|
|
1441
|
+
),
|
|
1442
|
+
).annotate({
|
|
1443
|
+
identifier: "PatchNvidiaNimProxyRouteNvidiaNimEndpointRequest",
|
|
1444
|
+
}) as any as S.Schema<PatchNvidiaNimProxyRouteNvidiaNimEndpointRequest>;
|
|
1445
|
+
|
|
1446
|
+
export interface PatchNvidiaNimProxyRouteNvidiaNimEndpointResponse {
|
|
1447
|
+
body: unknown;
|
|
1448
|
+
}
|
|
1449
|
+
export const PatchNvidiaNimProxyRouteNvidiaNimEndpointResponse =
|
|
1450
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1451
|
+
S.Struct({
|
|
1452
|
+
body: S.Unknown,
|
|
1453
|
+
}),
|
|
1454
|
+
).annotate({
|
|
1455
|
+
identifier: "PatchNvidiaNimProxyRouteNvidiaNimEndpointResponse",
|
|
1456
|
+
}) as any as S.Schema<PatchNvidiaNimProxyRouteNvidiaNimEndpointResponse>;
|
|
1457
|
+
|
|
1458
|
+
export interface PatchOpenaiProxyRouteOpenaiEndpointRequest {
|
|
1459
|
+
endpoint: string;
|
|
1460
|
+
}
|
|
1461
|
+
export const PatchOpenaiProxyRouteOpenaiEndpointRequest =
|
|
1462
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1463
|
+
S.Struct({
|
|
1464
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1465
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/openai/{endpoint}", code: 200 })),
|
|
1466
|
+
).annotate({
|
|
1467
|
+
identifier: "PatchOpenaiProxyRouteOpenaiEndpointRequest",
|
|
1468
|
+
}) as any as S.Schema<PatchOpenaiProxyRouteOpenaiEndpointRequest>;
|
|
1469
|
+
|
|
1470
|
+
export interface PatchOpenaiProxyRouteOpenaiEndpointResponse {
|
|
1471
|
+
body: unknown;
|
|
1472
|
+
}
|
|
1473
|
+
export const PatchOpenaiProxyRouteOpenaiEndpointResponse =
|
|
1474
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1475
|
+
S.Struct({
|
|
1476
|
+
body: S.Unknown,
|
|
1477
|
+
}),
|
|
1478
|
+
).annotate({
|
|
1479
|
+
identifier: "PatchOpenaiProxyRouteOpenaiEndpointResponse",
|
|
1480
|
+
}) as any as S.Schema<PatchOpenaiProxyRouteOpenaiEndpointResponse>;
|
|
1481
|
+
|
|
1482
|
+
export interface PatchTypesafeProxyRouteTypesafeEndpointRequest {
|
|
1483
|
+
endpoint: string;
|
|
1484
|
+
}
|
|
1485
|
+
export const PatchTypesafeProxyRouteTypesafeEndpointRequest =
|
|
1486
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1487
|
+
S.Struct({
|
|
1488
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1489
|
+
}).pipe(
|
|
1490
|
+
T.Http({ method: "PATCH", uri: "/typesafe/{endpoint}", code: 200 }),
|
|
1491
|
+
),
|
|
1492
|
+
).annotate({
|
|
1493
|
+
identifier: "PatchTypesafeProxyRouteTypesafeEndpointRequest",
|
|
1494
|
+
}) as any as S.Schema<PatchTypesafeProxyRouteTypesafeEndpointRequest>;
|
|
1495
|
+
|
|
1496
|
+
export interface PatchTypesafeProxyRouteTypesafeEndpointResponse {
|
|
1497
|
+
body: unknown;
|
|
1498
|
+
}
|
|
1499
|
+
export const PatchTypesafeProxyRouteTypesafeEndpointResponse =
|
|
1500
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1501
|
+
S.Struct({
|
|
1502
|
+
body: S.Unknown,
|
|
1503
|
+
}),
|
|
1504
|
+
).annotate({
|
|
1505
|
+
identifier: "PatchTypesafeProxyRouteTypesafeEndpointResponse",
|
|
1506
|
+
}) as any as S.Schema<PatchTypesafeProxyRouteTypesafeEndpointResponse>;
|
|
1507
|
+
|
|
1508
|
+
export interface PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest {
|
|
1509
|
+
endpoint: string;
|
|
1510
|
+
}
|
|
1511
|
+
export const PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest =
|
|
1512
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1513
|
+
S.Struct({
|
|
1514
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1515
|
+
}).pipe(
|
|
1516
|
+
T.Http({
|
|
1517
|
+
method: "PATCH",
|
|
1518
|
+
uri: "/vertex_ai/discovery/{endpoint}",
|
|
1519
|
+
code: 200,
|
|
1520
|
+
}),
|
|
1521
|
+
),
|
|
1522
|
+
).annotate({
|
|
1523
|
+
identifier:
|
|
1524
|
+
"PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest",
|
|
1525
|
+
}) as any as S.Schema<PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest>;
|
|
1526
|
+
|
|
1527
|
+
export interface PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse {
|
|
1528
|
+
body: unknown;
|
|
1529
|
+
}
|
|
1530
|
+
export const PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse =
|
|
1531
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1532
|
+
S.Struct({
|
|
1533
|
+
body: S.Unknown,
|
|
1534
|
+
}),
|
|
1535
|
+
).annotate({
|
|
1536
|
+
identifier:
|
|
1537
|
+
"PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse",
|
|
1538
|
+
}) as any as S.Schema<PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse>;
|
|
1539
|
+
|
|
1540
|
+
export interface PatchVertexProxyRouteVertexAiEndpointRequest {
|
|
1541
|
+
endpoint: string;
|
|
1542
|
+
}
|
|
1543
|
+
export const PatchVertexProxyRouteVertexAiEndpointRequest =
|
|
1544
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1545
|
+
S.Struct({
|
|
1546
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1547
|
+
}).pipe(
|
|
1548
|
+
T.Http({ method: "PATCH", uri: "/vertex_ai/{endpoint}", code: 200 }),
|
|
1549
|
+
),
|
|
1550
|
+
).annotate({
|
|
1551
|
+
identifier: "PatchVertexProxyRouteVertexAiEndpointRequest",
|
|
1552
|
+
}) as any as S.Schema<PatchVertexProxyRouteVertexAiEndpointRequest>;
|
|
1553
|
+
|
|
1554
|
+
export interface PatchVertexProxyRouteVertexAiEndpointResponse {
|
|
1555
|
+
body: unknown;
|
|
1556
|
+
}
|
|
1557
|
+
export const PatchVertexProxyRouteVertexAiEndpointResponse =
|
|
1558
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1559
|
+
S.Struct({
|
|
1560
|
+
body: S.Unknown,
|
|
1561
|
+
}),
|
|
1562
|
+
).annotate({
|
|
1563
|
+
identifier: "PatchVertexProxyRouteVertexAiEndpointResponse",
|
|
1564
|
+
}) as any as S.Schema<PatchVertexProxyRouteVertexAiEndpointResponse>;
|
|
1565
|
+
|
|
1566
|
+
export interface PatchVllmProxyRouteVllmEndpointRequest {
|
|
1567
|
+
endpoint: string;
|
|
1568
|
+
}
|
|
1569
|
+
export const PatchVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
1570
|
+
() =>
|
|
1571
|
+
S.Struct({
|
|
1572
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1573
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/vllm/{endpoint}", code: 200 })),
|
|
1574
|
+
).annotate({
|
|
1575
|
+
identifier: "PatchVllmProxyRouteVllmEndpointRequest",
|
|
1576
|
+
}) as any as S.Schema<PatchVllmProxyRouteVllmEndpointRequest>;
|
|
1577
|
+
|
|
1578
|
+
export interface PatchVllmProxyRouteVllmEndpointResponse {
|
|
1579
|
+
body: unknown;
|
|
1580
|
+
}
|
|
1581
|
+
export const PatchVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(
|
|
1582
|
+
() =>
|
|
1583
|
+
S.Struct({
|
|
1584
|
+
body: S.Unknown,
|
|
1585
|
+
}),
|
|
1586
|
+
).annotate({
|
|
1587
|
+
identifier: "PatchVllmProxyRouteVllmEndpointResponse",
|
|
1588
|
+
}) as any as S.Schema<PatchVllmProxyRouteVllmEndpointResponse>;
|
|
1589
|
+
|
|
1590
|
+
export interface PatchWatsonxProxyRouteWatsonxEndpointRequest {
|
|
1591
|
+
endpoint: string;
|
|
1592
|
+
}
|
|
1593
|
+
export const PatchWatsonxProxyRouteWatsonxEndpointRequest =
|
|
1594
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1595
|
+
S.Struct({
|
|
1596
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1597
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/watsonx/{endpoint}", code: 200 })),
|
|
1598
|
+
).annotate({
|
|
1599
|
+
identifier: "PatchWatsonxProxyRouteWatsonxEndpointRequest",
|
|
1600
|
+
}) as any as S.Schema<PatchWatsonxProxyRouteWatsonxEndpointRequest>;
|
|
1601
|
+
|
|
1602
|
+
export interface PatchWatsonxProxyRouteWatsonxEndpointResponse {
|
|
1603
|
+
body: unknown;
|
|
1604
|
+
}
|
|
1605
|
+
export const PatchWatsonxProxyRouteWatsonxEndpointResponse =
|
|
1606
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1607
|
+
S.Struct({
|
|
1608
|
+
body: S.Unknown,
|
|
1609
|
+
}),
|
|
1610
|
+
).annotate({
|
|
1611
|
+
identifier: "PatchWatsonxProxyRouteWatsonxEndpointResponse",
|
|
1612
|
+
}) as any as S.Schema<PatchWatsonxProxyRouteWatsonxEndpointResponse>;
|
|
1613
|
+
|
|
1614
|
+
export interface PostAnthropicProxyRouteAnthropicEndpointRequest {
|
|
1615
|
+
endpoint: string;
|
|
1616
|
+
}
|
|
1617
|
+
export const PostAnthropicProxyRouteAnthropicEndpointRequest =
|
|
1618
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1619
|
+
S.Struct({
|
|
1620
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1621
|
+
}).pipe(
|
|
1622
|
+
T.Http({ method: "POST", uri: "/anthropic/{endpoint}", code: 200 }),
|
|
1623
|
+
),
|
|
1624
|
+
).annotate({
|
|
1625
|
+
identifier: "PostAnthropicProxyRouteAnthropicEndpointRequest",
|
|
1626
|
+
}) as any as S.Schema<PostAnthropicProxyRouteAnthropicEndpointRequest>;
|
|
1627
|
+
|
|
1628
|
+
export interface PostAnthropicProxyRouteAnthropicEndpointResponse {
|
|
1629
|
+
body: unknown;
|
|
1630
|
+
}
|
|
1631
|
+
export const PostAnthropicProxyRouteAnthropicEndpointResponse =
|
|
1632
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1633
|
+
S.Struct({
|
|
1634
|
+
body: S.Unknown,
|
|
1635
|
+
}),
|
|
1636
|
+
).annotate({
|
|
1637
|
+
identifier: "PostAnthropicProxyRouteAnthropicEndpointResponse",
|
|
1638
|
+
}) as any as S.Schema<PostAnthropicProxyRouteAnthropicEndpointResponse>;
|
|
1639
|
+
|
|
1640
|
+
export interface PostAssemblyaiProxyRouteAssemblyaiEndpointRequest {
|
|
1641
|
+
endpoint: string;
|
|
1642
|
+
}
|
|
1643
|
+
export const PostAssemblyaiProxyRouteAssemblyaiEndpointRequest =
|
|
1644
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1645
|
+
S.Struct({
|
|
1646
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1647
|
+
}).pipe(
|
|
1648
|
+
T.Http({ method: "POST", uri: "/assemblyai/{endpoint}", code: 200 }),
|
|
1649
|
+
),
|
|
1650
|
+
).annotate({
|
|
1651
|
+
identifier: "PostAssemblyaiProxyRouteAssemblyaiEndpointRequest",
|
|
1652
|
+
}) as any as S.Schema<PostAssemblyaiProxyRouteAssemblyaiEndpointRequest>;
|
|
1653
|
+
|
|
1654
|
+
export interface PostAssemblyaiProxyRouteAssemblyaiEndpointResponse {
|
|
1655
|
+
body: unknown;
|
|
1656
|
+
}
|
|
1657
|
+
export const PostAssemblyaiProxyRouteAssemblyaiEndpointResponse =
|
|
1658
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1659
|
+
S.Struct({
|
|
1660
|
+
body: S.Unknown,
|
|
1661
|
+
}),
|
|
1662
|
+
).annotate({
|
|
1663
|
+
identifier: "PostAssemblyaiProxyRouteAssemblyaiEndpointResponse",
|
|
1664
|
+
}) as any as S.Schema<PostAssemblyaiProxyRouteAssemblyaiEndpointResponse>;
|
|
1665
|
+
|
|
1666
|
+
export interface PostAssemblyaiProxyRouteEuAssemblyaiEndpointRequest {
|
|
1667
|
+
endpoint: string;
|
|
1668
|
+
}
|
|
1669
|
+
export const PostAssemblyaiProxyRouteEuAssemblyaiEndpointRequest =
|
|
1670
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1671
|
+
S.Struct({
|
|
1672
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1673
|
+
}).pipe(
|
|
1674
|
+
T.Http({ method: "POST", uri: "/eu.assemblyai/{endpoint}", code: 200 }),
|
|
1675
|
+
),
|
|
1676
|
+
).annotate({
|
|
1677
|
+
identifier: "PostAssemblyaiProxyRouteEuAssemblyaiEndpointRequest",
|
|
1678
|
+
}) as any as S.Schema<PostAssemblyaiProxyRouteEuAssemblyaiEndpointRequest>;
|
|
1679
|
+
|
|
1680
|
+
export interface PostAssemblyaiProxyRouteEuAssemblyaiEndpointResponse {
|
|
1681
|
+
body: unknown;
|
|
1682
|
+
}
|
|
1683
|
+
export const PostAssemblyaiProxyRouteEuAssemblyaiEndpointResponse =
|
|
1684
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1685
|
+
S.Struct({
|
|
1686
|
+
body: S.Unknown,
|
|
1687
|
+
}),
|
|
1688
|
+
).annotate({
|
|
1689
|
+
identifier: "PostAssemblyaiProxyRouteEuAssemblyaiEndpointResponse",
|
|
1690
|
+
}) as any as S.Schema<PostAssemblyaiProxyRouteEuAssemblyaiEndpointResponse>;
|
|
1691
|
+
|
|
1692
|
+
export interface PostAzureProxyRouteAzureAiEndpointRequest {
|
|
1693
|
+
endpoint: string;
|
|
1694
|
+
}
|
|
1695
|
+
export const PostAzureProxyRouteAzureAiEndpointRequest =
|
|
1696
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1697
|
+
S.Struct({
|
|
1698
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1699
|
+
}).pipe(T.Http({ method: "POST", uri: "/azure_ai/{endpoint}", code: 200 })),
|
|
1700
|
+
).annotate({
|
|
1701
|
+
identifier: "PostAzureProxyRouteAzureAiEndpointRequest",
|
|
1702
|
+
}) as any as S.Schema<PostAzureProxyRouteAzureAiEndpointRequest>;
|
|
1703
|
+
|
|
1704
|
+
export interface PostAzureProxyRouteAzureAiEndpointResponse {
|
|
1705
|
+
body: unknown;
|
|
1706
|
+
}
|
|
1707
|
+
export const PostAzureProxyRouteAzureAiEndpointResponse =
|
|
1708
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1709
|
+
S.Struct({
|
|
1710
|
+
body: S.Unknown,
|
|
1711
|
+
}),
|
|
1712
|
+
).annotate({
|
|
1713
|
+
identifier: "PostAzureProxyRouteAzureAiEndpointResponse",
|
|
1714
|
+
}) as any as S.Schema<PostAzureProxyRouteAzureAiEndpointResponse>;
|
|
1715
|
+
|
|
1716
|
+
export interface PostAzureProxyRouteAzureEndpointRequest {
|
|
1717
|
+
endpoint: string;
|
|
1718
|
+
}
|
|
1719
|
+
export const PostAzureProxyRouteAzureEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
1720
|
+
() =>
|
|
1721
|
+
S.Struct({
|
|
1722
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1723
|
+
}).pipe(T.Http({ method: "POST", uri: "/azure/{endpoint}", code: 200 })),
|
|
1724
|
+
).annotate({
|
|
1725
|
+
identifier: "PostAzureProxyRouteAzureEndpointRequest",
|
|
1726
|
+
}) as any as S.Schema<PostAzureProxyRouteAzureEndpointRequest>;
|
|
1727
|
+
|
|
1728
|
+
export interface PostAzureProxyRouteAzureEndpointResponse {
|
|
1729
|
+
body: unknown;
|
|
1730
|
+
}
|
|
1731
|
+
export const PostAzureProxyRouteAzureEndpointResponse = /*@__PURE__*/ S.suspend(
|
|
1732
|
+
() =>
|
|
1733
|
+
S.Struct({
|
|
1734
|
+
body: S.Unknown,
|
|
1735
|
+
}),
|
|
1736
|
+
).annotate({
|
|
1737
|
+
identifier: "PostAzureProxyRouteAzureEndpointResponse",
|
|
1738
|
+
}) as any as S.Schema<PostAzureProxyRouteAzureEndpointResponse>;
|
|
1739
|
+
|
|
1740
|
+
export interface PostAzureSpeechProxyRouteAzureSpeechEndpointRequest {
|
|
1741
|
+
endpoint: string;
|
|
1742
|
+
}
|
|
1743
|
+
export const PostAzureSpeechProxyRouteAzureSpeechEndpointRequest =
|
|
1744
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1745
|
+
S.Struct({
|
|
1746
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1747
|
+
}).pipe(
|
|
1748
|
+
T.Http({ method: "POST", uri: "/azure_speech/{endpoint}", code: 200 }),
|
|
1749
|
+
),
|
|
1750
|
+
).annotate({
|
|
1751
|
+
identifier: "PostAzureSpeechProxyRouteAzureSpeechEndpointRequest",
|
|
1752
|
+
}) as any as S.Schema<PostAzureSpeechProxyRouteAzureSpeechEndpointRequest>;
|
|
1753
|
+
|
|
1754
|
+
export interface PostAzureSpeechProxyRouteAzureSpeechEndpointResponse {
|
|
1755
|
+
body: unknown;
|
|
1756
|
+
}
|
|
1757
|
+
export const PostAzureSpeechProxyRouteAzureSpeechEndpointResponse =
|
|
1758
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1759
|
+
S.Struct({
|
|
1760
|
+
body: S.Unknown,
|
|
1761
|
+
}),
|
|
1762
|
+
).annotate({
|
|
1763
|
+
identifier: "PostAzureSpeechProxyRouteAzureSpeechEndpointResponse",
|
|
1764
|
+
}) as any as S.Schema<PostAzureSpeechProxyRouteAzureSpeechEndpointResponse>;
|
|
1765
|
+
|
|
1766
|
+
export interface PostBedrockProxyRouteBedrockEndpointRequest {
|
|
1767
|
+
endpoint: string;
|
|
1768
|
+
}
|
|
1769
|
+
export const PostBedrockProxyRouteBedrockEndpointRequest =
|
|
1770
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1771
|
+
S.Struct({
|
|
1772
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1773
|
+
}).pipe(T.Http({ method: "POST", uri: "/bedrock/{endpoint}", code: 200 })),
|
|
1774
|
+
).annotate({
|
|
1775
|
+
identifier: "PostBedrockProxyRouteBedrockEndpointRequest",
|
|
1776
|
+
}) as any as S.Schema<PostBedrockProxyRouteBedrockEndpointRequest>;
|
|
1777
|
+
|
|
1778
|
+
export interface PostBedrockProxyRouteBedrockEndpointResponse {
|
|
1779
|
+
body: unknown;
|
|
1780
|
+
}
|
|
1781
|
+
export const PostBedrockProxyRouteBedrockEndpointResponse =
|
|
1782
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1783
|
+
S.Struct({
|
|
1784
|
+
body: S.Unknown,
|
|
1785
|
+
}),
|
|
1786
|
+
).annotate({
|
|
1787
|
+
identifier: "PostBedrockProxyRouteBedrockEndpointResponse",
|
|
1788
|
+
}) as any as S.Schema<PostBedrockProxyRouteBedrockEndpointResponse>;
|
|
1789
|
+
|
|
1790
|
+
export interface PostCohereProxyRouteCohereEndpointRequest {
|
|
1791
|
+
endpoint: string;
|
|
1792
|
+
}
|
|
1793
|
+
export const PostCohereProxyRouteCohereEndpointRequest =
|
|
1794
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1795
|
+
S.Struct({
|
|
1796
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1797
|
+
}).pipe(T.Http({ method: "POST", uri: "/cohere/{endpoint}", code: 200 })),
|
|
1798
|
+
).annotate({
|
|
1799
|
+
identifier: "PostCohereProxyRouteCohereEndpointRequest",
|
|
1800
|
+
}) as any as S.Schema<PostCohereProxyRouteCohereEndpointRequest>;
|
|
1801
|
+
|
|
1802
|
+
export interface PostCohereProxyRouteCohereEndpointResponse {
|
|
1803
|
+
body: unknown;
|
|
1804
|
+
}
|
|
1805
|
+
export const PostCohereProxyRouteCohereEndpointResponse =
|
|
1806
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1807
|
+
S.Struct({
|
|
1808
|
+
body: S.Unknown,
|
|
1809
|
+
}),
|
|
1810
|
+
).annotate({
|
|
1811
|
+
identifier: "PostCohereProxyRouteCohereEndpointResponse",
|
|
1812
|
+
}) as any as S.Schema<PostCohereProxyRouteCohereEndpointResponse>;
|
|
1813
|
+
|
|
1814
|
+
export interface PostComprehendMedicalProxyRouteComprehendmedicalOperationRequest {
|
|
1815
|
+
operation: string;
|
|
1816
|
+
}
|
|
1817
|
+
export const PostComprehendMedicalProxyRouteComprehendmedicalOperationRequest =
|
|
1818
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1819
|
+
S.Struct({
|
|
1820
|
+
operation: S.String.pipe(T.Label()),
|
|
1821
|
+
}).pipe(
|
|
1822
|
+
T.Http({
|
|
1823
|
+
method: "POST",
|
|
1824
|
+
uri: "/comprehendmedical/{operation}",
|
|
1825
|
+
code: 200,
|
|
1826
|
+
}),
|
|
1827
|
+
),
|
|
1828
|
+
).annotate({
|
|
1829
|
+
identifier:
|
|
1830
|
+
"PostComprehendMedicalProxyRouteComprehendmedicalOperationRequest",
|
|
1831
|
+
}) as any as S.Schema<PostComprehendMedicalProxyRouteComprehendmedicalOperationRequest>;
|
|
1832
|
+
|
|
1833
|
+
export interface PostComprehendMedicalProxyRouteComprehendmedicalOperationResponse {
|
|
1834
|
+
body: unknown;
|
|
1835
|
+
}
|
|
1836
|
+
export const PostComprehendMedicalProxyRouteComprehendmedicalOperationResponse =
|
|
1837
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1838
|
+
S.Struct({
|
|
1839
|
+
body: S.Unknown,
|
|
1840
|
+
}),
|
|
1841
|
+
).annotate({
|
|
1842
|
+
identifier:
|
|
1843
|
+
"PostComprehendMedicalProxyRouteComprehendmedicalOperationResponse",
|
|
1844
|
+
}) as any as S.Schema<PostComprehendMedicalProxyRouteComprehendmedicalOperationResponse>;
|
|
1845
|
+
|
|
1846
|
+
export interface PostComprehendMedicalSdkProxyRouteComprehendmedicalRequest {}
|
|
1847
|
+
export const PostComprehendMedicalSdkProxyRouteComprehendmedicalRequest =
|
|
1848
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1849
|
+
S.Struct({}).pipe(
|
|
1850
|
+
T.Http({ method: "POST", uri: "/comprehendmedical", code: 200 }),
|
|
1851
|
+
),
|
|
1852
|
+
).annotate({
|
|
1853
|
+
identifier: "PostComprehendMedicalSdkProxyRouteComprehendmedicalRequest",
|
|
1854
|
+
}) as any as S.Schema<PostComprehendMedicalSdkProxyRouteComprehendmedicalRequest>;
|
|
1855
|
+
|
|
1856
|
+
export interface PostComprehendMedicalSdkProxyRouteComprehendmedicalResponse {
|
|
1857
|
+
body: unknown;
|
|
1858
|
+
}
|
|
1859
|
+
export const PostComprehendMedicalSdkProxyRouteComprehendmedicalResponse =
|
|
1860
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1861
|
+
S.Struct({
|
|
1862
|
+
body: S.Unknown,
|
|
1863
|
+
}),
|
|
1864
|
+
).annotate({
|
|
1865
|
+
identifier: "PostComprehendMedicalSdkProxyRouteComprehendmedicalResponse",
|
|
1866
|
+
}) as any as S.Schema<PostComprehendMedicalSdkProxyRouteComprehendmedicalResponse>;
|
|
1867
|
+
|
|
1868
|
+
export interface PostCursorProxyRouteCursorEndpointRequest {
|
|
1869
|
+
endpoint: string;
|
|
1870
|
+
}
|
|
1871
|
+
export const PostCursorProxyRouteCursorEndpointRequest =
|
|
1872
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1873
|
+
S.Struct({
|
|
1874
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1875
|
+
}).pipe(T.Http({ method: "POST", uri: "/cursor/{endpoint}", code: 200 })),
|
|
1876
|
+
).annotate({
|
|
1877
|
+
identifier: "PostCursorProxyRouteCursorEndpointRequest",
|
|
1878
|
+
}) as any as S.Schema<PostCursorProxyRouteCursorEndpointRequest>;
|
|
1879
|
+
|
|
1880
|
+
export interface PostCursorProxyRouteCursorEndpointResponse {
|
|
1881
|
+
body: unknown;
|
|
1882
|
+
}
|
|
1883
|
+
export const PostCursorProxyRouteCursorEndpointResponse =
|
|
1884
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1885
|
+
S.Struct({
|
|
1886
|
+
body: S.Unknown,
|
|
1887
|
+
}),
|
|
1888
|
+
).annotate({
|
|
1889
|
+
identifier: "PostCursorProxyRouteCursorEndpointResponse",
|
|
1890
|
+
}) as any as S.Schema<PostCursorProxyRouteCursorEndpointResponse>;
|
|
1891
|
+
|
|
1892
|
+
export interface PostGeminiProxyRouteGeminiEndpointRequest {
|
|
1893
|
+
endpoint: string;
|
|
1894
|
+
}
|
|
1895
|
+
export const PostGeminiProxyRouteGeminiEndpointRequest =
|
|
1896
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1897
|
+
S.Struct({
|
|
1898
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1899
|
+
}).pipe(T.Http({ method: "POST", uri: "/gemini/{endpoint}", code: 200 })),
|
|
1900
|
+
).annotate({
|
|
1901
|
+
identifier: "PostGeminiProxyRouteGeminiEndpointRequest",
|
|
1902
|
+
}) as any as S.Schema<PostGeminiProxyRouteGeminiEndpointRequest>;
|
|
1903
|
+
|
|
1904
|
+
export interface PostGeminiProxyRouteGeminiEndpointResponse {
|
|
1905
|
+
body: unknown;
|
|
1906
|
+
}
|
|
1907
|
+
export const PostGeminiProxyRouteGeminiEndpointResponse =
|
|
1908
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1909
|
+
S.Struct({
|
|
1910
|
+
body: S.Unknown,
|
|
1911
|
+
}),
|
|
1912
|
+
).annotate({
|
|
1913
|
+
identifier: "PostGeminiProxyRouteGeminiEndpointResponse",
|
|
1914
|
+
}) as any as S.Schema<PostGeminiProxyRouteGeminiEndpointResponse>;
|
|
1915
|
+
|
|
1916
|
+
export interface PostGigachatProxyRouteGigachatEndpointRequest {
|
|
1917
|
+
endpoint: string;
|
|
1918
|
+
}
|
|
1919
|
+
export const PostGigachatProxyRouteGigachatEndpointRequest =
|
|
1920
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1921
|
+
S.Struct({
|
|
1922
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1923
|
+
}).pipe(T.Http({ method: "POST", uri: "/gigachat/{endpoint}", code: 200 })),
|
|
1924
|
+
).annotate({
|
|
1925
|
+
identifier: "PostGigachatProxyRouteGigachatEndpointRequest",
|
|
1926
|
+
}) as any as S.Schema<PostGigachatProxyRouteGigachatEndpointRequest>;
|
|
1927
|
+
|
|
1928
|
+
export interface PostGigachatProxyRouteGigachatEndpointResponse {
|
|
1929
|
+
body: unknown;
|
|
1930
|
+
}
|
|
1931
|
+
export const PostGigachatProxyRouteGigachatEndpointResponse =
|
|
1932
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1933
|
+
S.Struct({
|
|
1934
|
+
body: S.Unknown,
|
|
1935
|
+
}),
|
|
1936
|
+
).annotate({
|
|
1937
|
+
identifier: "PostGigachatProxyRouteGigachatEndpointResponse",
|
|
1938
|
+
}) as any as S.Schema<PostGigachatProxyRouteGigachatEndpointResponse>;
|
|
1939
|
+
|
|
1940
|
+
export interface PostMilvusProxyRouteMilvusEndpointRequest {
|
|
1941
|
+
endpoint: string;
|
|
1942
|
+
}
|
|
1943
|
+
export const PostMilvusProxyRouteMilvusEndpointRequest =
|
|
1944
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1945
|
+
S.Struct({
|
|
1946
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1947
|
+
}).pipe(T.Http({ method: "POST", uri: "/milvus/{endpoint}", code: 200 })),
|
|
1948
|
+
).annotate({
|
|
1949
|
+
identifier: "PostMilvusProxyRouteMilvusEndpointRequest",
|
|
1950
|
+
}) as any as S.Schema<PostMilvusProxyRouteMilvusEndpointRequest>;
|
|
1951
|
+
|
|
1952
|
+
export interface PostMilvusProxyRouteMilvusEndpointResponse {
|
|
1953
|
+
body: unknown;
|
|
1954
|
+
}
|
|
1955
|
+
export const PostMilvusProxyRouteMilvusEndpointResponse =
|
|
1956
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1957
|
+
S.Struct({
|
|
1958
|
+
body: S.Unknown,
|
|
1959
|
+
}),
|
|
1960
|
+
).annotate({
|
|
1961
|
+
identifier: "PostMilvusProxyRouteMilvusEndpointResponse",
|
|
1962
|
+
}) as any as S.Schema<PostMilvusProxyRouteMilvusEndpointResponse>;
|
|
1963
|
+
|
|
1964
|
+
export interface PostMistralProxyRouteMistralEndpointRequest {
|
|
1965
|
+
endpoint: string;
|
|
1966
|
+
}
|
|
1967
|
+
export const PostMistralProxyRouteMistralEndpointRequest =
|
|
1968
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1969
|
+
S.Struct({
|
|
1970
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1971
|
+
}).pipe(T.Http({ method: "POST", uri: "/mistral/{endpoint}", code: 200 })),
|
|
1972
|
+
).annotate({
|
|
1973
|
+
identifier: "PostMistralProxyRouteMistralEndpointRequest",
|
|
1974
|
+
}) as any as S.Schema<PostMistralProxyRouteMistralEndpointRequest>;
|
|
1975
|
+
|
|
1976
|
+
export interface PostMistralProxyRouteMistralEndpointResponse {
|
|
1977
|
+
body: unknown;
|
|
1978
|
+
}
|
|
1979
|
+
export const PostMistralProxyRouteMistralEndpointResponse =
|
|
1980
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1981
|
+
S.Struct({
|
|
1982
|
+
body: S.Unknown,
|
|
1983
|
+
}),
|
|
1984
|
+
).annotate({
|
|
1985
|
+
identifier: "PostMistralProxyRouteMistralEndpointResponse",
|
|
1986
|
+
}) as any as S.Schema<PostMistralProxyRouteMistralEndpointResponse>;
|
|
1987
|
+
|
|
1988
|
+
export interface PostNvidiaNimProxyRouteNvidiaNimEndpointRequest {
|
|
1989
|
+
endpoint: string;
|
|
1990
|
+
}
|
|
1991
|
+
export const PostNvidiaNimProxyRouteNvidiaNimEndpointRequest =
|
|
1992
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1993
|
+
S.Struct({
|
|
1994
|
+
endpoint: S.String.pipe(T.Label()),
|
|
1995
|
+
}).pipe(
|
|
1996
|
+
T.Http({ method: "POST", uri: "/nvidia_nim/{endpoint}", code: 200 }),
|
|
1997
|
+
),
|
|
1998
|
+
).annotate({
|
|
1999
|
+
identifier: "PostNvidiaNimProxyRouteNvidiaNimEndpointRequest",
|
|
2000
|
+
}) as any as S.Schema<PostNvidiaNimProxyRouteNvidiaNimEndpointRequest>;
|
|
2001
|
+
|
|
2002
|
+
export interface PostNvidiaNimProxyRouteNvidiaNimEndpointResponse {
|
|
2003
|
+
body: unknown;
|
|
2004
|
+
}
|
|
2005
|
+
export const PostNvidiaNimProxyRouteNvidiaNimEndpointResponse =
|
|
2006
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2007
|
+
S.Struct({
|
|
2008
|
+
body: S.Unknown,
|
|
2009
|
+
}),
|
|
2010
|
+
).annotate({
|
|
2011
|
+
identifier: "PostNvidiaNimProxyRouteNvidiaNimEndpointResponse",
|
|
2012
|
+
}) as any as S.Schema<PostNvidiaNimProxyRouteNvidiaNimEndpointResponse>;
|
|
2013
|
+
|
|
2014
|
+
export interface PostOpenaiProxyRouteOpenaiEndpointRequest {
|
|
2015
|
+
endpoint: string;
|
|
2016
|
+
}
|
|
2017
|
+
export const PostOpenaiProxyRouteOpenaiEndpointRequest =
|
|
2018
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2019
|
+
S.Struct({
|
|
2020
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2021
|
+
}).pipe(T.Http({ method: "POST", uri: "/openai/{endpoint}", code: 200 })),
|
|
2022
|
+
).annotate({
|
|
2023
|
+
identifier: "PostOpenaiProxyRouteOpenaiEndpointRequest",
|
|
2024
|
+
}) as any as S.Schema<PostOpenaiProxyRouteOpenaiEndpointRequest>;
|
|
2025
|
+
|
|
2026
|
+
export interface PostOpenaiProxyRouteOpenaiEndpointResponse {
|
|
2027
|
+
body: unknown;
|
|
2028
|
+
}
|
|
2029
|
+
export const PostOpenaiProxyRouteOpenaiEndpointResponse =
|
|
2030
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2031
|
+
S.Struct({
|
|
2032
|
+
body: S.Unknown,
|
|
2033
|
+
}),
|
|
2034
|
+
).annotate({
|
|
2035
|
+
identifier: "PostOpenaiProxyRouteOpenaiEndpointResponse",
|
|
2036
|
+
}) as any as S.Schema<PostOpenaiProxyRouteOpenaiEndpointResponse>;
|
|
2037
|
+
|
|
2038
|
+
export interface PostProxyRealtimeCallsOpenaiV1RealtimeCallRequest {}
|
|
2039
|
+
export const PostProxyRealtimeCallsOpenaiV1RealtimeCallRequest =
|
|
2040
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2041
|
+
S.Struct({}).pipe(
|
|
2042
|
+
T.Http({ method: "POST", uri: "/openai/v1/realtime/calls", code: 200 }),
|
|
2043
|
+
),
|
|
2044
|
+
).annotate({
|
|
2045
|
+
identifier: "PostProxyRealtimeCallsOpenaiV1RealtimeCallRequest",
|
|
2046
|
+
}) as any as S.Schema<PostProxyRealtimeCallsOpenaiV1RealtimeCallRequest>;
|
|
2047
|
+
|
|
2048
|
+
export interface PostProxyRealtimeCallsOpenaiV1RealtimeCallResponse {
|
|
2049
|
+
body: unknown;
|
|
2050
|
+
}
|
|
2051
|
+
export const PostProxyRealtimeCallsOpenaiV1RealtimeCallResponse =
|
|
2052
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2053
|
+
S.Struct({
|
|
2054
|
+
body: S.Unknown,
|
|
2055
|
+
}),
|
|
2056
|
+
).annotate({
|
|
2057
|
+
identifier: "PostProxyRealtimeCallsOpenaiV1RealtimeCallResponse",
|
|
2058
|
+
}) as any as S.Schema<PostProxyRealtimeCallsOpenaiV1RealtimeCallResponse>;
|
|
2059
|
+
|
|
2060
|
+
export interface PostTranscribeProxyRouteTranscribeOperationRequest {
|
|
2061
|
+
operation: string;
|
|
2062
|
+
}
|
|
2063
|
+
export const PostTranscribeProxyRouteTranscribeOperationRequest =
|
|
2064
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2065
|
+
S.Struct({
|
|
2066
|
+
operation: S.String.pipe(T.Label()),
|
|
2067
|
+
}).pipe(
|
|
2068
|
+
T.Http({ method: "POST", uri: "/transcribe/{operation}", code: 200 }),
|
|
2069
|
+
),
|
|
2070
|
+
).annotate({
|
|
2071
|
+
identifier: "PostTranscribeProxyRouteTranscribeOperationRequest",
|
|
2072
|
+
}) as any as S.Schema<PostTranscribeProxyRouteTranscribeOperationRequest>;
|
|
2073
|
+
|
|
2074
|
+
export interface PostTranscribeProxyRouteTranscribeOperationResponse {
|
|
2075
|
+
body: unknown;
|
|
2076
|
+
}
|
|
2077
|
+
export const PostTranscribeProxyRouteTranscribeOperationResponse =
|
|
2078
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2079
|
+
S.Struct({
|
|
2080
|
+
body: S.Unknown,
|
|
2081
|
+
}),
|
|
2082
|
+
).annotate({
|
|
2083
|
+
identifier: "PostTranscribeProxyRouteTranscribeOperationResponse",
|
|
2084
|
+
}) as any as S.Schema<PostTranscribeProxyRouteTranscribeOperationResponse>;
|
|
2085
|
+
|
|
2086
|
+
export interface PostTranscribeSdkProxyRouteTranscribeRequest {}
|
|
2087
|
+
export const PostTranscribeSdkProxyRouteTranscribeRequest =
|
|
2088
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2089
|
+
S.Struct({}).pipe(
|
|
2090
|
+
T.Http({ method: "POST", uri: "/transcribe", code: 200 }),
|
|
2091
|
+
),
|
|
2092
|
+
).annotate({
|
|
2093
|
+
identifier: "PostTranscribeSdkProxyRouteTranscribeRequest",
|
|
2094
|
+
}) as any as S.Schema<PostTranscribeSdkProxyRouteTranscribeRequest>;
|
|
2095
|
+
|
|
2096
|
+
export interface PostTranscribeSdkProxyRouteTranscribeResponse {
|
|
2097
|
+
body: unknown;
|
|
2098
|
+
}
|
|
2099
|
+
export const PostTranscribeSdkProxyRouteTranscribeResponse =
|
|
2100
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2101
|
+
S.Struct({
|
|
2102
|
+
body: S.Unknown,
|
|
2103
|
+
}),
|
|
2104
|
+
).annotate({
|
|
2105
|
+
identifier: "PostTranscribeSdkProxyRouteTranscribeResponse",
|
|
2106
|
+
}) as any as S.Schema<PostTranscribeSdkProxyRouteTranscribeResponse>;
|
|
2107
|
+
|
|
2108
|
+
export interface PostTypesafeProxyRouteTypesafeEndpointRequest {
|
|
2109
|
+
endpoint: string;
|
|
2110
|
+
}
|
|
2111
|
+
export const PostTypesafeProxyRouteTypesafeEndpointRequest =
|
|
2112
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2113
|
+
S.Struct({
|
|
2114
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2115
|
+
}).pipe(T.Http({ method: "POST", uri: "/typesafe/{endpoint}", code: 200 })),
|
|
2116
|
+
).annotate({
|
|
2117
|
+
identifier: "PostTypesafeProxyRouteTypesafeEndpointRequest",
|
|
2118
|
+
}) as any as S.Schema<PostTypesafeProxyRouteTypesafeEndpointRequest>;
|
|
2119
|
+
|
|
2120
|
+
export interface PostTypesafeProxyRouteTypesafeEndpointResponse {
|
|
2121
|
+
body: unknown;
|
|
2122
|
+
}
|
|
2123
|
+
export const PostTypesafeProxyRouteTypesafeEndpointResponse =
|
|
2124
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2125
|
+
S.Struct({
|
|
2126
|
+
body: S.Unknown,
|
|
2127
|
+
}),
|
|
2128
|
+
).annotate({
|
|
2129
|
+
identifier: "PostTypesafeProxyRouteTypesafeEndpointResponse",
|
|
2130
|
+
}) as any as S.Schema<PostTypesafeProxyRouteTypesafeEndpointResponse>;
|
|
2131
|
+
|
|
2132
|
+
export interface PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest {
|
|
2133
|
+
endpoint: string;
|
|
2134
|
+
}
|
|
2135
|
+
export const PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest =
|
|
2136
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2137
|
+
S.Struct({
|
|
2138
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2139
|
+
}).pipe(
|
|
2140
|
+
T.Http({
|
|
2141
|
+
method: "POST",
|
|
2142
|
+
uri: "/vertex_ai/discovery/{endpoint}",
|
|
2143
|
+
code: 200,
|
|
2144
|
+
}),
|
|
2145
|
+
),
|
|
2146
|
+
).annotate({
|
|
2147
|
+
identifier: "PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest",
|
|
2148
|
+
}) as any as S.Schema<PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest>;
|
|
2149
|
+
|
|
2150
|
+
export interface PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse {
|
|
2151
|
+
body: unknown;
|
|
2152
|
+
}
|
|
2153
|
+
export const PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse =
|
|
2154
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2155
|
+
S.Struct({
|
|
2156
|
+
body: S.Unknown,
|
|
2157
|
+
}),
|
|
2158
|
+
).annotate({
|
|
2159
|
+
identifier:
|
|
2160
|
+
"PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse",
|
|
2161
|
+
}) as any as S.Schema<PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse>;
|
|
2162
|
+
|
|
2163
|
+
export interface PostVertexProxyRouteVertexAiEndpointRequest {
|
|
2164
|
+
endpoint: string;
|
|
2165
|
+
}
|
|
2166
|
+
export const PostVertexProxyRouteVertexAiEndpointRequest =
|
|
2167
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2168
|
+
S.Struct({
|
|
2169
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2170
|
+
}).pipe(
|
|
2171
|
+
T.Http({ method: "POST", uri: "/vertex_ai/{endpoint}", code: 200 }),
|
|
2172
|
+
),
|
|
2173
|
+
).annotate({
|
|
2174
|
+
identifier: "PostVertexProxyRouteVertexAiEndpointRequest",
|
|
2175
|
+
}) as any as S.Schema<PostVertexProxyRouteVertexAiEndpointRequest>;
|
|
2176
|
+
|
|
2177
|
+
export interface PostVertexProxyRouteVertexAiEndpointResponse {
|
|
2178
|
+
body: unknown;
|
|
2179
|
+
}
|
|
2180
|
+
export const PostVertexProxyRouteVertexAiEndpointResponse =
|
|
2181
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2182
|
+
S.Struct({
|
|
2183
|
+
body: S.Unknown,
|
|
2184
|
+
}),
|
|
2185
|
+
).annotate({
|
|
2186
|
+
identifier: "PostVertexProxyRouteVertexAiEndpointResponse",
|
|
2187
|
+
}) as any as S.Schema<PostVertexProxyRouteVertexAiEndpointResponse>;
|
|
2188
|
+
|
|
2189
|
+
export interface PostVllmProxyRouteVllmEndpointRequest {
|
|
2190
|
+
endpoint: string;
|
|
2191
|
+
}
|
|
2192
|
+
export const PostVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2193
|
+
() =>
|
|
2194
|
+
S.Struct({
|
|
2195
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2196
|
+
}).pipe(T.Http({ method: "POST", uri: "/vllm/{endpoint}", code: 200 })),
|
|
2197
|
+
).annotate({
|
|
2198
|
+
identifier: "PostVllmProxyRouteVllmEndpointRequest",
|
|
2199
|
+
}) as any as S.Schema<PostVllmProxyRouteVllmEndpointRequest>;
|
|
2200
|
+
|
|
2201
|
+
export interface PostVllmProxyRouteVllmEndpointResponse {
|
|
2202
|
+
body: unknown;
|
|
2203
|
+
}
|
|
2204
|
+
export const PostVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(
|
|
2205
|
+
() =>
|
|
2206
|
+
S.Struct({
|
|
2207
|
+
body: S.Unknown,
|
|
2208
|
+
}),
|
|
2209
|
+
).annotate({
|
|
2210
|
+
identifier: "PostVllmProxyRouteVllmEndpointResponse",
|
|
2211
|
+
}) as any as S.Schema<PostVllmProxyRouteVllmEndpointResponse>;
|
|
2212
|
+
|
|
2213
|
+
export interface PostWatsonxProxyRouteWatsonxEndpointRequest {
|
|
2214
|
+
endpoint: string;
|
|
2215
|
+
}
|
|
2216
|
+
export const PostWatsonxProxyRouteWatsonxEndpointRequest =
|
|
2217
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2218
|
+
S.Struct({
|
|
2219
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2220
|
+
}).pipe(T.Http({ method: "POST", uri: "/watsonx/{endpoint}", code: 200 })),
|
|
2221
|
+
).annotate({
|
|
2222
|
+
identifier: "PostWatsonxProxyRouteWatsonxEndpointRequest",
|
|
2223
|
+
}) as any as S.Schema<PostWatsonxProxyRouteWatsonxEndpointRequest>;
|
|
2224
|
+
|
|
2225
|
+
export interface PostWatsonxProxyRouteWatsonxEndpointResponse {
|
|
2226
|
+
body: unknown;
|
|
2227
|
+
}
|
|
2228
|
+
export const PostWatsonxProxyRouteWatsonxEndpointResponse =
|
|
2229
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2230
|
+
S.Struct({
|
|
2231
|
+
body: S.Unknown,
|
|
2232
|
+
}),
|
|
2233
|
+
).annotate({
|
|
2234
|
+
identifier: "PostWatsonxProxyRouteWatsonxEndpointResponse",
|
|
2235
|
+
}) as any as S.Schema<PostWatsonxProxyRouteWatsonxEndpointResponse>;
|
|
2236
|
+
|
|
2237
|
+
export interface PutAnthropicProxyRouteAnthropicEndpointRequest {
|
|
2238
|
+
endpoint: string;
|
|
2239
|
+
}
|
|
2240
|
+
export const PutAnthropicProxyRouteAnthropicEndpointRequest =
|
|
2241
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2242
|
+
S.Struct({
|
|
2243
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2244
|
+
}).pipe(T.Http({ method: "PUT", uri: "/anthropic/{endpoint}", code: 200 })),
|
|
2245
|
+
).annotate({
|
|
2246
|
+
identifier: "PutAnthropicProxyRouteAnthropicEndpointRequest",
|
|
2247
|
+
}) as any as S.Schema<PutAnthropicProxyRouteAnthropicEndpointRequest>;
|
|
2248
|
+
|
|
2249
|
+
export interface PutAnthropicProxyRouteAnthropicEndpointResponse {
|
|
2250
|
+
body: unknown;
|
|
2251
|
+
}
|
|
2252
|
+
export const PutAnthropicProxyRouteAnthropicEndpointResponse =
|
|
2253
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2254
|
+
S.Struct({
|
|
2255
|
+
body: S.Unknown,
|
|
2256
|
+
}),
|
|
2257
|
+
).annotate({
|
|
2258
|
+
identifier: "PutAnthropicProxyRouteAnthropicEndpointResponse",
|
|
2259
|
+
}) as any as S.Schema<PutAnthropicProxyRouteAnthropicEndpointResponse>;
|
|
2260
|
+
|
|
2261
|
+
export interface PutAssemblyaiProxyRouteAssemblyaiEndpointRequest {
|
|
2262
|
+
endpoint: string;
|
|
2263
|
+
}
|
|
2264
|
+
export const PutAssemblyaiProxyRouteAssemblyaiEndpointRequest =
|
|
2265
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2266
|
+
S.Struct({
|
|
2267
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2268
|
+
}).pipe(
|
|
2269
|
+
T.Http({ method: "PUT", uri: "/assemblyai/{endpoint}", code: 200 }),
|
|
2270
|
+
),
|
|
2271
|
+
).annotate({
|
|
2272
|
+
identifier: "PutAssemblyaiProxyRouteAssemblyaiEndpointRequest",
|
|
2273
|
+
}) as any as S.Schema<PutAssemblyaiProxyRouteAssemblyaiEndpointRequest>;
|
|
2274
|
+
|
|
2275
|
+
export interface PutAssemblyaiProxyRouteAssemblyaiEndpointResponse {
|
|
2276
|
+
body: unknown;
|
|
2277
|
+
}
|
|
2278
|
+
export const PutAssemblyaiProxyRouteAssemblyaiEndpointResponse =
|
|
2279
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2280
|
+
S.Struct({
|
|
2281
|
+
body: S.Unknown,
|
|
2282
|
+
}),
|
|
2283
|
+
).annotate({
|
|
2284
|
+
identifier: "PutAssemblyaiProxyRouteAssemblyaiEndpointResponse",
|
|
2285
|
+
}) as any as S.Schema<PutAssemblyaiProxyRouteAssemblyaiEndpointResponse>;
|
|
2286
|
+
|
|
2287
|
+
export interface PutAssemblyaiProxyRouteEuAssemblyaiEndpointRequest {
|
|
2288
|
+
endpoint: string;
|
|
2289
|
+
}
|
|
2290
|
+
export const PutAssemblyaiProxyRouteEuAssemblyaiEndpointRequest =
|
|
2291
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2292
|
+
S.Struct({
|
|
2293
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2294
|
+
}).pipe(
|
|
2295
|
+
T.Http({ method: "PUT", uri: "/eu.assemblyai/{endpoint}", code: 200 }),
|
|
2296
|
+
),
|
|
2297
|
+
).annotate({
|
|
2298
|
+
identifier: "PutAssemblyaiProxyRouteEuAssemblyaiEndpointRequest",
|
|
2299
|
+
}) as any as S.Schema<PutAssemblyaiProxyRouteEuAssemblyaiEndpointRequest>;
|
|
2300
|
+
|
|
2301
|
+
export interface PutAssemblyaiProxyRouteEuAssemblyaiEndpointResponse {
|
|
2302
|
+
body: unknown;
|
|
2303
|
+
}
|
|
2304
|
+
export const PutAssemblyaiProxyRouteEuAssemblyaiEndpointResponse =
|
|
2305
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2306
|
+
S.Struct({
|
|
2307
|
+
body: S.Unknown,
|
|
2308
|
+
}),
|
|
2309
|
+
).annotate({
|
|
2310
|
+
identifier: "PutAssemblyaiProxyRouteEuAssemblyaiEndpointResponse",
|
|
2311
|
+
}) as any as S.Schema<PutAssemblyaiProxyRouteEuAssemblyaiEndpointResponse>;
|
|
2312
|
+
|
|
2313
|
+
export interface PutAzureProxyRouteAzureAiEndpointRequest {
|
|
2314
|
+
endpoint: string;
|
|
2315
|
+
}
|
|
2316
|
+
export const PutAzureProxyRouteAzureAiEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2317
|
+
() =>
|
|
2318
|
+
S.Struct({
|
|
2319
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2320
|
+
}).pipe(T.Http({ method: "PUT", uri: "/azure_ai/{endpoint}", code: 200 })),
|
|
2321
|
+
).annotate({
|
|
2322
|
+
identifier: "PutAzureProxyRouteAzureAiEndpointRequest",
|
|
2323
|
+
}) as any as S.Schema<PutAzureProxyRouteAzureAiEndpointRequest>;
|
|
2324
|
+
|
|
2325
|
+
export interface PutAzureProxyRouteAzureAiEndpointResponse {
|
|
2326
|
+
body: unknown;
|
|
2327
|
+
}
|
|
2328
|
+
export const PutAzureProxyRouteAzureAiEndpointResponse =
|
|
2329
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2330
|
+
S.Struct({
|
|
2331
|
+
body: S.Unknown,
|
|
2332
|
+
}),
|
|
2333
|
+
).annotate({
|
|
2334
|
+
identifier: "PutAzureProxyRouteAzureAiEndpointResponse",
|
|
2335
|
+
}) as any as S.Schema<PutAzureProxyRouteAzureAiEndpointResponse>;
|
|
2336
|
+
|
|
2337
|
+
export interface PutAzureProxyRouteAzureEndpointRequest {
|
|
2338
|
+
endpoint: string;
|
|
2339
|
+
}
|
|
2340
|
+
export const PutAzureProxyRouteAzureEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2341
|
+
() =>
|
|
2342
|
+
S.Struct({
|
|
2343
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2344
|
+
}).pipe(T.Http({ method: "PUT", uri: "/azure/{endpoint}", code: 200 })),
|
|
2345
|
+
).annotate({
|
|
2346
|
+
identifier: "PutAzureProxyRouteAzureEndpointRequest",
|
|
2347
|
+
}) as any as S.Schema<PutAzureProxyRouteAzureEndpointRequest>;
|
|
2348
|
+
|
|
2349
|
+
export interface PutAzureProxyRouteAzureEndpointResponse {
|
|
2350
|
+
body: unknown;
|
|
2351
|
+
}
|
|
2352
|
+
export const PutAzureProxyRouteAzureEndpointResponse = /*@__PURE__*/ S.suspend(
|
|
2353
|
+
() =>
|
|
2354
|
+
S.Struct({
|
|
2355
|
+
body: S.Unknown,
|
|
2356
|
+
}),
|
|
2357
|
+
).annotate({
|
|
2358
|
+
identifier: "PutAzureProxyRouteAzureEndpointResponse",
|
|
2359
|
+
}) as any as S.Schema<PutAzureProxyRouteAzureEndpointResponse>;
|
|
2360
|
+
|
|
2361
|
+
export interface PutAzureSpeechProxyRouteAzureSpeechEndpointRequest {
|
|
2362
|
+
endpoint: string;
|
|
2363
|
+
}
|
|
2364
|
+
export const PutAzureSpeechProxyRouteAzureSpeechEndpointRequest =
|
|
2365
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2366
|
+
S.Struct({
|
|
2367
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2368
|
+
}).pipe(
|
|
2369
|
+
T.Http({ method: "PUT", uri: "/azure_speech/{endpoint}", code: 200 }),
|
|
2370
|
+
),
|
|
2371
|
+
).annotate({
|
|
2372
|
+
identifier: "PutAzureSpeechProxyRouteAzureSpeechEndpointRequest",
|
|
2373
|
+
}) as any as S.Schema<PutAzureSpeechProxyRouteAzureSpeechEndpointRequest>;
|
|
2374
|
+
|
|
2375
|
+
export interface PutAzureSpeechProxyRouteAzureSpeechEndpointResponse {
|
|
2376
|
+
body: unknown;
|
|
2377
|
+
}
|
|
2378
|
+
export const PutAzureSpeechProxyRouteAzureSpeechEndpointResponse =
|
|
2379
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2380
|
+
S.Struct({
|
|
2381
|
+
body: S.Unknown,
|
|
2382
|
+
}),
|
|
2383
|
+
).annotate({
|
|
2384
|
+
identifier: "PutAzureSpeechProxyRouteAzureSpeechEndpointResponse",
|
|
2385
|
+
}) as any as S.Schema<PutAzureSpeechProxyRouteAzureSpeechEndpointResponse>;
|
|
2386
|
+
|
|
2387
|
+
export interface PutBedrockProxyRouteBedrockEndpointRequest {
|
|
2388
|
+
endpoint: string;
|
|
2389
|
+
}
|
|
2390
|
+
export const PutBedrockProxyRouteBedrockEndpointRequest =
|
|
2391
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2392
|
+
S.Struct({
|
|
2393
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2394
|
+
}).pipe(T.Http({ method: "PUT", uri: "/bedrock/{endpoint}", code: 200 })),
|
|
2395
|
+
).annotate({
|
|
2396
|
+
identifier: "PutBedrockProxyRouteBedrockEndpointRequest",
|
|
2397
|
+
}) as any as S.Schema<PutBedrockProxyRouteBedrockEndpointRequest>;
|
|
2398
|
+
|
|
2399
|
+
export interface PutBedrockProxyRouteBedrockEndpointResponse {
|
|
2400
|
+
body: unknown;
|
|
2401
|
+
}
|
|
2402
|
+
export const PutBedrockProxyRouteBedrockEndpointResponse =
|
|
2403
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2404
|
+
S.Struct({
|
|
2405
|
+
body: S.Unknown,
|
|
2406
|
+
}),
|
|
2407
|
+
).annotate({
|
|
2408
|
+
identifier: "PutBedrockProxyRouteBedrockEndpointResponse",
|
|
2409
|
+
}) as any as S.Schema<PutBedrockProxyRouteBedrockEndpointResponse>;
|
|
2410
|
+
|
|
2411
|
+
export interface PutCohereProxyRouteCohereEndpointRequest {
|
|
2412
|
+
endpoint: string;
|
|
2413
|
+
}
|
|
2414
|
+
export const PutCohereProxyRouteCohereEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2415
|
+
() =>
|
|
2416
|
+
S.Struct({
|
|
2417
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2418
|
+
}).pipe(T.Http({ method: "PUT", uri: "/cohere/{endpoint}", code: 200 })),
|
|
2419
|
+
).annotate({
|
|
2420
|
+
identifier: "PutCohereProxyRouteCohereEndpointRequest",
|
|
2421
|
+
}) as any as S.Schema<PutCohereProxyRouteCohereEndpointRequest>;
|
|
2422
|
+
|
|
2423
|
+
export interface PutCohereProxyRouteCohereEndpointResponse {
|
|
2424
|
+
body: unknown;
|
|
2425
|
+
}
|
|
2426
|
+
export const PutCohereProxyRouteCohereEndpointResponse =
|
|
2427
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2428
|
+
S.Struct({
|
|
2429
|
+
body: S.Unknown,
|
|
2430
|
+
}),
|
|
2431
|
+
).annotate({
|
|
2432
|
+
identifier: "PutCohereProxyRouteCohereEndpointResponse",
|
|
2433
|
+
}) as any as S.Schema<PutCohereProxyRouteCohereEndpointResponse>;
|
|
2434
|
+
|
|
2435
|
+
export interface PutCursorProxyRouteCursorEndpointRequest {
|
|
2436
|
+
endpoint: string;
|
|
2437
|
+
}
|
|
2438
|
+
export const PutCursorProxyRouteCursorEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2439
|
+
() =>
|
|
2440
|
+
S.Struct({
|
|
2441
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2442
|
+
}).pipe(T.Http({ method: "PUT", uri: "/cursor/{endpoint}", code: 200 })),
|
|
2443
|
+
).annotate({
|
|
2444
|
+
identifier: "PutCursorProxyRouteCursorEndpointRequest",
|
|
2445
|
+
}) as any as S.Schema<PutCursorProxyRouteCursorEndpointRequest>;
|
|
2446
|
+
|
|
2447
|
+
export interface PutCursorProxyRouteCursorEndpointResponse {
|
|
2448
|
+
body: unknown;
|
|
2449
|
+
}
|
|
2450
|
+
export const PutCursorProxyRouteCursorEndpointResponse =
|
|
2451
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2452
|
+
S.Struct({
|
|
2453
|
+
body: S.Unknown,
|
|
2454
|
+
}),
|
|
2455
|
+
).annotate({
|
|
2456
|
+
identifier: "PutCursorProxyRouteCursorEndpointResponse",
|
|
2457
|
+
}) as any as S.Schema<PutCursorProxyRouteCursorEndpointResponse>;
|
|
2458
|
+
|
|
2459
|
+
export interface PutGeminiProxyRouteGeminiEndpointRequest {
|
|
2460
|
+
endpoint: string;
|
|
2461
|
+
}
|
|
2462
|
+
export const PutGeminiProxyRouteGeminiEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2463
|
+
() =>
|
|
2464
|
+
S.Struct({
|
|
2465
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2466
|
+
}).pipe(T.Http({ method: "PUT", uri: "/gemini/{endpoint}", code: 200 })),
|
|
2467
|
+
).annotate({
|
|
2468
|
+
identifier: "PutGeminiProxyRouteGeminiEndpointRequest",
|
|
2469
|
+
}) as any as S.Schema<PutGeminiProxyRouteGeminiEndpointRequest>;
|
|
2470
|
+
|
|
2471
|
+
export interface PutGeminiProxyRouteGeminiEndpointResponse {
|
|
2472
|
+
body: unknown;
|
|
2473
|
+
}
|
|
2474
|
+
export const PutGeminiProxyRouteGeminiEndpointResponse =
|
|
2475
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2476
|
+
S.Struct({
|
|
2477
|
+
body: S.Unknown,
|
|
2478
|
+
}),
|
|
2479
|
+
).annotate({
|
|
2480
|
+
identifier: "PutGeminiProxyRouteGeminiEndpointResponse",
|
|
2481
|
+
}) as any as S.Schema<PutGeminiProxyRouteGeminiEndpointResponse>;
|
|
2482
|
+
|
|
2483
|
+
export interface PutGigachatProxyRouteGigachatEndpointRequest {
|
|
2484
|
+
endpoint: string;
|
|
2485
|
+
}
|
|
2486
|
+
export const PutGigachatProxyRouteGigachatEndpointRequest =
|
|
2487
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2488
|
+
S.Struct({
|
|
2489
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2490
|
+
}).pipe(T.Http({ method: "PUT", uri: "/gigachat/{endpoint}", code: 200 })),
|
|
2491
|
+
).annotate({
|
|
2492
|
+
identifier: "PutGigachatProxyRouteGigachatEndpointRequest",
|
|
2493
|
+
}) as any as S.Schema<PutGigachatProxyRouteGigachatEndpointRequest>;
|
|
2494
|
+
|
|
2495
|
+
export interface PutGigachatProxyRouteGigachatEndpointResponse {
|
|
2496
|
+
body: unknown;
|
|
2497
|
+
}
|
|
2498
|
+
export const PutGigachatProxyRouteGigachatEndpointResponse =
|
|
2499
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2500
|
+
S.Struct({
|
|
2501
|
+
body: S.Unknown,
|
|
2502
|
+
}),
|
|
2503
|
+
).annotate({
|
|
2504
|
+
identifier: "PutGigachatProxyRouteGigachatEndpointResponse",
|
|
2505
|
+
}) as any as S.Schema<PutGigachatProxyRouteGigachatEndpointResponse>;
|
|
2506
|
+
|
|
2507
|
+
export interface PutMilvusProxyRouteMilvusEndpointRequest {
|
|
2508
|
+
endpoint: string;
|
|
2509
|
+
}
|
|
2510
|
+
export const PutMilvusProxyRouteMilvusEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2511
|
+
() =>
|
|
2512
|
+
S.Struct({
|
|
2513
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2514
|
+
}).pipe(T.Http({ method: "PUT", uri: "/milvus/{endpoint}", code: 200 })),
|
|
2515
|
+
).annotate({
|
|
2516
|
+
identifier: "PutMilvusProxyRouteMilvusEndpointRequest",
|
|
2517
|
+
}) as any as S.Schema<PutMilvusProxyRouteMilvusEndpointRequest>;
|
|
2518
|
+
|
|
2519
|
+
export interface PutMilvusProxyRouteMilvusEndpointResponse {
|
|
2520
|
+
body: unknown;
|
|
2521
|
+
}
|
|
2522
|
+
export const PutMilvusProxyRouteMilvusEndpointResponse =
|
|
2523
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2524
|
+
S.Struct({
|
|
2525
|
+
body: S.Unknown,
|
|
2526
|
+
}),
|
|
2527
|
+
).annotate({
|
|
2528
|
+
identifier: "PutMilvusProxyRouteMilvusEndpointResponse",
|
|
2529
|
+
}) as any as S.Schema<PutMilvusProxyRouteMilvusEndpointResponse>;
|
|
2530
|
+
|
|
2531
|
+
export interface PutMistralProxyRouteMistralEndpointRequest {
|
|
2532
|
+
endpoint: string;
|
|
2533
|
+
}
|
|
2534
|
+
export const PutMistralProxyRouteMistralEndpointRequest =
|
|
2535
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2536
|
+
S.Struct({
|
|
2537
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2538
|
+
}).pipe(T.Http({ method: "PUT", uri: "/mistral/{endpoint}", code: 200 })),
|
|
2539
|
+
).annotate({
|
|
2540
|
+
identifier: "PutMistralProxyRouteMistralEndpointRequest",
|
|
2541
|
+
}) as any as S.Schema<PutMistralProxyRouteMistralEndpointRequest>;
|
|
2542
|
+
|
|
2543
|
+
export interface PutMistralProxyRouteMistralEndpointResponse {
|
|
2544
|
+
body: unknown;
|
|
2545
|
+
}
|
|
2546
|
+
export const PutMistralProxyRouteMistralEndpointResponse =
|
|
2547
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2548
|
+
S.Struct({
|
|
2549
|
+
body: S.Unknown,
|
|
2550
|
+
}),
|
|
2551
|
+
).annotate({
|
|
2552
|
+
identifier: "PutMistralProxyRouteMistralEndpointResponse",
|
|
2553
|
+
}) as any as S.Schema<PutMistralProxyRouteMistralEndpointResponse>;
|
|
2554
|
+
|
|
2555
|
+
export interface PutNvidiaNimProxyRouteNvidiaNimEndpointRequest {
|
|
2556
|
+
endpoint: string;
|
|
2557
|
+
}
|
|
2558
|
+
export const PutNvidiaNimProxyRouteNvidiaNimEndpointRequest =
|
|
2559
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2560
|
+
S.Struct({
|
|
2561
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2562
|
+
}).pipe(
|
|
2563
|
+
T.Http({ method: "PUT", uri: "/nvidia_nim/{endpoint}", code: 200 }),
|
|
2564
|
+
),
|
|
2565
|
+
).annotate({
|
|
2566
|
+
identifier: "PutNvidiaNimProxyRouteNvidiaNimEndpointRequest",
|
|
2567
|
+
}) as any as S.Schema<PutNvidiaNimProxyRouteNvidiaNimEndpointRequest>;
|
|
2568
|
+
|
|
2569
|
+
export interface PutNvidiaNimProxyRouteNvidiaNimEndpointResponse {
|
|
2570
|
+
body: unknown;
|
|
2571
|
+
}
|
|
2572
|
+
export const PutNvidiaNimProxyRouteNvidiaNimEndpointResponse =
|
|
2573
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2574
|
+
S.Struct({
|
|
2575
|
+
body: S.Unknown,
|
|
2576
|
+
}),
|
|
2577
|
+
).annotate({
|
|
2578
|
+
identifier: "PutNvidiaNimProxyRouteNvidiaNimEndpointResponse",
|
|
2579
|
+
}) as any as S.Schema<PutNvidiaNimProxyRouteNvidiaNimEndpointResponse>;
|
|
2580
|
+
|
|
2581
|
+
export interface PutOpenaiProxyRouteOpenaiEndpointRequest {
|
|
2582
|
+
endpoint: string;
|
|
2583
|
+
}
|
|
2584
|
+
export const PutOpenaiProxyRouteOpenaiEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2585
|
+
() =>
|
|
2586
|
+
S.Struct({
|
|
2587
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2588
|
+
}).pipe(T.Http({ method: "PUT", uri: "/openai/{endpoint}", code: 200 })),
|
|
2589
|
+
).annotate({
|
|
2590
|
+
identifier: "PutOpenaiProxyRouteOpenaiEndpointRequest",
|
|
2591
|
+
}) as any as S.Schema<PutOpenaiProxyRouteOpenaiEndpointRequest>;
|
|
2592
|
+
|
|
2593
|
+
export interface PutOpenaiProxyRouteOpenaiEndpointResponse {
|
|
2594
|
+
body: unknown;
|
|
2595
|
+
}
|
|
2596
|
+
export const PutOpenaiProxyRouteOpenaiEndpointResponse =
|
|
2597
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2598
|
+
S.Struct({
|
|
2599
|
+
body: S.Unknown,
|
|
2600
|
+
}),
|
|
2601
|
+
).annotate({
|
|
2602
|
+
identifier: "PutOpenaiProxyRouteOpenaiEndpointResponse",
|
|
2603
|
+
}) as any as S.Schema<PutOpenaiProxyRouteOpenaiEndpointResponse>;
|
|
2604
|
+
|
|
2605
|
+
export interface PutTypesafeProxyRouteTypesafeEndpointRequest {
|
|
2606
|
+
endpoint: string;
|
|
2607
|
+
}
|
|
2608
|
+
export const PutTypesafeProxyRouteTypesafeEndpointRequest =
|
|
2609
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2610
|
+
S.Struct({
|
|
2611
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2612
|
+
}).pipe(T.Http({ method: "PUT", uri: "/typesafe/{endpoint}", code: 200 })),
|
|
2613
|
+
).annotate({
|
|
2614
|
+
identifier: "PutTypesafeProxyRouteTypesafeEndpointRequest",
|
|
2615
|
+
}) as any as S.Schema<PutTypesafeProxyRouteTypesafeEndpointRequest>;
|
|
2616
|
+
|
|
2617
|
+
export interface PutTypesafeProxyRouteTypesafeEndpointResponse {
|
|
2618
|
+
body: unknown;
|
|
2619
|
+
}
|
|
2620
|
+
export const PutTypesafeProxyRouteTypesafeEndpointResponse =
|
|
2621
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2622
|
+
S.Struct({
|
|
2623
|
+
body: S.Unknown,
|
|
2624
|
+
}),
|
|
2625
|
+
).annotate({
|
|
2626
|
+
identifier: "PutTypesafeProxyRouteTypesafeEndpointResponse",
|
|
2627
|
+
}) as any as S.Schema<PutTypesafeProxyRouteTypesafeEndpointResponse>;
|
|
2628
|
+
|
|
2629
|
+
export interface PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest {
|
|
2630
|
+
endpoint: string;
|
|
2631
|
+
}
|
|
2632
|
+
export const PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest =
|
|
2633
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2634
|
+
S.Struct({
|
|
2635
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2636
|
+
}).pipe(
|
|
2637
|
+
T.Http({
|
|
2638
|
+
method: "PUT",
|
|
2639
|
+
uri: "/vertex_ai/discovery/{endpoint}",
|
|
2640
|
+
code: 200,
|
|
2641
|
+
}),
|
|
2642
|
+
),
|
|
2643
|
+
).annotate({
|
|
2644
|
+
identifier: "PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest",
|
|
2645
|
+
}) as any as S.Schema<PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest>;
|
|
2646
|
+
|
|
2647
|
+
export interface PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse {
|
|
2648
|
+
body: unknown;
|
|
2649
|
+
}
|
|
2650
|
+
export const PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse =
|
|
2651
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2652
|
+
S.Struct({
|
|
2653
|
+
body: S.Unknown,
|
|
2654
|
+
}),
|
|
2655
|
+
).annotate({
|
|
2656
|
+
identifier: "PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse",
|
|
2657
|
+
}) as any as S.Schema<PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse>;
|
|
2658
|
+
|
|
2659
|
+
export interface PutVertexProxyRouteVertexAiEndpointRequest {
|
|
2660
|
+
endpoint: string;
|
|
2661
|
+
}
|
|
2662
|
+
export const PutVertexProxyRouteVertexAiEndpointRequest =
|
|
2663
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2664
|
+
S.Struct({
|
|
2665
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2666
|
+
}).pipe(T.Http({ method: "PUT", uri: "/vertex_ai/{endpoint}", code: 200 })),
|
|
2667
|
+
).annotate({
|
|
2668
|
+
identifier: "PutVertexProxyRouteVertexAiEndpointRequest",
|
|
2669
|
+
}) as any as S.Schema<PutVertexProxyRouteVertexAiEndpointRequest>;
|
|
2670
|
+
|
|
2671
|
+
export interface PutVertexProxyRouteVertexAiEndpointResponse {
|
|
2672
|
+
body: unknown;
|
|
2673
|
+
}
|
|
2674
|
+
export const PutVertexProxyRouteVertexAiEndpointResponse =
|
|
2675
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2676
|
+
S.Struct({
|
|
2677
|
+
body: S.Unknown,
|
|
2678
|
+
}),
|
|
2679
|
+
).annotate({
|
|
2680
|
+
identifier: "PutVertexProxyRouteVertexAiEndpointResponse",
|
|
2681
|
+
}) as any as S.Schema<PutVertexProxyRouteVertexAiEndpointResponse>;
|
|
2682
|
+
|
|
2683
|
+
export interface PutVllmProxyRouteVllmEndpointRequest {
|
|
2684
|
+
endpoint: string;
|
|
2685
|
+
}
|
|
2686
|
+
export const PutVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(
|
|
2687
|
+
() =>
|
|
2688
|
+
S.Struct({
|
|
2689
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2690
|
+
}).pipe(T.Http({ method: "PUT", uri: "/vllm/{endpoint}", code: 200 })),
|
|
2691
|
+
).annotate({
|
|
2692
|
+
identifier: "PutVllmProxyRouteVllmEndpointRequest",
|
|
2693
|
+
}) as any as S.Schema<PutVllmProxyRouteVllmEndpointRequest>;
|
|
2694
|
+
|
|
2695
|
+
export interface PutVllmProxyRouteVllmEndpointResponse {
|
|
2696
|
+
body: unknown;
|
|
2697
|
+
}
|
|
2698
|
+
export const PutVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(
|
|
2699
|
+
() =>
|
|
2700
|
+
S.Struct({
|
|
2701
|
+
body: S.Unknown,
|
|
2702
|
+
}),
|
|
2703
|
+
).annotate({
|
|
2704
|
+
identifier: "PutVllmProxyRouteVllmEndpointResponse",
|
|
2705
|
+
}) as any as S.Schema<PutVllmProxyRouteVllmEndpointResponse>;
|
|
2706
|
+
|
|
2707
|
+
export interface PutWatsonxProxyRouteWatsonxEndpointRequest {
|
|
2708
|
+
endpoint: string;
|
|
2709
|
+
}
|
|
2710
|
+
export const PutWatsonxProxyRouteWatsonxEndpointRequest =
|
|
2711
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2712
|
+
S.Struct({
|
|
2713
|
+
endpoint: S.String.pipe(T.Label()),
|
|
2714
|
+
}).pipe(T.Http({ method: "PUT", uri: "/watsonx/{endpoint}", code: 200 })),
|
|
2715
|
+
).annotate({
|
|
2716
|
+
identifier: "PutWatsonxProxyRouteWatsonxEndpointRequest",
|
|
2717
|
+
}) as any as S.Schema<PutWatsonxProxyRouteWatsonxEndpointRequest>;
|
|
2718
|
+
|
|
2719
|
+
export interface PutWatsonxProxyRouteWatsonxEndpointResponse {
|
|
2720
|
+
body: unknown;
|
|
2721
|
+
}
|
|
2722
|
+
export const PutWatsonxProxyRouteWatsonxEndpointResponse =
|
|
2723
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2724
|
+
S.Struct({
|
|
2725
|
+
body: S.Unknown,
|
|
2726
|
+
}),
|
|
2727
|
+
).annotate({
|
|
2728
|
+
identifier: "PutWatsonxProxyRouteWatsonxEndpointResponse",
|
|
2729
|
+
}) as any as S.Schema<PutWatsonxProxyRouteWatsonxEndpointResponse>;
|
|
2730
|
+
|
|
2731
|
+
export type CreateRealtimeClientSecretOpenaiV1RealtimeClientSecretsPostError =
|
|
2732
|
+
LitellmOpError;
|
|
2733
|
+
/** Create Realtime Client Secret */
|
|
2734
|
+
export const createRealtimeClientSecretOpenaiV1RealtimeClientSecretsPost: API.OperationMethod<
|
|
2735
|
+
CreateRealtimeClientSecretOpenaiV1RealtimeClientSecretsPostRequest,
|
|
2736
|
+
RealtimeClientSecretResponse,
|
|
2737
|
+
CreateRealtimeClientSecretOpenaiV1RealtimeClientSecretsPostError,
|
|
2738
|
+
LitellmOpContext
|
|
2739
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2740
|
+
input: CreateRealtimeClientSecretOpenaiV1RealtimeClientSecretsPostRequest,
|
|
2741
|
+
output: RealtimeClientSecretResponse,
|
|
2742
|
+
errors: [],
|
|
2743
|
+
protocol: LitellmProtocol,
|
|
2744
|
+
retry: Retry.Retry,
|
|
2745
|
+
}));
|
|
2746
|
+
|
|
2747
|
+
export type CreateRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPostError =
|
|
2748
|
+
LitellmOpError;
|
|
2749
|
+
/** Create Realtime Transcription Session Create an ephemeral Realtime transcription session (POST /v1/realtime/transcription_sessions) for the WebRTC/WebSocket flow. Mirrors the client_secrets route but targets the transcription_sessions endpoint and encrypts the ephemeral key returned under `client_secret.value`. */
|
|
2750
|
+
export const createRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPost: API.OperationMethod<
|
|
2751
|
+
CreateRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPostRequest,
|
|
2752
|
+
RealtimeTranscriptionSessionResponse,
|
|
2753
|
+
CreateRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPostError,
|
|
2754
|
+
LitellmOpContext
|
|
2755
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2756
|
+
input:
|
|
2757
|
+
CreateRealtimeTranscriptionSessionOpenaiV1RealtimeTranscriptionSessionsPostRequest,
|
|
2758
|
+
output: RealtimeTranscriptionSessionResponse,
|
|
2759
|
+
errors: [],
|
|
2760
|
+
protocol: LitellmProtocol,
|
|
2761
|
+
retry: Retry.Retry,
|
|
2762
|
+
}));
|
|
2763
|
+
|
|
2764
|
+
export type DeleteAnthropicProxyRouteAnthropicEndpointError =
|
|
2765
|
+
| UnprocessableEntity
|
|
2766
|
+
| LitellmOpError;
|
|
2767
|
+
/** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
|
|
2768
|
+
export const deleteAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
|
|
2769
|
+
DeleteAnthropicProxyRouteAnthropicEndpointRequest,
|
|
2770
|
+
DeleteAnthropicProxyRouteAnthropicEndpointResponse,
|
|
2771
|
+
DeleteAnthropicProxyRouteAnthropicEndpointError,
|
|
2772
|
+
LitellmOpContext
|
|
2773
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2774
|
+
input: DeleteAnthropicProxyRouteAnthropicEndpointRequest,
|
|
2775
|
+
output: DeleteAnthropicProxyRouteAnthropicEndpointResponse,
|
|
2776
|
+
errors: [UnprocessableEntity],
|
|
2777
|
+
protocol: LitellmProtocol,
|
|
2778
|
+
retry: Retry.Retry,
|
|
2779
|
+
}));
|
|
2780
|
+
|
|
2781
|
+
export type DeleteAssemblyaiProxyRouteAssemblyaiEndpointError =
|
|
2782
|
+
| UnprocessableEntity
|
|
2783
|
+
| LitellmOpError;
|
|
2784
|
+
/** Assemblyai Proxy Route */
|
|
2785
|
+
export const deleteAssemblyaiProxyRouteAssemblyaiEndpoint: API.OperationMethod<
|
|
2786
|
+
DeleteAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
2787
|
+
DeleteAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
2788
|
+
DeleteAssemblyaiProxyRouteAssemblyaiEndpointError,
|
|
2789
|
+
LitellmOpContext
|
|
2790
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2791
|
+
input: DeleteAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
2792
|
+
output: DeleteAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
2793
|
+
errors: [UnprocessableEntity],
|
|
2794
|
+
protocol: LitellmProtocol,
|
|
2795
|
+
retry: Retry.Retry,
|
|
2796
|
+
}));
|
|
2797
|
+
|
|
2798
|
+
export type DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointError =
|
|
2799
|
+
| UnprocessableEntity
|
|
2800
|
+
| LitellmOpError;
|
|
2801
|
+
/** Assemblyai Proxy Route */
|
|
2802
|
+
export const deleteAssemblyaiProxyRouteEuAssemblyaiEndpoint: API.OperationMethod<
|
|
2803
|
+
DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
2804
|
+
DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
2805
|
+
DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointError,
|
|
2806
|
+
LitellmOpContext
|
|
2807
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2808
|
+
input: DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
2809
|
+
output: DeleteAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
2810
|
+
errors: [UnprocessableEntity],
|
|
2811
|
+
protocol: LitellmProtocol,
|
|
2812
|
+
retry: Retry.Retry,
|
|
2813
|
+
}));
|
|
2814
|
+
|
|
2815
|
+
export type DeleteAzureProxyRouteAzureAiEndpointError =
|
|
2816
|
+
| UnprocessableEntity
|
|
2817
|
+
| LitellmOpError;
|
|
2818
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
2819
|
+
export const deleteAzureProxyRouteAzureAiEndpoint: API.OperationMethod<
|
|
2820
|
+
DeleteAzureProxyRouteAzureAiEndpointRequest,
|
|
2821
|
+
DeleteAzureProxyRouteAzureAiEndpointResponse,
|
|
2822
|
+
DeleteAzureProxyRouteAzureAiEndpointError,
|
|
2823
|
+
LitellmOpContext
|
|
2824
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2825
|
+
input: DeleteAzureProxyRouteAzureAiEndpointRequest,
|
|
2826
|
+
output: DeleteAzureProxyRouteAzureAiEndpointResponse,
|
|
2827
|
+
errors: [UnprocessableEntity],
|
|
2828
|
+
protocol: LitellmProtocol,
|
|
2829
|
+
retry: Retry.Retry,
|
|
2830
|
+
}));
|
|
2831
|
+
|
|
2832
|
+
export type DeleteAzureProxyRouteAzureEndpointError =
|
|
2833
|
+
| UnprocessableEntity
|
|
2834
|
+
| LitellmOpError;
|
|
2835
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
2836
|
+
export const deleteAzureProxyRouteAzureEndpoint: API.OperationMethod<
|
|
2837
|
+
DeleteAzureProxyRouteAzureEndpointRequest,
|
|
2838
|
+
DeleteAzureProxyRouteAzureEndpointResponse,
|
|
2839
|
+
DeleteAzureProxyRouteAzureEndpointError,
|
|
2840
|
+
LitellmOpContext
|
|
2841
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2842
|
+
input: DeleteAzureProxyRouteAzureEndpointRequest,
|
|
2843
|
+
output: DeleteAzureProxyRouteAzureEndpointResponse,
|
|
2844
|
+
errors: [UnprocessableEntity],
|
|
2845
|
+
protocol: LitellmProtocol,
|
|
2846
|
+
retry: Retry.Retry,
|
|
2847
|
+
}));
|
|
2848
|
+
|
|
2849
|
+
export type DeleteAzureSpeechProxyRouteAzureSpeechEndpointError =
|
|
2850
|
+
| UnprocessableEntity
|
|
2851
|
+
| LitellmOpError;
|
|
2852
|
+
/** Azure Speech Proxy Route Pass-through for the Azure AI Speech REST APIs (speech to text), e.g. `POST /azure_speech/speech/recognition/conversation/cognitiveservices/v1?language=en-US` with the raw audio as the body, or `POST /azure_speech/speechtotext/v3.2/transcriptions`. The body is forwarded byte for byte and the proxy injects its own `Ocp-Apim-Subscription-Key`; the caller's `Authorization` header is the LiteLLM key and is never forwarded. [Docs](https://docs.litellm.ai/docs/pass_through/azure_speech) */
|
|
2853
|
+
export const deleteAzureSpeechProxyRouteAzureSpeechEndpoint: API.OperationMethod<
|
|
2854
|
+
DeleteAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
2855
|
+
DeleteAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
2856
|
+
DeleteAzureSpeechProxyRouteAzureSpeechEndpointError,
|
|
2857
|
+
LitellmOpContext
|
|
2858
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2859
|
+
input: DeleteAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
2860
|
+
output: DeleteAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
2861
|
+
errors: [UnprocessableEntity],
|
|
2862
|
+
protocol: LitellmProtocol,
|
|
2863
|
+
retry: Retry.Retry,
|
|
2864
|
+
}));
|
|
2865
|
+
|
|
2866
|
+
export type DeleteBedrockProxyRouteBedrockEndpointError =
|
|
2867
|
+
| UnprocessableEntity
|
|
2868
|
+
| LitellmOpError;
|
|
2869
|
+
/** Bedrock Proxy Route This is the v1 passthrough for Bedrock. V2 is handled by the `/bedrock/v2` endpoint. [Docs](https://docs.litellm.ai/docs/pass_through/bedrock) */
|
|
2870
|
+
export const deleteBedrockProxyRouteBedrockEndpoint: API.OperationMethod<
|
|
2871
|
+
DeleteBedrockProxyRouteBedrockEndpointRequest,
|
|
2872
|
+
DeleteBedrockProxyRouteBedrockEndpointResponse,
|
|
2873
|
+
DeleteBedrockProxyRouteBedrockEndpointError,
|
|
2874
|
+
LitellmOpContext
|
|
2875
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2876
|
+
input: DeleteBedrockProxyRouteBedrockEndpointRequest,
|
|
2877
|
+
output: DeleteBedrockProxyRouteBedrockEndpointResponse,
|
|
2878
|
+
errors: [UnprocessableEntity],
|
|
2879
|
+
protocol: LitellmProtocol,
|
|
2880
|
+
retry: Retry.Retry,
|
|
2881
|
+
}));
|
|
2882
|
+
|
|
2883
|
+
export type DeleteCohereProxyRouteCohereEndpointError =
|
|
2884
|
+
| UnprocessableEntity
|
|
2885
|
+
| LitellmOpError;
|
|
2886
|
+
/** Cohere Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/cohere) */
|
|
2887
|
+
export const deleteCohereProxyRouteCohereEndpoint: API.OperationMethod<
|
|
2888
|
+
DeleteCohereProxyRouteCohereEndpointRequest,
|
|
2889
|
+
DeleteCohereProxyRouteCohereEndpointResponse,
|
|
2890
|
+
DeleteCohereProxyRouteCohereEndpointError,
|
|
2891
|
+
LitellmOpContext
|
|
2892
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2893
|
+
input: DeleteCohereProxyRouteCohereEndpointRequest,
|
|
2894
|
+
output: DeleteCohereProxyRouteCohereEndpointResponse,
|
|
2895
|
+
errors: [UnprocessableEntity],
|
|
2896
|
+
protocol: LitellmProtocol,
|
|
2897
|
+
retry: Retry.Retry,
|
|
2898
|
+
}));
|
|
2899
|
+
|
|
2900
|
+
export type DeleteCursorProxyRouteCursorEndpointError =
|
|
2901
|
+
| UnprocessableEntity
|
|
2902
|
+
| LitellmOpError;
|
|
2903
|
+
/** Cursor Proxy Route Pass-through endpoint for the Cursor Cloud Agents API. Supports all Cursor Cloud Agents endpoints: - GET /v0/agents — List agents - POST /v0/agents — Launch an agent - GET /v0/agents/{id} — Agent status - GET /v0/agents/{id}/conversation — Agent conversation - POST /v0/agents/{id}/followup — Add follow-up - POST /v0/agents/{id}/stop — Stop an agent - DELETE /v0/agents/{id} — Delete an agent - GET /v0/me — API key info - GET /v0/models — List models - GET /v0/repositories — List GitHub repositories Uses Basic Authentication (base64-encoded `API_KEY:`). Credential lookup order: 1. passthrough_endpoint_router (config.yaml deployments with use_in_pass_through) 2. litellm.credential_list (credentials added via UI) 3. CURSOR_API_KEY environment variable */
|
|
2904
|
+
export const deleteCursorProxyRouteCursorEndpoint: API.OperationMethod<
|
|
2905
|
+
DeleteCursorProxyRouteCursorEndpointRequest,
|
|
2906
|
+
DeleteCursorProxyRouteCursorEndpointResponse,
|
|
2907
|
+
DeleteCursorProxyRouteCursorEndpointError,
|
|
2908
|
+
LitellmOpContext
|
|
2909
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2910
|
+
input: DeleteCursorProxyRouteCursorEndpointRequest,
|
|
2911
|
+
output: DeleteCursorProxyRouteCursorEndpointResponse,
|
|
2912
|
+
errors: [UnprocessableEntity],
|
|
2913
|
+
protocol: LitellmProtocol,
|
|
2914
|
+
retry: Retry.Retry,
|
|
2915
|
+
}));
|
|
2916
|
+
|
|
2917
|
+
export type DeleteGeminiProxyRouteGeminiEndpointError =
|
|
2918
|
+
| UnprocessableEntity
|
|
2919
|
+
| LitellmOpError;
|
|
2920
|
+
/** Gemini Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio) */
|
|
2921
|
+
export const deleteGeminiProxyRouteGeminiEndpoint: API.OperationMethod<
|
|
2922
|
+
DeleteGeminiProxyRouteGeminiEndpointRequest,
|
|
2923
|
+
DeleteGeminiProxyRouteGeminiEndpointResponse,
|
|
2924
|
+
DeleteGeminiProxyRouteGeminiEndpointError,
|
|
2925
|
+
LitellmOpContext
|
|
2926
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2927
|
+
input: DeleteGeminiProxyRouteGeminiEndpointRequest,
|
|
2928
|
+
output: DeleteGeminiProxyRouteGeminiEndpointResponse,
|
|
2929
|
+
errors: [UnprocessableEntity],
|
|
2930
|
+
protocol: LitellmProtocol,
|
|
2931
|
+
retry: Retry.Retry,
|
|
2932
|
+
}));
|
|
2933
|
+
|
|
2934
|
+
export type DeleteGigachatProxyRouteGigachatEndpointError =
|
|
2935
|
+
| UnprocessableEntity
|
|
2936
|
+
| LitellmOpError;
|
|
2937
|
+
/** Gigachat Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/gigachat) */
|
|
2938
|
+
export const deleteGigachatProxyRouteGigachatEndpoint: API.OperationMethod<
|
|
2939
|
+
DeleteGigachatProxyRouteGigachatEndpointRequest,
|
|
2940
|
+
DeleteGigachatProxyRouteGigachatEndpointResponse,
|
|
2941
|
+
DeleteGigachatProxyRouteGigachatEndpointError,
|
|
2942
|
+
LitellmOpContext
|
|
2943
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2944
|
+
input: DeleteGigachatProxyRouteGigachatEndpointRequest,
|
|
2945
|
+
output: DeleteGigachatProxyRouteGigachatEndpointResponse,
|
|
2946
|
+
errors: [UnprocessableEntity],
|
|
2947
|
+
protocol: LitellmProtocol,
|
|
2948
|
+
retry: Retry.Retry,
|
|
2949
|
+
}));
|
|
2950
|
+
|
|
2951
|
+
export type DeleteMilvusProxyRouteMilvusEndpointError =
|
|
2952
|
+
| UnprocessableEntity
|
|
2953
|
+
| LitellmOpError;
|
|
2954
|
+
/** Milvus Proxy Route Enable using Milvus `/vectors` endpoint as a pass-through endpoint. */
|
|
2955
|
+
export const deleteMilvusProxyRouteMilvusEndpoint: API.OperationMethod<
|
|
2956
|
+
DeleteMilvusProxyRouteMilvusEndpointRequest,
|
|
2957
|
+
DeleteMilvusProxyRouteMilvusEndpointResponse,
|
|
2958
|
+
DeleteMilvusProxyRouteMilvusEndpointError,
|
|
2959
|
+
LitellmOpContext
|
|
2960
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2961
|
+
input: DeleteMilvusProxyRouteMilvusEndpointRequest,
|
|
2962
|
+
output: DeleteMilvusProxyRouteMilvusEndpointResponse,
|
|
2963
|
+
errors: [UnprocessableEntity],
|
|
2964
|
+
protocol: LitellmProtocol,
|
|
2965
|
+
retry: Retry.Retry,
|
|
2966
|
+
}));
|
|
2967
|
+
|
|
2968
|
+
export type DeleteMistralProxyRouteMistralEndpointError =
|
|
2969
|
+
| UnprocessableEntity
|
|
2970
|
+
| LitellmOpError;
|
|
2971
|
+
/** Mistral Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/mistral) */
|
|
2972
|
+
export const deleteMistralProxyRouteMistralEndpoint: API.OperationMethod<
|
|
2973
|
+
DeleteMistralProxyRouteMistralEndpointRequest,
|
|
2974
|
+
DeleteMistralProxyRouteMistralEndpointResponse,
|
|
2975
|
+
DeleteMistralProxyRouteMistralEndpointError,
|
|
2976
|
+
LitellmOpContext
|
|
2977
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2978
|
+
input: DeleteMistralProxyRouteMistralEndpointRequest,
|
|
2979
|
+
output: DeleteMistralProxyRouteMistralEndpointResponse,
|
|
2980
|
+
errors: [UnprocessableEntity],
|
|
2981
|
+
protocol: LitellmProtocol,
|
|
2982
|
+
retry: Retry.Retry,
|
|
2983
|
+
}));
|
|
2984
|
+
|
|
2985
|
+
export type DeleteNvidiaNimProxyRouteNvidiaNimEndpointError =
|
|
2986
|
+
| UnprocessableEntity
|
|
2987
|
+
| LitellmOpError;
|
|
2988
|
+
/** Nvidia Nim Proxy Route Relay a native NVIDIA NIM request through a LiteLLM model group. `{PROXY_BASE_URL}/nvidia_nim/{model_group}/v1/infer` forwards the body unchanged to the deployment's `api_base`, so object detection and OCR NIMs whose payload carries no `model` field still go through virtual key auth, model access checks, and spend logging. */
|
|
2989
|
+
export const deleteNvidiaNimProxyRouteNvidiaNimEndpoint: API.OperationMethod<
|
|
2990
|
+
DeleteNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
2991
|
+
DeleteNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
2992
|
+
DeleteNvidiaNimProxyRouteNvidiaNimEndpointError,
|
|
2993
|
+
LitellmOpContext
|
|
2994
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2995
|
+
input: DeleteNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
2996
|
+
output: DeleteNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
2997
|
+
errors: [UnprocessableEntity],
|
|
2998
|
+
protocol: LitellmProtocol,
|
|
2999
|
+
retry: Retry.Retry,
|
|
3000
|
+
}));
|
|
3001
|
+
|
|
3002
|
+
export type DeleteOpenaiProxyRouteOpenaiEndpointError =
|
|
3003
|
+
| UnprocessableEntity
|
|
3004
|
+
| LitellmOpError;
|
|
3005
|
+
/** Openai Proxy Route Pass-through endpoint for OpenAI API calls. Available on both routes: - /openai/{endpoint:path} - Standard OpenAI passthrough route - /openai_passthrough/{endpoint:path} - Dedicated passthrough route (recommended for Responses API) Use /openai_passthrough/* when you need guaranteed passthrough to OpenAI without conflicts with LiteLLM's native implementations (e.g., for the Responses API at /v1/responses). Examples: Standard route: - /openai/v1/chat/completions - /openai/v1/assistants - /openai/v1/threads Dedicated passthrough (for Responses API): - /openai_passthrough/v1/responses - /openai_passthrough/v1/responses/{response_id} - /openai_passthrough/v1/responses/{response_id}/input_items [Docs](https://docs.litellm.ai/docs/pass_through/openai_passthrough) */
|
|
3006
|
+
export const deleteOpenaiProxyRouteOpenaiEndpoint: API.OperationMethod<
|
|
3007
|
+
DeleteOpenaiProxyRouteOpenaiEndpointRequest,
|
|
3008
|
+
DeleteOpenaiProxyRouteOpenaiEndpointResponse,
|
|
3009
|
+
DeleteOpenaiProxyRouteOpenaiEndpointError,
|
|
3010
|
+
LitellmOpContext
|
|
3011
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3012
|
+
input: DeleteOpenaiProxyRouteOpenaiEndpointRequest,
|
|
3013
|
+
output: DeleteOpenaiProxyRouteOpenaiEndpointResponse,
|
|
3014
|
+
errors: [UnprocessableEntity],
|
|
3015
|
+
protocol: LitellmProtocol,
|
|
3016
|
+
retry: Retry.Retry,
|
|
3017
|
+
}));
|
|
3018
|
+
|
|
3019
|
+
export type DeleteTypesafeProxyRouteTypesafeEndpointError =
|
|
3020
|
+
| UnprocessableEntity
|
|
3021
|
+
| LitellmOpError;
|
|
3022
|
+
/** Typesafe Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/typesafe) */
|
|
3023
|
+
export const deleteTypesafeProxyRouteTypesafeEndpoint: API.OperationMethod<
|
|
3024
|
+
DeleteTypesafeProxyRouteTypesafeEndpointRequest,
|
|
3025
|
+
DeleteTypesafeProxyRouteTypesafeEndpointResponse,
|
|
3026
|
+
DeleteTypesafeProxyRouteTypesafeEndpointError,
|
|
3027
|
+
LitellmOpContext
|
|
3028
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3029
|
+
input: DeleteTypesafeProxyRouteTypesafeEndpointRequest,
|
|
3030
|
+
output: DeleteTypesafeProxyRouteTypesafeEndpointResponse,
|
|
3031
|
+
errors: [UnprocessableEntity],
|
|
3032
|
+
protocol: LitellmProtocol,
|
|
3033
|
+
retry: Retry.Retry,
|
|
3034
|
+
}));
|
|
3035
|
+
|
|
3036
|
+
export type DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError =
|
|
3037
|
+
| UnprocessableEntity
|
|
3038
|
+
| LitellmOpError;
|
|
3039
|
+
/** Vertex Discovery Proxy Route Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com` */
|
|
3040
|
+
export const deleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpoint: API.OperationMethod<
|
|
3041
|
+
DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
3042
|
+
DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
3043
|
+
DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError,
|
|
3044
|
+
LitellmOpContext
|
|
3045
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3046
|
+
input: DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
3047
|
+
output: DeleteVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
3048
|
+
errors: [UnprocessableEntity],
|
|
3049
|
+
protocol: LitellmProtocol,
|
|
3050
|
+
retry: Retry.Retry,
|
|
3051
|
+
}));
|
|
3052
|
+
|
|
3053
|
+
export type DeleteVertexProxyRouteVertexAiEndpointError =
|
|
3054
|
+
| UnprocessableEntity
|
|
3055
|
+
| LitellmOpError;
|
|
3056
|
+
/** Vertex Proxy Route Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai) */
|
|
3057
|
+
export const deleteVertexProxyRouteVertexAiEndpoint: API.OperationMethod<
|
|
3058
|
+
DeleteVertexProxyRouteVertexAiEndpointRequest,
|
|
3059
|
+
DeleteVertexProxyRouteVertexAiEndpointResponse,
|
|
3060
|
+
DeleteVertexProxyRouteVertexAiEndpointError,
|
|
3061
|
+
LitellmOpContext
|
|
3062
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3063
|
+
input: DeleteVertexProxyRouteVertexAiEndpointRequest,
|
|
3064
|
+
output: DeleteVertexProxyRouteVertexAiEndpointResponse,
|
|
3065
|
+
errors: [UnprocessableEntity],
|
|
3066
|
+
protocol: LitellmProtocol,
|
|
3067
|
+
retry: Retry.Retry,
|
|
3068
|
+
}));
|
|
3069
|
+
|
|
3070
|
+
export type DeleteVllmProxyRouteVllmEndpointError =
|
|
3071
|
+
| UnprocessableEntity
|
|
3072
|
+
| LitellmOpError;
|
|
3073
|
+
/** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
|
|
3074
|
+
export const deleteVllmProxyRouteVllmEndpoint: API.OperationMethod<
|
|
3075
|
+
DeleteVllmProxyRouteVllmEndpointRequest,
|
|
3076
|
+
DeleteVllmProxyRouteVllmEndpointResponse,
|
|
3077
|
+
DeleteVllmProxyRouteVllmEndpointError,
|
|
3078
|
+
LitellmOpContext
|
|
3079
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3080
|
+
input: DeleteVllmProxyRouteVllmEndpointRequest,
|
|
3081
|
+
output: DeleteVllmProxyRouteVllmEndpointResponse,
|
|
3082
|
+
errors: [UnprocessableEntity],
|
|
3083
|
+
protocol: LitellmProtocol,
|
|
3084
|
+
retry: Retry.Retry,
|
|
3085
|
+
}));
|
|
3086
|
+
|
|
3087
|
+
export type DeleteWatsonxProxyRouteWatsonxEndpointError =
|
|
3088
|
+
| UnprocessableEntity
|
|
3089
|
+
| LitellmOpError;
|
|
3090
|
+
/** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
|
|
3091
|
+
export const deleteWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<
|
|
3092
|
+
DeleteWatsonxProxyRouteWatsonxEndpointRequest,
|
|
3093
|
+
DeleteWatsonxProxyRouteWatsonxEndpointResponse,
|
|
3094
|
+
DeleteWatsonxProxyRouteWatsonxEndpointError,
|
|
3095
|
+
LitellmOpContext
|
|
3096
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3097
|
+
input: DeleteWatsonxProxyRouteWatsonxEndpointRequest,
|
|
3098
|
+
output: DeleteWatsonxProxyRouteWatsonxEndpointResponse,
|
|
3099
|
+
errors: [UnprocessableEntity],
|
|
3100
|
+
protocol: LitellmProtocol,
|
|
3101
|
+
retry: Retry.Retry,
|
|
3102
|
+
}));
|
|
3103
|
+
|
|
3104
|
+
export type GetAnthropicProxyRouteAnthropicEndpointError =
|
|
3105
|
+
| UnprocessableEntity
|
|
3106
|
+
| LitellmOpError;
|
|
3107
|
+
/** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
|
|
3108
|
+
export const getAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
|
|
3109
|
+
GetAnthropicProxyRouteAnthropicEndpointRequest,
|
|
3110
|
+
GetAnthropicProxyRouteAnthropicEndpointResponse,
|
|
3111
|
+
GetAnthropicProxyRouteAnthropicEndpointError,
|
|
3112
|
+
LitellmOpContext
|
|
3113
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3114
|
+
input: GetAnthropicProxyRouteAnthropicEndpointRequest,
|
|
3115
|
+
output: GetAnthropicProxyRouteAnthropicEndpointResponse,
|
|
3116
|
+
errors: [UnprocessableEntity],
|
|
3117
|
+
protocol: LitellmProtocol,
|
|
3118
|
+
retry: Retry.Retry,
|
|
3119
|
+
}));
|
|
3120
|
+
|
|
3121
|
+
export type GetAssemblyaiProxyRouteAssemblyaiEndpointError =
|
|
3122
|
+
| UnprocessableEntity
|
|
3123
|
+
| LitellmOpError;
|
|
3124
|
+
/** Assemblyai Proxy Route */
|
|
3125
|
+
export const getAssemblyaiProxyRouteAssemblyaiEndpoint: API.OperationMethod<
|
|
3126
|
+
GetAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
3127
|
+
GetAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
3128
|
+
GetAssemblyaiProxyRouteAssemblyaiEndpointError,
|
|
3129
|
+
LitellmOpContext
|
|
3130
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3131
|
+
input: GetAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
3132
|
+
output: GetAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
3133
|
+
errors: [UnprocessableEntity],
|
|
3134
|
+
protocol: LitellmProtocol,
|
|
3135
|
+
retry: Retry.Retry,
|
|
3136
|
+
}));
|
|
3137
|
+
|
|
3138
|
+
export type GetAssemblyaiProxyRouteEuAssemblyaiEndpointError =
|
|
3139
|
+
| UnprocessableEntity
|
|
3140
|
+
| LitellmOpError;
|
|
3141
|
+
/** Assemblyai Proxy Route */
|
|
3142
|
+
export const getAssemblyaiProxyRouteEuAssemblyaiEndpoint: API.OperationMethod<
|
|
3143
|
+
GetAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
3144
|
+
GetAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
3145
|
+
GetAssemblyaiProxyRouteEuAssemblyaiEndpointError,
|
|
3146
|
+
LitellmOpContext
|
|
3147
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3148
|
+
input: GetAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
3149
|
+
output: GetAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
3150
|
+
errors: [UnprocessableEntity],
|
|
3151
|
+
protocol: LitellmProtocol,
|
|
3152
|
+
retry: Retry.Retry,
|
|
3153
|
+
}));
|
|
3154
|
+
|
|
3155
|
+
export type GetAzureProxyRouteAzureAiEndpointError =
|
|
3156
|
+
| UnprocessableEntity
|
|
3157
|
+
| LitellmOpError;
|
|
3158
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
3159
|
+
export const getAzureProxyRouteAzureAiEndpoint: API.OperationMethod<
|
|
3160
|
+
GetAzureProxyRouteAzureAiEndpointRequest,
|
|
3161
|
+
GetAzureProxyRouteAzureAiEndpointResponse,
|
|
3162
|
+
GetAzureProxyRouteAzureAiEndpointError,
|
|
3163
|
+
LitellmOpContext
|
|
3164
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3165
|
+
input: GetAzureProxyRouteAzureAiEndpointRequest,
|
|
3166
|
+
output: GetAzureProxyRouteAzureAiEndpointResponse,
|
|
3167
|
+
errors: [UnprocessableEntity],
|
|
3168
|
+
protocol: LitellmProtocol,
|
|
3169
|
+
retry: Retry.Retry,
|
|
3170
|
+
}));
|
|
3171
|
+
|
|
3172
|
+
export type GetAzureProxyRouteAzureEndpointError =
|
|
3173
|
+
| UnprocessableEntity
|
|
3174
|
+
| LitellmOpError;
|
|
3175
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
3176
|
+
export const getAzureProxyRouteAzureEndpoint: API.OperationMethod<
|
|
3177
|
+
GetAzureProxyRouteAzureEndpointRequest,
|
|
3178
|
+
GetAzureProxyRouteAzureEndpointResponse,
|
|
3179
|
+
GetAzureProxyRouteAzureEndpointError,
|
|
3180
|
+
LitellmOpContext
|
|
3181
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3182
|
+
input: GetAzureProxyRouteAzureEndpointRequest,
|
|
3183
|
+
output: GetAzureProxyRouteAzureEndpointResponse,
|
|
3184
|
+
errors: [UnprocessableEntity],
|
|
3185
|
+
protocol: LitellmProtocol,
|
|
3186
|
+
retry: Retry.Retry,
|
|
3187
|
+
}));
|
|
3188
|
+
|
|
3189
|
+
export type GetAzureSpeechProxyRouteAzureSpeechEndpointError =
|
|
3190
|
+
| UnprocessableEntity
|
|
3191
|
+
| LitellmOpError;
|
|
3192
|
+
/** Azure Speech Proxy Route Pass-through for the Azure AI Speech REST APIs (speech to text), e.g. `POST /azure_speech/speech/recognition/conversation/cognitiveservices/v1?language=en-US` with the raw audio as the body, or `POST /azure_speech/speechtotext/v3.2/transcriptions`. The body is forwarded byte for byte and the proxy injects its own `Ocp-Apim-Subscription-Key`; the caller's `Authorization` header is the LiteLLM key and is never forwarded. [Docs](https://docs.litellm.ai/docs/pass_through/azure_speech) */
|
|
3193
|
+
export const getAzureSpeechProxyRouteAzureSpeechEndpoint: API.OperationMethod<
|
|
3194
|
+
GetAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
3195
|
+
GetAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
3196
|
+
GetAzureSpeechProxyRouteAzureSpeechEndpointError,
|
|
3197
|
+
LitellmOpContext
|
|
3198
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3199
|
+
input: GetAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
3200
|
+
output: GetAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
3201
|
+
errors: [UnprocessableEntity],
|
|
3202
|
+
protocol: LitellmProtocol,
|
|
3203
|
+
retry: Retry.Retry,
|
|
3204
|
+
}));
|
|
3205
|
+
|
|
3206
|
+
export type GetBedrockProxyRouteBedrockEndpointError =
|
|
3207
|
+
| UnprocessableEntity
|
|
3208
|
+
| LitellmOpError;
|
|
3209
|
+
/** Bedrock Proxy Route This is the v1 passthrough for Bedrock. V2 is handled by the `/bedrock/v2` endpoint. [Docs](https://docs.litellm.ai/docs/pass_through/bedrock) */
|
|
3210
|
+
export const getBedrockProxyRouteBedrockEndpoint: API.OperationMethod<
|
|
3211
|
+
GetBedrockProxyRouteBedrockEndpointRequest,
|
|
3212
|
+
GetBedrockProxyRouteBedrockEndpointResponse,
|
|
3213
|
+
GetBedrockProxyRouteBedrockEndpointError,
|
|
3214
|
+
LitellmOpContext
|
|
3215
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3216
|
+
input: GetBedrockProxyRouteBedrockEndpointRequest,
|
|
3217
|
+
output: GetBedrockProxyRouteBedrockEndpointResponse,
|
|
3218
|
+
errors: [UnprocessableEntity],
|
|
3219
|
+
protocol: LitellmProtocol,
|
|
3220
|
+
retry: Retry.Retry,
|
|
3221
|
+
}));
|
|
3222
|
+
|
|
3223
|
+
export type GetCohereProxyRouteCohereEndpointError =
|
|
3224
|
+
| UnprocessableEntity
|
|
3225
|
+
| LitellmOpError;
|
|
3226
|
+
/** Cohere Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/cohere) */
|
|
3227
|
+
export const getCohereProxyRouteCohereEndpoint: API.OperationMethod<
|
|
3228
|
+
GetCohereProxyRouteCohereEndpointRequest,
|
|
3229
|
+
GetCohereProxyRouteCohereEndpointResponse,
|
|
3230
|
+
GetCohereProxyRouteCohereEndpointError,
|
|
3231
|
+
LitellmOpContext
|
|
3232
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3233
|
+
input: GetCohereProxyRouteCohereEndpointRequest,
|
|
3234
|
+
output: GetCohereProxyRouteCohereEndpointResponse,
|
|
3235
|
+
errors: [UnprocessableEntity],
|
|
3236
|
+
protocol: LitellmProtocol,
|
|
3237
|
+
retry: Retry.Retry,
|
|
3238
|
+
}));
|
|
3239
|
+
|
|
3240
|
+
export type GetCursorProxyRouteCursorEndpointError =
|
|
3241
|
+
| UnprocessableEntity
|
|
3242
|
+
| LitellmOpError;
|
|
3243
|
+
/** Cursor Proxy Route Pass-through endpoint for the Cursor Cloud Agents API. Supports all Cursor Cloud Agents endpoints: - GET /v0/agents — List agents - POST /v0/agents — Launch an agent - GET /v0/agents/{id} — Agent status - GET /v0/agents/{id}/conversation — Agent conversation - POST /v0/agents/{id}/followup — Add follow-up - POST /v0/agents/{id}/stop — Stop an agent - DELETE /v0/agents/{id} — Delete an agent - GET /v0/me — API key info - GET /v0/models — List models - GET /v0/repositories — List GitHub repositories Uses Basic Authentication (base64-encoded `API_KEY:`). Credential lookup order: 1. passthrough_endpoint_router (config.yaml deployments with use_in_pass_through) 2. litellm.credential_list (credentials added via UI) 3. CURSOR_API_KEY environment variable */
|
|
3244
|
+
export const getCursorProxyRouteCursorEndpoint: API.OperationMethod<
|
|
3245
|
+
GetCursorProxyRouteCursorEndpointRequest,
|
|
3246
|
+
GetCursorProxyRouteCursorEndpointResponse,
|
|
3247
|
+
GetCursorProxyRouteCursorEndpointError,
|
|
3248
|
+
LitellmOpContext
|
|
3249
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3250
|
+
input: GetCursorProxyRouteCursorEndpointRequest,
|
|
3251
|
+
output: GetCursorProxyRouteCursorEndpointResponse,
|
|
3252
|
+
errors: [UnprocessableEntity],
|
|
3253
|
+
protocol: LitellmProtocol,
|
|
3254
|
+
retry: Retry.Retry,
|
|
3255
|
+
}));
|
|
3256
|
+
|
|
3257
|
+
export type GetGeminiProxyRouteGeminiEndpointError =
|
|
3258
|
+
| UnprocessableEntity
|
|
3259
|
+
| LitellmOpError;
|
|
3260
|
+
/** Gemini Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio) */
|
|
3261
|
+
export const getGeminiProxyRouteGeminiEndpoint: API.OperationMethod<
|
|
3262
|
+
GetGeminiProxyRouteGeminiEndpointRequest,
|
|
3263
|
+
GetGeminiProxyRouteGeminiEndpointResponse,
|
|
3264
|
+
GetGeminiProxyRouteGeminiEndpointError,
|
|
3265
|
+
LitellmOpContext
|
|
3266
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3267
|
+
input: GetGeminiProxyRouteGeminiEndpointRequest,
|
|
3268
|
+
output: GetGeminiProxyRouteGeminiEndpointResponse,
|
|
3269
|
+
errors: [UnprocessableEntity],
|
|
3270
|
+
protocol: LitellmProtocol,
|
|
3271
|
+
retry: Retry.Retry,
|
|
3272
|
+
}));
|
|
3273
|
+
|
|
3274
|
+
export type GetGigachatProxyRouteGigachatEndpointError =
|
|
3275
|
+
| UnprocessableEntity
|
|
3276
|
+
| LitellmOpError;
|
|
3277
|
+
/** Gigachat Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/gigachat) */
|
|
3278
|
+
export const getGigachatProxyRouteGigachatEndpoint: API.OperationMethod<
|
|
3279
|
+
GetGigachatProxyRouteGigachatEndpointRequest,
|
|
3280
|
+
GetGigachatProxyRouteGigachatEndpointResponse,
|
|
3281
|
+
GetGigachatProxyRouteGigachatEndpointError,
|
|
3282
|
+
LitellmOpContext
|
|
3283
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3284
|
+
input: GetGigachatProxyRouteGigachatEndpointRequest,
|
|
3285
|
+
output: GetGigachatProxyRouteGigachatEndpointResponse,
|
|
3286
|
+
errors: [UnprocessableEntity],
|
|
3287
|
+
protocol: LitellmProtocol,
|
|
3288
|
+
retry: Retry.Retry,
|
|
3289
|
+
}));
|
|
3290
|
+
|
|
3291
|
+
export type GetMilvusProxyRouteMilvusEndpointError =
|
|
3292
|
+
| UnprocessableEntity
|
|
3293
|
+
| LitellmOpError;
|
|
3294
|
+
/** Milvus Proxy Route Enable using Milvus `/vectors` endpoint as a pass-through endpoint. */
|
|
3295
|
+
export const getMilvusProxyRouteMilvusEndpoint: API.OperationMethod<
|
|
3296
|
+
GetMilvusProxyRouteMilvusEndpointRequest,
|
|
3297
|
+
GetMilvusProxyRouteMilvusEndpointResponse,
|
|
3298
|
+
GetMilvusProxyRouteMilvusEndpointError,
|
|
3299
|
+
LitellmOpContext
|
|
3300
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3301
|
+
input: GetMilvusProxyRouteMilvusEndpointRequest,
|
|
3302
|
+
output: GetMilvusProxyRouteMilvusEndpointResponse,
|
|
3303
|
+
errors: [UnprocessableEntity],
|
|
3304
|
+
protocol: LitellmProtocol,
|
|
3305
|
+
retry: Retry.Retry,
|
|
3306
|
+
}));
|
|
3307
|
+
|
|
3308
|
+
export type GetMistralProxyRouteMistralEndpointError =
|
|
3309
|
+
| UnprocessableEntity
|
|
3310
|
+
| LitellmOpError;
|
|
3311
|
+
/** Mistral Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/mistral) */
|
|
3312
|
+
export const getMistralProxyRouteMistralEndpoint: API.OperationMethod<
|
|
3313
|
+
GetMistralProxyRouteMistralEndpointRequest,
|
|
3314
|
+
GetMistralProxyRouteMistralEndpointResponse,
|
|
3315
|
+
GetMistralProxyRouteMistralEndpointError,
|
|
3316
|
+
LitellmOpContext
|
|
3317
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3318
|
+
input: GetMistralProxyRouteMistralEndpointRequest,
|
|
3319
|
+
output: GetMistralProxyRouteMistralEndpointResponse,
|
|
3320
|
+
errors: [UnprocessableEntity],
|
|
3321
|
+
protocol: LitellmProtocol,
|
|
3322
|
+
retry: Retry.Retry,
|
|
3323
|
+
}));
|
|
3324
|
+
|
|
3325
|
+
export type GetNvidiaNimProxyRouteNvidiaNimEndpointError =
|
|
3326
|
+
| UnprocessableEntity
|
|
3327
|
+
| LitellmOpError;
|
|
3328
|
+
/** Nvidia Nim Proxy Route Relay a native NVIDIA NIM request through a LiteLLM model group. `{PROXY_BASE_URL}/nvidia_nim/{model_group}/v1/infer` forwards the body unchanged to the deployment's `api_base`, so object detection and OCR NIMs whose payload carries no `model` field still go through virtual key auth, model access checks, and spend logging. */
|
|
3329
|
+
export const getNvidiaNimProxyRouteNvidiaNimEndpoint: API.OperationMethod<
|
|
3330
|
+
GetNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
3331
|
+
GetNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
3332
|
+
GetNvidiaNimProxyRouteNvidiaNimEndpointError,
|
|
3333
|
+
LitellmOpContext
|
|
3334
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3335
|
+
input: GetNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
3336
|
+
output: GetNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
3337
|
+
errors: [UnprocessableEntity],
|
|
3338
|
+
protocol: LitellmProtocol,
|
|
3339
|
+
retry: Retry.Retry,
|
|
3340
|
+
}));
|
|
3341
|
+
|
|
3342
|
+
export type GetOpenaiProxyRouteOpenaiEndpointError =
|
|
3343
|
+
| UnprocessableEntity
|
|
3344
|
+
| LitellmOpError;
|
|
3345
|
+
/** Openai Proxy Route Pass-through endpoint for OpenAI API calls. Available on both routes: - /openai/{endpoint:path} - Standard OpenAI passthrough route - /openai_passthrough/{endpoint:path} - Dedicated passthrough route (recommended for Responses API) Use /openai_passthrough/* when you need guaranteed passthrough to OpenAI without conflicts with LiteLLM's native implementations (e.g., for the Responses API at /v1/responses). Examples: Standard route: - /openai/v1/chat/completions - /openai/v1/assistants - /openai/v1/threads Dedicated passthrough (for Responses API): - /openai_passthrough/v1/responses - /openai_passthrough/v1/responses/{response_id} - /openai_passthrough/v1/responses/{response_id}/input_items [Docs](https://docs.litellm.ai/docs/pass_through/openai_passthrough) */
|
|
3346
|
+
export const getOpenaiProxyRouteOpenaiEndpoint: API.OperationMethod<
|
|
3347
|
+
GetOpenaiProxyRouteOpenaiEndpointRequest,
|
|
3348
|
+
GetOpenaiProxyRouteOpenaiEndpointResponse,
|
|
3349
|
+
GetOpenaiProxyRouteOpenaiEndpointError,
|
|
3350
|
+
LitellmOpContext
|
|
3351
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3352
|
+
input: GetOpenaiProxyRouteOpenaiEndpointRequest,
|
|
3353
|
+
output: GetOpenaiProxyRouteOpenaiEndpointResponse,
|
|
3354
|
+
errors: [UnprocessableEntity],
|
|
3355
|
+
protocol: LitellmProtocol,
|
|
3356
|
+
retry: Retry.Retry,
|
|
3357
|
+
}));
|
|
3358
|
+
|
|
3359
|
+
export type GetTypesafeProxyRouteTypesafeEndpointError =
|
|
3360
|
+
| UnprocessableEntity
|
|
3361
|
+
| LitellmOpError;
|
|
3362
|
+
/** Typesafe Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/typesafe) */
|
|
3363
|
+
export const getTypesafeProxyRouteTypesafeEndpoint: API.OperationMethod<
|
|
3364
|
+
GetTypesafeProxyRouteTypesafeEndpointRequest,
|
|
3365
|
+
GetTypesafeProxyRouteTypesafeEndpointResponse,
|
|
3366
|
+
GetTypesafeProxyRouteTypesafeEndpointError,
|
|
3367
|
+
LitellmOpContext
|
|
3368
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3369
|
+
input: GetTypesafeProxyRouteTypesafeEndpointRequest,
|
|
3370
|
+
output: GetTypesafeProxyRouteTypesafeEndpointResponse,
|
|
3371
|
+
errors: [UnprocessableEntity],
|
|
3372
|
+
protocol: LitellmProtocol,
|
|
3373
|
+
retry: Retry.Retry,
|
|
3374
|
+
}));
|
|
3375
|
+
|
|
3376
|
+
export type GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError =
|
|
3377
|
+
| UnprocessableEntity
|
|
3378
|
+
| LitellmOpError;
|
|
3379
|
+
/** Vertex Discovery Proxy Route Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com` */
|
|
3380
|
+
export const getVertexDiscoveryProxyRouteVertexAiDiscoveryEndpoint: API.OperationMethod<
|
|
3381
|
+
GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
3382
|
+
GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
3383
|
+
GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError,
|
|
3384
|
+
LitellmOpContext
|
|
3385
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3386
|
+
input: GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
3387
|
+
output: GetVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
3388
|
+
errors: [UnprocessableEntity],
|
|
3389
|
+
protocol: LitellmProtocol,
|
|
3390
|
+
retry: Retry.Retry,
|
|
3391
|
+
}));
|
|
3392
|
+
|
|
3393
|
+
export type GetVertexProxyRouteVertexAiEndpointError =
|
|
3394
|
+
| UnprocessableEntity
|
|
3395
|
+
| LitellmOpError;
|
|
3396
|
+
/** Vertex Proxy Route Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai) */
|
|
3397
|
+
export const getVertexProxyRouteVertexAiEndpoint: API.OperationMethod<
|
|
3398
|
+
GetVertexProxyRouteVertexAiEndpointRequest,
|
|
3399
|
+
GetVertexProxyRouteVertexAiEndpointResponse,
|
|
3400
|
+
GetVertexProxyRouteVertexAiEndpointError,
|
|
3401
|
+
LitellmOpContext
|
|
3402
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3403
|
+
input: GetVertexProxyRouteVertexAiEndpointRequest,
|
|
3404
|
+
output: GetVertexProxyRouteVertexAiEndpointResponse,
|
|
3405
|
+
errors: [UnprocessableEntity],
|
|
3406
|
+
protocol: LitellmProtocol,
|
|
3407
|
+
retry: Retry.Retry,
|
|
3408
|
+
}));
|
|
3409
|
+
|
|
3410
|
+
export type GetVllmProxyRouteVllmEndpointError =
|
|
3411
|
+
| UnprocessableEntity
|
|
3412
|
+
| LitellmOpError;
|
|
3413
|
+
/** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
|
|
3414
|
+
export const getVllmProxyRouteVllmEndpoint: API.OperationMethod<
|
|
3415
|
+
GetVllmProxyRouteVllmEndpointRequest,
|
|
3416
|
+
GetVllmProxyRouteVllmEndpointResponse,
|
|
3417
|
+
GetVllmProxyRouteVllmEndpointError,
|
|
3418
|
+
LitellmOpContext
|
|
3419
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3420
|
+
input: GetVllmProxyRouteVllmEndpointRequest,
|
|
3421
|
+
output: GetVllmProxyRouteVllmEndpointResponse,
|
|
3422
|
+
errors: [UnprocessableEntity],
|
|
3423
|
+
protocol: LitellmProtocol,
|
|
3424
|
+
retry: Retry.Retry,
|
|
3425
|
+
}));
|
|
3426
|
+
|
|
3427
|
+
export type GetWatsonxProxyRouteWatsonxEndpointError =
|
|
3428
|
+
| UnprocessableEntity
|
|
3429
|
+
| LitellmOpError;
|
|
3430
|
+
/** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
|
|
3431
|
+
export const getWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<
|
|
3432
|
+
GetWatsonxProxyRouteWatsonxEndpointRequest,
|
|
3433
|
+
GetWatsonxProxyRouteWatsonxEndpointResponse,
|
|
3434
|
+
GetWatsonxProxyRouteWatsonxEndpointError,
|
|
3435
|
+
LitellmOpContext
|
|
3436
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3437
|
+
input: GetWatsonxProxyRouteWatsonxEndpointRequest,
|
|
3438
|
+
output: GetWatsonxProxyRouteWatsonxEndpointResponse,
|
|
3439
|
+
errors: [UnprocessableEntity],
|
|
3440
|
+
protocol: LitellmProtocol,
|
|
3441
|
+
retry: Retry.Retry,
|
|
3442
|
+
}));
|
|
3443
|
+
|
|
3444
|
+
export type PatchAnthropicProxyRouteAnthropicEndpointError =
|
|
3445
|
+
| UnprocessableEntity
|
|
3446
|
+
| LitellmOpError;
|
|
3447
|
+
/** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
|
|
3448
|
+
export const patchAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
|
|
3449
|
+
PatchAnthropicProxyRouteAnthropicEndpointRequest,
|
|
3450
|
+
PatchAnthropicProxyRouteAnthropicEndpointResponse,
|
|
3451
|
+
PatchAnthropicProxyRouteAnthropicEndpointError,
|
|
3452
|
+
LitellmOpContext
|
|
3453
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3454
|
+
input: PatchAnthropicProxyRouteAnthropicEndpointRequest,
|
|
3455
|
+
output: PatchAnthropicProxyRouteAnthropicEndpointResponse,
|
|
3456
|
+
errors: [UnprocessableEntity],
|
|
3457
|
+
protocol: LitellmProtocol,
|
|
3458
|
+
retry: Retry.Retry,
|
|
3459
|
+
}));
|
|
3460
|
+
|
|
3461
|
+
export type PatchAssemblyaiProxyRouteAssemblyaiEndpointError =
|
|
3462
|
+
| UnprocessableEntity
|
|
3463
|
+
| LitellmOpError;
|
|
3464
|
+
/** Assemblyai Proxy Route */
|
|
3465
|
+
export const patchAssemblyaiProxyRouteAssemblyaiEndpoint: API.OperationMethod<
|
|
3466
|
+
PatchAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
3467
|
+
PatchAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
3468
|
+
PatchAssemblyaiProxyRouteAssemblyaiEndpointError,
|
|
3469
|
+
LitellmOpContext
|
|
3470
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3471
|
+
input: PatchAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
3472
|
+
output: PatchAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
3473
|
+
errors: [UnprocessableEntity],
|
|
3474
|
+
protocol: LitellmProtocol,
|
|
3475
|
+
retry: Retry.Retry,
|
|
3476
|
+
}));
|
|
3477
|
+
|
|
3478
|
+
export type PatchAssemblyaiProxyRouteEuAssemblyaiEndpointError =
|
|
3479
|
+
| UnprocessableEntity
|
|
3480
|
+
| LitellmOpError;
|
|
3481
|
+
/** Assemblyai Proxy Route */
|
|
3482
|
+
export const patchAssemblyaiProxyRouteEuAssemblyaiEndpoint: API.OperationMethod<
|
|
3483
|
+
PatchAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
3484
|
+
PatchAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
3485
|
+
PatchAssemblyaiProxyRouteEuAssemblyaiEndpointError,
|
|
3486
|
+
LitellmOpContext
|
|
3487
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3488
|
+
input: PatchAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
3489
|
+
output: PatchAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
3490
|
+
errors: [UnprocessableEntity],
|
|
3491
|
+
protocol: LitellmProtocol,
|
|
3492
|
+
retry: Retry.Retry,
|
|
3493
|
+
}));
|
|
3494
|
+
|
|
3495
|
+
export type PatchAzureProxyRouteAzureAiEndpointError =
|
|
3496
|
+
| UnprocessableEntity
|
|
3497
|
+
| LitellmOpError;
|
|
3498
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
3499
|
+
export const patchAzureProxyRouteAzureAiEndpoint: API.OperationMethod<
|
|
3500
|
+
PatchAzureProxyRouteAzureAiEndpointRequest,
|
|
3501
|
+
PatchAzureProxyRouteAzureAiEndpointResponse,
|
|
3502
|
+
PatchAzureProxyRouteAzureAiEndpointError,
|
|
3503
|
+
LitellmOpContext
|
|
3504
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3505
|
+
input: PatchAzureProxyRouteAzureAiEndpointRequest,
|
|
3506
|
+
output: PatchAzureProxyRouteAzureAiEndpointResponse,
|
|
3507
|
+
errors: [UnprocessableEntity],
|
|
3508
|
+
protocol: LitellmProtocol,
|
|
3509
|
+
retry: Retry.Retry,
|
|
3510
|
+
}));
|
|
3511
|
+
|
|
3512
|
+
export type PatchAzureProxyRouteAzureEndpointError =
|
|
3513
|
+
| UnprocessableEntity
|
|
3514
|
+
| LitellmOpError;
|
|
3515
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
3516
|
+
export const patchAzureProxyRouteAzureEndpoint: API.OperationMethod<
|
|
3517
|
+
PatchAzureProxyRouteAzureEndpointRequest,
|
|
3518
|
+
PatchAzureProxyRouteAzureEndpointResponse,
|
|
3519
|
+
PatchAzureProxyRouteAzureEndpointError,
|
|
3520
|
+
LitellmOpContext
|
|
3521
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3522
|
+
input: PatchAzureProxyRouteAzureEndpointRequest,
|
|
3523
|
+
output: PatchAzureProxyRouteAzureEndpointResponse,
|
|
3524
|
+
errors: [UnprocessableEntity],
|
|
3525
|
+
protocol: LitellmProtocol,
|
|
3526
|
+
retry: Retry.Retry,
|
|
3527
|
+
}));
|
|
3528
|
+
|
|
3529
|
+
export type PatchAzureSpeechProxyRouteAzureSpeechEndpointError =
|
|
3530
|
+
| UnprocessableEntity
|
|
3531
|
+
| LitellmOpError;
|
|
3532
|
+
/** Azure Speech Proxy Route Pass-through for the Azure AI Speech REST APIs (speech to text), e.g. `POST /azure_speech/speech/recognition/conversation/cognitiveservices/v1?language=en-US` with the raw audio as the body, or `POST /azure_speech/speechtotext/v3.2/transcriptions`. The body is forwarded byte for byte and the proxy injects its own `Ocp-Apim-Subscription-Key`; the caller's `Authorization` header is the LiteLLM key and is never forwarded. [Docs](https://docs.litellm.ai/docs/pass_through/azure_speech) */
|
|
3533
|
+
export const patchAzureSpeechProxyRouteAzureSpeechEndpoint: API.OperationMethod<
|
|
3534
|
+
PatchAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
3535
|
+
PatchAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
3536
|
+
PatchAzureSpeechProxyRouteAzureSpeechEndpointError,
|
|
3537
|
+
LitellmOpContext
|
|
3538
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3539
|
+
input: PatchAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
3540
|
+
output: PatchAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
3541
|
+
errors: [UnprocessableEntity],
|
|
3542
|
+
protocol: LitellmProtocol,
|
|
3543
|
+
retry: Retry.Retry,
|
|
3544
|
+
}));
|
|
3545
|
+
|
|
3546
|
+
export type PatchBedrockProxyRouteBedrockEndpointError =
|
|
3547
|
+
| UnprocessableEntity
|
|
3548
|
+
| LitellmOpError;
|
|
3549
|
+
/** Bedrock Proxy Route This is the v1 passthrough for Bedrock. V2 is handled by the `/bedrock/v2` endpoint. [Docs](https://docs.litellm.ai/docs/pass_through/bedrock) */
|
|
3550
|
+
export const patchBedrockProxyRouteBedrockEndpoint: API.OperationMethod<
|
|
3551
|
+
PatchBedrockProxyRouteBedrockEndpointRequest,
|
|
3552
|
+
PatchBedrockProxyRouteBedrockEndpointResponse,
|
|
3553
|
+
PatchBedrockProxyRouteBedrockEndpointError,
|
|
3554
|
+
LitellmOpContext
|
|
3555
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3556
|
+
input: PatchBedrockProxyRouteBedrockEndpointRequest,
|
|
3557
|
+
output: PatchBedrockProxyRouteBedrockEndpointResponse,
|
|
3558
|
+
errors: [UnprocessableEntity],
|
|
3559
|
+
protocol: LitellmProtocol,
|
|
3560
|
+
retry: Retry.Retry,
|
|
3561
|
+
}));
|
|
3562
|
+
|
|
3563
|
+
export type PatchCohereProxyRouteCohereEndpointError =
|
|
3564
|
+
| UnprocessableEntity
|
|
3565
|
+
| LitellmOpError;
|
|
3566
|
+
/** Cohere Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/cohere) */
|
|
3567
|
+
export const patchCohereProxyRouteCohereEndpoint: API.OperationMethod<
|
|
3568
|
+
PatchCohereProxyRouteCohereEndpointRequest,
|
|
3569
|
+
PatchCohereProxyRouteCohereEndpointResponse,
|
|
3570
|
+
PatchCohereProxyRouteCohereEndpointError,
|
|
3571
|
+
LitellmOpContext
|
|
3572
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3573
|
+
input: PatchCohereProxyRouteCohereEndpointRequest,
|
|
3574
|
+
output: PatchCohereProxyRouteCohereEndpointResponse,
|
|
3575
|
+
errors: [UnprocessableEntity],
|
|
3576
|
+
protocol: LitellmProtocol,
|
|
3577
|
+
retry: Retry.Retry,
|
|
3578
|
+
}));
|
|
3579
|
+
|
|
3580
|
+
export type PatchCursorProxyRouteCursorEndpointError =
|
|
3581
|
+
| UnprocessableEntity
|
|
3582
|
+
| LitellmOpError;
|
|
3583
|
+
/** Cursor Proxy Route Pass-through endpoint for the Cursor Cloud Agents API. Supports all Cursor Cloud Agents endpoints: - GET /v0/agents — List agents - POST /v0/agents — Launch an agent - GET /v0/agents/{id} — Agent status - GET /v0/agents/{id}/conversation — Agent conversation - POST /v0/agents/{id}/followup — Add follow-up - POST /v0/agents/{id}/stop — Stop an agent - DELETE /v0/agents/{id} — Delete an agent - GET /v0/me — API key info - GET /v0/models — List models - GET /v0/repositories — List GitHub repositories Uses Basic Authentication (base64-encoded `API_KEY:`). Credential lookup order: 1. passthrough_endpoint_router (config.yaml deployments with use_in_pass_through) 2. litellm.credential_list (credentials added via UI) 3. CURSOR_API_KEY environment variable */
|
|
3584
|
+
export const patchCursorProxyRouteCursorEndpoint: API.OperationMethod<
|
|
3585
|
+
PatchCursorProxyRouteCursorEndpointRequest,
|
|
3586
|
+
PatchCursorProxyRouteCursorEndpointResponse,
|
|
3587
|
+
PatchCursorProxyRouteCursorEndpointError,
|
|
3588
|
+
LitellmOpContext
|
|
3589
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3590
|
+
input: PatchCursorProxyRouteCursorEndpointRequest,
|
|
3591
|
+
output: PatchCursorProxyRouteCursorEndpointResponse,
|
|
3592
|
+
errors: [UnprocessableEntity],
|
|
3593
|
+
protocol: LitellmProtocol,
|
|
3594
|
+
retry: Retry.Retry,
|
|
3595
|
+
}));
|
|
3596
|
+
|
|
3597
|
+
export type PatchGeminiProxyRouteGeminiEndpointError =
|
|
3598
|
+
| UnprocessableEntity
|
|
3599
|
+
| LitellmOpError;
|
|
3600
|
+
/** Gemini Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio) */
|
|
3601
|
+
export const patchGeminiProxyRouteGeminiEndpoint: API.OperationMethod<
|
|
3602
|
+
PatchGeminiProxyRouteGeminiEndpointRequest,
|
|
3603
|
+
PatchGeminiProxyRouteGeminiEndpointResponse,
|
|
3604
|
+
PatchGeminiProxyRouteGeminiEndpointError,
|
|
3605
|
+
LitellmOpContext
|
|
3606
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3607
|
+
input: PatchGeminiProxyRouteGeminiEndpointRequest,
|
|
3608
|
+
output: PatchGeminiProxyRouteGeminiEndpointResponse,
|
|
3609
|
+
errors: [UnprocessableEntity],
|
|
3610
|
+
protocol: LitellmProtocol,
|
|
3611
|
+
retry: Retry.Retry,
|
|
3612
|
+
}));
|
|
3613
|
+
|
|
3614
|
+
export type PatchGigachatProxyRouteGigachatEndpointError =
|
|
3615
|
+
| UnprocessableEntity
|
|
3616
|
+
| LitellmOpError;
|
|
3617
|
+
/** Gigachat Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/gigachat) */
|
|
3618
|
+
export const patchGigachatProxyRouteGigachatEndpoint: API.OperationMethod<
|
|
3619
|
+
PatchGigachatProxyRouteGigachatEndpointRequest,
|
|
3620
|
+
PatchGigachatProxyRouteGigachatEndpointResponse,
|
|
3621
|
+
PatchGigachatProxyRouteGigachatEndpointError,
|
|
3622
|
+
LitellmOpContext
|
|
3623
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3624
|
+
input: PatchGigachatProxyRouteGigachatEndpointRequest,
|
|
3625
|
+
output: PatchGigachatProxyRouteGigachatEndpointResponse,
|
|
3626
|
+
errors: [UnprocessableEntity],
|
|
3627
|
+
protocol: LitellmProtocol,
|
|
3628
|
+
retry: Retry.Retry,
|
|
3629
|
+
}));
|
|
3630
|
+
|
|
3631
|
+
export type PatchMilvusProxyRouteMilvusEndpointError =
|
|
3632
|
+
| UnprocessableEntity
|
|
3633
|
+
| LitellmOpError;
|
|
3634
|
+
/** Milvus Proxy Route Enable using Milvus `/vectors` endpoint as a pass-through endpoint. */
|
|
3635
|
+
export const patchMilvusProxyRouteMilvusEndpoint: API.OperationMethod<
|
|
3636
|
+
PatchMilvusProxyRouteMilvusEndpointRequest,
|
|
3637
|
+
PatchMilvusProxyRouteMilvusEndpointResponse,
|
|
3638
|
+
PatchMilvusProxyRouteMilvusEndpointError,
|
|
3639
|
+
LitellmOpContext
|
|
3640
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3641
|
+
input: PatchMilvusProxyRouteMilvusEndpointRequest,
|
|
3642
|
+
output: PatchMilvusProxyRouteMilvusEndpointResponse,
|
|
3643
|
+
errors: [UnprocessableEntity],
|
|
3644
|
+
protocol: LitellmProtocol,
|
|
3645
|
+
retry: Retry.Retry,
|
|
3646
|
+
}));
|
|
3647
|
+
|
|
3648
|
+
export type PatchMistralProxyRouteMistralEndpointError =
|
|
3649
|
+
| UnprocessableEntity
|
|
3650
|
+
| LitellmOpError;
|
|
3651
|
+
/** Mistral Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/mistral) */
|
|
3652
|
+
export const patchMistralProxyRouteMistralEndpoint: API.OperationMethod<
|
|
3653
|
+
PatchMistralProxyRouteMistralEndpointRequest,
|
|
3654
|
+
PatchMistralProxyRouteMistralEndpointResponse,
|
|
3655
|
+
PatchMistralProxyRouteMistralEndpointError,
|
|
3656
|
+
LitellmOpContext
|
|
3657
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3658
|
+
input: PatchMistralProxyRouteMistralEndpointRequest,
|
|
3659
|
+
output: PatchMistralProxyRouteMistralEndpointResponse,
|
|
3660
|
+
errors: [UnprocessableEntity],
|
|
3661
|
+
protocol: LitellmProtocol,
|
|
3662
|
+
retry: Retry.Retry,
|
|
3663
|
+
}));
|
|
3664
|
+
|
|
3665
|
+
export type PatchNvidiaNimProxyRouteNvidiaNimEndpointError =
|
|
3666
|
+
| UnprocessableEntity
|
|
3667
|
+
| LitellmOpError;
|
|
3668
|
+
/** Nvidia Nim Proxy Route Relay a native NVIDIA NIM request through a LiteLLM model group. `{PROXY_BASE_URL}/nvidia_nim/{model_group}/v1/infer` forwards the body unchanged to the deployment's `api_base`, so object detection and OCR NIMs whose payload carries no `model` field still go through virtual key auth, model access checks, and spend logging. */
|
|
3669
|
+
export const patchNvidiaNimProxyRouteNvidiaNimEndpoint: API.OperationMethod<
|
|
3670
|
+
PatchNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
3671
|
+
PatchNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
3672
|
+
PatchNvidiaNimProxyRouteNvidiaNimEndpointError,
|
|
3673
|
+
LitellmOpContext
|
|
3674
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3675
|
+
input: PatchNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
3676
|
+
output: PatchNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
3677
|
+
errors: [UnprocessableEntity],
|
|
3678
|
+
protocol: LitellmProtocol,
|
|
3679
|
+
retry: Retry.Retry,
|
|
3680
|
+
}));
|
|
3681
|
+
|
|
3682
|
+
export type PatchOpenaiProxyRouteOpenaiEndpointError =
|
|
3683
|
+
| UnprocessableEntity
|
|
3684
|
+
| LitellmOpError;
|
|
3685
|
+
/** Openai Proxy Route Pass-through endpoint for OpenAI API calls. Available on both routes: - /openai/{endpoint:path} - Standard OpenAI passthrough route - /openai_passthrough/{endpoint:path} - Dedicated passthrough route (recommended for Responses API) Use /openai_passthrough/* when you need guaranteed passthrough to OpenAI without conflicts with LiteLLM's native implementations (e.g., for the Responses API at /v1/responses). Examples: Standard route: - /openai/v1/chat/completions - /openai/v1/assistants - /openai/v1/threads Dedicated passthrough (for Responses API): - /openai_passthrough/v1/responses - /openai_passthrough/v1/responses/{response_id} - /openai_passthrough/v1/responses/{response_id}/input_items [Docs](https://docs.litellm.ai/docs/pass_through/openai_passthrough) */
|
|
3686
|
+
export const patchOpenaiProxyRouteOpenaiEndpoint: API.OperationMethod<
|
|
3687
|
+
PatchOpenaiProxyRouteOpenaiEndpointRequest,
|
|
3688
|
+
PatchOpenaiProxyRouteOpenaiEndpointResponse,
|
|
3689
|
+
PatchOpenaiProxyRouteOpenaiEndpointError,
|
|
3690
|
+
LitellmOpContext
|
|
3691
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3692
|
+
input: PatchOpenaiProxyRouteOpenaiEndpointRequest,
|
|
3693
|
+
output: PatchOpenaiProxyRouteOpenaiEndpointResponse,
|
|
3694
|
+
errors: [UnprocessableEntity],
|
|
3695
|
+
protocol: LitellmProtocol,
|
|
3696
|
+
retry: Retry.Retry,
|
|
3697
|
+
}));
|
|
3698
|
+
|
|
3699
|
+
export type PatchTypesafeProxyRouteTypesafeEndpointError =
|
|
3700
|
+
| UnprocessableEntity
|
|
3701
|
+
| LitellmOpError;
|
|
3702
|
+
/** Typesafe Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/typesafe) */
|
|
3703
|
+
export const patchTypesafeProxyRouteTypesafeEndpoint: API.OperationMethod<
|
|
3704
|
+
PatchTypesafeProxyRouteTypesafeEndpointRequest,
|
|
3705
|
+
PatchTypesafeProxyRouteTypesafeEndpointResponse,
|
|
3706
|
+
PatchTypesafeProxyRouteTypesafeEndpointError,
|
|
3707
|
+
LitellmOpContext
|
|
3708
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3709
|
+
input: PatchTypesafeProxyRouteTypesafeEndpointRequest,
|
|
3710
|
+
output: PatchTypesafeProxyRouteTypesafeEndpointResponse,
|
|
3711
|
+
errors: [UnprocessableEntity],
|
|
3712
|
+
protocol: LitellmProtocol,
|
|
3713
|
+
retry: Retry.Retry,
|
|
3714
|
+
}));
|
|
3715
|
+
|
|
3716
|
+
export type PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError =
|
|
3717
|
+
| UnprocessableEntity
|
|
3718
|
+
| LitellmOpError;
|
|
3719
|
+
/** Vertex Discovery Proxy Route Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com` */
|
|
3720
|
+
export const patchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpoint: API.OperationMethod<
|
|
3721
|
+
PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
3722
|
+
PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
3723
|
+
PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError,
|
|
3724
|
+
LitellmOpContext
|
|
3725
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3726
|
+
input: PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
3727
|
+
output: PatchVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
3728
|
+
errors: [UnprocessableEntity],
|
|
3729
|
+
protocol: LitellmProtocol,
|
|
3730
|
+
retry: Retry.Retry,
|
|
3731
|
+
}));
|
|
3732
|
+
|
|
3733
|
+
export type PatchVertexProxyRouteVertexAiEndpointError =
|
|
3734
|
+
| UnprocessableEntity
|
|
3735
|
+
| LitellmOpError;
|
|
3736
|
+
/** Vertex Proxy Route Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai) */
|
|
3737
|
+
export const patchVertexProxyRouteVertexAiEndpoint: API.OperationMethod<
|
|
3738
|
+
PatchVertexProxyRouteVertexAiEndpointRequest,
|
|
3739
|
+
PatchVertexProxyRouteVertexAiEndpointResponse,
|
|
3740
|
+
PatchVertexProxyRouteVertexAiEndpointError,
|
|
3741
|
+
LitellmOpContext
|
|
3742
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3743
|
+
input: PatchVertexProxyRouteVertexAiEndpointRequest,
|
|
3744
|
+
output: PatchVertexProxyRouteVertexAiEndpointResponse,
|
|
3745
|
+
errors: [UnprocessableEntity],
|
|
3746
|
+
protocol: LitellmProtocol,
|
|
3747
|
+
retry: Retry.Retry,
|
|
3748
|
+
}));
|
|
3749
|
+
|
|
3750
|
+
export type PatchVllmProxyRouteVllmEndpointError =
|
|
3751
|
+
| UnprocessableEntity
|
|
3752
|
+
| LitellmOpError;
|
|
3753
|
+
/** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
|
|
3754
|
+
export const patchVllmProxyRouteVllmEndpoint: API.OperationMethod<
|
|
3755
|
+
PatchVllmProxyRouteVllmEndpointRequest,
|
|
3756
|
+
PatchVllmProxyRouteVllmEndpointResponse,
|
|
3757
|
+
PatchVllmProxyRouteVllmEndpointError,
|
|
3758
|
+
LitellmOpContext
|
|
3759
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3760
|
+
input: PatchVllmProxyRouteVllmEndpointRequest,
|
|
3761
|
+
output: PatchVllmProxyRouteVllmEndpointResponse,
|
|
3762
|
+
errors: [UnprocessableEntity],
|
|
3763
|
+
protocol: LitellmProtocol,
|
|
3764
|
+
retry: Retry.Retry,
|
|
3765
|
+
}));
|
|
3766
|
+
|
|
3767
|
+
export type PatchWatsonxProxyRouteWatsonxEndpointError =
|
|
3768
|
+
| UnprocessableEntity
|
|
3769
|
+
| LitellmOpError;
|
|
3770
|
+
/** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
|
|
3771
|
+
export const patchWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<
|
|
3772
|
+
PatchWatsonxProxyRouteWatsonxEndpointRequest,
|
|
3773
|
+
PatchWatsonxProxyRouteWatsonxEndpointResponse,
|
|
3774
|
+
PatchWatsonxProxyRouteWatsonxEndpointError,
|
|
3775
|
+
LitellmOpContext
|
|
3776
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3777
|
+
input: PatchWatsonxProxyRouteWatsonxEndpointRequest,
|
|
3778
|
+
output: PatchWatsonxProxyRouteWatsonxEndpointResponse,
|
|
3779
|
+
errors: [UnprocessableEntity],
|
|
3780
|
+
protocol: LitellmProtocol,
|
|
3781
|
+
retry: Retry.Retry,
|
|
3782
|
+
}));
|
|
3783
|
+
|
|
3784
|
+
export type PostAnthropicProxyRouteAnthropicEndpointError =
|
|
3785
|
+
| UnprocessableEntity
|
|
3786
|
+
| LitellmOpError;
|
|
3787
|
+
/** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
|
|
3788
|
+
export const postAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
|
|
3789
|
+
PostAnthropicProxyRouteAnthropicEndpointRequest,
|
|
3790
|
+
PostAnthropicProxyRouteAnthropicEndpointResponse,
|
|
3791
|
+
PostAnthropicProxyRouteAnthropicEndpointError,
|
|
3792
|
+
LitellmOpContext
|
|
3793
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3794
|
+
input: PostAnthropicProxyRouteAnthropicEndpointRequest,
|
|
3795
|
+
output: PostAnthropicProxyRouteAnthropicEndpointResponse,
|
|
3796
|
+
errors: [UnprocessableEntity],
|
|
3797
|
+
protocol: LitellmProtocol,
|
|
3798
|
+
retry: Retry.Retry,
|
|
3799
|
+
}));
|
|
3800
|
+
|
|
3801
|
+
export type PostAssemblyaiProxyRouteAssemblyaiEndpointError =
|
|
3802
|
+
| UnprocessableEntity
|
|
3803
|
+
| LitellmOpError;
|
|
3804
|
+
/** Assemblyai Proxy Route */
|
|
3805
|
+
export const postAssemblyaiProxyRouteAssemblyaiEndpoint: API.OperationMethod<
|
|
3806
|
+
PostAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
3807
|
+
PostAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
3808
|
+
PostAssemblyaiProxyRouteAssemblyaiEndpointError,
|
|
3809
|
+
LitellmOpContext
|
|
3810
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3811
|
+
input: PostAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
3812
|
+
output: PostAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
3813
|
+
errors: [UnprocessableEntity],
|
|
3814
|
+
protocol: LitellmProtocol,
|
|
3815
|
+
retry: Retry.Retry,
|
|
3816
|
+
}));
|
|
3817
|
+
|
|
3818
|
+
export type PostAssemblyaiProxyRouteEuAssemblyaiEndpointError =
|
|
3819
|
+
| UnprocessableEntity
|
|
3820
|
+
| LitellmOpError;
|
|
3821
|
+
/** Assemblyai Proxy Route */
|
|
3822
|
+
export const postAssemblyaiProxyRouteEuAssemblyaiEndpoint: API.OperationMethod<
|
|
3823
|
+
PostAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
3824
|
+
PostAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
3825
|
+
PostAssemblyaiProxyRouteEuAssemblyaiEndpointError,
|
|
3826
|
+
LitellmOpContext
|
|
3827
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3828
|
+
input: PostAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
3829
|
+
output: PostAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
3830
|
+
errors: [UnprocessableEntity],
|
|
3831
|
+
protocol: LitellmProtocol,
|
|
3832
|
+
retry: Retry.Retry,
|
|
3833
|
+
}));
|
|
3834
|
+
|
|
3835
|
+
export type PostAzureProxyRouteAzureAiEndpointError =
|
|
3836
|
+
| UnprocessableEntity
|
|
3837
|
+
| LitellmOpError;
|
|
3838
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
3839
|
+
export const postAzureProxyRouteAzureAiEndpoint: API.OperationMethod<
|
|
3840
|
+
PostAzureProxyRouteAzureAiEndpointRequest,
|
|
3841
|
+
PostAzureProxyRouteAzureAiEndpointResponse,
|
|
3842
|
+
PostAzureProxyRouteAzureAiEndpointError,
|
|
3843
|
+
LitellmOpContext
|
|
3844
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3845
|
+
input: PostAzureProxyRouteAzureAiEndpointRequest,
|
|
3846
|
+
output: PostAzureProxyRouteAzureAiEndpointResponse,
|
|
3847
|
+
errors: [UnprocessableEntity],
|
|
3848
|
+
protocol: LitellmProtocol,
|
|
3849
|
+
retry: Retry.Retry,
|
|
3850
|
+
}));
|
|
3851
|
+
|
|
3852
|
+
export type PostAzureProxyRouteAzureEndpointError =
|
|
3853
|
+
| UnprocessableEntity
|
|
3854
|
+
| LitellmOpError;
|
|
3855
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
3856
|
+
export const postAzureProxyRouteAzureEndpoint: API.OperationMethod<
|
|
3857
|
+
PostAzureProxyRouteAzureEndpointRequest,
|
|
3858
|
+
PostAzureProxyRouteAzureEndpointResponse,
|
|
3859
|
+
PostAzureProxyRouteAzureEndpointError,
|
|
3860
|
+
LitellmOpContext
|
|
3861
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3862
|
+
input: PostAzureProxyRouteAzureEndpointRequest,
|
|
3863
|
+
output: PostAzureProxyRouteAzureEndpointResponse,
|
|
3864
|
+
errors: [UnprocessableEntity],
|
|
3865
|
+
protocol: LitellmProtocol,
|
|
3866
|
+
retry: Retry.Retry,
|
|
3867
|
+
}));
|
|
3868
|
+
|
|
3869
|
+
export type PostAzureSpeechProxyRouteAzureSpeechEndpointError =
|
|
3870
|
+
| UnprocessableEntity
|
|
3871
|
+
| LitellmOpError;
|
|
3872
|
+
/** Azure Speech Proxy Route Pass-through for the Azure AI Speech REST APIs (speech to text), e.g. `POST /azure_speech/speech/recognition/conversation/cognitiveservices/v1?language=en-US` with the raw audio as the body, or `POST /azure_speech/speechtotext/v3.2/transcriptions`. The body is forwarded byte for byte and the proxy injects its own `Ocp-Apim-Subscription-Key`; the caller's `Authorization` header is the LiteLLM key and is never forwarded. [Docs](https://docs.litellm.ai/docs/pass_through/azure_speech) */
|
|
3873
|
+
export const postAzureSpeechProxyRouteAzureSpeechEndpoint: API.OperationMethod<
|
|
3874
|
+
PostAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
3875
|
+
PostAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
3876
|
+
PostAzureSpeechProxyRouteAzureSpeechEndpointError,
|
|
3877
|
+
LitellmOpContext
|
|
3878
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3879
|
+
input: PostAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
3880
|
+
output: PostAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
3881
|
+
errors: [UnprocessableEntity],
|
|
3882
|
+
protocol: LitellmProtocol,
|
|
3883
|
+
retry: Retry.Retry,
|
|
3884
|
+
}));
|
|
3885
|
+
|
|
3886
|
+
export type PostBedrockProxyRouteBedrockEndpointError =
|
|
3887
|
+
| UnprocessableEntity
|
|
3888
|
+
| LitellmOpError;
|
|
3889
|
+
/** Bedrock Proxy Route This is the v1 passthrough for Bedrock. V2 is handled by the `/bedrock/v2` endpoint. [Docs](https://docs.litellm.ai/docs/pass_through/bedrock) */
|
|
3890
|
+
export const postBedrockProxyRouteBedrockEndpoint: API.OperationMethod<
|
|
3891
|
+
PostBedrockProxyRouteBedrockEndpointRequest,
|
|
3892
|
+
PostBedrockProxyRouteBedrockEndpointResponse,
|
|
3893
|
+
PostBedrockProxyRouteBedrockEndpointError,
|
|
3894
|
+
LitellmOpContext
|
|
3895
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3896
|
+
input: PostBedrockProxyRouteBedrockEndpointRequest,
|
|
3897
|
+
output: PostBedrockProxyRouteBedrockEndpointResponse,
|
|
3898
|
+
errors: [UnprocessableEntity],
|
|
3899
|
+
protocol: LitellmProtocol,
|
|
3900
|
+
retry: Retry.Retry,
|
|
3901
|
+
}));
|
|
3902
|
+
|
|
3903
|
+
export type PostCohereProxyRouteCohereEndpointError =
|
|
3904
|
+
| UnprocessableEntity
|
|
3905
|
+
| LitellmOpError;
|
|
3906
|
+
/** Cohere Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/cohere) */
|
|
3907
|
+
export const postCohereProxyRouteCohereEndpoint: API.OperationMethod<
|
|
3908
|
+
PostCohereProxyRouteCohereEndpointRequest,
|
|
3909
|
+
PostCohereProxyRouteCohereEndpointResponse,
|
|
3910
|
+
PostCohereProxyRouteCohereEndpointError,
|
|
3911
|
+
LitellmOpContext
|
|
3912
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3913
|
+
input: PostCohereProxyRouteCohereEndpointRequest,
|
|
3914
|
+
output: PostCohereProxyRouteCohereEndpointResponse,
|
|
3915
|
+
errors: [UnprocessableEntity],
|
|
3916
|
+
protocol: LitellmProtocol,
|
|
3917
|
+
retry: Retry.Retry,
|
|
3918
|
+
}));
|
|
3919
|
+
|
|
3920
|
+
export type PostComprehendMedicalProxyRouteComprehendmedicalOperationError =
|
|
3921
|
+
| UnprocessableEntity
|
|
3922
|
+
| LitellmOpError;
|
|
3923
|
+
/** Comprehend Medical Proxy Route Pass-through for Amazon Comprehend Medical, e.g. `POST /comprehendmedical/DetectEntitiesV2`. The request body is forwarded as-is to the AWS JSON 1.1 API and signed with SigV4 using the proxy's AWS credentials. [Docs](https://docs.litellm.ai/docs/pass_through/comprehend_medical) */
|
|
3924
|
+
export const postComprehendMedicalProxyRouteComprehendmedicalOperation: API.OperationMethod<
|
|
3925
|
+
PostComprehendMedicalProxyRouteComprehendmedicalOperationRequest,
|
|
3926
|
+
PostComprehendMedicalProxyRouteComprehendmedicalOperationResponse,
|
|
3927
|
+
PostComprehendMedicalProxyRouteComprehendmedicalOperationError,
|
|
3928
|
+
LitellmOpContext
|
|
3929
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3930
|
+
input: PostComprehendMedicalProxyRouteComprehendmedicalOperationRequest,
|
|
3931
|
+
output: PostComprehendMedicalProxyRouteComprehendmedicalOperationResponse,
|
|
3932
|
+
errors: [UnprocessableEntity],
|
|
3933
|
+
protocol: LitellmProtocol,
|
|
3934
|
+
retry: Retry.Retry,
|
|
3935
|
+
}));
|
|
3936
|
+
|
|
3937
|
+
export type PostComprehendMedicalSdkProxyRouteComprehendmedicalError =
|
|
3938
|
+
LitellmOpError;
|
|
3939
|
+
/** Comprehend Medical Sdk Proxy Route AWS-SDK-shaped pass-through for Amazon Comprehend Medical: point the SDK's `endpoint_url` at `/comprehendmedical` and the operation is read from the `X-Amz-Target` header, per the AWS JSON 1.1 protocol. [Docs](https://docs.litellm.ai/docs/pass_through/comprehend_medical) */
|
|
3940
|
+
export const postComprehendMedicalSdkProxyRouteComprehendmedical: API.OperationMethod<
|
|
3941
|
+
PostComprehendMedicalSdkProxyRouteComprehendmedicalRequest,
|
|
3942
|
+
PostComprehendMedicalSdkProxyRouteComprehendmedicalResponse,
|
|
3943
|
+
PostComprehendMedicalSdkProxyRouteComprehendmedicalError,
|
|
3944
|
+
LitellmOpContext
|
|
3945
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3946
|
+
input: PostComprehendMedicalSdkProxyRouteComprehendmedicalRequest,
|
|
3947
|
+
output: PostComprehendMedicalSdkProxyRouteComprehendmedicalResponse,
|
|
3948
|
+
errors: [],
|
|
3949
|
+
protocol: LitellmProtocol,
|
|
3950
|
+
retry: Retry.Retry,
|
|
3951
|
+
}));
|
|
3952
|
+
|
|
3953
|
+
export type PostCursorProxyRouteCursorEndpointError =
|
|
3954
|
+
| UnprocessableEntity
|
|
3955
|
+
| LitellmOpError;
|
|
3956
|
+
/** Cursor Proxy Route Pass-through endpoint for the Cursor Cloud Agents API. Supports all Cursor Cloud Agents endpoints: - GET /v0/agents — List agents - POST /v0/agents — Launch an agent - GET /v0/agents/{id} — Agent status - GET /v0/agents/{id}/conversation — Agent conversation - POST /v0/agents/{id}/followup — Add follow-up - POST /v0/agents/{id}/stop — Stop an agent - DELETE /v0/agents/{id} — Delete an agent - GET /v0/me — API key info - GET /v0/models — List models - GET /v0/repositories — List GitHub repositories Uses Basic Authentication (base64-encoded `API_KEY:`). Credential lookup order: 1. passthrough_endpoint_router (config.yaml deployments with use_in_pass_through) 2. litellm.credential_list (credentials added via UI) 3. CURSOR_API_KEY environment variable */
|
|
3957
|
+
export const postCursorProxyRouteCursorEndpoint: API.OperationMethod<
|
|
3958
|
+
PostCursorProxyRouteCursorEndpointRequest,
|
|
3959
|
+
PostCursorProxyRouteCursorEndpointResponse,
|
|
3960
|
+
PostCursorProxyRouteCursorEndpointError,
|
|
3961
|
+
LitellmOpContext
|
|
3962
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3963
|
+
input: PostCursorProxyRouteCursorEndpointRequest,
|
|
3964
|
+
output: PostCursorProxyRouteCursorEndpointResponse,
|
|
3965
|
+
errors: [UnprocessableEntity],
|
|
3966
|
+
protocol: LitellmProtocol,
|
|
3967
|
+
retry: Retry.Retry,
|
|
3968
|
+
}));
|
|
3969
|
+
|
|
3970
|
+
export type PostGeminiProxyRouteGeminiEndpointError =
|
|
3971
|
+
| UnprocessableEntity
|
|
3972
|
+
| LitellmOpError;
|
|
3973
|
+
/** Gemini Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio) */
|
|
3974
|
+
export const postGeminiProxyRouteGeminiEndpoint: API.OperationMethod<
|
|
3975
|
+
PostGeminiProxyRouteGeminiEndpointRequest,
|
|
3976
|
+
PostGeminiProxyRouteGeminiEndpointResponse,
|
|
3977
|
+
PostGeminiProxyRouteGeminiEndpointError,
|
|
3978
|
+
LitellmOpContext
|
|
3979
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3980
|
+
input: PostGeminiProxyRouteGeminiEndpointRequest,
|
|
3981
|
+
output: PostGeminiProxyRouteGeminiEndpointResponse,
|
|
3982
|
+
errors: [UnprocessableEntity],
|
|
3983
|
+
protocol: LitellmProtocol,
|
|
3984
|
+
retry: Retry.Retry,
|
|
3985
|
+
}));
|
|
3986
|
+
|
|
3987
|
+
export type PostGigachatProxyRouteGigachatEndpointError =
|
|
3988
|
+
| UnprocessableEntity
|
|
3989
|
+
| LitellmOpError;
|
|
3990
|
+
/** Gigachat Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/gigachat) */
|
|
3991
|
+
export const postGigachatProxyRouteGigachatEndpoint: API.OperationMethod<
|
|
3992
|
+
PostGigachatProxyRouteGigachatEndpointRequest,
|
|
3993
|
+
PostGigachatProxyRouteGigachatEndpointResponse,
|
|
3994
|
+
PostGigachatProxyRouteGigachatEndpointError,
|
|
3995
|
+
LitellmOpContext
|
|
3996
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3997
|
+
input: PostGigachatProxyRouteGigachatEndpointRequest,
|
|
3998
|
+
output: PostGigachatProxyRouteGigachatEndpointResponse,
|
|
3999
|
+
errors: [UnprocessableEntity],
|
|
4000
|
+
protocol: LitellmProtocol,
|
|
4001
|
+
retry: Retry.Retry,
|
|
4002
|
+
}));
|
|
4003
|
+
|
|
4004
|
+
export type PostMilvusProxyRouteMilvusEndpointError =
|
|
4005
|
+
| UnprocessableEntity
|
|
4006
|
+
| LitellmOpError;
|
|
4007
|
+
/** Milvus Proxy Route Enable using Milvus `/vectors` endpoint as a pass-through endpoint. */
|
|
4008
|
+
export const postMilvusProxyRouteMilvusEndpoint: API.OperationMethod<
|
|
4009
|
+
PostMilvusProxyRouteMilvusEndpointRequest,
|
|
4010
|
+
PostMilvusProxyRouteMilvusEndpointResponse,
|
|
4011
|
+
PostMilvusProxyRouteMilvusEndpointError,
|
|
4012
|
+
LitellmOpContext
|
|
4013
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4014
|
+
input: PostMilvusProxyRouteMilvusEndpointRequest,
|
|
4015
|
+
output: PostMilvusProxyRouteMilvusEndpointResponse,
|
|
4016
|
+
errors: [UnprocessableEntity],
|
|
4017
|
+
protocol: LitellmProtocol,
|
|
4018
|
+
retry: Retry.Retry,
|
|
4019
|
+
}));
|
|
4020
|
+
|
|
4021
|
+
export type PostMistralProxyRouteMistralEndpointError =
|
|
4022
|
+
| UnprocessableEntity
|
|
4023
|
+
| LitellmOpError;
|
|
4024
|
+
/** Mistral Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/mistral) */
|
|
4025
|
+
export const postMistralProxyRouteMistralEndpoint: API.OperationMethod<
|
|
4026
|
+
PostMistralProxyRouteMistralEndpointRequest,
|
|
4027
|
+
PostMistralProxyRouteMistralEndpointResponse,
|
|
4028
|
+
PostMistralProxyRouteMistralEndpointError,
|
|
4029
|
+
LitellmOpContext
|
|
4030
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4031
|
+
input: PostMistralProxyRouteMistralEndpointRequest,
|
|
4032
|
+
output: PostMistralProxyRouteMistralEndpointResponse,
|
|
4033
|
+
errors: [UnprocessableEntity],
|
|
4034
|
+
protocol: LitellmProtocol,
|
|
4035
|
+
retry: Retry.Retry,
|
|
4036
|
+
}));
|
|
4037
|
+
|
|
4038
|
+
export type PostNvidiaNimProxyRouteNvidiaNimEndpointError =
|
|
4039
|
+
| UnprocessableEntity
|
|
4040
|
+
| LitellmOpError;
|
|
4041
|
+
/** Nvidia Nim Proxy Route Relay a native NVIDIA NIM request through a LiteLLM model group. `{PROXY_BASE_URL}/nvidia_nim/{model_group}/v1/infer` forwards the body unchanged to the deployment's `api_base`, so object detection and OCR NIMs whose payload carries no `model` field still go through virtual key auth, model access checks, and spend logging. */
|
|
4042
|
+
export const postNvidiaNimProxyRouteNvidiaNimEndpoint: API.OperationMethod<
|
|
4043
|
+
PostNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
4044
|
+
PostNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
4045
|
+
PostNvidiaNimProxyRouteNvidiaNimEndpointError,
|
|
4046
|
+
LitellmOpContext
|
|
4047
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4048
|
+
input: PostNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
4049
|
+
output: PostNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
4050
|
+
errors: [UnprocessableEntity],
|
|
4051
|
+
protocol: LitellmProtocol,
|
|
4052
|
+
retry: Retry.Retry,
|
|
4053
|
+
}));
|
|
4054
|
+
|
|
4055
|
+
export type PostOpenaiProxyRouteOpenaiEndpointError =
|
|
4056
|
+
| UnprocessableEntity
|
|
4057
|
+
| LitellmOpError;
|
|
4058
|
+
/** Openai Proxy Route Pass-through endpoint for OpenAI API calls. Available on both routes: - /openai/{endpoint:path} - Standard OpenAI passthrough route - /openai_passthrough/{endpoint:path} - Dedicated passthrough route (recommended for Responses API) Use /openai_passthrough/* when you need guaranteed passthrough to OpenAI without conflicts with LiteLLM's native implementations (e.g., for the Responses API at /v1/responses). Examples: Standard route: - /openai/v1/chat/completions - /openai/v1/assistants - /openai/v1/threads Dedicated passthrough (for Responses API): - /openai_passthrough/v1/responses - /openai_passthrough/v1/responses/{response_id} - /openai_passthrough/v1/responses/{response_id}/input_items [Docs](https://docs.litellm.ai/docs/pass_through/openai_passthrough) */
|
|
4059
|
+
export const postOpenaiProxyRouteOpenaiEndpoint: API.OperationMethod<
|
|
4060
|
+
PostOpenaiProxyRouteOpenaiEndpointRequest,
|
|
4061
|
+
PostOpenaiProxyRouteOpenaiEndpointResponse,
|
|
4062
|
+
PostOpenaiProxyRouteOpenaiEndpointError,
|
|
4063
|
+
LitellmOpContext
|
|
4064
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4065
|
+
input: PostOpenaiProxyRouteOpenaiEndpointRequest,
|
|
4066
|
+
output: PostOpenaiProxyRouteOpenaiEndpointResponse,
|
|
4067
|
+
errors: [UnprocessableEntity],
|
|
4068
|
+
protocol: LitellmProtocol,
|
|
4069
|
+
retry: Retry.Retry,
|
|
4070
|
+
}));
|
|
4071
|
+
|
|
4072
|
+
export type PostProxyRealtimeCallsOpenaiV1RealtimeCallError = LitellmOpError;
|
|
4073
|
+
/** Proxy Realtime Calls */
|
|
4074
|
+
export const postProxyRealtimeCallsOpenaiV1RealtimeCall: API.OperationMethod<
|
|
4075
|
+
PostProxyRealtimeCallsOpenaiV1RealtimeCallRequest,
|
|
4076
|
+
PostProxyRealtimeCallsOpenaiV1RealtimeCallResponse,
|
|
4077
|
+
PostProxyRealtimeCallsOpenaiV1RealtimeCallError,
|
|
4078
|
+
LitellmOpContext
|
|
4079
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4080
|
+
input: PostProxyRealtimeCallsOpenaiV1RealtimeCallRequest,
|
|
4081
|
+
output: PostProxyRealtimeCallsOpenaiV1RealtimeCallResponse,
|
|
4082
|
+
errors: [],
|
|
4083
|
+
protocol: LitellmProtocol,
|
|
4084
|
+
retry: Retry.Retry,
|
|
4085
|
+
}));
|
|
4086
|
+
|
|
4087
|
+
export type PostTranscribeProxyRouteTranscribeOperationError =
|
|
4088
|
+
| UnprocessableEntity
|
|
4089
|
+
| LitellmOpError;
|
|
4090
|
+
/** Transcribe Proxy Route Pass-through for the Amazon Transcribe API, e.g. `POST /transcribe/StartTranscriptionJob`. The request body is forwarded to the AWS JSON 1.1 API and signed with SigV4 using the proxy's AWS credentials. Standard jobs are tagged with the calling key's owner so that only that owner (or a proxy admin) can read or delete them, and keys other than proxy admins may only read media from and write transcripts to the S3 buckets listed in `general_settings.transcribe_media_buckets`; account-wide operations such as ListTranscriptionJobs are limited to proxy admins. Streaming transcription (`transcribestreaming`) uses a separate HTTP/2 event-stream protocol and is not served by this route. [Docs](https://docs.litellm.ai/docs/pass_through/transcribe) */
|
|
4091
|
+
export const postTranscribeProxyRouteTranscribeOperation: API.OperationMethod<
|
|
4092
|
+
PostTranscribeProxyRouteTranscribeOperationRequest,
|
|
4093
|
+
PostTranscribeProxyRouteTranscribeOperationResponse,
|
|
4094
|
+
PostTranscribeProxyRouteTranscribeOperationError,
|
|
4095
|
+
LitellmOpContext
|
|
4096
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4097
|
+
input: PostTranscribeProxyRouteTranscribeOperationRequest,
|
|
4098
|
+
output: PostTranscribeProxyRouteTranscribeOperationResponse,
|
|
4099
|
+
errors: [UnprocessableEntity],
|
|
4100
|
+
protocol: LitellmProtocol,
|
|
4101
|
+
retry: Retry.Retry,
|
|
4102
|
+
}));
|
|
4103
|
+
|
|
4104
|
+
export type PostTranscribeSdkProxyRouteTranscribeError = LitellmOpError;
|
|
4105
|
+
/** Transcribe Sdk Proxy Route AWS-SDK-shaped pass-through for Amazon Transcribe: point the SDK's `endpoint_url` at `/transcribe` and the operation is read from the `X-Amz-Target` header, per the AWS JSON 1.1 protocol. [Docs](https://docs.litellm.ai/docs/pass_through/transcribe) */
|
|
4106
|
+
export const postTranscribeSdkProxyRouteTranscribe: API.OperationMethod<
|
|
4107
|
+
PostTranscribeSdkProxyRouteTranscribeRequest,
|
|
4108
|
+
PostTranscribeSdkProxyRouteTranscribeResponse,
|
|
4109
|
+
PostTranscribeSdkProxyRouteTranscribeError,
|
|
4110
|
+
LitellmOpContext
|
|
4111
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4112
|
+
input: PostTranscribeSdkProxyRouteTranscribeRequest,
|
|
4113
|
+
output: PostTranscribeSdkProxyRouteTranscribeResponse,
|
|
4114
|
+
errors: [],
|
|
4115
|
+
protocol: LitellmProtocol,
|
|
4116
|
+
retry: Retry.Retry,
|
|
4117
|
+
}));
|
|
4118
|
+
|
|
4119
|
+
export type PostTypesafeProxyRouteTypesafeEndpointError =
|
|
4120
|
+
| UnprocessableEntity
|
|
4121
|
+
| LitellmOpError;
|
|
4122
|
+
/** Typesafe Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/typesafe) */
|
|
4123
|
+
export const postTypesafeProxyRouteTypesafeEndpoint: API.OperationMethod<
|
|
4124
|
+
PostTypesafeProxyRouteTypesafeEndpointRequest,
|
|
4125
|
+
PostTypesafeProxyRouteTypesafeEndpointResponse,
|
|
4126
|
+
PostTypesafeProxyRouteTypesafeEndpointError,
|
|
4127
|
+
LitellmOpContext
|
|
4128
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4129
|
+
input: PostTypesafeProxyRouteTypesafeEndpointRequest,
|
|
4130
|
+
output: PostTypesafeProxyRouteTypesafeEndpointResponse,
|
|
4131
|
+
errors: [UnprocessableEntity],
|
|
4132
|
+
protocol: LitellmProtocol,
|
|
4133
|
+
retry: Retry.Retry,
|
|
4134
|
+
}));
|
|
4135
|
+
|
|
4136
|
+
export type PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError =
|
|
4137
|
+
| UnprocessableEntity
|
|
4138
|
+
| LitellmOpError;
|
|
4139
|
+
/** Vertex Discovery Proxy Route Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com` */
|
|
4140
|
+
export const postVertexDiscoveryProxyRouteVertexAiDiscoveryEndpoint: API.OperationMethod<
|
|
4141
|
+
PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
4142
|
+
PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
4143
|
+
PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError,
|
|
4144
|
+
LitellmOpContext
|
|
4145
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4146
|
+
input: PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
4147
|
+
output: PostVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
4148
|
+
errors: [UnprocessableEntity],
|
|
4149
|
+
protocol: LitellmProtocol,
|
|
4150
|
+
retry: Retry.Retry,
|
|
4151
|
+
}));
|
|
4152
|
+
|
|
4153
|
+
export type PostVertexProxyRouteVertexAiEndpointError =
|
|
4154
|
+
| UnprocessableEntity
|
|
4155
|
+
| LitellmOpError;
|
|
4156
|
+
/** Vertex Proxy Route Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai) */
|
|
4157
|
+
export const postVertexProxyRouteVertexAiEndpoint: API.OperationMethod<
|
|
4158
|
+
PostVertexProxyRouteVertexAiEndpointRequest,
|
|
4159
|
+
PostVertexProxyRouteVertexAiEndpointResponse,
|
|
4160
|
+
PostVertexProxyRouteVertexAiEndpointError,
|
|
4161
|
+
LitellmOpContext
|
|
4162
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4163
|
+
input: PostVertexProxyRouteVertexAiEndpointRequest,
|
|
4164
|
+
output: PostVertexProxyRouteVertexAiEndpointResponse,
|
|
4165
|
+
errors: [UnprocessableEntity],
|
|
4166
|
+
protocol: LitellmProtocol,
|
|
4167
|
+
retry: Retry.Retry,
|
|
4168
|
+
}));
|
|
4169
|
+
|
|
4170
|
+
export type PostVllmProxyRouteVllmEndpointError =
|
|
4171
|
+
| UnprocessableEntity
|
|
4172
|
+
| LitellmOpError;
|
|
4173
|
+
/** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
|
|
4174
|
+
export const postVllmProxyRouteVllmEndpoint: API.OperationMethod<
|
|
4175
|
+
PostVllmProxyRouteVllmEndpointRequest,
|
|
4176
|
+
PostVllmProxyRouteVllmEndpointResponse,
|
|
4177
|
+
PostVllmProxyRouteVllmEndpointError,
|
|
4178
|
+
LitellmOpContext
|
|
4179
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4180
|
+
input: PostVllmProxyRouteVllmEndpointRequest,
|
|
4181
|
+
output: PostVllmProxyRouteVllmEndpointResponse,
|
|
4182
|
+
errors: [UnprocessableEntity],
|
|
4183
|
+
protocol: LitellmProtocol,
|
|
4184
|
+
retry: Retry.Retry,
|
|
4185
|
+
}));
|
|
4186
|
+
|
|
4187
|
+
export type PostWatsonxProxyRouteWatsonxEndpointError =
|
|
4188
|
+
| UnprocessableEntity
|
|
4189
|
+
| LitellmOpError;
|
|
4190
|
+
/** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
|
|
4191
|
+
export const postWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<
|
|
4192
|
+
PostWatsonxProxyRouteWatsonxEndpointRequest,
|
|
4193
|
+
PostWatsonxProxyRouteWatsonxEndpointResponse,
|
|
4194
|
+
PostWatsonxProxyRouteWatsonxEndpointError,
|
|
4195
|
+
LitellmOpContext
|
|
4196
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4197
|
+
input: PostWatsonxProxyRouteWatsonxEndpointRequest,
|
|
4198
|
+
output: PostWatsonxProxyRouteWatsonxEndpointResponse,
|
|
4199
|
+
errors: [UnprocessableEntity],
|
|
4200
|
+
protocol: LitellmProtocol,
|
|
4201
|
+
retry: Retry.Retry,
|
|
4202
|
+
}));
|
|
4203
|
+
|
|
4204
|
+
export type PutAnthropicProxyRouteAnthropicEndpointError =
|
|
4205
|
+
| UnprocessableEntity
|
|
4206
|
+
| LitellmOpError;
|
|
4207
|
+
/** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
|
|
4208
|
+
export const putAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
|
|
4209
|
+
PutAnthropicProxyRouteAnthropicEndpointRequest,
|
|
4210
|
+
PutAnthropicProxyRouteAnthropicEndpointResponse,
|
|
4211
|
+
PutAnthropicProxyRouteAnthropicEndpointError,
|
|
4212
|
+
LitellmOpContext
|
|
4213
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4214
|
+
input: PutAnthropicProxyRouteAnthropicEndpointRequest,
|
|
4215
|
+
output: PutAnthropicProxyRouteAnthropicEndpointResponse,
|
|
4216
|
+
errors: [UnprocessableEntity],
|
|
4217
|
+
protocol: LitellmProtocol,
|
|
4218
|
+
retry: Retry.Retry,
|
|
4219
|
+
}));
|
|
4220
|
+
|
|
4221
|
+
export type PutAssemblyaiProxyRouteAssemblyaiEndpointError =
|
|
4222
|
+
| UnprocessableEntity
|
|
4223
|
+
| LitellmOpError;
|
|
4224
|
+
/** Assemblyai Proxy Route */
|
|
4225
|
+
export const putAssemblyaiProxyRouteAssemblyaiEndpoint: API.OperationMethod<
|
|
4226
|
+
PutAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
4227
|
+
PutAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
4228
|
+
PutAssemblyaiProxyRouteAssemblyaiEndpointError,
|
|
4229
|
+
LitellmOpContext
|
|
4230
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4231
|
+
input: PutAssemblyaiProxyRouteAssemblyaiEndpointRequest,
|
|
4232
|
+
output: PutAssemblyaiProxyRouteAssemblyaiEndpointResponse,
|
|
4233
|
+
errors: [UnprocessableEntity],
|
|
4234
|
+
protocol: LitellmProtocol,
|
|
4235
|
+
retry: Retry.Retry,
|
|
4236
|
+
}));
|
|
4237
|
+
|
|
4238
|
+
export type PutAssemblyaiProxyRouteEuAssemblyaiEndpointError =
|
|
4239
|
+
| UnprocessableEntity
|
|
4240
|
+
| LitellmOpError;
|
|
4241
|
+
/** Assemblyai Proxy Route */
|
|
4242
|
+
export const putAssemblyaiProxyRouteEuAssemblyaiEndpoint: API.OperationMethod<
|
|
4243
|
+
PutAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
4244
|
+
PutAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
4245
|
+
PutAssemblyaiProxyRouteEuAssemblyaiEndpointError,
|
|
4246
|
+
LitellmOpContext
|
|
4247
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4248
|
+
input: PutAssemblyaiProxyRouteEuAssemblyaiEndpointRequest,
|
|
4249
|
+
output: PutAssemblyaiProxyRouteEuAssemblyaiEndpointResponse,
|
|
4250
|
+
errors: [UnprocessableEntity],
|
|
4251
|
+
protocol: LitellmProtocol,
|
|
4252
|
+
retry: Retry.Retry,
|
|
4253
|
+
}));
|
|
4254
|
+
|
|
4255
|
+
export type PutAzureProxyRouteAzureAiEndpointError =
|
|
4256
|
+
| UnprocessableEntity
|
|
4257
|
+
| LitellmOpError;
|
|
4258
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
4259
|
+
export const putAzureProxyRouteAzureAiEndpoint: API.OperationMethod<
|
|
4260
|
+
PutAzureProxyRouteAzureAiEndpointRequest,
|
|
4261
|
+
PutAzureProxyRouteAzureAiEndpointResponse,
|
|
4262
|
+
PutAzureProxyRouteAzureAiEndpointError,
|
|
4263
|
+
LitellmOpContext
|
|
4264
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4265
|
+
input: PutAzureProxyRouteAzureAiEndpointRequest,
|
|
4266
|
+
output: PutAzureProxyRouteAzureAiEndpointResponse,
|
|
4267
|
+
errors: [UnprocessableEntity],
|
|
4268
|
+
protocol: LitellmProtocol,
|
|
4269
|
+
retry: Retry.Retry,
|
|
4270
|
+
}));
|
|
4271
|
+
|
|
4272
|
+
export type PutAzureProxyRouteAzureEndpointError =
|
|
4273
|
+
| UnprocessableEntity
|
|
4274
|
+
| LitellmOpError;
|
|
4275
|
+
/** Azure Proxy Route Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}` Checks if the deployment id in the url is a litellm model name. If so, it will route using the llm_router.allm_passthrough_route. */
|
|
4276
|
+
export const putAzureProxyRouteAzureEndpoint: API.OperationMethod<
|
|
4277
|
+
PutAzureProxyRouteAzureEndpointRequest,
|
|
4278
|
+
PutAzureProxyRouteAzureEndpointResponse,
|
|
4279
|
+
PutAzureProxyRouteAzureEndpointError,
|
|
4280
|
+
LitellmOpContext
|
|
4281
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4282
|
+
input: PutAzureProxyRouteAzureEndpointRequest,
|
|
4283
|
+
output: PutAzureProxyRouteAzureEndpointResponse,
|
|
4284
|
+
errors: [UnprocessableEntity],
|
|
4285
|
+
protocol: LitellmProtocol,
|
|
4286
|
+
retry: Retry.Retry,
|
|
4287
|
+
}));
|
|
4288
|
+
|
|
4289
|
+
export type PutAzureSpeechProxyRouteAzureSpeechEndpointError =
|
|
4290
|
+
| UnprocessableEntity
|
|
4291
|
+
| LitellmOpError;
|
|
4292
|
+
/** Azure Speech Proxy Route Pass-through for the Azure AI Speech REST APIs (speech to text), e.g. `POST /azure_speech/speech/recognition/conversation/cognitiveservices/v1?language=en-US` with the raw audio as the body, or `POST /azure_speech/speechtotext/v3.2/transcriptions`. The body is forwarded byte for byte and the proxy injects its own `Ocp-Apim-Subscription-Key`; the caller's `Authorization` header is the LiteLLM key and is never forwarded. [Docs](https://docs.litellm.ai/docs/pass_through/azure_speech) */
|
|
4293
|
+
export const putAzureSpeechProxyRouteAzureSpeechEndpoint: API.OperationMethod<
|
|
4294
|
+
PutAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
4295
|
+
PutAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
4296
|
+
PutAzureSpeechProxyRouteAzureSpeechEndpointError,
|
|
4297
|
+
LitellmOpContext
|
|
4298
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4299
|
+
input: PutAzureSpeechProxyRouteAzureSpeechEndpointRequest,
|
|
4300
|
+
output: PutAzureSpeechProxyRouteAzureSpeechEndpointResponse,
|
|
4301
|
+
errors: [UnprocessableEntity],
|
|
4302
|
+
protocol: LitellmProtocol,
|
|
4303
|
+
retry: Retry.Retry,
|
|
4304
|
+
}));
|
|
4305
|
+
|
|
4306
|
+
export type PutBedrockProxyRouteBedrockEndpointError =
|
|
4307
|
+
| UnprocessableEntity
|
|
4308
|
+
| LitellmOpError;
|
|
4309
|
+
/** Bedrock Proxy Route This is the v1 passthrough for Bedrock. V2 is handled by the `/bedrock/v2` endpoint. [Docs](https://docs.litellm.ai/docs/pass_through/bedrock) */
|
|
4310
|
+
export const putBedrockProxyRouteBedrockEndpoint: API.OperationMethod<
|
|
4311
|
+
PutBedrockProxyRouteBedrockEndpointRequest,
|
|
4312
|
+
PutBedrockProxyRouteBedrockEndpointResponse,
|
|
4313
|
+
PutBedrockProxyRouteBedrockEndpointError,
|
|
4314
|
+
LitellmOpContext
|
|
4315
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4316
|
+
input: PutBedrockProxyRouteBedrockEndpointRequest,
|
|
4317
|
+
output: PutBedrockProxyRouteBedrockEndpointResponse,
|
|
4318
|
+
errors: [UnprocessableEntity],
|
|
4319
|
+
protocol: LitellmProtocol,
|
|
4320
|
+
retry: Retry.Retry,
|
|
4321
|
+
}));
|
|
4322
|
+
|
|
4323
|
+
export type PutCohereProxyRouteCohereEndpointError =
|
|
4324
|
+
| UnprocessableEntity
|
|
4325
|
+
| LitellmOpError;
|
|
4326
|
+
/** Cohere Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/cohere) */
|
|
4327
|
+
export const putCohereProxyRouteCohereEndpoint: API.OperationMethod<
|
|
4328
|
+
PutCohereProxyRouteCohereEndpointRequest,
|
|
4329
|
+
PutCohereProxyRouteCohereEndpointResponse,
|
|
4330
|
+
PutCohereProxyRouteCohereEndpointError,
|
|
4331
|
+
LitellmOpContext
|
|
4332
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4333
|
+
input: PutCohereProxyRouteCohereEndpointRequest,
|
|
4334
|
+
output: PutCohereProxyRouteCohereEndpointResponse,
|
|
4335
|
+
errors: [UnprocessableEntity],
|
|
4336
|
+
protocol: LitellmProtocol,
|
|
4337
|
+
retry: Retry.Retry,
|
|
4338
|
+
}));
|
|
4339
|
+
|
|
4340
|
+
export type PutCursorProxyRouteCursorEndpointError =
|
|
4341
|
+
| UnprocessableEntity
|
|
4342
|
+
| LitellmOpError;
|
|
4343
|
+
/** Cursor Proxy Route Pass-through endpoint for the Cursor Cloud Agents API. Supports all Cursor Cloud Agents endpoints: - GET /v0/agents — List agents - POST /v0/agents — Launch an agent - GET /v0/agents/{id} — Agent status - GET /v0/agents/{id}/conversation — Agent conversation - POST /v0/agents/{id}/followup — Add follow-up - POST /v0/agents/{id}/stop — Stop an agent - DELETE /v0/agents/{id} — Delete an agent - GET /v0/me — API key info - GET /v0/models — List models - GET /v0/repositories — List GitHub repositories Uses Basic Authentication (base64-encoded `API_KEY:`). Credential lookup order: 1. passthrough_endpoint_router (config.yaml deployments with use_in_pass_through) 2. litellm.credential_list (credentials added via UI) 3. CURSOR_API_KEY environment variable */
|
|
4344
|
+
export const putCursorProxyRouteCursorEndpoint: API.OperationMethod<
|
|
4345
|
+
PutCursorProxyRouteCursorEndpointRequest,
|
|
4346
|
+
PutCursorProxyRouteCursorEndpointResponse,
|
|
4347
|
+
PutCursorProxyRouteCursorEndpointError,
|
|
4348
|
+
LitellmOpContext
|
|
4349
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4350
|
+
input: PutCursorProxyRouteCursorEndpointRequest,
|
|
4351
|
+
output: PutCursorProxyRouteCursorEndpointResponse,
|
|
4352
|
+
errors: [UnprocessableEntity],
|
|
4353
|
+
protocol: LitellmProtocol,
|
|
4354
|
+
retry: Retry.Retry,
|
|
4355
|
+
}));
|
|
4356
|
+
|
|
4357
|
+
export type PutGeminiProxyRouteGeminiEndpointError =
|
|
4358
|
+
| UnprocessableEntity
|
|
4359
|
+
| LitellmOpError;
|
|
4360
|
+
/** Gemini Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio) */
|
|
4361
|
+
export const putGeminiProxyRouteGeminiEndpoint: API.OperationMethod<
|
|
4362
|
+
PutGeminiProxyRouteGeminiEndpointRequest,
|
|
4363
|
+
PutGeminiProxyRouteGeminiEndpointResponse,
|
|
4364
|
+
PutGeminiProxyRouteGeminiEndpointError,
|
|
4365
|
+
LitellmOpContext
|
|
4366
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4367
|
+
input: PutGeminiProxyRouteGeminiEndpointRequest,
|
|
4368
|
+
output: PutGeminiProxyRouteGeminiEndpointResponse,
|
|
4369
|
+
errors: [UnprocessableEntity],
|
|
4370
|
+
protocol: LitellmProtocol,
|
|
4371
|
+
retry: Retry.Retry,
|
|
4372
|
+
}));
|
|
4373
|
+
|
|
4374
|
+
export type PutGigachatProxyRouteGigachatEndpointError =
|
|
4375
|
+
| UnprocessableEntity
|
|
4376
|
+
| LitellmOpError;
|
|
4377
|
+
/** Gigachat Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/gigachat) */
|
|
4378
|
+
export const putGigachatProxyRouteGigachatEndpoint: API.OperationMethod<
|
|
4379
|
+
PutGigachatProxyRouteGigachatEndpointRequest,
|
|
4380
|
+
PutGigachatProxyRouteGigachatEndpointResponse,
|
|
4381
|
+
PutGigachatProxyRouteGigachatEndpointError,
|
|
4382
|
+
LitellmOpContext
|
|
4383
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4384
|
+
input: PutGigachatProxyRouteGigachatEndpointRequest,
|
|
4385
|
+
output: PutGigachatProxyRouteGigachatEndpointResponse,
|
|
4386
|
+
errors: [UnprocessableEntity],
|
|
4387
|
+
protocol: LitellmProtocol,
|
|
4388
|
+
retry: Retry.Retry,
|
|
4389
|
+
}));
|
|
4390
|
+
|
|
4391
|
+
export type PutMilvusProxyRouteMilvusEndpointError =
|
|
4392
|
+
| UnprocessableEntity
|
|
4393
|
+
| LitellmOpError;
|
|
4394
|
+
/** Milvus Proxy Route Enable using Milvus `/vectors` endpoint as a pass-through endpoint. */
|
|
4395
|
+
export const putMilvusProxyRouteMilvusEndpoint: API.OperationMethod<
|
|
4396
|
+
PutMilvusProxyRouteMilvusEndpointRequest,
|
|
4397
|
+
PutMilvusProxyRouteMilvusEndpointResponse,
|
|
4398
|
+
PutMilvusProxyRouteMilvusEndpointError,
|
|
4399
|
+
LitellmOpContext
|
|
4400
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4401
|
+
input: PutMilvusProxyRouteMilvusEndpointRequest,
|
|
4402
|
+
output: PutMilvusProxyRouteMilvusEndpointResponse,
|
|
4403
|
+
errors: [UnprocessableEntity],
|
|
4404
|
+
protocol: LitellmProtocol,
|
|
4405
|
+
retry: Retry.Retry,
|
|
4406
|
+
}));
|
|
4407
|
+
|
|
4408
|
+
export type PutMistralProxyRouteMistralEndpointError =
|
|
4409
|
+
| UnprocessableEntity
|
|
4410
|
+
| LitellmOpError;
|
|
4411
|
+
/** Mistral Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/mistral) */
|
|
4412
|
+
export const putMistralProxyRouteMistralEndpoint: API.OperationMethod<
|
|
4413
|
+
PutMistralProxyRouteMistralEndpointRequest,
|
|
4414
|
+
PutMistralProxyRouteMistralEndpointResponse,
|
|
4415
|
+
PutMistralProxyRouteMistralEndpointError,
|
|
4416
|
+
LitellmOpContext
|
|
4417
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4418
|
+
input: PutMistralProxyRouteMistralEndpointRequest,
|
|
4419
|
+
output: PutMistralProxyRouteMistralEndpointResponse,
|
|
4420
|
+
errors: [UnprocessableEntity],
|
|
4421
|
+
protocol: LitellmProtocol,
|
|
4422
|
+
retry: Retry.Retry,
|
|
4423
|
+
}));
|
|
4424
|
+
|
|
4425
|
+
export type PutNvidiaNimProxyRouteNvidiaNimEndpointError =
|
|
4426
|
+
| UnprocessableEntity
|
|
4427
|
+
| LitellmOpError;
|
|
4428
|
+
/** Nvidia Nim Proxy Route Relay a native NVIDIA NIM request through a LiteLLM model group. `{PROXY_BASE_URL}/nvidia_nim/{model_group}/v1/infer` forwards the body unchanged to the deployment's `api_base`, so object detection and OCR NIMs whose payload carries no `model` field still go through virtual key auth, model access checks, and spend logging. */
|
|
4429
|
+
export const putNvidiaNimProxyRouteNvidiaNimEndpoint: API.OperationMethod<
|
|
4430
|
+
PutNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
4431
|
+
PutNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
4432
|
+
PutNvidiaNimProxyRouteNvidiaNimEndpointError,
|
|
4433
|
+
LitellmOpContext
|
|
4434
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4435
|
+
input: PutNvidiaNimProxyRouteNvidiaNimEndpointRequest,
|
|
4436
|
+
output: PutNvidiaNimProxyRouteNvidiaNimEndpointResponse,
|
|
4437
|
+
errors: [UnprocessableEntity],
|
|
4438
|
+
protocol: LitellmProtocol,
|
|
4439
|
+
retry: Retry.Retry,
|
|
4440
|
+
}));
|
|
4441
|
+
|
|
4442
|
+
export type PutOpenaiProxyRouteOpenaiEndpointError =
|
|
4443
|
+
| UnprocessableEntity
|
|
4444
|
+
| LitellmOpError;
|
|
4445
|
+
/** Openai Proxy Route Pass-through endpoint for OpenAI API calls. Available on both routes: - /openai/{endpoint:path} - Standard OpenAI passthrough route - /openai_passthrough/{endpoint:path} - Dedicated passthrough route (recommended for Responses API) Use /openai_passthrough/* when you need guaranteed passthrough to OpenAI without conflicts with LiteLLM's native implementations (e.g., for the Responses API at /v1/responses). Examples: Standard route: - /openai/v1/chat/completions - /openai/v1/assistants - /openai/v1/threads Dedicated passthrough (for Responses API): - /openai_passthrough/v1/responses - /openai_passthrough/v1/responses/{response_id} - /openai_passthrough/v1/responses/{response_id}/input_items [Docs](https://docs.litellm.ai/docs/pass_through/openai_passthrough) */
|
|
4446
|
+
export const putOpenaiProxyRouteOpenaiEndpoint: API.OperationMethod<
|
|
4447
|
+
PutOpenaiProxyRouteOpenaiEndpointRequest,
|
|
4448
|
+
PutOpenaiProxyRouteOpenaiEndpointResponse,
|
|
4449
|
+
PutOpenaiProxyRouteOpenaiEndpointError,
|
|
4450
|
+
LitellmOpContext
|
|
4451
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4452
|
+
input: PutOpenaiProxyRouteOpenaiEndpointRequest,
|
|
4453
|
+
output: PutOpenaiProxyRouteOpenaiEndpointResponse,
|
|
4454
|
+
errors: [UnprocessableEntity],
|
|
4455
|
+
protocol: LitellmProtocol,
|
|
4456
|
+
retry: Retry.Retry,
|
|
4457
|
+
}));
|
|
4458
|
+
|
|
4459
|
+
export type PutTypesafeProxyRouteTypesafeEndpointError =
|
|
4460
|
+
| UnprocessableEntity
|
|
4461
|
+
| LitellmOpError;
|
|
4462
|
+
/** Typesafe Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/typesafe) */
|
|
4463
|
+
export const putTypesafeProxyRouteTypesafeEndpoint: API.OperationMethod<
|
|
4464
|
+
PutTypesafeProxyRouteTypesafeEndpointRequest,
|
|
4465
|
+
PutTypesafeProxyRouteTypesafeEndpointResponse,
|
|
4466
|
+
PutTypesafeProxyRouteTypesafeEndpointError,
|
|
4467
|
+
LitellmOpContext
|
|
4468
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4469
|
+
input: PutTypesafeProxyRouteTypesafeEndpointRequest,
|
|
4470
|
+
output: PutTypesafeProxyRouteTypesafeEndpointResponse,
|
|
4471
|
+
errors: [UnprocessableEntity],
|
|
4472
|
+
protocol: LitellmProtocol,
|
|
4473
|
+
retry: Retry.Retry,
|
|
4474
|
+
}));
|
|
4475
|
+
|
|
4476
|
+
export type PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError =
|
|
4477
|
+
| UnprocessableEntity
|
|
4478
|
+
| LitellmOpError;
|
|
4479
|
+
/** Vertex Discovery Proxy Route Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com` */
|
|
4480
|
+
export const putVertexDiscoveryProxyRouteVertexAiDiscoveryEndpoint: API.OperationMethod<
|
|
4481
|
+
PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
4482
|
+
PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
4483
|
+
PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointError,
|
|
4484
|
+
LitellmOpContext
|
|
4485
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4486
|
+
input: PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointRequest,
|
|
4487
|
+
output: PutVertexDiscoveryProxyRouteVertexAiDiscoveryEndpointResponse,
|
|
4488
|
+
errors: [UnprocessableEntity],
|
|
4489
|
+
protocol: LitellmProtocol,
|
|
4490
|
+
retry: Retry.Retry,
|
|
4491
|
+
}));
|
|
4492
|
+
|
|
4493
|
+
export type PutVertexProxyRouteVertexAiEndpointError =
|
|
4494
|
+
| UnprocessableEntity
|
|
4495
|
+
| LitellmOpError;
|
|
4496
|
+
/** Vertex Proxy Route Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai) */
|
|
4497
|
+
export const putVertexProxyRouteVertexAiEndpoint: API.OperationMethod<
|
|
4498
|
+
PutVertexProxyRouteVertexAiEndpointRequest,
|
|
4499
|
+
PutVertexProxyRouteVertexAiEndpointResponse,
|
|
4500
|
+
PutVertexProxyRouteVertexAiEndpointError,
|
|
4501
|
+
LitellmOpContext
|
|
4502
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4503
|
+
input: PutVertexProxyRouteVertexAiEndpointRequest,
|
|
4504
|
+
output: PutVertexProxyRouteVertexAiEndpointResponse,
|
|
4505
|
+
errors: [UnprocessableEntity],
|
|
4506
|
+
protocol: LitellmProtocol,
|
|
4507
|
+
retry: Retry.Retry,
|
|
4508
|
+
}));
|
|
4509
|
+
|
|
4510
|
+
export type PutVllmProxyRouteVllmEndpointError =
|
|
4511
|
+
| UnprocessableEntity
|
|
4512
|
+
| LitellmOpError;
|
|
4513
|
+
/** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
|
|
4514
|
+
export const putVllmProxyRouteVllmEndpoint: API.OperationMethod<
|
|
4515
|
+
PutVllmProxyRouteVllmEndpointRequest,
|
|
4516
|
+
PutVllmProxyRouteVllmEndpointResponse,
|
|
4517
|
+
PutVllmProxyRouteVllmEndpointError,
|
|
4518
|
+
LitellmOpContext
|
|
4519
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4520
|
+
input: PutVllmProxyRouteVllmEndpointRequest,
|
|
4521
|
+
output: PutVllmProxyRouteVllmEndpointResponse,
|
|
4522
|
+
errors: [UnprocessableEntity],
|
|
4523
|
+
protocol: LitellmProtocol,
|
|
4524
|
+
retry: Retry.Retry,
|
|
4525
|
+
}));
|
|
4526
|
+
|
|
4527
|
+
export type PutWatsonxProxyRouteWatsonxEndpointError =
|
|
4528
|
+
| UnprocessableEntity
|
|
4529
|
+
| LitellmOpError;
|
|
4530
|
+
/** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
|
|
4531
|
+
export const putWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<
|
|
4532
|
+
PutWatsonxProxyRouteWatsonxEndpointRequest,
|
|
4533
|
+
PutWatsonxProxyRouteWatsonxEndpointResponse,
|
|
4534
|
+
PutWatsonxProxyRouteWatsonxEndpointError,
|
|
4535
|
+
LitellmOpContext
|
|
4536
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4537
|
+
input: PutWatsonxProxyRouteWatsonxEndpointRequest,
|
|
4538
|
+
output: PutWatsonxProxyRouteWatsonxEndpointResponse,
|
|
4539
|
+
errors: [UnprocessableEntity],
|
|
4540
|
+
protocol: LitellmProtocol,
|
|
4541
|
+
retry: Retry.Retry,
|
|
4542
|
+
}));
|