@homeflare/distilled-litellm 0.2.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/LICENSE +201 -0
- package/README.md +77 -0
- package/dist/credentials.d.ts +27 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +67 -0
- package/dist/credentials.js.map +1 -0
- package/dist/errors.d.ts +92 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +72 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +18 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +135 -0
- package/dist/protocol.js.map +1 -0
- package/dist/retry.d.ts +50 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +43 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/a2a.d.ts +70 -0
- package/dist/services/a2a.d.ts.map +1 -0
- package/dist/services/a2a.js +128 -0
- package/dist/services/a2a.js.map +1 -0
- package/dist/services/a2a_registration.d.ts +43 -0
- package/dist/services/a2a_registration.d.ts.map +1 -0
- package/dist/services/a2a_registration.js +40 -0
- package/dist/services/a2a_registration.js.map +1 -0
- package/dist/services/access_groups.d.ts +192 -0
- package/dist/services/access_groups.d.ts.map +1 -0
- package/dist/services/access_groups.js +283 -0
- package/dist/services/access_groups.js.map +1 -0
- package/dist/services/adaptive_router.d.ts +15 -0
- package/dist/services/adaptive_router.d.ts.map +1 -0
- package/dist/services/adaptive_router.js +25 -0
- package/dist/services/adaptive_router.js.map +1 -0
- package/dist/services/agents.d.ts +537 -0
- package/dist/services/agents.d.ts.map +1 -0
- package/dist/services/agents.js +481 -0
- package/dist/services/agents.js.map +1 -0
- package/dist/services/alerting.d.ts +15 -0
- package/dist/services/alerting.d.ts.map +1 -0
- package/dist/services/alerting.js +25 -0
- package/dist/services/alerting.js.map +1 -0
- package/dist/services/anthropic_pass_through.d.ts +70 -0
- package/dist/services/anthropic_pass_through.d.ts.map +1 -0
- package/dist/services/anthropic_pass_through.js +114 -0
- package/dist/services/anthropic_pass_through.js.map +1 -0
- package/dist/services/anthropic_passthrough.d.ts +35 -0
- package/dist/services/anthropic_passthrough.d.ts.map +1 -0
- package/dist/services/anthropic_passthrough.js +59 -0
- package/dist/services/anthropic_passthrough.js.map +1 -0
- package/dist/services/anthropic_skills.d.ts +74 -0
- package/dist/services/anthropic_skills.d.ts.map +1 -0
- package/dist/services/anthropic_skills.js +94 -0
- package/dist/services/anthropic_skills.js.map +1 -0
- package/dist/services/assembly_ai_eu_pass_through.d.ts +70 -0
- package/dist/services/assembly_ai_eu_pass_through.d.ts.map +1 -0
- package/dist/services/assembly_ai_eu_pass_through.js +114 -0
- package/dist/services/assembly_ai_eu_pass_through.js.map +1 -0
- package/dist/services/assembly_ai_pass_through.d.ts +70 -0
- package/dist/services/assembly_ai_pass_through.d.ts.map +1 -0
- package/dist/services/assembly_ai_pass_through.js +114 -0
- package/dist/services/assembly_ai_pass_through.js.map +1 -0
- package/dist/services/assistants.d.ts +185 -0
- package/dist/services/assistants.d.ts.map +1 -0
- package/dist/services/assistants.js +331 -0
- package/dist/services/assistants.js.map +1 -0
- package/dist/services/audio.d.ts +57 -0
- package/dist/services/audio.d.ts.map +1 -0
- package/dist/services/audio.js +96 -0
- package/dist/services/audio.js.map +1 -0
- package/dist/services/audit_logging.d.ts +98 -0
- package/dist/services/audit_logging.d.ts.map +1 -0
- package/dist/services/audit_logging.js +83 -0
- package/dist/services/audit_logging.js.map +1 -0
- package/dist/services/auto_router.d.ts +286 -0
- package/dist/services/auto_router.d.ts.map +1 -0
- package/dist/services/auto_router.js +248 -0
- package/dist/services/auto_router.js.map +1 -0
- package/dist/services/aws_comprehend_medical_pass_through.d.ts +36 -0
- package/dist/services/aws_comprehend_medical_pass_through.d.ts.map +1 -0
- package/dist/services/aws_comprehend_medical_pass_through.js +56 -0
- package/dist/services/aws_comprehend_medical_pass_through.js.map +1 -0
- package/dist/services/azure_ai_pass_through.d.ts +70 -0
- package/dist/services/azure_ai_pass_through.d.ts.map +1 -0
- package/dist/services/azure_ai_pass_through.js +112 -0
- package/dist/services/azure_ai_pass_through.js.map +1 -0
- package/dist/services/azure_pass_through.d.ts +70 -0
- package/dist/services/azure_pass_through.d.ts.map +1 -0
- package/dist/services/azure_pass_through.js +107 -0
- package/dist/services/azure_pass_through.js.map +1 -0
- package/dist/services/batch.d.ts +165 -0
- package/dist/services/batch.d.ts.map +1 -0
- package/dist/services/batch.js +265 -0
- package/dist/services/batch.js.map +1 -0
- package/dist/services/bedrock_pass_through.d.ts +70 -0
- package/dist/services/bedrock_pass_through.d.ts.map +1 -0
- package/dist/services/bedrock_pass_through.js +114 -0
- package/dist/services/bedrock_pass_through.js.map +1 -0
- package/dist/services/beta_agents.d.ts +199 -0
- package/dist/services/beta_agents.d.ts.map +1 -0
- package/dist/services/beta_agents.js +151 -0
- package/dist/services/beta_agents.js.map +1 -0
- package/dist/services/beta_mcp.d.ts +37 -0
- package/dist/services/beta_mcp.d.ts.map +1 -0
- package/dist/services/beta_mcp.js +40 -0
- package/dist/services/beta_mcp.js.map +1 -0
- package/dist/services/budget_management.d.ts +185 -0
- package/dist/services/budget_management.d.ts.map +1 -0
- package/dist/services/budget_management.js +196 -0
- package/dist/services/budget_management.js.map +1 -0
- package/dist/services/budget_spend_tracking.d.ts +967 -0
- package/dist/services/budget_spend_tracking.d.ts.map +1 -0
- package/dist/services/budget_spend_tracking.js +1103 -0
- package/dist/services/budget_spend_tracking.js.map +1 -0
- package/dist/services/cache_settings.d.ts +96 -0
- package/dist/services/cache_settings.d.ts.map +1 -0
- package/dist/services/cache_settings.js +95 -0
- package/dist/services/cache_settings.js.map +1 -0
- package/dist/services/caching.d.ts +54 -0
- package/dist/services/caching.d.ts.map +1 -0
- package/dist/services/caching.js +78 -0
- package/dist/services/caching.js.map +1 -0
- package/dist/services/chat_completions.d.ts +656 -0
- package/dist/services/chat_completions.d.ts.map +1 -0
- package/dist/services/chat_completions.js +590 -0
- package/dist/services/chat_completions.js.map +1 -0
- package/dist/services/claude_code_marketplace.d.ts +212 -0
- package/dist/services/claude_code_marketplace.d.ts.map +1 -0
- package/dist/services/claude_code_marketplace.js +248 -0
- package/dist/services/claude_code_marketplace.js.map +1 -0
- package/dist/services/cloudzero.d.ts +117 -0
- package/dist/services/cloudzero.d.ts.map +1 -0
- package/dist/services/cloudzero.js +130 -0
- package/dist/services/cloudzero.js.map +1 -0
- package/dist/services/cohere_pass_through.d.ts +70 -0
- package/dist/services/cohere_pass_through.d.ts.map +1 -0
- package/dist/services/cohere_pass_through.js +112 -0
- package/dist/services/cohere_pass_through.js.map +1 -0
- package/dist/services/completions.d.ts +59 -0
- package/dist/services/completions.d.ts.map +1 -0
- package/dist/services/completions.js +98 -0
- package/dist/services/completions.js.map +1 -0
- package/dist/services/compliance.d.ts +66 -0
- package/dist/services/compliance.d.ts.map +1 -0
- package/dist/services/compliance.js +74 -0
- package/dist/services/compliance.js.map +1 -0
- package/dist/services/config_overrides.d.ts +157 -0
- package/dist/services/config_overrides.d.ts.map +1 -0
- package/dist/services/config_overrides.js +207 -0
- package/dist/services/config_overrides.js.map +1 -0
- package/dist/services/config_yaml.d.ts +647 -0
- package/dist/services/config_yaml.d.ts.map +1 -0
- package/dist/services/config_yaml.js +504 -0
- package/dist/services/config_yaml.js.map +1 -0
- package/dist/services/containers.d.ts +215 -0
- package/dist/services/containers.d.ts.map +1 -0
- package/dist/services/containers.js +416 -0
- package/dist/services/containers.js.map +1 -0
- package/dist/services/coordination_redis_settings.d.ts +93 -0
- package/dist/services/coordination_redis_settings.d.ts.map +1 -0
- package/dist/services/coordination_redis_settings.js +104 -0
- package/dist/services/coordination_redis_settings.js.map +1 -0
- package/dist/services/cost_tracking.d.ts +140 -0
- package/dist/services/cost_tracking.d.ts.map +1 -0
- package/dist/services/cost_tracking.js +181 -0
- package/dist/services/cost_tracking.js.map +1 -0
- package/dist/services/credential_management.d.ts +133 -0
- package/dist/services/credential_management.d.ts.map +1 -0
- package/dist/services/credential_management.js +198 -0
- package/dist/services/credential_management.js.map +1 -0
- package/dist/services/cursor_pass_through.d.ts +70 -0
- package/dist/services/cursor_pass_through.d.ts.map +1 -0
- package/dist/services/cursor_pass_through.js +112 -0
- package/dist/services/cursor_pass_through.js.map +1 -0
- package/dist/services/customer_management.d.ts +545 -0
- package/dist/services/customer_management.d.ts.map +1 -0
- package/dist/services/customer_management.js +567 -0
- package/dist/services/customer_management.js.map +1 -0
- package/dist/services/email_management.d.ts +57 -0
- package/dist/services/email_management.d.ts.map +1 -0
- package/dist/services/email_management.js +79 -0
- package/dist/services/email_management.js.map +1 -0
- package/dist/services/embeddings.d.ts +155 -0
- package/dist/services/embeddings.d.ts.map +1 -0
- package/dist/services/embeddings.js +168 -0
- package/dist/services/embeddings.js.map +1 -0
- package/dist/services/evals.d.ts +245 -0
- package/dist/services/evals.d.ts.map +1 -0
- package/dist/services/evals.js +292 -0
- package/dist/services/evals.js.map +1 -0
- package/dist/services/experimental.d.ts +166 -0
- package/dist/services/experimental.d.ts.map +1 -0
- package/dist/services/experimental.js +265 -0
- package/dist/services/experimental.js.map +1 -0
- package/dist/services/fallback_management.d.ts +91 -0
- package/dist/services/fallback_management.d.ts.map +1 -0
- package/dist/services/fallback_management.js +86 -0
- package/dist/services/fallback_management.js.map +1 -0
- package/dist/services/files.d.ts +219 -0
- package/dist/services/files.d.ts.map +1 -0
- package/dist/services/files.js +358 -0
- package/dist/services/files.js.map +1 -0
- package/dist/services/fine_tuning.d.ts +155 -0
- package/dist/services/fine_tuning.d.ts.map +1 -0
- package/dist/services/fine_tuning.js +232 -0
- package/dist/services/fine_tuning.js.map +1 -0
- package/dist/services/gemini_agents.d.ts +68 -0
- package/dist/services/gemini_agents.d.ts.map +1 -0
- package/dist/services/gemini_agents.js +110 -0
- package/dist/services/gemini_agents.js.map +1 -0
- package/dist/services/google_ai_studio_pass_through.d.ts +70 -0
- package/dist/services/google_ai_studio_pass_through.d.ts.map +1 -0
- package/dist/services/google_ai_studio_pass_through.js +112 -0
- package/dist/services/google_ai_studio_pass_through.js.map +1 -0
- package/dist/services/google_genai_endpoints.d.ts +174 -0
- package/dist/services/google_genai_endpoints.d.ts.map +1 -0
- package/dist/services/google_genai_endpoints.js +340 -0
- package/dist/services/google_genai_endpoints.js.map +1 -0
- package/dist/services/guardrails.d.ts +1221 -0
- package/dist/services/guardrails.d.ts.map +1 -0
- package/dist/services/guardrails.js +1087 -0
- package/dist/services/guardrails.js.map +1 -0
- package/dist/services/health.d.ts +212 -0
- package/dist/services/health.d.ts.map +1 -0
- package/dist/services/health.js +309 -0
- package/dist/services/health.js.map +1 -0
- package/dist/services/images.d.ts +117 -0
- package/dist/services/images.d.ts.map +1 -0
- package/dist/services/images.js +184 -0
- package/dist/services/images.js.map +1 -0
- package/dist/services/index.d.ts +106 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +107 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/internal_user_management.d.ts +1062 -0
- package/dist/services/internal_user_management.d.ts.map +1 -0
- package/dist/services/internal_user_management.js +850 -0
- package/dist/services/internal_user_management.js.map +1 -0
- package/dist/services/invite_links.d.ts +56 -0
- package/dist/services/invite_links.d.ts.map +1 -0
- package/dist/services/invite_links.js +82 -0
- package/dist/services/invite_links.js.map +1 -0
- package/dist/services/jwt_mappings.d.ts +79 -0
- package/dist/services/jwt_mappings.d.ts.map +1 -0
- package/dist/services/jwt_mappings.js +116 -0
- package/dist/services/jwt_mappings.js.map +1 -0
- package/dist/services/key_management.d.ts +1640 -0
- package/dist/services/key_management.d.ts.map +1 -0
- package/dist/services/key_management.js +1344 -0
- package/dist/services/key_management.js.map +1 -0
- package/dist/services/langfuse_passthrough.d.ts +70 -0
- package/dist/services/langfuse_passthrough.d.ts.map +1 -0
- package/dist/services/langfuse_passthrough.js +114 -0
- package/dist/services/langfuse_passthrough.js.map +1 -0
- package/dist/services/llm_utils.d.ts +101 -0
- package/dist/services/llm_utils.d.ts.map +1 -0
- package/dist/services/llm_utils.js +110 -0
- package/dist/services/llm_utils.js.map +1 -0
- package/dist/services/logging_callbacks.d.ts +33 -0
- package/dist/services/logging_callbacks.d.ts.map +1 -0
- package/dist/services/logging_callbacks.js +46 -0
- package/dist/services/logging_callbacks.js.map +1 -0
- package/dist/services/mcp_byok_oauth.d.ts +112 -0
- package/dist/services/mcp_byok_oauth.d.ts.map +1 -0
- package/dist/services/mcp_byok_oauth.js +226 -0
- package/dist/services/mcp_byok_oauth.js.map +1 -0
- package/dist/services/mcp_discoverable.d.ts +197 -0
- package/dist/services/mcp_discoverable.d.ts.map +1 -0
- package/dist/services/mcp_discoverable.js +304 -0
- package/dist/services/mcp_discoverable.js.map +1 -0
- package/dist/services/mcp_management.d.ts +956 -0
- package/dist/services/mcp_management.d.ts.map +1 -0
- package/dist/services/mcp_management.js +1139 -0
- package/dist/services/mcp_management.js.map +1 -0
- package/dist/services/mcp_rest.d.ts +281 -0
- package/dist/services/mcp_rest.d.ts.map +1 -0
- package/dist/services/mcp_rest.js +269 -0
- package/dist/services/mcp_rest.js.map +1 -0
- package/dist/services/memory_management.d.ts +93 -0
- package/dist/services/memory_management.d.ts.map +1 -0
- package/dist/services/memory_management.js +117 -0
- package/dist/services/memory_management.js.map +1 -0
- package/dist/services/milvus_pass_through.d.ts +70 -0
- package/dist/services/milvus_pass_through.d.ts.map +1 -0
- package/dist/services/milvus_pass_through.js +112 -0
- package/dist/services/milvus_pass_through.js.map +1 -0
- package/dist/services/misc.d.ts +676 -0
- package/dist/services/misc.d.ts.map +1 -0
- package/dist/services/misc.js +954 -0
- package/dist/services/misc.js.map +1 -0
- package/dist/services/mistral_pass_through.d.ts +70 -0
- package/dist/services/mistral_pass_through.d.ts.map +1 -0
- package/dist/services/mistral_pass_through.js +114 -0
- package/dist/services/mistral_pass_through.js.map +1 -0
- package/dist/services/model_management.d.ts +1649 -0
- package/dist/services/model_management.d.ts.map +1 -0
- package/dist/services/model_management.js +1805 -0
- package/dist/services/model_management.js.map +1 -0
- package/dist/services/moderations.d.ts +25 -0
- package/dist/services/moderations.d.ts.map +1 -0
- package/dist/services/moderations.js +39 -0
- package/dist/services/moderations.js.map +1 -0
- package/dist/services/ocr.d.ts +25 -0
- package/dist/services/ocr.d.ts.map +1 -0
- package/dist/services/ocr.js +39 -0
- package/dist/services/ocr.js.map +1 -0
- package/dist/services/open_ai_pass_through.d.ts +125 -0
- package/dist/services/open_ai_pass_through.d.ts.map +1 -0
- package/dist/services/open_ai_pass_through.js +232 -0
- package/dist/services/open_ai_pass_through.js.map +1 -0
- package/dist/services/organization_management.d.ts +664 -0
- package/dist/services/organization_management.d.ts.map +1 -0
- package/dist/services/organization_management.js +644 -0
- package/dist/services/organization_management.js.map +1 -0
- package/dist/services/plugins.d.ts +106 -0
- package/dist/services/plugins.d.ts.map +1 -0
- package/dist/services/plugins.js +180 -0
- package/dist/services/plugins.js.map +1 -0
- package/dist/services/policies.d.ts +618 -0
- package/dist/services/policies.d.ts.map +1 -0
- package/dist/services/policies.js +616 -0
- package/dist/services/policies.js.map +1 -0
- package/dist/services/policy_engine.d.ts +483 -0
- package/dist/services/policy_engine.d.ts.map +1 -0
- package/dist/services/policy_engine.js +501 -0
- package/dist/services/policy_engine.js.map +1 -0
- package/dist/services/project_management.d.ts +356 -0
- package/dist/services/project_management.d.ts.map +1 -0
- package/dist/services/project_management.js +318 -0
- package/dist/services/project_management.js.map +1 -0
- package/dist/services/prompts.d.ts +193 -0
- package/dist/services/prompts.d.ts.map +1 -0
- package/dist/services/prompts.js +260 -0
- package/dist/services/prompts.js.map +1 -0
- package/dist/services/public.d.ts +300 -0
- package/dist/services/public.d.ts.map +1 -0
- package/dist/services/public.js +362 -0
- package/dist/services/public.js.map +1 -0
- package/dist/services/rag.d.ts +45 -0
- package/dist/services/rag.d.ts.map +1 -0
- package/dist/services/rag.js +71 -0
- package/dist/services/rag.js.map +1 -0
- package/dist/services/realtime.d.ts +91 -0
- package/dist/services/realtime.d.ts.map +1 -0
- package/dist/services/realtime.js +164 -0
- package/dist/services/realtime.js.map +1 -0
- package/dist/services/rerank.d.ts +35 -0
- package/dist/services/rerank.d.ts.map +1 -0
- package/dist/services/rerank.js +55 -0
- package/dist/services/rerank.js.map +1 -0
- package/dist/services/responses.d.ts +237 -0
- package/dist/services/responses.d.ts.map +1 -0
- package/dist/services/responses.js +445 -0
- package/dist/services/responses.js.map +1 -0
- package/dist/services/router_settings.d.ts +67 -0
- package/dist/services/router_settings.d.ts.map +1 -0
- package/dist/services/router_settings.js +63 -0
- package/dist/services/router_settings.js.map +1 -0
- package/dist/services/rust_control_plane.d.ts +52 -0
- package/dist/services/rust_control_plane.d.ts.map +1 -0
- package/dist/services/rust_control_plane.js +54 -0
- package/dist/services/rust_control_plane.js.map +1 -0
- package/dist/services/scim.d.ts +412 -0
- package/dist/services/scim.d.ts.map +1 -0
- package/dist/services/scim.js +519 -0
- package/dist/services/scim.js.map +1 -0
- package/dist/services/search.d.ts +79 -0
- package/dist/services/search.d.ts.map +1 -0
- package/dist/services/search.js +122 -0
- package/dist/services/search.js.map +1 -0
- package/dist/services/search_tools.d.ts +140 -0
- package/dist/services/search_tools.d.ts.map +1 -0
- package/dist/services/search_tools.js +201 -0
- package/dist/services/search_tools.js.map +1 -0
- package/dist/services/settings.d.ts +53 -0
- package/dist/services/settings.d.ts.map +1 -0
- package/dist/services/settings.js +67 -0
- package/dist/services/settings.js.map +1 -0
- package/dist/services/sso_settings.d.ts +239 -0
- package/dist/services/sso_settings.d.ts.map +1 -0
- package/dist/services/sso_settings.js +214 -0
- package/dist/services/sso_settings.js.map +1 -0
- package/dist/services/tag_management.d.ts +390 -0
- package/dist/services/tag_management.d.ts.map +1 -0
- package/dist/services/tag_management.js +407 -0
- package/dist/services/tag_management.js.map +1 -0
- package/dist/services/team_management.d.ts +1502 -0
- package/dist/services/team_management.d.ts.map +1 -0
- package/dist/services/team_management.js +1429 -0
- package/dist/services/team_management.js.map +1 -0
- package/dist/services/tools.d.ts +227 -0
- package/dist/services/tools.d.ts.map +1 -0
- package/dist/services/tools.js +266 -0
- package/dist/services/tools.js.map +1 -0
- package/dist/services/ui_settings.d.ts +90 -0
- package/dist/services/ui_settings.d.ts.map +1 -0
- package/dist/services/ui_settings.js +96 -0
- package/dist/services/ui_settings.js.map +1 -0
- package/dist/services/ui_theme_settings.d.ts +62 -0
- package/dist/services/ui_theme_settings.d.ts.map +1 -0
- package/dist/services/ui_theme_settings.js +79 -0
- package/dist/services/ui_theme_settings.js.map +1 -0
- package/dist/services/usage_ai.d.ts +39 -0
- package/dist/services/usage_ai.d.ts.map +1 -0
- package/dist/services/usage_ai.js +40 -0
- package/dist/services/usage_ai.js.map +1 -0
- package/dist/services/vantage.d.ts +108 -0
- package/dist/services/vantage.d.ts.map +1 -0
- package/dist/services/vantage.js +124 -0
- package/dist/services/vantage.js.map +1 -0
- package/dist/services/vector_store_management.d.ts +161 -0
- package/dist/services/vector_store_management.d.ts.map +1 -0
- package/dist/services/vector_store_management.js +191 -0
- package/dist/services/vector_store_management.js.map +1 -0
- package/dist/services/vector_stores.d.ts +342 -0
- package/dist/services/vector_stores.d.ts.map +1 -0
- package/dist/services/vector_stores.js +639 -0
- package/dist/services/vector_stores.js.map +1 -0
- package/dist/services/vertex_ai_pass_through.d.ts +180 -0
- package/dist/services/vertex_ai_pass_through.d.ts.map +1 -0
- package/dist/services/vertex_ai_pass_through.js +334 -0
- package/dist/services/vertex_ai_pass_through.js.map +1 -0
- package/dist/services/videos.d.ts +207 -0
- package/dist/services/videos.d.ts.map +1 -0
- package/dist/services/videos.js +373 -0
- package/dist/services/videos.js.map +1 -0
- package/dist/services/vllm_pass_through.d.ts +70 -0
- package/dist/services/vllm_pass_through.d.ts.map +1 -0
- package/dist/services/vllm_pass_through.js +104 -0
- package/dist/services/vllm_pass_through.js.map +1 -0
- package/dist/services/watsonx_pass_through.d.ts +70 -0
- package/dist/services/watsonx_pass_through.d.ts.map +1 -0
- package/dist/services/watsonx_pass_through.js +114 -0
- package/dist/services/watsonx_pass_through.js.map +1 -0
- package/dist/services/web_socket.d.ts +77 -0
- package/dist/services/web_socket.d.ts.map +1 -0
- package/dist/services/web_socket.js +135 -0
- package/dist/services/web_socket.js.map +1 -0
- package/dist/services/workflow_management.d.ts +140 -0
- package/dist/services/workflow_management.d.ts.map +1 -0
- package/dist/services/workflow_management.js +220 -0
- package/dist/services/workflow_management.js.map +1 -0
- package/dist/traits.d.ts +14 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +15 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.ts +97 -0
- package/src/errors.ts +108 -0
- package/src/index.ts +33 -0
- package/src/protocol.ts +160 -0
- package/src/retry.ts +74 -0
- package/src/services/a2a.ts +250 -0
- package/src/services/a2a_registration.ts +94 -0
- package/src/services/access_groups.ts +716 -0
- package/src/services/adaptive_router.ts +49 -0
- package/src/services/agents.ts +1314 -0
- package/src/services/alerting.ts +49 -0
- package/src/services/anthropic_pass_through.ts +233 -0
- package/src/services/anthropic_passthrough.ts +123 -0
- package/src/services/anthropic_skills.ts +200 -0
- package/src/services/assembly_ai_eu_pass_through.ts +237 -0
- package/src/services/assembly_ai_pass_through.ts +237 -0
- package/src/services/assistants.ts +685 -0
- package/src/services/audio.ts +189 -0
- package/src/services/audit_logging.ts +194 -0
- package/src/services/auto_router.ts +625 -0
- package/src/services/aws_comprehend_medical_pass_through.ts +109 -0
- package/src/services/azure_ai_pass_through.ts +231 -0
- package/src/services/azure_pass_through.ts +227 -0
- package/src/services/batch.ts +553 -0
- package/src/services/bedrock_pass_through.ts +229 -0
- package/src/services/beta_agents.ts +444 -0
- package/src/services/beta_mcp.ts +105 -0
- package/src/services/budget_management.ts +465 -0
- package/src/services/budget_spend_tracking.ts +2670 -0
- package/src/services/cache_settings.ts +234 -0
- package/src/services/caching.ts +175 -0
- package/src/services/chat_completions.ts +1788 -0
- package/src/services/claude_code_marketplace.ts +569 -0
- package/src/services/cloudzero.ts +297 -0
- package/src/services/cohere_pass_through.ts +227 -0
- package/src/services/completions.ts +194 -0
- package/src/services/compliance.ts +175 -0
- package/src/services/config_overrides.ts +466 -0
- package/src/services/config_yaml.ts +1537 -0
- package/src/services/containers.ts +848 -0
- package/src/services/coordination_redis_settings.ts +251 -0
- package/src/services/cost_tracking.ts +407 -0
- package/src/services/credential_management.ts +436 -0
- package/src/services/cursor_pass_through.ts +227 -0
- package/src/services/customer_management.ts +1475 -0
- package/src/services/email_management.ts +171 -0
- package/src/services/embeddings.ts +424 -0
- package/src/services/evals.ts +672 -0
- package/src/services/experimental.ts +572 -0
- package/src/services/fallback_management.ts +224 -0
- package/src/services/files.ts +732 -0
- package/src/services/fine_tuning.ts +547 -0
- package/src/services/gemini_agents.ts +227 -0
- package/src/services/google_ai_studio_pass_through.ts +227 -0
- package/src/services/google_genai_endpoints.ts +688 -0
- package/src/services/guardrails.ts +3006 -0
- package/src/services/health.ts +713 -0
- package/src/services/images.ts +430 -0
- package/src/services/index.ts +106 -0
- package/src/services/internal_user_management.ts +2574 -0
- package/src/services/invite_links.ts +167 -0
- package/src/services/jwt_mappings.ts +238 -0
- package/src/services/key_management.ts +4162 -0
- package/src/services/langfuse_passthrough.ts +231 -0
- package/src/services/llm_utils.ts +429 -0
- package/src/services/logging_callbacks.ts +104 -0
- package/src/services/mcp_byok_oauth.ts +468 -0
- package/src/services/mcp_discoverable.ts +626 -0
- package/src/services/mcp_management.ts +2915 -0
- package/src/services/mcp_rest.ts +779 -0
- package/src/services/memory_management.ts +248 -0
- package/src/services/milvus_pass_through.ts +227 -0
- package/src/services/misc.ts +2128 -0
- package/src/services/mistral_pass_through.ts +229 -0
- package/src/services/model_management.ts +4501 -0
- package/src/services/moderations.ts +80 -0
- package/src/services/ocr.ts +78 -0
- package/src/services/open_ai_pass_through.ts +462 -0
- package/src/services/organization_management.ts +1749 -0
- package/src/services/plugins.ts +367 -0
- package/src/services/policies.ts +1676 -0
- package/src/services/policy_engine.ts +1318 -0
- package/src/services/project_management.ts +938 -0
- package/src/services/prompts.ts +592 -0
- package/src/services/public.ts +880 -0
- package/src/services/rag.ts +148 -0
- package/src/services/realtime.ts +350 -0
- package/src/services/rerank.ts +111 -0
- package/src/services/responses.ts +909 -0
- package/src/services/router_settings.ts +168 -0
- package/src/services/rust_control_plane.ts +123 -0
- package/src/services/scim.ts +1243 -0
- package/src/services/search.ts +260 -0
- package/src/services/search_tools.ts +439 -0
- package/src/services/settings.ts +146 -0
- package/src/services/sso_settings.ts +626 -0
- package/src/services/tag_management.ts +1004 -0
- package/src/services/team_management.ts +3990 -0
- package/src/services/tools.ts +628 -0
- package/src/services/ui_settings.ts +237 -0
- package/src/services/ui_theme_settings.ts +173 -0
- package/src/services/usage_ai.ts +86 -0
- package/src/services/vantage.ts +283 -0
- package/src/services/vector_store_management.ts +454 -0
- package/src/services/vector_stores.ts +1321 -0
- package/src/services/vertex_ai_pass_through.ts +684 -0
- package/src/services/videos.ts +762 -0
- package/src/services/vllm_pass_through.ts +227 -0
- package/src/services/watsonx_pass_through.ts +229 -0
- package/src/services/web_socket.ts +254 -0
- package/src/services/workflow_management.ts +482 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.100.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 AuthorizeAuthorizeGetRequest {
|
|
25
|
+
redirect_uri: string;
|
|
26
|
+
client_id?: string;
|
|
27
|
+
state?: string;
|
|
28
|
+
mcp_server_name?: string;
|
|
29
|
+
code_challenge?: string;
|
|
30
|
+
code_challenge_method?: string;
|
|
31
|
+
response_type?: string;
|
|
32
|
+
scope?: string;
|
|
33
|
+
resource?: string;
|
|
34
|
+
}
|
|
35
|
+
export const AuthorizeAuthorizeGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
36
|
+
S.Struct({
|
|
37
|
+
redirect_uri: S.String.pipe(T.Query()),
|
|
38
|
+
client_id: S.optional(S.String.pipe(T.Query())),
|
|
39
|
+
state: S.optional(S.String.pipe(T.Query())),
|
|
40
|
+
mcp_server_name: S.optional(S.String.pipe(T.Query())),
|
|
41
|
+
code_challenge: S.optional(S.String.pipe(T.Query())),
|
|
42
|
+
code_challenge_method: S.optional(S.String.pipe(T.Query())),
|
|
43
|
+
response_type: S.optional(S.String.pipe(T.Query())),
|
|
44
|
+
scope: S.optional(S.String.pipe(T.Query())),
|
|
45
|
+
resource: S.optional(S.String.pipe(T.Query())),
|
|
46
|
+
}).pipe(T.Http({ method: "GET", uri: "/authorize", code: 200 })),
|
|
47
|
+
).annotate({
|
|
48
|
+
identifier: "AuthorizeAuthorizeGetRequest",
|
|
49
|
+
}) as any as S.Schema<AuthorizeAuthorizeGetRequest>;
|
|
50
|
+
|
|
51
|
+
export interface AuthorizeAuthorizeGetResponse {
|
|
52
|
+
body: unknown;
|
|
53
|
+
}
|
|
54
|
+
export const AuthorizeAuthorizeGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
55
|
+
S.Struct({
|
|
56
|
+
body: S.Unknown,
|
|
57
|
+
}),
|
|
58
|
+
).annotate({
|
|
59
|
+
identifier: "AuthorizeAuthorizeGetResponse",
|
|
60
|
+
}) as any as S.Schema<AuthorizeAuthorizeGetResponse>;
|
|
61
|
+
|
|
62
|
+
export interface AuthorizeCompleteAuthorizeCompletePostRequest {
|
|
63
|
+
decision?: string | null;
|
|
64
|
+
delivery?: string | null;
|
|
65
|
+
flow: string;
|
|
66
|
+
team_id?: string | null;
|
|
67
|
+
}
|
|
68
|
+
export const AuthorizeCompleteAuthorizeCompletePostRequest =
|
|
69
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
70
|
+
S.Struct({
|
|
71
|
+
decision: S.optional(S.NullOr(S.String)),
|
|
72
|
+
delivery: S.optional(S.NullOr(S.String)),
|
|
73
|
+
flow: S.String,
|
|
74
|
+
team_id: S.optional(S.NullOr(S.String)),
|
|
75
|
+
}).pipe(T.Http({ method: "POST", uri: "/authorize/complete", code: 200 })),
|
|
76
|
+
).annotate({
|
|
77
|
+
identifier: "AuthorizeCompleteAuthorizeCompletePostRequest",
|
|
78
|
+
}) as any as S.Schema<AuthorizeCompleteAuthorizeCompletePostRequest>;
|
|
79
|
+
|
|
80
|
+
export interface AuthorizeCompleteAuthorizeCompletePostResponse {
|
|
81
|
+
body: unknown;
|
|
82
|
+
}
|
|
83
|
+
export const AuthorizeCompleteAuthorizeCompletePostResponse =
|
|
84
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
85
|
+
S.Struct({
|
|
86
|
+
body: S.Unknown,
|
|
87
|
+
}),
|
|
88
|
+
).annotate({
|
|
89
|
+
identifier: "AuthorizeCompleteAuthorizeCompletePostResponse",
|
|
90
|
+
}) as any as S.Schema<AuthorizeCompleteAuthorizeCompletePostResponse>;
|
|
91
|
+
|
|
92
|
+
export interface AuthorizeMcpServerNameAuthorizeGetRequest {
|
|
93
|
+
mcp_server_name: string;
|
|
94
|
+
redirect_uri: string;
|
|
95
|
+
client_id?: string;
|
|
96
|
+
state?: string;
|
|
97
|
+
code_challenge?: string;
|
|
98
|
+
code_challenge_method?: string;
|
|
99
|
+
response_type?: string;
|
|
100
|
+
scope?: string;
|
|
101
|
+
resource?: string;
|
|
102
|
+
}
|
|
103
|
+
export const AuthorizeMcpServerNameAuthorizeGetRequest =
|
|
104
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
105
|
+
S.Struct({
|
|
106
|
+
mcp_server_name: S.String.pipe(T.Label()),
|
|
107
|
+
redirect_uri: S.String.pipe(T.Query()),
|
|
108
|
+
client_id: S.optional(S.String.pipe(T.Query())),
|
|
109
|
+
state: S.optional(S.String.pipe(T.Query())),
|
|
110
|
+
code_challenge: S.optional(S.String.pipe(T.Query())),
|
|
111
|
+
code_challenge_method: S.optional(S.String.pipe(T.Query())),
|
|
112
|
+
response_type: S.optional(S.String.pipe(T.Query())),
|
|
113
|
+
scope: S.optional(S.String.pipe(T.Query())),
|
|
114
|
+
resource: S.optional(S.String.pipe(T.Query())),
|
|
115
|
+
}).pipe(
|
|
116
|
+
T.Http({ method: "GET", uri: "/{mcp_server_name}/authorize", code: 200 }),
|
|
117
|
+
),
|
|
118
|
+
).annotate({
|
|
119
|
+
identifier: "AuthorizeMcpServerNameAuthorizeGetRequest",
|
|
120
|
+
}) as any as S.Schema<AuthorizeMcpServerNameAuthorizeGetRequest>;
|
|
121
|
+
|
|
122
|
+
export interface AuthorizeMcpServerNameAuthorizeGetResponse {
|
|
123
|
+
body: unknown;
|
|
124
|
+
}
|
|
125
|
+
export const AuthorizeMcpServerNameAuthorizeGetResponse =
|
|
126
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
127
|
+
S.Struct({
|
|
128
|
+
body: S.Unknown,
|
|
129
|
+
}),
|
|
130
|
+
).annotate({
|
|
131
|
+
identifier: "AuthorizeMcpServerNameAuthorizeGetResponse",
|
|
132
|
+
}) as any as S.Schema<AuthorizeMcpServerNameAuthorizeGetResponse>;
|
|
133
|
+
|
|
134
|
+
export interface GetCallbackCallbackRequest {
|
|
135
|
+
code?: string;
|
|
136
|
+
state?: string;
|
|
137
|
+
error?: string;
|
|
138
|
+
error_description?: string;
|
|
139
|
+
error_uri?: string;
|
|
140
|
+
}
|
|
141
|
+
export const GetCallbackCallbackRequest = /*@__PURE__*/ S.suspend(() =>
|
|
142
|
+
S.Struct({
|
|
143
|
+
code: S.optional(S.String.pipe(T.Query())),
|
|
144
|
+
state: S.optional(S.String.pipe(T.Query())),
|
|
145
|
+
error: S.optional(S.String.pipe(T.Query())),
|
|
146
|
+
error_description: S.optional(S.String.pipe(T.Query())),
|
|
147
|
+
error_uri: S.optional(S.String.pipe(T.Query())),
|
|
148
|
+
}).pipe(T.Http({ method: "GET", uri: "/callback", code: 200 })),
|
|
149
|
+
).annotate({
|
|
150
|
+
identifier: "GetCallbackCallbackRequest",
|
|
151
|
+
}) as any as S.Schema<GetCallbackCallbackRequest>;
|
|
152
|
+
|
|
153
|
+
export interface GetCallbackCallbackResponse {
|
|
154
|
+
body: unknown;
|
|
155
|
+
}
|
|
156
|
+
export const GetCallbackCallbackResponse = /*@__PURE__*/ S.suspend(() =>
|
|
157
|
+
S.Struct({
|
|
158
|
+
body: S.Unknown,
|
|
159
|
+
}),
|
|
160
|
+
).annotate({
|
|
161
|
+
identifier: "GetCallbackCallbackResponse",
|
|
162
|
+
}) as any as S.Schema<GetCallbackCallbackResponse>;
|
|
163
|
+
|
|
164
|
+
export interface GetJwksJsonWellKnownJwksJsonRequest {}
|
|
165
|
+
export const GetJwksJsonWellKnownJwksJsonRequest = /*@__PURE__*/ S.suspend(() =>
|
|
166
|
+
S.Struct({}).pipe(
|
|
167
|
+
T.Http({ method: "GET", uri: "/.well-known/jwks.json", code: 200 }),
|
|
168
|
+
),
|
|
169
|
+
).annotate({
|
|
170
|
+
identifier: "GetJwksJsonWellKnownJwksJsonRequest",
|
|
171
|
+
}) as any as S.Schema<GetJwksJsonWellKnownJwksJsonRequest>;
|
|
172
|
+
|
|
173
|
+
export interface GetJwksJsonWellKnownJwksJsonResponse {
|
|
174
|
+
body: unknown;
|
|
175
|
+
}
|
|
176
|
+
export const GetJwksJsonWellKnownJwksJsonResponse = /*@__PURE__*/ S.suspend(
|
|
177
|
+
() =>
|
|
178
|
+
S.Struct({
|
|
179
|
+
body: S.Unknown,
|
|
180
|
+
}),
|
|
181
|
+
).annotate({
|
|
182
|
+
identifier: "GetJwksJsonWellKnownJwksJsonResponse",
|
|
183
|
+
}) as any as S.Schema<GetJwksJsonWellKnownJwksJsonResponse>;
|
|
184
|
+
|
|
185
|
+
export interface GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthRequest {}
|
|
186
|
+
export const GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthRequest =
|
|
187
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
188
|
+
S.Struct({}).pipe(
|
|
189
|
+
T.Http({
|
|
190
|
+
method: "GET",
|
|
191
|
+
uri: "/.well-known/litellm-cli-auth",
|
|
192
|
+
code: 200,
|
|
193
|
+
}),
|
|
194
|
+
),
|
|
195
|
+
).annotate({
|
|
196
|
+
identifier: "GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthRequest",
|
|
197
|
+
}) as any as S.Schema<GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthRequest>;
|
|
198
|
+
|
|
199
|
+
export interface GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthResponse {
|
|
200
|
+
body: unknown;
|
|
201
|
+
}
|
|
202
|
+
export const GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthResponse =
|
|
203
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
204
|
+
S.Struct({
|
|
205
|
+
body: S.Unknown,
|
|
206
|
+
}),
|
|
207
|
+
).annotate({
|
|
208
|
+
identifier: "GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthResponse",
|
|
209
|
+
}) as any as S.Schema<GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthResponse>;
|
|
210
|
+
|
|
211
|
+
export interface GetOpenidConfigurationWellKnownOpenidConfigurationRequest {}
|
|
212
|
+
export const GetOpenidConfigurationWellKnownOpenidConfigurationRequest =
|
|
213
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
214
|
+
S.Struct({}).pipe(
|
|
215
|
+
T.Http({
|
|
216
|
+
method: "GET",
|
|
217
|
+
uri: "/.well-known/openid-configuration",
|
|
218
|
+
code: 200,
|
|
219
|
+
}),
|
|
220
|
+
),
|
|
221
|
+
).annotate({
|
|
222
|
+
identifier: "GetOpenidConfigurationWellKnownOpenidConfigurationRequest",
|
|
223
|
+
}) as any as S.Schema<GetOpenidConfigurationWellKnownOpenidConfigurationRequest>;
|
|
224
|
+
|
|
225
|
+
export interface GetOpenidConfigurationWellKnownOpenidConfigurationResponse {
|
|
226
|
+
body: unknown;
|
|
227
|
+
}
|
|
228
|
+
export const GetOpenidConfigurationWellKnownOpenidConfigurationResponse =
|
|
229
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
230
|
+
S.Struct({
|
|
231
|
+
body: S.Unknown,
|
|
232
|
+
}),
|
|
233
|
+
).annotate({
|
|
234
|
+
identifier: "GetOpenidConfigurationWellKnownOpenidConfigurationResponse",
|
|
235
|
+
}) as any as S.Schema<GetOpenidConfigurationWellKnownOpenidConfigurationResponse>;
|
|
236
|
+
|
|
237
|
+
export interface PostIntrospectEndpointIntrospectRequest {
|
|
238
|
+
token: string;
|
|
239
|
+
}
|
|
240
|
+
export const PostIntrospectEndpointIntrospectRequest = /*@__PURE__*/ S.suspend(
|
|
241
|
+
() =>
|
|
242
|
+
S.Struct({
|
|
243
|
+
token: S.String,
|
|
244
|
+
}).pipe(T.Http({ method: "POST", uri: "/introspect", code: 200 })),
|
|
245
|
+
).annotate({
|
|
246
|
+
identifier: "PostIntrospectEndpointIntrospectRequest",
|
|
247
|
+
}) as any as S.Schema<PostIntrospectEndpointIntrospectRequest>;
|
|
248
|
+
|
|
249
|
+
export interface PostIntrospectEndpointIntrospectResponse {
|
|
250
|
+
body: unknown;
|
|
251
|
+
}
|
|
252
|
+
export const PostIntrospectEndpointIntrospectResponse = /*@__PURE__*/ S.suspend(
|
|
253
|
+
() =>
|
|
254
|
+
S.Struct({
|
|
255
|
+
body: S.Unknown,
|
|
256
|
+
}),
|
|
257
|
+
).annotate({
|
|
258
|
+
identifier: "PostIntrospectEndpointIntrospectResponse",
|
|
259
|
+
}) as any as S.Schema<PostIntrospectEndpointIntrospectResponse>;
|
|
260
|
+
|
|
261
|
+
export interface PostTokenEndpointMcpServerNameTokenRequest {
|
|
262
|
+
mcp_server_name: string;
|
|
263
|
+
client_id: string;
|
|
264
|
+
client_secret?: string | null;
|
|
265
|
+
code?: string;
|
|
266
|
+
code_verifier?: string;
|
|
267
|
+
grant_type: string;
|
|
268
|
+
redirect_uri?: string;
|
|
269
|
+
refresh_token?: string | null;
|
|
270
|
+
resource?: string | null;
|
|
271
|
+
scope?: string | null;
|
|
272
|
+
}
|
|
273
|
+
export const PostTokenEndpointMcpServerNameTokenRequest =
|
|
274
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
275
|
+
S.Struct({
|
|
276
|
+
mcp_server_name: S.String.pipe(T.Label()),
|
|
277
|
+
client_id: S.String,
|
|
278
|
+
client_secret: S.optional(S.NullOr(S.String)),
|
|
279
|
+
code: S.optional(S.String),
|
|
280
|
+
code_verifier: S.optional(S.String),
|
|
281
|
+
grant_type: S.String,
|
|
282
|
+
redirect_uri: S.optional(S.String),
|
|
283
|
+
refresh_token: S.optional(S.NullOr(S.String)),
|
|
284
|
+
resource: S.optional(S.NullOr(S.String)),
|
|
285
|
+
scope: S.optional(S.NullOr(S.String)),
|
|
286
|
+
}).pipe(
|
|
287
|
+
T.Http({ method: "POST", uri: "/{mcp_server_name}/token", code: 200 }),
|
|
288
|
+
),
|
|
289
|
+
).annotate({
|
|
290
|
+
identifier: "PostTokenEndpointMcpServerNameTokenRequest",
|
|
291
|
+
}) as any as S.Schema<PostTokenEndpointMcpServerNameTokenRequest>;
|
|
292
|
+
|
|
293
|
+
export interface PostTokenEndpointMcpServerNameTokenResponse {
|
|
294
|
+
body: unknown;
|
|
295
|
+
}
|
|
296
|
+
export const PostTokenEndpointMcpServerNameTokenResponse =
|
|
297
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
298
|
+
S.Struct({
|
|
299
|
+
body: S.Unknown,
|
|
300
|
+
}),
|
|
301
|
+
).annotate({
|
|
302
|
+
identifier: "PostTokenEndpointMcpServerNameTokenResponse",
|
|
303
|
+
}) as any as S.Schema<PostTokenEndpointMcpServerNameTokenResponse>;
|
|
304
|
+
|
|
305
|
+
export interface PostTokenEndpointTokenRequest {
|
|
306
|
+
mcp_server_name?: string;
|
|
307
|
+
client_id: string;
|
|
308
|
+
client_secret?: string | null;
|
|
309
|
+
code?: string;
|
|
310
|
+
code_verifier?: string;
|
|
311
|
+
grant_type: string;
|
|
312
|
+
redirect_uri?: string;
|
|
313
|
+
refresh_token?: string | null;
|
|
314
|
+
resource?: string | null;
|
|
315
|
+
scope?: string | null;
|
|
316
|
+
}
|
|
317
|
+
export const PostTokenEndpointTokenRequest = /*@__PURE__*/ S.suspend(() =>
|
|
318
|
+
S.Struct({
|
|
319
|
+
mcp_server_name: S.optional(S.String.pipe(T.Query())),
|
|
320
|
+
client_id: S.String,
|
|
321
|
+
client_secret: S.optional(S.NullOr(S.String)),
|
|
322
|
+
code: S.optional(S.String),
|
|
323
|
+
code_verifier: S.optional(S.String),
|
|
324
|
+
grant_type: S.String,
|
|
325
|
+
redirect_uri: S.optional(S.String),
|
|
326
|
+
refresh_token: S.optional(S.NullOr(S.String)),
|
|
327
|
+
resource: S.optional(S.NullOr(S.String)),
|
|
328
|
+
scope: S.optional(S.NullOr(S.String)),
|
|
329
|
+
}).pipe(T.Http({ method: "POST", uri: "/token", code: 200 })),
|
|
330
|
+
).annotate({
|
|
331
|
+
identifier: "PostTokenEndpointTokenRequest",
|
|
332
|
+
}) as any as S.Schema<PostTokenEndpointTokenRequest>;
|
|
333
|
+
|
|
334
|
+
export interface PostTokenEndpointTokenResponse {
|
|
335
|
+
body: unknown;
|
|
336
|
+
}
|
|
337
|
+
export const PostTokenEndpointTokenResponse = /*@__PURE__*/ S.suspend(() =>
|
|
338
|
+
S.Struct({
|
|
339
|
+
body: S.Unknown,
|
|
340
|
+
}),
|
|
341
|
+
).annotate({
|
|
342
|
+
identifier: "PostTokenEndpointTokenResponse",
|
|
343
|
+
}) as any as S.Schema<PostTokenEndpointTokenResponse>;
|
|
344
|
+
|
|
345
|
+
export interface RegisterClientMcpServerNameRegisterPostRequest {
|
|
346
|
+
mcp_server_name: string;
|
|
347
|
+
}
|
|
348
|
+
export const RegisterClientMcpServerNameRegisterPostRequest =
|
|
349
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
350
|
+
S.Struct({
|
|
351
|
+
mcp_server_name: S.String.pipe(T.Label()),
|
|
352
|
+
}).pipe(
|
|
353
|
+
T.Http({ method: "POST", uri: "/{mcp_server_name}/register", code: 200 }),
|
|
354
|
+
),
|
|
355
|
+
).annotate({
|
|
356
|
+
identifier: "RegisterClientMcpServerNameRegisterPostRequest",
|
|
357
|
+
}) as any as S.Schema<RegisterClientMcpServerNameRegisterPostRequest>;
|
|
358
|
+
|
|
359
|
+
export interface RegisterClientMcpServerNameRegisterPostResponse {
|
|
360
|
+
body: unknown;
|
|
361
|
+
}
|
|
362
|
+
export const RegisterClientMcpServerNameRegisterPostResponse =
|
|
363
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
364
|
+
S.Struct({
|
|
365
|
+
body: S.Unknown,
|
|
366
|
+
}),
|
|
367
|
+
).annotate({
|
|
368
|
+
identifier: "RegisterClientMcpServerNameRegisterPostResponse",
|
|
369
|
+
}) as any as S.Schema<RegisterClientMcpServerNameRegisterPostResponse>;
|
|
370
|
+
|
|
371
|
+
export interface RegisterClientRegisterPostRequest {
|
|
372
|
+
mcp_server_name?: string;
|
|
373
|
+
}
|
|
374
|
+
export const RegisterClientRegisterPostRequest = /*@__PURE__*/ S.suspend(() =>
|
|
375
|
+
S.Struct({
|
|
376
|
+
mcp_server_name: S.optional(S.String.pipe(T.Query())),
|
|
377
|
+
}).pipe(T.Http({ method: "POST", uri: "/register", code: 200 })),
|
|
378
|
+
).annotate({
|
|
379
|
+
identifier: "RegisterClientRegisterPostRequest",
|
|
380
|
+
}) as any as S.Schema<RegisterClientRegisterPostRequest>;
|
|
381
|
+
|
|
382
|
+
export interface RegisterClientRegisterPostResponse {
|
|
383
|
+
body: unknown;
|
|
384
|
+
}
|
|
385
|
+
export const RegisterClientRegisterPostResponse = /*@__PURE__*/ S.suspend(() =>
|
|
386
|
+
S.Struct({
|
|
387
|
+
body: S.Unknown,
|
|
388
|
+
}),
|
|
389
|
+
).annotate({
|
|
390
|
+
identifier: "RegisterClientRegisterPostResponse",
|
|
391
|
+
}) as any as S.Schema<RegisterClientRegisterPostResponse>;
|
|
392
|
+
|
|
393
|
+
export interface RevokeEndpointRevokePostRequest {
|
|
394
|
+
client_id: string;
|
|
395
|
+
token: string;
|
|
396
|
+
}
|
|
397
|
+
export const RevokeEndpointRevokePostRequest = /*@__PURE__*/ S.suspend(() =>
|
|
398
|
+
S.Struct({
|
|
399
|
+
client_id: S.String,
|
|
400
|
+
token: S.String,
|
|
401
|
+
}).pipe(T.Http({ method: "POST", uri: "/revoke", code: 200 })),
|
|
402
|
+
).annotate({
|
|
403
|
+
identifier: "RevokeEndpointRevokePostRequest",
|
|
404
|
+
}) as any as S.Schema<RevokeEndpointRevokePostRequest>;
|
|
405
|
+
|
|
406
|
+
export interface RevokeEndpointRevokePostResponse {
|
|
407
|
+
body: unknown;
|
|
408
|
+
}
|
|
409
|
+
export const RevokeEndpointRevokePostResponse = /*@__PURE__*/ S.suspend(() =>
|
|
410
|
+
S.Struct({
|
|
411
|
+
body: S.Unknown,
|
|
412
|
+
}),
|
|
413
|
+
).annotate({
|
|
414
|
+
identifier: "RevokeEndpointRevokePostResponse",
|
|
415
|
+
}) as any as S.Schema<RevokeEndpointRevokePostResponse>;
|
|
416
|
+
|
|
417
|
+
export type AuthorizeAuthorizeGetError = UnprocessableEntity | LitellmOpError;
|
|
418
|
+
/** Authorize */
|
|
419
|
+
export const authorizeAuthorizeGet: API.OperationMethod<
|
|
420
|
+
AuthorizeAuthorizeGetRequest,
|
|
421
|
+
AuthorizeAuthorizeGetResponse,
|
|
422
|
+
AuthorizeAuthorizeGetError,
|
|
423
|
+
LitellmOpContext
|
|
424
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
425
|
+
input: AuthorizeAuthorizeGetRequest,
|
|
426
|
+
output: AuthorizeAuthorizeGetResponse,
|
|
427
|
+
errors: [UnprocessableEntity],
|
|
428
|
+
protocol: LitellmProtocol,
|
|
429
|
+
retry: Retry.Retry,
|
|
430
|
+
}));
|
|
431
|
+
|
|
432
|
+
export type AuthorizeCompleteAuthorizeCompletePostError =
|
|
433
|
+
| UnprocessableEntity
|
|
434
|
+
| LitellmOpError;
|
|
435
|
+
/** Authorize Complete Finish an aggregate connect flow: mint the gateway authorization code for the signed-in user and hand it back to the DCR client, by 303 redirect (default) or, for a loopback client on a different machine, as a copyable callback URL (``delivery=manual``). POST plus the per-flow HttpOnly cookie set at /authorize; an anonymous or bad-flow request just 400s. The native-client consent page adds ``decision`` (approve or deny) and the ``team_id`` the credential is attributed to. */
|
|
436
|
+
export const authorizeCompleteAuthorizeCompletePost: API.OperationMethod<
|
|
437
|
+
AuthorizeCompleteAuthorizeCompletePostRequest,
|
|
438
|
+
AuthorizeCompleteAuthorizeCompletePostResponse,
|
|
439
|
+
AuthorizeCompleteAuthorizeCompletePostError,
|
|
440
|
+
LitellmOpContext
|
|
441
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
442
|
+
input: AuthorizeCompleteAuthorizeCompletePostRequest,
|
|
443
|
+
output: AuthorizeCompleteAuthorizeCompletePostResponse,
|
|
444
|
+
errors: [UnprocessableEntity],
|
|
445
|
+
protocol: LitellmProtocol,
|
|
446
|
+
retry: Retry.Retry,
|
|
447
|
+
}));
|
|
448
|
+
|
|
449
|
+
export type AuthorizeMcpServerNameAuthorizeGetError =
|
|
450
|
+
| UnprocessableEntity
|
|
451
|
+
| LitellmOpError;
|
|
452
|
+
/** Authorize */
|
|
453
|
+
export const authorizeMcpServerNameAuthorizeGet: API.OperationMethod<
|
|
454
|
+
AuthorizeMcpServerNameAuthorizeGetRequest,
|
|
455
|
+
AuthorizeMcpServerNameAuthorizeGetResponse,
|
|
456
|
+
AuthorizeMcpServerNameAuthorizeGetError,
|
|
457
|
+
LitellmOpContext
|
|
458
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
459
|
+
input: AuthorizeMcpServerNameAuthorizeGetRequest,
|
|
460
|
+
output: AuthorizeMcpServerNameAuthorizeGetResponse,
|
|
461
|
+
errors: [UnprocessableEntity],
|
|
462
|
+
protocol: LitellmProtocol,
|
|
463
|
+
retry: Retry.Retry,
|
|
464
|
+
}));
|
|
465
|
+
|
|
466
|
+
export type GetCallbackCallbackError = UnprocessableEntity | LitellmOpError;
|
|
467
|
+
/** Callback OAuth 2.0 authorization response handler for MCP loopback clients. Accepts either: - A successful authorization response (``code`` + ``state``), which is forwarded back to the validated client ``redirect_uri`` with the original (un-wrapped) ``state``. - An error response (``error``[+``error_description``/``error_uri``]), per RFC 6749 §4.1.2.1. When ``state`` is present and decodes to a trusted ``redirect_uri``, the error params are propagated back to the client so its OAuth library can surface them. Otherwise we render an HTML error page so the user is not left on an opaque 422 / blank screen. */
|
|
468
|
+
export const getCallbackCallback: API.OperationMethod<
|
|
469
|
+
GetCallbackCallbackRequest,
|
|
470
|
+
GetCallbackCallbackResponse,
|
|
471
|
+
GetCallbackCallbackError,
|
|
472
|
+
LitellmOpContext
|
|
473
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
474
|
+
input: GetCallbackCallbackRequest,
|
|
475
|
+
output: GetCallbackCallbackResponse,
|
|
476
|
+
errors: [UnprocessableEntity],
|
|
477
|
+
protocol: LitellmProtocol,
|
|
478
|
+
retry: Retry.Retry,
|
|
479
|
+
}));
|
|
480
|
+
|
|
481
|
+
export type GetJwksJsonWellKnownJwksJsonError = LitellmOpError;
|
|
482
|
+
/** Jwks Json JSON Web Key Set endpoint. Returns the RSA public key used by MCPJWTSigner to sign outbound MCP tokens. MCP servers and gateways use this endpoint to verify liteLLM-issued JWTs. Returns an empty key set if MCPJWTSigner is not configured. */
|
|
483
|
+
export const getJwksJsonWellKnownJwksJson: API.OperationMethod<
|
|
484
|
+
GetJwksJsonWellKnownJwksJsonRequest,
|
|
485
|
+
GetJwksJsonWellKnownJwksJsonResponse,
|
|
486
|
+
GetJwksJsonWellKnownJwksJsonError,
|
|
487
|
+
LitellmOpContext
|
|
488
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
489
|
+
input: GetJwksJsonWellKnownJwksJsonRequest,
|
|
490
|
+
output: GetJwksJsonWellKnownJwksJsonResponse,
|
|
491
|
+
errors: [],
|
|
492
|
+
protocol: LitellmProtocol,
|
|
493
|
+
retry: Retry.Retry,
|
|
494
|
+
}));
|
|
495
|
+
|
|
496
|
+
export type GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthError =
|
|
497
|
+
LitellmOpError;
|
|
498
|
+
/** Native Client Auth Discovery The versioned contract a native client (``lite login --pkce``, or a CLI in any other language) reads to sign a user in through the browser and obtain a proxy credential. */
|
|
499
|
+
export const getNativeClientAuthDiscoveryWellKnownLitellmCliAuth: API.OperationMethod<
|
|
500
|
+
GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthRequest,
|
|
501
|
+
GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthResponse,
|
|
502
|
+
GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthError,
|
|
503
|
+
LitellmOpContext
|
|
504
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
505
|
+
input: GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthRequest,
|
|
506
|
+
output: GetNativeClientAuthDiscoveryWellKnownLitellmCliAuthResponse,
|
|
507
|
+
errors: [],
|
|
508
|
+
protocol: LitellmProtocol,
|
|
509
|
+
retry: Retry.Retry,
|
|
510
|
+
}));
|
|
511
|
+
|
|
512
|
+
export type GetOpenidConfigurationWellKnownOpenidConfigurationError =
|
|
513
|
+
LitellmOpError;
|
|
514
|
+
/** Openid Configuration */
|
|
515
|
+
export const getOpenidConfigurationWellKnownOpenidConfiguration: API.OperationMethod<
|
|
516
|
+
GetOpenidConfigurationWellKnownOpenidConfigurationRequest,
|
|
517
|
+
GetOpenidConfigurationWellKnownOpenidConfigurationResponse,
|
|
518
|
+
GetOpenidConfigurationWellKnownOpenidConfigurationError,
|
|
519
|
+
LitellmOpContext
|
|
520
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
521
|
+
input: GetOpenidConfigurationWellKnownOpenidConfigurationRequest,
|
|
522
|
+
output: GetOpenidConfigurationWellKnownOpenidConfigurationResponse,
|
|
523
|
+
errors: [],
|
|
524
|
+
protocol: LitellmProtocol,
|
|
525
|
+
retry: Retry.Retry,
|
|
526
|
+
}));
|
|
527
|
+
|
|
528
|
+
export type PostIntrospectEndpointIntrospectError =
|
|
529
|
+
| UnprocessableEntity
|
|
530
|
+
| LitellmOpError;
|
|
531
|
+
/** Introspect Endpoint RFC 7662 introspection for gateway-issued session tokens (``llm_session_`` / ``llm_srefresh_``), so an external gateway can validate them without the signing secret. The caller authenticates with a LiteLLM virtual key (section 2.1, enforced by the route dependency); any token the gateway cannot vouch for answers ``{"active": false}`` with no further detail. */
|
|
532
|
+
export const postIntrospectEndpointIntrospect: API.OperationMethod<
|
|
533
|
+
PostIntrospectEndpointIntrospectRequest,
|
|
534
|
+
PostIntrospectEndpointIntrospectResponse,
|
|
535
|
+
PostIntrospectEndpointIntrospectError,
|
|
536
|
+
LitellmOpContext
|
|
537
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
538
|
+
input: PostIntrospectEndpointIntrospectRequest,
|
|
539
|
+
output: PostIntrospectEndpointIntrospectResponse,
|
|
540
|
+
errors: [UnprocessableEntity],
|
|
541
|
+
protocol: LitellmProtocol,
|
|
542
|
+
retry: Retry.Retry,
|
|
543
|
+
}));
|
|
544
|
+
|
|
545
|
+
export type PostTokenEndpointMcpServerNameTokenError =
|
|
546
|
+
| UnprocessableEntity
|
|
547
|
+
| LitellmOpError;
|
|
548
|
+
/** Token Endpoint Accept the authorization code from client and exchange it for OAuth token. Supports PKCE flow by forwarding code_verifier to upstream provider. 1. Call the token endpoint with PKCE parameters 2. Store the user's token in the db - and generate a LiteLLM virtual key 3. Return the token 4. Return a virtual key in this response */
|
|
549
|
+
export const postTokenEndpointMcpServerNameToken: API.OperationMethod<
|
|
550
|
+
PostTokenEndpointMcpServerNameTokenRequest,
|
|
551
|
+
PostTokenEndpointMcpServerNameTokenResponse,
|
|
552
|
+
PostTokenEndpointMcpServerNameTokenError,
|
|
553
|
+
LitellmOpContext
|
|
554
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
555
|
+
input: PostTokenEndpointMcpServerNameTokenRequest,
|
|
556
|
+
output: PostTokenEndpointMcpServerNameTokenResponse,
|
|
557
|
+
errors: [UnprocessableEntity],
|
|
558
|
+
protocol: LitellmProtocol,
|
|
559
|
+
retry: Retry.Retry,
|
|
560
|
+
}));
|
|
561
|
+
|
|
562
|
+
export type PostTokenEndpointTokenError = UnprocessableEntity | LitellmOpError;
|
|
563
|
+
/** Token Endpoint Accept the authorization code from client and exchange it for OAuth token. Supports PKCE flow by forwarding code_verifier to upstream provider. 1. Call the token endpoint with PKCE parameters 2. Store the user's token in the db - and generate a LiteLLM virtual key 3. Return the token 4. Return a virtual key in this response */
|
|
564
|
+
export const postTokenEndpointToken: API.OperationMethod<
|
|
565
|
+
PostTokenEndpointTokenRequest,
|
|
566
|
+
PostTokenEndpointTokenResponse,
|
|
567
|
+
PostTokenEndpointTokenError,
|
|
568
|
+
LitellmOpContext
|
|
569
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
570
|
+
input: PostTokenEndpointTokenRequest,
|
|
571
|
+
output: PostTokenEndpointTokenResponse,
|
|
572
|
+
errors: [UnprocessableEntity],
|
|
573
|
+
protocol: LitellmProtocol,
|
|
574
|
+
retry: Retry.Retry,
|
|
575
|
+
}));
|
|
576
|
+
|
|
577
|
+
export type RegisterClientMcpServerNameRegisterPostError =
|
|
578
|
+
| UnprocessableEntity
|
|
579
|
+
| LitellmOpError;
|
|
580
|
+
/** Register Client */
|
|
581
|
+
export const registerClientMcpServerNameRegisterPost: API.OperationMethod<
|
|
582
|
+
RegisterClientMcpServerNameRegisterPostRequest,
|
|
583
|
+
RegisterClientMcpServerNameRegisterPostResponse,
|
|
584
|
+
RegisterClientMcpServerNameRegisterPostError,
|
|
585
|
+
LitellmOpContext
|
|
586
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
587
|
+
input: RegisterClientMcpServerNameRegisterPostRequest,
|
|
588
|
+
output: RegisterClientMcpServerNameRegisterPostResponse,
|
|
589
|
+
errors: [UnprocessableEntity],
|
|
590
|
+
protocol: LitellmProtocol,
|
|
591
|
+
retry: Retry.Retry,
|
|
592
|
+
}));
|
|
593
|
+
|
|
594
|
+
export type RegisterClientRegisterPostError =
|
|
595
|
+
| UnprocessableEntity
|
|
596
|
+
| LitellmOpError;
|
|
597
|
+
/** Register Client */
|
|
598
|
+
export const registerClientRegisterPost: API.OperationMethod<
|
|
599
|
+
RegisterClientRegisterPostRequest,
|
|
600
|
+
RegisterClientRegisterPostResponse,
|
|
601
|
+
RegisterClientRegisterPostError,
|
|
602
|
+
LitellmOpContext
|
|
603
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
604
|
+
input: RegisterClientRegisterPostRequest,
|
|
605
|
+
output: RegisterClientRegisterPostResponse,
|
|
606
|
+
errors: [UnprocessableEntity],
|
|
607
|
+
protocol: LitellmProtocol,
|
|
608
|
+
retry: Retry.Retry,
|
|
609
|
+
}));
|
|
610
|
+
|
|
611
|
+
export type RevokeEndpointRevokePostError =
|
|
612
|
+
| UnprocessableEntity
|
|
613
|
+
| LitellmOpError;
|
|
614
|
+
/** Revoke Endpoint RFC 7009 revocation for the gateway's refresh tokens (``lite logout``): 200 for a known client whatever the token's state, 503 when the shared single-use record cannot be written; access tokens expire on their own. */
|
|
615
|
+
export const revokeEndpointRevokePost: API.OperationMethod<
|
|
616
|
+
RevokeEndpointRevokePostRequest,
|
|
617
|
+
RevokeEndpointRevokePostResponse,
|
|
618
|
+
RevokeEndpointRevokePostError,
|
|
619
|
+
LitellmOpContext
|
|
620
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
621
|
+
input: RevokeEndpointRevokePostRequest,
|
|
622
|
+
output: RevokeEndpointRevokePostResponse,
|
|
623
|
+
errors: [UnprocessableEntity],
|
|
624
|
+
protocol: LitellmProtocol,
|
|
625
|
+
retry: Retry.Retry,
|
|
626
|
+
}));
|