runtype 0.2.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +169 -1
  3. data/README.md +188 -23
  4. data/generated/lib/runtype/agent_aliases/client.rb +202 -1
  5. data/generated/lib/runtype/agent_aliases/types/delete_v1agents_id_aliases_alias_bindings_request.rb +17 -0
  6. data/generated/lib/runtype/agent_aliases/types/delete_v1agents_id_aliases_alias_bindings_response.rb +19 -0
  7. data/generated/lib/runtype/agent_aliases/types/get_v1agent_aliases_request.rb +13 -0
  8. data/generated/lib/runtype/agent_aliases/types/get_v1agent_aliases_response.rb +11 -0
  9. data/generated/lib/runtype/agent_aliases/types/get_v1agent_aliases_response_data_item.rb +25 -0
  10. data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_alias_bindings_request.rb +13 -0
  11. data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_alias_bindings_response.rb +19 -0
  12. data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_alias_response.rb +2 -0
  13. data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_response_data_item.rb +2 -0
  14. data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_deployments_response_data_item.rb +2 -0
  15. data/generated/lib/runtype/agent_aliases/types/post_v1agents_id_aliases_alias_rollback_response.rb +6 -0
  16. data/generated/lib/runtype/agent_aliases/types/put_v1agents_id_aliases_alias_bindings_request.rb +21 -0
  17. data/generated/lib/runtype/agent_aliases/types/put_v1agents_id_aliases_alias_bindings_response.rb +19 -0
  18. data/generated/lib/runtype/agent_aliases/types/put_v1agents_id_aliases_alias_request.rb +2 -0
  19. data/generated/lib/runtype/agent_aliases/types/put_v1agents_id_aliases_alias_response.rb +6 -0
  20. data/generated/lib/runtype/agent_versions/client.rb +13 -1
  21. data/generated/lib/runtype/agent_versions/types/post_v1agent_versions_agent_id_publish_request.rb +6 -0
  22. data/generated/lib/runtype/agent_versions/types/post_v1agent_versions_agent_id_publish_request_deployment.rb +11 -0
  23. data/generated/lib/runtype/agent_versions/types/post_v1agent_versions_agent_id_publish_request_deployment_action.rb +14 -0
  24. data/generated/lib/runtype/agent_versions/types/post_v1agent_versions_agent_id_publish_response.rb +1 -1
  25. data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_memory.rb +2 -0
  26. data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_memory_pointer_scope.rb +15 -0
  27. data/generated/lib/runtype/agents/types/post_v1agents_id_execute_request_x_runtype_concurrency.rb +1 -0
  28. data/generated/lib/runtype/agents/types/post_v1agents_request_config_memory.rb +2 -0
  29. data/generated/lib/runtype/agents/types/post_v1agents_request_config_memory_pointer_scope.rb +15 -0
  30. data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_memory.rb +2 -0
  31. data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_memory_pointer_scope.rb +15 -0
  32. data/generated/lib/runtype/batch/types/get_v1batch_batch_id_records_record_id_steps_response_data_item_execution_engine.rb +1 -0
  33. data/generated/lib/runtype/client.rb +5 -5
  34. data/generated/lib/runtype/client_runtime/client.rb +118 -1
  35. data/generated/lib/runtype/client_runtime/types/get_v1client_conversations_conversation_id_executions_execution_id_deliveries_delivery_id_request.rb +21 -0
  36. data/generated/lib/runtype/client_runtime/types/post_v1client_chat_request_submit_mode.rb +1 -0
  37. data/generated/lib/runtype/client_runtime/types/post_v1client_conversations_conversation_id_executions_execution_id_cancel_request.rb +19 -0
  38. data/generated/lib/runtype/client_runtime/types/post_v1client_conversations_conversation_id_executions_execution_id_cancel_response.rb +13 -0
  39. data/generated/lib/runtype/client_runtime/types/post_v1client_init_response_durable_recovery.rb +2 -0
  40. data/generated/lib/runtype/client_tokens/types/get_v1client_tokens_id_response_client_token.rb +4 -0
  41. data/generated/lib/runtype/client_tokens/types/get_v1client_tokens_response_client_tokens_item.rb +4 -0
  42. data/generated/lib/runtype/client_tokens/types/post_v1client_tokens_id_regenerate_response_client_token.rb +4 -0
  43. data/generated/lib/runtype/client_tokens/types/post_v1client_tokens_request.rb +4 -0
  44. data/generated/lib/runtype/client_tokens/types/post_v1client_tokens_response_client_token.rb +4 -0
  45. data/generated/lib/runtype/client_tokens/types/put_v1client_tokens_id_request.rb +4 -0
  46. data/generated/lib/runtype/client_tokens/types/put_v1client_tokens_id_response_client_token.rb +4 -0
  47. data/generated/lib/runtype/conversations/client.rb +28 -10
  48. data/generated/lib/runtype/conversations/types/get_v1conversations_id_response.rb +3 -1
  49. data/generated/lib/runtype/conversations/types/post_v1conversations_request.rb +6 -0
  50. data/generated/lib/runtype/conversations/types/post_v1conversations_response.rb +3 -1
  51. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request.rb +7 -1
  52. data/generated/lib/runtype/conversations/types/{put_v1conversations_id_request_messages_item_content_one_item_asset_ref_ref_kind.rb → put_v1conversations_id_request_messages_mode.rb} +3 -3
  53. data/generated/lib/runtype/conversations/types/put_v1conversations_id_response.rb +3 -1
  54. data/generated/lib/runtype/dispatch/client.rb +5 -3
  55. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one.rb +2 -0
  56. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_memory.rb +2 -0
  57. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_memory_pointer_scope.rb +15 -0
  58. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_history.rb +14 -0
  59. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_messages_item.rb +4 -0
  60. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_messages_item_role.rb +1 -0
  61. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_messages_item_tool_calls_item.rb +17 -0
  62. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_messages_item_tool_results_item.rb +17 -0
  63. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero.rb +2 -0
  64. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_memory.rb +2 -0
  65. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_memory_pointer_scope.rb +15 -0
  66. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_history.rb +14 -0
  67. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_messages_item.rb +4 -0
  68. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_messages_item_role.rb +1 -0
  69. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_messages_item_tool_calls_item.rb +17 -0
  70. data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_messages_item_tool_results_item.rb +17 -0
  71. data/generated/lib/runtype/evals/types/get_v1eval_id_results_response.rb +10 -0
  72. data/generated/lib/runtype/evals/types/get_v1eval_id_results_response_agent_target_resolution.rb +15 -0
  73. data/generated/lib/runtype/evals/types/get_v1eval_id_results_response_results_by_record_value_item_execution_engine.rb +1 -0
  74. data/generated/lib/runtype/evals/types/post_v1eval_run_request.rb +2 -0
  75. data/generated/lib/runtype/evals/types/post_v1eval_run_request_agent.rb +15 -0
  76. data/generated/lib/runtype/evals/types/post_v1eval_submit_request.rb +2 -0
  77. data/generated/lib/runtype/evals/types/post_v1eval_submit_request_agent.rb +15 -0
  78. data/generated/lib/runtype/evals/types/post_v1eval_suites_id_run_request.rb +2 -0
  79. data/generated/lib/runtype/executions/client.rb +43 -0
  80. data/generated/lib/runtype/executions/types/get_v1executions_execution_id_deliveries_delivery_id_request.rb +13 -0
  81. data/generated/lib/runtype/flows/client.rb +3 -4
  82. data/generated/lib/runtype/flows/types/get_v1flows_id_step_results_response_data_item_execution_engine.rb +1 -0
  83. data/generated/lib/runtype/messaging_conversations/client.rb +2 -0
  84. data/generated/lib/runtype/messaging_conversations/types/get_v1messaging_conversations_request.rb +2 -0
  85. data/generated/lib/runtype/model_configs/types/post_v1model_configs_request_settings_custom_model.rb +2 -0
  86. data/generated/lib/runtype/model_configs/types/post_v1model_configs_request_settings_custom_model_mid_conversation_system_messages.rb +14 -0
  87. data/generated/lib/runtype/model_configs/types/put_v1model_configs_id_request_settings_custom_model.rb +2 -0
  88. data/generated/lib/runtype/model_configs/types/put_v1model_configs_id_request_settings_custom_model_mid_conversation_system_messages.rb +14 -0
  89. data/generated/lib/runtype/products/client.rb +45 -0
  90. data/generated/lib/runtype/products/types/get_v1products_id_activity_request.rb +13 -0
  91. data/generated/lib/runtype/products/types/get_v1products_id_activity_response.rb +13 -0
  92. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data.rb +13 -0
  93. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item.rb +17 -0
  94. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item.rb +77 -0
  95. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_agent_target_resolution.rb +15 -0
  96. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_agent_version.rb +17 -0
  97. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_execution_mode.rb +14 -0
  98. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_notification_mode.rb +15 -0
  99. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_pending_approval.rb +27 -0
  100. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_status.rb +19 -0
  101. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_error.rb +11 -0
  102. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_surfaces_item.rb +19 -0
  103. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_surfaces_item_data_item.rb +15 -0
  104. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_surfaces_item_data_item_agent_mode.rb +45 -0
  105. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_surfaces_item_data_item_available_fields.rb +39 -0
  106. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_surfaces_item_data_item_available_fields_metadata_schema.rb +11 -0
  107. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_surfaces_item_error.rb +11 -0
  108. data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_surfaces_item_source.rb +14 -0
  109. data/generated/lib/runtype/provider_keys/types/post_v1provider_keys_id_sync_models_request_models_item.rb +2 -0
  110. data/generated/lib/runtype/provider_keys/types/post_v1provider_keys_id_sync_models_request_models_item_mid_conversation_system_messages.rb +14 -0
  111. data/generated/lib/runtype/records/types/get_v1records_id_results_response_data_item_execution_engine.rb +1 -0
  112. data/generated/lib/runtype/records/types/get_v1records_id_step_results_response_data_item_execution_engine.rb +1 -0
  113. data/generated/lib/runtype/schedules/types/get_v1schedules_batch_batch_id_results_response_data_item_execution_engine.rb +1 -0
  114. data/generated/lib/runtype/schedules/types/get_v1schedules_runs_run_id_results_response_data_item_execution_engine.rb +1 -0
  115. data/generated/lib/runtype/types/agent_deployment_promotion.rb +17 -0
  116. data/generated/lib/runtype/types/agent_ensure_deploy_target.rb +2 -0
  117. data/generated/lib/runtype/types/agent_ensure_preview_alias_limit.rb +19 -0
  118. data/generated/lib/runtype/types/agent_ensure_preview_alias_limit_code.rb +11 -0
  119. data/generated/lib/runtype/types/agent_ensure_preview_alias_limit_scope.rb +12 -0
  120. data/generated/lib/runtype/types/agent_pull_response_definition_config_memory.rb +2 -0
  121. data/generated/lib/runtype/types/agent_pull_response_definition_config_memory_pointer_scope.rb +13 -0
  122. data/generated/lib/runtype/types/async_dispatch_handle.rb +10 -0
  123. data/generated/lib/runtype/types/async_dispatch_handle_delivery_status.rb +14 -0
  124. data/generated/lib/runtype/types/async_dispatch_handle_status.rb +5 -0
  125. data/generated/lib/runtype/types/client_input_delivery_receipt.rb +19 -0
  126. data/generated/lib/runtype/types/client_input_delivery_receipt_status.rb +14 -0
  127. data/generated/lib/runtype/types/conflict_error_body_candidate_count.rb +21 -0
  128. data/generated/lib/runtype/types/conflict_error_body_candidate_count_code.rb +11 -0
  129. data/generated/lib/runtype/types/conversation_busy_error.rb +15 -0
  130. data/generated/lib/runtype/types/conversation_busy_error_code.rb +11 -0
  131. data/generated/lib/runtype/types/conversation_busy_error_phase.rb +14 -0
  132. data/generated/lib/runtype/types/conversation_message_author.rb +16 -0
  133. data/generated/lib/runtype/types/conversation_message_author_type.rb +14 -0
  134. data/generated/lib/runtype/types/conversation_modified_error.rb +13 -0
  135. data/generated/lib/runtype/types/conversation_modified_error_code.rb +11 -0
  136. data/generated/lib/runtype/types/conversation_source.rb +14 -0
  137. data/generated/lib/runtype/types/conversation_transcript_message.rb +23 -0
  138. data/generated/lib/runtype/types/conversation_transcript_message_content.rb +14 -0
  139. data/generated/lib/runtype/types/conversation_transcript_message_content_one_item.rb +21 -0
  140. data/generated/lib/runtype/types/conversation_transcript_message_content_one_item_asset_ref.rb +19 -0
  141. data/generated/lib/runtype/types/conversation_transcript_message_content_one_item_asset_ref_ref_kind.rb +12 -0
  142. data/generated/lib/runtype/types/conversation_transcript_message_content_one_item_file.rb +13 -0
  143. data/generated/lib/runtype/types/conversation_transcript_message_content_one_item_image.rb +11 -0
  144. data/generated/lib/runtype/types/conversation_transcript_message_content_one_item_reasoning.rb +11 -0
  145. data/generated/lib/runtype/types/conversation_transcript_message_content_one_item_text.rb +9 -0
  146. data/generated/lib/runtype/types/conversation_transcript_message_role.rb +14 -0
  147. data/generated/lib/runtype/types/conversation_transcript_message_tool_calls_item.rb +15 -0
  148. data/generated/lib/runtype/types/conversation_transcript_message_tool_results_item.rb +15 -0
  149. data/generated/lib/runtype/types/dispatch_agent_json_response.rb +12 -0
  150. data/generated/lib/runtype/types/dispatch_agent_json_response_delivery_status.rb +14 -0
  151. data/generated/lib/runtype/types/dispatch_agent_json_response_execution_mode.rb +1 -0
  152. data/generated/lib/runtype/types/eval_agent_selector.rb +13 -0
  153. data/generated/lib/runtype/types/eval_run_scores_response.rb +10 -0
  154. data/generated/lib/runtype/types/eval_run_scores_response_agent_target_resolution.rb +13 -0
  155. data/generated/lib/runtype/types/eval_run_scores_response_cases_item_execution_engine.rb +1 -0
  156. data/generated/lib/runtype/types/eval_suite_run_queued.rb +10 -0
  157. data/generated/lib/runtype/types/eval_suite_run_queued_agent_target_resolution.rb +13 -0
  158. data/generated/lib/runtype/types/input_delivery_receipt.rb +19 -0
  159. data/generated/lib/runtype/types/input_delivery_receipt_status.rb +14 -0
  160. data/generated/lib/runtype/types/preview_alias_limit_error.rb +21 -0
  161. data/generated/lib/runtype/types/preview_alias_limit_error_code.rb +11 -0
  162. data/generated/lib/runtype/types/preview_alias_limit_error_scope.rb +12 -0
  163. data/generated/lib/runtype/types/run_eval_response.rb +10 -0
  164. data/generated/lib/runtype/types/run_eval_response_agent_target_resolution.rb +13 -0
  165. data/generated/lib/runtype.rb +109 -26
  166. data/lib/runtype/agent_ensure.rb +68 -4
  167. data/lib/runtype/agent_release_aliases.rb +282 -0
  168. data/lib/runtype/client.rb +22 -1
  169. data/lib/runtype/errors.rb +14 -2
  170. data/lib/runtype/raw_client_timeout.rb +56 -0
  171. data/lib/runtype/sdk_version.rb +2 -1
  172. data/lib/runtype.rb +2 -0
  173. metadata +95 -10
  174. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request_messages_item.rb +0 -17
  175. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request_messages_item_content.rb +0 -15
  176. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request_messages_item_content_one_item.rb +0 -21
  177. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request_messages_item_content_one_item_asset_ref.rb +0 -21
  178. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request_messages_item_content_one_item_file.rb +0 -15
  179. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request_messages_item_content_one_item_image.rb +0 -13
  180. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request_messages_item_content_one_item_text.rb +0 -11
  181. data/generated/lib/runtype/conversations/types/put_v1conversations_id_request_messages_item_role.rb +0 -15
