runtype 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/generated/lib/runtype/agent_aliases/client.rb +320 -0
- data/generated/lib/runtype/agent_aliases/types/delete_v1agents_id_aliases_alias_request.rb +17 -0
- data/generated/lib/runtype/agent_aliases/types/delete_v1agents_id_aliases_alias_response.rb +17 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_alias_request.rb +15 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_alias_response.rb +29 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_request.rb +17 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_response.rb +13 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_response_data_item.rb +29 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_deployments_request.rb +17 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_deployments_response.rb +13 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_deployments_response_data_item.rb +29 -0
- data/generated/lib/runtype/agent_aliases/types/post_v1agents_id_aliases_alias_rollback_request.rb +21 -0
- data/generated/lib/runtype/agent_aliases/types/post_v1agents_id_aliases_alias_rollback_response.rb +21 -0
- data/generated/lib/runtype/agent_aliases/types/put_v1agents_id_aliases_alias_request.rb +21 -0
- data/generated/lib/runtype/agent_aliases/types/put_v1agents_id_aliases_alias_response.rb +21 -0
- data/generated/lib/runtype/agents/client.rb +14 -2
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response.rb +6 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response_agent_target_resolution.rb +15 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response_agent_version.rb +17 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_response_data_item.rb +6 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_response_data_item_agent_target_resolution.rb +15 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_response_data_item_agent_version.rb +17 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_response.rb +2 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_response_sandbox_capability_issues_item.rb +19 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_response_sandbox_capability_issues_item_code.rb +13 -0
- data/generated/lib/runtype/agents/types/get_v1agents_request.rb +2 -0
- data/generated/lib/runtype/agents/types/get_v1agents_request_managed_in_code.rb +14 -0
- data/generated/lib/runtype/agents/types/get_v1agents_response_data_item.rb +4 -0
- data/generated/lib/runtype/agents/types/get_v1agents_response_data_item_sandbox_capability_issues_item.rb +19 -0
- data/generated/lib/runtype/agents/types/get_v1agents_response_data_item_sandbox_capability_issues_item_code.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request.rb +4 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management_compaction.rb +23 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management_compaction_strategy.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management_tool_results.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management_tool_results_prune_mode.rb +14 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice.rb +8 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management_compaction.rb +23 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management_compaction_strategy.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management_tool_results.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management_tool_results_prune_mode.rb +14 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice.rb +8 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_response.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_response_sandbox_capability_issues_item.rb +19 -0
- data/generated/lib/runtype/agents/types/post_v1agents_response_sandbox_capability_issues_item_code.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config.rb +2 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management_compaction.rb +23 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management_compaction_strategy.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management_tool_results.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management_tool_results_prune_mode.rb +14 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice.rb +8 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_response.rb +2 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_response_sandbox_capability_issues_item.rb +19 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_response_sandbox_capability_issues_item_code.rb +13 -0
- data/generated/lib/runtype/analytics/types/get_v1analytics_record_results_response_data_data_results_item.rb +4 -0
- data/generated/lib/runtype/client.rb +5 -0
- data/generated/lib/runtype/dispatch/client.rb +11 -4
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent.rb +6 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_durability.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_durability_forced.rb +14 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice.rb +8 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent.rb +6 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_durability.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_durability_forced.rb +14 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice.rb +8 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/evals/types/get_v1eval_id_results_response.rb +2 -0
- data/generated/lib/runtype/evals/types/get_v1eval_id_results_response_case_errors_item.rb +15 -0
- data/generated/lib/runtype/executions/client.rb +53 -0
- data/generated/lib/runtype/executions/types/get_v1executions_execution_id_events_request.rb +15 -0
- data/generated/lib/runtype/executions/types/get_v1executions_execution_id_status_response.rb +6 -0
- data/generated/lib/runtype/executions/types/get_v1executions_execution_id_status_response_agent_target_resolution.rb +15 -0
- data/generated/lib/runtype/executions/types/get_v1executions_execution_id_status_response_agent_version.rb +16 -0
- data/generated/lib/runtype/flows/client.rb +2 -1
- data/generated/lib/runtype/flows/types/post_v1flows_ensure_request.rb +2 -0
- data/generated/lib/runtype/records/types/get_v1records_id_results_response_data_item.rb +4 -0
- data/generated/lib/runtype/tools/client.rb +11 -11
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request.rb +29 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_language.rb +15 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_retention.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_sleep_policy.rb +17 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_sleep_policy_idle.rb +11 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_sleep_policy_idle_after.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_sleep_policy_never.rb +9 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response.rb +2 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy.rb +23 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_metering.rb +14 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_origin.rb +14 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_retention.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_sleep_policy.rb +17 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_sleep_policy_idle.rb +11 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_sleep_policy_idle_after.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_sleep_policy_never.rb +9 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request.rb +35 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_language.rb +15 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_retention.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy.rb +17 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy_idle.rb +11 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy_idle_after.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy_never.rb +9 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response.rb +2 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy.rb +23 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_metering.rb +14 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_origin.rb +14 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_retention.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_sleep_policy.rb +17 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_sleep_policy_idle.rb +11 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_sleep_policy_idle_after.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_sleep_policy_never.rb +9 -0
- data/generated/lib/runtype/types/agent_ensure_bad_request.rb +11 -0
- data/generated/lib/runtype/types/agent_ensure_bad_request_code.rb +11 -0
- data/generated/lib/runtype/types/agent_ensure_deploy_target.rb +15 -0
- data/generated/lib/runtype/types/agent_ensure_deployment.rb +20 -0
- data/generated/lib/runtype/types/agent_ensure_response_changed_keys.rb +2 -0
- data/generated/lib/runtype/types/agent_ensure_response_changed_keys_deployment.rb +20 -0
- data/generated/lib/runtype/types/agent_ensure_response_version_id.rb +4 -0
- data/generated/lib/runtype/types/agent_ensure_server_error.rb +13 -0
- data/generated/lib/runtype/types/agent_ensure_server_error_code.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config.rb +2 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management_compaction.rb +21 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management_compaction_strategy.rb +13 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management_tool_results.rb +13 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management_tool_results_prune_mode.rb +12 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice.rb +8 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_endpointing.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_endpointing_strategy.rb +14 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech.rb +13 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech_mode.rb +13 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech_synthesizer.rb +15 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech_synthesizer_settings.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech_transcriber.rb +11 -0
- data/generated/lib/runtype/types/dispatch_continuation_json_response.rb +2 -0
- data/generated/lib/runtype/types/dispatch_detached_tool_output_json_response.rb +13 -0
- data/generated/lib/runtype/types/dispatch_detached_tool_output_json_response_pause_kind.rb +12 -0
- data/generated/lib/runtype/types/dispatch_detached_tool_output_json_response_status.rb +11 -0
- data/generated/lib/runtype/types/dispatch_resume_json_response.rb +13 -0
- data/generated/lib/runtype/types/ensure_version_metadata.rb +13 -0
- data/generated/lib/runtype/types/eval_run_scores_response_cases_item.rb +2 -0
- data/generated/lib/runtype/types/execution_stream_event.rb +2 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice.rb +29 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_kind.rb +11 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_outcome.rb +14 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_phase.rb +12 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_reason.rb +15 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_strategy.rb +12 -0
- data/generated/lib/runtype/types/not_found_error_body_code.rb +11 -0
- data/generated/lib/runtype/types/precondition_failed_error_body.rb +17 -0
- data/generated/lib/runtype/types/precondition_failed_error_body_code.rb +11 -0
- data/generated/lib/runtype/types/run_eval_response_cases_item.rb +2 -0
- data/generated/lib/runtype.rb +154 -5
- data/lib/runtype/agent_definition.rb +1 -1
- data/lib/runtype/client.rb +22 -2
- data/lib/runtype/detached_follow.rb +136 -0
- data/lib/runtype/local_tool_runner.rb +117 -16
- data/lib/runtype/sdk_version.rb +1 -1
- data/lib/runtype.rb +1 -0
- metadata +151 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicyMetering
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ACTIVE = "active"
|
|
10
|
+
LEGACY_UNTRACKED = "legacy-untracked"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicyOrigin
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
EXPLICIT = "explicit"
|
|
10
|
+
LEGACY_DEFAULT = "legacy-default"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicyRetention
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
TEN_M = "10m"
|
|
10
|
+
ONE_H = "1h"
|
|
11
|
+
TWENTY_FOUR_H = "24h"
|
|
12
|
+
UNLIMITED = "unlimited"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicySleepPolicy < Internal::Types::Model
|
|
7
|
+
extend Runtype::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
discriminant :mode
|
|
10
|
+
|
|
11
|
+
member -> { Runtype::Tools::Types::PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicySleepPolicyNever }, key: "NEVER"
|
|
12
|
+
|
|
13
|
+
member -> { Runtype::Tools::Types::PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicySleepPolicyIdle }, key: "IDLE"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicySleepPolicyIdle < Internal::Types::Model
|
|
7
|
+
field :after, -> { Runtype::Tools::Types::PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicySleepPolicyIdleAfter }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxCfSandboxDeployResponseEffectivePolicySleepPolicyIdleAfter
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FIVE_M = "5m"
|
|
10
|
+
FIFTEEN_M = "15m"
|
|
11
|
+
THIRTY_M = "30m"
|
|
12
|
+
ONE_H = "1h"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1ToolsSandboxDeployRequest < Internal::Types::Model
|
|
7
|
+
field :auto_delete_interval, -> { Integer }, optional: true, nullable: false, api_name: "autoDeleteInterval"
|
|
8
|
+
|
|
9
|
+
field :auto_stop_interval, -> { Integer }, optional: true, nullable: false, api_name: "autoStopInterval"
|
|
10
|
+
|
|
11
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :files, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :labels, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :language, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployRequestLanguage }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :managed, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :package_json, -> { String }, optional: true, nullable: false, api_name: "packageJson"
|
|
22
|
+
|
|
23
|
+
field :port, -> { Integer }, optional: true, nullable: false
|
|
24
|
+
|
|
25
|
+
field :retention, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployRequestRetention }, optional: true, nullable: false
|
|
26
|
+
|
|
27
|
+
field :sandbox_id, -> { String }, optional: true, nullable: false, api_name: "sandboxId"
|
|
28
|
+
|
|
29
|
+
field :sleep_policy, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployRequestSleepPolicy }, optional: true, nullable: false, api_name: "sleepPolicy"
|
|
30
|
+
|
|
31
|
+
field :start_command, -> { String }, optional: true, nullable: false, api_name: "startCommand"
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxDeployRequestLanguage
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
JAVASCRIPT = "javascript"
|
|
10
|
+
TYPESCRIPT = "typescript"
|
|
11
|
+
PYTHON = "python"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxDeployRequestRetention
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
TEN_M = "10m"
|
|
10
|
+
ONE_H = "1h"
|
|
11
|
+
TWENTY_FOUR_H = "24h"
|
|
12
|
+
UNLIMITED = "unlimited"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1ToolsSandboxDeployRequestSleepPolicy < Internal::Types::Model
|
|
7
|
+
extend Runtype::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
discriminant :mode
|
|
10
|
+
|
|
11
|
+
member -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployRequestSleepPolicyNever }, key: "NEVER"
|
|
12
|
+
|
|
13
|
+
member -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployRequestSleepPolicyIdle }, key: "IDLE"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy_idle.rb
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1ToolsSandboxDeployRequestSleepPolicyIdle < Internal::Types::Model
|
|
7
|
+
field :after, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployRequestSleepPolicyIdleAfter }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxDeployRequestSleepPolicyIdleAfter
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FIVE_M = "5m"
|
|
10
|
+
FIFTEEN_M = "15m"
|
|
11
|
+
THIRTY_M = "30m"
|
|
12
|
+
ONE_H = "1h"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -4,6 +4,8 @@ module Runtype
|
|
|
4
4
|
module Tools
|
|
5
5
|
module Types
|
|
6
6
|
class PostV1ToolsSandboxDeployResponse < Internal::Types::Model
|
|
7
|
+
field :effective_policy, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployResponseEffectivePolicy }, optional: true, nullable: false, api_name: "effectivePolicy"
|
|
8
|
+
|
|
7
9
|
field :error, -> { String }, optional: true, nullable: false
|
|
8
10
|
|
|
9
11
|
field :output, -> { String }, optional: true, nullable: false
|
data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy.rb
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1ToolsSandboxDeployResponseEffectivePolicy < Internal::Types::Model
|
|
7
|
+
field :auto_delete_interval, -> { Integer }, optional: true, nullable: false, api_name: "autoDeleteInterval"
|
|
8
|
+
|
|
9
|
+
field :auto_stop_interval, -> { Integer }, optional: true, nullable: false, api_name: "autoStopInterval"
|
|
10
|
+
|
|
11
|
+
field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt"
|
|
12
|
+
|
|
13
|
+
field :metering, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployResponseEffectivePolicyMetering }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :origin, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployResponseEffectivePolicyOrigin }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :retention, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployResponseEffectivePolicyRetention }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :sleep_policy, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployResponseEffectivePolicySleepPolicy }, optional: true, nullable: false, api_name: "sleepPolicy"
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxDeployResponseEffectivePolicyMetering
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ACTIVE = "active"
|
|
10
|
+
LEGACY_UNTRACKED = "legacy-untracked"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxDeployResponseEffectivePolicyOrigin
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
EXPLICIT = "explicit"
|
|
10
|
+
LEGACY_DEFAULT = "legacy-default"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxDeployResponseEffectivePolicyRetention
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
TEN_M = "10m"
|
|
10
|
+
ONE_H = "1h"
|
|
11
|
+
TWENTY_FOUR_H = "24h"
|
|
12
|
+
UNLIMITED = "unlimited"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1ToolsSandboxDeployResponseEffectivePolicySleepPolicy < Internal::Types::Model
|
|
7
|
+
extend Runtype::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
discriminant :mode
|
|
10
|
+
|
|
11
|
+
member -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployResponseEffectivePolicySleepPolicyNever }, key: "NEVER"
|
|
12
|
+
|
|
13
|
+
member -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployResponseEffectivePolicySleepPolicyIdle }, key: "IDLE"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1ToolsSandboxDeployResponseEffectivePolicySleepPolicyIdle < Internal::Types::Model
|
|
7
|
+
field :after, -> { Runtype::Tools::Types::PostV1ToolsSandboxDeployResponseEffectivePolicySleepPolicyIdleAfter }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Tools
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1ToolsSandboxDeployResponseEffectivePolicySleepPolicyIdleAfter
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FIVE_M = "5m"
|
|
10
|
+
FIFTEEN_M = "15m"
|
|
11
|
+
THIRTY_M = "30m"
|
|
12
|
+
ONE_H = "1h"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
class AgentEnsureBadRequest < Internal::Types::Model
|
|
6
|
+
field :code, -> { Runtype::Types::AgentEnsureBadRequestCode }, optional: true, nullable: false
|
|
7
|
+
|
|
8
|
+
field :error, -> { String }, optional: false, nullable: false
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
# Atomically save this definition and activate it at a release alias. Use { alias: "live" } to deploy to production,
|
|
6
|
+
# or any name matching ^[a-z0-9][a-z0-9-]{0,62}$ for a preview pointer. A non-live alias appends a candidate version
|
|
7
|
+
# and moves that one pointer: it never writes the agent row, its config hash, its capabilities, its draft pointer or
|
|
8
|
+
# its live pointer, so onConflict and expectedRemoteHash describe writes it never performs and are rejected with a
|
|
9
|
+
# 400 alongside it. A release alias is organization-owned, so a non-live deploy on a personal-scope agent is a 400
|
|
10
|
+
# with code alias_requires_organization. Mutually exclusive with release.
|
|
11
|
+
class AgentEnsureDeployTarget < Internal::Types::Model
|
|
12
|
+
field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
# Present when the converge carried release or deploy and the activation was applied.
|
|
6
|
+
class AgentEnsureDeployment < Internal::Types::Model
|
|
7
|
+
field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
|
|
8
|
+
|
|
9
|
+
field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :receipt_id, -> { String }, optional: true, nullable: false, api_name: "receiptId"
|
|
12
|
+
|
|
13
|
+
field :revision, -> { Integer }, optional: false, nullable: true
|
|
14
|
+
|
|
15
|
+
field :version_id, -> { String }, optional: false, nullable: true, api_name: "versionId"
|
|
16
|
+
|
|
17
|
+
field :version_number, -> { Integer }, optional: false, nullable: true, api_name: "versionNumber"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -11,6 +11,8 @@ module Runtype
|
|
|
11
11
|
|
|
12
12
|
field :content_hash, -> { String }, optional: false, nullable: false, api_name: "contentHash"
|
|
13
13
|
|
|
14
|
+
field :deployment, -> { Runtype::Types::AgentEnsureResponseChangedKeysDeployment }, optional: true, nullable: false
|
|
15
|
+
|
|
14
16
|
field :remote_hash, -> { String }, optional: true, nullable: false, api_name: "remoteHash"
|
|
15
17
|
|
|
16
18
|
field :result, -> { Runtype::Types::AgentEnsureResponseChangedKeysResult }, optional: false, nullable: false
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
# Present when the dry run carried release or deploy: the pointer it would aim, and whether it would move.
|
|
6
|
+
class AgentEnsureResponseChangedKeysDeployment < Internal::Types::Model
|
|
7
|
+
field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
|
|
8
|
+
|
|
9
|
+
field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :receipt_id, -> { String }, optional: true, nullable: false, api_name: "receiptId"
|
|
12
|
+
|
|
13
|
+
field :revision, -> { Integer }, optional: false, nullable: true
|
|
14
|
+
|
|
15
|
+
field :version_id, -> { String }, optional: false, nullable: true, api_name: "versionId"
|
|
16
|
+
|
|
17
|
+
field :version_number, -> { Integer }, optional: false, nullable: true, api_name: "versionNumber"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -7,6 +7,10 @@ module Runtype
|
|
|
7
7
|
|
|
8
8
|
field :content_hash, -> { String }, optional: false, nullable: false, api_name: "contentHash"
|
|
9
9
|
|
|
10
|
+
field :deployment, -> { Runtype::Types::AgentEnsureDeployment }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :remote_hash, -> { String }, optional: true, nullable: false, api_name: "remoteHash"
|
|
13
|
+
|
|
10
14
|
field :result, -> { Runtype::Types::AgentEnsureResponseVersionIDResult }, optional: false, nullable: false
|
|
11
15
|
|
|
12
16
|
field :version_id, -> { String }, optional: false, nullable: true, api_name: "versionId"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
class AgentEnsureServerError < Internal::Types::Model
|
|
6
|
+
field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias"
|
|
7
|
+
|
|
8
|
+
field :code, -> { Runtype::Types::AgentEnsureServerErrorCode }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :error, -> { String }, optional: false, nullable: false
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -7,6 +7,8 @@ module Runtype
|
|
|
7
7
|
|
|
8
8
|
field :artifacts, -> { Runtype::Types::AgentPullResponseDefinitionConfigArtifacts }, optional: true, nullable: false
|
|
9
9
|
|
|
10
|
+
field :context_management, -> { Runtype::Types::AgentPullResponseDefinitionConfigContextManagement }, optional: true, nullable: false, api_name: "contextManagement"
|
|
11
|
+
|
|
10
12
|
field :durability, -> { Runtype::Types::AgentPullResponseDefinitionConfigDurability }, optional: true, nullable: false
|
|
11
13
|
|
|
12
14
|
field :error_handling, -> { Runtype::Types::AgentPullResponseDefinitionConfigErrorHandling }, optional: true, nullable: false, api_name: "errorHandling"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
class AgentPullResponseDefinitionConfigContextManagement < Internal::Types::Model
|
|
6
|
+
field :compaction, -> { Runtype::Types::AgentPullResponseDefinitionConfigContextManagementCompaction }, optional: true, nullable: false
|
|
7
|
+
|
|
8
|
+
field :tool_results, -> { Runtype::Types::AgentPullResponseDefinitionConfigContextManagementToolResults }, optional: true, nullable: false, api_name: "toolResults"
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
class AgentPullResponseDefinitionConfigContextManagementCompaction < Internal::Types::Model
|
|
6
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
7
|
+
|
|
8
|
+
field :instructions, -> { String }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :model, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :retain_recent_tokens, -> { Integer }, optional: true, nullable: false, api_name: "retainRecentTokens"
|
|
13
|
+
|
|
14
|
+
field :strategy, -> { Runtype::Types::AgentPullResponseDefinitionConfigContextManagementCompactionStrategy }, optional: true, nullable: false
|
|
15
|
+
|
|
16
|
+
field :threshold_ratio, -> { Integer }, optional: true, nullable: false, api_name: "thresholdRatio"
|
|
17
|
+
|
|
18
|
+
field :threshold_tokens, -> { Integer }, optional: true, nullable: false, api_name: "thresholdTokens"
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
module AgentPullResponseDefinitionConfigContextManagementCompactionStrategy
|
|
6
|
+
extend Runtype::Internal::Types::Enum
|
|
7
|
+
|
|
8
|
+
AUTO = "auto"
|
|
9
|
+
PROVIDER_NATIVE = "provider_native"
|
|
10
|
+
SUMMARY = "summary"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
class AgentPullResponseDefinitionConfigContextManagementToolResults < Internal::Types::Model
|
|
6
|
+
field :inline_threshold_chars, -> { Integer }, optional: true, nullable: false, api_name: "inlineThresholdChars"
|
|
7
|
+
|
|
8
|
+
field :prune_hot_window_tokens, -> { Integer }, optional: true, nullable: false, api_name: "pruneHotWindowTokens"
|
|
9
|
+
|
|
10
|
+
field :prune_mode, -> { Runtype::Types::AgentPullResponseDefinitionConfigContextManagementToolResultsPruneMode }, optional: true, nullable: false, api_name: "pruneMode"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -7,9 +7,17 @@ module Runtype
|
|
|
7
7
|
|
|
8
8
|
field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
9
9
|
|
|
10
|
+
field :endpointing, -> { Runtype::Types::AgentPullResponseDefinitionConfigVoiceEndpointing }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :greeting, -> { String }, optional: true, nullable: false
|
|
13
|
+
|
|
10
14
|
field :interruption_mode, -> { Runtype::Types::AgentPullResponseDefinitionConfigVoiceInterruptionMode }, optional: true, nullable: false, api_name: "interruptionMode"
|
|
11
15
|
|
|
16
|
+
field :language, -> { String }, optional: true, nullable: false
|
|
17
|
+
|
|
12
18
|
field :provider, -> { String }, optional: true, nullable: false
|
|
19
|
+
|
|
20
|
+
field :speech, -> { Runtype::Types::AgentPullResponseDefinitionConfigVoiceSpeech }, optional: true, nullable: false
|
|
13
21
|
end
|
|
14
22
|
end
|
|
15
23
|
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
class AgentPullResponseDefinitionConfigVoiceEndpointing < Internal::Types::Model
|
|
6
|
+
field :silence_ms, -> { Integer }, optional: true, nullable: false, api_name: "silenceMs"
|
|
7
|
+
|
|
8
|
+
field :strategy, -> { Runtype::Types::AgentPullResponseDefinitionConfigVoiceEndpointingStrategy }, optional: false, nullable: false
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_endpointing_strategy.rb
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Types
|
|
5
|
+
module AgentPullResponseDefinitionConfigVoiceEndpointingStrategy
|
|
6
|
+
extend Runtype::Internal::Types::Enum
|
|
7
|
+
|
|
8
|
+
PROVIDER_VAD = "provider_vad"
|
|
9
|
+
SERVER_VAD = "server_vad"
|
|
10
|
+
CLIENT_COMMIT = "client_commit"
|
|
11
|
+
MANUAL = "manual"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|