anthropic 2.7.0 → 2.9.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 +62 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +4 -0
- data/lib/anthropic/helpers/bedrock/client.rb +17 -5
- data/lib/anthropic/helpers/google_cloud/client.rb +4 -1
- data/lib/anthropic/helpers/threads/beta_message_thread.rb +30 -6
- data/lib/anthropic/helpers/tools/runner.rb +21 -4
- data/lib/anthropic/helpers/tracing/streamed_message.rb +8 -1
- data/lib/anthropic/helpers/vertex/client.rb +26 -12
- data/lib/anthropic/internal/tracing.rb +1 -0
- data/lib/anthropic/internal/type/file_input.rb +11 -0
- data/lib/anthropic/internal/util.rb +43 -11
- data/lib/anthropic/models/anthropic_beta.rb +44 -30
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_auto_policy.rb +3 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +3 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rb +42 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rb +43 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_user_activity.rb +14 -1
- data/lib/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_on_call_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rb +68 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb +14 -1
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb +20 -3
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_create.rb +22 -2
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_update.rb +22 -2
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +13 -4
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source_custom.rb +20 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rb +15 -2
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_update_params.rb +50 -0
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +8 -5
- data/lib/anthropic/models/beta/organization/plugin_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_marketplace_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_marketplace_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/installation_setting_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/share_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_download_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/workspace_update_params.rb +2 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rb +7 -4
- data/lib/anthropic/models/error_details.rb +28 -3
- data/lib/anthropic/models/model.rb +2 -2
- data/lib/anthropic/models/organization/analytics_claude_tag_metrics.rb +39 -0
- data/lib/anthropic/models/organization/analytics_single_day_activity_summary.rb +43 -1
- data/lib/anthropic/models/organization/analytics_user_activity.rb +12 -1
- data/lib/anthropic/models/organization/external_key.rb +2 -2
- data/lib/anthropic/models/organization/external_key_create_params.rb +8 -5
- data/lib/anthropic/models/organization/key_profile_mismatch_error.rb +3 -3
- data/lib/anthropic/models/organization/key_profile_mismatch_error_details.rb +3 -3
- data/lib/anthropic/models/organization/rbac_role.rb +13 -4
- data/lib/anthropic/models/organization/rbac_role_source.rb +50 -0
- data/lib/anthropic/models/organization/rbac_role_source_built_in.rb +22 -0
- data/lib/anthropic/models/organization/rbac_role_source_custom.rb +18 -0
- data/lib/anthropic/models/organization/workspace_update_params.rb +2 -1
- data/lib/anthropic/models/parent_organization_required_error.rb +20 -0
- data/lib/anthropic/models/parent_organization_required_error_details.rb +18 -0
- data/lib/anthropic/models/rbac_role_not_found_error.rb +19 -0
- data/lib/anthropic/models/rbac_role_not_found_error_details.rb +17 -0
- data/lib/anthropic/models.rb +8 -0
- data/lib/anthropic/resources/beta/messages/batches.rb +6 -6
- data/lib/anthropic/resources/beta/messages.rb +5 -1
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +51 -0
- data/lib/anthropic/resources/beta/organization/external_keys.rb +1 -1
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +4 -5
- data/lib/anthropic/resources/beta/organization/plugins.rb +13 -12
- data/lib/anthropic/resources/beta/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/beta/organization/rbac_roles.rb +7 -0
- data/lib/anthropic/resources/organization/external_keys.rb +1 -1
- data/lib/anthropic/resources/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/organization/rbac_roles.rb +7 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +22 -0
- data/rbi/anthropic/helpers/bedrock/client.rbi +6 -2
- data/rbi/anthropic/helpers/bedrock/event_stream.rbi +12 -3
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +3 -1
- data/rbi/anthropic/helpers/google_cloud/client.rbi +3 -1
- data/rbi/anthropic/helpers/refusal_fallback.rbi +12 -4
- data/rbi/anthropic/helpers/vertex/client.rbi +6 -2
- data/rbi/anthropic/internal/tracing.rbi +2 -0
- data/rbi/anthropic/internal/util.rbi +2 -2
- data/rbi/anthropic/models/anthropic_beta.rbi +41 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_auto_policy.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +3 -2
- data/rbi/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbi +69 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbi +60 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_user_activity.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_on_call_error.rbi +23 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbi +92 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi +30 -1
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi +39 -5
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbi +56 -5
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbi +56 -5
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +21 -4
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source_custom.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbi +11 -1
- data/rbi/anthropic/models/beta/organization/claude_tag/bundle_update_params.rbi +88 -0
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +14 -8
- data/rbi/anthropic/models/beta/organization/plugin_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/installation_setting_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/share_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_download_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/workspace_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rbi +10 -6
- data/rbi/anthropic/models/error_details.rbi +25 -1
- data/rbi/anthropic/models/model.rbi +2 -2
- data/rbi/anthropic/models/organization/analytics_claude_tag_metrics.rbi +67 -0
- data/rbi/anthropic/models/organization/analytics_single_day_activity_summary.rbi +60 -0
- data/rbi/anthropic/models/organization/analytics_user_activity.rbi +30 -0
- data/rbi/anthropic/models/organization/external_key.rbi +4 -4
- data/rbi/anthropic/models/organization/external_key_create_params.rbi +14 -8
- data/rbi/anthropic/models/organization/key_profile_mismatch_error.rbi +3 -3
- data/rbi/anthropic/models/organization/key_profile_mismatch_error_details.rbi +3 -3
- data/rbi/anthropic/models/organization/rbac_role.rbi +18 -4
- data/rbi/anthropic/models/organization/rbac_role_source.rbi +68 -0
- data/rbi/anthropic/models/organization/rbac_role_source_built_in.rbi +34 -0
- data/rbi/anthropic/models/organization/rbac_role_source_custom.rbi +32 -0
- data/rbi/anthropic/models/organization/workspace_update_params.rbi +4 -2
- data/rbi/anthropic/models/parent_organization_required_error.rbi +17 -0
- data/rbi/anthropic/models/parent_organization_required_error_details.rbi +28 -0
- data/rbi/anthropic/models/rbac_role_not_found_error.rbi +16 -0
- data/rbi/anthropic/models/rbac_role_not_found_error_details.rbi +27 -0
- data/rbi/anthropic/models.rbi +10 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/bundles.rbi +30 -0
- data/rbi/anthropic/resources/beta/organization/external_keys.rbi +7 -4
- data/rbi/anthropic/resources/beta/organization/plugin_marketplaces.rbi +4 -2
- data/rbi/anthropic/resources/beta/organization/plugins/installation_settings.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/plugins/shares.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/plugins/versions.rbi +10 -8
- data/rbi/anthropic/resources/beta/organization/plugins.rbi +17 -14
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +2 -1
- data/rbi/anthropic/resources/organization/external_keys.rbi +7 -4
- data/rbi/anthropic/resources/organization/workspaces.rbi +2 -1
- data/rbi/lib/anthropic/helpers/stainless_helper_header.rbi +6 -1
- data/sig/anthropic/helpers/sessions/event_accumulator.rbs +6 -2
- data/sig/anthropic/internal/tracing.rbs +1 -0
- data/sig/anthropic/internal/util.rbs +1 -1
- data/sig/anthropic/models/anthropic_beta.rbs +21 -21
- data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +1 -1
- data/sig/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_user_activity.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_on_call_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbs +50 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_rbac_role.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source.rbs +40 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source_custom.rbs +17 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbs +5 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundle_update_params.rbs +46 -0
- data/sig/anthropic/models/error_details.rbs +26 -0
- data/sig/anthropic/models/model.rbs +2 -2
- data/sig/anthropic/models/organization/analytics_claude_tag_metrics.rbs +24 -0
- data/sig/anthropic/models/organization/analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/organization/analytics_user_activity.rbs +5 -0
- data/sig/anthropic/models/organization/rbac_role.rbs +5 -0
- data/sig/anthropic/models/organization/rbac_role_source.rbs +38 -0
- data/sig/anthropic/models/organization/rbac_role_source_built_in.rbs +15 -0
- data/sig/anthropic/models/organization/rbac_role_source_custom.rbs +15 -0
- data/sig/anthropic/models/parent_organization_required_error.rbs +9 -0
- data/sig/anthropic/models/parent_organization_required_error_details.rbs +14 -0
- data/sig/anthropic/models/rbac_role_not_found_error.rbs +9 -0
- data/sig/anthropic/models/rbac_role_not_found_error_details.rbs +14 -0
- data/sig/anthropic/models.rbs +8 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/bundles.rbs +7 -0
- metadata +68 -2
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_reply_mode =
|
|
6
|
+
Anthropic::Beta::Organization::BetaClaudeTagReplyModeAutomatic
|
|
7
|
+
| Anthropic::Beta::Organization::BetaClaudeTagReplyModeMentionOnly
|
|
8
|
+
| Anthropic::Beta::Organization::BetaClaudeTagReplyModeAlwaysAwake
|
|
9
|
+
| Anthropic::Beta::Organization::BetaClaudeTagReplyModeThread
|
|
10
|
+
|
|
11
|
+
module BetaClaudeTagReplyMode
|
|
12
|
+
extend Anthropic::Internal::Type::Union
|
|
13
|
+
|
|
14
|
+
type type_ = :automatic | :mention_only | :always_awake | :thread
|
|
15
|
+
|
|
16
|
+
module Type
|
|
17
|
+
extend Anthropic::Internal::Type::Enum
|
|
18
|
+
|
|
19
|
+
AUTOMATIC: :automatic
|
|
20
|
+
MENTION_ONLY: :mention_only
|
|
21
|
+
ALWAYS_AWAKE: :always_awake
|
|
22
|
+
THREAD: :thread
|
|
23
|
+
|
|
24
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::BetaClaudeTagReplyMode::type_]
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def self?.variants: -> ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode]
|
|
28
|
+
|
|
29
|
+
def self.new:
|
|
30
|
+
(
|
|
31
|
+
type: :automatic | "automatic"
|
|
32
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagReplyModeAutomatic
|
|
33
|
+
| (
|
|
34
|
+
type: :mention_only | "mention_only"
|
|
35
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagReplyModeMentionOnly
|
|
36
|
+
| (
|
|
37
|
+
type: :always_awake | "always_awake"
|
|
38
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagReplyModeAlwaysAwake
|
|
39
|
+
| (
|
|
40
|
+
type: :thread | "thread"
|
|
41
|
+
) -> Anthropic::Beta::Organization::BetaClaudeTagReplyModeThread
|
|
42
|
+
| (
|
|
43
|
+
type: Anthropic::Models::Beta::Organization::BetaClaudeTagReplyMode::type_
|
|
44
|
+
| String
|
|
45
|
+
) -> Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_reply_mode_always_awake = { type: :always_awake }
|
|
6
|
+
|
|
7
|
+
class BetaClaudeTagReplyModeAlwaysAwake < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor type: :always_awake
|
|
9
|
+
|
|
10
|
+
def initialize: (?type: :always_awake) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { type: :always_awake }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_reply_mode_automatic = { type: :automatic }
|
|
6
|
+
|
|
7
|
+
class BetaClaudeTagReplyModeAutomatic < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor type: :automatic
|
|
9
|
+
|
|
10
|
+
def initialize: (?type: :automatic) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { type: :automatic }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_reply_mode_mention_only = { type: :mention_only }
|
|
6
|
+
|
|
7
|
+
class BetaClaudeTagReplyModeMentionOnly < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor type: :mention_only
|
|
9
|
+
|
|
10
|
+
def initialize: (?type: :mention_only) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { type: :mention_only }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_claude_tag_reply_mode_thread = { type: :thread }
|
|
6
|
+
|
|
7
|
+
class BetaClaudeTagReplyModeThread < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor type: :thread
|
|
9
|
+
|
|
10
|
+
def initialize: (?type: :thread) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { type: :thread }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -8,7 +8,8 @@ module Anthropic
|
|
|
8
8
|
environment_id: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
9
9
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
10
10
|
instructions: ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source],
|
|
11
|
-
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source
|
|
11
|
+
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
12
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
class BetaClaudeTagSettingSources < Anthropic::Internal::Type::BaseModel
|
|
@@ -22,12 +23,15 @@ module Anthropic
|
|
|
22
23
|
|
|
23
24
|
attr_accessor model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
24
25
|
|
|
26
|
+
attr_accessor reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
27
|
+
|
|
25
28
|
def initialize: (
|
|
26
29
|
enabled: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
27
30
|
environment_id: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
28
31
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
29
32
|
instructions: ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source],
|
|
30
|
-
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source
|
|
33
|
+
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
34
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
31
35
|
) -> void
|
|
32
36
|
|
|
33
37
|
def to_hash: -> {
|
|
@@ -35,7 +39,8 @@ module Anthropic
|
|
|
35
39
|
environment_id: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
36
40
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
37
41
|
instructions: ::Array[Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source],
|
|
38
|
-
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source
|
|
42
|
+
model: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?,
|
|
43
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_setting_source?
|
|
39
44
|
}
|
|
40
45
|
end
|
|
41
46
|
end
|
|
@@ -8,7 +8,8 @@ module Anthropic
|
|
|
8
8
|
environment_id: String?,
|
|
9
9
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
10
10
|
instructions: String?,
|
|
11
|
-
model: String
|
|
11
|
+
model: String?,
|
|
12
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
class BetaClaudeTagSettings < Anthropic::Internal::Type::BaseModel
|
|
@@ -22,12 +23,15 @@ module Anthropic
|
|
|
22
23
|
|
|
23
24
|
attr_accessor model: String?
|
|
24
25
|
|
|
26
|
+
attr_accessor reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
27
|
+
|
|
25
28
|
def initialize: (
|
|
26
29
|
enabled: bool?,
|
|
27
30
|
environment_id: String?,
|
|
28
31
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
29
32
|
instructions: String?,
|
|
30
|
-
model: String
|
|
33
|
+
model: String?,
|
|
34
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
31
35
|
) -> void
|
|
32
36
|
|
|
33
37
|
def to_hash: -> {
|
|
@@ -35,7 +39,8 @@ module Anthropic
|
|
|
35
39
|
environment_id: String?,
|
|
36
40
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
37
41
|
instructions: String?,
|
|
38
|
-
model: String
|
|
42
|
+
model: String?,
|
|
43
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
39
44
|
}
|
|
40
45
|
end
|
|
41
46
|
end
|
|
@@ -8,7 +8,8 @@ module Anthropic
|
|
|
8
8
|
environment_id: String?,
|
|
9
9
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
10
10
|
instructions: String?,
|
|
11
|
-
model: String
|
|
11
|
+
model: String?,
|
|
12
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
class BetaClaudeTagSettingsCreate < Anthropic::Internal::Type::BaseModel
|
|
@@ -22,12 +23,15 @@ module Anthropic
|
|
|
22
23
|
|
|
23
24
|
attr_accessor model: String?
|
|
24
25
|
|
|
26
|
+
attr_accessor reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
27
|
+
|
|
25
28
|
def initialize: (
|
|
26
29
|
?enabled: bool?,
|
|
27
30
|
?environment_id: String?,
|
|
28
31
|
?guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
29
32
|
?instructions: String?,
|
|
30
|
-
?model: String
|
|
33
|
+
?model: String?,
|
|
34
|
+
?reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
31
35
|
) -> void
|
|
32
36
|
|
|
33
37
|
def to_hash: -> {
|
|
@@ -35,7 +39,8 @@ module Anthropic
|
|
|
35
39
|
environment_id: String?,
|
|
36
40
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
37
41
|
instructions: String?,
|
|
38
|
-
model: String
|
|
42
|
+
model: String?,
|
|
43
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
39
44
|
}
|
|
40
45
|
end
|
|
41
46
|
end
|
|
@@ -8,7 +8,8 @@ module Anthropic
|
|
|
8
8
|
environment_id: String?,
|
|
9
9
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
10
10
|
instructions: String?,
|
|
11
|
-
model: String
|
|
11
|
+
model: String?,
|
|
12
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
class BetaClaudeTagSettingsUpdate < Anthropic::Internal::Type::BaseModel
|
|
@@ -22,12 +23,15 @@ module Anthropic
|
|
|
22
23
|
|
|
23
24
|
attr_accessor model: String?
|
|
24
25
|
|
|
26
|
+
attr_accessor reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
27
|
+
|
|
25
28
|
def initialize: (
|
|
26
29
|
?enabled: bool?,
|
|
27
30
|
?environment_id: String?,
|
|
28
31
|
?guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
29
32
|
?instructions: String?,
|
|
30
|
-
?model: String
|
|
33
|
+
?model: String?,
|
|
34
|
+
?reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
31
35
|
) -> void
|
|
32
36
|
|
|
33
37
|
def to_hash: -> {
|
|
@@ -35,7 +39,8 @@ module Anthropic
|
|
|
35
39
|
environment_id: String?,
|
|
36
40
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
37
41
|
instructions: String?,
|
|
38
|
-
model: String
|
|
42
|
+
model: String?,
|
|
43
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
39
44
|
}
|
|
40
45
|
end
|
|
41
46
|
end
|
|
@@ -7,6 +7,7 @@ module Anthropic
|
|
|
7
7
|
id: String,
|
|
8
8
|
created_at: Time,
|
|
9
9
|
display_name: String,
|
|
10
|
+
source: Anthropic::Models::Beta::Organization::beta_rbac_role_source,
|
|
10
11
|
type: :rbac_role,
|
|
11
12
|
updated_at: Time
|
|
12
13
|
}
|
|
@@ -18,6 +19,8 @@ module Anthropic
|
|
|
18
19
|
|
|
19
20
|
attr_accessor display_name: String
|
|
20
21
|
|
|
22
|
+
attr_accessor source: Anthropic::Models::Beta::Organization::beta_rbac_role_source
|
|
23
|
+
|
|
21
24
|
attr_accessor type: :rbac_role
|
|
22
25
|
|
|
23
26
|
attr_accessor updated_at: Time
|
|
@@ -26,6 +29,7 @@ module Anthropic
|
|
|
26
29
|
id: String,
|
|
27
30
|
created_at: Time,
|
|
28
31
|
display_name: String,
|
|
32
|
+
source: Anthropic::Models::Beta::Organization::beta_rbac_role_source,
|
|
29
33
|
updated_at: Time,
|
|
30
34
|
?type: :rbac_role
|
|
31
35
|
) -> void
|
|
@@ -34,6 +38,7 @@ module Anthropic
|
|
|
34
38
|
id: String,
|
|
35
39
|
created_at: Time,
|
|
36
40
|
display_name: String,
|
|
41
|
+
source: Anthropic::Models::Beta::Organization::beta_rbac_role_source,
|
|
37
42
|
type: :rbac_role,
|
|
38
43
|
updated_at: Time
|
|
39
44
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_rbac_role_source =
|
|
6
|
+
Anthropic::Beta::Organization::BetaRBACRoleSourceBuiltIn
|
|
7
|
+
| Anthropic::Beta::Organization::BetaRBACRoleSourceCustom
|
|
8
|
+
|
|
9
|
+
module BetaRBACRoleSource
|
|
10
|
+
extend Anthropic::Internal::Type::Union
|
|
11
|
+
|
|
12
|
+
type type_ = :built_in | :custom
|
|
13
|
+
|
|
14
|
+
module Type
|
|
15
|
+
extend Anthropic::Internal::Type::Enum
|
|
16
|
+
|
|
17
|
+
BUILT_IN: :built_in
|
|
18
|
+
CUSTOM: :custom
|
|
19
|
+
|
|
20
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::BetaRBACRoleSource::type_]
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def self?.variants: -> ::Array[Anthropic::Models::Beta::Organization::beta_rbac_role_source]
|
|
24
|
+
|
|
25
|
+
def self.new:
|
|
26
|
+
(
|
|
27
|
+
type: :built_in | "built_in"
|
|
28
|
+
) -> Anthropic::Beta::Organization::BetaRBACRoleSourceBuiltIn
|
|
29
|
+
| (
|
|
30
|
+
type: :custom | "custom"
|
|
31
|
+
) -> Anthropic::Beta::Organization::BetaRBACRoleSourceCustom
|
|
32
|
+
| (
|
|
33
|
+
type: Anthropic::Models::Beta::Organization::BetaRBACRoleSource::type_
|
|
34
|
+
| String
|
|
35
|
+
) -> Anthropic::Models::Beta::Organization::beta_rbac_role_source
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_rbac_role_source_built_in = { type: :built_in }
|
|
6
|
+
|
|
7
|
+
class BetaRBACRoleSourceBuiltIn < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor type: :built_in
|
|
9
|
+
|
|
10
|
+
def initialize: (?type: :built_in) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { type: :built_in }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_rbac_role_source_custom = { type: :custom }
|
|
6
|
+
|
|
7
|
+
class BetaRBACRoleSourceCustom < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor type: :custom
|
|
9
|
+
|
|
10
|
+
def initialize: (?type: :custom) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { type: :custom }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -9,6 +9,7 @@ module Anthropic
|
|
|
9
9
|
created_at: Time,
|
|
10
10
|
description: String?,
|
|
11
11
|
display_name: String,
|
|
12
|
+
instructions: String?,
|
|
12
13
|
type: :bundle,
|
|
13
14
|
updated_at: Time
|
|
14
15
|
}
|
|
@@ -22,6 +23,8 @@ module Anthropic
|
|
|
22
23
|
|
|
23
24
|
attr_accessor display_name: String
|
|
24
25
|
|
|
26
|
+
attr_accessor instructions: String?
|
|
27
|
+
|
|
25
28
|
attr_accessor type: :bundle
|
|
26
29
|
|
|
27
30
|
attr_accessor updated_at: Time
|
|
@@ -31,6 +34,7 @@ module Anthropic
|
|
|
31
34
|
created_at: Time,
|
|
32
35
|
description: String?,
|
|
33
36
|
display_name: String,
|
|
37
|
+
instructions: String?,
|
|
34
38
|
updated_at: Time,
|
|
35
39
|
?type: :bundle
|
|
36
40
|
) -> void
|
|
@@ -40,6 +44,7 @@ module Anthropic
|
|
|
40
44
|
created_at: Time,
|
|
41
45
|
description: String?,
|
|
42
46
|
display_name: String,
|
|
47
|
+
instructions: String?,
|
|
43
48
|
type: :bundle,
|
|
44
49
|
updated_at: Time
|
|
45
50
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type bundle_update_params =
|
|
7
|
+
{
|
|
8
|
+
bundle_id: String,
|
|
9
|
+
instructions: String?,
|
|
10
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
11
|
+
}
|
|
12
|
+
& Anthropic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class BundleUpdateParams < 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_accessor instructions: String?
|
|
21
|
+
|
|
22
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
23
|
+
|
|
24
|
+
def betas=: (
|
|
25
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
26
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
27
|
+
|
|
28
|
+
def initialize: (
|
|
29
|
+
bundle_id: String,
|
|
30
|
+
?instructions: String?,
|
|
31
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
32
|
+
?request_options: Anthropic::request_opts
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
bundle_id: String,
|
|
37
|
+
instructions: String?,
|
|
38
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
39
|
+
request_options: Anthropic::RequestOptions
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -55,6 +55,8 @@ module Anthropic
|
|
|
55
55
|
| Anthropic::Organization::ExternalKeyChangedErrorDetails
|
|
56
56
|
| Anthropic::Organization::WorkspaceMemberLimitExceededErrorDetails
|
|
57
57
|
| Anthropic::OrganizationTypeNotSupportedErrorDetails
|
|
58
|
+
| Anthropic::ParentOrganizationRequiredErrorDetails
|
|
59
|
+
| Anthropic::RBACRoleNotFoundErrorDetails
|
|
58
60
|
| Anthropic::Beta::BetaEnvironmentCreateDisabledErrorDetails
|
|
59
61
|
| Anthropic::Beta::BetaEnvironmentArchivedErrorDetails
|
|
60
62
|
| Anthropic::Beta::BetaInvalidConfigTypeChangeErrorDetails
|
|
@@ -83,6 +85,8 @@ module Anthropic
|
|
|
83
85
|
| Anthropic::Beta::BetaEnvironmentNotFoundErrorDetails
|
|
84
86
|
| Anthropic::Beta::Organization::BetaSlackChannelSetUpEnvironmentNotFoundErrorDetails
|
|
85
87
|
| Anthropic::Beta::Organization::BetaSlackChannelSetUpSettingsConflictErrorDetails
|
|
88
|
+
| Anthropic::Beta::Organization::BetaBundleAttachmentNotSupportedErrorDetails
|
|
89
|
+
| Anthropic::Beta::Organization::BetaBundleOnCallErrorDetails
|
|
86
90
|
|
|
87
91
|
module ErrorDetails
|
|
88
92
|
extend Anthropic::Internal::Type::Union
|
|
@@ -142,6 +146,8 @@ module Anthropic
|
|
|
142
146
|
| :external_key_changed
|
|
143
147
|
| :workspace_member_limit_exceeded
|
|
144
148
|
| :organization_type_not_supported
|
|
149
|
+
| :parent_organization_required
|
|
150
|
+
| :rbac_role_not_found
|
|
145
151
|
| :environment_create_disabled
|
|
146
152
|
| :environment_archived
|
|
147
153
|
| :invalid_config_type_change
|
|
@@ -170,6 +176,8 @@ module Anthropic
|
|
|
170
176
|
| :environment_not_found
|
|
171
177
|
| :slack_channel_set_up_environment_not_found
|
|
172
178
|
| :slack_channel_set_up_settings_conflict
|
|
179
|
+
| :bundle_attachment_not_supported
|
|
180
|
+
| :bundle_on_call
|
|
173
181
|
|
|
174
182
|
module ErrorCode
|
|
175
183
|
extend Anthropic::Internal::Type::Enum
|
|
@@ -228,6 +236,8 @@ module Anthropic
|
|
|
228
236
|
EXTERNAL_KEY_CHANGED: :external_key_changed
|
|
229
237
|
WORKSPACE_MEMBER_LIMIT_EXCEEDED: :workspace_member_limit_exceeded
|
|
230
238
|
ORGANIZATION_TYPE_NOT_SUPPORTED: :organization_type_not_supported
|
|
239
|
+
PARENT_ORGANIZATION_REQUIRED: :parent_organization_required
|
|
240
|
+
RBAC_ROLE_NOT_FOUND: :rbac_role_not_found
|
|
231
241
|
ENVIRONMENT_CREATE_DISABLED: :environment_create_disabled
|
|
232
242
|
ENVIRONMENT_ARCHIVED: :environment_archived
|
|
233
243
|
INVALID_CONFIG_TYPE_CHANGE: :invalid_config_type_change
|
|
@@ -256,6 +266,8 @@ module Anthropic
|
|
|
256
266
|
ENVIRONMENT_NOT_FOUND: :environment_not_found
|
|
257
267
|
SLACK_CHANNEL_SET_UP_ENVIRONMENT_NOT_FOUND: :slack_channel_set_up_environment_not_found
|
|
258
268
|
SLACK_CHANNEL_SET_UP_SETTINGS_CONFLICT: :slack_channel_set_up_settings_conflict
|
|
269
|
+
BUNDLE_ATTACHMENT_NOT_SUPPORTED: :bundle_attachment_not_supported
|
|
270
|
+
BUNDLE_ON_CALL: :bundle_on_call
|
|
259
271
|
|
|
260
272
|
def self?.values: -> ::Array[Anthropic::Models::ErrorDetails::error_code]
|
|
261
273
|
end
|
|
@@ -454,6 +466,13 @@ module Anthropic
|
|
|
454
466
|
error_code: :organization_type_not_supported
|
|
455
467
|
| "organization_type_not_supported"
|
|
456
468
|
) -> Anthropic::OrganizationTypeNotSupportedErrorDetails
|
|
469
|
+
| (
|
|
470
|
+
error_code: :parent_organization_required
|
|
471
|
+
| "parent_organization_required"
|
|
472
|
+
) -> Anthropic::ParentOrganizationRequiredErrorDetails
|
|
473
|
+
| (
|
|
474
|
+
error_code: :rbac_role_not_found | "rbac_role_not_found"
|
|
475
|
+
) -> Anthropic::RBACRoleNotFoundErrorDetails
|
|
457
476
|
| (
|
|
458
477
|
error_code: :environment_create_disabled
|
|
459
478
|
| "environment_create_disabled"
|
|
@@ -563,6 +582,13 @@ module Anthropic
|
|
|
563
582
|
| "slack_channel_set_up_settings_conflict",
|
|
564
583
|
slack_channel_id: String
|
|
565
584
|
) -> Anthropic::Beta::Organization::BetaSlackChannelSetUpSettingsConflictErrorDetails
|
|
585
|
+
| (
|
|
586
|
+
error_code: :bundle_attachment_not_supported
|
|
587
|
+
| "bundle_attachment_not_supported"
|
|
588
|
+
) -> Anthropic::Beta::Organization::BetaBundleAttachmentNotSupportedErrorDetails
|
|
589
|
+
| (
|
|
590
|
+
error_code: :bundle_on_call | "bundle_on_call"
|
|
591
|
+
) -> Anthropic::Beta::Organization::BetaBundleOnCallErrorDetails
|
|
566
592
|
| (
|
|
567
593
|
error_code: Anthropic::Models::ErrorDetails::error_code | String,
|
|
568
594
|
?appeal_url: String?,
|
|
@@ -30,10 +30,10 @@ module Anthropic
|
|
|
30
30
|
|
|
31
31
|
def self?.variants: -> ::Array[Anthropic::Models::model]
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# Built for the most ambitious work in coding, enterprise workflows, and the sciences
|
|
34
34
|
CLAUDE_FABLE_5_2: :"claude-fable-5-2"
|
|
35
35
|
|
|
36
|
-
#
|
|
36
|
+
# Built for the most demanding cybersecurity and life sciences research, available through verification programs
|
|
37
37
|
CLAUDE_MYTHOS_5_2: :"claude-mythos-5-2"
|
|
38
38
|
|
|
39
39
|
# Fastest model for high-volume, real-time tasks
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Organization
|
|
4
|
+
type analytics_claude_tag_metrics =
|
|
5
|
+
{ active_day_count: Integer?, active_message_count: Integer? }
|
|
6
|
+
|
|
7
|
+
class AnalyticsClaudeTagMetrics < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor active_day_count: Integer?
|
|
9
|
+
|
|
10
|
+
attr_accessor active_message_count: Integer?
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
active_day_count: Integer?,
|
|
14
|
+
active_message_count: Integer?
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
active_day_count: Integer?,
|
|
19
|
+
active_message_count: Integer?
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -28,6 +28,9 @@ module Anthropic
|
|
|
28
28
|
claude_design_daily_active_user_count: Integer?,
|
|
29
29
|
claude_design_monthly_active_user_count: Integer?,
|
|
30
30
|
claude_design_weekly_active_user_count: Integer?,
|
|
31
|
+
claude_tag_daily_active_user_count: Integer?,
|
|
32
|
+
claude_tag_monthly_active_user_count: Integer?,
|
|
33
|
+
claude_tag_weekly_active_user_count: Integer?,
|
|
31
34
|
office_agent_daily_active_user_count: Integer?,
|
|
32
35
|
office_agent_monthly_active_user_count: Integer?,
|
|
33
36
|
office_agent_weekly_active_user_count: Integer?,
|
|
@@ -88,6 +91,12 @@ module Anthropic
|
|
|
88
91
|
|
|
89
92
|
attr_accessor claude_design_weekly_active_user_count: Integer?
|
|
90
93
|
|
|
94
|
+
attr_accessor claude_tag_daily_active_user_count: Integer?
|
|
95
|
+
|
|
96
|
+
attr_accessor claude_tag_monthly_active_user_count: Integer?
|
|
97
|
+
|
|
98
|
+
attr_accessor claude_tag_weekly_active_user_count: Integer?
|
|
99
|
+
|
|
91
100
|
attr_accessor office_agent_daily_active_user_count: Integer?
|
|
92
101
|
|
|
93
102
|
attr_accessor office_agent_monthly_active_user_count: Integer?
|
|
@@ -128,6 +137,9 @@ module Anthropic
|
|
|
128
137
|
?claude_design_daily_active_user_count: Integer?,
|
|
129
138
|
?claude_design_monthly_active_user_count: Integer?,
|
|
130
139
|
?claude_design_weekly_active_user_count: Integer?,
|
|
140
|
+
?claude_tag_daily_active_user_count: Integer?,
|
|
141
|
+
?claude_tag_monthly_active_user_count: Integer?,
|
|
142
|
+
?claude_tag_weekly_active_user_count: Integer?,
|
|
131
143
|
?office_agent_daily_active_user_count: Integer?,
|
|
132
144
|
?office_agent_monthly_active_user_count: Integer?,
|
|
133
145
|
?office_agent_weekly_active_user_count: Integer?,
|
|
@@ -163,6 +175,9 @@ module Anthropic
|
|
|
163
175
|
claude_design_daily_active_user_count: Integer?,
|
|
164
176
|
claude_design_monthly_active_user_count: Integer?,
|
|
165
177
|
claude_design_weekly_active_user_count: Integer?,
|
|
178
|
+
claude_tag_daily_active_user_count: Integer?,
|
|
179
|
+
claude_tag_monthly_active_user_count: Integer?,
|
|
180
|
+
claude_tag_weekly_active_user_count: Integer?,
|
|
166
181
|
office_agent_daily_active_user_count: Integer?,
|
|
167
182
|
office_agent_monthly_active_user_count: Integer?,
|
|
168
183
|
office_agent_weekly_active_user_count: Integer?,
|
|
@@ -13,6 +13,7 @@ module Anthropic
|
|
|
13
13
|
user: Anthropic::Organization::AnalyticsUser?,
|
|
14
14
|
web_search_count: Integer,
|
|
15
15
|
chat_cowork_unified_metrics: Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics?,
|
|
16
|
+
claude_tag_metrics: Anthropic::Organization::AnalyticsClaudeTagMetrics?,
|
|
16
17
|
last_activity_date: Date?,
|
|
17
18
|
rbac_group_id: String?,
|
|
18
19
|
rbac_group_name: String?
|
|
@@ -39,6 +40,8 @@ module Anthropic
|
|
|
39
40
|
|
|
40
41
|
attr_accessor chat_cowork_unified_metrics: Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics?
|
|
41
42
|
|
|
43
|
+
attr_accessor claude_tag_metrics: Anthropic::Organization::AnalyticsClaudeTagMetrics?
|
|
44
|
+
|
|
42
45
|
attr_accessor last_activity_date: Date?
|
|
43
46
|
|
|
44
47
|
attr_accessor rbac_group_id: String?
|
|
@@ -56,6 +59,7 @@ module Anthropic
|
|
|
56
59
|
user: Anthropic::Organization::AnalyticsUser?,
|
|
57
60
|
web_search_count: Integer,
|
|
58
61
|
?chat_cowork_unified_metrics: Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics?,
|
|
62
|
+
?claude_tag_metrics: Anthropic::Organization::AnalyticsClaudeTagMetrics?,
|
|
59
63
|
?last_activity_date: Date?,
|
|
60
64
|
?rbac_group_id: String?,
|
|
61
65
|
?rbac_group_name: String?
|
|
@@ -72,6 +76,7 @@ module Anthropic
|
|
|
72
76
|
user: Anthropic::Organization::AnalyticsUser?,
|
|
73
77
|
web_search_count: Integer,
|
|
74
78
|
chat_cowork_unified_metrics: Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics?,
|
|
79
|
+
claude_tag_metrics: Anthropic::Organization::AnalyticsClaudeTagMetrics?,
|
|
75
80
|
last_activity_date: Date?,
|
|
76
81
|
rbac_group_id: String?,
|
|
77
82
|
rbac_group_name: String?
|