@@ -10,6 +10,52 @@ module Runtype
10
10
  @client = client
11
11
  end
12
12
 
13
+ # Every agent in the caller's organization that carries a release alias with this name, with the pointer revision
14
+ # to quote back as `If-Match`. This is the read a "pull request closed" cleanup makes before archiving each
15
+ # pointer. Archived rows are omitted unless `includeArchived=true`; the built-in `live` alias is readable here
16
+ # like any other name.
17
+ #
18
+ # @param request_options [Hash]
19
+ # @param params [Hash]
20
+ # @option request_options [String] :base_url
21
+ # @option request_options [Hash{String => Object}] :additional_headers
22
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
23
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
24
+ # @option request_options [Integer] :timeout_in_seconds
25
+ # @option params [String] :alias_
26
+ # @option params [String, nil] :include_archived
27
+ #
28
+ # @example
29
+ # client.agent_aliases.list_release_aliases_with_one_name_across_the_organization(alias_: "alias")
30
+ #
31
+ # @return [Runtype::AgentAliases::Types::GetV1AgentAliasesResponse]
32
+ def list_release_aliases_with_one_name_across_the_organization(request_options: {}, **params)
33
+ params = Runtype::Internal::Types::Utils.normalize_keys(params)
34
+ query_params = {}
35
+ query_params["alias"] = params[:alias_] if params.key?(:alias_)
36
+ query_params["includeArchived"] = params[:include_archived] if params.key?(:include_archived)
37
+
38
+ request = Runtype::Internal::JSON::Request.new(
39
+ base_url: request_options[:base_url],
40
+ method: "GET",
41
+ path: "v1/agent-aliases",
42
+ query: query_params,
43
+ request_options: request_options
44
+ )
45
+ begin
46
+ response = @client.send(request)
47
+ rescue Net::HTTPRequestTimeout
48
+ raise Runtype::Errors::TimeoutError
49
+ end
50
+ code = response.code.to_i
51
+ if code.between?(200, 299)
52
+ Runtype::AgentAliases::Types::GetV1AgentAliasesResponse.load(response.body)
53
+ else
54
+ error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
55
+ raise error_class.new(response.body, code: code)
56
+ end
57
+ end
58
+
13
59
  # List the named pointers that select which immutable version of this agent runs. `live` sorts first, then the
