@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,194 @@
|
|
|
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 PostCompletionCompletionRequest {
|
|
25
|
+
model?: string;
|
|
26
|
+
}
|
|
27
|
+
export const PostCompletionCompletionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
28
|
+
S.Struct({
|
|
29
|
+
model: S.optional(S.String.pipe(T.Query())),
|
|
30
|
+
}).pipe(T.Http({ method: "POST", uri: "/completions", code: 200 })),
|
|
31
|
+
).annotate({
|
|
32
|
+
identifier: "PostCompletionCompletionRequest",
|
|
33
|
+
}) as any as S.Schema<PostCompletionCompletionRequest>;
|
|
34
|
+
|
|
35
|
+
export interface PostCompletionCompletionResponse {
|
|
36
|
+
body: unknown;
|
|
37
|
+
}
|
|
38
|
+
export const PostCompletionCompletionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
39
|
+
S.Struct({
|
|
40
|
+
body: S.Unknown,
|
|
41
|
+
}),
|
|
42
|
+
).annotate({
|
|
43
|
+
identifier: "PostCompletionCompletionResponse",
|
|
44
|
+
}) as any as S.Schema<PostCompletionCompletionResponse>;
|
|
45
|
+
|
|
46
|
+
export interface PostCompletionEnginesModelCompletionRequest {
|
|
47
|
+
model: string;
|
|
48
|
+
}
|
|
49
|
+
export const PostCompletionEnginesModelCompletionRequest =
|
|
50
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
51
|
+
S.Struct({
|
|
52
|
+
model: S.String.pipe(T.Label()),
|
|
53
|
+
}).pipe(
|
|
54
|
+
T.Http({
|
|
55
|
+
method: "POST",
|
|
56
|
+
uri: "/engines/{model}/completions",
|
|
57
|
+
code: 200,
|
|
58
|
+
}),
|
|
59
|
+
),
|
|
60
|
+
).annotate({
|
|
61
|
+
identifier: "PostCompletionEnginesModelCompletionRequest",
|
|
62
|
+
}) as any as S.Schema<PostCompletionEnginesModelCompletionRequest>;
|
|
63
|
+
|
|
64
|
+
export interface PostCompletionEnginesModelCompletionResponse {
|
|
65
|
+
body: unknown;
|
|
66
|
+
}
|
|
67
|
+
export const PostCompletionEnginesModelCompletionResponse =
|
|
68
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
69
|
+
S.Struct({
|
|
70
|
+
body: S.Unknown,
|
|
71
|
+
}),
|
|
72
|
+
).annotate({
|
|
73
|
+
identifier: "PostCompletionEnginesModelCompletionResponse",
|
|
74
|
+
}) as any as S.Schema<PostCompletionEnginesModelCompletionResponse>;
|
|
75
|
+
|
|
76
|
+
export interface PostCompletionOpenaiDeploymentsModelCompletionRequest {
|
|
77
|
+
model: string;
|
|
78
|
+
}
|
|
79
|
+
export const PostCompletionOpenaiDeploymentsModelCompletionRequest =
|
|
80
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
81
|
+
S.Struct({
|
|
82
|
+
model: S.String.pipe(T.Label()),
|
|
83
|
+
}).pipe(
|
|
84
|
+
T.Http({
|
|
85
|
+
method: "POST",
|
|
86
|
+
uri: "/openai/deployments/{model}/completions",
|
|
87
|
+
code: 200,
|
|
88
|
+
}),
|
|
89
|
+
),
|
|
90
|
+
).annotate({
|
|
91
|
+
identifier: "PostCompletionOpenaiDeploymentsModelCompletionRequest",
|
|
92
|
+
}) as any as S.Schema<PostCompletionOpenaiDeploymentsModelCompletionRequest>;
|
|
93
|
+
|
|
94
|
+
export interface PostCompletionOpenaiDeploymentsModelCompletionResponse {
|
|
95
|
+
body: unknown;
|
|
96
|
+
}
|
|
97
|
+
export const PostCompletionOpenaiDeploymentsModelCompletionResponse =
|
|
98
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
99
|
+
S.Struct({
|
|
100
|
+
body: S.Unknown,
|
|
101
|
+
}),
|
|
102
|
+
).annotate({
|
|
103
|
+
identifier: "PostCompletionOpenaiDeploymentsModelCompletionResponse",
|
|
104
|
+
}) as any as S.Schema<PostCompletionOpenaiDeploymentsModelCompletionResponse>;
|
|
105
|
+
|
|
106
|
+
export interface PostCompletionV1CompletionRequest {
|
|
107
|
+
model?: string;
|
|
108
|
+
}
|
|
109
|
+
export const PostCompletionV1CompletionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
110
|
+
S.Struct({
|
|
111
|
+
model: S.optional(S.String.pipe(T.Query())),
|
|
112
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/completions", code: 200 })),
|
|
113
|
+
).annotate({
|
|
114
|
+
identifier: "PostCompletionV1CompletionRequest",
|
|
115
|
+
}) as any as S.Schema<PostCompletionV1CompletionRequest>;
|
|
116
|
+
|
|
117
|
+
export interface PostCompletionV1CompletionResponse {
|
|
118
|
+
body: unknown;
|
|
119
|
+
}
|
|
120
|
+
export const PostCompletionV1CompletionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
121
|
+
S.Struct({
|
|
122
|
+
body: S.Unknown,
|
|
123
|
+
}),
|
|
124
|
+
).annotate({
|
|
125
|
+
identifier: "PostCompletionV1CompletionResponse",
|
|
126
|
+
}) as any as S.Schema<PostCompletionV1CompletionResponse>;
|
|
127
|
+
|
|
128
|
+
export type PostCompletionCompletionError =
|
|
129
|
+
| UnprocessableEntity
|
|
130
|
+
| LitellmOpError;
|
|
131
|
+
/** Completion Follows the exact same API spec as `OpenAI's Completions API https://platform.openai.com/docs/api-reference/completions` ```bash curl -X POST http://localhost:4000/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{ "model": "gpt-3.5-turbo-instruct", "prompt": "Once upon a time", "max_tokens": 50, "temperature": 0.7 }' ``` */
|
|
132
|
+
export const postCompletionCompletion: API.OperationMethod<
|
|
133
|
+
PostCompletionCompletionRequest,
|
|
134
|
+
PostCompletionCompletionResponse,
|
|
135
|
+
PostCompletionCompletionError,
|
|
136
|
+
LitellmOpContext
|
|
137
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
138
|
+
input: PostCompletionCompletionRequest,
|
|
139
|
+
output: PostCompletionCompletionResponse,
|
|
140
|
+
errors: [UnprocessableEntity],
|
|
141
|
+
protocol: LitellmProtocol,
|
|
142
|
+
retry: Retry.Retry,
|
|
143
|
+
}));
|
|
144
|
+
|
|
145
|
+
export type PostCompletionEnginesModelCompletionError =
|
|
146
|
+
| UnprocessableEntity
|
|
147
|
+
| LitellmOpError;
|
|
148
|
+
/** Completion Follows the exact same API spec as `OpenAI's Completions API https://platform.openai.com/docs/api-reference/completions` ```bash curl -X POST http://localhost:4000/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{ "model": "gpt-3.5-turbo-instruct", "prompt": "Once upon a time", "max_tokens": 50, "temperature": 0.7 }' ``` */
|
|
149
|
+
export const postCompletionEnginesModelCompletion: API.OperationMethod<
|
|
150
|
+
PostCompletionEnginesModelCompletionRequest,
|
|
151
|
+
PostCompletionEnginesModelCompletionResponse,
|
|
152
|
+
PostCompletionEnginesModelCompletionError,
|
|
153
|
+
LitellmOpContext
|
|
154
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
155
|
+
input: PostCompletionEnginesModelCompletionRequest,
|
|
156
|
+
output: PostCompletionEnginesModelCompletionResponse,
|
|
157
|
+
errors: [UnprocessableEntity],
|
|
158
|
+
protocol: LitellmProtocol,
|
|
159
|
+
retry: Retry.Retry,
|
|
160
|
+
}));
|
|
161
|
+
|
|
162
|
+
export type PostCompletionOpenaiDeploymentsModelCompletionError =
|
|
163
|
+
| UnprocessableEntity
|
|
164
|
+
| LitellmOpError;
|
|
165
|
+
/** Completion Follows the exact same API spec as `OpenAI's Completions API https://platform.openai.com/docs/api-reference/completions` ```bash curl -X POST http://localhost:4000/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{ "model": "gpt-3.5-turbo-instruct", "prompt": "Once upon a time", "max_tokens": 50, "temperature": 0.7 }' ``` */
|
|
166
|
+
export const postCompletionOpenaiDeploymentsModelCompletion: API.OperationMethod<
|
|
167
|
+
PostCompletionOpenaiDeploymentsModelCompletionRequest,
|
|
168
|
+
PostCompletionOpenaiDeploymentsModelCompletionResponse,
|
|
169
|
+
PostCompletionOpenaiDeploymentsModelCompletionError,
|
|
170
|
+
LitellmOpContext
|
|
171
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
172
|
+
input: PostCompletionOpenaiDeploymentsModelCompletionRequest,
|
|
173
|
+
output: PostCompletionOpenaiDeploymentsModelCompletionResponse,
|
|
174
|
+
errors: [UnprocessableEntity],
|
|
175
|
+
protocol: LitellmProtocol,
|
|
176
|
+
retry: Retry.Retry,
|
|
177
|
+
}));
|
|
178
|
+
|
|
179
|
+
export type PostCompletionV1CompletionError =
|
|
180
|
+
| UnprocessableEntity
|
|
181
|
+
| LitellmOpError;
|
|
182
|
+
/** Completion Follows the exact same API spec as `OpenAI's Completions API https://platform.openai.com/docs/api-reference/completions` ```bash curl -X POST http://localhost:4000/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{ "model": "gpt-3.5-turbo-instruct", "prompt": "Once upon a time", "max_tokens": 50, "temperature": 0.7 }' ``` */
|
|
183
|
+
export const postCompletionV1Completion: API.OperationMethod<
|
|
184
|
+
PostCompletionV1CompletionRequest,
|
|
185
|
+
PostCompletionV1CompletionResponse,
|
|
186
|
+
PostCompletionV1CompletionError,
|
|
187
|
+
LitellmOpContext
|
|
188
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
189
|
+
input: PostCompletionV1CompletionRequest,
|
|
190
|
+
output: PostCompletionV1CompletionResponse,
|
|
191
|
+
errors: [UnprocessableEntity],
|
|
192
|
+
protocol: LitellmProtocol,
|
|
193
|
+
retry: Retry.Retry,
|
|
194
|
+
}));
|
|
@@ -0,0 +1,175 @@
|
|
|
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 type PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationItemMap =
|
|
25
|
+
{ [key: string]: unknown | undefined };
|
|
26
|
+
export const PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationItemMap =
|
|
27
|
+
/*@__PURE__*/ S.Record(
|
|
28
|
+
S.String,
|
|
29
|
+
S.Unknown,
|
|
30
|
+
) as any as S.Schema<PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationItemMap>;
|
|
31
|
+
|
|
32
|
+
export type PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationList =
|
|
33
|
+
Array<PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationItemMap>;
|
|
34
|
+
export const PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationList =
|
|
35
|
+
/*@__PURE__*/ S.Array(
|
|
36
|
+
PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationItemMap,
|
|
37
|
+
) as any as S.Schema<PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationList>;
|
|
38
|
+
|
|
39
|
+
export interface PostCheckEuAiActComplianceComplianceEuAiActRequest {
|
|
40
|
+
guardrail_information?: PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationList | null;
|
|
41
|
+
model?: string | null;
|
|
42
|
+
request_id: string;
|
|
43
|
+
timestamp?: string | null;
|
|
44
|
+
user_id?: string | null;
|
|
45
|
+
}
|
|
46
|
+
export const PostCheckEuAiActComplianceComplianceEuAiActRequest =
|
|
47
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
48
|
+
S.Struct({
|
|
49
|
+
guardrail_information: S.optional(
|
|
50
|
+
S.NullOr(
|
|
51
|
+
PostCheckEuAiActComplianceComplianceEuAiActRequestGuardrailInformationList,
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
model: S.optional(S.NullOr(S.String)),
|
|
55
|
+
request_id: S.String,
|
|
56
|
+
timestamp: S.optional(S.NullOr(S.String)),
|
|
57
|
+
user_id: S.optional(S.NullOr(S.String)),
|
|
58
|
+
}).pipe(
|
|
59
|
+
T.Http({ method: "POST", uri: "/compliance/eu-ai-act", code: 200 }),
|
|
60
|
+
),
|
|
61
|
+
).annotate({
|
|
62
|
+
identifier: "PostCheckEuAiActComplianceComplianceEuAiActRequest",
|
|
63
|
+
}) as any as S.Schema<PostCheckEuAiActComplianceComplianceEuAiActRequest>;
|
|
64
|
+
|
|
65
|
+
/** Result of a single compliance check. */
|
|
66
|
+
export interface ComplianceCheckResult {
|
|
67
|
+
article: string;
|
|
68
|
+
check_name: string;
|
|
69
|
+
detail: string;
|
|
70
|
+
passed: boolean;
|
|
71
|
+
}
|
|
72
|
+
export const ComplianceCheckResult = /*@__PURE__*/ S.suspend(() =>
|
|
73
|
+
S.Struct({
|
|
74
|
+
article: S.String,
|
|
75
|
+
check_name: S.String,
|
|
76
|
+
detail: S.String,
|
|
77
|
+
passed: S.Boolean,
|
|
78
|
+
}),
|
|
79
|
+
).annotate({
|
|
80
|
+
identifier: "ComplianceCheckResult",
|
|
81
|
+
}) as any as S.Schema<ComplianceCheckResult>;
|
|
82
|
+
|
|
83
|
+
export type ComplianceResponseChecksList = Array<ComplianceCheckResult>;
|
|
84
|
+
export const ComplianceResponseChecksList = /*@__PURE__*/ S.Array(
|
|
85
|
+
ComplianceCheckResult,
|
|
86
|
+
) as any as S.Schema<ComplianceResponseChecksList>;
|
|
87
|
+
|
|
88
|
+
/** Response from a compliance check endpoint. */
|
|
89
|
+
export interface ComplianceResponse {
|
|
90
|
+
checks: ComplianceResponseChecksList;
|
|
91
|
+
compliant: boolean;
|
|
92
|
+
regulation: string;
|
|
93
|
+
}
|
|
94
|
+
export const ComplianceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
95
|
+
S.Struct({
|
|
96
|
+
checks: ComplianceResponseChecksList,
|
|
97
|
+
compliant: S.Boolean,
|
|
98
|
+
regulation: S.String,
|
|
99
|
+
}),
|
|
100
|
+
).annotate({
|
|
101
|
+
identifier: "ComplianceResponse",
|
|
102
|
+
}) as any as S.Schema<ComplianceResponse>;
|
|
103
|
+
|
|
104
|
+
export type PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationItemMap =
|
|
105
|
+
{ [key: string]: unknown | undefined };
|
|
106
|
+
export const PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationItemMap =
|
|
107
|
+
/*@__PURE__*/ S.Record(
|
|
108
|
+
S.String,
|
|
109
|
+
S.Unknown,
|
|
110
|
+
) as any as S.Schema<PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationItemMap>;
|
|
111
|
+
|
|
112
|
+
export type PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationList =
|
|
113
|
+
Array<PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationItemMap>;
|
|
114
|
+
export const PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationList =
|
|
115
|
+
/*@__PURE__*/ S.Array(
|
|
116
|
+
PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationItemMap,
|
|
117
|
+
) as any as S.Schema<PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationList>;
|
|
118
|
+
|
|
119
|
+
export interface PostCheckGdprComplianceComplianceGdprRequest {
|
|
120
|
+
guardrail_information?: PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationList | null;
|
|
121
|
+
model?: string | null;
|
|
122
|
+
request_id: string;
|
|
123
|
+
timestamp?: string | null;
|
|
124
|
+
user_id?: string | null;
|
|
125
|
+
}
|
|
126
|
+
export const PostCheckGdprComplianceComplianceGdprRequest =
|
|
127
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
128
|
+
S.Struct({
|
|
129
|
+
guardrail_information: S.optional(
|
|
130
|
+
S.NullOr(
|
|
131
|
+
PostCheckGdprComplianceComplianceGdprRequestGuardrailInformationList,
|
|
132
|
+
),
|
|
133
|
+
),
|
|
134
|
+
model: S.optional(S.NullOr(S.String)),
|
|
135
|
+
request_id: S.String,
|
|
136
|
+
timestamp: S.optional(S.NullOr(S.String)),
|
|
137
|
+
user_id: S.optional(S.NullOr(S.String)),
|
|
138
|
+
}).pipe(T.Http({ method: "POST", uri: "/compliance/gdpr", code: 200 })),
|
|
139
|
+
).annotate({
|
|
140
|
+
identifier: "PostCheckGdprComplianceComplianceGdprRequest",
|
|
141
|
+
}) as any as S.Schema<PostCheckGdprComplianceComplianceGdprRequest>;
|
|
142
|
+
|
|
143
|
+
export type PostCheckEuAiActComplianceComplianceEuAiActError =
|
|
144
|
+
| UnprocessableEntity
|
|
145
|
+
| LitellmOpError;
|
|
146
|
+
/** Check Eu Ai Act Compliance Check EU AI Act compliance for a spend log entry. Checks: - Art. 9: Guardrails applied (any guardrail) - Art. 5: Content screened before LLM (pre-call guardrails) - Art. 12: Audit record complete (user_id, model, timestamp, guardrail_results) */
|
|
147
|
+
export const postCheckEuAiActComplianceComplianceEuAiAct: API.OperationMethod<
|
|
148
|
+
PostCheckEuAiActComplianceComplianceEuAiActRequest,
|
|
149
|
+
ComplianceResponse,
|
|
150
|
+
PostCheckEuAiActComplianceComplianceEuAiActError,
|
|
151
|
+
LitellmOpContext
|
|
152
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
153
|
+
input: PostCheckEuAiActComplianceComplianceEuAiActRequest,
|
|
154
|
+
output: ComplianceResponse,
|
|
155
|
+
errors: [UnprocessableEntity],
|
|
156
|
+
protocol: LitellmProtocol,
|
|
157
|
+
retry: Retry.Retry,
|
|
158
|
+
}));
|
|
159
|
+
|
|
160
|
+
export type PostCheckGdprComplianceComplianceGdprError =
|
|
161
|
+
| UnprocessableEntity
|
|
162
|
+
| LitellmOpError;
|
|
163
|
+
/** Check Gdpr Compliance Check GDPR compliance for a spend log entry. Checks: - Art. 32: Data protection applied (pre-call guardrails) - Art. 5(1)(c): Sensitive data protected (masked/blocked or no issues) - Art. 30: Audit record complete (user_id, model, timestamp, guardrail_results) */
|
|
164
|
+
export const postCheckGdprComplianceComplianceGdpr: API.OperationMethod<
|
|
165
|
+
PostCheckGdprComplianceComplianceGdprRequest,
|
|
166
|
+
ComplianceResponse,
|
|
167
|
+
PostCheckGdprComplianceComplianceGdprError,
|
|
168
|
+
LitellmOpContext
|
|
169
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
170
|
+
input: PostCheckGdprComplianceComplianceGdprRequest,
|
|
171
|
+
output: ComplianceResponse,
|
|
172
|
+
errors: [UnprocessableEntity],
|
|
173
|
+
protocol: LitellmProtocol,
|
|
174
|
+
retry: Retry.Retry,
|
|
175
|
+
}));
|