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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type beta_claude_code_rbac_group_status_active = { type: :active }
|
|
8
|
+
|
|
9
|
+
class BetaClaudeCodeRBACGroupStatusActive < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor type: :active
|
|
11
|
+
|
|
12
|
+
def initialize: (?type: :active) -> void
|
|
13
|
+
|
|
14
|
+
def to_hash: -> { type: :active }
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type beta_claude_code_rbac_group_status_deleted = { type: :deleted }
|
|
8
|
+
|
|
9
|
+
class BetaClaudeCodeRBACGroupStatusDeleted < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor type: :deleted
|
|
11
|
+
|
|
12
|
+
def initialize: (?type: :deleted) -> void
|
|
13
|
+
|
|
14
|
+
def to_hash: -> { type: :deleted }
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type beta_claude_code_rbac_group_status_unknown = { type: :unknown }
|
|
8
|
+
|
|
9
|
+
class BetaClaudeCodeRBACGroupStatusUnknown < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor type: :unknown
|
|
11
|
+
|
|
12
|
+
def initialize: (?type: :unknown) -> void
|
|
13
|
+
|
|
14
|
+
def to_hash: -> { type: :unknown }
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type beta_deleted_claude_code_rbac_group_managed_settings =
|
|
8
|
+
{
|
|
9
|
+
rbac_group_id: String,
|
|
10
|
+
type: :claude_code_rbac_group_managed_settings_deleted
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class BetaDeletedClaudeCodeRBACGroupManagedSettings < Anthropic::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor rbac_group_id: String
|
|
15
|
+
|
|
16
|
+
attr_accessor type: :claude_code_rbac_group_managed_settings_deleted
|
|
17
|
+
|
|
18
|
+
def initialize: (
|
|
19
|
+
rbac_group_id: String,
|
|
20
|
+
?type: :claude_code_rbac_group_managed_settings_deleted
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
rbac_group_id: String,
|
|
25
|
+
type: :claude_code_rbac_group_managed_settings_deleted
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type configuration_retrieve_params =
|
|
8
|
+
{ betas: ::Array[Anthropic::Models::anthropic_beta] }
|
|
9
|
+
& Anthropic::Internal::Type::request_parameters
|
|
10
|
+
|
|
11
|
+
class ConfigurationRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
12
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
16
|
+
|
|
17
|
+
def betas=: (
|
|
18
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
19
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
20
|
+
|
|
21
|
+
def initialize: (
|
|
22
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
23
|
+
?request_options: Anthropic::request_opts
|
|
24
|
+
) -> void
|
|
25
|
+
|
|
26
|
+
def to_hash: -> {
|
|
27
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
28
|
+
request_options: Anthropic::RequestOptions
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type configuration_update_params =
|
|
8
|
+
{
|
|
9
|
+
mode: Anthropic::Models::Beta::Organization::ClaudeCode::ManagedSettings::beta_claude_code_managed_settings_mode_param,
|
|
10
|
+
rbac_group_order: ::Array[String],
|
|
11
|
+
rbac_group_order_version: String,
|
|
12
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
13
|
+
}
|
|
14
|
+
& Anthropic::Internal::Type::request_parameters
|
|
15
|
+
|
|
16
|
+
class ConfigurationUpdateParams < Anthropic::Internal::Type::BaseModel
|
|
17
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
18
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
19
|
+
|
|
20
|
+
attr_reader mode: Anthropic::Models::Beta::Organization::ClaudeCode::ManagedSettings::beta_claude_code_managed_settings_mode_param?
|
|
21
|
+
|
|
22
|
+
def mode=: (
|
|
23
|
+
Anthropic::Models::Beta::Organization::ClaudeCode::ManagedSettings::beta_claude_code_managed_settings_mode_param
|
|
24
|
+
) -> Anthropic::Models::Beta::Organization::ClaudeCode::ManagedSettings::beta_claude_code_managed_settings_mode_param
|
|
25
|
+
|
|
26
|
+
attr_reader rbac_group_order: ::Array[String]?
|
|
27
|
+
|
|
28
|
+
def rbac_group_order=: (::Array[String]) -> ::Array[String]
|
|
29
|
+
|
|
30
|
+
attr_reader rbac_group_order_version: String?
|
|
31
|
+
|
|
32
|
+
def rbac_group_order_version=: (String) -> String
|
|
33
|
+
|
|
34
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
35
|
+
|
|
36
|
+
def betas=: (
|
|
37
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
38
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
39
|
+
|
|
40
|
+
def initialize: (
|
|
41
|
+
?mode: Anthropic::Models::Beta::Organization::ClaudeCode::ManagedSettings::beta_claude_code_managed_settings_mode_param,
|
|
42
|
+
?rbac_group_order: ::Array[String],
|
|
43
|
+
?rbac_group_order_version: String,
|
|
44
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
45
|
+
?request_options: Anthropic::request_opts
|
|
46
|
+
) -> void
|
|
47
|
+
|
|
48
|
+
def to_hash: -> {
|
|
49
|
+
mode: Anthropic::Models::Beta::Organization::ClaudeCode::ManagedSettings::beta_claude_code_managed_settings_mode_param,
|
|
50
|
+
rbac_group_order: ::Array[String],
|
|
51
|
+
rbac_group_order_version: String,
|
|
52
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
53
|
+
request_options: Anthropic::RequestOptions
|
|
54
|
+
}
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type rbac_group_default_retrieve_params =
|
|
8
|
+
{ betas: ::Array[Anthropic::Models::anthropic_beta] }
|
|
9
|
+
& Anthropic::Internal::Type::request_parameters
|
|
10
|
+
|
|
11
|
+
class RBACGroupDefaultRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
12
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
16
|
+
|
|
17
|
+
def betas=: (
|
|
18
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
19
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
20
|
+
|
|
21
|
+
def initialize: (
|
|
22
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
23
|
+
?request_options: Anthropic::request_opts
|
|
24
|
+
) -> void
|
|
25
|
+
|
|
26
|
+
def to_hash: -> {
|
|
27
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
28
|
+
request_options: Anthropic::RequestOptions
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type rbac_group_default_update_params =
|
|
8
|
+
{
|
|
9
|
+
settings: ::Hash[Symbol, top]?,
|
|
10
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
11
|
+
}
|
|
12
|
+
& Anthropic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class RBACGroupDefaultUpdateParams < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor settings: ::Hash[Symbol, top]?
|
|
19
|
+
|
|
20
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
21
|
+
|
|
22
|
+
def betas=: (
|
|
23
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
24
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
settings: ::Hash[Symbol, top]?,
|
|
28
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
29
|
+
?request_options: Anthropic::request_opts
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
settings: ::Hash[Symbol, top]?,
|
|
34
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
35
|
+
request_options: Anthropic::RequestOptions
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type rbac_group_delete_params =
|
|
8
|
+
{
|
|
9
|
+
rbac_group_id: String,
|
|
10
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
11
|
+
}
|
|
12
|
+
& Anthropic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class RBACGroupDeleteParams < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor rbac_group_id: String
|
|
19
|
+
|
|
20
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
21
|
+
|
|
22
|
+
def betas=: (
|
|
23
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
24
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
rbac_group_id: String,
|
|
28
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
29
|
+
?request_options: Anthropic::request_opts
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
rbac_group_id: String,
|
|
34
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
35
|
+
request_options: Anthropic::RequestOptions
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_list_params.rbs
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type rbac_group_list_params =
|
|
8
|
+
{
|
|
9
|
+
limit: Integer,
|
|
10
|
+
page: String?,
|
|
11
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
12
|
+
}
|
|
13
|
+
& Anthropic::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class RBACGroupListParams < Anthropic::Internal::Type::BaseModel
|
|
16
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_reader limit: Integer?
|
|
20
|
+
|
|
21
|
+
def limit=: (Integer) -> Integer
|
|
22
|
+
|
|
23
|
+
attr_accessor page: String?
|
|
24
|
+
|
|
25
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
26
|
+
|
|
27
|
+
def betas=: (
|
|
28
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
29
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
30
|
+
|
|
31
|
+
def initialize: (
|
|
32
|
+
?limit: Integer,
|
|
33
|
+
?page: String?,
|
|
34
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
35
|
+
?request_options: Anthropic::request_opts
|
|
36
|
+
) -> void
|
|
37
|
+
|
|
38
|
+
def to_hash: -> {
|
|
39
|
+
limit: Integer,
|
|
40
|
+
page: String?,
|
|
41
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
42
|
+
request_options: Anthropic::RequestOptions
|
|
43
|
+
}
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type rbac_group_retrieve_params =
|
|
8
|
+
{
|
|
9
|
+
rbac_group_id: String,
|
|
10
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
11
|
+
}
|
|
12
|
+
& Anthropic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class RBACGroupRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor rbac_group_id: String
|
|
19
|
+
|
|
20
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
21
|
+
|
|
22
|
+
def betas=: (
|
|
23
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
24
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
rbac_group_id: String,
|
|
28
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
29
|
+
?request_options: Anthropic::request_opts
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
rbac_group_id: String,
|
|
34
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
35
|
+
request_options: Anthropic::RequestOptions
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rbs
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeCode
|
|
6
|
+
module ManagedSettings
|
|
7
|
+
type rbac_group_set_params =
|
|
8
|
+
{
|
|
9
|
+
rbac_group_id: String,
|
|
10
|
+
settings: ::Hash[Symbol, top],
|
|
11
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
12
|
+
}
|
|
13
|
+
& Anthropic::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class RBACGroupSetParams < Anthropic::Internal::Type::BaseModel
|
|
16
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_accessor rbac_group_id: String
|
|
20
|
+
|
|
21
|
+
attr_accessor settings: ::Hash[Symbol, top]
|
|
22
|
+
|
|
23
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
24
|
+
|
|
25
|
+
def betas=: (
|
|
26
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
27
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
rbac_group_id: String,
|
|
31
|
+
settings: ::Hash[Symbol, top],
|
|
32
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
33
|
+
?request_options: Anthropic::request_opts
|
|
34
|
+
) -> void
|
|
35
|
+
|
|
36
|
+
def to_hash: -> {
|
|
37
|
+
rbac_group_id: String,
|
|
38
|
+
settings: ::Hash[Symbol, top],
|
|
39
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
40
|
+
request_options: Anthropic::RequestOptions
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
type beta_request_body_timeout_error_details =
|
|
4
|
+
{ error_code: :request_body_timeout }
|
|
5
|
+
|
|
6
|
+
class BetaRequestBodyTimeoutErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor error_code: :request_body_timeout
|
|
8
|
+
|
|
9
|
+
def initialize: (?error_code: :request_body_timeout) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { error_code: :request_body_timeout }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -83,6 +83,13 @@ module Anthropic
|
|
|
83
83
|
| Anthropic::Beta::Organization::BetaRegistrationPendingErrorDetails
|
|
84
84
|
| Anthropic::Beta::Organization::BetaScanFailedErrorDetails
|
|
85
85
|
| Anthropic::Beta::Organization::BetaScanPendingErrorDetails
|
|
86
|
+
| Anthropic::BetaRequestBodyTimeoutErrorDetails
|
|
87
|
+
| Anthropic::Beta::Organization::ClaudeCode::BetaSettingsDocumentLimitExceededErrorDetails
|
|
88
|
+
| Anthropic::Beta::Organization::ClaudeCode::BetaSettingsHistoryLimitExceededErrorDetails
|
|
89
|
+
| Anthropic::Beta::Organization::ClaudeCode::BetaCMEKFeatureUnsupportedErrorDetails
|
|
90
|
+
| Anthropic::Beta::Organization::ClaudeCode::BetaRBACGroupManagedSettingsNotFoundErrorDetails
|
|
91
|
+
| Anthropic::Beta::Organization::ClaudeCode::BetaRBACGroupOrderLimitExceededErrorDetails
|
|
92
|
+
| Anthropic::Beta::Organization::BetaRBACGroupNotFoundErrorDetails
|
|
86
93
|
| Anthropic::Beta::Organization::BetaSlackChannelSetUpSettingsRefusedErrorDetails
|
|
87
94
|
| Anthropic::Beta::Organization::BetaAPIKeyScopeMissingErrorDetails
|
|
88
95
|
| Anthropic::Beta::Organization::BetaClaudeTagWritesNotEnabledErrorDetails
|
|
@@ -180,6 +187,13 @@ module Anthropic
|
|
|
180
187
|
| :registration_pending
|
|
181
188
|
| :scan_failed
|
|
182
189
|
| :scan_pending
|
|
190
|
+
| :request_body_timeout
|
|
191
|
+
| :settings_document_limit_exceeded
|
|
192
|
+
| :settings_history_limit_exceeded
|
|
193
|
+
| :cmek_feature_unsupported
|
|
194
|
+
| :rbac_group_managed_settings_not_found
|
|
195
|
+
| :rbac_group_order_limit_exceeded
|
|
196
|
+
| :rbac_group_not_found
|
|
183
197
|
| :slack_channel_set_up_settings_refused
|
|
184
198
|
| :api_key_scope_missing
|
|
185
199
|
| :claude_tag_writes_not_enabled
|
|
@@ -276,6 +290,13 @@ module Anthropic
|
|
|
276
290
|
REGISTRATION_PENDING: :registration_pending
|
|
277
291
|
SCAN_FAILED: :scan_failed
|
|
278
292
|
SCAN_PENDING: :scan_pending
|
|
293
|
+
REQUEST_BODY_TIMEOUT: :request_body_timeout
|
|
294
|
+
SETTINGS_DOCUMENT_LIMIT_EXCEEDED: :settings_document_limit_exceeded
|
|
295
|
+
SETTINGS_HISTORY_LIMIT_EXCEEDED: :settings_history_limit_exceeded
|
|
296
|
+
CMEK_FEATURE_UNSUPPORTED: :cmek_feature_unsupported
|
|
297
|
+
RBAC_GROUP_MANAGED_SETTINGS_NOT_FOUND: :rbac_group_managed_settings_not_found
|
|
298
|
+
RBAC_GROUP_ORDER_LIMIT_EXCEEDED: :rbac_group_order_limit_exceeded
|
|
299
|
+
RBAC_GROUP_NOT_FOUND: :rbac_group_not_found
|
|
279
300
|
SLACK_CHANNEL_SET_UP_SETTINGS_REFUSED: :slack_channel_set_up_settings_refused
|
|
280
301
|
API_KEY_SCOPE_MISSING: :api_key_scope_missing
|
|
281
302
|
CLAUDE_TAG_WRITES_NOT_ENABLED: :claude_tag_writes_not_enabled
|
|
@@ -589,6 +610,31 @@ module Anthropic
|
|
|
589
610
|
error_code: :scan_pending | "scan_pending",
|
|
590
611
|
plugin_version_id: String
|
|
591
612
|
) -> Anthropic::Beta::Organization::BetaScanPendingErrorDetails
|
|
613
|
+
| (
|
|
614
|
+
error_code: :request_body_timeout | "request_body_timeout"
|
|
615
|
+
) -> Anthropic::BetaRequestBodyTimeoutErrorDetails
|
|
616
|
+
| (
|
|
617
|
+
error_code: :settings_document_limit_exceeded
|
|
618
|
+
| "settings_document_limit_exceeded"
|
|
619
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::BetaSettingsDocumentLimitExceededErrorDetails
|
|
620
|
+
| (
|
|
621
|
+
error_code: :settings_history_limit_exceeded
|
|
622
|
+
| "settings_history_limit_exceeded"
|
|
623
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::BetaSettingsHistoryLimitExceededErrorDetails
|
|
624
|
+
| (
|
|
625
|
+
error_code: :cmek_feature_unsupported | "cmek_feature_unsupported"
|
|
626
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::BetaCMEKFeatureUnsupportedErrorDetails
|
|
627
|
+
| (
|
|
628
|
+
error_code: :rbac_group_managed_settings_not_found
|
|
629
|
+
| "rbac_group_managed_settings_not_found"
|
|
630
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::BetaRBACGroupManagedSettingsNotFoundErrorDetails
|
|
631
|
+
| (
|
|
632
|
+
error_code: :rbac_group_order_limit_exceeded
|
|
633
|
+
| "rbac_group_order_limit_exceeded"
|
|
634
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::BetaRBACGroupOrderLimitExceededErrorDetails
|
|
635
|
+
| (
|
|
636
|
+
error_code: :rbac_group_not_found | "rbac_group_not_found"
|
|
637
|
+
) -> Anthropic::Beta::Organization::BetaRBACGroupNotFoundErrorDetails
|
|
592
638
|
| (
|
|
593
639
|
error_code: :slack_channel_set_up_settings_refused
|
|
594
640
|
| "slack_channel_set_up_settings_refused",
|
data/sig/anthropic/models.rbs
CHANGED
|
@@ -89,6 +89,10 @@ module Anthropic
|
|
|
89
89
|
|
|
90
90
|
class BetaRateLimitErrorObject = Anthropic::Models::BetaRateLimitErrorObject
|
|
91
91
|
|
|
92
|
+
class BetaRequestBodyTimeoutError = Anthropic::Models::BetaRequestBodyTimeoutError
|
|
93
|
+
|
|
94
|
+
class BetaRequestBodyTimeoutErrorDetails = Anthropic::Models::BetaRequestBodyTimeoutErrorDetails
|
|
95
|
+
|
|
92
96
|
class BetaUnsupportedCharsetError = Anthropic::Models::BetaUnsupportedCharsetError
|
|
93
97
|
|
|
94
98
|
class BetaUnsupportedCharsetErrorDetails = Anthropic::Models::BetaUnsupportedCharsetErrorDetails
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Resources
|
|
3
|
+
class Beta
|
|
4
|
+
class Organization
|
|
5
|
+
class ClaudeCode
|
|
6
|
+
class ManagedSettings
|
|
7
|
+
class Configuration
|
|
8
|
+
def retrieve: (
|
|
9
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
10
|
+
?request_options: Anthropic::request_opts
|
|
11
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsConfiguration
|
|
12
|
+
|
|
13
|
+
def update: (
|
|
14
|
+
?mode: Anthropic::Models::Beta::Organization::ClaudeCode::ManagedSettings::beta_claude_code_managed_settings_mode_param,
|
|
15
|
+
?rbac_group_order: ::Array[String],
|
|
16
|
+
?rbac_group_order_version: String,
|
|
17
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
18
|
+
?request_options: Anthropic::request_opts
|
|
19
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsConfiguration
|
|
20
|
+
|
|
21
|
+
def initialize: (client: Anthropic::Client) -> void
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
data/sig/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.rbs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Resources
|
|
3
|
+
class Beta
|
|
4
|
+
class Organization
|
|
5
|
+
class ClaudeCode
|
|
6
|
+
class ManagedSettings
|
|
7
|
+
class RBACGroupDefault
|
|
8
|
+
def retrieve: (
|
|
9
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
10
|
+
?request_options: Anthropic::request_opts
|
|
11
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupDefaultManagedSettings
|
|
12
|
+
|
|
13
|
+
def update: (
|
|
14
|
+
settings: ::Hash[Symbol, top]?,
|
|
15
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
16
|
+
?request_options: Anthropic::request_opts
|
|
17
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupDefaultManagedSettings
|
|
18
|
+
|
|
19
|
+
def initialize: (client: Anthropic::Client) -> void
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Resources
|
|
3
|
+
class Beta
|
|
4
|
+
class Organization
|
|
5
|
+
class ClaudeCode
|
|
6
|
+
class ManagedSettings
|
|
7
|
+
class RBACGroups
|
|
8
|
+
def retrieve: (
|
|
9
|
+
String rbac_group_id,
|
|
10
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
11
|
+
?request_options: Anthropic::request_opts
|
|
12
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupManagedSettings
|
|
13
|
+
|
|
14
|
+
def list: (
|
|
15
|
+
?limit: Integer,
|
|
16
|
+
?page: String?,
|
|
17
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
18
|
+
?request_options: Anthropic::request_opts
|
|
19
|
+
) -> Anthropic::Internal::PageCursor[Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupManagedSettingsSummary]
|
|
20
|
+
|
|
21
|
+
def delete: (
|
|
22
|
+
String rbac_group_id,
|
|
23
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
24
|
+
?request_options: Anthropic::request_opts
|
|
25
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaDeletedClaudeCodeRBACGroupManagedSettings
|
|
26
|
+
|
|
27
|
+
def set: (
|
|
28
|
+
String rbac_group_id,
|
|
29
|
+
settings: ::Hash[Symbol, top],
|
|
30
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
31
|
+
?request_options: Anthropic::request_opts
|
|
32
|
+
) -> Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupManagedSettings
|
|
33
|
+
|
|
34
|
+
def initialize: (client: Anthropic::Client) -> void
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|