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,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["DeletedSkill"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeletedSkill(BaseModel):
|
|
11
|
+
id: Optional[str] = None
|
|
12
|
+
type: Optional[Literal["skill_deleted"]] = None
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["DeletedSkillVersion"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeletedSkillVersion(BaseModel):
|
|
11
|
+
id: Optional[str] = None
|
|
12
|
+
type: Optional[Literal["skill_version_deleted"]] = 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 .text_block import TextBlock
|
|
9
|
+
|
|
10
|
+
__all__ = ["DeltaContent"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeltaContent(BaseModel):
|
|
14
|
+
content: Optional[TextBlock] = None
|
|
15
|
+
type: Optional[str] = None
|
|
16
|
+
index: Optional[int] = None
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TYPE_CHECKING, Dict, List, Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .agent_reference import AgentReference
|
|
10
|
+
from .budget_limit import BudgetLimit
|
|
11
|
+
from .deployment_initial_event_union import DeploymentInitialEventUnion
|
|
12
|
+
from .deployment_paused_reason_union import DeploymentPausedReasonUnion
|
|
13
|
+
from .schedule import Schedule
|
|
14
|
+
from .session_resource_config_union import SessionResourceConfigUnion
|
|
15
|
+
|
|
16
|
+
__all__ = ["Deployment"]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class Deployment(BaseModel):
|
|
20
|
+
environment_variables: Optional[str] = None
|
|
21
|
+
id: Optional[str] = None
|
|
22
|
+
agent: Optional[AgentReference] = None
|
|
23
|
+
archived_at: Optional[datetime] = None
|
|
24
|
+
created_at: Optional[datetime] = None
|
|
25
|
+
description: Optional[str] = None
|
|
26
|
+
environment_id: Optional[str] = None
|
|
27
|
+
initial_events: Optional[List[DeploymentInitialEventUnion]] = None
|
|
28
|
+
metadata: Optional[Dict[str, str]] = None
|
|
29
|
+
name: Optional[str] = None
|
|
30
|
+
paused_reason: Optional[DeploymentPausedReasonUnion] = None
|
|
31
|
+
resources: Optional[List[SessionResourceConfigUnion]] = None
|
|
32
|
+
schedule: Optional[Schedule] = None
|
|
33
|
+
status: Optional[str] = None
|
|
34
|
+
type: Optional[str] = None
|
|
35
|
+
updated_at: Optional[datetime] = None
|
|
36
|
+
vault_ids: Optional[List[str]] = None
|
|
37
|
+
budget: Optional[BudgetLimit] = 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__ = ["DeploymentArchiveParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentArchiveParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Dict, List, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .agent_params import AgentParams
|
|
9
|
+
from .budget_limit_param import BudgetLimitParam
|
|
10
|
+
from .file_resource_params import FileResourceParams
|
|
11
|
+
from .git_hub_repository_resource_params import GitHubRepositoryResourceParams
|
|
12
|
+
from .memory_store_resource_param import MemoryStoreResourceParam
|
|
13
|
+
from .schedule_params import ScheduleParams
|
|
14
|
+
from .system_message_event_params import SystemMessageEventParams
|
|
15
|
+
from .user_define_outcome_event_params import UserDefineOutcomeEventParams
|
|
16
|
+
from .user_message_event_params import UserMessageEventParams
|
|
17
|
+
|
|
18
|
+
__all__ = ["DeploymentCreateParams"]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class DeploymentCreateParams(TypedDict, total=False):
|
|
22
|
+
environment_variables: Optional[str]
|
|
23
|
+
agent: Required[Union[str, AgentParams]]
|
|
24
|
+
environment_id: Required[str]
|
|
25
|
+
initial_events: Required[
|
|
26
|
+
List[Union[UserMessageEventParams, UserDefineOutcomeEventParams, SystemMessageEventParams]]
|
|
27
|
+
]
|
|
28
|
+
name: Required[str]
|
|
29
|
+
description: Optional[str]
|
|
30
|
+
workspace_id: Optional[str]
|
|
31
|
+
budget: BudgetLimitParam
|
|
32
|
+
metadata: Dict[str, str]
|
|
33
|
+
resources: List[Union[GitHubRepositoryResourceParams, FileResourceParams, MemoryStoreResourceParam]]
|
|
34
|
+
schedule: ScheduleParams
|
|
35
|
+
vault_ids: List[str]
|
|
36
|
+
betas: List[str]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, List, Optional, Union
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .deployment_user_define_outcome_event_rubric_union import DeploymentUserDefineOutcomeEventRubricUnion
|
|
9
|
+
from .deployment_user_message_event_content_union import DeploymentUserMessageEventContentUnion
|
|
10
|
+
from .system_content_block import SystemContentBlock
|
|
11
|
+
|
|
12
|
+
__all__ = ["DeploymentInitialEventUnion"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class DeploymentInitialEventUnion(BaseModel):
|
|
16
|
+
content: Optional[Union[List[DeploymentUserMessageEventContentUnion], List[SystemContentBlock]]] = None
|
|
17
|
+
type: Optional[str] = None
|
|
18
|
+
description: Optional[str] = None
|
|
19
|
+
rubric: Optional[DeploymentUserDefineOutcomeEventRubricUnion] = None
|
|
20
|
+
max_iterations: Optional[int] = None
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import List, Literal, Optional
|
|
5
|
+
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["DeploymentListParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class DeploymentListParams(TypedDict, total=False):
|
|
12
|
+
before_id: Optional[str]
|
|
13
|
+
after_id: Optional[str]
|
|
14
|
+
agent_id: Optional[str]
|
|
15
|
+
created_at_gte: Optional[datetime]
|
|
16
|
+
created_at_lte: Optional[datetime]
|
|
17
|
+
include_archived: Optional[bool]
|
|
18
|
+
limit: Optional[int]
|
|
19
|
+
page: Optional[str]
|
|
20
|
+
workspace_id: Optional[str]
|
|
21
|
+
status: Literal["active", "paused"]
|
|
22
|
+
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__ = ["DeploymentPauseParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentPauseParams(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 TYPE_CHECKING, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .deployment_paused_reason_error_union import DeploymentPausedReasonErrorUnion
|
|
9
|
+
|
|
10
|
+
__all__ = ["DeploymentPausedReasonUnion"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeploymentPausedReasonUnion(BaseModel):
|
|
14
|
+
type: Optional[str] = None
|
|
15
|
+
error: Optional[DeploymentPausedReasonErrorUnion] = 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__ = ["DeploymentRetrieveParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentRetrieveParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TYPE_CHECKING, Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .agent_reference import AgentReference
|
|
10
|
+
from .deployment_run_error_union import DeploymentRunErrorUnion
|
|
11
|
+
from .trigger_context_union import TriggerContextUnion
|
|
12
|
+
|
|
13
|
+
__all__ = ["DeploymentRun"]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class DeploymentRun(BaseModel):
|
|
17
|
+
id: Optional[str] = None
|
|
18
|
+
agent: Optional[AgentReference] = None
|
|
19
|
+
created_at: Optional[datetime] = None
|
|
20
|
+
deployment_id: Optional[str] = None
|
|
21
|
+
error: Optional[DeploymentRunErrorUnion] = None
|
|
22
|
+
session_id: Optional[str] = None
|
|
23
|
+
trigger_context: Optional[TriggerContextUnion] = None
|
|
24
|
+
type: Optional[str] = None
|
|
@@ -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__ = ["DeploymentRunErrorUnion"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentRunErrorUnion(BaseModel):
|
|
11
|
+
message: Optional[str] = None
|
|
12
|
+
type: Optional[str] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import List, Literal, Optional
|
|
5
|
+
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["DeploymentRunListParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class DeploymentRunListParams(TypedDict, total=False):
|
|
12
|
+
before_id: Optional[str]
|
|
13
|
+
after_id: Optional[str]
|
|
14
|
+
created_at_gt: Optional[datetime]
|
|
15
|
+
created_at_gte: Optional[datetime]
|
|
16
|
+
created_at_lt: Optional[datetime]
|
|
17
|
+
created_at_lte: Optional[datetime]
|
|
18
|
+
deployment_id: Optional[str]
|
|
19
|
+
has_error: Optional[bool]
|
|
20
|
+
limit: Optional[int]
|
|
21
|
+
page: Optional[str]
|
|
22
|
+
workspace_id: Optional[str]
|
|
23
|
+
trigger_type: Literal["schedule", "manual"]
|
|
24
|
+
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__ = ["DeploymentRunParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentRunParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
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__ = ["DeploymentRunRetrieveParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentRunRetrieveParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
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__ = ["DeploymentUnpauseParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentUnpauseParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .agent_params import AgentParams
|
|
9
|
+
from .budget_limit_param import BudgetLimitParam
|
|
10
|
+
from .file_resource_params import FileResourceParams
|
|
11
|
+
from .git_hub_repository_resource_params import GitHubRepositoryResourceParams
|
|
12
|
+
from .memory_store_resource_param import MemoryStoreResourceParam
|
|
13
|
+
from .schedule_params import ScheduleParams
|
|
14
|
+
from .system_message_event_params import SystemMessageEventParams
|
|
15
|
+
from .user_define_outcome_event_params import UserDefineOutcomeEventParams
|
|
16
|
+
from .user_message_event_params import UserMessageEventParams
|
|
17
|
+
|
|
18
|
+
__all__ = ["DeploymentUpdateParams"]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class DeploymentUpdateParams(TypedDict, total=False):
|
|
22
|
+
environment_variables: Optional[str]
|
|
23
|
+
description: Optional[str]
|
|
24
|
+
environment_id: Optional[str]
|
|
25
|
+
name: Optional[str]
|
|
26
|
+
workspace_id: Optional[str]
|
|
27
|
+
metadata: Dict[str, Any]
|
|
28
|
+
resources: List[Union[GitHubRepositoryResourceParams, FileResourceParams, MemoryStoreResourceParam]]
|
|
29
|
+
vault_ids: List[str]
|
|
30
|
+
agent: Union[str, AgentParams]
|
|
31
|
+
budget: BudgetLimitParam
|
|
32
|
+
initial_events: List[Union[UserMessageEventParams, UserDefineOutcomeEventParams, SystemMessageEventParams]]
|
|
33
|
+
schedule: ScheduleParams
|
|
34
|
+
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__ = ["DeploymentUserDefineOutcomeEventRubricUnion"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentUserDefineOutcomeEventRubricUnion(BaseModel):
|
|
11
|
+
file_id: Optional[str] = None
|
|
12
|
+
type: Optional[str] = None
|
|
13
|
+
content: Optional[str] = None
|
|
@@ -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 .deployment_user_message_event_content_union_source import DeploymentUserMessageEventContentUnionSource
|
|
9
|
+
|
|
10
|
+
__all__ = ["DeploymentUserMessageEventContentUnion"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeploymentUserMessageEventContentUnion(BaseModel):
|
|
14
|
+
text: Optional[str] = None
|
|
15
|
+
type: Optional[str] = None
|
|
16
|
+
source: Optional[DeploymentUserMessageEventContentUnionSource] = None
|
|
17
|
+
context: Optional[str] = None
|
|
18
|
+
title: Optional[str] = None
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["DeploymentUserMessageEventContentUnionSource"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeploymentUserMessageEventContentUnionSource(BaseModel):
|
|
11
|
+
data: Optional[str] = None
|
|
12
|
+
media_type: Optional[str] = None
|
|
13
|
+
type: Optional[str] = None
|
|
14
|
+
url: Optional[str] = None
|
|
15
|
+
file_id: Optional[str] = None
|
|
@@ -0,0 +1,22 @@
|
|
|
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 .base64_document_source_param import Base64DocumentSourceParam
|
|
9
|
+
from .file_document_source_param import FileDocumentSourceParam
|
|
10
|
+
from .plain_text_document_source_param import PlainTextDocumentSourceParam
|
|
11
|
+
from .url_document_source_param import URLDocumentSourceParam
|
|
12
|
+
|
|
13
|
+
__all__ = ["DocumentBlockParam"]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class DocumentBlockParam(TypedDict, total=False):
|
|
17
|
+
source: Required[
|
|
18
|
+
Union[Base64DocumentSourceParam, PlainTextDocumentSourceParam, URLDocumentSourceParam, FileDocumentSourceParam]
|
|
19
|
+
]
|
|
20
|
+
type: Required[Literal["document"]]
|
|
21
|
+
context: Optional[str]
|
|
22
|
+
title: Optional[str]
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TYPE_CHECKING, List, Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .dream_error import DreamError
|
|
10
|
+
from .dream_input_union import DreamInputUnion
|
|
11
|
+
from .dream_model_config import DreamModelConfig
|
|
12
|
+
from .dream_output import DreamOutput
|
|
13
|
+
from .dream_usage import DreamUsage
|
|
14
|
+
from .output_behavior_union import OutputBehaviorUnion
|
|
15
|
+
|
|
16
|
+
__all__ = ["Dream"]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class Dream(BaseModel):
|
|
20
|
+
id: Optional[str] = None
|
|
21
|
+
archived_at: Optional[datetime] = None
|
|
22
|
+
created_at: Optional[datetime] = None
|
|
23
|
+
ended_at: Optional[datetime] = None
|
|
24
|
+
error: Optional[DreamError] = None
|
|
25
|
+
inputs: Optional[List[DreamInputUnion]] = None
|
|
26
|
+
instructions: Optional[str] = None
|
|
27
|
+
model: Optional[DreamModelConfig] = None
|
|
28
|
+
output_behavior: Optional[OutputBehaviorUnion] = None
|
|
29
|
+
outputs: Optional[List[DreamOutput]] = None
|
|
30
|
+
session_id: Optional[str] = None
|
|
31
|
+
status: Optional[str] = None
|
|
32
|
+
type: Optional[str] = None
|
|
33
|
+
usage: Optional[DreamUsage] = 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__ = ["DreamArchiveParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DreamArchiveParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
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__ = ["DreamCancelParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DreamCancelParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, List, Optional, Union
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .dream_memory_store_input_param import DreamMemoryStoreInputParam
|
|
9
|
+
from .dream_model_config_param import DreamModelConfigParam
|
|
10
|
+
from .dream_sessions_input_param import DreamSessionsInputParam
|
|
11
|
+
from .output_behavior_create_new_param import OutputBehaviorCreateNewParam
|
|
12
|
+
from .output_behavior_update_existing_param import OutputBehaviorUpdateExistingParam
|
|
13
|
+
|
|
14
|
+
__all__ = ["DreamCreateParams"]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class DreamCreateParams(TypedDict, total=False):
|
|
18
|
+
inputs: Required[List[Union[DreamMemoryStoreInputParam, DreamSessionsInputParam]]]
|
|
19
|
+
model: Required[Union[str, DreamModelConfigParam]]
|
|
20
|
+
instructions: Optional[str]
|
|
21
|
+
workspace_id: Optional[str]
|
|
22
|
+
output_behavior: Union[OutputBehaviorCreateNewParam, OutputBehaviorUpdateExistingParam]
|
|
23
|
+
betas: List[str]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["DreamInputUnion"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DreamInputUnion(BaseModel):
|
|
11
|
+
memory_store_id: Optional[str] = None
|
|
12
|
+
type: Optional[str] = None
|
|
13
|
+
session_ids: Optional[List[str]] = None
|