14
60
  # preview aliases by name. Archived aliases are omitted unless `includeArchived=true`. Omitting `limit` returns
15
61
  # every pointer; supplying it pages through the same order with `cursor`.
@@ -108,7 +154,9 @@ module Runtype
108
154
  # Aim one alias at one immutable version of the same agent, appending a deployment receipt in the same
109
155
  # transaction. Moving an existing `live` pointer requires the AGENTS:DEPLOY:LIVE scope and an `If-Match` revision;
110
156
  # preview aliases require AGENTS:DEPLOY:PREVIEW. Dependency references the version names are fingerprinted first,
111
- # and an unresolvable reference refuses the activation.
157
+ # and an unresolvable reference refuses the activation. Activating a preview alias renews its 14-day expiry;
158
+ # `live` never expires. Creating a new preview alias past the active-preview quota answers 429 with code
159
+ # PREVIEW_ALIAS_LIMIT.
112
160
  #
113
161
  # @param request_options [Hash]
114
162
  # @param params [Runtype::AgentAliases::Types::PutV1AgentsIDAliasesAliasRequest]
@@ -212,6 +260,159 @@ module Runtype
212
260
  end
213
261
  end
214
262
 
263
+ # The per-alias secret binding NAMES this pointer carries. A binding value is write-only: no read surface returns
264
+ # it, and it never appears on a receipt, an audit envelope or a log line.
265
+ #
266
+ # @param request_options [Hash]
267
+ # @param params [Hash]
268
+ # @option request_options [String] :base_url
269
+ # @option request_options [Hash{String => Object}] :additional_headers
270
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
271
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
272
+ # @option request_options [Integer] :timeout_in_seconds
273
+ # @option params [String] :id
274
+ # @option params [String] :alias_
275
+ #
276
+ # @example
277
+ # client.agent_aliases.read_the_secret_binding_names_of_a_release_alias(
278
+ # id: "id",
279
+ # alias_: "alias"
280
+ # )
281
+ #
282
+ # @return [Runtype::AgentAliases::Types::GetV1AgentsIDAliasesAliasBindingsResponse]
283
+ def read_the_secret_binding_names_of_a_release_alias(request_options: {}, **params)
284
+ params = Runtype::Internal::Types::Utils.normalize_keys(params)
285
+ request = Runtype::Internal::JSON::Request.new(
286
+ base_url: request_options[:base_url],
287
+ method: "GET",
288
+ path: "v1/agents/#{URI.encode_uri_component(params[:id].to_s)}/aliases/#{URI.encode_uri_component(params[:alias_].to_s)}/bindings",
289
+ request_options: request_options
290
+ )
291
+ begin
292
+ response = @client.send(request)
293
+ rescue Net::HTTPRequestTimeout
294
+ raise Runtype::Errors::TimeoutError
295
+ end
296
+ code = response.code.to_i
297
+ if code.between?(200, 299)
298
+ Runtype::AgentAliases::Types::GetV1AgentsIDAliasesAliasBindingsResponse.load(response.body)
299
+ else
300
+ error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
301
+ raise error_class.new(response.body, code: code)
302
+ end
303
+ end
304
+
305
+ # Replace the complete set of `{{secret:NAME}}` values executions resolve when they reach this agent through this
306
+ # pointer. A binding wins over the organization secret of the same name, so one preview per pull request can aim
307
+ # its HTTP tools at that pull request environment while the version content stays byte-identical to what `live`
308
+ # runs. Whole-set replacement: a name you stop sending stops resolving. Values are encrypted at rest and never
309
+ # returned. Names beginning RUNTYPE_, PLATFORM_, CLOUDFLARE_ or INTERNAL_ are refused because they are
310
+ # platform-resolved before the alias plane. A change bumps the alias revision and appends a `bind` receipt; an
311
+ # identical set writes nothing. Requires the same deploy scope as activating this alias.
312
+ #
313
+ # @param request_options [Hash]
314
+ # @param params [Runtype::AgentAliases::Types::PutV1AgentsIDAliasesAliasBindingsRequest]
315
+ # @option request_options [String] :base_url
316
+ # @option request_options [Hash{String => Object}] :additional_headers
317
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
318
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
319
+ # @option request_options [Integer] :timeout_in_seconds
320
+ # @option params [String] :id
321
+ # @option params [String] :alias_
322
+ # @option params [String, nil] :if_match
323
+ # @option params [String, nil] :idempotency_key
324
+ #
325
+ # @example
326
+ # client.agent_aliases.replace_the_secret_bindings_of_a_release_alias(
327
+ # id: "id",
328
+ # alias_: "alias",
329
+ # bindings: {
330
+ # key: "value"
331
+ # }
332
+ # )
333
+ #
334
+ # @return [Runtype::AgentAliases::Types::PutV1AgentsIDAliasesAliasBindingsResponse]
335
+ def replace_the_secret_bindings_of_a_release_alias(request_options: {}, **params)
336
+ params = Runtype::Internal::Types::Utils.normalize_keys(params)
337
+ request_data = Runtype::AgentAliases::Types::PutV1AgentsIDAliasesAliasBindingsRequest.new(params).to_h
338
+ non_body_param_names = %w[id alias if-match idempotency-key]
339
+ body = request_data.except(*non_body_param_names)
340
+
341
+ headers = {}
342
+ headers["if-match"] = params[:if_match] if params[:if_match]
343
+ headers["idempotency-key"] = params[:idempotency_key] if params[:idempotency_key]
344
+
345
+ request = Runtype::Internal::JSON::Request.new(
346
+ base_url: request_options[:base_url],
347
+ method: "PUT",
348
+ path: "v1/agents/#{URI.encode_uri_component(params[:id].to_s)}/aliases/#{URI.encode_uri_component(params[:alias_].to_s)}/bindings",
349
+ headers: headers,
350
+ body: body,
351
+ request_options: request_options
352
+ )
353
+ begin
354
+ response = @client.send(request)
355
+ rescue Net::HTTPRequestTimeout
356
+ raise Runtype::Errors::TimeoutError
357
+ end
358
+ code = response.code.to_i
359
+ if code.between?(200, 299)
360
+ Runtype::AgentAliases::Types::PutV1AgentsIDAliasesAliasBindingsResponse.load(response.body)
361
+ else
362
+ error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
363
+ raise error_class.new(response.body, code: code)
364
+ end
365
+ end
366
+
367
+ # Remove every per-alias secret binding from this pointer, so its executions fall back to the organization
368
+ # secrets. Equivalent to replacing the set with an empty object.
369
+ #
370
+ # @param request_options [Hash]
371
+ # @param params [Hash]
372
+ # @option request_options [String] :base_url
373
+ # @option request_options [Hash{String => Object}] :additional_headers
374
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
375
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
376
+ # @option request_options [Integer] :timeout_in_seconds
377
+ # @option params [String] :id
378
+ # @option params [String] :alias_
379
+ # @option params [String, nil] :if_match
380
+ # @option params [String, nil] :idempotency_key
381
+ #
382
+ # @example
383
+ # client.agent_aliases.clear_the_secret_bindings_of_a_release_alias(
384
+ # id: "id",
385
+ # alias_: "alias"
386
+ # )
387
+ #
388
+ # @return [Runtype::AgentAliases::Types::DeleteV1AgentsIDAliasesAliasBindingsResponse]
389
+ def clear_the_secret_bindings_of_a_release_alias(request_options: {}, **params)
390
+ params = Runtype::Internal::Types::Utils.normalize_keys(params)
391
+ headers = {}
392
+ headers["if-match"] = params[:if_match] if params[:if_match]
393
+ headers["idempotency-key"] = params[:idempotency_key] if params[:idempotency_key]
394
+
395
+ request = Runtype::Internal::JSON::Request.new(
396
+ base_url: request_options[:base_url],
397
+ method: "DELETE",
398
+ path: "v1/agents/#{URI.encode_uri_component(params[:id].to_s)}/aliases/#{URI.encode_uri_component(params[:alias_].to_s)}/bindings",
399
+ headers: headers,
400
+ request_options: request_options
401
+ )
402
+ begin
403
+ response = @client.send(request)
404
+ rescue Net::HTTPRequestTimeout
405
+ raise Runtype::Errors::TimeoutError
406
+ end
407
+ code = response.code.to_i
408
+ if code.between?(200, 299)
409
+ Runtype::AgentAliases::Types::DeleteV1AgentsIDAliasesAliasBindingsResponse.load(response.body)
410
+ else
411
+ error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
412
+ raise error_class.new(response.body, code: code)
413
+ end
414
+ end
415
+
215
416
  # Re-aim an alias at the version recorded as `previousVersionId` on its most recent pointer-moving receipt,
