qca 0.0.1.dev1__py3-none-any.whl
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.
- qca/__init__.py +50 -0
- qca/_version.py +1 -0
- qca/common/__init__.py +43 -0
- qca/common/_base_client.py +450 -0
- qca/common/_exceptions.py +97 -0
- qca/common/_files.py +38 -0
- qca/common/_models.py +33 -0
- qca/common/_resource.py +35 -0
- qca/common/_response.py +220 -0
- qca/common/_streaming.py +143 -0
- qca/common/_types.py +25 -0
- qca/common/_utils.py +73 -0
- qca/common/credentials.py +13 -0
- qca/common/pagination.py +118 -0
- qca/forward/__init__.py +7 -0
- qca/forward/_client.py +142 -0
- qca/forward/resources/__init__.py +14 -0
- qca/forward/resources/batches/__init__.py +4 -0
- qca/forward/resources/batches/batches.py +308 -0
- qca/forward/resources/batches/tasks.py +71 -0
- qca/forward/resources/channel_pairings.py +111 -0
- qca/forward/resources/channels/__init__.py +4 -0
- qca/forward/resources/channels/channels.py +336 -0
- qca/forward/resources/channels/qr_sessions.py +106 -0
- qca/forward/resources/environments.py +305 -0
- qca/forward/resources/files.py +272 -0
- qca/forward/resources/identities/__init__.py +6 -0
- qca/forward/resources/identities/configs.py +249 -0
- qca/forward/resources/identities/identities.py +570 -0
- qca/forward/resources/identities/memory_stores.py +186 -0
- qca/forward/resources/memory_stores/__init__.py +6 -0
- qca/forward/resources/memory_stores/memories.py +290 -0
- qca/forward/resources/memory_stores/memory_stores.py +321 -0
- qca/forward/resources/memory_stores/memory_versions.py +179 -0
- qca/forward/resources/models.py +58 -0
- qca/forward/resources/schedule_runs.py +149 -0
- qca/forward/resources/schedules.py +545 -0
- qca/forward/resources/sessions/__init__.py +6 -0
- qca/forward/resources/sessions/events.py +208 -0
- qca/forward/resources/sessions/resources.py +66 -0
- qca/forward/resources/sessions/sessions.py +417 -0
- qca/forward/resources/sessions/threads/__init__.py +4 -0
- qca/forward/resources/sessions/threads/events.py +128 -0
- qca/forward/resources/sessions/threads/threads.py +177 -0
- qca/forward/resources/skills/__init__.py +4 -0
- qca/forward/resources/skills/skills.py +335 -0
- qca/forward/resources/skills/versions.py +253 -0
- qca/forward/resources/templates.py +426 -0
- qca/forward/resources/vaults/__init__.py +4 -0
- qca/forward/resources/vaults/credentials.py +227 -0
- qca/forward/resources/vaults/vaults.py +217 -0
- qca/forward/types/__init__.py +205 -0
- qca/forward/types/batch.py +35 -0
- qca/forward/types/batch_cancel_params.py +11 -0
- qca/forward/types/batch_create_params.py +14 -0
- qca/forward/types/batch_file.py +13 -0
- qca/forward/types/batch_list_params.py +14 -0
- qca/forward/types/batch_request_counts.py +17 -0
- qca/forward/types/batch_task.py +24 -0
- qca/forward/types/batch_task_artifacts_item.py +14 -0
- qca/forward/types/batch_task_error.py +12 -0
- qca/forward/types/batch_task_list_params.py +14 -0
- qca/forward/types/batch_task_usage.py +11 -0
- qca/forward/types/batch_usage.py +11 -0
- qca/forward/types/channel.py +27 -0
- qca/forward/types/channel_channel_config.py +14 -0
- qca/forward/types/channel_channel_config_response_options.py +12 -0
- qca/forward/types/channel_create_params.py +18 -0
- qca/forward/types/channel_identity_resolution.py +11 -0
- qca/forward/types/channel_list_params.py +18 -0
- qca/forward/types/channel_pairing.py +17 -0
- qca/forward/types/channel_pairing_create_params.py +14 -0
- qca/forward/types/channel_qr_session.py +19 -0
- qca/forward/types/channel_qr_session_create_params.py +11 -0
- qca/forward/types/channel_update_params.py +16 -0
- qca/forward/types/content_block_param.py +17 -0
- qca/forward/types/deleted_channel.py +12 -0
- qca/forward/types/deleted_channel_pairing.py +12 -0
- qca/forward/types/deleted_identity.py +12 -0
- qca/forward/types/deleted_memory.py +13 -0
- qca/forward/types/deleted_memory_store.py +13 -0
- qca/forward/types/deleted_memory_store_mount.py +13 -0
- qca/forward/types/deleted_skill_version.py +13 -0
- qca/forward/types/effective_config.py +23 -0
- qca/forward/types/effective_config_agent.py +19 -0
- qca/forward/types/effective_config_agent_tools_item.py +15 -0
- qca/forward/types/effective_config_agent_tools_item_configs_item.py +12 -0
- qca/forward/types/effective_config_session.py +17 -0
- qca/forward/types/effective_config_session_resources_item.py +14 -0
- qca/forward/types/environment.py +24 -0
- qca/forward/types/environment_config.py +15 -0
- qca/forward/types/environment_config_packages.py +17 -0
- qca/forward/types/environment_create_params.py +15 -0
- qca/forward/types/environment_list_params.py +14 -0
- qca/forward/types/environment_update_params.py +14 -0
- qca/forward/types/environment_variable_override.py +12 -0
- qca/forward/types/environment_variable_override_param.py +12 -0
- qca/forward/types/file_list_params.py +16 -0
- qca/forward/types/file_metadata.py +22 -0
- qca/forward/types/file_upload_params.py +17 -0
- qca/forward/types/git_hub_repository.py +13 -0
- qca/forward/types/git_hub_repository_param.py +14 -0
- qca/forward/types/identity.py +19 -0
- qca/forward/types/identity_clear_params.py +11 -0
- qca/forward/types/identity_clear_response.py +18 -0
- qca/forward/types/identity_clear_response_summary.py +16 -0
- qca/forward/types/identity_config.py +25 -0
- qca/forward/types/identity_config_list_params.py +15 -0
- qca/forward/types/identity_config_spec.py +31 -0
- qca/forward/types/identity_config_spec_param.py +31 -0
- qca/forward/types/identity_config_upsert_params.py +17 -0
- qca/forward/types/identity_create_params.py +15 -0
- qca/forward/types/identity_list_params.py +17 -0
- qca/forward/types/identity_list_templates_response.py +14 -0
- qca/forward/types/identity_memory_store_list_response.py +15 -0
- qca/forward/types/identity_memory_store_mount_params.py +9 -0
- qca/forward/types/identity_stats.py +14 -0
- qca/forward/types/identity_template.py +15 -0
- qca/forward/types/identity_update_params.py +15 -0
- qca/forward/types/image_source_param.py +15 -0
- qca/forward/types/mcp_server.py +13 -0
- qca/forward/types/mcp_server_override.py +13 -0
- qca/forward/types/mcp_server_override_param.py +13 -0
- qca/forward/types/mcp_server_param.py +13 -0
- qca/forward/types/memory.py +21 -0
- qca/forward/types/memory_store.py +25 -0
- qca/forward/types/memory_store_create_params.py +14 -0
- qca/forward/types/memory_store_list_params.py +14 -0
- qca/forward/types/memory_store_memory_create_params.py +13 -0
- qca/forward/types/memory_store_memory_list_params.py +14 -0
- qca/forward/types/memory_store_memory_update_params.py +13 -0
- qca/forward/types/memory_store_memory_version_list_params.py +14 -0
- qca/forward/types/memory_store_mount.py +20 -0
- qca/forward/types/memory_store_update_params.py +13 -0
- qca/forward/types/memory_version.py +23 -0
- qca/forward/types/model.py +23 -0
- qca/forward/types/model_config.py +13 -0
- qca/forward/types/model_config_param.py +13 -0
- qca/forward/types/model_list_response.py +15 -0
- qca/forward/types/multiagent_config.py +15 -0
- qca/forward/types/multiagent_config_param.py +15 -0
- qca/forward/types/multiagent_entry.py +13 -0
- qca/forward/types/multiagent_entry_param.py +13 -0
- qca/forward/types/permission_policy.py +11 -0
- qca/forward/types/permission_policy_param.py +9 -0
- qca/forward/types/resource_binding.py +11 -0
- qca/forward/types/resource_binding_param.py +11 -0
- qca/forward/types/schedule.py +34 -0
- qca/forward/types/schedule_archive_many_params.py +12 -0
- qca/forward/types/schedule_archive_many_response.py +11 -0
- qca/forward/types/schedule_archive_params.py +11 -0
- qca/forward/types/schedule_create_params.py +21 -0
- qca/forward/types/schedule_execution.py +14 -0
- qca/forward/types/schedule_initial_events_item.py +12 -0
- qca/forward/types/schedule_list_params.py +19 -0
- qca/forward/types/schedule_pause_params.py +11 -0
- qca/forward/types/schedule_paused_reason.py +11 -0
- qca/forward/types/schedule_run.py +33 -0
- qca/forward/types/schedule_run_list_params.py +20 -0
- qca/forward/types/schedule_run_params.py +11 -0
- qca/forward/types/schedule_run_retrieve_params.py +11 -0
- qca/forward/types/schedule_run_trigger_context.py +13 -0
- qca/forward/types/schedule_sinks_item.py +16 -0
- qca/forward/types/schedule_sinks_item_target.py +12 -0
- qca/forward/types/schedule_trigger_policy.py +15 -0
- qca/forward/types/schedule_unpause_params.py +11 -0
- qca/forward/types/schedule_update_params.py +20 -0
- qca/forward/types/session.py +33 -0
- qca/forward/types/session_archive_params.py +11 -0
- qca/forward/types/session_cancel_params.py +11 -0
- qca/forward/types/session_config.py +11 -0
- qca/forward/types/session_create_params.py +21 -0
- qca/forward/types/session_create_params_config_param.py +11 -0
- qca/forward/types/session_event.py +52 -0
- qca/forward/types/session_event_list_params.py +18 -0
- qca/forward/types/session_event_param.py +24 -0
- qca/forward/types/session_event_send_params.py +15 -0
- qca/forward/types/session_event_send_response.py +14 -0
- qca/forward/types/session_event_stream_params.py +14 -0
- qca/forward/types/session_list_params.py +27 -0
- qca/forward/types/session_resource.py +17 -0
- qca/forward/types/session_resource_add_params.py +13 -0
- qca/forward/types/session_resource_spec_param.py +13 -0
- qca/forward/types/session_stats.py +12 -0
- qca/forward/types/session_template.py +18 -0
- qca/forward/types/session_thread.py +27 -0
- qca/forward/types/session_thread_archive_params.py +11 -0
- qca/forward/types/session_thread_event_list_params.py +13 -0
- qca/forward/types/session_thread_event_stream_params.py +11 -0
- qca/forward/types/session_thread_list_params.py +13 -0
- qca/forward/types/session_thread_stop_reason.py +11 -0
- qca/forward/types/session_update_params.py +17 -0
- qca/forward/types/session_update_params_config_param.py +11 -0
- qca/forward/types/session_usage.py +11 -0
- qca/forward/types/skill.py +23 -0
- qca/forward/types/skill_binding.py +14 -0
- qca/forward/types/skill_binding_param.py +14 -0
- qca/forward/types/skill_create_params.py +20 -0
- qca/forward/types/skill_list_params.py +17 -0
- qca/forward/types/skill_override.py +13 -0
- qca/forward/types/skill_override_param.py +13 -0
- qca/forward/types/skill_retrieve_params.py +11 -0
- qca/forward/types/skill_update_params.py +16 -0
- qca/forward/types/skill_version.py +22 -0
- qca/forward/types/skill_version_create_params.py +13 -0
- qca/forward/types/skill_version_list_params.py +12 -0
- qca/forward/types/system_override.py +12 -0
- qca/forward/types/system_override_param.py +12 -0
- qca/forward/types/template.py +39 -0
- qca/forward/types/template_archive_params.py +11 -0
- qca/forward/types/template_clone_params.py +13 -0
- qca/forward/types/template_create_params.py +35 -0
- qca/forward/types/template_list_params.py +14 -0
- qca/forward/types/template_update_params.py +35 -0
- qca/forward/types/tool.py +21 -0
- qca/forward/types/tool_config.py +16 -0
- qca/forward/types/tool_config_param.py +16 -0
- qca/forward/types/tool_override.py +15 -0
- qca/forward/types/tool_override_param.py +15 -0
- qca/forward/types/tool_param.py +21 -0
- qca/forward/types/vault.py +18 -0
- qca/forward/types/vault_create_params.py +13 -0
- qca/forward/types/vault_credential.py +22 -0
- qca/forward/types/vault_credential_auth.py +12 -0
- qca/forward/types/vault_credential_create_params.py +14 -0
- qca/forward/types/vault_credential_list_params.py +15 -0
- qca/forward/types/vault_list_params.py +15 -0
- qca/managed/__init__.py +7 -0
- qca/managed/_client.py +115 -0
- qca/managed/resources/__init__.py +10 -0
- qca/managed/resources/agents/__init__.py +4 -0
- qca/managed/resources/agents/agents.py +386 -0
- qca/managed/resources/agents/versions.py +71 -0
- qca/managed/resources/deployment_runs.py +160 -0
- qca/managed/resources/deployments.py +552 -0
- qca/managed/resources/dreams.py +303 -0
- qca/managed/resources/environments/__init__.py +4 -0
- qca/managed/resources/environments/environments.py +359 -0
- qca/managed/resources/environments/work.py +449 -0
- qca/managed/resources/files.py +295 -0
- qca/managed/resources/memory_stores/__init__.py +6 -0
- qca/managed/resources/memory_stores/memories.py +358 -0
- qca/managed/resources/memory_stores/memory_stores.py +362 -0
- qca/managed/resources/memory_stores/memory_versions.py +228 -0
- qca/managed/resources/models.py +71 -0
- qca/managed/resources/sessions/__init__.py +6 -0
- qca/managed/resources/sessions/events.py +240 -0
- qca/managed/resources/sessions/resources.py +303 -0
- qca/managed/resources/sessions/sessions.py +472 -0
- qca/managed/resources/sessions/threads/__init__.py +4 -0
- qca/managed/resources/sessions/threads/events.py +141 -0
- qca/managed/resources/sessions/threads/threads.py +185 -0
- qca/managed/resources/skills/__init__.py +4 -0
- qca/managed/resources/skills/skills.py +254 -0
- qca/managed/resources/skills/versions.py +273 -0
- qca/managed/resources/vaults/__init__.py +4 -0
- qca/managed/resources/vaults/credentials.py +437 -0
- qca/managed/resources/vaults/vaults.py +296 -0
- qca/managed/types/__init__.py +421 -0
- qca/managed/types/actor_union.py +15 -0
- qca/managed/types/advisor_params.py +12 -0
- qca/managed/types/agent.py +33 -0
- qca/managed/types/agent_archive_params.py +12 -0
- qca/managed/types/agent_create_params.py +31 -0
- qca/managed/types/agent_list_params.py +18 -0
- qca/managed/types/agent_mcp_tool_result_event_content_union.py +21 -0
- qca/managed/types/agent_message_event_content_union.py +12 -0
- qca/managed/types/agent_params.py +13 -0
- qca/managed/types/agent_reference.py +13 -0
- qca/managed/types/agent_retrieve_params.py +13 -0
- qca/managed/types/agent_skill_union.py +13 -0
- qca/managed/types/agent_thread_message_received_event_content_union.py +20 -0
- qca/managed/types/agent_thread_message_received_event_content_union_source.py +15 -0
- qca/managed/types/agent_thread_message_sent_event_content_union.py +18 -0
- qca/managed/types/agent_thread_message_sent_event_content_union_source.py +15 -0
- qca/managed/types/agent_tool_config_union.py +22 -0
- qca/managed/types/agent_tool_config_union_permission_policy.py +11 -0
- qca/managed/types/agent_tool_result_event_content_union.py +21 -0
- qca/managed/types/agent_tool_union.py +25 -0
- qca/managed/types/agent_tool_union_default_config.py +15 -0
- qca/managed/types/agent_tool_union_default_config_permission_policy.py +11 -0
- qca/managed/types/agent_toolset20260401_params.py +37 -0
- qca/managed/types/agent_toolset_default_config_params.py +16 -0
- qca/managed/types/agent_update_params.py +32 -0
- qca/managed/types/agent_version_list_params.py +14 -0
- qca/managed/types/agent_with_overrides_params.py +27 -0
- qca/managed/types/always_allow_policy_param.py +11 -0
- qca/managed/types/always_ask_policy_param.py +11 -0
- qca/managed/types/base64_document_source_param.py +13 -0
- qca/managed/types/base64_image_source_param.py +13 -0
- qca/managed/types/bash_tool_config_params.py +18 -0
- qca/managed/types/branch_checkout_param.py +12 -0
- qca/managed/types/budget_limit.py +15 -0
- qca/managed/types/budget_limit_param.py +15 -0
- qca/managed/types/cache_creation_usage.py +12 -0
- qca/managed/types/capability_support.py +11 -0
- qca/managed/types/cloud_config_networking_union.py +14 -0
- qca/managed/types/cloud_config_params.py +19 -0
- qca/managed/types/commit_checkout_param.py +12 -0
- qca/managed/types/context_management_capability.py +17 -0
- qca/managed/types/credential.py +23 -0
- qca/managed/types/credential_auth_union.py +23 -0
- qca/managed/types/credential_validation.py +23 -0
- qca/managed/types/custom_skill_params.py +13 -0
- qca/managed/types/custom_tool_input_schema.py +13 -0
- qca/managed/types/custom_tool_input_schema_param.py +13 -0
- qca/managed/types/custom_tool_params.py +17 -0
- qca/managed/types/delete_session_resource.py +12 -0
- qca/managed/types/deleted_credential.py +12 -0
- qca/managed/types/deleted_file.py +12 -0
- qca/managed/types/deleted_memory.py +12 -0
- qca/managed/types/deleted_memory_store.py +12 -0
- qca/managed/types/deleted_session.py +12 -0
- qca/managed/types/deleted_skill.py +12 -0
- qca/managed/types/deleted_skill_version.py +12 -0
- qca/managed/types/deleted_vault.py +12 -0
- qca/managed/types/delta_content.py +16 -0
- qca/managed/types/deployment.py +37 -0
- qca/managed/types/deployment_archive_params.py +12 -0
- qca/managed/types/deployment_create_params.py +36 -0
- qca/managed/types/deployment_initial_event_union.py +20 -0
- qca/managed/types/deployment_list_params.py +22 -0
- qca/managed/types/deployment_pause_params.py +12 -0
- qca/managed/types/deployment_paused_reason_error_union.py +11 -0
- qca/managed/types/deployment_paused_reason_union.py +15 -0
- qca/managed/types/deployment_retrieve_params.py +12 -0
- qca/managed/types/deployment_run.py +24 -0
- qca/managed/types/deployment_run_error_union.py +12 -0
- qca/managed/types/deployment_run_list_params.py +24 -0
- qca/managed/types/deployment_run_params.py +12 -0
- qca/managed/types/deployment_run_retrieve_params.py +12 -0
- qca/managed/types/deployment_unpause_params.py +12 -0
- qca/managed/types/deployment_update_params.py +34 -0
- qca/managed/types/deployment_user_define_outcome_event_rubric_union.py +13 -0
- qca/managed/types/deployment_user_message_event_content_union.py +18 -0
- qca/managed/types/deployment_user_message_event_content_union_source.py +15 -0
- qca/managed/types/document_block_param.py +22 -0
- qca/managed/types/dream.py +33 -0
- qca/managed/types/dream_archive_params.py +12 -0
- qca/managed/types/dream_cancel_params.py +12 -0
- qca/managed/types/dream_create_params.py +23 -0
- qca/managed/types/dream_error.py +12 -0
- qca/managed/types/dream_input_union.py +13 -0
- qca/managed/types/dream_list_params.py +19 -0
- qca/managed/types/dream_memory_store_input_param.py +12 -0
- qca/managed/types/dream_model_config.py +12 -0
- qca/managed/types/dream_model_config_param.py +12 -0
- qca/managed/types/dream_output.py +12 -0
- qca/managed/types/dream_retrieve_params.py +12 -0
- qca/managed/types/dream_sessions_input_param.py +12 -0
- qca/managed/types/dream_usage.py +14 -0
- qca/managed/types/edit_tool_config_params.py +18 -0
- qca/managed/types/effort_capability.py +19 -0
- qca/managed/types/effort_high_param.py +11 -0
- qca/managed/types/effort_low_param.py +11 -0
- qca/managed/types/effort_max_param.py +11 -0
- qca/managed/types/effort_medium_param.py +11 -0
- qca/managed/types/effort_xhigh_param.py +11 -0
- qca/managed/types/environment.py +23 -0
- qca/managed/types/environment_archive_params.py +12 -0
- qca/managed/types/environment_config_union.py +17 -0
- qca/managed/types/environment_create_params.py +21 -0
- qca/managed/types/environment_delete_params.py +12 -0
- qca/managed/types/environment_delete_response.py +12 -0
- qca/managed/types/environment_list_params.py +18 -0
- qca/managed/types/environment_retrieve_params.py +12 -0
- qca/managed/types/environment_update_params.py +21 -0
- qca/managed/types/environment_variable_auth_response_networking_union.py +12 -0
- qca/managed/types/environment_variable_create_params.py +20 -0
- qca/managed/types/environment_variable_update_params.py +19 -0
- qca/managed/types/environment_work_ack_params.py +11 -0
- qca/managed/types/environment_work_heartbeat_params.py +13 -0
- qca/managed/types/environment_work_list_params.py +15 -0
- qca/managed/types/environment_work_poll_params.py +14 -0
- qca/managed/types/environment_work_retrieve_params.py +12 -0
- qca/managed/types/environment_work_stats_params.py +12 -0
- qca/managed/types/environment_work_stop_params.py +13 -0
- qca/managed/types/environment_work_update_params.py +13 -0
- qca/managed/types/file_delete_params.py +12 -0
- qca/managed/types/file_document_source_param.py +12 -0
- qca/managed/types/file_download_params.py +12 -0
- qca/managed/types/file_get_metadata_params.py +12 -0
- qca/managed/types/file_image_source_param.py +12 -0
- qca/managed/types/file_list_params.py +19 -0
- qca/managed/types/file_metadata.py +25 -0
- qca/managed/types/file_resource.py +17 -0
- qca/managed/types/file_resource_params.py +13 -0
- qca/managed/types/file_rubric_params.py +12 -0
- qca/managed/types/file_scope.py +12 -0
- qca/managed/types/file_upload_params.py +18 -0
- qca/managed/types/git_hub_repository_resource_checkout_union.py +13 -0
- qca/managed/types/git_hub_repository_resource_config_checkout_union.py +13 -0
- qca/managed/types/git_hub_repository_resource_params.py +19 -0
- qca/managed/types/glob_tool_config_params.py +18 -0
- qca/managed/types/grep_tool_config_params.py +18 -0
- qca/managed/types/image_block_param.py +17 -0
- qca/managed/types/injection_location_params.py +12 -0
- qca/managed/types/injection_location_response.py +12 -0
- qca/managed/types/injection_location_update_params.py +12 -0
- qca/managed/types/limited_credential_networking_params.py +12 -0
- qca/managed/types/limited_network_params.py +14 -0
- qca/managed/types/mcp_probe.py +15 -0
- qca/managed/types/mcp_server_url_definition.py +13 -0
- qca/managed/types/mcp_tool_config.py +16 -0
- qca/managed/types/mcp_tool_config_params.py +17 -0
- qca/managed/types/mcp_tool_config_permission_policy_union.py +11 -0
- qca/managed/types/mcp_toolset_default_config_params.py +16 -0
- qca/managed/types/mcp_toolset_params.py +18 -0
- qca/managed/types/mcpo_auth_create_params.py +19 -0
- qca/managed/types/mcpo_auth_refresh_params.py +23 -0
- qca/managed/types/mcpo_auth_refresh_response.py +18 -0
- qca/managed/types/mcpo_auth_refresh_response_token_endpoint_auth_union.py +11 -0
- qca/managed/types/mcpo_auth_refresh_update_params.py +17 -0
- qca/managed/types/mcpo_auth_update_params.py +18 -0
- qca/managed/types/memory.py +22 -0
- qca/managed/types/memory_list_item_union.py +21 -0
- qca/managed/types/memory_store.py +19 -0
- qca/managed/types/memory_store_archive_params.py +12 -0
- qca/managed/types/memory_store_create_params.py +15 -0
- qca/managed/types/memory_store_delete_params.py +12 -0
- qca/managed/types/memory_store_list_params.py +19 -0
- qca/managed/types/memory_store_memory_create_params.py +16 -0
- qca/managed/types/memory_store_memory_delete_params.py +13 -0
- qca/managed/types/memory_store_memory_list_params.py +17 -0
- qca/managed/types/memory_store_memory_retrieve_params.py +13 -0
- qca/managed/types/memory_store_memory_update_params.py +21 -0
- qca/managed/types/memory_store_memory_version_list_params.py +23 -0
- qca/managed/types/memory_store_memory_version_redact_params.py +12 -0
- qca/managed/types/memory_store_memory_version_retrieve_params.py +13 -0
- qca/managed/types/memory_store_resource_param.py +14 -0
- qca/managed/types/memory_store_retrieve_params.py +12 -0
- qca/managed/types/memory_store_update_params.py +15 -0
- qca/managed/types/memory_version.py +27 -0
- qca/managed/types/model_capabilities.py +25 -0
- qca/managed/types/model_config.py +18 -0
- qca/managed/types/model_config_effort_union.py +11 -0
- qca/managed/types/model_config_params.py +39 -0
- qca/managed/types/model_info.py +30 -0
- qca/managed/types/model_list_params.py +15 -0
- qca/managed/types/monetary_amount.py +12 -0
- qca/managed/types/monetary_amount_param.py +12 -0
- qca/managed/types/multiagent.py +15 -0
- qca/managed/types/multiagent_agent_union.py +17 -0
- qca/managed/types/multiagent_params.py +17 -0
- qca/managed/types/multiagent_self_params.py +11 -0
- qca/managed/types/outcome_evaluation_resource.py +18 -0
- qca/managed/types/output_behavior_create_new_param.py +11 -0
- qca/managed/types/output_behavior_union.py +12 -0
- qca/managed/types/output_behavior_update_existing_param.py +12 -0
- qca/managed/types/packages.py +17 -0
- qca/managed/types/packages_params.py +17 -0
- qca/managed/types/plain_text_document_source_param.py +13 -0
- qca/managed/types/precondition_param.py +12 -0
- qca/managed/types/qoder_skill_params.py +13 -0
- qca/managed/types/read_tool_config_params.py +18 -0
- qca/managed/types/redacted_block_param.py +11 -0
- qca/managed/types/refresh_http_response.py +14 -0
- qca/managed/types/refresh_object.py +15 -0
- qca/managed/types/schedule.py +16 -0
- qca/managed/types/schedule_params.py +13 -0
- qca/managed/types/search_result_block_param.py +19 -0
- qca/managed/types/search_result_citations.py +11 -0
- qca/managed/types/search_result_citations_param.py +9 -0
- qca/managed/types/search_result_content.py +12 -0
- qca/managed/types/search_result_content_param.py +12 -0
- qca/managed/types/self_hosted_config_params.py +11 -0
- qca/managed/types/self_hosted_work.py +26 -0
- qca/managed/types/self_hosted_work_heartbeat_response.py +15 -0
- qca/managed/types/self_hosted_work_queue_stats.py +15 -0
- qca/managed/types/send_session_events.py +14 -0
- qca/managed/types/send_session_events_data_union.py +39 -0
- qca/managed/types/server_tool_usage.py +12 -0
- qca/managed/types/session.py +37 -0
- qca/managed/types/session_agent.py +28 -0
- qca/managed/types/session_agent_skill_union.py +13 -0
- qca/managed/types/session_agent_tool_union.py +25 -0
- qca/managed/types/session_agent_tool_union_default_config.py +17 -0
- qca/managed/types/session_agent_tool_union_default_config_permission_policy.py +11 -0
- qca/managed/types/session_agent_update_param.py +24 -0
- qca/managed/types/session_archive_params.py +12 -0
- qca/managed/types/session_create_params.py +31 -0
- qca/managed/types/session_delete_params.py +12 -0
- qca/managed/types/session_error_event_error_union.py +19 -0
- qca/managed/types/session_error_event_error_union_retry_status.py +11 -0
- qca/managed/types/session_event.py +77 -0
- qca/managed/types/session_event_list_params.py +23 -0
- qca/managed/types/session_event_send_params.py +34 -0
- qca/managed/types/session_event_stop_reason.py +12 -0
- qca/managed/types/session_event_stream_params.py +13 -0
- qca/managed/types/session_event_usage.py +24 -0
- qca/managed/types/session_list_params.py +26 -0
- qca/managed/types/session_multiagent_coordinator.py +15 -0
- qca/managed/types/session_multiagent_coordinator_agent_union.py +26 -0
- qca/managed/types/session_resource_add_params.py +15 -0
- qca/managed/types/session_resource_config_union.py +21 -0
- qca/managed/types/session_resource_delete_params.py +12 -0
- qca/managed/types/session_resource_get_response_union.py +27 -0
- qca/managed/types/session_resource_list_params.py +16 -0
- qca/managed/types/session_resource_retrieve_params.py +12 -0
- qca/managed/types/session_resource_union.py +27 -0
- qca/managed/types/session_resource_update_params.py +14 -0
- qca/managed/types/session_resource_update_response_union.py +27 -0
- qca/managed/types/session_retrieve_params.py +12 -0
- qca/managed/types/session_stats.py +12 -0
- qca/managed/types/session_stream_event.py +82 -0
- qca/managed/types/session_stream_event_stop_reason.py +12 -0
- qca/managed/types/session_stream_event_usage.py +24 -0
- qca/managed/types/session_thread.py +27 -0
- qca/managed/types/session_thread_agent_skill_union.py +13 -0
- qca/managed/types/session_thread_agent_tool_union.py +25 -0
- qca/managed/types/session_thread_agent_tool_union_default_config.py +17 -0
- qca/managed/types/session_thread_agent_tool_union_default_config_permission_policy.py +11 -0
- qca/managed/types/session_thread_agent_union.py +26 -0
- qca/managed/types/session_thread_archive_params.py +12 -0
- qca/managed/types/session_thread_event_list_params.py +16 -0
- qca/managed/types/session_thread_event_stream_params.py +13 -0
- qca/managed/types/session_thread_list_params.py +14 -0
- qca/managed/types/session_thread_retrieve_params.py +12 -0
- qca/managed/types/session_thread_stats.py +13 -0
- qca/managed/types/session_thread_usage.py +22 -0
- qca/managed/types/session_update_params.py +22 -0
- qca/managed/types/session_usage.py +22 -0
- qca/managed/types/session_work_data.py +12 -0
- qca/managed/types/skill.py +22 -0
- qca/managed/types/skill_create_params.py +17 -0
- qca/managed/types/skill_delete_params.py +12 -0
- qca/managed/types/skill_list_params.py +19 -0
- qca/managed/types/skill_retrieve_params.py +12 -0
- qca/managed/types/skill_source.py +11 -0
- qca/managed/types/skill_version.py +19 -0
- qca/managed/types/skill_version_create_params.py +15 -0
- qca/managed/types/skill_version_delete_params.py +12 -0
- qca/managed/types/skill_version_download_params.py +12 -0
- qca/managed/types/skill_version_list_params.py +14 -0
- qca/managed/types/skill_version_retrieve_params.py +12 -0
- qca/managed/types/span_model_usage.py +15 -0
- qca/managed/types/start_event_preview_union.py +12 -0
- qca/managed/types/static_bearer_create_params.py +13 -0
- qca/managed/types/static_bearer_update_params.py +12 -0
- qca/managed/types/stream_session_thread_events_union.py +82 -0
- qca/managed/types/stream_session_thread_events_union_stop_reason.py +12 -0
- qca/managed/types/stream_session_thread_events_union_usage.py +24 -0
- qca/managed/types/system_content_block.py +12 -0
- qca/managed/types/system_content_block_param.py +12 -0
- qca/managed/types/system_message_event_params.py +15 -0
- qca/managed/types/text_block.py +12 -0
- qca/managed/types/text_block_param.py +12 -0
- qca/managed/types/text_rubric_params.py +12 -0
- qca/managed/types/thinking_capability.py +15 -0
- qca/managed/types/thinking_types.py +15 -0
- qca/managed/types/token_endpoint_auth_basic_param.py +12 -0
- qca/managed/types/token_endpoint_auth_basic_update_param.py +12 -0
- qca/managed/types/token_endpoint_auth_none_param.py +11 -0
- qca/managed/types/token_endpoint_auth_post_param.py +12 -0
- qca/managed/types/token_endpoint_auth_post_update_param.py +12 -0
- qca/managed/types/trigger_context_union.py +13 -0
- qca/managed/types/unrestricted_credential_networking_params.py +11 -0
- qca/managed/types/unrestricted_network_param.py +11 -0
- qca/managed/types/url_document_source_param.py +12 -0
- qca/managed/types/url_image_source_param.py +12 -0
- qca/managed/types/urlmcp_server_params.py +13 -0
- qca/managed/types/user_custom_tool_result_event_content_union.py +21 -0
- qca/managed/types/user_custom_tool_result_event_params.py +20 -0
- qca/managed/types/user_define_outcome_event_params.py +18 -0
- qca/managed/types/user_define_outcome_event_rubric_union.py +13 -0
- qca/managed/types/user_interrupt_event_params.py +12 -0
- qca/managed/types/user_location.py +15 -0
- qca/managed/types/user_location_param.py +15 -0
- qca/managed/types/user_message_event_content_union.py +18 -0
- qca/managed/types/user_message_event_content_union_source.py +15 -0
- qca/managed/types/user_message_event_params.py +18 -0
- qca/managed/types/user_tool_confirmation_event_params.py +14 -0
- qca/managed/types/user_tool_result_event_content_union.py +21 -0
- qca/managed/types/user_tool_result_event_params.py +20 -0
- qca/managed/types/vault.py +18 -0
- qca/managed/types/vault_archive_params.py +12 -0
- qca/managed/types/vault_create_params.py +14 -0
- qca/managed/types/vault_credential_archive_params.py +12 -0
- qca/managed/types/vault_credential_create_params.py +20 -0
- qca/managed/types/vault_credential_delete_params.py +12 -0
- qca/managed/types/vault_credential_list_params.py +18 -0
- qca/managed/types/vault_credential_mcpo_auth_validate_params.py +12 -0
- qca/managed/types/vault_credential_retrieve_params.py +12 -0
- qca/managed/types/vault_credential_update_params.py +19 -0
- qca/managed/types/vault_delete_params.py +12 -0
- qca/managed/types/vault_list_params.py +18 -0
- qca/managed/types/vault_retrieve_params.py +12 -0
- qca/managed/types/web_fetch_tool_config_params.py +21 -0
- qca/managed/types/web_search_tool_config_params.py +22 -0
- qca/managed/types/write_tool_config_params.py +18 -0
- qca/py.typed +0 -0
- qca-0.0.1.dev1.dist-info/METADATA +279 -0
- qca-0.0.1.dev1.dist-info/RECORD +596 -0
- qca-0.0.1.dev1.dist-info/WHEEL +5 -0
- qca-0.0.1.dev1.dist-info/licenses/LICENSE +21 -0
- qca-0.0.1.dev1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["FileResource"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class FileResource(BaseModel):
|
|
12
|
+
id: Optional[str] = None
|
|
13
|
+
created_at: Optional[datetime] = None
|
|
14
|
+
file_id: Optional[str] = None
|
|
15
|
+
mount_path: Optional[str] = None
|
|
16
|
+
type: Optional[str] = None
|
|
17
|
+
updated_at: Optional[datetime] = None
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["FileResourceParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class FileResourceParams(TypedDict, total=False):
|
|
11
|
+
file_id: Required[str]
|
|
12
|
+
type: Required[Literal["file"]]
|
|
13
|
+
mount_path: Optional[str]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["FileRubricParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class FileRubricParams(TypedDict, total=False):
|
|
11
|
+
file_id: Required[str]
|
|
12
|
+
type: Required[Literal["file"]]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Dict, List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
from qca.common._types import FileTypes
|
|
8
|
+
|
|
9
|
+
__all__ = ["FileUploadParams"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class FileUploadParams(TypedDict, total=False):
|
|
13
|
+
name: Optional[str]
|
|
14
|
+
metadata: Dict[str, str]
|
|
15
|
+
file: Required[FileTypes]
|
|
16
|
+
expires_in_seconds: Optional[int]
|
|
17
|
+
workspace_id: Optional[str]
|
|
18
|
+
betas: List[str]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["GitHubRepositoryResourceCheckoutUnion"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GitHubRepositoryResourceCheckoutUnion(BaseModel):
|
|
11
|
+
name: Optional[str] = None
|
|
12
|
+
type: Optional[str] = None
|
|
13
|
+
sha: Optional[str] = None
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["GitHubRepositoryResourceConfigCheckoutUnion"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GitHubRepositoryResourceConfigCheckoutUnion(BaseModel):
|
|
11
|
+
name: Optional[str] = None
|
|
12
|
+
type: Optional[str] = None
|
|
13
|
+
sha: Optional[str] = None
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Literal, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .branch_checkout_param import BranchCheckoutParam
|
|
9
|
+
from .commit_checkout_param import CommitCheckoutParam
|
|
10
|
+
|
|
11
|
+
__all__ = ["GitHubRepositoryResourceParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class GitHubRepositoryResourceParams(TypedDict, total=False):
|
|
15
|
+
authorization_token: Required[str]
|
|
16
|
+
type: Required[Literal["github_repository"]]
|
|
17
|
+
url: Required[str]
|
|
18
|
+
mount_path: Optional[str]
|
|
19
|
+
checkout: Union[BranchCheckoutParam, CommitCheckoutParam]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Literal, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .always_allow_policy_param import AlwaysAllowPolicyParam
|
|
9
|
+
from .always_ask_policy_param import AlwaysAskPolicyParam
|
|
10
|
+
|
|
11
|
+
__all__ = ["GlobToolConfigParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class GlobToolConfigParams(TypedDict, total=False):
|
|
15
|
+
enabled: Optional[bool]
|
|
16
|
+
permission_policy: Union[AlwaysAllowPolicyParam, AlwaysAskPolicyParam]
|
|
17
|
+
type: Literal["glob"]
|
|
18
|
+
name: Literal["glob"]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Literal, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .always_allow_policy_param import AlwaysAllowPolicyParam
|
|
9
|
+
from .always_ask_policy_param import AlwaysAskPolicyParam
|
|
10
|
+
|
|
11
|
+
__all__ = ["GrepToolConfigParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class GrepToolConfigParams(TypedDict, total=False):
|
|
15
|
+
enabled: Optional[bool]
|
|
16
|
+
permission_policy: Union[AlwaysAllowPolicyParam, AlwaysAskPolicyParam]
|
|
17
|
+
type: Literal["grep"]
|
|
18
|
+
name: Literal["grep"]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Literal, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .base64_image_source_param import Base64ImageSourceParam
|
|
9
|
+
from .file_image_source_param import FileImageSourceParam
|
|
10
|
+
from .url_image_source_param import URLImageSourceParam
|
|
11
|
+
|
|
12
|
+
__all__ = ["ImageBlockParam"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class ImageBlockParam(TypedDict, total=False):
|
|
16
|
+
source: Required[Union[Base64ImageSourceParam, URLImageSourceParam, FileImageSourceParam]]
|
|
17
|
+
type: Required[Literal["image"]]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["InjectionLocationParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class InjectionLocationParams(TypedDict, total=False):
|
|
11
|
+
body: Optional[bool]
|
|
12
|
+
header: Optional[bool]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["InjectionLocationResponse"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class InjectionLocationResponse(BaseModel):
|
|
11
|
+
body: Optional[bool] = None
|
|
12
|
+
header: Optional[bool] = None
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["InjectionLocationUpdateParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class InjectionLocationUpdateParams(TypedDict, total=False):
|
|
11
|
+
body: Optional[bool]
|
|
12
|
+
header: Optional[bool]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["LimitedCredentialNetworkingParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class LimitedCredentialNetworkingParams(TypedDict, total=False):
|
|
11
|
+
allowed_hosts: Required[List[str]]
|
|
12
|
+
type: Required[Literal["limited"]]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Literal, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["LimitedNetworkParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class LimitedNetworkParams(TypedDict, total=False):
|
|
11
|
+
allow_mcp_servers: Optional[bool]
|
|
12
|
+
allow_package_managers: Optional[bool]
|
|
13
|
+
allowed_hosts: List[str]
|
|
14
|
+
type: Literal["limited"]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .refresh_http_response import RefreshHTTPResponse
|
|
9
|
+
|
|
10
|
+
__all__ = ["MCPProbe"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class MCPProbe(BaseModel):
|
|
14
|
+
http_response: Optional[RefreshHTTPResponse] = None
|
|
15
|
+
method: Optional[str] = None
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["MCPServerURLDefinition"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MCPServerURLDefinition(BaseModel):
|
|
11
|
+
name: Optional[str] = None
|
|
12
|
+
type: Optional[str] = None
|
|
13
|
+
url: Optional[str] = None
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .mcp_tool_config_permission_policy_union import MCPToolConfigPermissionPolicyUnion
|
|
9
|
+
|
|
10
|
+
__all__ = ["MCPToolConfig"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class MCPToolConfig(BaseModel):
|
|
14
|
+
enabled: Optional[bool] = None
|
|
15
|
+
name: Optional[str] = None
|
|
16
|
+
permission_policy: Optional[MCPToolConfigPermissionPolicyUnion] = None
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .always_allow_policy_param import AlwaysAllowPolicyParam
|
|
9
|
+
from .always_ask_policy_param import AlwaysAskPolicyParam
|
|
10
|
+
|
|
11
|
+
__all__ = ["MCPToolConfigParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class MCPToolConfigParams(TypedDict, total=False):
|
|
15
|
+
name: Required[str]
|
|
16
|
+
enabled: Optional[bool]
|
|
17
|
+
permission_policy: Union[AlwaysAllowPolicyParam, AlwaysAskPolicyParam]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .always_allow_policy_param import AlwaysAllowPolicyParam
|
|
9
|
+
from .always_ask_policy_param import AlwaysAskPolicyParam
|
|
10
|
+
|
|
11
|
+
__all__ = ["MCPToolsetDefaultConfigParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class MCPToolsetDefaultConfigParams(TypedDict, total=False):
|
|
15
|
+
enabled: Optional[bool]
|
|
16
|
+
permission_policy: Union[AlwaysAllowPolicyParam, AlwaysAskPolicyParam]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, List, Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .mcp_tool_config_params import MCPToolConfigParams
|
|
9
|
+
from .mcp_toolset_default_config_params import MCPToolsetDefaultConfigParams
|
|
10
|
+
|
|
11
|
+
__all__ = ["MCPToolsetParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class MCPToolsetParams(TypedDict, total=False):
|
|
15
|
+
mcp_server_name: Required[str]
|
|
16
|
+
type: Required[Literal["mcp_toolset"]]
|
|
17
|
+
configs: List[MCPToolConfigParams]
|
|
18
|
+
default_config: MCPToolsetDefaultConfigParams
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TYPE_CHECKING, Literal, Optional
|
|
5
|
+
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .mcpo_auth_refresh_params import MCPOAuthRefreshParams
|
|
10
|
+
|
|
11
|
+
__all__ = ["MCPOAuthCreateParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class MCPOAuthCreateParams(TypedDict, total=False):
|
|
15
|
+
access_token: Required[str]
|
|
16
|
+
mcp_server_url: Required[str]
|
|
17
|
+
type: Required[Literal["mcp_oauth"]]
|
|
18
|
+
expires_at: Optional[datetime]
|
|
19
|
+
refresh: MCPOAuthRefreshParams
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .token_endpoint_auth_basic_param import TokenEndpointAuthBasicParam
|
|
9
|
+
from .token_endpoint_auth_none_param import TokenEndpointAuthNoneParam
|
|
10
|
+
from .token_endpoint_auth_post_param import TokenEndpointAuthPostParam
|
|
11
|
+
|
|
12
|
+
__all__ = ["MCPOAuthRefreshParams"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class MCPOAuthRefreshParams(TypedDict, total=False):
|
|
16
|
+
client_id: Required[str]
|
|
17
|
+
refresh_token: Required[str]
|
|
18
|
+
token_endpoint: Required[str]
|
|
19
|
+
token_endpoint_auth: Required[
|
|
20
|
+
Union[TokenEndpointAuthNoneParam, TokenEndpointAuthBasicParam, TokenEndpointAuthPostParam]
|
|
21
|
+
]
|
|
22
|
+
resource: Optional[str]
|
|
23
|
+
scope: Optional[str]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .mcpo_auth_refresh_response_token_endpoint_auth_union import MCPOAuthRefreshResponseTokenEndpointAuthUnion
|
|
9
|
+
|
|
10
|
+
__all__ = ["MCPOAuthRefreshResponse"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class MCPOAuthRefreshResponse(BaseModel):
|
|
14
|
+
client_id: Optional[str] = None
|
|
15
|
+
token_endpoint: Optional[str] = None
|
|
16
|
+
token_endpoint_auth: Optional[MCPOAuthRefreshResponseTokenEndpointAuthUnion] = None
|
|
17
|
+
resource: Optional[str] = None
|
|
18
|
+
scope: Optional[str] = None
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["MCPOAuthRefreshResponseTokenEndpointAuthUnion"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MCPOAuthRefreshResponseTokenEndpointAuthUnion(BaseModel):
|
|
11
|
+
type: Optional[str] = None
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .token_endpoint_auth_basic_update_param import TokenEndpointAuthBasicUpdateParam
|
|
9
|
+
from .token_endpoint_auth_post_update_param import TokenEndpointAuthPostUpdateParam
|
|
10
|
+
|
|
11
|
+
__all__ = ["MCPOAuthRefreshUpdateParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class MCPOAuthRefreshUpdateParams(TypedDict, total=False):
|
|
15
|
+
refresh_token: Optional[str]
|
|
16
|
+
scope: Optional[str]
|
|
17
|
+
token_endpoint_auth: Union[TokenEndpointAuthBasicUpdateParam, TokenEndpointAuthPostUpdateParam]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TYPE_CHECKING, Literal, Optional
|
|
5
|
+
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .mcpo_auth_refresh_update_params import MCPOAuthRefreshUpdateParams
|
|
10
|
+
|
|
11
|
+
__all__ = ["MCPOAuthUpdateParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class MCPOAuthUpdateParams(TypedDict, total=False):
|
|
15
|
+
type: Required[Literal["mcp_oauth"]]
|
|
16
|
+
access_token: Optional[str]
|
|
17
|
+
expires_at: Optional[datetime]
|
|
18
|
+
refresh: MCPOAuthRefreshUpdateParams
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import Dict, Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["Memory"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Memory(BaseModel):
|
|
12
|
+
metadata: Optional[Dict[str, str]] = None
|
|
13
|
+
id: Optional[str] = None
|
|
14
|
+
content_sha256: Optional[str] = None
|
|
15
|
+
content_size_bytes: Optional[int] = None
|
|
16
|
+
created_at: Optional[datetime] = None
|
|
17
|
+
memory_store_id: Optional[str] = None
|
|
18
|
+
memory_version_id: Optional[str] = None
|
|
19
|
+
path: Optional[str] = None
|
|
20
|
+
type: Optional[str] = None
|
|
21
|
+
updated_at: Optional[datetime] = None
|
|
22
|
+
content: Optional[str] = None
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["MemoryListItemUnion"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class MemoryListItemUnion(BaseModel):
|
|
12
|
+
id: Optional[str] = None
|
|
13
|
+
content_sha256: Optional[str] = None
|
|
14
|
+
content_size_bytes: Optional[int] = None
|
|
15
|
+
created_at: Optional[datetime] = None
|
|
16
|
+
memory_store_id: Optional[str] = None
|
|
17
|
+
memory_version_id: Optional[str] = None
|
|
18
|
+
path: Optional[str] = None
|
|
19
|
+
type: Optional[str] = None
|
|
20
|
+
updated_at: Optional[datetime] = None
|
|
21
|
+
content: Optional[str] = None
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import Dict, Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["MemoryStore"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class MemoryStore(BaseModel):
|
|
12
|
+
id: Optional[str] = None
|
|
13
|
+
created_at: Optional[datetime] = None
|
|
14
|
+
name: Optional[str] = None
|
|
15
|
+
type: Optional[str] = None
|
|
16
|
+
updated_at: Optional[datetime] = None
|
|
17
|
+
archived_at: Optional[datetime] = None
|
|
18
|
+
description: Optional[str] = None
|
|
19
|
+
metadata: Optional[Dict[str, str]] = None
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["MemoryStoreArchiveParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MemoryStoreArchiveParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Dict, List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["MemoryStoreCreateParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MemoryStoreCreateParams(TypedDict, total=False):
|
|
11
|
+
name: Required[str]
|
|
12
|
+
description: Optional[str]
|
|
13
|
+
workspace_id: Optional[str]
|
|
14
|
+
metadata: Dict[str, str]
|
|
15
|
+
betas: List[str]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["MemoryStoreDeleteParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MemoryStoreDeleteParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import List, Optional
|
|
5
|
+
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["MemoryStoreListParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class MemoryStoreListParams(TypedDict, total=False):
|
|
12
|
+
name: Optional[str]
|
|
13
|
+
created_at_gte: Optional[datetime]
|
|
14
|
+
created_at_lte: Optional[datetime]
|
|
15
|
+
include_archived: Optional[bool]
|
|
16
|
+
limit: Optional[int]
|
|
17
|
+
page: Optional[str]
|
|
18
|
+
workspace_id: Optional[str]
|
|
19
|
+
betas: List[str]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Dict, List, Literal, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["MemoryStoreMemoryCreateParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MemoryStoreMemoryCreateParams(TypedDict, total=False):
|
|
11
|
+
metadata: Dict[str, str]
|
|
12
|
+
content: Required[Optional[str]]
|
|
13
|
+
path: Required[str]
|
|
14
|
+
workspace_id: Optional[str]
|
|
15
|
+
view: Literal["basic", "full"]
|
|
16
|
+
betas: List[str]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["MemoryStoreMemoryDeleteParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MemoryStoreMemoryDeleteParams(TypedDict, total=False):
|
|
11
|
+
expected_content_sha256: Optional[str]
|
|
12
|
+
workspace_id: Optional[str]
|
|
13
|
+
betas: List[str]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Literal, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["MemoryStoreMemoryListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MemoryStoreMemoryListParams(TypedDict, total=False):
|
|
11
|
+
depth: Optional[int]
|
|
12
|
+
limit: Optional[int]
|
|
13
|
+
page: Optional[str]
|
|
14
|
+
path_prefix: Optional[str]
|
|
15
|
+
workspace_id: Optional[str]
|
|
16
|
+
view: Literal["basic", "full"]
|
|
17
|
+
betas: List[str]
|