anthropic 2.2.0 → 2.3.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 (275) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/README.md +2 -2
  4. data/lib/anthropic/client.rb +1 -1
  5. data/lib/anthropic/helpers/bedrock/client.rb +6 -3
  6. data/lib/anthropic/helpers/google_cloud/client.rb +9 -25
  7. data/lib/anthropic/helpers/refusal_fallback.rb +1 -2
  8. data/lib/anthropic/helpers/stainless_helper_header.rb +3 -2
  9. data/lib/anthropic/internal/tracing.rb +20 -0
  10. data/lib/anthropic/internal/transport/base_client.rb +16 -2
  11. data/lib/anthropic/models/anthropic_beta.rb +3 -0
  12. data/lib/anthropic/models/beta/beta_code_execution_tool_20260120.rb +10 -2
  13. data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb +5 -1
  14. data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rb +1 -1
  15. data/lib/anthropic/models/beta/beta_encrypted_code_execution_result_block.rb +9 -1
  16. data/lib/anthropic/models/beta/beta_encrypted_code_execution_result_block_param.rb +2 -1
  17. data/lib/anthropic/models/beta/beta_response_tool_union.rb +5 -1
  18. data/lib/anthropic/models/beta/beta_skill_params.rb +1 -1
  19. data/lib/anthropic/models/beta/beta_tool_union.rb +5 -1
  20. data/lib/anthropic/models/beta/environments/beta_self_hosted_work_heartbeat_response.rb +7 -2
  21. data/lib/anthropic/models/beta/environments/beta_self_hosted_work_queue_stats.rb +2 -4
  22. data/lib/anthropic/models/beta/message_count_tokens_params.rb +5 -1
  23. data/lib/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rb +21 -0
  24. data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rb +63 -0
  25. data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rb +21 -0
  26. data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rb +21 -0
  27. data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rb +21 -0
  28. data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_source.rb +87 -0
  29. data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb +72 -0
  30. data/lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb +70 -0
  31. data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_create.rb +67 -0
  32. data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_update.rb +67 -0
  33. data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rb +37 -0
  34. data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rb +29 -0
  35. data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rb +22 -0
  36. data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rb +31 -0
  37. data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rb +30 -0
  38. data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rb +23 -0
  39. data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rb +29 -0
  40. data/lib/anthropic/models/beta/organization/beta_external_key.rb +3 -3
  41. data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rb +66 -0
  42. data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rb +32 -0
  43. data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rb +87 -0
  44. data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rb +86 -0
  45. data/lib/anthropic/models/beta/organization/claude_tag/bundle_list_params.rb +49 -0
  46. data/lib/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rb +41 -0
  47. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rb +76 -0
  48. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rb +70 -0
  49. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rb +34 -0
  50. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rb +57 -0
  51. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rb +38 -0
  52. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rb +57 -0
  53. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rb +38 -0
  54. data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rb +43 -0
  55. data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rb +53 -0
  56. data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rb +59 -0
  57. data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rb +53 -0
  58. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rb +50 -0
  59. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rb +41 -0
  60. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rb +79 -0
  61. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rb +52 -0
  62. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rb +49 -0
  63. data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rb +70 -0
  64. data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rb +52 -0
  65. data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rb +49 -0
  66. data/lib/anthropic/models/code_execution_tool_20260120.rb +10 -2
  67. data/lib/anthropic/models/code_execution_tool_result_block_content.rb +5 -1
  68. data/lib/anthropic/models/code_execution_tool_result_block_param_content.rb +1 -1
  69. data/lib/anthropic/models/encrypted_code_execution_result_block.rb +9 -1
  70. data/lib/anthropic/models/encrypted_code_execution_result_block_param.rb +2 -1
  71. data/lib/anthropic/models/message_count_tokens_tool.rb +5 -1
  72. data/lib/anthropic/models/organization/external_key.rb +3 -3
  73. data/lib/anthropic/models/skill_params.rb +1 -1
  74. data/lib/anthropic/models/tool_union.rb +5 -1
  75. data/lib/anthropic/resources/beta/agents/versions.rb +2 -1
  76. data/lib/anthropic/resources/beta/agents.rb +10 -5
  77. data/lib/anthropic/resources/beta/deployment_runs.rb +4 -2
  78. data/lib/anthropic/resources/beta/deployments.rb +16 -8
  79. data/lib/anthropic/resources/beta/dreams.rb +10 -5
  80. data/lib/anthropic/resources/beta/environments/work.rb +16 -8
  81. data/lib/anthropic/resources/beta/environments.rb +12 -6
  82. data/lib/anthropic/resources/beta/files.rb +10 -5
  83. data/lib/anthropic/resources/beta/memory_stores/memories.rb +10 -5
  84. data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +6 -11
  85. data/lib/anthropic/resources/beta/memory_stores.rb +12 -6
  86. data/lib/anthropic/resources/beta/messages/batches.rb +12 -6
  87. data/lib/anthropic/resources/beta/messages.rb +6 -3
  88. data/lib/anthropic/resources/beta/models.rb +4 -2
  89. data/lib/anthropic/resources/beta/organization/analytics/apps/chat/projects.rb +2 -1
  90. data/lib/anthropic/resources/beta/organization/analytics/artifacts.rb +2 -1
  91. data/lib/anthropic/resources/beta/organization/analytics/connectors.rb +2 -1
  92. data/lib/anthropic/resources/beta/organization/analytics/cost.rb +2 -1
  93. data/lib/anthropic/resources/beta/organization/analytics/cost_report.rb +2 -1
  94. data/lib/anthropic/resources/beta/organization/analytics/plugins.rb +2 -1
  95. data/lib/anthropic/resources/beta/organization/analytics/skills.rb +2 -1
  96. data/lib/anthropic/resources/beta/organization/analytics/summaries.rb +2 -1
  97. data/lib/anthropic/resources/beta/organization/analytics/usage.rb +2 -1
  98. data/lib/anthropic/resources/beta/organization/analytics/usage_report.rb +2 -1
  99. data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +5 -4
  100. data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +5 -4
  101. data/lib/anthropic/resources/beta/organization/analytics/users.rb +2 -1
  102. data/lib/anthropic/resources/beta/organization/api_keys.rb +6 -3
  103. data/lib/anthropic/resources/beta/organization/claude_tag/bundles/targets.rb +204 -0
  104. data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +102 -0
  105. data/lib/anthropic/resources/beta/organization/claude_tag/slack_channels.rb +263 -0
  106. data/lib/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rb +162 -0
  107. data/lib/anthropic/resources/beta/organization/claude_tag.rb +31 -0
  108. data/lib/anthropic/resources/beta/organization/compliance_settings.rb +4 -2
  109. data/lib/anthropic/resources/beta/organization/external_keys.rb +12 -6
  110. data/lib/anthropic/resources/beta/organization/federation/issuers.rb +10 -5
  111. data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +6 -3
  112. data/lib/anthropic/resources/beta/organization/federation/rules.rb +10 -5
  113. data/lib/anthropic/resources/beta/organization/invites.rb +8 -4
  114. data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +10 -5
  115. data/lib/anthropic/resources/beta/organization/plugins/installation_settings.rb +6 -11
  116. data/lib/anthropic/resources/beta/organization/plugins/shares.rb +2 -1
  117. data/lib/anthropic/resources/beta/organization/plugins/versions.rb +8 -4
  118. data/lib/anthropic/resources/beta/organization/plugins.rb +10 -5
  119. data/lib/anthropic/resources/beta/organization/rate_limits.rb +2 -1
  120. data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +6 -3
  121. data/lib/anthropic/resources/beta/organization/rbac_groups.rb +10 -5
  122. data/lib/anthropic/resources/beta/organization/rbac_roles/permissions.rb +2 -1
  123. data/lib/anthropic/resources/beta/organization/rbac_roles.rb +4 -2
  124. data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +6 -3
  125. data/lib/anthropic/resources/beta/organization/service_accounts.rb +10 -5
  126. data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +2 -1
  127. data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +8 -4
  128. data/lib/anthropic/resources/beta/organization/spend_limits.rb +8 -4
  129. data/lib/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rb +6 -3
  130. data/lib/anthropic/resources/beta/organization/telemetry_destinations.rb +12 -6
  131. data/lib/anthropic/resources/beta/organization/users.rb +8 -4
  132. data/lib/anthropic/resources/beta/organization/webhooks.rb +12 -9
  133. data/lib/anthropic/resources/beta/organization/workspaces/members.rb +10 -5
  134. data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +4 -6
  135. data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +10 -5
  136. data/lib/anthropic/resources/beta/organization/workspaces.rb +10 -5
  137. data/lib/anthropic/resources/beta/organization.rb +6 -1
  138. data/lib/anthropic/resources/beta/sessions/events.rb +6 -3
  139. data/lib/anthropic/resources/beta/sessions/resources.rb +10 -5
  140. data/lib/anthropic/resources/beta/sessions/threads/events.rb +4 -2
  141. data/lib/anthropic/resources/beta/sessions/threads.rb +6 -3
  142. data/lib/anthropic/resources/beta/sessions.rb +12 -6
  143. data/lib/anthropic/resources/beta/skills/versions.rb +10 -5
  144. data/lib/anthropic/resources/beta/skills.rb +8 -4
  145. data/lib/anthropic/resources/beta/tunnels/certificates.rb +8 -4
  146. data/lib/anthropic/resources/beta/tunnels.rb +12 -6
  147. data/lib/anthropic/resources/beta/user_profiles/action_urls.rb +2 -1
  148. data/lib/anthropic/resources/beta/user_profiles.rb +12 -6
  149. data/lib/anthropic/resources/beta/vaults/credentials.rb +14 -7
  150. data/lib/anthropic/resources/beta/vaults.rb +12 -6
  151. data/lib/anthropic/version.rb +1 -1
  152. data/lib/anthropic.rb +47 -0
  153. data/rbi/anthropic/helpers/google_cloud/client.rbi +0 -4
  154. data/rbi/anthropic/internal/tracing.rbi +28 -0
  155. data/rbi/anthropic/internal/transport/base_client.rbi +5 -1
  156. data/rbi/anthropic/internal/type/base_page.rbi +2 -0
  157. data/rbi/anthropic/internal/type/base_stream.rbi +2 -0
  158. data/rbi/anthropic/internal/type/request_parameters.rbi +4 -0
  159. data/rbi/anthropic/models/anthropic_beta.rbi +5 -0
  160. data/rbi/anthropic/models/beta/beta_code_execution_tool_20260120.rbi +10 -2
  161. data/rbi/anthropic/models/beta/beta_encrypted_code_execution_result_block.rbi +9 -1
  162. data/rbi/anthropic/models/beta/beta_encrypted_code_execution_result_block_param.rbi +2 -1
  163. data/rbi/anthropic/models/beta/beta_skill_params.rbi +1 -1
  164. data/rbi/anthropic/models/beta/environments/beta_self_hosted_work_heartbeat_response.rbi +4 -2
  165. data/rbi/anthropic/models/beta/environments/beta_self_hosted_work_queue_stats.rbi +2 -4
  166. data/rbi/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rbi +31 -0
  167. data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rbi +87 -0
  168. data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rbi +31 -0
  169. data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rbi +31 -0
  170. data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rbi +31 -0
  171. data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_source.rbi +115 -0
  172. data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi +178 -0
  173. data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi +108 -0
  174. data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbi +110 -0
  175. data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbi +110 -0
  176. data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rbi +50 -0
  177. data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rbi +43 -0
  178. data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rbi +32 -0
  179. data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rbi +67 -0
  180. data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rbi +44 -0
  181. data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rbi +36 -0
  182. data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rbi +43 -0
  183. data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +4 -4
  184. data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbi +87 -0
  185. data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rbi +41 -0
  186. data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rbi +154 -0
  187. data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rbi +151 -0
  188. data/rbi/anthropic/models/beta/organization/claude_tag/bundle_list_params.rbi +92 -0
  189. data/rbi/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rbi +78 -0
  190. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rbi +102 -0
  191. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rbi +92 -0
  192. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rbi +43 -0
  193. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rbi +78 -0
  194. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rbi +51 -0
  195. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rbi +78 -0
  196. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rbi +51 -0
  197. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rbi +82 -0
  198. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rbi +94 -0
  199. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rbi +104 -0
  200. data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rbi +94 -0
  201. data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rbi +118 -0
  202. data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rbi +78 -0
  203. data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rbi +134 -0
  204. data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rbi +95 -0
  205. data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rbi +100 -0
  206. data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rbi +124 -0
  207. data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rbi +95 -0
  208. data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rbi +100 -0
  209. data/rbi/anthropic/models/code_execution_tool_20260120.rbi +10 -2
  210. data/rbi/anthropic/models/encrypted_code_execution_result_block.rbi +9 -1
  211. data/rbi/anthropic/models/encrypted_code_execution_result_block_param.rbi +2 -1
  212. data/rbi/anthropic/models/organization/external_key.rbi +4 -4
  213. data/rbi/anthropic/models/skill_params.rbi +1 -1
  214. data/rbi/anthropic/resources/beta/organization/analytics/user_cost_report.rbi +3 -3
  215. data/rbi/anthropic/resources/beta/organization/analytics/user_usage_report.rbi +3 -3
  216. data/rbi/anthropic/resources/beta/organization/claude_tag/bundles/targets.rbi +140 -0
  217. data/rbi/anthropic/resources/beta/organization/claude_tag/bundles.rbi +75 -0
  218. data/rbi/anthropic/resources/beta/organization/claude_tag/slack_channels.rbi +203 -0
  219. data/rbi/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rbi +123 -0
  220. data/rbi/anthropic/resources/beta/organization/claude_tag.rbi +37 -0
  221. data/rbi/anthropic/resources/beta/organization.rbi +3 -0
  222. data/sig/anthropic/helpers/google_cloud/client.rbs +0 -2
  223. data/sig/anthropic/internal/tracing.rbs +14 -0
  224. data/sig/anthropic/internal/transport/base_client.rbs +3 -0
  225. data/sig/anthropic/internal/type/request_parameters.rbs +2 -0
  226. data/sig/anthropic/models/anthropic_beta.rbs +2 -0
  227. data/sig/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rbs +17 -0
  228. data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rbs +45 -0
  229. data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rbs +17 -0
  230. data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rbs +17 -0
  231. data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rbs +17 -0
  232. data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_source.rbs +73 -0
  233. data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs +44 -0
  234. data/sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs +44 -0
  235. data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbs +44 -0
  236. data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbs +44 -0
  237. data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rbs +20 -0
  238. data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rbs +23 -0
  239. data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rbs +18 -0
  240. data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rbs +29 -0
  241. data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rbs +26 -0
  242. data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rbs +18 -0
  243. data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rbs +23 -0
  244. data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbs +51 -0
  245. data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rbs +22 -0
  246. data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rbs +56 -0
  247. data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rbs +56 -0
  248. data/sig/anthropic/models/beta/organization/claude_tag/bundle_list_params.rbs +50 -0
  249. data/sig/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rbs +41 -0
  250. data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rbs +54 -0
  251. data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rbs +48 -0
  252. data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rbs +27 -0
  253. data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rbs +43 -0
  254. data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rbs +27 -0
  255. data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rbs +43 -0
  256. data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rbs +30 -0
  257. data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rbs +43 -0
  258. data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rbs +48 -0
  259. data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rbs +57 -0
  260. data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rbs +48 -0
  261. data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rbs +50 -0
  262. data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rbs +38 -0
  263. data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rbs +69 -0
  264. data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rbs +48 -0
  265. data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rbs +46 -0
  266. data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rbs +64 -0
  267. data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rbs +48 -0
  268. data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rbs +46 -0
  269. data/sig/anthropic/resources/beta/organization/claude_tag/bundles/targets.rbs +44 -0
  270. data/sig/anthropic/resources/beta/organization/claude_tag/bundles.rbs +28 -0
  271. data/sig/anthropic/resources/beta/organization/claude_tag/slack_channels.rbs +50 -0
  272. data/sig/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rbs +36 -0
  273. data/sig/anthropic/resources/beta/organization/claude_tag.rbs +17 -0
  274. data/sig/anthropic/resources/beta/organization.rbs +2 -0
  275. metadata +142 -1
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ module Bundles
9
+ class BetaClaudeTagSlackWorkspaceBundleTarget < Anthropic::Internal::Type::BaseModel
10
+ # @!attribute id
11
+ # The Bundle Target's identifier. Starts with `btgt_`. No two Bundle Targets have
12
+ # the same one, and the same Bundle and target always give the same one, also
13
+ # after a detach and a new attach. It is opaque.
14
+ #
15
+ # @return [String]
16
+ required :id, String
17
+
18
+ # @!attribute created_at
19
+ # Time the Bundle was attached.
20
+ #
21
+ # @return [Time]
22
+ required :created_at, Time
23
+
24
+ # @!attribute slack_workspace_id
25
+ # The identifier of the Slack workspace the Bundle is attached to, starting with
26
+ # `slws_`.
27
+ #
28
+ # @return [String]
29
+ required :slack_workspace_id, String
30
+
31
+ # @!attribute type
32
+ #
33
+ # @return [Symbol, :slack_workspace]
34
+ required :type, const: :slack_workspace
35
+
36
+ # @!method initialize(id:, created_at:, slack_workspace_id:, type: :slack_workspace)
37
+ # One Bundle attached to one Slack workspace. The Bundle can be used in the
38
+ # workspace and in every channel in it.
39
+ #
40
+ # Some parameter documentations has been truncated, see
41
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackWorkspaceBundleTarget}
42
+ # for more details.
43
+ #
44
+ # @param id [String] The Bundle Target's identifier. Starts with `btgt_`. No two Bundle Targets have
45
+ #
46
+ # @param created_at [Time] Time the Bundle was attached.
47
+ #
48
+ # @param slack_workspace_id [String] The identifier of the Slack workspace the Bundle is attached to, starting with `
49
+ #
50
+ # @param type [Symbol, :slack_workspace]
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ module Bundles
9
+ class BetaClaudeTagSlackWorkspaceBundleTargetCreate < Anthropic::Internal::Type::BaseModel
10
+ # @!attribute slack_workspace_id
11
+ # The identifier of the Slack workspace to attach the Bundle to, starting with
12
+ # `slws_`.
13
+ #
14
+ # @return [String]
15
+ required :slack_workspace_id, String
16
+
17
+ # @!attribute type
18
+ #
19
+ # @return [Symbol, :slack_workspace]
20
+ required :type, const: :slack_workspace
21
+
22
+ # @!method initialize(slack_workspace_id:, type: :slack_workspace)
23
+ # Attach the Bundle to a Slack workspace.
24
+ #
25
+ # Some parameter documentations has been truncated, see
26
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackWorkspaceBundleTargetCreate}
27
+ # for more details.
28
+ #
29
+ # @param slack_workspace_id [String] The identifier of the Slack workspace to attach the Bundle to, starting with `sl
30
+ #
31
+ # @param type [Symbol, :slack_workspace]
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ module Bundles
9
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::Bundles::Targets#create
10
+ class TargetCreateParams < Anthropic::Internal::Type::BaseModel
11
+ extend Anthropic::Internal::Type::RequestParameters::Converter
12
+ include Anthropic::Internal::Type::RequestParameters
13
+
14
+ # @!attribute bundle_id
15
+ # The Bundle's identifier, starting with `capp_`.
16
+ #
17
+ # @return [String]
18
+ required :bundle_id, String
19
+
20
+ # @!attribute betas
21
+ # This endpoint is in beta: requests must send
22
+ # `experimental-claude-tag-2026-10-21` in this header.
23
+ #
24
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
25
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
26
+
27
+ # @!method initialize(bundle_id:, betas: nil, request_options: {})
28
+ # Some parameter documentations has been truncated, see
29
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::TargetCreateParams}
30
+ # for more details.
31
+ #
32
+ # @param bundle_id [String] The Bundle's identifier, starting with `capp_`.
33
+ #
34
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
35
+ #
36
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ module Bundles
9
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::Bundles::Targets#delete
10
+ class TargetDeleteParams < Anthropic::Internal::Type::BaseModel
11
+ extend Anthropic::Internal::Type::RequestParameters::Converter
12
+ include Anthropic::Internal::Type::RequestParameters
13
+
14
+ # @!attribute bundle_id
15
+ # The Bundle's identifier, starting with `capp_`.
16
+ #
17
+ # @return [String]
18
+ required :bundle_id, String
19
+
20
+ # @!attribute target_id
21
+ # The Bundle Target's identifier, starting with `btgt_`. Attach Bundle and List
22
+ # Bundle Targets return it. It is never the identifier of the channel or
23
+ # workspace.
24
+ #
25
+ # @return [String]
26
+ required :target_id, String
27
+
28
+ # @!attribute betas
29
+ # This endpoint is in beta: requests must send
30
+ # `experimental-claude-tag-2026-10-21` in this header.
31
+ #
32
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
33
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
34
+
35
+ # @!method initialize(bundle_id:, target_id:, betas: nil, request_options: {})
36
+ # Some parameter documentations has been truncated, see
37
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::TargetDeleteParams}
38
+ # for more details.
39
+ #
40
+ # @param bundle_id [String] The Bundle's identifier, starting with `capp_`.
41
+ #
42
+ # @param target_id [String] The Bundle Target's identifier, starting with `btgt_`. Attach Bundle and List Bu
43
+ #
44
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
45
+ #
46
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ module Bundles
9
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::Bundles::Targets#list
10
+ class TargetListParams < Anthropic::Internal::Type::BaseModel
11
+ extend Anthropic::Internal::Type::RequestParameters::Converter
12
+ include Anthropic::Internal::Type::RequestParameters
13
+
14
+ # @!attribute bundle_id
15
+ # The Bundle's identifier, starting with `capp_`.
16
+ #
17
+ # @return [String]
18
+ required :bundle_id, String
19
+
20
+ # @!attribute limit
21
+ # Number of items to return per page, between 1 and 100. Defaults to 20.
22
+ #
23
+ # @return [Integer, nil]
24
+ optional :limit, Integer
25
+
26
+ # @!attribute page
27
+ # Opaque cursor from a previous response's `next_page`.
28
+ #
29
+ # @return [String, nil]
30
+ optional :page, String
31
+
32
+ # @!attribute betas
33
+ # This endpoint is in beta: requests must send
34
+ # `experimental-claude-tag-2026-10-21` in this header.
35
+ #
36
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
37
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
38
+
39
+ # @!method initialize(bundle_id:, limit: nil, page: nil, betas: nil, request_options: {})
40
+ # Some parameter documentations has been truncated, see
41
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::TargetListParams}
42
+ # for more details.
43
+ #
44
+ # @param bundle_id [String] The Bundle's identifier, starting with `capp_`.
45
+ #
46
+ # @param limit [Integer] Number of items to return per page, between 1 and 100. Defaults to 20.
47
+ #
48
+ # @param page [String] Opaque cursor from a previous response's `next_page`.
49
+ #
50
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
51
+ #
52
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ module Bundles
9
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::Bundles::Targets#retrieve
10
+ class TargetRetrieveParams < Anthropic::Internal::Type::BaseModel
11
+ extend Anthropic::Internal::Type::RequestParameters::Converter
12
+ include Anthropic::Internal::Type::RequestParameters
13
+
14
+ # @!attribute bundle_id
15
+ # The Bundle's identifier, starting with `capp_`.
16
+ #
17
+ # @return [String]
18
+ required :bundle_id, String
19
+
20
+ # @!attribute target_id
21
+ # The Bundle Target's identifier, starting with `btgt_`. Attach Bundle and List
22
+ # Bundle Targets return it. It is never the identifier of the channel or
23
+ # workspace.
24
+ #
25
+ # @return [String]
26
+ required :target_id, String
27
+
28
+ # @!attribute betas
29
+ # This endpoint is in beta: requests must send
30
+ # `experimental-claude-tag-2026-10-21` in this header.
31
+ #
32
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
33
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
34
+
35
+ # @!method initialize(bundle_id:, target_id:, betas: nil, request_options: {})
36
+ # Some parameter documentations has been truncated, see
37
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::TargetRetrieveParams}
38
+ # for more details.
39
+ #
40
+ # @param bundle_id [String] The Bundle's identifier, starting with `capp_`.
41
+ #
42
+ # @param target_id [String] The Bundle Target's identifier, starting with `btgt_`. Attach Bundle and List Bu
43
+ #
44
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
45
+ #
46
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::SlackChannels#create
9
+ class SlackChannelCreateParams < Anthropic::Internal::Type::BaseModel
10
+ extend Anthropic::Internal::Type::RequestParameters::Converter
11
+ include Anthropic::Internal::Type::RequestParameters
12
+
13
+ # @!attribute slack
14
+ # Slack's own identifiers for the channel to set up. The organization must own the
15
+ # workspace.
16
+ #
17
+ # @return [Anthropic::Models::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers]
18
+ required :slack, -> { Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers }
19
+
20
+ # @!attribute settings
21
+ # Settings to store on the channel, applied as Update Slack Channel applies them.
22
+ #
23
+ # @return [Anthropic::Models::Beta::Organization::BetaClaudeTagSettingsCreate, nil]
24
+ optional :settings, -> { Anthropic::Beta::Organization::BetaClaudeTagSettingsCreate }
25
+
26
+ # @!attribute betas
27
+ # This endpoint is in beta: requests must send
28
+ # `experimental-claude-tag-2026-10-21` in this header.
29
+ #
30
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
31
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
32
+
33
+ # @!method initialize(slack:, settings: nil, betas: nil, request_options: {})
34
+ # Some parameter documentations has been truncated, see
35
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::SlackChannelCreateParams} for
36
+ # more details.
37
+ #
38
+ # @param slack [Anthropic::Models::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers] Slack's own identifiers for the channel to set up. The organization must own the
39
+ #
40
+ # @param settings [Anthropic::Models::Beta::Organization::BetaClaudeTagSettingsCreate] Settings to store on the channel, applied as Update Slack Channel applies them.
41
+ #
42
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
43
+ #
44
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::SlackChannels#delete
9
+ class SlackChannelDeleteParams < Anthropic::Internal::Type::BaseModel
10
+ extend Anthropic::Internal::Type::RequestParameters::Converter
11
+ include Anthropic::Internal::Type::RequestParameters
12
+
13
+ # @!attribute id
14
+ # The channel's identifier, starting with `slch_`.
15
+ #
16
+ # @return [String]
17
+ required :id, String
18
+
19
+ # @!attribute betas
20
+ # This endpoint is in beta: requests must send
21
+ # `experimental-claude-tag-2026-10-21` in this header.
22
+ #
23
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
24
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
25
+
26
+ # @!method initialize(id:, betas: nil, request_options: {})
27
+ # Some parameter documentations has been truncated, see
28
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::SlackChannelDeleteParams} for
29
+ # more details.
30
+ #
31
+ # @param id [String] The channel's identifier, starting with `slch_`.
32
+ #
33
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
34
+ #
35
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,79 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::SlackChannels#list
9
+ class SlackChannelListParams < Anthropic::Internal::Type::BaseModel
10
+ extend Anthropic::Internal::Type::RequestParameters::Converter
11
+ include Anthropic::Internal::Type::RequestParameters
12
+
13
+ # @!attribute slack_workspace_id
14
+ # The Slack workspace whose channels to list: Slack's identifier for it, as in the
15
+ # channel object's `slack.workspace_id`, not the workspace object's `id`.
16
+ #
17
+ # @return [String]
18
+ required :slack_workspace_id, String
19
+
20
+ # @!attribute include_inherited
21
+ # When `true`, `settings` holds what applies in each channel once the settings
22
+ # levels above it are taken into account, and every member of `sources` names the
23
+ # level a value comes from. When `false` or left out, `settings` holds what each
24
+ # channel itself stores.
25
+ #
26
+ # @return [Boolean, nil]
27
+ optional :include_inherited, Anthropic::Internal::Type::Boolean
28
+
29
+ # @!attribute limit
30
+ # Number of items to return per page, between 1 and 100. Defaults to 20.
31
+ #
32
+ # @return [Integer, nil]
33
+ optional :limit, Integer
34
+
35
+ # @!attribute page
36
+ # Opaque cursor from a previous response's `next_page`.
37
+ #
38
+ # @return [String, nil]
39
+ optional :page, String
40
+
41
+ # @!attribute slack_channel_id
42
+ # Slack's identifier for one channel of that workspace, as in the channel object's
43
+ # `slack.channel_id`. It is not the channel object's `id`. With it `data` holds
44
+ # that channel alone, or nothing when the channel is not set up.
45
+ #
46
+ # @return [String, nil]
47
+ optional :slack_channel_id, String
48
+
49
+ # @!attribute betas
50
+ # This endpoint is in beta: requests must send
51
+ # `experimental-claude-tag-2026-10-21` in this header.
52
+ #
53
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
54
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
55
+
56
+ # @!method initialize(slack_workspace_id:, include_inherited: nil, limit: nil, page: nil, slack_channel_id: nil, betas: nil, request_options: {})
57
+ # Some parameter documentations has been truncated, see
58
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::SlackChannelListParams} for
59
+ # more details.
60
+ #
61
+ # @param slack_workspace_id [String] The Slack workspace whose channels to list: Slack's identifier for it, as in the
62
+ #
63
+ # @param include_inherited [Boolean] When `true`, `settings` holds what applies in each channel once the settings lev
64
+ #
65
+ # @param limit [Integer] Number of items to return per page, between 1 and 100. Defaults to 20.
66
+ #
67
+ # @param page [String] Opaque cursor from a previous response's `next_page`.
68
+ #
69
+ # @param slack_channel_id [String] Slack's identifier for one channel of that workspace, as in the channel object's
70
+ #
71
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
72
+ #
73
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
74
+ end
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::SlackChannels#retrieve
9
+ class SlackChannelRetrieveParams < Anthropic::Internal::Type::BaseModel
10
+ extend Anthropic::Internal::Type::RequestParameters::Converter
11
+ include Anthropic::Internal::Type::RequestParameters
12
+
13
+ # @!attribute id
14
+ # The channel's identifier, starting with `slch_`.
15
+ #
16
+ # @return [String]
17
+ required :id, String
18
+
19
+ # @!attribute include_inherited
20
+ # When `true`, `settings` holds what applies in the channel once the settings
21
+ # levels above it are taken into account, and every member of `sources` names the
22
+ # level a value comes from. When `false` or left out, `settings` holds what the
23
+ # channel itself stores.
24
+ #
25
+ # @return [Boolean, nil]
26
+ optional :include_inherited, Anthropic::Internal::Type::Boolean
27
+
28
+ # @!attribute betas
29
+ # This endpoint is in beta: requests must send
30
+ # `experimental-claude-tag-2026-10-21` in this header.
31
+ #
32
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
33
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
34
+
35
+ # @!method initialize(id:, include_inherited: nil, betas: nil, request_options: {})
36
+ # Some parameter documentations has been truncated, see
37
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::SlackChannelRetrieveParams}
38
+ # for more details.
39
+ #
40
+ # @param id [String] The channel's identifier, starting with `slch_`.
41
+ #
42
+ # @param include_inherited [Boolean] When `true`, `settings` holds what applies in the channel once the settings leve
43
+ #
44
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
45
+ #
46
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::SlackChannels#update
9
+ class SlackChannelUpdateParams < Anthropic::Internal::Type::BaseModel
10
+ extend Anthropic::Internal::Type::RequestParameters::Converter
11
+ include Anthropic::Internal::Type::RequestParameters
12
+
13
+ # @!attribute id
14
+ # The channel's identifier, starting with `slch_`.
15
+ #
16
+ # @return [String]
17
+ required :id, String
18
+
19
+ # @!attribute settings
20
+ # The settings to change.
21
+ #
22
+ # @return [Anthropic::Models::Beta::Organization::BetaClaudeTagSettingsUpdate]
23
+ required :settings, -> { Anthropic::Beta::Organization::BetaClaudeTagSettingsUpdate }
24
+
25
+ # @!attribute betas
26
+ # This endpoint is in beta: requests must send
27
+ # `experimental-claude-tag-2026-10-21` in this header.
28
+ #
29
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
30
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
31
+
32
+ # @!method initialize(id:, settings:, betas: nil, request_options: {})
33
+ # Some parameter documentations has been truncated, see
34
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::SlackChannelUpdateParams} for
35
+ # more details.
36
+ #
37
+ # @param id [String] The channel's identifier, starting with `slch_`.
38
+ #
39
+ # @param settings [Anthropic::Models::Beta::Organization::BetaClaudeTagSettingsUpdate] The settings to change.
40
+ #
41
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
42
+ #
43
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,70 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ module ClaudeTag
8
+ # @see Anthropic::Resources::Beta::Organization::ClaudeTag::SlackWorkspaces#list
9
+ class SlackWorkspaceListParams < Anthropic::Internal::Type::BaseModel
10
+ extend Anthropic::Internal::Type::RequestParameters::Converter
11
+ include Anthropic::Internal::Type::RequestParameters
12
+
13
+ # @!attribute include_inherited
14
+ # When `true`, `settings` holds what applies in each workspace once the
15
+ # organization's Slack defaults are taken into account, and every member of
16
+ # `sources` names the level a value comes from. When `false` or left out,
17
+ # `settings` holds what each workspace itself stores.
18
+ #
19
+ # @return [Boolean, nil]
20
+ optional :include_inherited, Anthropic::Internal::Type::Boolean
21
+
22
+ # @!attribute limit
23
+ # Number of items to return per page, between 1 and 100. Defaults to 20.
24
+ #
25
+ # @return [Integer, nil]
26
+ optional :limit, Integer
27
+
28
+ # @!attribute page
29
+ # Opaque cursor from a previous response's `next_page`.
30
+ #
31
+ # @return [String, nil]
32
+ optional :page, String
33
+
34
+ # @!attribute slack_workspace_id
35
+ # Slack's identifier for one workspace, as in the workspace object's
36
+ # `slack.workspace_id`, not its `id`. With it `data` holds that workspace alone,
37
+ # or nothing when it is not set up.
38
+ #
39
+ # @return [String, nil]
40
+ optional :slack_workspace_id, String
41
+
42
+ # @!attribute betas
43
+ # This endpoint is in beta: requests must send
44
+ # `experimental-claude-tag-2026-10-21` in this header.
45
+ #
46
+ # @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
47
+ optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
48
+
49
+ # @!method initialize(include_inherited: nil, limit: nil, page: nil, slack_workspace_id: nil, betas: nil, request_options: {})
50
+ # Some parameter documentations has been truncated, see
51
+ # {Anthropic::Models::Beta::Organization::ClaudeTag::SlackWorkspaceListParams} for
52
+ # more details.
53
+ #
54
+ # @param include_inherited [Boolean] When `true`, `settings` holds what applies in each workspace once the organizati
55
+ #
56
+ # @param limit [Integer] Number of items to return per page, between 1 and 100. Defaults to 20.
57
+ #
58
+ # @param page [String] Opaque cursor from a previous response's `next_page`.
59
+ #
60
+ # @param slack_workspace_id [String] Slack's identifier for one workspace, as in the workspace object's `slack.worksp
61
+ #
62
+ # @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `experimental-claude-tag-2026-10-21
63
+ #
64
+ # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
70
+ end