216
417
  # walking `steps` receipts back. Writes a `rollback` receipt. Rolling back `live` follows the same scope and
217
418
  # `If-Match` rules as activation, and restores configuration only: external data and side effects are not rolled
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class DeleteV1AgentsIDAliasesAliasBindingsRequest < Internal::Types::Model
7
+ field :id, -> { String }, optional: false, nullable: false
8
+
9
+ field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
10
+
11
+ field :if_match, -> { String }, optional: true, nullable: false, api_name: "if-match"
12
+
13
+ field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "idempotency-key"
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class DeleteV1AgentsIDAliasesAliasBindingsResponse < Internal::Types::Model
7
+ field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
8
+
9
+ field :changed, -> { Internal::Types::Boolean }, optional: true, nullable: false
10
+
11
+ field :names, -> { Internal::Types::Array[String] }, optional: false, nullable: false
12
+
13
+ field :receipt_id, -> { String }, optional: true, nullable: false, api_name: "receiptId"
14
+
15
+ field :revision, -> { Integer }, optional: false, nullable: false
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class GetV1AgentAliasesRequest < Internal::Types::Model
7
+ field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
8
+
9
+ field :include_archived, -> { String }, optional: true, nullable: false, api_name: "includeArchived"
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class GetV1AgentAliasesResponse < Internal::Types::Model
7
+ field :data, -> { Internal::Types::Array[Runtype::AgentAliases::Types::GetV1AgentAliasesResponseDataItem] }, optional: false, nullable: false
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class GetV1AgentAliasesResponseDataItem < Internal::Types::Model
7
+ field :agent_id, -> { String }, optional: false, nullable: false, api_name: "agentId"
8
+
9
+ field :agent_name, -> { String }, optional: false, nullable: false, api_name: "agentName"
10
+
11
+ field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
12
+
13
+ field :archived_at, -> { String }, optional: false, nullable: true, api_name: "archivedAt"
14
+
15
+ field :expires_at, -> { String }, optional: false, nullable: true, api_name: "expiresAt"
16
+
17
+ field :revision, -> { Integer }, optional: false, nullable: false
18
+
19
+ field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
20
+
21
+ field :version_id, -> { String }, optional: false, nullable: false, api_name: "versionId"
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class GetV1AgentsIDAliasesAliasBindingsRequest < Internal::Types::Model
7
+ field :id, -> { String }, optional: false, nullable: false
8
+
9
+ field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class GetV1AgentsIDAliasesAliasBindingsResponse < Internal::Types::Model
7
+ field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
8
+
9
+ field :changed, -> { Internal::Types::Boolean }, optional: true, nullable: false
10
+
11
+ field :names, -> { Internal::Types::Array[String] }, optional: false, nullable: false
12
+
13
+ field :receipt_id, -> { String }, optional: true, nullable: false, api_name: "receiptId"
14
+
15
+ field :revision, -> { Integer }, optional: false, nullable: false
16
+ end
17
+ end
18
+ end
19
+ end
@@ -8,6 +8,8 @@ module Runtype
8
8
 
