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,87 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeTag
|
|
8
|
+
class BetaClaudeTagBundle < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Anthropic::Beta::Organization::ClaudeTag::BetaClaudeTagBundle,
|
|
13
|
+
Anthropic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The Bundle's identifier. Starts with `capp_`.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :id
|
|
20
|
+
|
|
21
|
+
# Time the Bundle was created.
|
|
22
|
+
sig { returns(Time) }
|
|
23
|
+
attr_accessor :created_at
|
|
24
|
+
|
|
25
|
+
# What the Bundle is for. Null when it has none. Read-only.
|
|
26
|
+
sig { returns(T.nilable(String)) }
|
|
27
|
+
attr_accessor :description
|
|
28
|
+
|
|
29
|
+
# The Bundle's name. Always set. Read-only.
|
|
30
|
+
sig { returns(String) }
|
|
31
|
+
attr_accessor :display_name
|
|
32
|
+
|
|
33
|
+
sig { returns(Symbol) }
|
|
34
|
+
attr_accessor :type
|
|
35
|
+
|
|
36
|
+
# Time of the last change to the Bundle.
|
|
37
|
+
sig { returns(Time) }
|
|
38
|
+
attr_accessor :updated_at
|
|
39
|
+
|
|
40
|
+
# A named set of access that Claude can use in a Slack channel or a Slack
|
|
41
|
+
# workspace: connectors, repositories and credentials. Created and edited in
|
|
42
|
+
# claude.ai.
|
|
43
|
+
sig do
|
|
44
|
+
params(
|
|
45
|
+
id: String,
|
|
46
|
+
created_at: Time,
|
|
47
|
+
description: T.nilable(String),
|
|
48
|
+
display_name: String,
|
|
49
|
+
updated_at: Time,
|
|
50
|
+
type: Symbol
|
|
51
|
+
).returns(T.attached_class)
|
|
52
|
+
end
|
|
53
|
+
def self.new(
|
|
54
|
+
# The Bundle's identifier. Starts with `capp_`.
|
|
55
|
+
id:,
|
|
56
|
+
# Time the Bundle was created.
|
|
57
|
+
created_at:,
|
|
58
|
+
# What the Bundle is for. Null when it has none. Read-only.
|
|
59
|
+
description:,
|
|
60
|
+
# The Bundle's name. Always set. Read-only.
|
|
61
|
+
display_name:,
|
|
62
|
+
# Time of the last change to the Bundle.
|
|
63
|
+
updated_at:,
|
|
64
|
+
type: :bundle
|
|
65
|
+
)
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
sig do
|
|
69
|
+
override.returns(
|
|
70
|
+
{
|
|
71
|
+
id: String,
|
|
72
|
+
created_at: Time,
|
|
73
|
+
description: T.nilable(String),
|
|
74
|
+
display_name: String,
|
|
75
|
+
type: Symbol,
|
|
76
|
+
updated_at: Time
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
end
|
|
80
|
+
def to_hash
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rbi
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeTag
|
|
8
|
+
class BetaClaudeTagDeletedSlackChannel < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Anthropic::Beta::Organization::ClaudeTag::BetaClaudeTagDeletedSlackChannel,
|
|
13
|
+
Anthropic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The removed channel's identifier.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :id
|
|
20
|
+
|
|
21
|
+
sig { returns(Symbol) }
|
|
22
|
+
attr_accessor :type
|
|
23
|
+
|
|
24
|
+
# Confirms that a Slack channel was removed from Claude Tag.
|
|
25
|
+
sig { params(id: String, type: Symbol).returns(T.attached_class) }
|
|
26
|
+
def self.new(
|
|
27
|
+
# The removed channel's identifier.
|
|
28
|
+
id:,
|
|
29
|
+
type: :slack_channel_deleted
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
sig { override.returns({ id: String, type: Symbol }) }
|
|
34
|
+
def to_hash
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeTag
|
|
8
|
+
class BetaClaudeTagSlackChannel < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Anthropic::Beta::Organization::ClaudeTag::BetaClaudeTagSlackChannel,
|
|
13
|
+
Anthropic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The channel's identifier. Starts with `slch_`. It does not change for as long as
|
|
18
|
+
# the channel is set up, with one exception: a channel that is not configured gets
|
|
19
|
+
# a new one when claude.ai replaces its record, which happens only while the
|
|
20
|
+
# organization's read-only mode is off. A channel that is removed and set up again
|
|
21
|
+
# also has a new one. The old one keeps returning 404; look the channel up by its
|
|
22
|
+
# Slack identifiers for the new one.
|
|
23
|
+
sig { returns(String) }
|
|
24
|
+
attr_accessor :id
|
|
25
|
+
|
|
26
|
+
# Time the channel was set up, by whichever route. It does not change for as long
|
|
27
|
+
# as `id` does not.
|
|
28
|
+
sig { returns(Time) }
|
|
29
|
+
attr_accessor :created_at
|
|
30
|
+
|
|
31
|
+
# What the channel itself stores or, with `include_inherited`, what applies in it.
|
|
32
|
+
# `sources` says which.
|
|
33
|
+
sig do
|
|
34
|
+
returns(Anthropic::Beta::Organization::BetaClaudeTagSettings)
|
|
35
|
+
end
|
|
36
|
+
attr_reader :settings
|
|
37
|
+
|
|
38
|
+
sig do
|
|
39
|
+
params(
|
|
40
|
+
settings:
|
|
41
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettings::OrHash
|
|
42
|
+
).void
|
|
43
|
+
end
|
|
44
|
+
attr_writer :settings
|
|
45
|
+
|
|
46
|
+
# Slack's own identifiers for the channel.
|
|
47
|
+
sig do
|
|
48
|
+
returns(
|
|
49
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers
|
|
50
|
+
)
|
|
51
|
+
end
|
|
52
|
+
attr_reader :slack
|
|
53
|
+
|
|
54
|
+
sig do
|
|
55
|
+
params(
|
|
56
|
+
slack:
|
|
57
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers::OrHash
|
|
58
|
+
).void
|
|
59
|
+
end
|
|
60
|
+
attr_writer :slack
|
|
61
|
+
|
|
62
|
+
# For each setting, the settings level its value in `settings` comes from.
|
|
63
|
+
sig do
|
|
64
|
+
returns(
|
|
65
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
attr_reader :sources
|
|
69
|
+
|
|
70
|
+
sig do
|
|
71
|
+
params(
|
|
72
|
+
sources:
|
|
73
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources::OrHash
|
|
74
|
+
).void
|
|
75
|
+
end
|
|
76
|
+
attr_writer :sources
|
|
77
|
+
|
|
78
|
+
sig { returns(Symbol) }
|
|
79
|
+
attr_accessor :type
|
|
80
|
+
|
|
81
|
+
# Time Claude Tag's record of the channel last changed. It moves on every change
|
|
82
|
+
# to a setting, and can also move when something no response holds changes, so a
|
|
83
|
+
# later value says to read the channel again, not that a setting changed.
|
|
84
|
+
# Attaching or detaching a Bundle does not by itself move it.
|
|
85
|
+
sig { returns(Time) }
|
|
86
|
+
attr_accessor :updated_at
|
|
87
|
+
|
|
88
|
+
# A Slack channel set up for Claude Tag, with the settings it stores or, with
|
|
89
|
+
# `include_inherited`, the settings that apply in it.
|
|
90
|
+
sig do
|
|
91
|
+
params(
|
|
92
|
+
id: String,
|
|
93
|
+
created_at: Time,
|
|
94
|
+
settings:
|
|
95
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettings::OrHash,
|
|
96
|
+
slack:
|
|
97
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers::OrHash,
|
|
98
|
+
sources:
|
|
99
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources::OrHash,
|
|
100
|
+
updated_at: Time,
|
|
101
|
+
type: Symbol
|
|
102
|
+
).returns(T.attached_class)
|
|
103
|
+
end
|
|
104
|
+
def self.new(
|
|
105
|
+
# The channel's identifier. Starts with `slch_`. It does not change for as long as
|
|
106
|
+
# the channel is set up, with one exception: a channel that is not configured gets
|
|
107
|
+
# a new one when claude.ai replaces its record, which happens only while the
|
|
108
|
+
# organization's read-only mode is off. A channel that is removed and set up again
|
|
109
|
+
# also has a new one. The old one keeps returning 404; look the channel up by its
|
|
110
|
+
# Slack identifiers for the new one.
|
|
111
|
+
id:,
|
|
112
|
+
# Time the channel was set up, by whichever route. It does not change for as long
|
|
113
|
+
# as `id` does not.
|
|
114
|
+
created_at:,
|
|
115
|
+
# What the channel itself stores or, with `include_inherited`, what applies in it.
|
|
116
|
+
# `sources` says which.
|
|
117
|
+
settings:,
|
|
118
|
+
# Slack's own identifiers for the channel.
|
|
119
|
+
slack:,
|
|
120
|
+
# For each setting, the settings level its value in `settings` comes from.
|
|
121
|
+
sources:,
|
|
122
|
+
# Time Claude Tag's record of the channel last changed. It moves on every change
|
|
123
|
+
# to a setting, and can also move when something no response holds changes, so a
|
|
124
|
+
# later value says to read the channel again, not that a setting changed.
|
|
125
|
+
# Attaching or detaching a Bundle does not by itself move it.
|
|
126
|
+
updated_at:,
|
|
127
|
+
type: :slack_channel
|
|
128
|
+
)
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
sig do
|
|
132
|
+
override.returns(
|
|
133
|
+
{
|
|
134
|
+
id: String,
|
|
135
|
+
created_at: Time,
|
|
136
|
+
settings:
|
|
137
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettings,
|
|
138
|
+
slack:
|
|
139
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
140
|
+
sources:
|
|
141
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
142
|
+
type: Symbol,
|
|
143
|
+
updated_at: Time
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
def to_hash
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
end
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeTag
|
|
8
|
+
class BetaClaudeTagSlackWorkspace < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Anthropic::Beta::Organization::ClaudeTag::BetaClaudeTagSlackWorkspace,
|
|
13
|
+
Anthropic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The workspace's identifier. Starts with `slws_`. It does not change for as long
|
|
18
|
+
# as the workspace is set up. A workspace that is removed and set up again has a
|
|
19
|
+
# new one, and the old one keeps returning 404; look the workspace up by its Slack
|
|
20
|
+
# identifier for the new one.
|
|
21
|
+
sig { returns(String) }
|
|
22
|
+
attr_accessor :id
|
|
23
|
+
|
|
24
|
+
# Time the workspace was set up, by whichever route. It does not change for as
|
|
25
|
+
# long as `id` does not.
|
|
26
|
+
sig { returns(Time) }
|
|
27
|
+
attr_accessor :created_at
|
|
28
|
+
|
|
29
|
+
# What the workspace itself stores or, with `include_inherited`, what applies in
|
|
30
|
+
# it. `sources` says which.
|
|
31
|
+
sig do
|
|
32
|
+
returns(Anthropic::Beta::Organization::BetaClaudeTagSettings)
|
|
33
|
+
end
|
|
34
|
+
attr_reader :settings
|
|
35
|
+
|
|
36
|
+
sig do
|
|
37
|
+
params(
|
|
38
|
+
settings:
|
|
39
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettings::OrHash
|
|
40
|
+
).void
|
|
41
|
+
end
|
|
42
|
+
attr_writer :settings
|
|
43
|
+
|
|
44
|
+
# Slack's own identifier for the workspace.
|
|
45
|
+
sig do
|
|
46
|
+
returns(
|
|
47
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceIdentifiers
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
attr_reader :slack
|
|
51
|
+
|
|
52
|
+
sig do
|
|
53
|
+
params(
|
|
54
|
+
slack:
|
|
55
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceIdentifiers::OrHash
|
|
56
|
+
).void
|
|
57
|
+
end
|
|
58
|
+
attr_writer :slack
|
|
59
|
+
|
|
60
|
+
# For each setting, the settings level its value in `settings` comes from.
|
|
61
|
+
sig do
|
|
62
|
+
returns(
|
|
63
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources
|
|
64
|
+
)
|
|
65
|
+
end
|
|
66
|
+
attr_reader :sources
|
|
67
|
+
|
|
68
|
+
sig do
|
|
69
|
+
params(
|
|
70
|
+
sources:
|
|
71
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources::OrHash
|
|
72
|
+
).void
|
|
73
|
+
end
|
|
74
|
+
attr_writer :sources
|
|
75
|
+
|
|
76
|
+
sig { returns(Symbol) }
|
|
77
|
+
attr_accessor :type
|
|
78
|
+
|
|
79
|
+
# Time Claude Tag's record of the workspace last changed. It moves on every change
|
|
80
|
+
# to a setting, and can also move when something no response holds changes, so a
|
|
81
|
+
# later value says to read the workspace again, not that a setting changed.
|
|
82
|
+
# Attaching or detaching a Bundle does not by itself move it.
|
|
83
|
+
sig { returns(Time) }
|
|
84
|
+
attr_accessor :updated_at
|
|
85
|
+
|
|
86
|
+
# A Slack workspace the organization has connected, itself or through its Slack
|
|
87
|
+
# Enterprise Grid, with the settings it stores or, with `include_inherited`, the
|
|
88
|
+
# settings that apply in it.
|
|
89
|
+
sig do
|
|
90
|
+
params(
|
|
91
|
+
id: String,
|
|
92
|
+
created_at: Time,
|
|
93
|
+
settings:
|
|
94
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettings::OrHash,
|
|
95
|
+
slack:
|
|
96
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceIdentifiers::OrHash,
|
|
97
|
+
sources:
|
|
98
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources::OrHash,
|
|
99
|
+
updated_at: Time,
|
|
100
|
+
type: Symbol
|
|
101
|
+
).returns(T.attached_class)
|
|
102
|
+
end
|
|
103
|
+
def self.new(
|
|
104
|
+
# The workspace's identifier. Starts with `slws_`. It does not change for as long
|
|
105
|
+
# as the workspace is set up. A workspace that is removed and set up again has a
|
|
106
|
+
# new one, and the old one keeps returning 404; look the workspace up by its Slack
|
|
107
|
+
# identifier for the new one.
|
|
108
|
+
id:,
|
|
109
|
+
# Time the workspace was set up, by whichever route. It does not change for as
|
|
110
|
+
# long as `id` does not.
|
|
111
|
+
created_at:,
|
|
112
|
+
# What the workspace itself stores or, with `include_inherited`, what applies in
|
|
113
|
+
# it. `sources` says which.
|
|
114
|
+
settings:,
|
|
115
|
+
# Slack's own identifier for the workspace.
|
|
116
|
+
slack:,
|
|
117
|
+
# For each setting, the settings level its value in `settings` comes from.
|
|
118
|
+
sources:,
|
|
119
|
+
# Time Claude Tag's record of the workspace last changed. It moves on every change
|
|
120
|
+
# to a setting, and can also move when something no response holds changes, so a
|
|
121
|
+
# later value says to read the workspace again, not that a setting changed.
|
|
122
|
+
# Attaching or detaching a Bundle does not by itself move it.
|
|
123
|
+
updated_at:,
|
|
124
|
+
type: :slack_workspace
|
|
125
|
+
)
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
sig do
|
|
129
|
+
override.returns(
|
|
130
|
+
{
|
|
131
|
+
id: String,
|
|
132
|
+
created_at: Time,
|
|
133
|
+
settings:
|
|
134
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettings,
|
|
135
|
+
slack:
|
|
136
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceIdentifiers,
|
|
137
|
+
sources:
|
|
138
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
139
|
+
type: Symbol,
|
|
140
|
+
updated_at: Time
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
end
|
|
144
|
+
def to_hash
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
end
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeTag
|
|
8
|
+
class BundleListParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
OrHash =
|
|
13
|
+
T.type_alias do
|
|
14
|
+
T.any(
|
|
15
|
+
Anthropic::Beta::Organization::ClaudeTag::BundleListParams,
|
|
16
|
+
Anthropic::Internal::AnyHash
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
# Number of items to return per page, between 1 and 100. Defaults to 20.
|
|
21
|
+
sig { returns(T.nilable(Integer)) }
|
|
22
|
+
attr_reader :limit
|
|
23
|
+
|
|
24
|
+
sig { params(limit: Integer).void }
|
|
25
|
+
attr_writer :limit
|
|
26
|
+
|
|
27
|
+
# Opaque cursor from a previous response's `next_page`.
|
|
28
|
+
sig { returns(T.nilable(String)) }
|
|
29
|
+
attr_reader :page
|
|
30
|
+
|
|
31
|
+
sig { params(page: String).void }
|
|
32
|
+
attr_writer :page
|
|
33
|
+
|
|
34
|
+
# This endpoint is in beta: requests must send
|
|
35
|
+
# `experimental-claude-tag-2026-10-21` in this header.
|
|
36
|
+
sig do
|
|
37
|
+
returns(
|
|
38
|
+
T.nilable(
|
|
39
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
40
|
+
)
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
attr_reader :betas
|
|
44
|
+
|
|
45
|
+
sig do
|
|
46
|
+
params(
|
|
47
|
+
betas:
|
|
48
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
49
|
+
).void
|
|
50
|
+
end
|
|
51
|
+
attr_writer :betas
|
|
52
|
+
|
|
53
|
+
sig do
|
|
54
|
+
params(
|
|
55
|
+
limit: Integer,
|
|
56
|
+
page: String,
|
|
57
|
+
betas:
|
|
58
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
59
|
+
request_options: Anthropic::RequestOptions::OrHash
|
|
60
|
+
).returns(T.attached_class)
|
|
61
|
+
end
|
|
62
|
+
def self.new(
|
|
63
|
+
# Number of items to return per page, between 1 and 100. Defaults to 20.
|
|
64
|
+
limit: nil,
|
|
65
|
+
# Opaque cursor from a previous response's `next_page`.
|
|
66
|
+
page: nil,
|
|
67
|
+
# This endpoint is in beta: requests must send
|
|
68
|
+
# `experimental-claude-tag-2026-10-21` in this header.
|
|
69
|
+
betas: nil,
|
|
70
|
+
request_options: {}
|
|
71
|
+
)
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
sig do
|
|
75
|
+
override.returns(
|
|
76
|
+
{
|
|
77
|
+
limit: Integer,
|
|
78
|
+
page: String,
|
|
79
|
+
betas:
|
|
80
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
81
|
+
request_options: Anthropic::RequestOptions
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
end
|
|
85
|
+
def to_hash
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeTag
|
|
8
|
+
class BundleRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
OrHash =
|
|
13
|
+
T.type_alias do
|
|
14
|
+
T.any(
|
|
15
|
+
Anthropic::Beta::Organization::ClaudeTag::BundleRetrieveParams,
|
|
16
|
+
Anthropic::Internal::AnyHash
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
# The Bundle's identifier, starting with `capp_`.
|
|
21
|
+
sig { returns(String) }
|
|
22
|
+
attr_accessor :bundle_id
|
|
23
|
+
|
|
24
|
+
# This endpoint is in beta: requests must send
|
|
25
|
+
# `experimental-claude-tag-2026-10-21` in this header.
|
|
26
|
+
sig do
|
|
27
|
+
returns(
|
|
28
|
+
T.nilable(
|
|
29
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
30
|
+
)
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
attr_reader :betas
|
|
34
|
+
|
|
35
|
+
sig do
|
|
36
|
+
params(
|
|
37
|
+
betas:
|
|
38
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
39
|
+
).void
|
|
40
|
+
end
|
|
41
|
+
attr_writer :betas
|
|
42
|
+
|
|
43
|
+
sig do
|
|
44
|
+
params(
|
|
45
|
+
bundle_id: String,
|
|
46
|
+
betas:
|
|
47
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
48
|
+
request_options: Anthropic::RequestOptions::OrHash
|
|
49
|
+
).returns(T.attached_class)
|
|
50
|
+
end
|
|
51
|
+
def self.new(
|
|
52
|
+
# The Bundle's identifier, starting with `capp_`.
|
|
53
|
+
bundle_id:,
|
|
54
|
+
# This endpoint is in beta: requests must send
|
|
55
|
+
# `experimental-claude-tag-2026-10-21` in this header.
|
|
56
|
+
betas: nil,
|
|
57
|
+
request_options: {}
|
|
58
|
+
)
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
sig do
|
|
62
|
+
override.returns(
|
|
63
|
+
{
|
|
64
|
+
bundle_id: String,
|
|
65
|
+
betas:
|
|
66
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
67
|
+
request_options: Anthropic::RequestOptions
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
end
|
|
71
|
+
def to_hash
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|