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,73 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_setting_source =
|
|
6
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelSettingSource
|
|
7
|
+
| Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceSettingSource
|
|
8
|
+
| Anthropic::Beta::Organization::BetaClaudeTagSlackParentChannelSettingSource
|
|
9
|
+
| Anthropic::Beta::Organization::BetaClaudeTagSlackDefaultSettingSource
|
|
10
|
+
| Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource
|
|
11
|
+
| Anthropic::Beta::Organization::BetaClaudeTagSlackGridChannelSettingSource
|
|
12
|
+
|
|
13
|
+
module BetaClaudeTagSettingSource
|
|
14
|
+
extend Anthropic::Internal::Type::Union
|
|
15
|
+
|
|
16
|
+
type type_ =
|
|
17
|
+
:slack_channel
|
|
18
|
+
| :slack_workspace
|
|
19
|
+
| :slack_parent_channel
|
|
20
|
+
| :slack_default
|
|
21
|
+
| :default
|
|
22
|
+
| :slack_grid_channel
|
|
23
|
+
|
|
24
|
+
module Type
|
|
25
|
+
extend Anthropic::Internal::Type::Enum
|
|
26
|
+
|
|
27
|
+
SLACK_CHANNEL: :slack_channel
|
|
28
|
+
SLACK_WORKSPACE: :slack_workspace
|
|
29
|
+
SLACK_PARENT_CHANNEL: :slack_parent_channel
|
|
30
|
+
SLACK_DEFAULT: :slack_default
|
|
31
|
+
DEFAULT: :default
|
|
32
|
+
SLACK_GRID_CHANNEL: :slack_grid_channel
|
|
33
|
+
|
|
34
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::BetaClaudeTagSettingSource::type_]
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def self?.variants: -> ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source]
|
|
38
|
+
|
|
39
|
+
def self.new:
|
|
40
|
+
(
|
|
41
|
+
type: :slack_channel | "slack_channel",
|
|
42
|
+
slack_channel_id: String
|
|
43
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagSlackChannelSettingSource
|
|
44
|
+
| (
|
|
45
|
+
type: :slack_workspace | "slack_workspace",
|
|
46
|
+
slack_workspace_id: String
|
|
47
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceSettingSource
|
|
48
|
+
| (
|
|
49
|
+
type: :slack_parent_channel | "slack_parent_channel",
|
|
50
|
+
slack_channel_id: String
|
|
51
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagSlackParentChannelSettingSource
|
|
52
|
+
| (
|
|
53
|
+
type: :slack_default | "slack_default"
|
|
54
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagSlackDefaultSettingSource
|
|
55
|
+
| (
|
|
56
|
+
type: :default | "default"
|
|
57
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource
|
|
58
|
+
| (
|
|
59
|
+
type: :slack_grid_channel | "slack_grid_channel",
|
|
60
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers
|
|
61
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagSlackGridChannelSettingSource
|
|
62
|
+
| (
|
|
63
|
+
type: Anthropic::Models::Beta::Organization::BetaClaudeTagSettingSource::type_
|
|
64
|
+
| String,
|
|
65
|
+
?slack_channel_id: String,
|
|
66
|
+
?slack_workspace_id: String,
|
|
67
|
+
?slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers
|
|
68
|
+
) -> Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_setting_sources =
|
|
6
|
+
{
|
|
7
|
+
enabled: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
8
|
+
environment_id: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
9
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
10
|
+
instructions: ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source],
|
|
11
|
+
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class BetaClaudeTagSettingSources < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor enabled: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
16
|
+
|
|
17
|
+
attr_accessor environment_id: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
18
|
+
|
|
19
|
+
attr_accessor guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
20
|
+
|
|
21
|
+
attr_accessor instructions: ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source]
|
|
22
|
+
|
|
23
|
+
attr_accessor model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
enabled: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
27
|
+
environment_id: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
28
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
29
|
+
instructions: ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source],
|
|
30
|
+
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
31
|
+
) -> void
|
|
32
|
+
|
|
33
|
+
def to_hash: -> {
|
|
34
|
+
enabled: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
35
|
+
environment_id: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
36
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
37
|
+
instructions: ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source],
|
|
38
|
+
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
39
|
+
}
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_settings =
|
|
6
|
+
{
|
|
7
|
+
enabled: bool?,
|
|
8
|
+
environment_id: String?,
|
|
9
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
10
|
+
instructions: String?,
|
|
11
|
+
model: String?
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class BetaClaudeTagSettings < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor enabled: bool?
|
|
16
|
+
|
|
17
|
+
attr_accessor environment_id: String?
|
|
18
|
+
|
|
19
|
+
attr_accessor guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?
|
|
20
|
+
|
|
21
|
+
attr_accessor instructions: String?
|
|
22
|
+
|
|
23
|
+
attr_accessor model: String?
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
enabled: bool?,
|
|
27
|
+
environment_id: String?,
|
|
28
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
29
|
+
instructions: String?,
|
|
30
|
+
model: String?
|
|
31
|
+
) -> void
|
|
32
|
+
|
|
33
|
+
def to_hash: -> {
|
|
34
|
+
enabled: bool?,
|
|
35
|
+
environment_id: String?,
|
|
36
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
37
|
+
instructions: String?,
|
|
38
|
+
model: String?
|
|
39
|
+
}
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_settings_create =
|
|
6
|
+
{
|
|
7
|
+
enabled: bool?,
|
|
8
|
+
environment_id: String?,
|
|
9
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
10
|
+
instructions: String?,
|
|
11
|
+
model: String?
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class BetaClaudeTagSettingsCreate < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor enabled: bool?
|
|
16
|
+
|
|
17
|
+
attr_accessor environment_id: String?
|
|
18
|
+
|
|
19
|
+
attr_accessor guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?
|
|
20
|
+
|
|
21
|
+
attr_accessor instructions: String?
|
|
22
|
+
|
|
23
|
+
attr_accessor model: String?
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
?enabled: bool?,
|
|
27
|
+
?environment_id: String?,
|
|
28
|
+
?guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
29
|
+
?instructions: String?,
|
|
30
|
+
?model: String?
|
|
31
|
+
) -> void
|
|
32
|
+
|
|
33
|
+
def to_hash: -> {
|
|
34
|
+
enabled: bool?,
|
|
35
|
+
environment_id: String?,
|
|
36
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
37
|
+
instructions: String?,
|
|
38
|
+
model: String?
|
|
39
|
+
}
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_settings_update =
|
|
6
|
+
{
|
|
7
|
+
enabled: bool?,
|
|
8
|
+
environment_id: String?,
|
|
9
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
10
|
+
instructions: String?,
|
|
11
|
+
model: String?
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class BetaClaudeTagSettingsUpdate < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor enabled: bool?
|
|
16
|
+
|
|
17
|
+
attr_accessor environment_id: String?
|
|
18
|
+
|
|
19
|
+
attr_accessor guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?
|
|
20
|
+
|
|
21
|
+
attr_accessor instructions: String?
|
|
22
|
+
|
|
23
|
+
attr_accessor model: String?
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
?enabled: bool?,
|
|
27
|
+
?environment_id: String?,
|
|
28
|
+
?guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
29
|
+
?instructions: String?,
|
|
30
|
+
?model: String?
|
|
31
|
+
) -> void
|
|
32
|
+
|
|
33
|
+
def to_hash: -> {
|
|
34
|
+
enabled: bool?,
|
|
35
|
+
environment_id: String?,
|
|
36
|
+
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
37
|
+
instructions: String?,
|
|
38
|
+
model: String?
|
|
39
|
+
}
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_slack_channel_identifiers =
|
|
6
|
+
{ channel_id: String, workspace_id: String }
|
|
7
|
+
|
|
8
|
+
class BetaClaudeTagSlackChannelIdentifiers < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
attr_accessor channel_id: String
|
|
10
|
+
|
|
11
|
+
attr_accessor workspace_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (channel_id: String, workspace_id: String) -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { channel_id: String, workspace_id: String }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_slack_channel_setting_source =
|
|
6
|
+
{ slack_channel_id: String, type: :slack_channel }
|
|
7
|
+
|
|
8
|
+
class BetaClaudeTagSlackChannelSettingSource < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
attr_accessor slack_channel_id: String
|
|
10
|
+
|
|
11
|
+
attr_accessor type: :slack_channel
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
slack_channel_id: String,
|
|
15
|
+
?type: :slack_channel
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> { slack_channel_id: String, type: :slack_channel }
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_slack_default_setting_source =
|
|
6
|
+
{ type: :slack_default }
|
|
7
|
+
|
|
8
|
+
class BetaClaudeTagSlackDefaultSettingSource < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
attr_accessor type: :slack_default
|
|
10
|
+
|
|
11
|
+
def initialize: (?type: :slack_default) -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { type: :slack_default }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rbs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_slack_grid_channel_setting_source =
|
|
6
|
+
{
|
|
7
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
8
|
+
type: :slack_grid_channel
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class BetaClaudeTagSlackGridChannelSettingSource < Anthropic::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers
|
|
13
|
+
|
|
14
|
+
attr_accessor type: :slack_grid_channel
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
18
|
+
?type: :slack_grid_channel
|
|
19
|
+
) -> void
|
|
20
|
+
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
23
|
+
type: :slack_grid_channel
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rbs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_slack_parent_channel_setting_source =
|
|
6
|
+
{ slack_channel_id: String, type: :slack_parent_channel }
|
|
7
|
+
|
|
8
|
+
class BetaClaudeTagSlackParentChannelSettingSource < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
attr_accessor slack_channel_id: String
|
|
10
|
+
|
|
11
|
+
attr_accessor type: :slack_parent_channel
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
slack_channel_id: String,
|
|
15
|
+
?type: :slack_parent_channel
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
slack_channel_id: String,
|
|
20
|
+
type: :slack_parent_channel
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_slack_workspace_identifiers =
|
|
6
|
+
{ workspace_id: String }
|
|
7
|
+
|
|
8
|
+
class BetaClaudeTagSlackWorkspaceIdentifiers < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
attr_accessor workspace_id: String
|
|
10
|
+
|
|
11
|
+
def initialize: (workspace_id: String) -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { workspace_id: String }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rbs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_slack_workspace_setting_source =
|
|
6
|
+
{ slack_workspace_id: String, type: :slack_workspace }
|
|
7
|
+
|
|
8
|
+
class BetaClaudeTagSlackWorkspaceSettingSource < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
attr_accessor slack_workspace_id: String
|
|
10
|
+
|
|
11
|
+
attr_accessor type: :slack_workspace
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
slack_workspace_id: String,
|
|
15
|
+
?type: :slack_workspace
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> { slack_workspace_id: String, type: :slack_workspace }
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type beta_claude_tag_bundle =
|
|
7
|
+
{
|
|
8
|
+
id: String,
|
|
9
|
+
created_at: Time,
|
|
10
|
+
description: String?,
|
|
11
|
+
display_name: String,
|
|
12
|
+
type: :bundle,
|
|
13
|
+
updated_at: Time
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
class BetaClaudeTagBundle < Anthropic::Internal::Type::BaseModel
|
|
17
|
+
attr_accessor id: String
|
|
18
|
+
|
|
19
|
+
attr_accessor created_at: Time
|
|
20
|
+
|
|
21
|
+
attr_accessor description: String?
|
|
22
|
+
|
|
23
|
+
attr_accessor display_name: String
|
|
24
|
+
|
|
25
|
+
attr_accessor type: :bundle
|
|
26
|
+
|
|
27
|
+
attr_accessor updated_at: Time
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
id: String,
|
|
31
|
+
created_at: Time,
|
|
32
|
+
description: String?,
|
|
33
|
+
display_name: String,
|
|
34
|
+
updated_at: Time,
|
|
35
|
+
?type: :bundle
|
|
36
|
+
) -> void
|
|
37
|
+
|
|
38
|
+
def to_hash: -> {
|
|
39
|
+
id: String,
|
|
40
|
+
created_at: Time,
|
|
41
|
+
description: String?,
|
|
42
|
+
display_name: String,
|
|
43
|
+
type: :bundle,
|
|
44
|
+
updated_at: Time
|
|
45
|
+
}
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rbs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type beta_claude_tag_deleted_slack_channel =
|
|
7
|
+
{ id: String, type: :slack_channel_deleted }
|
|
8
|
+
|
|
9
|
+
class BetaClaudeTagDeletedSlackChannel < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor id: String
|
|
11
|
+
|
|
12
|
+
attr_accessor type: :slack_channel_deleted
|
|
13
|
+
|
|
14
|
+
def initialize: (id: String, ?type: :slack_channel_deleted) -> void
|
|
15
|
+
|
|
16
|
+
def to_hash: -> { id: String, type: :slack_channel_deleted }
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type beta_claude_tag_slack_channel =
|
|
7
|
+
{
|
|
8
|
+
id: String,
|
|
9
|
+
created_at: Time,
|
|
10
|
+
settings: Anthropic::Beta::Organization::BetaClaudeTagSettings,
|
|
11
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
12
|
+
sources: Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
13
|
+
type: :slack_channel,
|
|
14
|
+
updated_at: Time
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
class BetaClaudeTagSlackChannel < Anthropic::Internal::Type::BaseModel
|
|
18
|
+
attr_accessor id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor created_at: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor settings: Anthropic::Beta::Organization::BetaClaudeTagSettings
|
|
23
|
+
|
|
24
|
+
attr_accessor slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers
|
|
25
|
+
|
|
26
|
+
attr_accessor sources: Anthropic::Beta::Organization::BetaClaudeTagSettingSources
|
|
27
|
+
|
|
28
|
+
attr_accessor type: :slack_channel
|
|
29
|
+
|
|
30
|
+
attr_accessor updated_at: Time
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
id: String,
|
|
34
|
+
created_at: Time,
|
|
35
|
+
settings: Anthropic::Beta::Organization::BetaClaudeTagSettings,
|
|
36
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
37
|
+
sources: Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
38
|
+
updated_at: Time,
|
|
39
|
+
?type: :slack_channel
|
|
40
|
+
) -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> {
|
|
43
|
+
id: String,
|
|
44
|
+
created_at: Time,
|
|
45
|
+
settings: Anthropic::Beta::Organization::BetaClaudeTagSettings,
|
|
46
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
47
|
+
sources: Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
48
|
+
type: :slack_channel,
|
|
49
|
+
updated_at: Time
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type beta_claude_tag_slack_workspace =
|
|
7
|
+
{
|
|
8
|
+
id: String,
|
|
9
|
+
created_at: Time,
|
|
10
|
+
settings: Anthropic::Beta::Organization::BetaClaudeTagSettings,
|
|
11
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceIdentifiers,
|
|
12
|
+
sources: Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
13
|
+
type: :slack_workspace,
|
|
14
|
+
updated_at: Time
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
class BetaClaudeTagSlackWorkspace < Anthropic::Internal::Type::BaseModel
|
|
18
|
+
attr_accessor id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor created_at: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor settings: Anthropic::Beta::Organization::BetaClaudeTagSettings
|
|
23
|
+
|
|
24
|
+
attr_accessor slack: Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceIdentifiers
|
|
25
|
+
|
|
26
|
+
attr_accessor sources: Anthropic::Beta::Organization::BetaClaudeTagSettingSources
|
|
27
|
+
|
|
28
|
+
attr_accessor type: :slack_workspace
|
|
29
|
+
|
|
30
|
+
attr_accessor updated_at: Time
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
id: String,
|
|
34
|
+
created_at: Time,
|
|
35
|
+
settings: Anthropic::Beta::Organization::BetaClaudeTagSettings,
|
|
36
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceIdentifiers,
|
|
37
|
+
sources: Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
38
|
+
updated_at: Time,
|
|
39
|
+
?type: :slack_workspace
|
|
40
|
+
) -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> {
|
|
43
|
+
id: String,
|
|
44
|
+
created_at: Time,
|
|
45
|
+
settings: Anthropic::Beta::Organization::BetaClaudeTagSettings,
|
|
46
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceIdentifiers,
|
|
47
|
+
sources: Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
48
|
+
type: :slack_workspace,
|
|
49
|
+
updated_at: Time
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type bundle_list_params =
|
|
7
|
+
{
|
|
8
|
+
limit: Integer,
|
|
9
|
+
page: String,
|
|
10
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
11
|
+
}
|
|
12
|
+
& Anthropic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class BundleListParams < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_reader limit: Integer?
|
|
19
|
+
|
|
20
|
+
def limit=: (Integer) -> Integer
|
|
21
|
+
|
|
22
|
+
attr_reader page: String?
|
|
23
|
+
|
|
24
|
+
def page=: (String) -> String
|
|
25
|
+
|
|
26
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
27
|
+
|
|
28
|
+
def betas=: (
|
|
29
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
30
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
?limit: Integer,
|
|
34
|
+
?page: String,
|
|
35
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
36
|
+
?request_options: Anthropic::request_opts
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
limit: Integer,
|
|
41
|
+
page: String,
|
|
42
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
43
|
+
request_options: Anthropic::RequestOptions
|
|
44
|
+
}
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|