9
9
  field :archived_at, -> { String }, optional: false, nullable: true, api_name: "archivedAt"
10
10
 
11
+ field :binding_names, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "bindingNames"
12
+
11
13
  field :content_hash, -> { String }, optional: false, nullable: true, api_name: "contentHash"
12
14
 
13
15
  field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
@@ -8,6 +8,8 @@ module Runtype
8
8
 
9
9
  field :archived_at, -> { String }, optional: false, nullable: true, api_name: "archivedAt"
10
10
 
11
+ field :binding_names, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "bindingNames"
12
+
11
13
  field :content_hash, -> { String }, optional: false, nullable: true, api_name: "contentHash"
12
14
 
13
15
  field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
@@ -12,6 +12,8 @@ module Runtype
12
12
 
13
13
  field :alias_revision, -> { Integer }, optional: false, nullable: false, api_name: "aliasRevision"
14
14
 
15
+ field :bindings, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true
16
+
15
17
  field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
16
18
 
17
19
  field :dependencies, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: true
@@ -4,10 +4,16 @@ module Runtype
4
4
  module AgentAliases
5
5
  module Types
6
6
  class PostV1AgentsIDAliasesAliasRollbackResponse < Internal::Types::Model
7
+ field :active_preview_count, -> { Integer }, optional: false, nullable: true, api_name: "activePreviewCount"
8
+
7
9
  field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
