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,41 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type bundle_retrieve_params =
|
|
7
|
+
{
|
|
8
|
+
bundle_id: String,
|
|
9
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
10
|
+
}
|
|
11
|
+
& Anthropic::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class BundleRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
14
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_accessor bundle_id: String
|
|
18
|
+
|
|
19
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
20
|
+
|
|
21
|
+
def betas=: (
|
|
22
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
23
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
bundle_id: String,
|
|
27
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
28
|
+
?request_options: Anthropic::request_opts
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
bundle_id: String,
|
|
33
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
34
|
+
request_options: Anthropic::RequestOptions
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rbs
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type beta_claude_tag_bundle_target =
|
|
8
|
+
Anthropic::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackChannelBundleTarget
|
|
9
|
+
| Anthropic::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackWorkspaceBundleTarget
|
|
10
|
+
|
|
11
|
+
module BetaClaudeTagBundleTarget
|
|
12
|
+
extend Anthropic::Internal::Type::Union
|
|
13
|
+
|
|
14
|
+
type type_ = :slack_channel | :slack_workspace
|
|
15
|
+
|
|
16
|
+
module Type
|
|
17
|
+
extend Anthropic::Internal::Type::Enum
|
|
18
|
+
|
|
19
|
+
SLACK_CHANNEL: :slack_channel
|
|
20
|
+
SLACK_WORKSPACE: :slack_workspace
|
|
21
|
+
|
|
22
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagBundleTarget::type_]
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def self?.variants: -> ::Array[Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::beta_claude_tag_bundle_target]
|
|
26
|
+
|
|
27
|
+
def self.new:
|
|
28
|
+
(
|
|
29
|
+
type: :slack_channel | "slack_channel",
|
|
30
|
+
id: String,
|
|
31
|
+
created_at: Time,
|
|
32
|
+
slack_channel_id: String
|
|
33
|
+
) -> Anthropic::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackChannelBundleTarget
|
|
34
|
+
| (
|
|
35
|
+
type: :slack_workspace | "slack_workspace",
|
|
36
|
+
id: String,
|
|
37
|
+
created_at: Time,
|
|
38
|
+
slack_workspace_id: String
|
|
39
|
+
) -> Anthropic::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackWorkspaceBundleTarget
|
|
40
|
+
| (
|
|
41
|
+
type: Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagBundleTarget::type_
|
|
42
|
+
| String,
|
|
43
|
+
id: String,
|
|
44
|
+
created_at: Time,
|
|
45
|
+
?slack_channel_id: String,
|
|
46
|
+
?slack_workspace_id: String
|
|
47
|
+
) -> Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::beta_claude_tag_bundle_target
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type beta_claude_tag_bundle_target_create =
|
|
8
|
+
Anthropic::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackChannelBundleTargetCreate
|
|
9
|
+
| Anthropic::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackWorkspaceBundleTargetCreate
|
|
10
|
+
|
|
11
|
+
module BetaClaudeTagBundleTargetCreate
|
|
12
|
+
extend Anthropic::Internal::Type::Union
|
|
13
|
+
|
|
14
|
+
type type_ = :slack_channel | :slack_workspace
|
|
15
|
+
|
|
16
|
+
module Type
|
|
17
|
+
extend Anthropic::Internal::Type::Enum
|
|
18
|
+
|
|
19
|
+
SLACK_CHANNEL: :slack_channel
|
|
20
|
+
SLACK_WORKSPACE: :slack_workspace
|
|
21
|
+
|
|
22
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagBundleTargetCreate::type_]
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def self?.variants: -> ::Array[Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::beta_claude_tag_bundle_target_create]
|
|
26
|
+
|
|
27
|
+
def self.new:
|
|
28
|
+
(
|
|
29
|
+
type: :slack_channel | "slack_channel",
|
|
30
|
+
slack_channel_id: String
|
|
31
|
+
) -> Anthropic::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackChannelBundleTargetCreate
|
|
32
|
+
| (
|
|
33
|
+
type: :slack_workspace | "slack_workspace",
|
|
34
|
+
slack_workspace_id: String
|
|
35
|
+
) -> Anthropic::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagSlackWorkspaceBundleTargetCreate
|
|
36
|
+
| (
|
|
37
|
+
type: Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::BetaClaudeTagBundleTargetCreate::type_
|
|
38
|
+
| String,
|
|
39
|
+
?slack_channel_id: String,
|
|
40
|
+
?slack_workspace_id: String
|
|
41
|
+
) -> Anthropic::Models::Beta::Organization::ClaudeTag::Bundles::beta_claude_tag_bundle_target_create
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type beta_claude_tag_deleted_bundle_target =
|
|
8
|
+
{ id: String, type: :bundle_target_deleted }
|
|
9
|
+
|
|
10
|
+
class BetaClaudeTagDeletedBundleTarget < Anthropic::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor id: String
|
|
12
|
+
|
|
13
|
+
attr_accessor type: :bundle_target_deleted
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
id: String,
|
|
17
|
+
?type: :bundle_target_deleted
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> { id: String, type: :bundle_target_deleted }
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type beta_claude_tag_slack_channel_bundle_target =
|
|
8
|
+
{
|
|
9
|
+
id: String,
|
|
10
|
+
created_at: Time,
|
|
11
|
+
slack_channel_id: String,
|
|
12
|
+
type: :slack_channel
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class BetaClaudeTagSlackChannelBundleTarget < Anthropic::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor created_at: Time
|
|
19
|
+
|
|
20
|
+
attr_accessor slack_channel_id: String
|
|
21
|
+
|
|
22
|
+
attr_accessor type: :slack_channel
|
|
23
|
+
|
|
24
|
+
def initialize: (
|
|
25
|
+
id: String,
|
|
26
|
+
created_at: Time,
|
|
27
|
+
slack_channel_id: String,
|
|
28
|
+
?type: :slack_channel
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
id: String,
|
|
33
|
+
created_at: Time,
|
|
34
|
+
slack_channel_id: String,
|
|
35
|
+
type: :slack_channel
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type beta_claude_tag_slack_channel_bundle_target_create =
|
|
8
|
+
{ slack_channel_id: String, type: :slack_channel }
|
|
9
|
+
|
|
10
|
+
class BetaClaudeTagSlackChannelBundleTargetCreate < Anthropic::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor slack_channel_id: String
|
|
12
|
+
|
|
13
|
+
attr_accessor type: :slack_channel
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
slack_channel_id: String,
|
|
17
|
+
?type: :slack_channel
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> { slack_channel_id: String, type: :slack_channel }
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type beta_claude_tag_slack_workspace_bundle_target =
|
|
8
|
+
{
|
|
9
|
+
id: String,
|
|
10
|
+
created_at: Time,
|
|
11
|
+
slack_workspace_id: String,
|
|
12
|
+
type: :slack_workspace
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class BetaClaudeTagSlackWorkspaceBundleTarget < Anthropic::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor created_at: Time
|
|
19
|
+
|
|
20
|
+
attr_accessor slack_workspace_id: String
|
|
21
|
+
|
|
22
|
+
attr_accessor type: :slack_workspace
|
|
23
|
+
|
|
24
|
+
def initialize: (
|
|
25
|
+
id: String,
|
|
26
|
+
created_at: Time,
|
|
27
|
+
slack_workspace_id: String,
|
|
28
|
+
?type: :slack_workspace
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
id: String,
|
|
33
|
+
created_at: Time,
|
|
34
|
+
slack_workspace_id: String,
|
|
35
|
+
type: :slack_workspace
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type beta_claude_tag_slack_workspace_bundle_target_create =
|
|
8
|
+
{ slack_workspace_id: String, type: :slack_workspace }
|
|
9
|
+
|
|
10
|
+
class BetaClaudeTagSlackWorkspaceBundleTargetCreate < Anthropic::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor slack_workspace_id: String
|
|
12
|
+
|
|
13
|
+
attr_accessor type: :slack_workspace
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
slack_workspace_id: String,
|
|
17
|
+
?type: :slack_workspace
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
slack_workspace_id: String,
|
|
22
|
+
type: :slack_workspace
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type target_create_params =
|
|
8
|
+
{
|
|
9
|
+
bundle_id: String,
|
|
10
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
11
|
+
}
|
|
12
|
+
& Anthropic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class TargetCreateParams < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor bundle_id: String
|
|
19
|
+
|
|
20
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
21
|
+
|
|
22
|
+
def betas=: (
|
|
23
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
24
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
bundle_id: String,
|
|
28
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
29
|
+
?request_options: Anthropic::request_opts
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
bundle_id: String,
|
|
34
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
35
|
+
request_options: Anthropic::RequestOptions
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type target_delete_params =
|
|
8
|
+
{
|
|
9
|
+
bundle_id: String,
|
|
10
|
+
target_id: String,
|
|
11
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
12
|
+
}
|
|
13
|
+
& Anthropic::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class TargetDeleteParams < Anthropic::Internal::Type::BaseModel
|
|
16
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_accessor bundle_id: String
|
|
20
|
+
|
|
21
|
+
attr_accessor target_id: String
|
|
22
|
+
|
|
23
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
24
|
+
|
|
25
|
+
def betas=: (
|
|
26
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
27
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
bundle_id: String,
|
|
31
|
+
target_id: String,
|
|
32
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
33
|
+
?request_options: Anthropic::request_opts
|
|
34
|
+
) -> void
|
|
35
|
+
|
|
36
|
+
def to_hash: -> {
|
|
37
|
+
bundle_id: String,
|
|
38
|
+
target_id: String,
|
|
39
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
40
|
+
request_options: Anthropic::RequestOptions
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type target_list_params =
|
|
8
|
+
{
|
|
9
|
+
bundle_id: String,
|
|
10
|
+
limit: Integer,
|
|
11
|
+
page: String,
|
|
12
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
13
|
+
}
|
|
14
|
+
& Anthropic::Internal::Type::request_parameters
|
|
15
|
+
|
|
16
|
+
class TargetListParams < Anthropic::Internal::Type::BaseModel
|
|
17
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
18
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
19
|
+
|
|
20
|
+
attr_accessor bundle_id: String
|
|
21
|
+
|
|
22
|
+
attr_reader limit: Integer?
|
|
23
|
+
|
|
24
|
+
def limit=: (Integer) -> Integer
|
|
25
|
+
|
|
26
|
+
attr_reader page: String?
|
|
27
|
+
|
|
28
|
+
def page=: (String) -> String
|
|
29
|
+
|
|
30
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
31
|
+
|
|
32
|
+
def betas=: (
|
|
33
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
34
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
35
|
+
|
|
36
|
+
def initialize: (
|
|
37
|
+
bundle_id: String,
|
|
38
|
+
?limit: Integer,
|
|
39
|
+
?page: String,
|
|
40
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
41
|
+
?request_options: Anthropic::request_opts
|
|
42
|
+
) -> void
|
|
43
|
+
|
|
44
|
+
def to_hash: -> {
|
|
45
|
+
bundle_id: String,
|
|
46
|
+
limit: Integer,
|
|
47
|
+
page: String,
|
|
48
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
49
|
+
request_options: Anthropic::RequestOptions
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
module Bundles
|
|
7
|
+
type target_retrieve_params =
|
|
8
|
+
{
|
|
9
|
+
bundle_id: String,
|
|
10
|
+
target_id: String,
|
|
11
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
12
|
+
}
|
|
13
|
+
& Anthropic::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class TargetRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
16
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_accessor bundle_id: String
|
|
20
|
+
|
|
21
|
+
attr_accessor target_id: String
|
|
22
|
+
|
|
23
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
24
|
+
|
|
25
|
+
def betas=: (
|
|
26
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
27
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
bundle_id: String,
|
|
31
|
+
target_id: String,
|
|
32
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
33
|
+
?request_options: Anthropic::request_opts
|
|
34
|
+
) -> void
|
|
35
|
+
|
|
36
|
+
def to_hash: -> {
|
|
37
|
+
bundle_id: String,
|
|
38
|
+
target_id: String,
|
|
39
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
40
|
+
request_options: Anthropic::RequestOptions
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type slack_channel_create_params =
|
|
7
|
+
{
|
|
8
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
9
|
+
settings: Anthropic::Beta::Organization::BetaClaudeTagSettingsCreate,
|
|
10
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
11
|
+
}
|
|
12
|
+
& Anthropic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class SlackChannelCreateParams < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers
|
|
19
|
+
|
|
20
|
+
attr_reader settings: Anthropic::Beta::Organization::BetaClaudeTagSettingsCreate?
|
|
21
|
+
|
|
22
|
+
def settings=: (
|
|
23
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingsCreate
|
|
24
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagSettingsCreate
|
|
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
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
34
|
+
?settings: Anthropic::Beta::Organization::BetaClaudeTagSettingsCreate,
|
|
35
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
36
|
+
?request_options: Anthropic::request_opts
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
slack: Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers,
|
|
41
|
+
settings: Anthropic::Beta::Organization::BetaClaudeTagSettingsCreate,
|
|
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
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type slack_channel_delete_params =
|
|
7
|
+
{ id: String, betas: ::Array[Anthropic::Models::anthropic_beta] }
|
|
8
|
+
& Anthropic::Internal::Type::request_parameters
|
|
9
|
+
|
|
10
|
+
class SlackChannelDeleteParams < Anthropic::Internal::Type::BaseModel
|
|
11
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
12
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
13
|
+
|
|
14
|
+
attr_accessor id: String
|
|
15
|
+
|
|
16
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
17
|
+
|
|
18
|
+
def betas=: (
|
|
19
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
20
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
21
|
+
|
|
22
|
+
def initialize: (
|
|
23
|
+
id: String,
|
|
24
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
25
|
+
?request_options: Anthropic::request_opts
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
id: String,
|
|
30
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
31
|
+
request_options: Anthropic::RequestOptions
|
|
32
|
+
}
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type slack_channel_list_params =
|
|
7
|
+
{
|
|
8
|
+
slack_workspace_id: String,
|
|
9
|
+
include_inherited: bool,
|
|
10
|
+
limit: Integer,
|
|
11
|
+
page: String,
|
|
12
|
+
slack_channel_id: String,
|
|
13
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
14
|
+
}
|
|
15
|
+
& Anthropic::Internal::Type::request_parameters
|
|
16
|
+
|
|
17
|
+
class SlackChannelListParams < Anthropic::Internal::Type::BaseModel
|
|
18
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
19
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
20
|
+
|
|
21
|
+
attr_accessor slack_workspace_id: String
|
|
22
|
+
|
|
23
|
+
attr_reader include_inherited: bool?
|
|
24
|
+
|
|
25
|
+
def include_inherited=: (bool) -> bool
|
|
26
|
+
|
|
27
|
+
attr_reader limit: Integer?
|
|
28
|
+
|
|
29
|
+
def limit=: (Integer) -> Integer
|
|
30
|
+
|
|
31
|
+
attr_reader page: String?
|
|
32
|
+
|
|
33
|
+
def page=: (String) -> String
|
|
34
|
+
|
|
35
|
+
attr_reader slack_channel_id: String?
|
|
36
|
+
|
|
37
|
+
def slack_channel_id=: (String) -> String
|
|
38
|
+
|
|
39
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
40
|
+
|
|
41
|
+
def betas=: (
|
|
42
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
43
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
44
|
+
|
|
45
|
+
def initialize: (
|
|
46
|
+
slack_workspace_id: String,
|
|
47
|
+
?include_inherited: bool,
|
|
48
|
+
?limit: Integer,
|
|
49
|
+
?page: String,
|
|
50
|
+
?slack_channel_id: String,
|
|
51
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
52
|
+
?request_options: Anthropic::request_opts
|
|
53
|
+
) -> void
|
|
54
|
+
|
|
55
|
+
def to_hash: -> {
|
|
56
|
+
slack_workspace_id: String,
|
|
57
|
+
include_inherited: bool,
|
|
58
|
+
limit: Integer,
|
|
59
|
+
page: String,
|
|
60
|
+
slack_channel_id: String,
|
|
61
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
62
|
+
request_options: Anthropic::RequestOptions
|
|
63
|
+
}
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|