@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,553 @@
|
|
|
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 CancelBatchBatchesBatchIdCancelPostRequest {
|
|
25
|
+
batch_id: string;
|
|
26
|
+
provider?: string;
|
|
27
|
+
}
|
|
28
|
+
export const CancelBatchBatchesBatchIdCancelPostRequest =
|
|
29
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
30
|
+
S.Struct({
|
|
31
|
+
batch_id: S.String.pipe(T.Label()),
|
|
32
|
+
provider: S.optional(S.String.pipe(T.Query())),
|
|
33
|
+
}).pipe(
|
|
34
|
+
T.Http({ method: "POST", uri: "/batches/{batch_id}/cancel", code: 200 }),
|
|
35
|
+
),
|
|
36
|
+
).annotate({
|
|
37
|
+
identifier: "CancelBatchBatchesBatchIdCancelPostRequest",
|
|
38
|
+
}) as any as S.Schema<CancelBatchBatchesBatchIdCancelPostRequest>;
|
|
39
|
+
|
|
40
|
+
export interface CancelBatchBatchesBatchIdCancelPostResponse {
|
|
41
|
+
body: unknown;
|
|
42
|
+
}
|
|
43
|
+
export const CancelBatchBatchesBatchIdCancelPostResponse =
|
|
44
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
45
|
+
S.Struct({
|
|
46
|
+
body: S.Unknown,
|
|
47
|
+
}),
|
|
48
|
+
).annotate({
|
|
49
|
+
identifier: "CancelBatchBatchesBatchIdCancelPostResponse",
|
|
50
|
+
}) as any as S.Schema<CancelBatchBatchesBatchIdCancelPostResponse>;
|
|
51
|
+
|
|
52
|
+
export interface CancelBatchProviderV1BatchesBatchIdCancelPostRequest {
|
|
53
|
+
provider: string;
|
|
54
|
+
batch_id: string;
|
|
55
|
+
}
|
|
56
|
+
export const CancelBatchProviderV1BatchesBatchIdCancelPostRequest =
|
|
57
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
58
|
+
S.Struct({
|
|
59
|
+
provider: S.String.pipe(T.Label()),
|
|
60
|
+
batch_id: S.String.pipe(T.Label()),
|
|
61
|
+
}).pipe(
|
|
62
|
+
T.Http({
|
|
63
|
+
method: "POST",
|
|
64
|
+
uri: "/{provider}/v1/batches/{batch_id}/cancel",
|
|
65
|
+
code: 200,
|
|
66
|
+
}),
|
|
67
|
+
),
|
|
68
|
+
).annotate({
|
|
69
|
+
identifier: "CancelBatchProviderV1BatchesBatchIdCancelPostRequest",
|
|
70
|
+
}) as any as S.Schema<CancelBatchProviderV1BatchesBatchIdCancelPostRequest>;
|
|
71
|
+
|
|
72
|
+
export interface CancelBatchProviderV1BatchesBatchIdCancelPostResponse {
|
|
73
|
+
body: unknown;
|
|
74
|
+
}
|
|
75
|
+
export const CancelBatchProviderV1BatchesBatchIdCancelPostResponse =
|
|
76
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
77
|
+
S.Struct({
|
|
78
|
+
body: S.Unknown,
|
|
79
|
+
}),
|
|
80
|
+
).annotate({
|
|
81
|
+
identifier: "CancelBatchProviderV1BatchesBatchIdCancelPostResponse",
|
|
82
|
+
}) as any as S.Schema<CancelBatchProviderV1BatchesBatchIdCancelPostResponse>;
|
|
83
|
+
|
|
84
|
+
export interface CancelBatchV1BatchesBatchIdCancelPostRequest {
|
|
85
|
+
batch_id: string;
|
|
86
|
+
provider?: string;
|
|
87
|
+
}
|
|
88
|
+
export const CancelBatchV1BatchesBatchIdCancelPostRequest =
|
|
89
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
90
|
+
S.Struct({
|
|
91
|
+
batch_id: S.String.pipe(T.Label()),
|
|
92
|
+
provider: S.optional(S.String.pipe(T.Query())),
|
|
93
|
+
}).pipe(
|
|
94
|
+
T.Http({
|
|
95
|
+
method: "POST",
|
|
96
|
+
uri: "/v1/batches/{batch_id}/cancel",
|
|
97
|
+
code: 200,
|
|
98
|
+
}),
|
|
99
|
+
),
|
|
100
|
+
).annotate({
|
|
101
|
+
identifier: "CancelBatchV1BatchesBatchIdCancelPostRequest",
|
|
102
|
+
}) as any as S.Schema<CancelBatchV1BatchesBatchIdCancelPostRequest>;
|
|
103
|
+
|
|
104
|
+
export interface CancelBatchV1BatchesBatchIdCancelPostResponse {
|
|
105
|
+
body: unknown;
|
|
106
|
+
}
|
|
107
|
+
export const CancelBatchV1BatchesBatchIdCancelPostResponse =
|
|
108
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
109
|
+
S.Struct({
|
|
110
|
+
body: S.Unknown,
|
|
111
|
+
}),
|
|
112
|
+
).annotate({
|
|
113
|
+
identifier: "CancelBatchV1BatchesBatchIdCancelPostResponse",
|
|
114
|
+
}) as any as S.Schema<CancelBatchV1BatchesBatchIdCancelPostResponse>;
|
|
115
|
+
|
|
116
|
+
export interface CreateBatchBatchesPostRequest {
|
|
117
|
+
provider?: string;
|
|
118
|
+
}
|
|
119
|
+
export const CreateBatchBatchesPostRequest = /*@__PURE__*/ S.suspend(() =>
|
|
120
|
+
S.Struct({
|
|
121
|
+
provider: S.optional(S.String.pipe(T.Query())),
|
|
122
|
+
}).pipe(T.Http({ method: "POST", uri: "/batches", code: 200 })),
|
|
123
|
+
).annotate({
|
|
124
|
+
identifier: "CreateBatchBatchesPostRequest",
|
|
125
|
+
}) as any as S.Schema<CreateBatchBatchesPostRequest>;
|
|
126
|
+
|
|
127
|
+
export interface CreateBatchBatchesPostResponse {
|
|
128
|
+
body: unknown;
|
|
129
|
+
}
|
|
130
|
+
export const CreateBatchBatchesPostResponse = /*@__PURE__*/ S.suspend(() =>
|
|
131
|
+
S.Struct({
|
|
132
|
+
body: S.Unknown,
|
|
133
|
+
}),
|
|
134
|
+
).annotate({
|
|
135
|
+
identifier: "CreateBatchBatchesPostResponse",
|
|
136
|
+
}) as any as S.Schema<CreateBatchBatchesPostResponse>;
|
|
137
|
+
|
|
138
|
+
export interface CreateBatchProviderV1BatchesPostRequest {
|
|
139
|
+
provider: string;
|
|
140
|
+
}
|
|
141
|
+
export const CreateBatchProviderV1BatchesPostRequest = /*@__PURE__*/ S.suspend(
|
|
142
|
+
() =>
|
|
143
|
+
S.Struct({
|
|
144
|
+
provider: S.String.pipe(T.Label()),
|
|
145
|
+
}).pipe(
|
|
146
|
+
T.Http({ method: "POST", uri: "/{provider}/v1/batches", code: 200 }),
|
|
147
|
+
),
|
|
148
|
+
).annotate({
|
|
149
|
+
identifier: "CreateBatchProviderV1BatchesPostRequest",
|
|
150
|
+
}) as any as S.Schema<CreateBatchProviderV1BatchesPostRequest>;
|
|
151
|
+
|
|
152
|
+
export interface CreateBatchProviderV1BatchesPostResponse {
|
|
153
|
+
body: unknown;
|
|
154
|
+
}
|
|
155
|
+
export const CreateBatchProviderV1BatchesPostResponse = /*@__PURE__*/ S.suspend(
|
|
156
|
+
() =>
|
|
157
|
+
S.Struct({
|
|
158
|
+
body: S.Unknown,
|
|
159
|
+
}),
|
|
160
|
+
).annotate({
|
|
161
|
+
identifier: "CreateBatchProviderV1BatchesPostResponse",
|
|
162
|
+
}) as any as S.Schema<CreateBatchProviderV1BatchesPostResponse>;
|
|
163
|
+
|
|
164
|
+
export interface CreateBatchV1BatchesPostRequest {
|
|
165
|
+
provider?: string;
|
|
166
|
+
}
|
|
167
|
+
export const CreateBatchV1BatchesPostRequest = /*@__PURE__*/ S.suspend(() =>
|
|
168
|
+
S.Struct({
|
|
169
|
+
provider: S.optional(S.String.pipe(T.Query())),
|
|
170
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/batches", code: 200 })),
|
|
171
|
+
).annotate({
|
|
172
|
+
identifier: "CreateBatchV1BatchesPostRequest",
|
|
173
|
+
}) as any as S.Schema<CreateBatchV1BatchesPostRequest>;
|
|
174
|
+
|
|
175
|
+
export interface CreateBatchV1BatchesPostResponse {
|
|
176
|
+
body: unknown;
|
|
177
|
+
}
|
|
178
|
+
export const CreateBatchV1BatchesPostResponse = /*@__PURE__*/ S.suspend(() =>
|
|
179
|
+
S.Struct({
|
|
180
|
+
body: S.Unknown,
|
|
181
|
+
}),
|
|
182
|
+
).annotate({
|
|
183
|
+
identifier: "CreateBatchV1BatchesPostResponse",
|
|
184
|
+
}) as any as S.Schema<CreateBatchV1BatchesPostResponse>;
|
|
185
|
+
|
|
186
|
+
export interface GetBatchBatchesBatchIdGetRequest {
|
|
187
|
+
/** The ID of the batch to retrieve */
|
|
188
|
+
batch_id: string;
|
|
189
|
+
provider?: string;
|
|
190
|
+
}
|
|
191
|
+
export const GetBatchBatchesBatchIdGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
192
|
+
S.Struct({
|
|
193
|
+
batch_id: S.String.pipe(T.Label()),
|
|
194
|
+
provider: S.optional(S.String.pipe(T.Query())),
|
|
195
|
+
}).pipe(T.Http({ method: "GET", uri: "/batches/{batch_id}", code: 200 })),
|
|
196
|
+
).annotate({
|
|
197
|
+
identifier: "GetBatchBatchesBatchIdGetRequest",
|
|
198
|
+
}) as any as S.Schema<GetBatchBatchesBatchIdGetRequest>;
|
|
199
|
+
|
|
200
|
+
export interface GetBatchBatchesBatchIdGetResponse {
|
|
201
|
+
body: unknown;
|
|
202
|
+
}
|
|
203
|
+
export const GetBatchBatchesBatchIdGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
204
|
+
S.Struct({
|
|
205
|
+
body: S.Unknown,
|
|
206
|
+
}),
|
|
207
|
+
).annotate({
|
|
208
|
+
identifier: "GetBatchBatchesBatchIdGetResponse",
|
|
209
|
+
}) as any as S.Schema<GetBatchBatchesBatchIdGetResponse>;
|
|
210
|
+
|
|
211
|
+
export interface GetBatchProviderV1BatchesBatchIdGetRequest {
|
|
212
|
+
provider: string;
|
|
213
|
+
/** The ID of the batch to retrieve */
|
|
214
|
+
batch_id: string;
|
|
215
|
+
}
|
|
216
|
+
export const GetBatchProviderV1BatchesBatchIdGetRequest =
|
|
217
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
218
|
+
S.Struct({
|
|
219
|
+
provider: S.String.pipe(T.Label()),
|
|
220
|
+
batch_id: S.String.pipe(T.Label()),
|
|
221
|
+
}).pipe(
|
|
222
|
+
T.Http({
|
|
223
|
+
method: "GET",
|
|
224
|
+
uri: "/{provider}/v1/batches/{batch_id}",
|
|
225
|
+
code: 200,
|
|
226
|
+
}),
|
|
227
|
+
),
|
|
228
|
+
).annotate({
|
|
229
|
+
identifier: "GetBatchProviderV1BatchesBatchIdGetRequest",
|
|
230
|
+
}) as any as S.Schema<GetBatchProviderV1BatchesBatchIdGetRequest>;
|
|
231
|
+
|
|
232
|
+
export interface GetBatchProviderV1BatchesBatchIdGetResponse {
|
|
233
|
+
body: unknown;
|
|
234
|
+
}
|
|
235
|
+
export const GetBatchProviderV1BatchesBatchIdGetResponse =
|
|
236
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
237
|
+
S.Struct({
|
|
238
|
+
body: S.Unknown,
|
|
239
|
+
}),
|
|
240
|
+
).annotate({
|
|
241
|
+
identifier: "GetBatchProviderV1BatchesBatchIdGetResponse",
|
|
242
|
+
}) as any as S.Schema<GetBatchProviderV1BatchesBatchIdGetResponse>;
|
|
243
|
+
|
|
244
|
+
export interface GetBatchV1BatchesBatchIdGetRequest {
|
|
245
|
+
/** The ID of the batch to retrieve */
|
|
246
|
+
batch_id: string;
|
|
247
|
+
provider?: string;
|
|
248
|
+
}
|
|
249
|
+
export const GetBatchV1BatchesBatchIdGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
250
|
+
S.Struct({
|
|
251
|
+
batch_id: S.String.pipe(T.Label()),
|
|
252
|
+
provider: S.optional(S.String.pipe(T.Query())),
|
|
253
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/batches/{batch_id}", code: 200 })),
|
|
254
|
+
).annotate({
|
|
255
|
+
identifier: "GetBatchV1BatchesBatchIdGetRequest",
|
|
256
|
+
}) as any as S.Schema<GetBatchV1BatchesBatchIdGetRequest>;
|
|
257
|
+
|
|
258
|
+
export interface GetBatchV1BatchesBatchIdGetResponse {
|
|
259
|
+
body: unknown;
|
|
260
|
+
}
|
|
261
|
+
export const GetBatchV1BatchesBatchIdGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
262
|
+
S.Struct({
|
|
263
|
+
body: S.Unknown,
|
|
264
|
+
}),
|
|
265
|
+
).annotate({
|
|
266
|
+
identifier: "GetBatchV1BatchesBatchIdGetResponse",
|
|
267
|
+
}) as any as S.Schema<GetBatchV1BatchesBatchIdGetResponse>;
|
|
268
|
+
|
|
269
|
+
export interface ListBatchesBatchesGetRequest {
|
|
270
|
+
provider?: string;
|
|
271
|
+
limit?: number;
|
|
272
|
+
after?: string;
|
|
273
|
+
target_model_names?: string;
|
|
274
|
+
}
|
|
275
|
+
export const ListBatchesBatchesGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
276
|
+
S.Struct({
|
|
277
|
+
provider: S.optional(S.String.pipe(T.Query())),
|
|
278
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
279
|
+
after: S.optional(S.String.pipe(T.Query())),
|
|
280
|
+
target_model_names: S.optional(S.String.pipe(T.Query())),
|
|
281
|
+
}).pipe(T.Http({ method: "GET", uri: "/batches", code: 200 })),
|
|
282
|
+
).annotate({
|
|
283
|
+
identifier: "ListBatchesBatchesGetRequest",
|
|
284
|
+
}) as any as S.Schema<ListBatchesBatchesGetRequest>;
|
|
285
|
+
|
|
286
|
+
export interface ListBatchesBatchesGetResponse {
|
|
287
|
+
body: unknown;
|
|
288
|
+
}
|
|
289
|
+
export const ListBatchesBatchesGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
290
|
+
S.Struct({
|
|
291
|
+
body: S.Unknown,
|
|
292
|
+
}),
|
|
293
|
+
).annotate({
|
|
294
|
+
identifier: "ListBatchesBatchesGetResponse",
|
|
295
|
+
}) as any as S.Schema<ListBatchesBatchesGetResponse>;
|
|
296
|
+
|
|
297
|
+
export interface ListBatchesProviderV1BatchesGetRequest {
|
|
298
|
+
provider: string;
|
|
299
|
+
limit?: number;
|
|
300
|
+
after?: string;
|
|
301
|
+
target_model_names?: string;
|
|
302
|
+
}
|
|
303
|
+
export const ListBatchesProviderV1BatchesGetRequest = /*@__PURE__*/ S.suspend(
|
|
304
|
+
() =>
|
|
305
|
+
S.Struct({
|
|
306
|
+
provider: S.String.pipe(T.Label()),
|
|
307
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
308
|
+
after: S.optional(S.String.pipe(T.Query())),
|
|
309
|
+
target_model_names: S.optional(S.String.pipe(T.Query())),
|
|
310
|
+
}).pipe(
|
|
311
|
+
T.Http({ method: "GET", uri: "/{provider}/v1/batches", code: 200 }),
|
|
312
|
+
),
|
|
313
|
+
).annotate({
|
|
314
|
+
identifier: "ListBatchesProviderV1BatchesGetRequest",
|
|
315
|
+
}) as any as S.Schema<ListBatchesProviderV1BatchesGetRequest>;
|
|
316
|
+
|
|
317
|
+
export interface ListBatchesProviderV1BatchesGetResponse {
|
|
318
|
+
body: unknown;
|
|
319
|
+
}
|
|
320
|
+
export const ListBatchesProviderV1BatchesGetResponse = /*@__PURE__*/ S.suspend(
|
|
321
|
+
() =>
|
|
322
|
+
S.Struct({
|
|
323
|
+
body: S.Unknown,
|
|
324
|
+
}),
|
|
325
|
+
).annotate({
|
|
326
|
+
identifier: "ListBatchesProviderV1BatchesGetResponse",
|
|
327
|
+
}) as any as S.Schema<ListBatchesProviderV1BatchesGetResponse>;
|
|
328
|
+
|
|
329
|
+
export interface ListBatchesV1BatchesGetRequest {
|
|
330
|
+
provider?: string;
|
|
331
|
+
limit?: number;
|
|
332
|
+
after?: string;
|
|
333
|
+
target_model_names?: string;
|
|
334
|
+
}
|
|
335
|
+
export const ListBatchesV1BatchesGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
336
|
+
S.Struct({
|
|
337
|
+
provider: S.optional(S.String.pipe(T.Query())),
|
|
338
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
339
|
+
after: S.optional(S.String.pipe(T.Query())),
|
|
340
|
+
target_model_names: S.optional(S.String.pipe(T.Query())),
|
|
341
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/batches", code: 200 })),
|
|
342
|
+
).annotate({
|
|
343
|
+
identifier: "ListBatchesV1BatchesGetRequest",
|
|
344
|
+
}) as any as S.Schema<ListBatchesV1BatchesGetRequest>;
|
|
345
|
+
|
|
346
|
+
export interface ListBatchesV1BatchesGetResponse {
|
|
347
|
+
body: unknown;
|
|
348
|
+
}
|
|
349
|
+
export const ListBatchesV1BatchesGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
350
|
+
S.Struct({
|
|
351
|
+
body: S.Unknown,
|
|
352
|
+
}),
|
|
353
|
+
).annotate({
|
|
354
|
+
identifier: "ListBatchesV1BatchesGetResponse",
|
|
355
|
+
}) as any as S.Schema<ListBatchesV1BatchesGetResponse>;
|
|
356
|
+
|
|
357
|
+
export type CancelBatchBatchesBatchIdCancelPostError =
|
|
358
|
+
| UnprocessableEntity
|
|
359
|
+
| LitellmOpError;
|
|
360
|
+
/** Cancel Batch Cancel a batch. This is the equivalent of POST https://api.openai.com/v1/batches/{batch_id}/cancel Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/cancel Example Curl ``` curl http://localhost:4000/v1/batches/batch_abc123/cancel -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -X POST ``` */
|
|
361
|
+
export const cancelBatchBatchesBatchIdCancelPost: API.OperationMethod<
|
|
362
|
+
CancelBatchBatchesBatchIdCancelPostRequest,
|
|
363
|
+
CancelBatchBatchesBatchIdCancelPostResponse,
|
|
364
|
+
CancelBatchBatchesBatchIdCancelPostError,
|
|
365
|
+
LitellmOpContext
|
|
366
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
367
|
+
input: CancelBatchBatchesBatchIdCancelPostRequest,
|
|
368
|
+
output: CancelBatchBatchesBatchIdCancelPostResponse,
|
|
369
|
+
errors: [UnprocessableEntity],
|
|
370
|
+
protocol: LitellmProtocol,
|
|
371
|
+
retry: Retry.Retry,
|
|
372
|
+
}));
|
|
373
|
+
|
|
374
|
+
export type CancelBatchProviderV1BatchesBatchIdCancelPostError =
|
|
375
|
+
| UnprocessableEntity
|
|
376
|
+
| LitellmOpError;
|
|
377
|
+
/** Cancel Batch Cancel a batch. This is the equivalent of POST https://api.openai.com/v1/batches/{batch_id}/cancel Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/cancel Example Curl ``` curl http://localhost:4000/v1/batches/batch_abc123/cancel -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -X POST ``` */
|
|
378
|
+
export const cancelBatchProviderV1BatchesBatchIdCancelPost: API.OperationMethod<
|
|
379
|
+
CancelBatchProviderV1BatchesBatchIdCancelPostRequest,
|
|
380
|
+
CancelBatchProviderV1BatchesBatchIdCancelPostResponse,
|
|
381
|
+
CancelBatchProviderV1BatchesBatchIdCancelPostError,
|
|
382
|
+
LitellmOpContext
|
|
383
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
384
|
+
input: CancelBatchProviderV1BatchesBatchIdCancelPostRequest,
|
|
385
|
+
output: CancelBatchProviderV1BatchesBatchIdCancelPostResponse,
|
|
386
|
+
errors: [UnprocessableEntity],
|
|
387
|
+
protocol: LitellmProtocol,
|
|
388
|
+
retry: Retry.Retry,
|
|
389
|
+
}));
|
|
390
|
+
|
|
391
|
+
export type CancelBatchV1BatchesBatchIdCancelPostError =
|
|
392
|
+
| UnprocessableEntity
|
|
393
|
+
| LitellmOpError;
|
|
394
|
+
/** Cancel Batch Cancel a batch. This is the equivalent of POST https://api.openai.com/v1/batches/{batch_id}/cancel Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/cancel Example Curl ``` curl http://localhost:4000/v1/batches/batch_abc123/cancel -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -X POST ``` */
|
|
395
|
+
export const cancelBatchV1BatchesBatchIdCancelPost: API.OperationMethod<
|
|
396
|
+
CancelBatchV1BatchesBatchIdCancelPostRequest,
|
|
397
|
+
CancelBatchV1BatchesBatchIdCancelPostResponse,
|
|
398
|
+
CancelBatchV1BatchesBatchIdCancelPostError,
|
|
399
|
+
LitellmOpContext
|
|
400
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
401
|
+
input: CancelBatchV1BatchesBatchIdCancelPostRequest,
|
|
402
|
+
output: CancelBatchV1BatchesBatchIdCancelPostResponse,
|
|
403
|
+
errors: [UnprocessableEntity],
|
|
404
|
+
protocol: LitellmProtocol,
|
|
405
|
+
retry: Retry.Retry,
|
|
406
|
+
}));
|
|
407
|
+
|
|
408
|
+
export type CreateBatchBatchesPostError = UnprocessableEntity | LitellmOpError;
|
|
409
|
+
/** Create Batch Create large batches of API requests for asynchronous processing. This is the equivalent of POST https://api.openai.com/v1/batch Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch Example Curl ``` curl http://localhost:4000/v1/batches -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -d '{ "input_file_id": "file-abc123", "endpoint": "/v1/chat/completions", "completion_window": "24h" }' ``` */
|
|
410
|
+
export const createBatchBatchesPost: API.OperationMethod<
|
|
411
|
+
CreateBatchBatchesPostRequest,
|
|
412
|
+
CreateBatchBatchesPostResponse,
|
|
413
|
+
CreateBatchBatchesPostError,
|
|
414
|
+
LitellmOpContext
|
|
415
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
416
|
+
input: CreateBatchBatchesPostRequest,
|
|
417
|
+
output: CreateBatchBatchesPostResponse,
|
|
418
|
+
errors: [UnprocessableEntity],
|
|
419
|
+
protocol: LitellmProtocol,
|
|
420
|
+
retry: Retry.Retry,
|
|
421
|
+
}));
|
|
422
|
+
|
|
423
|
+
export type CreateBatchProviderV1BatchesPostError =
|
|
424
|
+
| UnprocessableEntity
|
|
425
|
+
| LitellmOpError;
|
|
426
|
+
/** Create Batch Create large batches of API requests for asynchronous processing. This is the equivalent of POST https://api.openai.com/v1/batch Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch Example Curl ``` curl http://localhost:4000/v1/batches -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -d '{ "input_file_id": "file-abc123", "endpoint": "/v1/chat/completions", "completion_window": "24h" }' ``` */
|
|
427
|
+
export const createBatchProviderV1BatchesPost: API.OperationMethod<
|
|
428
|
+
CreateBatchProviderV1BatchesPostRequest,
|
|
429
|
+
CreateBatchProviderV1BatchesPostResponse,
|
|
430
|
+
CreateBatchProviderV1BatchesPostError,
|
|
431
|
+
LitellmOpContext
|
|
432
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
433
|
+
input: CreateBatchProviderV1BatchesPostRequest,
|
|
434
|
+
output: CreateBatchProviderV1BatchesPostResponse,
|
|
435
|
+
errors: [UnprocessableEntity],
|
|
436
|
+
protocol: LitellmProtocol,
|
|
437
|
+
retry: Retry.Retry,
|
|
438
|
+
}));
|
|
439
|
+
|
|
440
|
+
export type CreateBatchV1BatchesPostError =
|
|
441
|
+
| UnprocessableEntity
|
|
442
|
+
| LitellmOpError;
|
|
443
|
+
/** Create Batch Create large batches of API requests for asynchronous processing. This is the equivalent of POST https://api.openai.com/v1/batch Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch Example Curl ``` curl http://localhost:4000/v1/batches -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -d '{ "input_file_id": "file-abc123", "endpoint": "/v1/chat/completions", "completion_window": "24h" }' ``` */
|
|
444
|
+
export const createBatchV1BatchesPost: API.OperationMethod<
|
|
445
|
+
CreateBatchV1BatchesPostRequest,
|
|
446
|
+
CreateBatchV1BatchesPostResponse,
|
|
447
|
+
CreateBatchV1BatchesPostError,
|
|
448
|
+
LitellmOpContext
|
|
449
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
450
|
+
input: CreateBatchV1BatchesPostRequest,
|
|
451
|
+
output: CreateBatchV1BatchesPostResponse,
|
|
452
|
+
errors: [UnprocessableEntity],
|
|
453
|
+
protocol: LitellmProtocol,
|
|
454
|
+
retry: Retry.Retry,
|
|
455
|
+
}));
|
|
456
|
+
|
|
457
|
+
export type GetBatchBatchesBatchIdGetError =
|
|
458
|
+
| UnprocessableEntity
|
|
459
|
+
| LitellmOpError;
|
|
460
|
+
/** Retrieve Batch Retrieves a batch. This is the equivalent of GET https://api.openai.com/v1/batches/{batch_id} Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/retrieve Example Curl ``` curl http://localhost:4000/v1/batches/batch_abc123 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" ``` */
|
|
461
|
+
export const getBatchBatchesBatchIdGet: API.OperationMethod<
|
|
462
|
+
GetBatchBatchesBatchIdGetRequest,
|
|
463
|
+
GetBatchBatchesBatchIdGetResponse,
|
|
464
|
+
GetBatchBatchesBatchIdGetError,
|
|
465
|
+
LitellmOpContext
|
|
466
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
467
|
+
input: GetBatchBatchesBatchIdGetRequest,
|
|
468
|
+
output: GetBatchBatchesBatchIdGetResponse,
|
|
469
|
+
errors: [UnprocessableEntity],
|
|
470
|
+
protocol: LitellmProtocol,
|
|
471
|
+
retry: Retry.Retry,
|
|
472
|
+
}));
|
|
473
|
+
|
|
474
|
+
export type GetBatchProviderV1BatchesBatchIdGetError =
|
|
475
|
+
| UnprocessableEntity
|
|
476
|
+
| LitellmOpError;
|
|
477
|
+
/** Retrieve Batch Retrieves a batch. This is the equivalent of GET https://api.openai.com/v1/batches/{batch_id} Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/retrieve Example Curl ``` curl http://localhost:4000/v1/batches/batch_abc123 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" ``` */
|
|
478
|
+
export const getBatchProviderV1BatchesBatchIdGet: API.OperationMethod<
|
|
479
|
+
GetBatchProviderV1BatchesBatchIdGetRequest,
|
|
480
|
+
GetBatchProviderV1BatchesBatchIdGetResponse,
|
|
481
|
+
GetBatchProviderV1BatchesBatchIdGetError,
|
|
482
|
+
LitellmOpContext
|
|
483
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
484
|
+
input: GetBatchProviderV1BatchesBatchIdGetRequest,
|
|
485
|
+
output: GetBatchProviderV1BatchesBatchIdGetResponse,
|
|
486
|
+
errors: [UnprocessableEntity],
|
|
487
|
+
protocol: LitellmProtocol,
|
|
488
|
+
retry: Retry.Retry,
|
|
489
|
+
}));
|
|
490
|
+
|
|
491
|
+
export type GetBatchV1BatchesBatchIdGetError =
|
|
492
|
+
| UnprocessableEntity
|
|
493
|
+
| LitellmOpError;
|
|
494
|
+
/** Retrieve Batch Retrieves a batch. This is the equivalent of GET https://api.openai.com/v1/batches/{batch_id} Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/retrieve Example Curl ``` curl http://localhost:4000/v1/batches/batch_abc123 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" ``` */
|
|
495
|
+
export const getBatchV1BatchesBatchIdGet: API.OperationMethod<
|
|
496
|
+
GetBatchV1BatchesBatchIdGetRequest,
|
|
497
|
+
GetBatchV1BatchesBatchIdGetResponse,
|
|
498
|
+
GetBatchV1BatchesBatchIdGetError,
|
|
499
|
+
LitellmOpContext
|
|
500
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
501
|
+
input: GetBatchV1BatchesBatchIdGetRequest,
|
|
502
|
+
output: GetBatchV1BatchesBatchIdGetResponse,
|
|
503
|
+
errors: [UnprocessableEntity],
|
|
504
|
+
protocol: LitellmProtocol,
|
|
505
|
+
retry: Retry.Retry,
|
|
506
|
+
}));
|
|
507
|
+
|
|
508
|
+
export type ListBatchesBatchesGetError = UnprocessableEntity | LitellmOpError;
|
|
509
|
+
/** List Batches Lists This is the equivalent of GET https://api.openai.com/v1/batches/ Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/list Example Curl ``` curl http://localhost:4000/v1/batches?limit=2 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" ``` */
|
|
510
|
+
export const listBatchesBatchesGet: API.OperationMethod<
|
|
511
|
+
ListBatchesBatchesGetRequest,
|
|
512
|
+
ListBatchesBatchesGetResponse,
|
|
513
|
+
ListBatchesBatchesGetError,
|
|
514
|
+
LitellmOpContext
|
|
515
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
516
|
+
input: ListBatchesBatchesGetRequest,
|
|
517
|
+
output: ListBatchesBatchesGetResponse,
|
|
518
|
+
errors: [UnprocessableEntity],
|
|
519
|
+
protocol: LitellmProtocol,
|
|
520
|
+
retry: Retry.Retry,
|
|
521
|
+
}));
|
|
522
|
+
|
|
523
|
+
export type ListBatchesProviderV1BatchesGetError =
|
|
524
|
+
| UnprocessableEntity
|
|
525
|
+
| LitellmOpError;
|
|
526
|
+
/** List Batches Lists This is the equivalent of GET https://api.openai.com/v1/batches/ Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/list Example Curl ``` curl http://localhost:4000/v1/batches?limit=2 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" ``` */
|
|
527
|
+
export const listBatchesProviderV1BatchesGet: API.OperationMethod<
|
|
528
|
+
ListBatchesProviderV1BatchesGetRequest,
|
|
529
|
+
ListBatchesProviderV1BatchesGetResponse,
|
|
530
|
+
ListBatchesProviderV1BatchesGetError,
|
|
531
|
+
LitellmOpContext
|
|
532
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
533
|
+
input: ListBatchesProviderV1BatchesGetRequest,
|
|
534
|
+
output: ListBatchesProviderV1BatchesGetResponse,
|
|
535
|
+
errors: [UnprocessableEntity],
|
|
536
|
+
protocol: LitellmProtocol,
|
|
537
|
+
retry: Retry.Retry,
|
|
538
|
+
}));
|
|
539
|
+
|
|
540
|
+
export type ListBatchesV1BatchesGetError = UnprocessableEntity | LitellmOpError;
|
|
541
|
+
/** List Batches Lists This is the equivalent of GET https://api.openai.com/v1/batches/ Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/list Example Curl ``` curl http://localhost:4000/v1/batches?limit=2 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" ``` */
|
|
542
|
+
export const listBatchesV1BatchesGet: API.OperationMethod<
|
|
543
|
+
ListBatchesV1BatchesGetRequest,
|
|
544
|
+
ListBatchesV1BatchesGetResponse,
|
|
545
|
+
ListBatchesV1BatchesGetError,
|
|
546
|
+
LitellmOpContext
|
|
547
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
548
|
+
input: ListBatchesV1BatchesGetRequest,
|
|
549
|
+
output: ListBatchesV1BatchesGetResponse,
|
|
550
|
+
errors: [UnprocessableEntity],
|
|
551
|
+
protocol: LitellmProtocol,
|
|
552
|
+
retry: Retry.Retry,
|
|
553
|
+
}));
|