8
10
 
11
+ field :binding_names, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "bindingNames"
12
+
9
13
  field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false
10
14
 
15
+ field :preview_limit, -> { Integer }, optional: false, nullable: true, api_name: "previewLimit"
16
+
11
17
  field :receipt_id, -> { String }, optional: false, nullable: false, api_name: "receiptId"
12
18
 
13
19
  field :revision, -> { Integer }, optional: false, nullable: false
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class PutV1AgentsIDAliasesAliasBindingsRequest < Internal::Types::Model
7
+ field :id, -> { String }, optional: false, nullable: false
8
+
9
+ field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
10
+
11
+ field :if_match, -> { String }, optional: true, nullable: false, api_name: "if-match"
12
+
13
+ field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "idempotency-key"
14
+
15
+ field :bindings, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false
16
+
17
+ field :reason, -> { String }, optional: true, nullable: false
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentAliases
5
+ module Types
6
+ class PutV1AgentsIDAliasesAliasBindingsResponse < Internal::Types::Model
7
+ field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
8
+
9
+ field :changed, -> { Internal::Types::Boolean }, optional: true, nullable: false
10
+
11
+ field :names, -> { Internal::Types::Array[String] }, optional: false, nullable: false
12
+
13
+ field :receipt_id, -> { String }, optional: true, nullable: false, api_name: "receiptId"
14
+
15
+ field :revision, -> { Integer }, optional: false, nullable: false
16
+ end
17
+ end
18
+ end
19
+ end
@@ -12,6 +12,8 @@ module Runtype
12
12
 
