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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +2 -2
- data/lib/anthropic/client.rb +1 -1
- data/lib/anthropic/helpers/bedrock/client.rb +6 -3
- data/lib/anthropic/helpers/google_cloud/client.rb +9 -25
- data/lib/anthropic/helpers/refusal_fallback.rb +1 -2
- data/lib/anthropic/helpers/stainless_helper_header.rb +3 -2
- data/lib/anthropic/internal/tracing.rb +20 -0
- data/lib/anthropic/internal/transport/base_client.rb +16 -2
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/beta/beta_code_execution_tool_20260120.rb +10 -2
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb +5 -1
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rb +1 -1
- data/lib/anthropic/models/beta/beta_encrypted_code_execution_result_block.rb +9 -1
- data/lib/anthropic/models/beta/beta_encrypted_code_execution_result_block_param.rb +2 -1
- data/lib/anthropic/models/beta/beta_response_tool_union.rb +5 -1
- data/lib/anthropic/models/beta/beta_skill_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_union.rb +5 -1
- data/lib/anthropic/models/beta/environments/beta_self_hosted_work_heartbeat_response.rb +7 -2
- data/lib/anthropic/models/beta/environments/beta_self_hosted_work_queue_stats.rb +2 -4
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +5 -1
- data/lib/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rb +63 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_source.rb +87 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb +72 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb +70 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_create.rb +67 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_update.rb +67 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rb +37 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rb +29 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rb +30 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rb +29 -0
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +3 -3
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rb +66 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rb +32 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rb +87 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rb +86 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_list_params.rb +49 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rb +41 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rb +76 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rb +70 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rb +34 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rb +57 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rb +38 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rb +57 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rb +38 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rb +43 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rb +53 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rb +59 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rb +53 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rb +50 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rb +41 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rb +79 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rb +52 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rb +49 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rb +70 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rb +52 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rb +49 -0
- data/lib/anthropic/models/code_execution_tool_20260120.rb +10 -2
- data/lib/anthropic/models/code_execution_tool_result_block_content.rb +5 -1
- data/lib/anthropic/models/code_execution_tool_result_block_param_content.rb +1 -1
- data/lib/anthropic/models/encrypted_code_execution_result_block.rb +9 -1
- data/lib/anthropic/models/encrypted_code_execution_result_block_param.rb +2 -1
- data/lib/anthropic/models/message_count_tokens_tool.rb +5 -1
- data/lib/anthropic/models/organization/external_key.rb +3 -3
- data/lib/anthropic/models/skill_params.rb +1 -1
- data/lib/anthropic/models/tool_union.rb +5 -1
- data/lib/anthropic/resources/beta/agents/versions.rb +2 -1
- data/lib/anthropic/resources/beta/agents.rb +10 -5
- data/lib/anthropic/resources/beta/deployment_runs.rb +4 -2
- data/lib/anthropic/resources/beta/deployments.rb +16 -8
- data/lib/anthropic/resources/beta/dreams.rb +10 -5
- data/lib/anthropic/resources/beta/environments/work.rb +16 -8
- data/lib/anthropic/resources/beta/environments.rb +12 -6
- data/lib/anthropic/resources/beta/files.rb +10 -5
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +10 -5
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +6 -11
- data/lib/anthropic/resources/beta/memory_stores.rb +12 -6
- data/lib/anthropic/resources/beta/messages/batches.rb +12 -6
- data/lib/anthropic/resources/beta/messages.rb +6 -3
- data/lib/anthropic/resources/beta/models.rb +4 -2
- data/lib/anthropic/resources/beta/organization/analytics/apps/chat/projects.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/artifacts.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/connectors.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/cost.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/cost_report.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/plugins.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/skills.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/summaries.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/usage.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/usage_report.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +5 -4
- data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +5 -4
- data/lib/anthropic/resources/beta/organization/analytics/users.rb +2 -1
- data/lib/anthropic/resources/beta/organization/api_keys.rb +6 -3
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles/targets.rb +204 -0
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +102 -0
- data/lib/anthropic/resources/beta/organization/claude_tag/slack_channels.rb +263 -0
- data/lib/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rb +162 -0
- data/lib/anthropic/resources/beta/organization/claude_tag.rb +31 -0
- data/lib/anthropic/resources/beta/organization/compliance_settings.rb +4 -2
- data/lib/anthropic/resources/beta/organization/external_keys.rb +12 -6
- data/lib/anthropic/resources/beta/organization/federation/issuers.rb +10 -5
- data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +6 -3
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +10 -5
- data/lib/anthropic/resources/beta/organization/invites.rb +8 -4
- data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +10 -5
- data/lib/anthropic/resources/beta/organization/plugins/installation_settings.rb +6 -11
- data/lib/anthropic/resources/beta/organization/plugins/shares.rb +2 -1
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +8 -4
- data/lib/anthropic/resources/beta/organization/plugins.rb +10 -5
- data/lib/anthropic/resources/beta/organization/rate_limits.rb +2 -1
- data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +6 -3
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +10 -5
- data/lib/anthropic/resources/beta/organization/rbac_roles/permissions.rb +2 -1
- data/lib/anthropic/resources/beta/organization/rbac_roles.rb +4 -2
- data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +6 -3
- data/lib/anthropic/resources/beta/organization/service_accounts.rb +10 -5
- data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +2 -1
- data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +8 -4
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +8 -4
- data/lib/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rb +6 -3
- data/lib/anthropic/resources/beta/organization/telemetry_destinations.rb +12 -6
- data/lib/anthropic/resources/beta/organization/users.rb +8 -4
- data/lib/anthropic/resources/beta/organization/webhooks.rb +12 -9
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +10 -5
- data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +4 -6
- data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +10 -5
- data/lib/anthropic/resources/beta/organization/workspaces.rb +10 -5
- data/lib/anthropic/resources/beta/organization.rb +6 -1
- data/lib/anthropic/resources/beta/sessions/events.rb +6 -3
- data/lib/anthropic/resources/beta/sessions/resources.rb +10 -5
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +4 -2
- data/lib/anthropic/resources/beta/sessions/threads.rb +6 -3
- data/lib/anthropic/resources/beta/sessions.rb +12 -6
- data/lib/anthropic/resources/beta/skills/versions.rb +10 -5
- data/lib/anthropic/resources/beta/skills.rb +8 -4
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +8 -4
- data/lib/anthropic/resources/beta/tunnels.rb +12 -6
- data/lib/anthropic/resources/beta/user_profiles/action_urls.rb +2 -1
- data/lib/anthropic/resources/beta/user_profiles.rb +12 -6
- data/lib/anthropic/resources/beta/vaults/credentials.rb +14 -7
- data/lib/anthropic/resources/beta/vaults.rb +12 -6
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +47 -0
- data/rbi/anthropic/helpers/google_cloud/client.rbi +0 -4
- data/rbi/anthropic/internal/tracing.rbi +28 -0
- data/rbi/anthropic/internal/transport/base_client.rbi +5 -1
- data/rbi/anthropic/internal/type/base_page.rbi +2 -0
- data/rbi/anthropic/internal/type/base_stream.rbi +2 -0
- data/rbi/anthropic/internal/type/request_parameters.rbi +4 -0
- data/rbi/anthropic/models/anthropic_beta.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_code_execution_tool_20260120.rbi +10 -2
- data/rbi/anthropic/models/beta/beta_encrypted_code_execution_result_block.rbi +9 -1
- data/rbi/anthropic/models/beta/beta_encrypted_code_execution_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_skill_params.rbi +1 -1
- data/rbi/anthropic/models/beta/environments/beta_self_hosted_work_heartbeat_response.rbi +4 -2
- data/rbi/anthropic/models/beta/environments/beta_self_hosted_work_queue_stats.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rbi +87 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_source.rbi +115 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi +178 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi +108 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbi +110 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbi +110 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rbi +50 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rbi +43 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rbi +67 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rbi +43 -0
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbi +87 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rbi +41 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rbi +154 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rbi +151 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundle_list_params.rbi +92 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rbi +102 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rbi +92 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rbi +43 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rbi +51 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rbi +51 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rbi +82 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rbi +94 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rbi +104 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rbi +94 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rbi +118 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rbi +134 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rbi +95 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rbi +100 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rbi +124 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rbi +95 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rbi +100 -0
- data/rbi/anthropic/models/code_execution_tool_20260120.rbi +10 -2
- data/rbi/anthropic/models/encrypted_code_execution_result_block.rbi +9 -1
- data/rbi/anthropic/models/encrypted_code_execution_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/organization/external_key.rbi +4 -4
- data/rbi/anthropic/models/skill_params.rbi +1 -1
- data/rbi/anthropic/resources/beta/organization/analytics/user_cost_report.rbi +3 -3
- data/rbi/anthropic/resources/beta/organization/analytics/user_usage_report.rbi +3 -3
- data/rbi/anthropic/resources/beta/organization/claude_tag/bundles/targets.rbi +140 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/bundles.rbi +75 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/slack_channels.rbi +203 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rbi +123 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag.rbi +37 -0
- data/rbi/anthropic/resources/beta/organization.rbi +3 -0
- data/sig/anthropic/helpers/google_cloud/client.rbs +0 -2
- data/sig/anthropic/internal/tracing.rbs +14 -0
- data/sig/anthropic/internal/transport/base_client.rbs +3 -0
- data/sig/anthropic/internal/type/request_parameters.rbs +2 -0
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rbs +45 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_source.rbs +73 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs +44 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs +44 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbs +44 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbs +44 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rbs +29 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rbs +23 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbs +51 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rbs +56 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rbs +56 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundle_list_params.rbs +50 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rbs +41 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rbs +54 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rbs +27 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rbs +27 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rbs +30 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rbs +57 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rbs +50 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rbs +38 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rbs +69 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rbs +46 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rbs +64 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rbs +46 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/bundles/targets.rbs +44 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/bundles.rbs +28 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/slack_channels.rbs +50 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rbs +36 -0
- data/sig/anthropic/resources/beta/organization/claude_tag.rbs +17 -0
- data/sig/anthropic/resources/beta/organization.rbs +2 -0
- 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
|