anthropic 2.10.0 → 2.12.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 +39 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +8 -0
- data/lib/anthropic/helpers/bedrock/client.rb +12 -2
- 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/message_create_params.rb +6 -0
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +6 -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 +62 -5
- data/lib/anthropic/models/image_dimensions_too_large_error.rb +21 -0
- data/lib/anthropic/models/image_dimensions_too_large_error_details.rb +41 -0
- 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/user_profile_billing_not_authorized_error.rb +1 -1
- data/lib/anthropic/models/user_profile_billing_not_authorized_error_details.rb +1 -1
- data/lib/anthropic/models/user_profile_not_billable_error.rb +2 -2
- data/lib/anthropic/models/user_profile_not_billable_error_details.rb +2 -2
- data/lib/anthropic/models.rb +8 -0
- data/lib/anthropic/resources/beta/messages.rb +3 -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/messages.rb +3 -0
- data/lib/anthropic/resources/organization/external_keys.rb +2 -2
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +44 -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/message_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +12 -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 +57 -0
- data/rbi/anthropic/models/image_dimensions_too_large_error.rbi +18 -0
- data/rbi/anthropic/models/image_dimensions_too_large_error_details.rbi +63 -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/user_profile_billing_not_authorized_error.rbi +1 -1
- data/rbi/anthropic/models/user_profile_billing_not_authorized_error_details.rbi +1 -1
- data/rbi/anthropic/models/user_profile_not_billable_error.rbi +2 -2
- data/rbi/anthropic/models/user_profile_not_billable_error_details.rbi +2 -2
- data/rbi/anthropic/models.rbi +10 -0
- data/rbi/anthropic/resources/beta/messages.rbi +18 -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 +57 -0
- data/sig/anthropic/models/image_dimensions_too_large_error.rbs +9 -0
- data/sig/anthropic/models/image_dimensions_too_large_error_details.rbs +30 -0
- data/sig/anthropic/models.rbs +8 -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 +134 -2
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
class BetaClaudeCodeRBACGroupManagedSettings < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupManagedSettings,
|
|
14
|
+
Anthropic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# When the settings document this group uses was first stored, in RFC 3339 format.
|
|
19
|
+
# This can be earlier than when the group got its settings, and it changes if the
|
|
20
|
+
# group gets a different document.
|
|
21
|
+
sig { returns(Time) }
|
|
22
|
+
attr_accessor :created_at
|
|
23
|
+
|
|
24
|
+
# The RBAC Group's ID, prefixed `rbac_group_`.
|
|
25
|
+
sig { returns(String) }
|
|
26
|
+
attr_accessor :rbac_group_id
|
|
27
|
+
|
|
28
|
+
# Whether the group is still one of the organization's RBAC Groups. Its `type` is
|
|
29
|
+
# `active` if it is, `deleted` if it is not, and `unknown` if that cannot be
|
|
30
|
+
# checked right now. A deleted group's settings stay in `rbac_group_order` but
|
|
31
|
+
# match no member.
|
|
32
|
+
sig do
|
|
33
|
+
returns(
|
|
34
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Variants
|
|
35
|
+
)
|
|
36
|
+
end
|
|
37
|
+
attr_accessor :rbac_group_status
|
|
38
|
+
|
|
39
|
+
# The group's settings document, or `null` if the stored document is damaged and
|
|
40
|
+
# can no longer be read. Replacing it fixes this.
|
|
41
|
+
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
42
|
+
attr_accessor :settings
|
|
43
|
+
|
|
44
|
+
# Always `claude_code_rbac_group_managed_settings`.
|
|
45
|
+
sig { returns(Symbol) }
|
|
46
|
+
attr_accessor :type
|
|
47
|
+
|
|
48
|
+
# When this group's settings or its position in the order last changed, in RFC
|
|
49
|
+
# 3339 format. Its position changes whenever the number of groups ahead of it
|
|
50
|
+
# changes.
|
|
51
|
+
sig { returns(Time) }
|
|
52
|
+
attr_accessor :updated_at
|
|
53
|
+
|
|
54
|
+
sig do
|
|
55
|
+
params(
|
|
56
|
+
created_at: Time,
|
|
57
|
+
rbac_group_id: String,
|
|
58
|
+
rbac_group_status:
|
|
59
|
+
T.any(
|
|
60
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusActive::OrHash,
|
|
61
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusDeleted::OrHash,
|
|
62
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusUnknown::OrHash
|
|
63
|
+
),
|
|
64
|
+
settings: T.nilable(T::Hash[Symbol, T.anything]),
|
|
65
|
+
updated_at: Time,
|
|
66
|
+
type: Symbol
|
|
67
|
+
).returns(T.attached_class)
|
|
68
|
+
end
|
|
69
|
+
def self.new(
|
|
70
|
+
# When the settings document this group uses was first stored, in RFC 3339 format.
|
|
71
|
+
# This can be earlier than when the group got its settings, and it changes if the
|
|
72
|
+
# group gets a different document.
|
|
73
|
+
created_at:,
|
|
74
|
+
# The RBAC Group's ID, prefixed `rbac_group_`.
|
|
75
|
+
rbac_group_id:,
|
|
76
|
+
# Whether the group is still one of the organization's RBAC Groups. Its `type` is
|
|
77
|
+
# `active` if it is, `deleted` if it is not, and `unknown` if that cannot be
|
|
78
|
+
# checked right now. A deleted group's settings stay in `rbac_group_order` but
|
|
79
|
+
# match no member.
|
|
80
|
+
rbac_group_status:,
|
|
81
|
+
# The group's settings document, or `null` if the stored document is damaged and
|
|
82
|
+
# can no longer be read. Replacing it fixes this.
|
|
83
|
+
settings:,
|
|
84
|
+
# When this group's settings or its position in the order last changed, in RFC
|
|
85
|
+
# 3339 format. Its position changes whenever the number of groups ahead of it
|
|
86
|
+
# changes.
|
|
87
|
+
updated_at:,
|
|
88
|
+
# Always `claude_code_rbac_group_managed_settings`.
|
|
89
|
+
type: :claude_code_rbac_group_managed_settings
|
|
90
|
+
)
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
sig do
|
|
94
|
+
override.returns(
|
|
95
|
+
{
|
|
96
|
+
created_at: Time,
|
|
97
|
+
rbac_group_id: String,
|
|
98
|
+
rbac_group_status:
|
|
99
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Variants,
|
|
100
|
+
settings: T.nilable(T::Hash[Symbol, T.anything]),
|
|
101
|
+
type: Symbol,
|
|
102
|
+
updated_at: Time
|
|
103
|
+
}
|
|
104
|
+
)
|
|
105
|
+
end
|
|
106
|
+
def to_hash
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
class BetaClaudeCodeRBACGroupManagedSettingsSummary < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupManagedSettingsSummary,
|
|
14
|
+
Anthropic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# When the settings document this group uses was first stored, in RFC 3339 format.
|
|
19
|
+
# This can be earlier than when the group got its settings, and it changes if the
|
|
20
|
+
# group gets a different document.
|
|
21
|
+
sig { returns(Time) }
|
|
22
|
+
attr_accessor :created_at
|
|
23
|
+
|
|
24
|
+
# The RBAC Group's ID, prefixed `rbac_group_`.
|
|
25
|
+
sig { returns(String) }
|
|
26
|
+
attr_accessor :rbac_group_id
|
|
27
|
+
|
|
28
|
+
# Whether the group is still one of the organization's RBAC Groups. Its `type` is
|
|
29
|
+
# `active` if it is, `deleted` if it is not, and `unknown` if that cannot be
|
|
30
|
+
# checked right now. A deleted group's settings stay in `rbac_group_order` but
|
|
31
|
+
# match no member.
|
|
32
|
+
sig do
|
|
33
|
+
returns(
|
|
34
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Variants
|
|
35
|
+
)
|
|
36
|
+
end
|
|
37
|
+
attr_accessor :rbac_group_status
|
|
38
|
+
|
|
39
|
+
# Always `claude_code_rbac_group_managed_settings_summary`.
|
|
40
|
+
sig { returns(Symbol) }
|
|
41
|
+
attr_accessor :type
|
|
42
|
+
|
|
43
|
+
# When this group's settings or its position in the order last changed, in RFC
|
|
44
|
+
# 3339 format. Its position changes whenever the number of groups ahead of it
|
|
45
|
+
# changes.
|
|
46
|
+
sig { returns(Time) }
|
|
47
|
+
attr_accessor :updated_at
|
|
48
|
+
|
|
49
|
+
sig do
|
|
50
|
+
params(
|
|
51
|
+
created_at: Time,
|
|
52
|
+
rbac_group_id: String,
|
|
53
|
+
rbac_group_status:
|
|
54
|
+
T.any(
|
|
55
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusActive::OrHash,
|
|
56
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusDeleted::OrHash,
|
|
57
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusUnknown::OrHash
|
|
58
|
+
),
|
|
59
|
+
updated_at: Time,
|
|
60
|
+
type: Symbol
|
|
61
|
+
).returns(T.attached_class)
|
|
62
|
+
end
|
|
63
|
+
def self.new(
|
|
64
|
+
# When the settings document this group uses was first stored, in RFC 3339 format.
|
|
65
|
+
# This can be earlier than when the group got its settings, and it changes if the
|
|
66
|
+
# group gets a different document.
|
|
67
|
+
created_at:,
|
|
68
|
+
# The RBAC Group's ID, prefixed `rbac_group_`.
|
|
69
|
+
rbac_group_id:,
|
|
70
|
+
# Whether the group is still one of the organization's RBAC Groups. Its `type` is
|
|
71
|
+
# `active` if it is, `deleted` if it is not, and `unknown` if that cannot be
|
|
72
|
+
# checked right now. A deleted group's settings stay in `rbac_group_order` but
|
|
73
|
+
# match no member.
|
|
74
|
+
rbac_group_status:,
|
|
75
|
+
# When this group's settings or its position in the order last changed, in RFC
|
|
76
|
+
# 3339 format. Its position changes whenever the number of groups ahead of it
|
|
77
|
+
# changes.
|
|
78
|
+
updated_at:,
|
|
79
|
+
# Always `claude_code_rbac_group_managed_settings_summary`.
|
|
80
|
+
type: :claude_code_rbac_group_managed_settings_summary
|
|
81
|
+
)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
sig do
|
|
85
|
+
override.returns(
|
|
86
|
+
{
|
|
87
|
+
created_at: Time,
|
|
88
|
+
rbac_group_id: String,
|
|
89
|
+
rbac_group_status:
|
|
90
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Variants,
|
|
91
|
+
type: Symbol,
|
|
92
|
+
updated_at: Time
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
end
|
|
96
|
+
def to_hash
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
module BetaClaudeCodeRBACGroupStatus
|
|
10
|
+
extend Anthropic::Internal::Type::Union
|
|
11
|
+
|
|
12
|
+
Variants =
|
|
13
|
+
T.type_alias do
|
|
14
|
+
T.any(
|
|
15
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusActive,
|
|
16
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusDeleted,
|
|
17
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusUnknown
|
|
18
|
+
)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
module Type
|
|
22
|
+
extend Anthropic::Internal::Type::Enum
|
|
23
|
+
|
|
24
|
+
TaggedSymbol =
|
|
25
|
+
T.type_alias do
|
|
26
|
+
T.all(
|
|
27
|
+
Symbol,
|
|
28
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Type
|
|
29
|
+
)
|
|
30
|
+
end
|
|
31
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
32
|
+
|
|
33
|
+
ACTIVE =
|
|
34
|
+
T.let(
|
|
35
|
+
:active,
|
|
36
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Type::TaggedSymbol
|
|
37
|
+
)
|
|
38
|
+
DELETED =
|
|
39
|
+
T.let(
|
|
40
|
+
:deleted,
|
|
41
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Type::TaggedSymbol
|
|
42
|
+
)
|
|
43
|
+
UNKNOWN =
|
|
44
|
+
T.let(
|
|
45
|
+
:unknown,
|
|
46
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Type::TaggedSymbol
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
sig do
|
|
50
|
+
override.returns(
|
|
51
|
+
T::Array[
|
|
52
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Type::TaggedSymbol
|
|
53
|
+
]
|
|
54
|
+
)
|
|
55
|
+
end
|
|
56
|
+
def self.values
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
sig do
|
|
61
|
+
override.returns(
|
|
62
|
+
T::Array[
|
|
63
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Variants
|
|
64
|
+
]
|
|
65
|
+
)
|
|
66
|
+
end
|
|
67
|
+
def self.variants
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
71
|
+
# value, passing the remaining arguments to its constructor.
|
|
72
|
+
sig do
|
|
73
|
+
params(
|
|
74
|
+
type:
|
|
75
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Type::OrSymbol
|
|
76
|
+
).returns(
|
|
77
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatus::Variants
|
|
78
|
+
)
|
|
79
|
+
end
|
|
80
|
+
def self.new(type:)
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
class BetaClaudeCodeRBACGroupStatusActive < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusActive,
|
|
14
|
+
Anthropic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# Always `active`.
|
|
19
|
+
sig { returns(Symbol) }
|
|
20
|
+
attr_accessor :type
|
|
21
|
+
|
|
22
|
+
sig { params(type: Symbol).returns(T.attached_class) }
|
|
23
|
+
def self.new(
|
|
24
|
+
# Always `active`.
|
|
25
|
+
type: :active
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
sig { override.returns({ type: Symbol }) }
|
|
30
|
+
def to_hash
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
class BetaClaudeCodeRBACGroupStatusDeleted < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusDeleted,
|
|
14
|
+
Anthropic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# Always `deleted`.
|
|
19
|
+
sig { returns(Symbol) }
|
|
20
|
+
attr_accessor :type
|
|
21
|
+
|
|
22
|
+
sig { params(type: Symbol).returns(T.attached_class) }
|
|
23
|
+
def self.new(
|
|
24
|
+
# Always `deleted`.
|
|
25
|
+
type: :deleted
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
sig { override.returns({ type: Symbol }) }
|
|
30
|
+
def to_hash
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
class BetaClaudeCodeRBACGroupStatusUnknown < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupStatusUnknown,
|
|
14
|
+
Anthropic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# Always `unknown`.
|
|
19
|
+
sig { returns(Symbol) }
|
|
20
|
+
attr_accessor :type
|
|
21
|
+
|
|
22
|
+
sig { params(type: Symbol).returns(T.attached_class) }
|
|
23
|
+
def self.new(
|
|
24
|
+
# Always `unknown`.
|
|
25
|
+
type: :unknown
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
sig { override.returns({ type: Symbol }) }
|
|
30
|
+
def to_hash
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
class BetaDeletedClaudeCodeRBACGroupManagedSettings < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaDeletedClaudeCodeRBACGroupManagedSettings,
|
|
14
|
+
Anthropic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# The RBAC Group's ID, prefixed `rbac_group_`.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :rbac_group_id
|
|
21
|
+
|
|
22
|
+
# Always `claude_code_rbac_group_managed_settings_deleted`.
|
|
23
|
+
sig { returns(Symbol) }
|
|
24
|
+
attr_accessor :type
|
|
25
|
+
|
|
26
|
+
sig do
|
|
27
|
+
params(rbac_group_id: String, type: Symbol).returns(
|
|
28
|
+
T.attached_class
|
|
29
|
+
)
|
|
30
|
+
end
|
|
31
|
+
def self.new(
|
|
32
|
+
# The RBAC Group's ID, prefixed `rbac_group_`.
|
|
33
|
+
rbac_group_id:,
|
|
34
|
+
# Always `claude_code_rbac_group_managed_settings_deleted`.
|
|
35
|
+
type: :claude_code_rbac_group_managed_settings_deleted
|
|
36
|
+
)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
sig { override.returns({ rbac_group_id: String, type: Symbol }) }
|
|
40
|
+
def to_hash
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
class ConfigurationRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
11
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
12
|
+
|
|
13
|
+
OrHash =
|
|
14
|
+
T.type_alias do
|
|
15
|
+
T.any(
|
|
16
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::ConfigurationRetrieveParams,
|
|
17
|
+
Anthropic::Internal::AnyHash
|
|
18
|
+
)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# This endpoint is in beta: requests must send
|
|
22
|
+
# `ce-claude-code-managed-settings-2026-10-06` in this header.
|
|
23
|
+
sig do
|
|
24
|
+
returns(
|
|
25
|
+
T.nilable(
|
|
26
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
27
|
+
)
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
attr_reader :betas
|
|
31
|
+
|
|
32
|
+
sig do
|
|
33
|
+
params(
|
|
34
|
+
betas:
|
|
35
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
36
|
+
).void
|
|
37
|
+
end
|
|
38
|
+
attr_writer :betas
|
|
39
|
+
|
|
40
|
+
sig do
|
|
41
|
+
params(
|
|
42
|
+
betas:
|
|
43
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
44
|
+
request_options: Anthropic::RequestOptions::OrHash
|
|
45
|
+
).returns(T.attached_class)
|
|
46
|
+
end
|
|
47
|
+
def self.new(
|
|
48
|
+
# This endpoint is in beta: requests must send
|
|
49
|
+
# `ce-claude-code-managed-settings-2026-10-06` in this header.
|
|
50
|
+
betas: nil,
|
|
51
|
+
request_options: {}
|
|
52
|
+
)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
sig do
|
|
56
|
+
override.returns(
|
|
57
|
+
{
|
|
58
|
+
betas:
|
|
59
|
+
T::Array[
|
|
60
|
+
T.any(Anthropic::AnthropicBeta::OrSymbol, String)
|
|
61
|
+
],
|
|
62
|
+
request_options: Anthropic::RequestOptions
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
end
|
|
66
|
+
def to_hash
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
module ClaudeCode
|
|
8
|
+
module ManagedSettings
|
|
9
|
+
class ConfigurationUpdateParams < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
11
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
12
|
+
|
|
13
|
+
OrHash =
|
|
14
|
+
T.type_alias do
|
|
15
|
+
T.any(
|
|
16
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::ConfigurationUpdateParams,
|
|
17
|
+
Anthropic::Internal::AnyHash
|
|
18
|
+
)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# The new mode, as an object such as `{"type": "rbac_groups"}`.
|
|
22
|
+
sig do
|
|
23
|
+
returns(
|
|
24
|
+
T.nilable(
|
|
25
|
+
T.any(
|
|
26
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsOrganizationModeParam,
|
|
27
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsRBACGroupsModeParam
|
|
28
|
+
)
|
|
29
|
+
)
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
attr_reader :mode
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
params(
|
|
36
|
+
mode:
|
|
37
|
+
T.any(
|
|
38
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsOrganizationModeParam::OrHash,
|
|
39
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsRBACGroupsModeParam::OrHash
|
|
40
|
+
)
|
|
41
|
+
).void
|
|
42
|
+
end
|
|
43
|
+
attr_writer :mode
|
|
44
|
+
|
|
45
|
+
# Every RBAC Group that has settings, each listed once, in the new order, highest
|
|
46
|
+
# precedence first. Requires `rbac_group_order_version`.
|
|
47
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
48
|
+
attr_reader :rbac_group_order
|
|
49
|
+
|
|
50
|
+
sig { params(rbac_group_order: T::Array[String]).void }
|
|
51
|
+
attr_writer :rbac_group_order
|
|
52
|
+
|
|
53
|
+
# The `rbac_group_order_version` from the read this change is based on. Requires
|
|
54
|
+
# `rbac_group_order`.
|
|
55
|
+
sig { returns(T.nilable(String)) }
|
|
56
|
+
attr_reader :rbac_group_order_version
|
|
57
|
+
|
|
58
|
+
sig { params(rbac_group_order_version: String).void }
|
|
59
|
+
attr_writer :rbac_group_order_version
|
|
60
|
+
|
|
61
|
+
# This endpoint is in beta: requests must send
|
|
62
|
+
# `ce-claude-code-managed-settings-2026-10-06` in this header.
|
|
63
|
+
sig do
|
|
64
|
+
returns(
|
|
65
|
+
T.nilable(
|
|
66
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
67
|
+
)
|
|
68
|
+
)
|
|
69
|
+
end
|
|
70
|
+
attr_reader :betas
|
|
71
|
+
|
|
72
|
+
sig do
|
|
73
|
+
params(
|
|
74
|
+
betas:
|
|
75
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
76
|
+
).void
|
|
77
|
+
end
|
|
78
|
+
attr_writer :betas
|
|
79
|
+
|
|
80
|
+
sig do
|
|
81
|
+
params(
|
|
82
|
+
mode:
|
|
83
|
+
T.any(
|
|
84
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsOrganizationModeParam::OrHash,
|
|
85
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsRBACGroupsModeParam::OrHash
|
|
86
|
+
),
|
|
87
|
+
rbac_group_order: T::Array[String],
|
|
88
|
+
rbac_group_order_version: String,
|
|
89
|
+
betas:
|
|
90
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
91
|
+
request_options: Anthropic::RequestOptions::OrHash
|
|
92
|
+
).returns(T.attached_class)
|
|
93
|
+
end
|
|
94
|
+
def self.new(
|
|
95
|
+
# The new mode, as an object such as `{"type": "rbac_groups"}`.
|
|
96
|
+
mode: nil,
|
|
97
|
+
# Every RBAC Group that has settings, each listed once, in the new order, highest
|
|
98
|
+
# precedence first. Requires `rbac_group_order_version`.
|
|
99
|
+
rbac_group_order: nil,
|
|
100
|
+
# The `rbac_group_order_version` from the read this change is based on. Requires
|
|
101
|
+
# `rbac_group_order`.
|
|
102
|
+
rbac_group_order_version: nil,
|
|
103
|
+
# This endpoint is in beta: requests must send
|
|
104
|
+
# `ce-claude-code-managed-settings-2026-10-06` in this header.
|
|
105
|
+
betas: nil,
|
|
106
|
+
request_options: {}
|
|
107
|
+
)
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
sig do
|
|
111
|
+
override.returns(
|
|
112
|
+
{
|
|
113
|
+
mode:
|
|
114
|
+
T.any(
|
|
115
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsOrganizationModeParam,
|
|
116
|
+
Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsRBACGroupsModeParam
|
|
117
|
+
),
|
|
118
|
+
rbac_group_order: T::Array[String],
|
|
119
|
+
rbac_group_order_version: String,
|
|
120
|
+
betas:
|
|
121
|
+
T::Array[
|
|
122
|
+
T.any(Anthropic::AnthropicBeta::OrSymbol, String)
|
|
123
|
+
],
|
|
124
|
+
request_options: Anthropic::RequestOptions
|
|
125
|
+
}
|
|
126
|
+
)
|
|
127
|
+
end
|
|
128
|
+
def to_hash
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|