13
13
  field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "idempotency-key"
14
14
 
15
+ field :promotion, -> { Runtype::Types::AgentDeploymentPromotion }, optional: true, nullable: false
16
+
15
17
  field :reason, -> { String }, optional: true, nullable: false
16
18
 
17
19
  field :version_id, -> { String }, optional: false, nullable: false, api_name: "versionId"
@@ -4,10 +4,16 @@ module Runtype
4
4
  module AgentAliases
5
5
  module Types
6
6
  class PutV1AgentsIDAliasesAliasResponse < Internal::Types::Model
7
+ field :active_preview_count, -> { Integer }, optional: false, nullable: true, api_name: "activePreviewCount"
8
+
7
9
  field :alias_, -> { String }, optional: false, nullable: false, api_name: "alias"
8
10
 
11
+ field :binding_names, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "bindingNames"
12
+
9
13
  field :changed, -> { Internal::Types::Boolean }, optional: false, nullable: false
10
14
 
15
+ field :preview_limit, -> { Integer }, optional: false, nullable: true, api_name: "previewLimit"
16
+
11
17
  field :receipt_id, -> { String }, optional: false, nullable: false, api_name: "receiptId"
12
18
 
13
19
  field :revision, -> { Integer }, optional: false, nullable: false
@@ -50,6 +50,11 @@ module Runtype
50
50
  end
51
51
  end
52
52
 
53
+ # Apply an immutable version to the live agent row and move the `live` release alias, in one transaction. Until
54
+ # the omitted-selector cutover this is the writer that changes what actually executes, so it is the verb a live
55
+ # deployment uses; the alias activate route owns preview pointers. Supplying `If-Match` opts this call into the
56
+ # same protected-live compare-and-swap the alias routes enforce.
57
+ #
53
58
  # @param request_options [Hash]
54
59
  # @param params [Runtype::AgentVersions::Types::PostV1AgentVersionsAgentIDPublishRequest]
55
60
  # @option request_options [String] :base_url
@@ -58,6 +63,8 @@ module Runtype
58
63
  # @option request_options [Hash{String => Object}] :additional_body_parameters
59
64
  # @option request_options [Integer] :timeout_in_seconds
60
65
  # @option params [String] :agent_id
66
+ # @option params [String, nil] :if_match
67
+ # @option params [String, nil] :idempotency_key
61
68
  #
62
69
  # @example
63
70
  # client.agent_versions.publish_a_specific_agent_version(
@@ -69,13 +76,18 @@ module Runtype
69
76
  def publish_a_specific_agent_version(request_options: {}, **params)
70
77
  params = Runtype::Internal::Types::Utils.normalize_keys(params)
71
78
  request_data = Runtype::AgentVersions::Types::PostV1AgentVersionsAgentIDPublishRequest.new(params).to_h
72
- non_body_param_names = %w[agentId]
79
+ non_body_param_names = %w[agentId if-match idempotency-key]
73
80
  body = request_data.except(*non_body_param_names)
74
81
 
