@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,1243 @@
|
|
|
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 SCIMMember {
|
|
25
|
+
display?: string | null;
|
|
26
|
+
type?: string | null;
|
|
27
|
+
value: string;
|
|
28
|
+
}
|
|
29
|
+
export const SCIMMember = /*@__PURE__*/ S.suspend(() =>
|
|
30
|
+
S.Struct({
|
|
31
|
+
display: S.optional(S.NullOr(S.String)),
|
|
32
|
+
type: S.optional(S.NullOr(S.String)),
|
|
33
|
+
value: S.String,
|
|
34
|
+
}),
|
|
35
|
+
).annotate({ identifier: "SCIMMember" }) as any as S.Schema<SCIMMember>;
|
|
36
|
+
|
|
37
|
+
export type CreateGroupScimV2GroupsPostRequestMembersList = Array<SCIMMember>;
|
|
38
|
+
export const CreateGroupScimV2GroupsPostRequestMembersList =
|
|
39
|
+
/*@__PURE__*/ S.Array(
|
|
40
|
+
SCIMMember,
|
|
41
|
+
) as any as S.Schema<CreateGroupScimV2GroupsPostRequestMembersList>;
|
|
42
|
+
|
|
43
|
+
export type CreateGroupScimV2GroupsPostRequestMetaMap = {
|
|
44
|
+
[key: string]: unknown | undefined;
|
|
45
|
+
};
|
|
46
|
+
export const CreateGroupScimV2GroupsPostRequestMetaMap = /*@__PURE__*/ S.Record(
|
|
47
|
+
S.String,
|
|
48
|
+
S.Unknown,
|
|
49
|
+
) as any as S.Schema<CreateGroupScimV2GroupsPostRequestMetaMap>;
|
|
50
|
+
|
|
51
|
+
export type CreateGroupScimV2GroupsPostRequestSchemasList = Array<string>;
|
|
52
|
+
export const CreateGroupScimV2GroupsPostRequestSchemasList =
|
|
53
|
+
/*@__PURE__*/ S.Array(
|
|
54
|
+
S.String,
|
|
55
|
+
) as any as S.Schema<CreateGroupScimV2GroupsPostRequestSchemasList>;
|
|
56
|
+
|
|
57
|
+
export interface CreateGroupScimV2GroupsPostRequest {
|
|
58
|
+
feature?: string;
|
|
59
|
+
displayName: string;
|
|
60
|
+
externalId?: string | null;
|
|
61
|
+
id?: string | null;
|
|
62
|
+
members?: CreateGroupScimV2GroupsPostRequestMembersList | null;
|
|
63
|
+
meta?: CreateGroupScimV2GroupsPostRequestMetaMap | null;
|
|
64
|
+
schemas: CreateGroupScimV2GroupsPostRequestSchemasList;
|
|
65
|
+
}
|
|
66
|
+
export const CreateGroupScimV2GroupsPostRequest = /*@__PURE__*/ S.suspend(() =>
|
|
67
|
+
S.Struct({
|
|
68
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
69
|
+
displayName: S.String,
|
|
70
|
+
externalId: S.optional(S.NullOr(S.String)),
|
|
71
|
+
id: S.optional(S.NullOr(S.String)),
|
|
72
|
+
members: S.optional(
|
|
73
|
+
S.NullOr(CreateGroupScimV2GroupsPostRequestMembersList),
|
|
74
|
+
),
|
|
75
|
+
meta: S.optional(S.NullOr(CreateGroupScimV2GroupsPostRequestMetaMap)),
|
|
76
|
+
schemas: CreateGroupScimV2GroupsPostRequestSchemasList,
|
|
77
|
+
}).pipe(T.Http({ method: "POST", uri: "/scim/v2/Groups", code: 200 })),
|
|
78
|
+
).annotate({
|
|
79
|
+
identifier: "CreateGroupScimV2GroupsPostRequest",
|
|
80
|
+
}) as any as S.Schema<CreateGroupScimV2GroupsPostRequest>;
|
|
81
|
+
|
|
82
|
+
export type SCIMGroupMembersList = Array<SCIMMember>;
|
|
83
|
+
export const SCIMGroupMembersList = /*@__PURE__*/ S.Array(
|
|
84
|
+
SCIMMember,
|
|
85
|
+
) as any as S.Schema<SCIMGroupMembersList>;
|
|
86
|
+
|
|
87
|
+
export type SCIMGroupMetaMap = { [key: string]: unknown | undefined };
|
|
88
|
+
export const SCIMGroupMetaMap = /*@__PURE__*/ S.Record(
|
|
89
|
+
S.String,
|
|
90
|
+
S.Unknown,
|
|
91
|
+
) as any as S.Schema<SCIMGroupMetaMap>;
|
|
92
|
+
|
|
93
|
+
export type SCIMGroupSchemasList = Array<string>;
|
|
94
|
+
export const SCIMGroupSchemasList = /*@__PURE__*/ S.Array(
|
|
95
|
+
S.String,
|
|
96
|
+
) as any as S.Schema<SCIMGroupSchemasList>;
|
|
97
|
+
|
|
98
|
+
export interface SCIMGroup {
|
|
99
|
+
displayName: string;
|
|
100
|
+
externalId?: string | null;
|
|
101
|
+
id?: string | null;
|
|
102
|
+
members?: SCIMGroupMembersList | null;
|
|
103
|
+
meta?: SCIMGroupMetaMap | null;
|
|
104
|
+
schemas: SCIMGroupSchemasList;
|
|
105
|
+
}
|
|
106
|
+
export const SCIMGroup = /*@__PURE__*/ S.suspend(() =>
|
|
107
|
+
S.Struct({
|
|
108
|
+
displayName: S.String,
|
|
109
|
+
externalId: S.optional(S.NullOr(S.String)),
|
|
110
|
+
id: S.optional(S.NullOr(S.String)),
|
|
111
|
+
members: S.optional(S.NullOr(SCIMGroupMembersList)),
|
|
112
|
+
meta: S.optional(S.NullOr(SCIMGroupMetaMap)),
|
|
113
|
+
schemas: SCIMGroupSchemasList,
|
|
114
|
+
}),
|
|
115
|
+
).annotate({ identifier: "SCIMGroup" }) as any as S.Schema<SCIMGroup>;
|
|
116
|
+
|
|
117
|
+
export interface SCIMUserEmail {
|
|
118
|
+
primary?: boolean | null;
|
|
119
|
+
type?: string | null;
|
|
120
|
+
value: string;
|
|
121
|
+
}
|
|
122
|
+
export const SCIMUserEmail = /*@__PURE__*/ S.suspend(() =>
|
|
123
|
+
S.Struct({
|
|
124
|
+
primary: S.optional(S.NullOr(S.Boolean)),
|
|
125
|
+
type: S.optional(S.NullOr(S.String)),
|
|
126
|
+
value: S.String,
|
|
127
|
+
}),
|
|
128
|
+
).annotate({ identifier: "SCIMUserEmail" }) as any as S.Schema<SCIMUserEmail>;
|
|
129
|
+
|
|
130
|
+
export type CreateUserScimV2UsersPostRequestEmailsList = Array<SCIMUserEmail>;
|
|
131
|
+
export const CreateUserScimV2UsersPostRequestEmailsList = /*@__PURE__*/ S.Array(
|
|
132
|
+
SCIMUserEmail,
|
|
133
|
+
) as any as S.Schema<CreateUserScimV2UsersPostRequestEmailsList>;
|
|
134
|
+
|
|
135
|
+
export interface SCIMMultiValuedAttribute {
|
|
136
|
+
display?: string | null;
|
|
137
|
+
primary?: boolean | null;
|
|
138
|
+
type?: string | null;
|
|
139
|
+
value: string;
|
|
140
|
+
}
|
|
141
|
+
export const SCIMMultiValuedAttribute = /*@__PURE__*/ S.suspend(() =>
|
|
142
|
+
S.Struct({
|
|
143
|
+
display: S.optional(S.NullOr(S.String)),
|
|
144
|
+
primary: S.optional(S.NullOr(S.Boolean)),
|
|
145
|
+
type: S.optional(S.NullOr(S.String)),
|
|
146
|
+
value: S.String,
|
|
147
|
+
}),
|
|
148
|
+
).annotate({
|
|
149
|
+
identifier: "SCIMMultiValuedAttribute",
|
|
150
|
+
}) as any as S.Schema<SCIMMultiValuedAttribute>;
|
|
151
|
+
|
|
152
|
+
export type CreateUserScimV2UsersPostRequestEntitlementsList =
|
|
153
|
+
Array<SCIMMultiValuedAttribute>;
|
|
154
|
+
export const CreateUserScimV2UsersPostRequestEntitlementsList =
|
|
155
|
+
/*@__PURE__*/ S.Array(
|
|
156
|
+
SCIMMultiValuedAttribute,
|
|
157
|
+
) as any as S.Schema<CreateUserScimV2UsersPostRequestEntitlementsList>;
|
|
158
|
+
|
|
159
|
+
export type SCIMUserGroup = SCIMMember;
|
|
160
|
+
export const SCIMUserGroup = SCIMMember;
|
|
161
|
+
|
|
162
|
+
export type CreateUserScimV2UsersPostRequestGroupsList = Array<SCIMMember>;
|
|
163
|
+
export const CreateUserScimV2UsersPostRequestGroupsList = /*@__PURE__*/ S.Array(
|
|
164
|
+
SCIMMember,
|
|
165
|
+
) as any as S.Schema<CreateUserScimV2UsersPostRequestGroupsList>;
|
|
166
|
+
|
|
167
|
+
export type CreateUserScimV2UsersPostRequestMetaMap = {
|
|
168
|
+
[key: string]: unknown | undefined;
|
|
169
|
+
};
|
|
170
|
+
export const CreateUserScimV2UsersPostRequestMetaMap = /*@__PURE__*/ S.Record(
|
|
171
|
+
S.String,
|
|
172
|
+
S.Unknown,
|
|
173
|
+
) as any as S.Schema<CreateUserScimV2UsersPostRequestMetaMap>;
|
|
174
|
+
|
|
175
|
+
export interface SCIMUserName {
|
|
176
|
+
familyName?: string | null;
|
|
177
|
+
formatted?: string | null;
|
|
178
|
+
givenName?: string | null;
|
|
179
|
+
honorificPrefix?: string | null;
|
|
180
|
+
honorificSuffix?: string | null;
|
|
181
|
+
middleName?: string | null;
|
|
182
|
+
}
|
|
183
|
+
export const SCIMUserName = /*@__PURE__*/ S.suspend(() =>
|
|
184
|
+
S.Struct({
|
|
185
|
+
familyName: S.optional(S.NullOr(S.String)),
|
|
186
|
+
formatted: S.optional(S.NullOr(S.String)),
|
|
187
|
+
givenName: S.optional(S.NullOr(S.String)),
|
|
188
|
+
honorificPrefix: S.optional(S.NullOr(S.String)),
|
|
189
|
+
honorificSuffix: S.optional(S.NullOr(S.String)),
|
|
190
|
+
middleName: S.optional(S.NullOr(S.String)),
|
|
191
|
+
}),
|
|
192
|
+
).annotate({ identifier: "SCIMUserName" }) as any as S.Schema<SCIMUserName>;
|
|
193
|
+
|
|
194
|
+
export type CreateUserScimV2UsersPostRequestRolesList =
|
|
195
|
+
Array<SCIMMultiValuedAttribute>;
|
|
196
|
+
export const CreateUserScimV2UsersPostRequestRolesList = /*@__PURE__*/ S.Array(
|
|
197
|
+
SCIMMultiValuedAttribute,
|
|
198
|
+
) as any as S.Schema<CreateUserScimV2UsersPostRequestRolesList>;
|
|
199
|
+
|
|
200
|
+
export type CreateUserScimV2UsersPostRequestSchemasList = Array<string>;
|
|
201
|
+
export const CreateUserScimV2UsersPostRequestSchemasList =
|
|
202
|
+
/*@__PURE__*/ S.Array(
|
|
203
|
+
S.String,
|
|
204
|
+
) as any as S.Schema<CreateUserScimV2UsersPostRequestSchemasList>;
|
|
205
|
+
|
|
206
|
+
export interface SCIMUserManager {
|
|
207
|
+
_ref?: string | null;
|
|
208
|
+
displayName?: string | null;
|
|
209
|
+
value?: string | null;
|
|
210
|
+
}
|
|
211
|
+
export const SCIMUserManager = /*@__PURE__*/ S.suspend(() =>
|
|
212
|
+
S.Struct({
|
|
213
|
+
_ref: S.optional(S.NullOr(S.String).pipe(T.Body("$ref"))),
|
|
214
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
215
|
+
value: S.optional(S.NullOr(S.String)),
|
|
216
|
+
}),
|
|
217
|
+
).annotate({
|
|
218
|
+
identifier: "SCIMUserManager",
|
|
219
|
+
}) as any as S.Schema<SCIMUserManager>;
|
|
220
|
+
|
|
221
|
+
export interface SCIMEnterpriseUser {
|
|
222
|
+
costCenter?: string | null;
|
|
223
|
+
department?: string | null;
|
|
224
|
+
division?: string | null;
|
|
225
|
+
employeeNumber?: string | null;
|
|
226
|
+
manager?: SCIMUserManager | null;
|
|
227
|
+
organization?: string | null;
|
|
228
|
+
}
|
|
229
|
+
export const SCIMEnterpriseUser = /*@__PURE__*/ S.suspend(() =>
|
|
230
|
+
S.Struct({
|
|
231
|
+
costCenter: S.optional(S.NullOr(S.String)),
|
|
232
|
+
department: S.optional(S.NullOr(S.String)),
|
|
233
|
+
division: S.optional(S.NullOr(S.String)),
|
|
234
|
+
employeeNumber: S.optional(S.NullOr(S.String)),
|
|
235
|
+
manager: S.optional(S.NullOr(SCIMUserManager)),
|
|
236
|
+
organization: S.optional(S.NullOr(S.String)),
|
|
237
|
+
}),
|
|
238
|
+
).annotate({
|
|
239
|
+
identifier: "SCIMEnterpriseUser",
|
|
240
|
+
}) as any as S.Schema<SCIMEnterpriseUser>;
|
|
241
|
+
|
|
242
|
+
export interface CreateUserScimV2UsersPostRequest {
|
|
243
|
+
feature?: string;
|
|
244
|
+
active?: boolean;
|
|
245
|
+
displayName?: string | null;
|
|
246
|
+
emails?: CreateUserScimV2UsersPostRequestEmailsList | null;
|
|
247
|
+
entitlements?: CreateUserScimV2UsersPostRequestEntitlementsList | null;
|
|
248
|
+
externalId?: string | null;
|
|
249
|
+
groups?: CreateUserScimV2UsersPostRequestGroupsList | null;
|
|
250
|
+
id?: string | null;
|
|
251
|
+
meta?: CreateUserScimV2UsersPostRequestMetaMap | null;
|
|
252
|
+
name?: SCIMUserName | null;
|
|
253
|
+
roles?: CreateUserScimV2UsersPostRequestRolesList | null;
|
|
254
|
+
schemas: CreateUserScimV2UsersPostRequestSchemasList;
|
|
255
|
+
urn_ietf_params_scim_schemas_extension_enterprise_2_0_User?: SCIMEnterpriseUser | null;
|
|
256
|
+
userName?: string | null;
|
|
257
|
+
}
|
|
258
|
+
export const CreateUserScimV2UsersPostRequest = /*@__PURE__*/ S.suspend(() =>
|
|
259
|
+
S.Struct({
|
|
260
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
261
|
+
active: S.optional(S.Boolean),
|
|
262
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
263
|
+
emails: S.optional(S.NullOr(CreateUserScimV2UsersPostRequestEmailsList)),
|
|
264
|
+
entitlements: S.optional(
|
|
265
|
+
S.NullOr(CreateUserScimV2UsersPostRequestEntitlementsList),
|
|
266
|
+
),
|
|
267
|
+
externalId: S.optional(S.NullOr(S.String)),
|
|
268
|
+
groups: S.optional(S.NullOr(CreateUserScimV2UsersPostRequestGroupsList)),
|
|
269
|
+
id: S.optional(S.NullOr(S.String)),
|
|
270
|
+
meta: S.optional(S.NullOr(CreateUserScimV2UsersPostRequestMetaMap)),
|
|
271
|
+
name: S.optional(S.NullOr(SCIMUserName)),
|
|
272
|
+
roles: S.optional(S.NullOr(CreateUserScimV2UsersPostRequestRolesList)),
|
|
273
|
+
schemas: CreateUserScimV2UsersPostRequestSchemasList,
|
|
274
|
+
urn_ietf_params_scim_schemas_extension_enterprise_2_0_User: S.optional(
|
|
275
|
+
S.NullOr(SCIMEnterpriseUser).pipe(
|
|
276
|
+
T.Body("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"),
|
|
277
|
+
),
|
|
278
|
+
),
|
|
279
|
+
userName: S.optional(S.NullOr(S.String)),
|
|
280
|
+
}).pipe(T.Http({ method: "POST", uri: "/scim/v2/Users", code: 200 })),
|
|
281
|
+
).annotate({
|
|
282
|
+
identifier: "CreateUserScimV2UsersPostRequest",
|
|
283
|
+
}) as any as S.Schema<CreateUserScimV2UsersPostRequest>;
|
|
284
|
+
|
|
285
|
+
export type SCIMUserOutput = { [key: string]: unknown | undefined };
|
|
286
|
+
export const SCIMUserOutput = /*@__PURE__*/ S.Record(
|
|
287
|
+
S.String,
|
|
288
|
+
S.Unknown,
|
|
289
|
+
) as any as S.Schema<SCIMUserOutput>;
|
|
290
|
+
|
|
291
|
+
export interface CreateUserScimV2UsersPostResponse {
|
|
292
|
+
body: SCIMUserOutput;
|
|
293
|
+
}
|
|
294
|
+
export const CreateUserScimV2UsersPostResponse = /*@__PURE__*/ S.suspend(() =>
|
|
295
|
+
S.Struct({
|
|
296
|
+
body: SCIMUserOutput,
|
|
297
|
+
}),
|
|
298
|
+
).annotate({
|
|
299
|
+
identifier: "CreateUserScimV2UsersPostResponse",
|
|
300
|
+
}) as any as S.Schema<CreateUserScimV2UsersPostResponse>;
|
|
301
|
+
|
|
302
|
+
export interface DeleteGroupScimV2GroupsGroupIdDeleteRequest {
|
|
303
|
+
group_id: string;
|
|
304
|
+
feature?: string;
|
|
305
|
+
}
|
|
306
|
+
export const DeleteGroupScimV2GroupsGroupIdDeleteRequest =
|
|
307
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
308
|
+
S.Struct({
|
|
309
|
+
group_id: S.String.pipe(T.Label()),
|
|
310
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
311
|
+
}).pipe(
|
|
312
|
+
T.Http({
|
|
313
|
+
method: "DELETE",
|
|
314
|
+
uri: "/scim/v2/Groups/{group_id}",
|
|
315
|
+
code: 200,
|
|
316
|
+
}),
|
|
317
|
+
),
|
|
318
|
+
).annotate({
|
|
319
|
+
identifier: "DeleteGroupScimV2GroupsGroupIdDeleteRequest",
|
|
320
|
+
}) as any as S.Schema<DeleteGroupScimV2GroupsGroupIdDeleteRequest>;
|
|
321
|
+
|
|
322
|
+
export interface DeleteGroupScimV2GroupsGroupIdDeleteResponse {}
|
|
323
|
+
export const DeleteGroupScimV2GroupsGroupIdDeleteResponse =
|
|
324
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
325
|
+
identifier: "DeleteGroupScimV2GroupsGroupIdDeleteResponse",
|
|
326
|
+
}) as any as S.Schema<DeleteGroupScimV2GroupsGroupIdDeleteResponse>;
|
|
327
|
+
|
|
328
|
+
export interface DeleteUserScimV2UsersUserIdDeleteRequest {
|
|
329
|
+
user_id: string;
|
|
330
|
+
feature?: string;
|
|
331
|
+
}
|
|
332
|
+
export const DeleteUserScimV2UsersUserIdDeleteRequest = /*@__PURE__*/ S.suspend(
|
|
333
|
+
() =>
|
|
334
|
+
S.Struct({
|
|
335
|
+
user_id: S.String.pipe(T.Label()),
|
|
336
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
337
|
+
}).pipe(
|
|
338
|
+
T.Http({ method: "DELETE", uri: "/scim/v2/Users/{user_id}", code: 200 }),
|
|
339
|
+
),
|
|
340
|
+
).annotate({
|
|
341
|
+
identifier: "DeleteUserScimV2UsersUserIdDeleteRequest",
|
|
342
|
+
}) as any as S.Schema<DeleteUserScimV2UsersUserIdDeleteRequest>;
|
|
343
|
+
|
|
344
|
+
export interface DeleteUserScimV2UsersUserIdDeleteResponse {}
|
|
345
|
+
export const DeleteUserScimV2UsersUserIdDeleteResponse =
|
|
346
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
347
|
+
identifier: "DeleteUserScimV2UsersUserIdDeleteResponse",
|
|
348
|
+
}) as any as S.Schema<DeleteUserScimV2UsersUserIdDeleteResponse>;
|
|
349
|
+
|
|
350
|
+
export interface GetGroupScimV2GroupsGroupIdGetRequest {
|
|
351
|
+
group_id: string;
|
|
352
|
+
feature?: string;
|
|
353
|
+
}
|
|
354
|
+
export const GetGroupScimV2GroupsGroupIdGetRequest = /*@__PURE__*/ S.suspend(
|
|
355
|
+
() =>
|
|
356
|
+
S.Struct({
|
|
357
|
+
group_id: S.String.pipe(T.Label()),
|
|
358
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
359
|
+
}).pipe(
|
|
360
|
+
T.Http({ method: "GET", uri: "/scim/v2/Groups/{group_id}", code: 200 }),
|
|
361
|
+
),
|
|
362
|
+
).annotate({
|
|
363
|
+
identifier: "GetGroupScimV2GroupsGroupIdGetRequest",
|
|
364
|
+
}) as any as S.Schema<GetGroupScimV2GroupsGroupIdGetRequest>;
|
|
365
|
+
|
|
366
|
+
export interface GetGroupsScimV2GroupsGetRequest {
|
|
367
|
+
startIndex?: number;
|
|
368
|
+
count?: number;
|
|
369
|
+
filter?: string;
|
|
370
|
+
feature?: string;
|
|
371
|
+
}
|
|
372
|
+
export const GetGroupsScimV2GroupsGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
373
|
+
S.Struct({
|
|
374
|
+
startIndex: S.optional(S.Number.pipe(T.Query())),
|
|
375
|
+
count: S.optional(S.Number.pipe(T.Query())),
|
|
376
|
+
filter: S.optional(S.String.pipe(T.Query())),
|
|
377
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
378
|
+
}).pipe(T.Http({ method: "GET", uri: "/scim/v2/Groups", code: 200 })),
|
|
379
|
+
).annotate({
|
|
380
|
+
identifier: "GetGroupsScimV2GroupsGetRequest",
|
|
381
|
+
}) as any as S.Schema<GetGroupsScimV2GroupsGetRequest>;
|
|
382
|
+
|
|
383
|
+
export type SCIMListResponseResourcesCase0List = Array<SCIMUserOutput>;
|
|
384
|
+
export const SCIMListResponseResourcesCase0List = /*@__PURE__*/ S.Array(
|
|
385
|
+
SCIMUserOutput,
|
|
386
|
+
) as any as S.Schema<SCIMListResponseResourcesCase0List>;
|
|
387
|
+
|
|
388
|
+
export type SCIMListResponseResourcesCase1List = Array<SCIMGroup>;
|
|
389
|
+
export const SCIMListResponseResourcesCase1List = /*@__PURE__*/ S.Array(
|
|
390
|
+
SCIMGroup,
|
|
391
|
+
) as any as S.Schema<SCIMListResponseResourcesCase1List>;
|
|
392
|
+
|
|
393
|
+
export type SCIMListResponseResources =
|
|
394
|
+
| SCIMListResponseResourcesCase0List
|
|
395
|
+
| SCIMListResponseResourcesCase1List;
|
|
396
|
+
export const SCIMListResponseResources =
|
|
397
|
+
S.Unknown as any as S.Schema<SCIMListResponseResources>;
|
|
398
|
+
|
|
399
|
+
export type SCIMListResponseSchemasList = Array<string>;
|
|
400
|
+
export const SCIMListResponseSchemasList = /*@__PURE__*/ S.Array(
|
|
401
|
+
S.String,
|
|
402
|
+
) as any as S.Schema<SCIMListResponseSchemasList>;
|
|
403
|
+
|
|
404
|
+
export interface SCIMListResponse {
|
|
405
|
+
Resources: SCIMListResponseResources;
|
|
406
|
+
itemsPerPage?: number | null;
|
|
407
|
+
schemas?: SCIMListResponseSchemasList;
|
|
408
|
+
startIndex?: number | null;
|
|
409
|
+
totalResults: number;
|
|
410
|
+
}
|
|
411
|
+
export const SCIMListResponse = /*@__PURE__*/ S.suspend(() =>
|
|
412
|
+
S.Struct({
|
|
413
|
+
Resources: SCIMListResponseResources,
|
|
414
|
+
itemsPerPage: S.optional(S.NullOr(S.Number)),
|
|
415
|
+
schemas: S.optional(SCIMListResponseSchemasList),
|
|
416
|
+
startIndex: S.optional(S.NullOr(S.Number)),
|
|
417
|
+
totalResults: S.Number,
|
|
418
|
+
}),
|
|
419
|
+
).annotate({
|
|
420
|
+
identifier: "SCIMListResponse",
|
|
421
|
+
}) as any as S.Schema<SCIMListResponse>;
|
|
422
|
+
|
|
423
|
+
export interface GetResourceTypeScimV2ResourceTypesResourceTypeIdGetRequest {
|
|
424
|
+
resource_type_id: string;
|
|
425
|
+
feature?: string;
|
|
426
|
+
}
|
|
427
|
+
export const GetResourceTypeScimV2ResourceTypesResourceTypeIdGetRequest =
|
|
428
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
429
|
+
S.Struct({
|
|
430
|
+
resource_type_id: S.String.pipe(T.Label()),
|
|
431
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
432
|
+
}).pipe(
|
|
433
|
+
T.Http({
|
|
434
|
+
method: "GET",
|
|
435
|
+
uri: "/scim/v2/ResourceTypes/{resource_type_id}",
|
|
436
|
+
code: 200,
|
|
437
|
+
}),
|
|
438
|
+
),
|
|
439
|
+
).annotate({
|
|
440
|
+
identifier: "GetResourceTypeScimV2ResourceTypesResourceTypeIdGetRequest",
|
|
441
|
+
}) as any as S.Schema<GetResourceTypeScimV2ResourceTypesResourceTypeIdGetRequest>;
|
|
442
|
+
|
|
443
|
+
export interface GetResourceTypeScimV2ResourceTypesResourceTypeIdGetResponse {
|
|
444
|
+
body: unknown;
|
|
445
|
+
}
|
|
446
|
+
export const GetResourceTypeScimV2ResourceTypesResourceTypeIdGetResponse =
|
|
447
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
448
|
+
S.Struct({
|
|
449
|
+
body: S.Unknown,
|
|
450
|
+
}),
|
|
451
|
+
).annotate({
|
|
452
|
+
identifier: "GetResourceTypeScimV2ResourceTypesResourceTypeIdGetResponse",
|
|
453
|
+
}) as any as S.Schema<GetResourceTypeScimV2ResourceTypesResourceTypeIdGetResponse>;
|
|
454
|
+
|
|
455
|
+
export interface GetResourceTypesScimV2ResourceTypesGetRequest {
|
|
456
|
+
feature?: string;
|
|
457
|
+
}
|
|
458
|
+
export const GetResourceTypesScimV2ResourceTypesGetRequest =
|
|
459
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
460
|
+
S.Struct({
|
|
461
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
462
|
+
}).pipe(
|
|
463
|
+
T.Http({ method: "GET", uri: "/scim/v2/ResourceTypes", code: 200 }),
|
|
464
|
+
),
|
|
465
|
+
).annotate({
|
|
466
|
+
identifier: "GetResourceTypesScimV2ResourceTypesGetRequest",
|
|
467
|
+
}) as any as S.Schema<GetResourceTypesScimV2ResourceTypesGetRequest>;
|
|
468
|
+
|
|
469
|
+
export interface GetResourceTypesScimV2ResourceTypesGetResponse {
|
|
470
|
+
body: unknown;
|
|
471
|
+
}
|
|
472
|
+
export const GetResourceTypesScimV2ResourceTypesGetResponse =
|
|
473
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
474
|
+
S.Struct({
|
|
475
|
+
body: S.Unknown,
|
|
476
|
+
}),
|
|
477
|
+
).annotate({
|
|
478
|
+
identifier: "GetResourceTypesScimV2ResourceTypesGetResponse",
|
|
479
|
+
}) as any as S.Schema<GetResourceTypesScimV2ResourceTypesGetResponse>;
|
|
480
|
+
|
|
481
|
+
export interface GetSchemaScimV2SchemasSchemaIdGetRequest {
|
|
482
|
+
schema_id: string;
|
|
483
|
+
feature?: string;
|
|
484
|
+
}
|
|
485
|
+
export const GetSchemaScimV2SchemasSchemaIdGetRequest = /*@__PURE__*/ S.suspend(
|
|
486
|
+
() =>
|
|
487
|
+
S.Struct({
|
|
488
|
+
schema_id: S.String.pipe(T.Label()),
|
|
489
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
490
|
+
}).pipe(
|
|
491
|
+
T.Http({ method: "GET", uri: "/scim/v2/Schemas/{schema_id}", code: 200 }),
|
|
492
|
+
),
|
|
493
|
+
).annotate({
|
|
494
|
+
identifier: "GetSchemaScimV2SchemasSchemaIdGetRequest",
|
|
495
|
+
}) as any as S.Schema<GetSchemaScimV2SchemasSchemaIdGetRequest>;
|
|
496
|
+
|
|
497
|
+
export interface GetSchemaScimV2SchemasSchemaIdGetResponse {
|
|
498
|
+
body: unknown;
|
|
499
|
+
}
|
|
500
|
+
export const GetSchemaScimV2SchemasSchemaIdGetResponse =
|
|
501
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
502
|
+
S.Struct({
|
|
503
|
+
body: S.Unknown,
|
|
504
|
+
}),
|
|
505
|
+
).annotate({
|
|
506
|
+
identifier: "GetSchemaScimV2SchemasSchemaIdGetResponse",
|
|
507
|
+
}) as any as S.Schema<GetSchemaScimV2SchemasSchemaIdGetResponse>;
|
|
508
|
+
|
|
509
|
+
export interface GetSchemasScimV2SchemasGetRequest {
|
|
510
|
+
feature?: string;
|
|
511
|
+
}
|
|
512
|
+
export const GetSchemasScimV2SchemasGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
513
|
+
S.Struct({
|
|
514
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
515
|
+
}).pipe(T.Http({ method: "GET", uri: "/scim/v2/Schemas", code: 200 })),
|
|
516
|
+
).annotate({
|
|
517
|
+
identifier: "GetSchemasScimV2SchemasGetRequest",
|
|
518
|
+
}) as any as S.Schema<GetSchemasScimV2SchemasGetRequest>;
|
|
519
|
+
|
|
520
|
+
export interface GetSchemasScimV2SchemasGetResponse {
|
|
521
|
+
body: unknown;
|
|
522
|
+
}
|
|
523
|
+
export const GetSchemasScimV2SchemasGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
524
|
+
S.Struct({
|
|
525
|
+
body: S.Unknown,
|
|
526
|
+
}),
|
|
527
|
+
).annotate({
|
|
528
|
+
identifier: "GetSchemasScimV2SchemasGetResponse",
|
|
529
|
+
}) as any as S.Schema<GetSchemasScimV2SchemasGetResponse>;
|
|
530
|
+
|
|
531
|
+
export interface GetScimBaseScimV2GetRequest {
|
|
532
|
+
feature?: string;
|
|
533
|
+
}
|
|
534
|
+
export const GetScimBaseScimV2GetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
535
|
+
S.Struct({
|
|
536
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
537
|
+
}).pipe(T.Http({ method: "GET", uri: "/scim/v2", code: 200 })),
|
|
538
|
+
).annotate({
|
|
539
|
+
identifier: "GetScimBaseScimV2GetRequest",
|
|
540
|
+
}) as any as S.Schema<GetScimBaseScimV2GetRequest>;
|
|
541
|
+
|
|
542
|
+
export interface GetScimBaseScimV2GetResponse {
|
|
543
|
+
body: unknown;
|
|
544
|
+
}
|
|
545
|
+
export const GetScimBaseScimV2GetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
546
|
+
S.Struct({
|
|
547
|
+
body: S.Unknown,
|
|
548
|
+
}),
|
|
549
|
+
).annotate({
|
|
550
|
+
identifier: "GetScimBaseScimV2GetResponse",
|
|
551
|
+
}) as any as S.Schema<GetScimBaseScimV2GetResponse>;
|
|
552
|
+
|
|
553
|
+
export interface GetServiceProviderConfigScimV2ServiceProviderConfigGetRequest {
|
|
554
|
+
feature?: string;
|
|
555
|
+
}
|
|
556
|
+
export const GetServiceProviderConfigScimV2ServiceProviderConfigGetRequest =
|
|
557
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
558
|
+
S.Struct({
|
|
559
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
560
|
+
}).pipe(
|
|
561
|
+
T.Http({
|
|
562
|
+
method: "GET",
|
|
563
|
+
uri: "/scim/v2/ServiceProviderConfig",
|
|
564
|
+
code: 200,
|
|
565
|
+
}),
|
|
566
|
+
),
|
|
567
|
+
).annotate({
|
|
568
|
+
identifier: "GetServiceProviderConfigScimV2ServiceProviderConfigGetRequest",
|
|
569
|
+
}) as any as S.Schema<GetServiceProviderConfigScimV2ServiceProviderConfigGetRequest>;
|
|
570
|
+
|
|
571
|
+
export type SCIMServiceProviderConfigAuthenticationSchemesItemMap = {
|
|
572
|
+
[key: string]: unknown | undefined;
|
|
573
|
+
};
|
|
574
|
+
export const SCIMServiceProviderConfigAuthenticationSchemesItemMap =
|
|
575
|
+
/*@__PURE__*/ S.Record(
|
|
576
|
+
S.String,
|
|
577
|
+
S.Unknown,
|
|
578
|
+
) as any as S.Schema<SCIMServiceProviderConfigAuthenticationSchemesItemMap>;
|
|
579
|
+
|
|
580
|
+
export type SCIMServiceProviderConfigAuthenticationSchemesList =
|
|
581
|
+
Array<SCIMServiceProviderConfigAuthenticationSchemesItemMap>;
|
|
582
|
+
export const SCIMServiceProviderConfigAuthenticationSchemesList =
|
|
583
|
+
/*@__PURE__*/ S.Array(
|
|
584
|
+
SCIMServiceProviderConfigAuthenticationSchemesItemMap,
|
|
585
|
+
) as any as S.Schema<SCIMServiceProviderConfigAuthenticationSchemesList>;
|
|
586
|
+
|
|
587
|
+
export interface SCIMFeature {
|
|
588
|
+
maxOperations?: number | null;
|
|
589
|
+
maxPayloadSize?: number | null;
|
|
590
|
+
maxResults?: number | null;
|
|
591
|
+
supported: boolean;
|
|
592
|
+
}
|
|
593
|
+
export const SCIMFeature = /*@__PURE__*/ S.suspend(() =>
|
|
594
|
+
S.Struct({
|
|
595
|
+
maxOperations: S.optional(S.NullOr(S.Number)),
|
|
596
|
+
maxPayloadSize: S.optional(S.NullOr(S.Number)),
|
|
597
|
+
maxResults: S.optional(S.NullOr(S.Number)),
|
|
598
|
+
supported: S.Boolean,
|
|
599
|
+
}),
|
|
600
|
+
).annotate({ identifier: "SCIMFeature" }) as any as S.Schema<SCIMFeature>;
|
|
601
|
+
|
|
602
|
+
export type SCIMServiceProviderConfigMetaMap = {
|
|
603
|
+
[key: string]: unknown | undefined;
|
|
604
|
+
};
|
|
605
|
+
export const SCIMServiceProviderConfigMetaMap = /*@__PURE__*/ S.Record(
|
|
606
|
+
S.String,
|
|
607
|
+
S.Unknown,
|
|
608
|
+
) as any as S.Schema<SCIMServiceProviderConfigMetaMap>;
|
|
609
|
+
|
|
610
|
+
export type SCIMServiceProviderConfigSchemasList = Array<string>;
|
|
611
|
+
export const SCIMServiceProviderConfigSchemasList = /*@__PURE__*/ S.Array(
|
|
612
|
+
S.String,
|
|
613
|
+
) as any as S.Schema<SCIMServiceProviderConfigSchemasList>;
|
|
614
|
+
|
|
615
|
+
export interface SCIMServiceProviderConfig {
|
|
616
|
+
authenticationSchemes?: SCIMServiceProviderConfigAuthenticationSchemesList | null;
|
|
617
|
+
bulk?: SCIMFeature;
|
|
618
|
+
changePassword?: SCIMFeature;
|
|
619
|
+
etag?: SCIMFeature;
|
|
620
|
+
filter?: SCIMFeature;
|
|
621
|
+
meta?: SCIMServiceProviderConfigMetaMap | null;
|
|
622
|
+
patch?: SCIMFeature;
|
|
623
|
+
schemas?: SCIMServiceProviderConfigSchemasList;
|
|
624
|
+
sort?: SCIMFeature;
|
|
625
|
+
}
|
|
626
|
+
export const SCIMServiceProviderConfig = /*@__PURE__*/ S.suspend(() =>
|
|
627
|
+
S.Struct({
|
|
628
|
+
authenticationSchemes: S.optional(
|
|
629
|
+
S.NullOr(SCIMServiceProviderConfigAuthenticationSchemesList),
|
|
630
|
+
),
|
|
631
|
+
bulk: S.optional(SCIMFeature),
|
|
632
|
+
changePassword: S.optional(SCIMFeature),
|
|
633
|
+
etag: S.optional(SCIMFeature),
|
|
634
|
+
filter: S.optional(SCIMFeature),
|
|
635
|
+
meta: S.optional(S.NullOr(SCIMServiceProviderConfigMetaMap)),
|
|
636
|
+
patch: S.optional(SCIMFeature),
|
|
637
|
+
schemas: S.optional(SCIMServiceProviderConfigSchemasList),
|
|
638
|
+
sort: S.optional(SCIMFeature),
|
|
639
|
+
}),
|
|
640
|
+
).annotate({
|
|
641
|
+
identifier: "SCIMServiceProviderConfig",
|
|
642
|
+
}) as any as S.Schema<SCIMServiceProviderConfig>;
|
|
643
|
+
|
|
644
|
+
export interface GetUserScimV2UsersUserIdGetRequest {
|
|
645
|
+
user_id: string;
|
|
646
|
+
feature?: string;
|
|
647
|
+
}
|
|
648
|
+
export const GetUserScimV2UsersUserIdGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
649
|
+
S.Struct({
|
|
650
|
+
user_id: S.String.pipe(T.Label()),
|
|
651
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
652
|
+
}).pipe(
|
|
653
|
+
T.Http({ method: "GET", uri: "/scim/v2/Users/{user_id}", code: 200 }),
|
|
654
|
+
),
|
|
655
|
+
).annotate({
|
|
656
|
+
identifier: "GetUserScimV2UsersUserIdGetRequest",
|
|
657
|
+
}) as any as S.Schema<GetUserScimV2UsersUserIdGetRequest>;
|
|
658
|
+
|
|
659
|
+
export interface GetUserScimV2UsersUserIdGetResponse {
|
|
660
|
+
body: SCIMUserOutput;
|
|
661
|
+
}
|
|
662
|
+
export const GetUserScimV2UsersUserIdGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
663
|
+
S.Struct({
|
|
664
|
+
body: SCIMUserOutput,
|
|
665
|
+
}),
|
|
666
|
+
).annotate({
|
|
667
|
+
identifier: "GetUserScimV2UsersUserIdGetResponse",
|
|
668
|
+
}) as any as S.Schema<GetUserScimV2UsersUserIdGetResponse>;
|
|
669
|
+
|
|
670
|
+
export interface GetUsersScimV2UsersGetRequest {
|
|
671
|
+
startIndex?: number;
|
|
672
|
+
count?: number;
|
|
673
|
+
filter?: string;
|
|
674
|
+
feature?: string;
|
|
675
|
+
}
|
|
676
|
+
export const GetUsersScimV2UsersGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
677
|
+
S.Struct({
|
|
678
|
+
startIndex: S.optional(S.Number.pipe(T.Query())),
|
|
679
|
+
count: S.optional(S.Number.pipe(T.Query())),
|
|
680
|
+
filter: S.optional(S.String.pipe(T.Query())),
|
|
681
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
682
|
+
}).pipe(T.Http({ method: "GET", uri: "/scim/v2/Users", code: 200 })),
|
|
683
|
+
).annotate({
|
|
684
|
+
identifier: "GetUsersScimV2UsersGetRequest",
|
|
685
|
+
}) as any as S.Schema<GetUsersScimV2UsersGetRequest>;
|
|
686
|
+
|
|
687
|
+
export interface SCIMPatchOperation {
|
|
688
|
+
op: string;
|
|
689
|
+
path?: string | null;
|
|
690
|
+
value?: unknown | null;
|
|
691
|
+
}
|
|
692
|
+
export const SCIMPatchOperation = /*@__PURE__*/ S.suspend(() =>
|
|
693
|
+
S.Struct({
|
|
694
|
+
op: S.String,
|
|
695
|
+
path: S.optional(S.NullOr(S.String)),
|
|
696
|
+
value: S.optional(S.NullOr(S.Unknown)),
|
|
697
|
+
}),
|
|
698
|
+
).annotate({
|
|
699
|
+
identifier: "SCIMPatchOperation",
|
|
700
|
+
}) as any as S.Schema<SCIMPatchOperation>;
|
|
701
|
+
|
|
702
|
+
export type PatchGroupScimV2GroupsGroupIdPatchRequestOperationsList =
|
|
703
|
+
Array<SCIMPatchOperation>;
|
|
704
|
+
export const PatchGroupScimV2GroupsGroupIdPatchRequestOperationsList =
|
|
705
|
+
/*@__PURE__*/ S.Array(
|
|
706
|
+
SCIMPatchOperation,
|
|
707
|
+
) as any as S.Schema<PatchGroupScimV2GroupsGroupIdPatchRequestOperationsList>;
|
|
708
|
+
|
|
709
|
+
export type PatchGroupScimV2GroupsGroupIdPatchRequestSchemasList =
|
|
710
|
+
Array<string>;
|
|
711
|
+
export const PatchGroupScimV2GroupsGroupIdPatchRequestSchemasList =
|
|
712
|
+
/*@__PURE__*/ S.Array(
|
|
713
|
+
S.String,
|
|
714
|
+
) as any as S.Schema<PatchGroupScimV2GroupsGroupIdPatchRequestSchemasList>;
|
|
715
|
+
|
|
716
|
+
export interface PatchGroupScimV2GroupsGroupIdPatchRequest {
|
|
717
|
+
group_id: string;
|
|
718
|
+
feature?: string;
|
|
719
|
+
Operations: PatchGroupScimV2GroupsGroupIdPatchRequestOperationsList;
|
|
720
|
+
schemas?: PatchGroupScimV2GroupsGroupIdPatchRequestSchemasList;
|
|
721
|
+
}
|
|
722
|
+
export const PatchGroupScimV2GroupsGroupIdPatchRequest =
|
|
723
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
724
|
+
S.Struct({
|
|
725
|
+
group_id: S.String.pipe(T.Label()),
|
|
726
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
727
|
+
Operations: PatchGroupScimV2GroupsGroupIdPatchRequestOperationsList,
|
|
728
|
+
schemas: S.optional(PatchGroupScimV2GroupsGroupIdPatchRequestSchemasList),
|
|
729
|
+
}).pipe(
|
|
730
|
+
T.Http({ method: "PATCH", uri: "/scim/v2/Groups/{group_id}", code: 200 }),
|
|
731
|
+
),
|
|
732
|
+
).annotate({
|
|
733
|
+
identifier: "PatchGroupScimV2GroupsGroupIdPatchRequest",
|
|
734
|
+
}) as any as S.Schema<PatchGroupScimV2GroupsGroupIdPatchRequest>;
|
|
735
|
+
|
|
736
|
+
export type PatchUserScimV2UsersUserIdPatchRequestOperationsList =
|
|
737
|
+
Array<SCIMPatchOperation>;
|
|
738
|
+
export const PatchUserScimV2UsersUserIdPatchRequestOperationsList =
|
|
739
|
+
/*@__PURE__*/ S.Array(
|
|
740
|
+
SCIMPatchOperation,
|
|
741
|
+
) as any as S.Schema<PatchUserScimV2UsersUserIdPatchRequestOperationsList>;
|
|
742
|
+
|
|
743
|
+
export type PatchUserScimV2UsersUserIdPatchRequestSchemasList = Array<string>;
|
|
744
|
+
export const PatchUserScimV2UsersUserIdPatchRequestSchemasList =
|
|
745
|
+
/*@__PURE__*/ S.Array(
|
|
746
|
+
S.String,
|
|
747
|
+
) as any as S.Schema<PatchUserScimV2UsersUserIdPatchRequestSchemasList>;
|
|
748
|
+
|
|
749
|
+
export interface PatchUserScimV2UsersUserIdPatchRequest {
|
|
750
|
+
user_id: string;
|
|
751
|
+
feature?: string;
|
|
752
|
+
Operations: PatchUserScimV2UsersUserIdPatchRequestOperationsList;
|
|
753
|
+
schemas?: PatchUserScimV2UsersUserIdPatchRequestSchemasList;
|
|
754
|
+
}
|
|
755
|
+
export const PatchUserScimV2UsersUserIdPatchRequest = /*@__PURE__*/ S.suspend(
|
|
756
|
+
() =>
|
|
757
|
+
S.Struct({
|
|
758
|
+
user_id: S.String.pipe(T.Label()),
|
|
759
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
760
|
+
Operations: PatchUserScimV2UsersUserIdPatchRequestOperationsList,
|
|
761
|
+
schemas: S.optional(PatchUserScimV2UsersUserIdPatchRequestSchemasList),
|
|
762
|
+
}).pipe(
|
|
763
|
+
T.Http({ method: "PATCH", uri: "/scim/v2/Users/{user_id}", code: 200 }),
|
|
764
|
+
),
|
|
765
|
+
).annotate({
|
|
766
|
+
identifier: "PatchUserScimV2UsersUserIdPatchRequest",
|
|
767
|
+
}) as any as S.Schema<PatchUserScimV2UsersUserIdPatchRequest>;
|
|
768
|
+
|
|
769
|
+
export interface PatchUserScimV2UsersUserIdPatchResponse {
|
|
770
|
+
body: SCIMUserOutput;
|
|
771
|
+
}
|
|
772
|
+
export const PatchUserScimV2UsersUserIdPatchResponse = /*@__PURE__*/ S.suspend(
|
|
773
|
+
() =>
|
|
774
|
+
S.Struct({
|
|
775
|
+
body: SCIMUserOutput,
|
|
776
|
+
}),
|
|
777
|
+
).annotate({
|
|
778
|
+
identifier: "PatchUserScimV2UsersUserIdPatchResponse",
|
|
779
|
+
}) as any as S.Schema<PatchUserScimV2UsersUserIdPatchResponse>;
|
|
780
|
+
|
|
781
|
+
export type UpdateGroupScimV2GroupsGroupIdPutRequestMembersList =
|
|
782
|
+
Array<SCIMMember>;
|
|
783
|
+
export const UpdateGroupScimV2GroupsGroupIdPutRequestMembersList =
|
|
784
|
+
/*@__PURE__*/ S.Array(
|
|
785
|
+
SCIMMember,
|
|
786
|
+
) as any as S.Schema<UpdateGroupScimV2GroupsGroupIdPutRequestMembersList>;
|
|
787
|
+
|
|
788
|
+
export type UpdateGroupScimV2GroupsGroupIdPutRequestMetaMap = {
|
|
789
|
+
[key: string]: unknown | undefined;
|
|
790
|
+
};
|
|
791
|
+
export const UpdateGroupScimV2GroupsGroupIdPutRequestMetaMap =
|
|
792
|
+
/*@__PURE__*/ S.Record(
|
|
793
|
+
S.String,
|
|
794
|
+
S.Unknown,
|
|
795
|
+
) as any as S.Schema<UpdateGroupScimV2GroupsGroupIdPutRequestMetaMap>;
|
|
796
|
+
|
|
797
|
+
export type UpdateGroupScimV2GroupsGroupIdPutRequestSchemasList = Array<string>;
|
|
798
|
+
export const UpdateGroupScimV2GroupsGroupIdPutRequestSchemasList =
|
|
799
|
+
/*@__PURE__*/ S.Array(
|
|
800
|
+
S.String,
|
|
801
|
+
) as any as S.Schema<UpdateGroupScimV2GroupsGroupIdPutRequestSchemasList>;
|
|
802
|
+
|
|
803
|
+
export interface UpdateGroupScimV2GroupsGroupIdPutRequest {
|
|
804
|
+
group_id: string;
|
|
805
|
+
feature?: string;
|
|
806
|
+
displayName: string;
|
|
807
|
+
externalId?: string | null;
|
|
808
|
+
id?: string | null;
|
|
809
|
+
members?: UpdateGroupScimV2GroupsGroupIdPutRequestMembersList | null;
|
|
810
|
+
meta?: UpdateGroupScimV2GroupsGroupIdPutRequestMetaMap | null;
|
|
811
|
+
schemas: UpdateGroupScimV2GroupsGroupIdPutRequestSchemasList;
|
|
812
|
+
}
|
|
813
|
+
export const UpdateGroupScimV2GroupsGroupIdPutRequest = /*@__PURE__*/ S.suspend(
|
|
814
|
+
() =>
|
|
815
|
+
S.Struct({
|
|
816
|
+
group_id: S.String.pipe(T.Label()),
|
|
817
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
818
|
+
displayName: S.String,
|
|
819
|
+
externalId: S.optional(S.NullOr(S.String)),
|
|
820
|
+
id: S.optional(S.NullOr(S.String)),
|
|
821
|
+
members: S.optional(
|
|
822
|
+
S.NullOr(UpdateGroupScimV2GroupsGroupIdPutRequestMembersList),
|
|
823
|
+
),
|
|
824
|
+
meta: S.optional(
|
|
825
|
+
S.NullOr(UpdateGroupScimV2GroupsGroupIdPutRequestMetaMap),
|
|
826
|
+
),
|
|
827
|
+
schemas: UpdateGroupScimV2GroupsGroupIdPutRequestSchemasList,
|
|
828
|
+
}).pipe(
|
|
829
|
+
T.Http({ method: "PUT", uri: "/scim/v2/Groups/{group_id}", code: 200 }),
|
|
830
|
+
),
|
|
831
|
+
).annotate({
|
|
832
|
+
identifier: "UpdateGroupScimV2GroupsGroupIdPutRequest",
|
|
833
|
+
}) as any as S.Schema<UpdateGroupScimV2GroupsGroupIdPutRequest>;
|
|
834
|
+
|
|
835
|
+
export type UpdateUserScimV2UsersUserIdPutRequestEmailsList =
|
|
836
|
+
Array<SCIMUserEmail>;
|
|
837
|
+
export const UpdateUserScimV2UsersUserIdPutRequestEmailsList =
|
|
838
|
+
/*@__PURE__*/ S.Array(
|
|
839
|
+
SCIMUserEmail,
|
|
840
|
+
) as any as S.Schema<UpdateUserScimV2UsersUserIdPutRequestEmailsList>;
|
|
841
|
+
|
|
842
|
+
export type UpdateUserScimV2UsersUserIdPutRequestEntitlementsList =
|
|
843
|
+
Array<SCIMMultiValuedAttribute>;
|
|
844
|
+
export const UpdateUserScimV2UsersUserIdPutRequestEntitlementsList =
|
|
845
|
+
/*@__PURE__*/ S.Array(
|
|
846
|
+
SCIMMultiValuedAttribute,
|
|
847
|
+
) as any as S.Schema<UpdateUserScimV2UsersUserIdPutRequestEntitlementsList>;
|
|
848
|
+
|
|
849
|
+
export type UpdateUserScimV2UsersUserIdPutRequestGroupsList = Array<SCIMMember>;
|
|
850
|
+
export const UpdateUserScimV2UsersUserIdPutRequestGroupsList =
|
|
851
|
+
/*@__PURE__*/ S.Array(
|
|
852
|
+
SCIMMember,
|
|
853
|
+
) as any as S.Schema<UpdateUserScimV2UsersUserIdPutRequestGroupsList>;
|
|
854
|
+
|
|
855
|
+
export type UpdateUserScimV2UsersUserIdPutRequestMetaMap = {
|
|
856
|
+
[key: string]: unknown | undefined;
|
|
857
|
+
};
|
|
858
|
+
export const UpdateUserScimV2UsersUserIdPutRequestMetaMap =
|
|
859
|
+
/*@__PURE__*/ S.Record(
|
|
860
|
+
S.String,
|
|
861
|
+
S.Unknown,
|
|
862
|
+
) as any as S.Schema<UpdateUserScimV2UsersUserIdPutRequestMetaMap>;
|
|
863
|
+
|
|
864
|
+
export type UpdateUserScimV2UsersUserIdPutRequestRolesList =
|
|
865
|
+
Array<SCIMMultiValuedAttribute>;
|
|
866
|
+
export const UpdateUserScimV2UsersUserIdPutRequestRolesList =
|
|
867
|
+
/*@__PURE__*/ S.Array(
|
|
868
|
+
SCIMMultiValuedAttribute,
|
|
869
|
+
) as any as S.Schema<UpdateUserScimV2UsersUserIdPutRequestRolesList>;
|
|
870
|
+
|
|
871
|
+
export type UpdateUserScimV2UsersUserIdPutRequestSchemasList = Array<string>;
|
|
872
|
+
export const UpdateUserScimV2UsersUserIdPutRequestSchemasList =
|
|
873
|
+
/*@__PURE__*/ S.Array(
|
|
874
|
+
S.String,
|
|
875
|
+
) as any as S.Schema<UpdateUserScimV2UsersUserIdPutRequestSchemasList>;
|
|
876
|
+
|
|
877
|
+
export interface UpdateUserScimV2UsersUserIdPutRequest {
|
|
878
|
+
user_id: string;
|
|
879
|
+
feature?: string;
|
|
880
|
+
active?: boolean;
|
|
881
|
+
displayName?: string | null;
|
|
882
|
+
emails?: UpdateUserScimV2UsersUserIdPutRequestEmailsList | null;
|
|
883
|
+
entitlements?: UpdateUserScimV2UsersUserIdPutRequestEntitlementsList | null;
|
|
884
|
+
externalId?: string | null;
|
|
885
|
+
groups?: UpdateUserScimV2UsersUserIdPutRequestGroupsList | null;
|
|
886
|
+
id?: string | null;
|
|
887
|
+
meta?: UpdateUserScimV2UsersUserIdPutRequestMetaMap | null;
|
|
888
|
+
name?: SCIMUserName | null;
|
|
889
|
+
roles?: UpdateUserScimV2UsersUserIdPutRequestRolesList | null;
|
|
890
|
+
schemas: UpdateUserScimV2UsersUserIdPutRequestSchemasList;
|
|
891
|
+
urn_ietf_params_scim_schemas_extension_enterprise_2_0_User?: SCIMEnterpriseUser | null;
|
|
892
|
+
userName?: string | null;
|
|
893
|
+
}
|
|
894
|
+
export const UpdateUserScimV2UsersUserIdPutRequest = /*@__PURE__*/ S.suspend(
|
|
895
|
+
() =>
|
|
896
|
+
S.Struct({
|
|
897
|
+
user_id: S.String.pipe(T.Label()),
|
|
898
|
+
feature: S.optional(S.String.pipe(T.Query())),
|
|
899
|
+
active: S.optional(S.Boolean),
|
|
900
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
901
|
+
emails: S.optional(
|
|
902
|
+
S.NullOr(UpdateUserScimV2UsersUserIdPutRequestEmailsList),
|
|
903
|
+
),
|
|
904
|
+
entitlements: S.optional(
|
|
905
|
+
S.NullOr(UpdateUserScimV2UsersUserIdPutRequestEntitlementsList),
|
|
906
|
+
),
|
|
907
|
+
externalId: S.optional(S.NullOr(S.String)),
|
|
908
|
+
groups: S.optional(
|
|
909
|
+
S.NullOr(UpdateUserScimV2UsersUserIdPutRequestGroupsList),
|
|
910
|
+
),
|
|
911
|
+
id: S.optional(S.NullOr(S.String)),
|
|
912
|
+
meta: S.optional(S.NullOr(UpdateUserScimV2UsersUserIdPutRequestMetaMap)),
|
|
913
|
+
name: S.optional(S.NullOr(SCIMUserName)),
|
|
914
|
+
roles: S.optional(
|
|
915
|
+
S.NullOr(UpdateUserScimV2UsersUserIdPutRequestRolesList),
|
|
916
|
+
),
|
|
917
|
+
schemas: UpdateUserScimV2UsersUserIdPutRequestSchemasList,
|
|
918
|
+
urn_ietf_params_scim_schemas_extension_enterprise_2_0_User: S.optional(
|
|
919
|
+
S.NullOr(SCIMEnterpriseUser).pipe(
|
|
920
|
+
T.Body("urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"),
|
|
921
|
+
),
|
|
922
|
+
),
|
|
923
|
+
userName: S.optional(S.NullOr(S.String)),
|
|
924
|
+
}).pipe(
|
|
925
|
+
T.Http({ method: "PUT", uri: "/scim/v2/Users/{user_id}", code: 200 }),
|
|
926
|
+
),
|
|
927
|
+
).annotate({
|
|
928
|
+
identifier: "UpdateUserScimV2UsersUserIdPutRequest",
|
|
929
|
+
}) as any as S.Schema<UpdateUserScimV2UsersUserIdPutRequest>;
|
|
930
|
+
|
|
931
|
+
export interface UpdateUserScimV2UsersUserIdPutResponse {
|
|
932
|
+
body: SCIMUserOutput;
|
|
933
|
+
}
|
|
934
|
+
export const UpdateUserScimV2UsersUserIdPutResponse = /*@__PURE__*/ S.suspend(
|
|
935
|
+
() =>
|
|
936
|
+
S.Struct({
|
|
937
|
+
body: SCIMUserOutput,
|
|
938
|
+
}),
|
|
939
|
+
).annotate({
|
|
940
|
+
identifier: "UpdateUserScimV2UsersUserIdPutResponse",
|
|
941
|
+
}) as any as S.Schema<UpdateUserScimV2UsersUserIdPutResponse>;
|
|
942
|
+
|
|
943
|
+
export type CreateGroupScimV2GroupsPostError =
|
|
944
|
+
| UnprocessableEntity
|
|
945
|
+
| LitellmOpError;
|
|
946
|
+
/** Create Group Create a group according to SCIM v2 protocol */
|
|
947
|
+
export const createGroupScimV2GroupsPost: API.OperationMethod<
|
|
948
|
+
CreateGroupScimV2GroupsPostRequest,
|
|
949
|
+
SCIMGroup,
|
|
950
|
+
CreateGroupScimV2GroupsPostError,
|
|
951
|
+
LitellmOpContext
|
|
952
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
953
|
+
input: CreateGroupScimV2GroupsPostRequest,
|
|
954
|
+
output: SCIMGroup,
|
|
955
|
+
errors: [UnprocessableEntity],
|
|
956
|
+
protocol: LitellmProtocol,
|
|
957
|
+
retry: Retry.Retry,
|
|
958
|
+
}));
|
|
959
|
+
|
|
960
|
+
export type CreateUserScimV2UsersPostError =
|
|
961
|
+
| UnprocessableEntity
|
|
962
|
+
| LitellmOpError;
|
|
963
|
+
/** Create User Create a user according to SCIM v2 protocol */
|
|
964
|
+
export const createUserScimV2UsersPost: API.OperationMethod<
|
|
965
|
+
CreateUserScimV2UsersPostRequest,
|
|
966
|
+
CreateUserScimV2UsersPostResponse,
|
|
967
|
+
CreateUserScimV2UsersPostError,
|
|
968
|
+
LitellmOpContext
|
|
969
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
970
|
+
input: CreateUserScimV2UsersPostRequest,
|
|
971
|
+
output: CreateUserScimV2UsersPostResponse,
|
|
972
|
+
errors: [UnprocessableEntity],
|
|
973
|
+
protocol: LitellmProtocol,
|
|
974
|
+
retry: Retry.Retry,
|
|
975
|
+
}));
|
|
976
|
+
|
|
977
|
+
export type DeleteGroupScimV2GroupsGroupIdDeleteError =
|
|
978
|
+
| UnprocessableEntity
|
|
979
|
+
| LitellmOpError;
|
|
980
|
+
/** Delete Group Delete a group according to SCIM v2 protocol */
|
|
981
|
+
export const deleteGroupScimV2GroupsGroupIdDelete: API.OperationMethod<
|
|
982
|
+
DeleteGroupScimV2GroupsGroupIdDeleteRequest,
|
|
983
|
+
DeleteGroupScimV2GroupsGroupIdDeleteResponse,
|
|
984
|
+
DeleteGroupScimV2GroupsGroupIdDeleteError,
|
|
985
|
+
LitellmOpContext
|
|
986
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
987
|
+
input: DeleteGroupScimV2GroupsGroupIdDeleteRequest,
|
|
988
|
+
output: DeleteGroupScimV2GroupsGroupIdDeleteResponse,
|
|
989
|
+
errors: [UnprocessableEntity],
|
|
990
|
+
protocol: LitellmProtocol,
|
|
991
|
+
retry: Retry.Retry,
|
|
992
|
+
}));
|
|
993
|
+
|
|
994
|
+
export type DeleteUserScimV2UsersUserIdDeleteError =
|
|
995
|
+
| UnprocessableEntity
|
|
996
|
+
| LitellmOpError;
|
|
997
|
+
/** Delete User Delete a user according to SCIM v2 protocol */
|
|
998
|
+
export const deleteUserScimV2UsersUserIdDelete: API.OperationMethod<
|
|
999
|
+
DeleteUserScimV2UsersUserIdDeleteRequest,
|
|
1000
|
+
DeleteUserScimV2UsersUserIdDeleteResponse,
|
|
1001
|
+
DeleteUserScimV2UsersUserIdDeleteError,
|
|
1002
|
+
LitellmOpContext
|
|
1003
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1004
|
+
input: DeleteUserScimV2UsersUserIdDeleteRequest,
|
|
1005
|
+
output: DeleteUserScimV2UsersUserIdDeleteResponse,
|
|
1006
|
+
errors: [UnprocessableEntity],
|
|
1007
|
+
protocol: LitellmProtocol,
|
|
1008
|
+
retry: Retry.Retry,
|
|
1009
|
+
}));
|
|
1010
|
+
|
|
1011
|
+
export type GetGroupScimV2GroupsGroupIdGetError =
|
|
1012
|
+
| UnprocessableEntity
|
|
1013
|
+
| LitellmOpError;
|
|
1014
|
+
/** Get Group Get a single group by ID according to SCIM v2 protocol */
|
|
1015
|
+
export const getGroupScimV2GroupsGroupIdGet: API.OperationMethod<
|
|
1016
|
+
GetGroupScimV2GroupsGroupIdGetRequest,
|
|
1017
|
+
SCIMGroup,
|
|
1018
|
+
GetGroupScimV2GroupsGroupIdGetError,
|
|
1019
|
+
LitellmOpContext
|
|
1020
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1021
|
+
input: GetGroupScimV2GroupsGroupIdGetRequest,
|
|
1022
|
+
output: SCIMGroup,
|
|
1023
|
+
errors: [UnprocessableEntity],
|
|
1024
|
+
protocol: LitellmProtocol,
|
|
1025
|
+
retry: Retry.Retry,
|
|
1026
|
+
}));
|
|
1027
|
+
|
|
1028
|
+
export type GetGroupsScimV2GroupsGetError =
|
|
1029
|
+
| UnprocessableEntity
|
|
1030
|
+
| LitellmOpError;
|
|
1031
|
+
/** Get Groups Get a list of groups according to SCIM v2 protocol */
|
|
1032
|
+
export const getGroupsScimV2GroupsGet: API.OperationMethod<
|
|
1033
|
+
GetGroupsScimV2GroupsGetRequest,
|
|
1034
|
+
SCIMListResponse,
|
|
1035
|
+
GetGroupsScimV2GroupsGetError,
|
|
1036
|
+
LitellmOpContext
|
|
1037
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1038
|
+
input: GetGroupsScimV2GroupsGetRequest,
|
|
1039
|
+
output: SCIMListResponse,
|
|
1040
|
+
errors: [UnprocessableEntity],
|
|
1041
|
+
protocol: LitellmProtocol,
|
|
1042
|
+
retry: Retry.Retry,
|
|
1043
|
+
}));
|
|
1044
|
+
|
|
1045
|
+
export type GetResourceTypeScimV2ResourceTypesResourceTypeIdGetError =
|
|
1046
|
+
| UnprocessableEntity
|
|
1047
|
+
| LitellmOpError;
|
|
1048
|
+
/** Get Resource Type Get a single ResourceType by ID per RFC 7644. */
|
|
1049
|
+
export const getResourceTypeScimV2ResourceTypesResourceTypeIdGet: API.OperationMethod<
|
|
1050
|
+
GetResourceTypeScimV2ResourceTypesResourceTypeIdGetRequest,
|
|
1051
|
+
GetResourceTypeScimV2ResourceTypesResourceTypeIdGetResponse,
|
|
1052
|
+
GetResourceTypeScimV2ResourceTypesResourceTypeIdGetError,
|
|
1053
|
+
LitellmOpContext
|
|
1054
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1055
|
+
input: GetResourceTypeScimV2ResourceTypesResourceTypeIdGetRequest,
|
|
1056
|
+
output: GetResourceTypeScimV2ResourceTypesResourceTypeIdGetResponse,
|
|
1057
|
+
errors: [UnprocessableEntity],
|
|
1058
|
+
protocol: LitellmProtocol,
|
|
1059
|
+
retry: Retry.Retry,
|
|
1060
|
+
}));
|
|
1061
|
+
|
|
1062
|
+
export type GetResourceTypesScimV2ResourceTypesGetError =
|
|
1063
|
+
| UnprocessableEntity
|
|
1064
|
+
| LitellmOpError;
|
|
1065
|
+
/** Get Resource Types SCIM ResourceTypes endpoint per RFC 7644 Section 4. Returns a ListResponse of all resource types supported by this service provider. */
|
|
1066
|
+
export const getResourceTypesScimV2ResourceTypesGet: API.OperationMethod<
|
|
1067
|
+
GetResourceTypesScimV2ResourceTypesGetRequest,
|
|
1068
|
+
GetResourceTypesScimV2ResourceTypesGetResponse,
|
|
1069
|
+
GetResourceTypesScimV2ResourceTypesGetError,
|
|
1070
|
+
LitellmOpContext
|
|
1071
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1072
|
+
input: GetResourceTypesScimV2ResourceTypesGetRequest,
|
|
1073
|
+
output: GetResourceTypesScimV2ResourceTypesGetResponse,
|
|
1074
|
+
errors: [UnprocessableEntity],
|
|
1075
|
+
protocol: LitellmProtocol,
|
|
1076
|
+
retry: Retry.Retry,
|
|
1077
|
+
}));
|
|
1078
|
+
|
|
1079
|
+
export type GetSchemaScimV2SchemasSchemaIdGetError =
|
|
1080
|
+
| UnprocessableEntity
|
|
1081
|
+
| LitellmOpError;
|
|
1082
|
+
/** Get Schema Get a single Schema by its URI per RFC 7643 Section 7. */
|
|
1083
|
+
export const getSchemaScimV2SchemasSchemaIdGet: API.OperationMethod<
|
|
1084
|
+
GetSchemaScimV2SchemasSchemaIdGetRequest,
|
|
1085
|
+
GetSchemaScimV2SchemasSchemaIdGetResponse,
|
|
1086
|
+
GetSchemaScimV2SchemasSchemaIdGetError,
|
|
1087
|
+
LitellmOpContext
|
|
1088
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1089
|
+
input: GetSchemaScimV2SchemasSchemaIdGetRequest,
|
|
1090
|
+
output: GetSchemaScimV2SchemasSchemaIdGetResponse,
|
|
1091
|
+
errors: [UnprocessableEntity],
|
|
1092
|
+
protocol: LitellmProtocol,
|
|
1093
|
+
retry: Retry.Retry,
|
|
1094
|
+
}));
|
|
1095
|
+
|
|
1096
|
+
export type GetSchemasScimV2SchemasGetError =
|
|
1097
|
+
| UnprocessableEntity
|
|
1098
|
+
| LitellmOpError;
|
|
1099
|
+
/** Get Schemas SCIM Schemas endpoint per RFC 7643 Section 7. Returns a ListResponse of all schemas supported by this service provider. */
|
|
1100
|
+
export const getSchemasScimV2SchemasGet: API.OperationMethod<
|
|
1101
|
+
GetSchemasScimV2SchemasGetRequest,
|
|
1102
|
+
GetSchemasScimV2SchemasGetResponse,
|
|
1103
|
+
GetSchemasScimV2SchemasGetError,
|
|
1104
|
+
LitellmOpContext
|
|
1105
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1106
|
+
input: GetSchemasScimV2SchemasGetRequest,
|
|
1107
|
+
output: GetSchemasScimV2SchemasGetResponse,
|
|
1108
|
+
errors: [UnprocessableEntity],
|
|
1109
|
+
protocol: LitellmProtocol,
|
|
1110
|
+
retry: Retry.Retry,
|
|
1111
|
+
}));
|
|
1112
|
+
|
|
1113
|
+
export type GetScimBaseScimV2GetError = UnprocessableEntity | LitellmOpError;
|
|
1114
|
+
/** Get Scim Base Base SCIM v2 endpoint for resource discovery per RFC 7644 Section 4. Returns a ListResponse of ResourceTypes supported by this SCIM service provider. Identity providers (Okta, Azure AD, etc.) use this endpoint for resource discovery. */
|
|
1115
|
+
export const getScimBaseScimV2Get: API.OperationMethod<
|
|
1116
|
+
GetScimBaseScimV2GetRequest,
|
|
1117
|
+
GetScimBaseScimV2GetResponse,
|
|
1118
|
+
GetScimBaseScimV2GetError,
|
|
1119
|
+
LitellmOpContext
|
|
1120
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1121
|
+
input: GetScimBaseScimV2GetRequest,
|
|
1122
|
+
output: GetScimBaseScimV2GetResponse,
|
|
1123
|
+
errors: [UnprocessableEntity],
|
|
1124
|
+
protocol: LitellmProtocol,
|
|
1125
|
+
retry: Retry.Retry,
|
|
1126
|
+
}));
|
|
1127
|
+
|
|
1128
|
+
export type GetServiceProviderConfigScimV2ServiceProviderConfigGetError =
|
|
1129
|
+
| UnprocessableEntity
|
|
1130
|
+
| LitellmOpError;
|
|
1131
|
+
/** Get Service Provider Config Return SCIM Service Provider Configuration. */
|
|
1132
|
+
export const getServiceProviderConfigScimV2ServiceProviderConfigGet: API.OperationMethod<
|
|
1133
|
+
GetServiceProviderConfigScimV2ServiceProviderConfigGetRequest,
|
|
1134
|
+
SCIMServiceProviderConfig,
|
|
1135
|
+
GetServiceProviderConfigScimV2ServiceProviderConfigGetError,
|
|
1136
|
+
LitellmOpContext
|
|
1137
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1138
|
+
input: GetServiceProviderConfigScimV2ServiceProviderConfigGetRequest,
|
|
1139
|
+
output: SCIMServiceProviderConfig,
|
|
1140
|
+
errors: [UnprocessableEntity],
|
|
1141
|
+
protocol: LitellmProtocol,
|
|
1142
|
+
retry: Retry.Retry,
|
|
1143
|
+
}));
|
|
1144
|
+
|
|
1145
|
+
export type GetUserScimV2UsersUserIdGetError =
|
|
1146
|
+
| UnprocessableEntity
|
|
1147
|
+
| LitellmOpError;
|
|
1148
|
+
/** Get User Get a single user by ID according to SCIM v2 protocol */
|
|
1149
|
+
export const getUserScimV2UsersUserIdGet: API.OperationMethod<
|
|
1150
|
+
GetUserScimV2UsersUserIdGetRequest,
|
|
1151
|
+
GetUserScimV2UsersUserIdGetResponse,
|
|
1152
|
+
GetUserScimV2UsersUserIdGetError,
|
|
1153
|
+
LitellmOpContext
|
|
1154
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1155
|
+
input: GetUserScimV2UsersUserIdGetRequest,
|
|
1156
|
+
output: GetUserScimV2UsersUserIdGetResponse,
|
|
1157
|
+
errors: [UnprocessableEntity],
|
|
1158
|
+
protocol: LitellmProtocol,
|
|
1159
|
+
retry: Retry.Retry,
|
|
1160
|
+
}));
|
|
1161
|
+
|
|
1162
|
+
export type GetUsersScimV2UsersGetError = UnprocessableEntity | LitellmOpError;
|
|
1163
|
+
/** Get Users Get a list of users according to SCIM v2 protocol */
|
|
1164
|
+
export const getUsersScimV2UsersGet: API.OperationMethod<
|
|
1165
|
+
GetUsersScimV2UsersGetRequest,
|
|
1166
|
+
SCIMListResponse,
|
|
1167
|
+
GetUsersScimV2UsersGetError,
|
|
1168
|
+
LitellmOpContext
|
|
1169
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1170
|
+
input: GetUsersScimV2UsersGetRequest,
|
|
1171
|
+
output: SCIMListResponse,
|
|
1172
|
+
errors: [UnprocessableEntity],
|
|
1173
|
+
protocol: LitellmProtocol,
|
|
1174
|
+
retry: Retry.Retry,
|
|
1175
|
+
}));
|
|
1176
|
+
|
|
1177
|
+
export type PatchGroupScimV2GroupsGroupIdPatchError =
|
|
1178
|
+
| UnprocessableEntity
|
|
1179
|
+
| LitellmOpError;
|
|
1180
|
+
/** Patch Group Patch a group according to SCIM v2 protocol */
|
|
1181
|
+
export const patchGroupScimV2GroupsGroupIdPatch: API.OperationMethod<
|
|
1182
|
+
PatchGroupScimV2GroupsGroupIdPatchRequest,
|
|
1183
|
+
SCIMGroup,
|
|
1184
|
+
PatchGroupScimV2GroupsGroupIdPatchError,
|
|
1185
|
+
LitellmOpContext
|
|
1186
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1187
|
+
input: PatchGroupScimV2GroupsGroupIdPatchRequest,
|
|
1188
|
+
output: SCIMGroup,
|
|
1189
|
+
errors: [UnprocessableEntity],
|
|
1190
|
+
protocol: LitellmProtocol,
|
|
1191
|
+
retry: Retry.Retry,
|
|
1192
|
+
}));
|
|
1193
|
+
|
|
1194
|
+
export type PatchUserScimV2UsersUserIdPatchError =
|
|
1195
|
+
| UnprocessableEntity
|
|
1196
|
+
| LitellmOpError;
|
|
1197
|
+
/** Patch User Patch a user according to SCIM v2 protocol */
|
|
1198
|
+
export const patchUserScimV2UsersUserIdPatch: API.OperationMethod<
|
|
1199
|
+
PatchUserScimV2UsersUserIdPatchRequest,
|
|
1200
|
+
PatchUserScimV2UsersUserIdPatchResponse,
|
|
1201
|
+
PatchUserScimV2UsersUserIdPatchError,
|
|
1202
|
+
LitellmOpContext
|
|
1203
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1204
|
+
input: PatchUserScimV2UsersUserIdPatchRequest,
|
|
1205
|
+
output: PatchUserScimV2UsersUserIdPatchResponse,
|
|
1206
|
+
errors: [UnprocessableEntity],
|
|
1207
|
+
protocol: LitellmProtocol,
|
|
1208
|
+
retry: Retry.Retry,
|
|
1209
|
+
}));
|
|
1210
|
+
|
|
1211
|
+
export type UpdateGroupScimV2GroupsGroupIdPutError =
|
|
1212
|
+
| UnprocessableEntity
|
|
1213
|
+
| LitellmOpError;
|
|
1214
|
+
/** Update Group Update a group according to SCIM v2 protocol */
|
|
1215
|
+
export const updateGroupScimV2GroupsGroupIdPut: API.OperationMethod<
|
|
1216
|
+
UpdateGroupScimV2GroupsGroupIdPutRequest,
|
|
1217
|
+
SCIMGroup,
|
|
1218
|
+
UpdateGroupScimV2GroupsGroupIdPutError,
|
|
1219
|
+
LitellmOpContext
|
|
1220
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1221
|
+
input: UpdateGroupScimV2GroupsGroupIdPutRequest,
|
|
1222
|
+
output: SCIMGroup,
|
|
1223
|
+
errors: [UnprocessableEntity],
|
|
1224
|
+
protocol: LitellmProtocol,
|
|
1225
|
+
retry: Retry.Retry,
|
|
1226
|
+
}));
|
|
1227
|
+
|
|
1228
|
+
export type UpdateUserScimV2UsersUserIdPutError =
|
|
1229
|
+
| UnprocessableEntity
|
|
1230
|
+
| LitellmOpError;
|
|
1231
|
+
/** Update User Update a user according to SCIM v2 protocol (full replacement) */
|
|
1232
|
+
export const updateUserScimV2UsersUserIdPut: API.OperationMethod<
|
|
1233
|
+
UpdateUserScimV2UsersUserIdPutRequest,
|
|
1234
|
+
UpdateUserScimV2UsersUserIdPutResponse,
|
|
1235
|
+
UpdateUserScimV2UsersUserIdPutError,
|
|
1236
|
+
LitellmOpContext
|
|
1237
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1238
|
+
input: UpdateUserScimV2UsersUserIdPutRequest,
|
|
1239
|
+
output: UpdateUserScimV2UsersUserIdPutResponse,
|
|
1240
|
+
errors: [UnprocessableEntity],
|
|
1241
|
+
protocol: LitellmProtocol,
|
|
1242
|
+
retry: Retry.Retry,
|
|
1243
|
+
}));
|