anthropic 2.10.0 → 2.11.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 +19 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +7 -0
- data/lib/anthropic/internal/tracing.rb +16 -0
- data/lib/anthropic/internal/transport/base_client.rb +5 -1
- data/lib/anthropic/internal/util.rb +5 -4
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +2 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +2 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rb +2 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_cost_users_item.rb +2 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rb +2 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_users_item.rb +2 -1
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_rbac_group_not_found_error.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_group_not_found_error_details.rb +21 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error.rb +27 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error_details.rb +25 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error.rb +25 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error_details.rb +23 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error.rb +26 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error_details.rb +24 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error.rb +29 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error_details.rb +27 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error.rb +29 -0
- data/lib/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rb +27 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_configuration.rb +68 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode.rb +62 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode_param.rb +62 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode.rb +24 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode_param.rb +23 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode.rb +24 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode_param.rb +23 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_default_managed_settings.rb +50 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings.rb +80 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings_summary.rb +69 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status.rb +70 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_active.rb +24 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_deleted.rb +24 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_unknown.rb +24 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_deleted_claude_code_rbac_group_managed_settings.rb +33 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/configuration_retrieve_params.rb +35 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/configuration_update_params.rb +62 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_retrieve_params.rb +35 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_update_params.rb +47 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_delete_params.rb +43 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_list_params.rb +53 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_retrieve_params.rb +43 -0
- data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rb +53 -0
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_type.rb +7 -1
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rb +8 -2
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rb +1 -1
- data/lib/anthropic/models/beta_request_body_timeout_error.rb +20 -0
- data/lib/anthropic/models/beta_request_body_timeout_error_details.rb +18 -0
- data/lib/anthropic/models/error_details.rb +50 -3
- data/lib/anthropic/models/organization/organization_rate_limit_value.rb +1 -1
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_type.rb +7 -1
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_update_value.rb +8 -2
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_value.rb +1 -1
- data/lib/anthropic/models/sandbox_egress_restricted_error.rb +1 -1
- data/lib/anthropic/models/sandbox_egress_restricted_error_details.rb +1 -1
- data/lib/anthropic/models.rb +4 -0
- data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +4 -3
- data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +3 -2
- data/lib/anthropic/resources/beta/organization/claude_code/managed_settings/configuration.rb +141 -0
- data/lib/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.rb +126 -0
- data/lib/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.rb +252 -0
- data/lib/anthropic/resources/beta/organization/claude_code/managed_settings.rb +35 -0
- data/lib/anthropic/resources/beta/organization/claude_code.rb +23 -0
- data/lib/anthropic/resources/beta/organization/external_keys.rb +2 -2
- data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +5 -0
- data/lib/anthropic/resources/beta/organization/plugins/installation_settings.rb +4 -0
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +2 -0
- data/lib/anthropic/resources/beta/organization/plugins.rb +3 -0
- data/lib/anthropic/resources/beta/organization.rb +4 -0
- data/lib/anthropic/resources/organization/external_keys.rb +2 -2
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +42 -0
- data/rbi/anthropic/internal/tracing.rbi +16 -0
- data/rbi/anthropic/internal/util.rbi +8 -2
- data/rbi/anthropic/models/anthropic_beta.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/beta_analytics_cost_users_item.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_users_item.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_value.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/beta_rbac_group_not_found_error.rbi +24 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_group_not_found_error_details.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error.rbi +28 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error_details.rbi +35 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error.rbi +26 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error.rbi +27 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error_details.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error.rbi +30 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error_details.rbi +37 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error.rbi +30 -0
- data/rbi/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rbi +37 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_configuration.rbi +101 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode.rbi +82 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode_param.rbi +82 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode_param.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode_param.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_default_managed_settings.rbi +70 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings.rbi +114 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings_summary.rbi +104 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status.rbi +88 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_active.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_deleted.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_unknown.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_deleted_claude_code_rbac_group_managed_settings.rbi +48 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/configuration_retrieve_params.rbi +74 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/configuration_update_params.rbi +136 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_retrieve_params.rbi +74 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_update_params.rbi +86 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_delete_params.rbi +82 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_list_params.rbi +97 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_retrieve_params.rbi +82 -0
- data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rbi +94 -0
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_type.rbi +7 -1
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rbi +14 -2
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rbi +2 -2
- data/rbi/anthropic/models/beta_request_body_timeout_error.rbi +17 -0
- data/rbi/anthropic/models/beta_request_body_timeout_error_details.rbi +28 -0
- data/rbi/anthropic/models/error_details.rbi +42 -0
- data/rbi/anthropic/models/organization/organization_rate_limit_value.rbi +2 -2
- data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit_type.rbi +7 -1
- data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit_update_value.rbi +14 -2
- data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit_value.rbi +2 -2
- data/rbi/anthropic/models/sandbox_egress_restricted_error.rbi +1 -1
- data/rbi/anthropic/models/sandbox_egress_restricted_error_details.rbi +1 -1
- data/rbi/anthropic/models.rbi +5 -0
- data/rbi/anthropic/resources/beta/organization/analytics/user_cost_report.rbi +4 -3
- data/rbi/anthropic/resources/beta/organization/analytics/user_usage_report.rbi +3 -2
- data/rbi/anthropic/resources/beta/organization/claude_code/managed_settings/configuration.rbi +112 -0
- data/rbi/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.rbi +86 -0
- data/rbi/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.rbi +180 -0
- data/rbi/anthropic/resources/beta/organization/claude_code/managed_settings.rbi +39 -0
- data/rbi/anthropic/resources/beta/organization/claude_code.rbi +23 -0
- data/rbi/anthropic/resources/beta/organization/external_keys.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization.rbi +3 -0
- data/rbi/anthropic/resources/organization/external_keys.rbi +2 -2
- data/sig/anthropic/internal/tracing.rbs +8 -0
- data/sig/anthropic/internal/util.rbs +2 -1
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_group_not_found_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_group_not_found_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error.rbs +15 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error.rbs +15 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error_details.rbs +24 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error.rbs +15 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error_details.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error.rbs +15 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error_details.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error.rbs +15 -0
- data/sig/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_configuration.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode.rbs +44 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode_param.rbs +44 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode_param.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode_param.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_default_managed_settings.rbs +38 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings.rbs +53 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings_summary.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status.rbs +49 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_active.rbs +21 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_deleted.rbs +21 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_unknown.rbs +21 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_deleted_claude_code_rbac_group_managed_settings.rbs +33 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/configuration_retrieve_params.rbs +36 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/configuration_update_params.rbs +61 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_retrieve_params.rbs +36 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_update_params.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_delete_params.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_list_params.rbs +50 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_retrieve_params.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rbs +48 -0
- data/sig/anthropic/models/beta_request_body_timeout_error.rbs +9 -0
- data/sig/anthropic/models/beta_request_body_timeout_error_details.rbs +14 -0
- data/sig/anthropic/models/error_details.rbs +46 -0
- data/sig/anthropic/models.rbs +4 -0
- data/sig/anthropic/resources/beta/organization/claude_code/managed_settings/configuration.rbs +28 -0
- data/sig/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.rbs +26 -0
- data/sig/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.rbs +41 -0
- data/sig/anthropic/resources/beta/organization/claude_code/managed_settings.rbs +19 -0
- data/sig/anthropic/resources/beta/organization/claude_code.rbs +13 -0
- data/sig/anthropic/resources/beta/organization.rbs +2 -0
- metadata +128 -2
|
@@ -84,6 +84,8 @@ module Anthropic
|
|
|
84
84
|
#
|
|
85
85
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
86
86
|
#
|
|
87
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
88
|
+
#
|
|
87
89
|
# @return [Anthropic::Models::Beta::Organization::BetaPluginMarketplace]
|
|
88
90
|
#
|
|
89
91
|
# @see Anthropic::Models::Beta::Organization::PluginMarketplaceUpdateParams
|
|
@@ -211,6 +213,7 @@ module Anthropic
|
|
|
211
213
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
212
214
|
#
|
|
213
215
|
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
216
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
214
217
|
#
|
|
215
218
|
# @return [Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationReport]
|
|
216
219
|
#
|
|
@@ -283,6 +286,8 @@ module Anthropic
|
|
|
283
286
|
#
|
|
284
287
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
285
288
|
#
|
|
289
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
290
|
+
#
|
|
286
291
|
# @return [Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationReport]
|
|
287
292
|
#
|
|
288
293
|
# @see Anthropic::Models::Beta::Organization::PluginMarketplaceValidateRepositoryParams
|
|
@@ -110,6 +110,8 @@ module Anthropic
|
|
|
110
110
|
#
|
|
111
111
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
112
112
|
#
|
|
113
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
114
|
+
#
|
|
113
115
|
# @return [Anthropic::Models::Beta::Organization::Plugins::BetaDeletedPluginInstallationSetting]
|
|
114
116
|
#
|
|
115
117
|
# @see Anthropic::Models::Beta::Organization::Plugins::InstallationSettingRemoveParams
|
|
@@ -175,6 +177,8 @@ module Anthropic
|
|
|
175
177
|
#
|
|
176
178
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
177
179
|
#
|
|
180
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
181
|
+
#
|
|
178
182
|
# @return [Anthropic::Models::Beta::Organization::Plugins::BetaPluginInstallationSetting]
|
|
179
183
|
#
|
|
180
184
|
# @see Anthropic::Models::Beta::Organization::Plugins::InstallationSettingSetParams
|
|
@@ -55,6 +55,7 @@ module Anthropic
|
|
|
55
55
|
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
56
56
|
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
57
57
|
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
58
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
58
59
|
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
59
60
|
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError]
|
|
60
61
|
#
|
|
@@ -246,6 +247,7 @@ module Anthropic
|
|
|
246
247
|
#
|
|
247
248
|
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
248
249
|
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
250
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
249
251
|
#
|
|
250
252
|
# @return [StringIO]
|
|
251
253
|
#
|
|
@@ -69,6 +69,7 @@ module Anthropic
|
|
|
69
69
|
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
70
70
|
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
71
71
|
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
72
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
72
73
|
# @raise [Anthropic::Models::Beta::Organization::BetaPluginNameTakenError]
|
|
73
74
|
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
74
75
|
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError]
|
|
@@ -200,6 +201,7 @@ module Anthropic
|
|
|
200
201
|
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
201
202
|
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
202
203
|
# @raise [Anthropic::Models::Beta::Organization::BetaScanFailedError]
|
|
204
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
203
205
|
# @raise [Anthropic::Models::Beta::Organization::BetaScanPendingError]
|
|
204
206
|
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
205
207
|
#
|
|
@@ -358,6 +360,7 @@ module Anthropic
|
|
|
358
360
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
359
361
|
#
|
|
360
362
|
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
363
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
361
364
|
#
|
|
362
365
|
# @return [Anthropic::Models::Beta::Organization::BetaDeletedPlugin]
|
|
363
366
|
#
|
|
@@ -55,6 +55,9 @@ module Anthropic
|
|
|
55
55
|
# @return [Anthropic::Resources::Beta::Organization::Webhooks]
|
|
56
56
|
attr_reader :webhooks
|
|
57
57
|
|
|
58
|
+
# @return [Anthropic::Resources::Beta::Organization::ClaudeCode]
|
|
59
|
+
attr_reader :claude_code
|
|
60
|
+
|
|
58
61
|
# @return [Anthropic::Resources::Beta::Organization::ClaudeTag]
|
|
59
62
|
attr_reader :claude_tag
|
|
60
63
|
|
|
@@ -103,6 +106,7 @@ module Anthropic
|
|
|
103
106
|
@telemetry_destinations =
|
|
104
107
|
Anthropic::Resources::Beta::Organization::TelemetryDestinations.new(client: client)
|
|
105
108
|
@webhooks = Anthropic::Resources::Beta::Organization::Webhooks.new(client: client)
|
|
109
|
+
@claude_code = Anthropic::Resources::Beta::Organization::ClaudeCode.new(client: client)
|
|
106
110
|
@claude_tag = Anthropic::Resources::Beta::Organization::ClaudeTag.new(client: client)
|
|
107
111
|
end
|
|
108
112
|
end
|
|
@@ -67,8 +67,8 @@ module Anthropic
|
|
|
67
67
|
# Partially update an external key config. Omitted fields are left unchanged.
|
|
68
68
|
#
|
|
69
69
|
# `display_name` is always editable. `geo` and `provider_config` cannot be changed
|
|
70
|
-
# once any workspace references this config,
|
|
71
|
-
#
|
|
70
|
+
# once any workspace references this config, and a Google Cloud key's provider and
|
|
71
|
+
# `key_name` cannot be changed at all.
|
|
72
72
|
#
|
|
73
73
|
# @overload update(external_key_id, display_name: nil, geo: nil, provider_config: nil, request_options: {})
|
|
74
74
|
#
|
data/lib/anthropic/version.rb
CHANGED
data/lib/anthropic.rb
CHANGED
|
@@ -131,6 +131,7 @@ require_relative "anthropic/models/beta/organization/beta_claude_tag_writes_not_
|
|
|
131
131
|
require_relative "anthropic/models/beta/organization/beta_compliance_configuration_restricted_error"
|
|
132
132
|
require_relative "anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error"
|
|
133
133
|
require_relative "anthropic/models/beta/organization/beta_plugin_name_taken_error"
|
|
134
|
+
require_relative "anthropic/models/beta/organization/beta_rbac_group_not_found_error"
|
|
134
135
|
require_relative "anthropic/models/beta/organization/beta_registration_pending_error"
|
|
135
136
|
require_relative "anthropic/models/beta/organization/beta_scan_failed_error"
|
|
136
137
|
require_relative "anthropic/models/beta/organization/beta_scan_pending_error"
|
|
@@ -139,7 +140,13 @@ require_relative "anthropic/models/beta/organization/beta_slack_channel_set_up_e
|
|
|
139
140
|
require_relative "anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error"
|
|
140
141
|
require_relative "anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error"
|
|
141
142
|
require_relative "anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error"
|
|
143
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error"
|
|
144
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error"
|
|
145
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error"
|
|
146
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error"
|
|
147
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error"
|
|
142
148
|
require_relative "anthropic/models/beta_organization_not_enrolled_in_beta_error"
|
|
149
|
+
require_relative "anthropic/models/beta_request_body_timeout_error"
|
|
143
150
|
require_relative "anthropic/models/beta_unsupported_charset_error"
|
|
144
151
|
require_relative "anthropic/models/claude_code_key_creator_not_member_error"
|
|
145
152
|
require_relative "anthropic/models/claude_code_version_too_old_error"
|
|
@@ -1373,6 +1380,7 @@ require_relative "anthropic/models/beta/organization/beta_plugin_target_organiza
|
|
|
1373
1380
|
require_relative "anthropic/models/beta/organization/beta_plugin_target_rbac_group"
|
|
1374
1381
|
require_relative "anthropic/models/beta/organization/beta_plugin_user_actor"
|
|
1375
1382
|
require_relative "anthropic/models/beta/organization/beta_rbac_group"
|
|
1383
|
+
require_relative "anthropic/models/beta/organization/beta_rbac_group_not_found_error_details"
|
|
1376
1384
|
require_relative "anthropic/models/beta/organization/beta_rbac_role"
|
|
1377
1385
|
require_relative "anthropic/models/beta/organization/beta_rbac_role_source"
|
|
1378
1386
|
require_relative "anthropic/models/beta/organization/beta_rbac_role_source_built_in"
|
|
@@ -1430,6 +1438,34 @@ require_relative "anthropic/models/beta/organization/beta_telemetry_destination_
|
|
|
1430
1438
|
require_relative "anthropic/models/beta/organization/beta_workspace"
|
|
1431
1439
|
require_relative "anthropic/models/beta/organization/beta_workspace_member"
|
|
1432
1440
|
require_relative "anthropic/models/beta/organization/beta_workspace_role"
|
|
1441
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error_details"
|
|
1442
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error_details"
|
|
1443
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error_details"
|
|
1444
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error_details"
|
|
1445
|
+
require_relative "anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details"
|
|
1446
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_configuration"
|
|
1447
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode"
|
|
1448
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode_param"
|
|
1449
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode"
|
|
1450
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode_param"
|
|
1451
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode"
|
|
1452
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode_param"
|
|
1453
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_default_managed_settings"
|
|
1454
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings"
|
|
1455
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings_summary"
|
|
1456
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status"
|
|
1457
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_active"
|
|
1458
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_deleted"
|
|
1459
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_unknown"
|
|
1460
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/beta_deleted_claude_code_rbac_group_managed_settings"
|
|
1461
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/configuration_retrieve_params"
|
|
1462
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/configuration_update_params"
|
|
1463
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_retrieve_params"
|
|
1464
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_update_params"
|
|
1465
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_delete_params"
|
|
1466
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_list_params"
|
|
1467
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_retrieve_params"
|
|
1468
|
+
require_relative "anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params"
|
|
1433
1469
|
require_relative "anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle"
|
|
1434
1470
|
require_relative "anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel"
|
|
1435
1471
|
require_relative "anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel"
|
|
@@ -1850,6 +1886,7 @@ require_relative "anthropic/models/beta_organization_not_enrolled_in_beta_error_
|
|
|
1850
1886
|
require_relative "anthropic/models/beta_overloaded_error"
|
|
1851
1887
|
require_relative "anthropic/models/beta_permission_error"
|
|
1852
1888
|
require_relative "anthropic/models/beta_rate_limit_error"
|
|
1889
|
+
require_relative "anthropic/models/beta_request_body_timeout_error_details"
|
|
1853
1890
|
require_relative "anthropic/models/beta_unsupported_charset_error_details"
|
|
1854
1891
|
require_relative "anthropic/models/billing_error"
|
|
1855
1892
|
require_relative "anthropic/models/browser_click_target"
|
|
@@ -2612,6 +2649,11 @@ require_relative "anthropic/resources/beta/organization/analytics/user_cost_repo
|
|
|
2612
2649
|
require_relative "anthropic/resources/beta/organization/analytics/users"
|
|
2613
2650
|
require_relative "anthropic/resources/beta/organization/analytics/user_usage_report"
|
|
2614
2651
|
require_relative "anthropic/resources/beta/organization/api_keys"
|
|
2652
|
+
require_relative "anthropic/resources/beta/organization/claude_code"
|
|
2653
|
+
require_relative "anthropic/resources/beta/organization/claude_code/managed_settings"
|
|
2654
|
+
require_relative "anthropic/resources/beta/organization/claude_code/managed_settings/configuration"
|
|
2655
|
+
require_relative "anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default"
|
|
2656
|
+
require_relative "anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups"
|
|
2615
2657
|
require_relative "anthropic/resources/beta/organization/claude_tag"
|
|
2616
2658
|
require_relative "anthropic/resources/beta/organization/claude_tag/bundles"
|
|
2617
2659
|
require_relative "anthropic/resources/beta/organization/claude_tag/bundles/targets"
|
|
@@ -459,6 +459,22 @@ module Anthropic
|
|
|
459
459
|
ORGANIZATION_WEBHOOKS_DELETE = "anthropic.organization.webhooks.delete"
|
|
460
460
|
ORGANIZATION_WEBHOOKS_REGENERATE_SIGNING_SECRET =
|
|
461
461
|
"anthropic.organization.webhooks.regenerate_signing_secret"
|
|
462
|
+
ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_CONFIGURATION_RETRIEVE =
|
|
463
|
+
"anthropic.organization.claude_code.managed_settings.configuration.retrieve"
|
|
464
|
+
ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_CONFIGURATION_UPDATE =
|
|
465
|
+
"anthropic.organization.claude_code.managed_settings.configuration.update"
|
|
466
|
+
ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUPS_RETRIEVE =
|
|
467
|
+
"anthropic.organization.claude_code.managed_settings.rbac_groups.retrieve"
|
|
468
|
+
ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUPS_LIST =
|
|
469
|
+
"anthropic.organization.claude_code.managed_settings.rbac_groups.list"
|
|
470
|
+
ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUPS_DELETE =
|
|
471
|
+
"anthropic.organization.claude_code.managed_settings.rbac_groups.delete"
|
|
472
|
+
ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUPS_SET =
|
|
473
|
+
"anthropic.organization.claude_code.managed_settings.rbac_groups.set"
|
|
474
|
+
ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUP_DEFAULT_RETRIEVE =
|
|
475
|
+
"anthropic.organization.claude_code.managed_settings.rbac_group_default.retrieve"
|
|
476
|
+
ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUP_DEFAULT_UPDATE =
|
|
477
|
+
"anthropic.organization.claude_code.managed_settings.rbac_group_default.update"
|
|
462
478
|
ORGANIZATION_CLAUDE_TAG_SLACK_CHANNELS_CREATE =
|
|
463
479
|
"anthropic.organization.claude_tag.slack_channels.create"
|
|
464
480
|
ORGANIZATION_CLAUDE_TAG_SLACK_CHANNELS_RETRIEVE =
|
|
@@ -401,10 +401,16 @@ module Anthropic
|
|
|
401
401
|
params(
|
|
402
402
|
headers: T::Hash[String, String],
|
|
403
403
|
stream: T::Enumerable[String],
|
|
404
|
-
suppress_error: T::Boolean
|
|
404
|
+
suppress_error: T::Boolean,
|
|
405
|
+
binary: T::Boolean
|
|
405
406
|
).returns(T.anything)
|
|
406
407
|
end
|
|
407
|
-
def decode_content(
|
|
408
|
+
def decode_content(
|
|
409
|
+
headers,
|
|
410
|
+
stream:,
|
|
411
|
+
suppress_error: false,
|
|
412
|
+
binary: false
|
|
413
|
+
)
|
|
408
414
|
end
|
|
409
415
|
end
|
|
410
416
|
|
|
@@ -251,6 +251,11 @@ module Anthropic
|
|
|
251
251
|
:"ce-user-management-2026-07-13",
|
|
252
252
|
Anthropic::AnthropicBeta::TaggedSymbol
|
|
253
253
|
)
|
|
254
|
+
CE_CLAUDE_CODE_MANAGED_SETTINGS_2026_10_06 =
|
|
255
|
+
T.let(
|
|
256
|
+
:"ce-claude-code-managed-settings-2026-10-06",
|
|
257
|
+
Anthropic::AnthropicBeta::TaggedSymbol
|
|
258
|
+
)
|
|
254
259
|
USER_PROFILES_BILLING_2026_10_01 =
|
|
255
260
|
T.let(
|
|
256
261
|
:"user-profiles-billing-2026-10-01",
|
|
@@ -141,7 +141,8 @@ module Anthropic
|
|
|
141
141
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
142
142
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
143
143
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
144
|
-
# filter only where Chat and Cowork unified is available.
|
|
144
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
145
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
145
146
|
# is reported as "other".
|
|
146
147
|
sig { returns(T.nilable(String)) }
|
|
147
148
|
attr_accessor :product
|
|
@@ -341,7 +342,8 @@ module Anthropic
|
|
|
341
342
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
342
343
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
343
344
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
344
|
-
# filter only where Chat and Cowork unified is available.
|
|
345
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
346
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
345
347
|
# is reported as "other".
|
|
346
348
|
product:,
|
|
347
349
|
# RBAC group (team) the usage is attributed to, in the public tagged
|
|
@@ -131,7 +131,8 @@ module Anthropic
|
|
|
131
131
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
132
132
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
133
133
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
134
|
-
# filter only where Chat and Cowork unified is available.
|
|
134
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
135
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
135
136
|
# is reported as "other".
|
|
136
137
|
sig { returns(T.nilable(String)) }
|
|
137
138
|
attr_accessor :product
|
|
@@ -311,7 +312,8 @@ module Anthropic
|
|
|
311
312
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
312
313
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
313
314
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
314
|
-
# filter only where Chat and Cowork unified is available.
|
|
315
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
316
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
315
317
|
# is reported as "other".
|
|
316
318
|
product:,
|
|
317
319
|
# RBAC group (team) the usage is attributed to, in the public tagged
|
|
@@ -100,7 +100,8 @@ module Anthropic
|
|
|
100
100
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
101
101
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
102
102
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
103
|
-
# filter only where Chat and Cowork unified is available.
|
|
103
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
104
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
104
105
|
# is reported as "other".
|
|
105
106
|
sig { returns(T.nilable(String)) }
|
|
106
107
|
attr_accessor :product
|
|
@@ -236,7 +237,8 @@ module Anthropic
|
|
|
236
237
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
237
238
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
238
239
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
239
|
-
# filter only where Chat and Cowork unified is available.
|
|
240
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
241
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
240
242
|
# is reported as "other".
|
|
241
243
|
product:,
|
|
242
244
|
# RBAC group (team) the usage is attributed to, in the public tagged
|
|
@@ -116,7 +116,8 @@ module Anthropic
|
|
|
116
116
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
117
117
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
118
118
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
119
|
-
# filter only where Chat and Cowork unified is available.
|
|
119
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
120
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
120
121
|
# is reported as "other".
|
|
121
122
|
sig { returns(T.nilable(String)) }
|
|
122
123
|
attr_accessor :product
|
|
@@ -266,7 +267,8 @@ module Anthropic
|
|
|
266
267
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
267
268
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
268
269
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
269
|
-
# filter only where Chat and Cowork unified is available.
|
|
270
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
271
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
270
272
|
# is reported as "other".
|
|
271
273
|
product:,
|
|
272
274
|
# RBAC group (team) the usage is attributed to, in the public tagged
|
|
@@ -96,7 +96,8 @@ module Anthropic
|
|
|
96
96
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
97
97
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
98
98
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
99
|
-
# filter only where Chat and Cowork unified is available.
|
|
99
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
100
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
100
101
|
# is reported as "other".
|
|
101
102
|
sig { returns(T.nilable(String)) }
|
|
102
103
|
attr_accessor :product
|
|
@@ -230,7 +231,8 @@ module Anthropic
|
|
|
230
231
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
231
232
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
232
233
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
233
|
-
# filter only where Chat and Cowork unified is available.
|
|
234
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
235
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
234
236
|
# is reported as "other".
|
|
235
237
|
product:,
|
|
236
238
|
# RBAC group (team) the usage is attributed to, in the public tagged
|
|
@@ -113,7 +113,8 @@ module Anthropic
|
|
|
113
113
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
114
114
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
115
115
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
116
|
-
# filter only where Chat and Cowork unified is available.
|
|
116
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
117
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
117
118
|
# is reported as "other".
|
|
118
119
|
sig { returns(T.nilable(String)) }
|
|
119
120
|
attr_accessor :product
|
|
@@ -268,7 +269,8 @@ module Anthropic
|
|
|
268
269
|
# `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside
|
|
269
270
|
# claude.ai chat: chat and Cowork usage by a member who has it turned on is
|
|
270
271
|
# reported under this value instead of `chat` or `cowork`. It is accepted as a
|
|
271
|
-
# filter only where Chat and Cowork unified is available.
|
|
272
|
+
# filter only where Chat and Cowork unified is available. `cc_security_autopatch`
|
|
273
|
+
# is work that Claude Security runs for the organization. Some unattributed usage
|
|
272
274
|
# is reported as "other".
|
|
273
275
|
product:,
|
|
274
276
|
# RBAC group (team) the usage is attributed to, in the public tagged
|
|
@@ -14,7 +14,7 @@ module Anthropic
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
# The limiter type (for example, `requests_per_minute` or
|
|
17
|
-
# `
|
|
17
|
+
# `input_tokens_per_minute_cache_aware`).
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :type
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ module Anthropic
|
|
|
25
25
|
sig { params(type: String, value: Integer).returns(T.attached_class) }
|
|
26
26
|
def self.new(
|
|
27
27
|
# The limiter type (for example, `requests_per_minute` or
|
|
28
|
-
# `
|
|
28
|
+
# `input_tokens_per_minute_cache_aware`).
|
|
29
29
|
type:,
|
|
30
30
|
# The configured limit value for this limiter type.
|
|
31
31
|
value:
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# The RBAC Group is not one of the organization's groups.
|
|
8
|
+
class BetaRBACGroupNotFoundError < Anthropic::Errors::NotFoundError
|
|
9
|
+
sig { returns(Symbol) }
|
|
10
|
+
def error_code
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
sig do
|
|
14
|
+
returns(
|
|
15
|
+
Anthropic::Beta::Organization::BetaRBACGroupNotFoundErrorDetails
|
|
16
|
+
)
|
|
17
|
+
end
|
|
18
|
+
def details
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaRBACGroupNotFoundErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaRBACGroupNotFoundErrorDetails,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
sig { returns(Symbol) }
|
|
17
|
+
attr_accessor :error_code
|
|
18
|
+
|
|
19
|
+
# The RBAC Group is not one of the organization's groups.
|
|
20
|
+
sig { params(error_code: Symbol).returns(T.attached_class) }
|
|
21
|
+
def self.new(error_code: :rbac_group_not_found)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
sig { override.returns({ error_code: Symbol }) }
|
|
25
|
+
def to_hash
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
data/rbi/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error.rbi
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
# This stored settings document currently cannot be read or replaced. Contact
|
|
9
|
+
# support, or, if you no longer need these settings, delete the group's settings
|
|
10
|
+
# or clear the default.
|
|
11
|
+
class BetaCMEKFeatureUnsupportedError < Anthropic::Errors::BadRequestError
|
|
12
|
+
sig { returns(Symbol) }
|
|
13
|
+
def error_code
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
sig do
|
|
17
|
+
returns(
|
|
18
|
+
Anthropic::Beta::Organization::ClaudeCode::BetaCMEKFeatureUnsupportedErrorDetails
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
def details
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
class BetaCMEKFeatureUnsupportedErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Anthropic::Beta::Organization::ClaudeCode::BetaCMEKFeatureUnsupportedErrorDetails,
|
|
13
|
+
Anthropic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
sig { returns(Symbol) }
|
|
18
|
+
attr_accessor :error_code
|
|
19
|
+
|
|
20
|
+
# This stored settings document currently cannot be read or replaced. Contact
|
|
21
|
+
# support, or, if you no longer need these settings, delete the group's settings
|
|
22
|
+
# or clear the default.
|
|
23
|
+
sig { params(error_code: Symbol).returns(T.attached_class) }
|
|
24
|
+
def self.new(error_code: :cmek_feature_unsupported)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
sig { override.returns({ error_code: Symbol }) }
|
|
28
|
+
def to_hash
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
# This RBAC Group has no Claude Code managed settings.
|
|
9
|
+
class BetaRBACGroupManagedSettingsNotFoundError < Anthropic::Errors::NotFoundError
|
|
10
|
+
sig { returns(Symbol) }
|
|
11
|
+
def error_code
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig do
|
|
15
|
+
returns(
|
|
16
|
+
Anthropic::Beta::Organization::ClaudeCode::BetaRBACGroupManagedSettingsNotFoundErrorDetails
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
def details
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
class BetaRBACGroupManagedSettingsNotFoundErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Anthropic::Beta::Organization::ClaudeCode::BetaRBACGroupManagedSettingsNotFoundErrorDetails,
|
|
13
|
+
Anthropic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
sig { returns(Symbol) }
|
|
18
|
+
attr_accessor :error_code
|
|
19
|
+
|
|
20
|
+
# This RBAC Group has no Claude Code managed settings.
|
|
21
|
+
sig { params(error_code: Symbol).returns(T.attached_class) }
|
|
22
|
+
def self.new(error_code: :rbac_group_managed_settings_not_found)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig { override.returns({ error_code: Symbol }) }
|
|
26
|
+
def to_hash
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
# The RBAC Group order already has the most groups allowed. Delete another group's
|
|
9
|
+
# settings first.
|
|
10
|
+
class BetaRBACGroupOrderLimitExceededError < Anthropic::Errors::BadRequestError
|
|
11
|
+
sig { returns(Symbol) }
|
|
12
|
+
def error_code
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
sig do
|
|
16
|
+
returns(
|
|
17
|
+
Anthropic::Beta::Organization::ClaudeCode::BetaRBACGroupOrderLimitExceededErrorDetails
|
|
18
|
+
)
|
|
19
|
+
end
|
|
20
|
+
def details
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|