82
+ headers = {}
83
+ headers["if-match"] = params[:if_match] if params[:if_match]
84
+ headers["idempotency-key"] = params[:idempotency_key] if params[:idempotency_key]
85
+
75
86
  request = Runtype::Internal::JSON::Request.new(
76
87
  base_url: request_options[:base_url],
77
88
  method: "POST",
78
89
  path: "v1/agent-versions/#{URI.encode_uri_component(params[:agent_id].to_s)}/publish",
90
+ headers: headers,
79
91
  body: body,
80
92
  request_options: request_options
81
93
  )
@@ -6,6 +6,12 @@ module Runtype
6
6
  class PostV1AgentVersionsAgentIDPublishRequest < Internal::Types::Model
7
7
  field :agent_id, -> { String }, optional: false, nullable: false, api_name: "agentId"
8
8
 
9
+ field :if_match, -> { String }, optional: true, nullable: false, api_name: "if-match"
10
+
11
+ field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "idempotency-key"
12
+
13
+ field :deployment, -> { Runtype::AgentVersions::Types::PostV1AgentVersionsAgentIDPublishRequestDeployment }, optional: true, nullable: false
14
+
9
15
  field :on_conflict, -> { Runtype::AgentVersions::Types::PostV1AgentVersionsAgentIDPublishRequestOnConflict }, optional: true, nullable: false, api_name: "onConflict"
10
16
 
11
17
  field :version_id, -> { String }, optional: false, nullable: false, api_name: "versionId"
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentVersions
5
+ module Types
6
+ class PostV1AgentVersionsAgentIDPublishRequestDeployment < Internal::Types::Model
7
+ field :action, -> { Runtype::AgentVersions::Types::PostV1AgentVersionsAgentIDPublishRequestDeploymentAction }, optional: true, nullable: false
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module AgentVersions
5
+ module Types
6
+ module PostV1AgentVersionsAgentIDPublishRequestDeploymentAction
7
+ extend Runtype::Internal::Types::Enum
8
+
9
+ ACTIVATE = "activate"
10
+ ROLLBACK = "rollback"
11
+ end
12
+ end
13
+ end
14
+ end
@@ -6,7 +6,7 @@ module Runtype
6
6
  class PostV1AgentVersionsAgentIDPublishResponse < Internal::Types::Model
7
7
  field :agent_id, -> { String }, optional: false, nullable: false, api_name: "agentId"
8
8
 
9
- field :applied, -> { Internal::Types::Hash[String, Internal::Types::Boolean] }, optional: false, nullable: false
9
+ field :applied, -> { Internal::Types::Hash[String, Internal::Types::Boolean] }, optional: true, nullable: false
10
10
 
11
11
  field :last_modified_source, -> { Runtype::AgentVersions::Types::PostV1AgentVersionsAgentIDPublishResponseLastModifiedSource }, optional: false, nullable: false, api_name: "lastModifiedSource"
12
12
 
@@ -8,6 +8,8 @@ module Runtype
8
8
 
9
9
  field :inject_summary, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "injectSummary"
10
10
 
11
+ field :pointer_scope, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigMemoryPointerScope }, optional: true, nullable: false, api_name: "pointerScope"
12
+
11
13
  field :profile_template, -> { String }, optional: true, nullable: false, api_name: "profileTemplate"
12
14
  end
13
15
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module Agents
5
+ module Types
6
+ module PostV1AgentsEnsureRequestDefinitionConfigMemoryPointerScope
7
+ extend Runtype::Internal::Types::Enum
8
+
9
+ SHARED = "shared"
10
+ ALIAS = "alias"
11
+ VERSION = "version"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -9,6 +9,7 @@ module Runtype
9
9
  REJECT = "reject"
10
10
  SUPERSEDE = "supersede"
11
11
  QUEUE = "queue"
12
+ JOIN = "join"
12
13
  end
13
14
  end
14
15
  end
@@ -8,6 +8,8 @@ module Runtype
8
8
 
9
9
  field :inject_summary, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "injectSummary"
10
10
 
11
+ field :pointer_scope, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigMemoryPointerScope }, optional: true, nullable: false, api_name: "pointerScope"
12
+
11
13
  field :profile_template, -> { String }, optional: true, nullable: false, api_name: "profileTemplate"
12
14
  end
13
15
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module Agents
5
+ module Types
6
+ module PostV1AgentsRequestConfigMemoryPointerScope
7
+ extend Runtype::Internal::Types::Enum
8
+
9
+ SHARED = "shared"
10
+ ALIAS = "alias"
11
+ VERSION = "version"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -8,6 +8,8 @@ module Runtype
8
8
 
9
9
  field :inject_summary, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "injectSummary"
10
10
 
11
+ field :pointer_scope, -> { Runtype::Agents::Types::PutV1AgentsIDRequestConfigMemoryPointerScope }, optional: true, nullable: false, api_name: "pointerScope"
12
+
11
13
  field :profile_template, -> { String }, optional: true, nullable: false, api_name: "profileTemplate"
12
14
  end
13
15
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Runtype
4
+ module Agents
5
+ module Types
6
+ module PutV1AgentsIDRequestConfigMemoryPointerScope
7
+ extend Runtype::Internal::Types::Enum
8
+
9
+ SHARED = "shared"
10
+ ALIAS = "alias"
11
+ VERSION = "version"
12
+ end
13
+ end
14
+ end
15
+ end