anthropic 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +4 -0
- data/lib/anthropic/helpers/threads/beta_message_thread.rb +30 -6
- data/lib/anthropic/helpers/tools/runner.rb +21 -4
- data/lib/anthropic/helpers/tracing/streamed_message.rb +8 -1
- data/lib/anthropic/internal/tracing.rb +1 -0
- data/lib/anthropic/internal/type/file_input.rb +11 -0
- data/lib/anthropic/internal/util.rb +43 -11
- data/lib/anthropic/models/anthropic_beta.rb +44 -30
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_auto_policy.rb +3 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +3 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_on_call_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +14 -5
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source_custom.rb +20 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rb +15 -2
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_update_params.rb +50 -0
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +3 -2
- data/lib/anthropic/models/beta/organization/plugin_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_marketplace_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_marketplace_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/installation_setting_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/share_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_download_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/workspace_update_params.rb +2 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rb +7 -4
- data/lib/anthropic/models/error_details.rb +28 -3
- data/lib/anthropic/models/organization/external_key.rb +2 -2
- data/lib/anthropic/models/organization/external_key_create_params.rb +3 -2
- data/lib/anthropic/models/organization/key_profile_mismatch_error.rb +3 -3
- data/lib/anthropic/models/organization/key_profile_mismatch_error_details.rb +3 -3
- data/lib/anthropic/models/organization/rbac_role.rb +14 -5
- data/lib/anthropic/models/organization/rbac_role_source.rb +50 -0
- data/lib/anthropic/models/organization/rbac_role_source_built_in.rb +22 -0
- data/lib/anthropic/models/organization/rbac_role_source_custom.rb +18 -0
- data/lib/anthropic/models/organization/workspace_update_params.rb +2 -1
- data/lib/anthropic/models/parent_organization_required_error.rb +20 -0
- data/lib/anthropic/models/parent_organization_required_error_details.rb +18 -0
- data/lib/anthropic/models/rbac_role_not_found_error.rb +19 -0
- data/lib/anthropic/models/rbac_role_not_found_error_details.rb +17 -0
- data/lib/anthropic/models.rb +8 -0
- data/lib/anthropic/resources/beta/messages/batches.rb +6 -6
- data/lib/anthropic/resources/beta/messages.rb +5 -1
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +51 -0
- data/lib/anthropic/resources/beta/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/beta/organization/rbac_roles.rb +7 -0
- data/lib/anthropic/resources/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/organization/rbac_roles.rb +7 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +15 -0
- data/rbi/anthropic/helpers/bedrock/client.rbi +6 -2
- data/rbi/anthropic/helpers/bedrock/event_stream.rbi +12 -3
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +3 -1
- data/rbi/anthropic/helpers/google_cloud/client.rbi +3 -1
- data/rbi/anthropic/helpers/refusal_fallback.rbi +12 -4
- data/rbi/anthropic/helpers/vertex/client.rbi +6 -2
- data/rbi/anthropic/internal/tracing.rbi +2 -0
- data/rbi/anthropic/internal/util.rbi +2 -2
- data/rbi/anthropic/models/anthropic_beta.rbi +41 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_auto_policy.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +3 -2
- data/rbi/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_on_call_error.rbi +23 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +23 -6
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source_custom.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbi +11 -1
- data/rbi/anthropic/models/beta/organization/claude_tag/bundle_update_params.rbi +88 -0
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +6 -4
- data/rbi/anthropic/models/beta/organization/plugin_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/installation_setting_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/share_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_download_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/workspace_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rbi +10 -6
- data/rbi/anthropic/models/error_details.rbi +25 -1
- data/rbi/anthropic/models/organization/external_key.rbi +4 -4
- data/rbi/anthropic/models/organization/external_key_create_params.rbi +6 -4
- data/rbi/anthropic/models/organization/key_profile_mismatch_error.rbi +3 -3
- data/rbi/anthropic/models/organization/key_profile_mismatch_error_details.rbi +3 -3
- data/rbi/anthropic/models/organization/rbac_role.rbi +20 -6
- data/rbi/anthropic/models/organization/rbac_role_source.rbi +68 -0
- data/rbi/anthropic/models/organization/rbac_role_source_built_in.rbi +34 -0
- data/rbi/anthropic/models/organization/rbac_role_source_custom.rbi +32 -0
- data/rbi/anthropic/models/organization/workspace_update_params.rbi +4 -2
- data/rbi/anthropic/models/parent_organization_required_error.rbi +17 -0
- data/rbi/anthropic/models/parent_organization_required_error_details.rbi +28 -0
- data/rbi/anthropic/models/rbac_role_not_found_error.rbi +16 -0
- data/rbi/anthropic/models/rbac_role_not_found_error_details.rbi +27 -0
- data/rbi/anthropic/models.rbi +10 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/bundles.rbi +30 -0
- data/rbi/anthropic/resources/beta/organization/external_keys.rbi +3 -2
- data/rbi/anthropic/resources/beta/organization/plugin_marketplaces.rbi +4 -2
- data/rbi/anthropic/resources/beta/organization/plugins/installation_settings.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/plugins/shares.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/plugins/versions.rbi +6 -3
- data/rbi/anthropic/resources/beta/organization/plugins.rbi +4 -2
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +2 -1
- data/rbi/anthropic/resources/organization/external_keys.rbi +3 -2
- data/rbi/anthropic/resources/organization/workspaces.rbi +2 -1
- data/rbi/lib/anthropic/helpers/stainless_helper_header.rbi +6 -1
- data/sig/anthropic/helpers/sessions/event_accumulator.rbs +6 -2
- data/sig/anthropic/internal/tracing.rbs +1 -0
- data/sig/anthropic/internal/util.rbs +1 -1
- data/sig/anthropic/models/anthropic_beta.rbs +21 -21
- data/sig/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_on_call_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source.rbs +40 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source_custom.rbs +17 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbs +5 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundle_update_params.rbs +46 -0
- data/sig/anthropic/models/error_details.rbs +26 -0
- data/sig/anthropic/models/organization/rbac_role.rbs +5 -0
- data/sig/anthropic/models/organization/rbac_role_source.rbs +38 -0
- data/sig/anthropic/models/organization/rbac_role_source_built_in.rbs +15 -0
- data/sig/anthropic/models/organization/rbac_role_source_custom.rbs +15 -0
- data/sig/anthropic/models/parent_organization_required_error.rbs +9 -0
- data/sig/anthropic/models/parent_organization_required_error_details.rbs +14 -0
- data/sig/anthropic/models/rbac_role_not_found_error.rbs +9 -0
- data/sig/anthropic/models/rbac_role_not_found_error_details.rbs +14 -0
- data/sig/anthropic/models.rbs +8 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/bundles.rbs +7 -0
- metadata +47 -2
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
module Anthropic
|
|
2
2
|
module Models
|
|
3
3
|
type anthropic_beta =
|
|
4
|
-
:"
|
|
5
|
-
| :"prompt-caching-2024-07-31"
|
|
6
|
-
| :"computer-use-2024-10-22"
|
|
4
|
+
:"computer-use-2024-10-22"
|
|
7
5
|
| :"computer-use-2025-01-24"
|
|
8
|
-
| :"pdfs-2024-09-25"
|
|
9
|
-
| :"token-counting-2024-11-01"
|
|
10
|
-
| :"token-efficient-tools-2025-02-19"
|
|
11
6
|
| :"output-128k-2025-02-19"
|
|
12
|
-
| :"files-api-2025-04-14"
|
|
13
7
|
| :"mcp-client-2025-04-04"
|
|
14
8
|
| :"mcp-client-2025-11-20"
|
|
15
9
|
| :"dev-full-thinking-2025-05-14"
|
|
16
10
|
| :"interleaved-thinking-2025-05-14"
|
|
17
11
|
| :"code-execution-2025-05-22"
|
|
18
|
-
| :"extended-cache-ttl-2025-04-11"
|
|
19
12
|
| :"context-1m-2025-08-07"
|
|
20
13
|
| :"context-management-2025-06-27"
|
|
21
14
|
| :"model-context-window-exceeded-2025-08-26"
|
|
22
|
-
| :"skills-2025-10-02"
|
|
23
15
|
| :"fast-mode-2026-02-01"
|
|
24
16
|
| :"output-300k-2026-03-24"
|
|
25
17
|
| :"user-profiles-2026-03-24"
|
|
@@ -27,7 +19,6 @@ module Anthropic
|
|
|
27
19
|
| :"user-profiles-2026-09-04"
|
|
28
20
|
| :"advisor-tool-2026-03-01"
|
|
29
21
|
| :"managed-agents-2026-04-01"
|
|
30
|
-
| :"cache-diagnosis-2026-04-07"
|
|
31
22
|
| :"dreaming-2026-04-21"
|
|
32
23
|
| :"thinking-token-count-2026-05-13"
|
|
33
24
|
| :"server-side-fallback-2026-06-01"
|
|
@@ -42,7 +33,6 @@ module Anthropic
|
|
|
42
33
|
| :"structured-outputs-2025-11-13"
|
|
43
34
|
| :"task-budgets-2026-03-13"
|
|
44
35
|
| :"thinking-display-updates-2026-08-18"
|
|
45
|
-
| :"ce-user-management-2026-07-13"
|
|
46
36
|
| :"mid-conversation-output-config-2026-07-01"
|
|
47
37
|
| :"thinking-binding-controls-2026-08-01"
|
|
48
38
|
| :"mid-conversation-system-clear-at-2026-08-21"
|
|
@@ -57,6 +47,16 @@ module Anthropic
|
|
|
57
47
|
| :"message-threads-2026-08-12"
|
|
58
48
|
| :"analytics-usage-cost-2026-08-24"
|
|
59
49
|
| :"experimental-claude-tag-2026-10-21"
|
|
50
|
+
| :"message-batches-2024-09-24"
|
|
51
|
+
| :"prompt-caching-2024-07-31"
|
|
52
|
+
| :"pdfs-2024-09-25"
|
|
53
|
+
| :"token-counting-2024-11-01"
|
|
54
|
+
| :"token-efficient-tools-2025-02-19"
|
|
55
|
+
| :"files-api-2025-04-14"
|
|
56
|
+
| :"extended-cache-ttl-2025-04-11"
|
|
57
|
+
| :"skills-2025-10-02"
|
|
58
|
+
| :"cache-diagnosis-2026-04-07"
|
|
59
|
+
| :"ce-user-management-2026-07-13"
|
|
60
60
|
| String
|
|
61
61
|
|
|
62
62
|
module AnthropicBeta
|
|
@@ -64,25 +64,17 @@ module Anthropic
|
|
|
64
64
|
|
|
65
65
|
def self?.variants: -> ::Array[Anthropic::Models::anthropic_beta]
|
|
66
66
|
|
|
67
|
-
MESSAGE_BATCHES_2024_09_24: :"message-batches-2024-09-24"
|
|
68
|
-
PROMPT_CACHING_2024_07_31: :"prompt-caching-2024-07-31"
|
|
69
67
|
COMPUTER_USE_2024_10_22: :"computer-use-2024-10-22"
|
|
70
68
|
COMPUTER_USE_2025_01_24: :"computer-use-2025-01-24"
|
|
71
|
-
PDFS_2024_09_25: :"pdfs-2024-09-25"
|
|
72
|
-
TOKEN_COUNTING_2024_11_01: :"token-counting-2024-11-01"
|
|
73
|
-
TOKEN_EFFICIENT_TOOLS_2025_02_19: :"token-efficient-tools-2025-02-19"
|
|
74
69
|
OUTPUT_128K_2025_02_19: :"output-128k-2025-02-19"
|
|
75
|
-
FILES_API_2025_04_14: :"files-api-2025-04-14"
|
|
76
70
|
MCP_CLIENT_2025_04_04: :"mcp-client-2025-04-04"
|
|
77
71
|
MCP_CLIENT_2025_11_20: :"mcp-client-2025-11-20"
|
|
78
72
|
DEV_FULL_THINKING_2025_05_14: :"dev-full-thinking-2025-05-14"
|
|
79
73
|
INTERLEAVED_THINKING_2025_05_14: :"interleaved-thinking-2025-05-14"
|
|
80
74
|
CODE_EXECUTION_2025_05_22: :"code-execution-2025-05-22"
|
|
81
|
-
EXTENDED_CACHE_TTL_2025_04_11: :"extended-cache-ttl-2025-04-11"
|
|
82
75
|
CONTEXT_1M_2025_08_07: :"context-1m-2025-08-07"
|
|
83
76
|
CONTEXT_MANAGEMENT_2025_06_27: :"context-management-2025-06-27"
|
|
84
77
|
MODEL_CONTEXT_WINDOW_EXCEEDED_2025_08_26: :"model-context-window-exceeded-2025-08-26"
|
|
85
|
-
SKILLS_2025_10_02: :"skills-2025-10-02"
|
|
86
78
|
FAST_MODE_2026_02_01: :"fast-mode-2026-02-01"
|
|
87
79
|
OUTPUT_300K_2026_03_24: :"output-300k-2026-03-24"
|
|
88
80
|
USER_PROFILES_2026_03_24: :"user-profiles-2026-03-24"
|
|
@@ -90,7 +82,6 @@ module Anthropic
|
|
|
90
82
|
USER_PROFILES_2026_09_04: :"user-profiles-2026-09-04"
|
|
91
83
|
ADVISOR_TOOL_2026_03_01: :"advisor-tool-2026-03-01"
|
|
92
84
|
MANAGED_AGENTS_2026_04_01: :"managed-agents-2026-04-01"
|
|
93
|
-
CACHE_DIAGNOSIS_2026_04_07: :"cache-diagnosis-2026-04-07"
|
|
94
85
|
DREAMING_2026_04_21: :"dreaming-2026-04-21"
|
|
95
86
|
THINKING_TOKEN_COUNT_2026_05_13: :"thinking-token-count-2026-05-13"
|
|
96
87
|
SERVER_SIDE_FALLBACK_2026_06_01: :"server-side-fallback-2026-06-01"
|
|
@@ -105,7 +96,6 @@ module Anthropic
|
|
|
105
96
|
STRUCTURED_OUTPUTS_2025_11_13: :"structured-outputs-2025-11-13"
|
|
106
97
|
TASK_BUDGETS_2026_03_13: :"task-budgets-2026-03-13"
|
|
107
98
|
THINKING_DISPLAY_UPDATES_2026_08_18: :"thinking-display-updates-2026-08-18"
|
|
108
|
-
CE_USER_MANAGEMENT_2026_07_13: :"ce-user-management-2026-07-13"
|
|
109
99
|
MID_CONVERSATION_OUTPUT_CONFIG_2026_07_01: :"mid-conversation-output-config-2026-07-01"
|
|
110
100
|
THINKING_BINDING_CONTROLS_2026_08_01: :"thinking-binding-controls-2026-08-01"
|
|
111
101
|
MID_CONVERSATION_SYSTEM_CLEAR_AT_2026_08_21: :"mid-conversation-system-clear-at-2026-08-21"
|
|
@@ -120,6 +110,16 @@ module Anthropic
|
|
|
120
110
|
MESSAGE_THREADS_2026_08_12: :"message-threads-2026-08-12"
|
|
121
111
|
ANALYTICS_USAGE_COST_2026_08_24: :"analytics-usage-cost-2026-08-24"
|
|
122
112
|
EXPERIMENTAL_CLAUDE_TAG_2026_10_21: :"experimental-claude-tag-2026-10-21"
|
|
113
|
+
MESSAGE_BATCHES_2024_09_24: :"message-batches-2024-09-24"
|
|
114
|
+
PROMPT_CACHING_2024_07_31: :"prompt-caching-2024-07-31"
|
|
115
|
+
PDFS_2024_09_25: :"pdfs-2024-09-25"
|
|
116
|
+
TOKEN_COUNTING_2024_11_01: :"token-counting-2024-11-01"
|
|
117
|
+
TOKEN_EFFICIENT_TOOLS_2025_02_19: :"token-efficient-tools-2025-02-19"
|
|
118
|
+
FILES_API_2025_04_14: :"files-api-2025-04-14"
|
|
119
|
+
EXTENDED_CACHE_TTL_2025_04_11: :"extended-cache-ttl-2025-04-11"
|
|
120
|
+
SKILLS_2025_10_02: :"skills-2025-10-02"
|
|
121
|
+
CACHE_DIAGNOSIS_2026_04_07: :"cache-diagnosis-2026-04-07"
|
|
122
|
+
CE_USER_MANAGEMENT_2026_07_13: :"ce-user-management-2026-07-13"
|
|
123
123
|
end
|
|
124
124
|
end
|
|
125
125
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
class BetaBundleAttachmentNotSupportedError < Anthropic::Errors::BadRequestError
|
|
6
|
+
def error_code: -> :bundle_attachment_not_supported
|
|
7
|
+
|
|
8
|
+
def details: -> Anthropic::Beta::Organization::BetaBundleAttachmentNotSupportedErrorDetails
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
data/sig/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_bundle_attachment_not_supported_error_details =
|
|
6
|
+
{ error_code: :bundle_attachment_not_supported }
|
|
7
|
+
|
|
8
|
+
class BetaBundleAttachmentNotSupportedErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
attr_accessor error_code: :bundle_attachment_not_supported
|
|
10
|
+
|
|
11
|
+
def initialize: (
|
|
12
|
+
?error_code: :bundle_attachment_not_supported
|
|
13
|
+
) -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { error_code: :bundle_attachment_not_supported }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
class BetaBundleOnCallError < Anthropic::Errors::BadRequestError
|
|
6
|
+
def error_code: -> :bundle_on_call
|
|
7
|
+
|
|
8
|
+
def details: -> Anthropic::Beta::Organization::BetaBundleOnCallErrorDetails
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_bundle_on_call_error_details = { error_code: :bundle_on_call }
|
|
6
|
+
|
|
7
|
+
class BetaBundleOnCallErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor error_code: :bundle_on_call
|
|
9
|
+
|
|
10
|
+
def initialize: (?error_code: :bundle_on_call) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { error_code: :bundle_on_call }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -7,6 +7,7 @@ module Anthropic
|
|
|
7
7
|
id: String,
|
|
8
8
|
created_at: Time,
|
|
9
9
|
display_name: String,
|
|
10
|
+
source: Anthropic::Models::Beta::Organization::beta_rbac_role_source,
|
|
10
11
|
type: :rbac_role,
|
|
11
12
|
updated_at: Time
|
|
12
13
|
}
|
|
@@ -18,6 +19,8 @@ module Anthropic
|
|
|
18
19
|
|
|
19
20
|
attr_accessor display_name: String
|
|
20
21
|
|
|
22
|
+
attr_accessor source: Anthropic::Models::Beta::Organization::beta_rbac_role_source
|
|
23
|
+
|
|
21
24
|
attr_accessor type: :rbac_role
|
|
22
25
|
|
|
23
26
|
attr_accessor updated_at: Time
|
|
@@ -26,6 +29,7 @@ module Anthropic
|
|
|
26
29
|
id: String,
|
|
27
30
|
created_at: Time,
|
|
28
31
|
display_name: String,
|
|
32
|
+
source: Anthropic::Models::Beta::Organization::beta_rbac_role_source,
|
|
29
33
|
updated_at: Time,
|
|
30
34
|
?type: :rbac_role
|
|
31
35
|
) -> void
|
|
@@ -34,6 +38,7 @@ module Anthropic
|
|
|
34
38
|
id: String,
|
|
35
39
|
created_at: Time,
|
|
36
40
|
display_name: String,
|
|
41
|
+
source: Anthropic::Models::Beta::Organization::beta_rbac_role_source,
|
|
37
42
|
type: :rbac_role,
|
|
38
43
|
updated_at: Time
|
|
39
44
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_rbac_role_source =
|
|
6
|
+
Anthropic::Beta::Organization::BetaRBACRoleSourceBuiltIn
|
|
7
|
+
| Anthropic::Beta::Organization::BetaRBACRoleSourceCustom
|
|
8
|
+
|
|
9
|
+
module BetaRBACRoleSource
|
|
10
|
+
extend Anthropic::Internal::Type::Union
|
|
11
|
+
|
|
12
|
+
type type_ = :built_in | :custom
|
|
13
|
+
|
|
14
|
+
module Type
|
|
15
|
+
extend Anthropic::Internal::Type::Enum
|
|
16
|
+
|
|
17
|
+
BUILT_IN: :built_in
|
|
18
|
+
CUSTOM: :custom
|
|
19
|
+
|
|
20
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::BetaRBACRoleSource::type_]
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def self?.variants: -> ::Array[Anthropic::Models::Beta::Organization::beta_rbac_role_source]
|
|
24
|
+
|
|
25
|
+
def self.new:
|
|
26
|
+
(
|
|
27
|
+
type: :built_in | "built_in"
|
|
28
|
+
) -> Anthropic::Beta::Organization::BetaRBACRoleSourceBuiltIn
|
|
29
|
+
| (
|
|
30
|
+
type: :custom | "custom"
|
|
31
|
+
) -> Anthropic::Beta::Organization::BetaRBACRoleSourceCustom
|
|
32
|
+
| (
|
|
33
|
+
type: Anthropic::Models::Beta::Organization::BetaRBACRoleSource::type_
|
|
34
|
+
| String
|
|
35
|
+
) -> Anthropic::Models::Beta::Organization::beta_rbac_role_source
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_rbac_role_source_built_in = { type: :built_in }
|
|
6
|
+
|
|
7
|
+
class BetaRBACRoleSourceBuiltIn < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor type: :built_in
|
|
9
|
+
|
|
10
|
+
def initialize: (?type: :built_in) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { type: :built_in }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
type beta_rbac_role_source_custom = { type: :custom }
|
|
6
|
+
|
|
7
|
+
class BetaRBACRoleSourceCustom < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor type: :custom
|
|
9
|
+
|
|
10
|
+
def initialize: (?type: :custom) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { type: :custom }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -9,6 +9,7 @@ module Anthropic
|
|
|
9
9
|
created_at: Time,
|
|
10
10
|
description: String?,
|
|
11
11
|
display_name: String,
|
|
12
|
+
instructions: String?,
|
|
12
13
|
type: :bundle,
|
|
13
14
|
updated_at: Time
|
|
14
15
|
}
|
|
@@ -22,6 +23,8 @@ module Anthropic
|
|
|
22
23
|
|
|
23
24
|
attr_accessor display_name: String
|
|
24
25
|
|
|
26
|
+
attr_accessor instructions: String?
|
|
27
|
+
|
|
25
28
|
attr_accessor type: :bundle
|
|
26
29
|
|
|
27
30
|
attr_accessor updated_at: Time
|
|
@@ -31,6 +34,7 @@ module Anthropic
|
|
|
31
34
|
created_at: Time,
|
|
32
35
|
description: String?,
|
|
33
36
|
display_name: String,
|
|
37
|
+
instructions: String?,
|
|
34
38
|
updated_at: Time,
|
|
35
39
|
?type: :bundle
|
|
36
40
|
) -> void
|
|
@@ -40,6 +44,7 @@ module Anthropic
|
|
|
40
44
|
created_at: Time,
|
|
41
45
|
description: String?,
|
|
42
46
|
display_name: String,
|
|
47
|
+
instructions: String?,
|
|
43
48
|
type: :bundle,
|
|
44
49
|
updated_at: Time
|
|
45
50
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Beta
|
|
4
|
+
module Organization
|
|
5
|
+
module ClaudeTag
|
|
6
|
+
type bundle_update_params =
|
|
7
|
+
{
|
|
8
|
+
bundle_id: String,
|
|
9
|
+
instructions: String?,
|
|
10
|
+
betas: ::Array[Anthropic::Models::anthropic_beta]
|
|
11
|
+
}
|
|
12
|
+
& Anthropic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class BundleUpdateParams < Anthropic::Internal::Type::BaseModel
|
|
15
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor bundle_id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor instructions: String?
|
|
21
|
+
|
|
22
|
+
attr_reader betas: ::Array[Anthropic::Models::anthropic_beta]?
|
|
23
|
+
|
|
24
|
+
def betas=: (
|
|
25
|
+
::Array[Anthropic::Models::anthropic_beta]
|
|
26
|
+
) -> ::Array[Anthropic::Models::anthropic_beta]
|
|
27
|
+
|
|
28
|
+
def initialize: (
|
|
29
|
+
bundle_id: String,
|
|
30
|
+
?instructions: String?,
|
|
31
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
32
|
+
?request_options: Anthropic::request_opts
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
bundle_id: String,
|
|
37
|
+
instructions: String?,
|
|
38
|
+
betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
39
|
+
request_options: Anthropic::RequestOptions
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -55,6 +55,8 @@ module Anthropic
|
|
|
55
55
|
| Anthropic::Organization::ExternalKeyChangedErrorDetails
|
|
56
56
|
| Anthropic::Organization::WorkspaceMemberLimitExceededErrorDetails
|
|
57
57
|
| Anthropic::OrganizationTypeNotSupportedErrorDetails
|
|
58
|
+
| Anthropic::ParentOrganizationRequiredErrorDetails
|
|
59
|
+
| Anthropic::RBACRoleNotFoundErrorDetails
|
|
58
60
|
| Anthropic::Beta::BetaEnvironmentCreateDisabledErrorDetails
|
|
59
61
|
| Anthropic::Beta::BetaEnvironmentArchivedErrorDetails
|
|
60
62
|
| Anthropic::Beta::BetaInvalidConfigTypeChangeErrorDetails
|
|
@@ -83,6 +85,8 @@ module Anthropic
|
|
|
83
85
|
| Anthropic::Beta::BetaEnvironmentNotFoundErrorDetails
|
|
84
86
|
| Anthropic::Beta::Organization::BetaSlackChannelSetUpEnvironmentNotFoundErrorDetails
|
|
85
87
|
| Anthropic::Beta::Organization::BetaSlackChannelSetUpSettingsConflictErrorDetails
|
|
88
|
+
| Anthropic::Beta::Organization::BetaBundleAttachmentNotSupportedErrorDetails
|
|
89
|
+
| Anthropic::Beta::Organization::BetaBundleOnCallErrorDetails
|
|
86
90
|
|
|
87
91
|
module ErrorDetails
|
|
88
92
|
extend Anthropic::Internal::Type::Union
|
|
@@ -142,6 +146,8 @@ module Anthropic
|
|
|
142
146
|
| :external_key_changed
|
|
143
147
|
| :workspace_member_limit_exceeded
|
|
144
148
|
| :organization_type_not_supported
|
|
149
|
+
| :parent_organization_required
|
|
150
|
+
| :rbac_role_not_found
|
|
145
151
|
| :environment_create_disabled
|
|
146
152
|
| :environment_archived
|
|
147
153
|
| :invalid_config_type_change
|
|
@@ -170,6 +176,8 @@ module Anthropic
|
|
|
170
176
|
| :environment_not_found
|
|
171
177
|
| :slack_channel_set_up_environment_not_found
|
|
172
178
|
| :slack_channel_set_up_settings_conflict
|
|
179
|
+
| :bundle_attachment_not_supported
|
|
180
|
+
| :bundle_on_call
|
|
173
181
|
|
|
174
182
|
module ErrorCode
|
|
175
183
|
extend Anthropic::Internal::Type::Enum
|
|
@@ -228,6 +236,8 @@ module Anthropic
|
|
|
228
236
|
EXTERNAL_KEY_CHANGED: :external_key_changed
|
|
229
237
|
WORKSPACE_MEMBER_LIMIT_EXCEEDED: :workspace_member_limit_exceeded
|
|
230
238
|
ORGANIZATION_TYPE_NOT_SUPPORTED: :organization_type_not_supported
|
|
239
|
+
PARENT_ORGANIZATION_REQUIRED: :parent_organization_required
|
|
240
|
+
RBAC_ROLE_NOT_FOUND: :rbac_role_not_found
|
|
231
241
|
ENVIRONMENT_CREATE_DISABLED: :environment_create_disabled
|
|
232
242
|
ENVIRONMENT_ARCHIVED: :environment_archived
|
|
233
243
|
INVALID_CONFIG_TYPE_CHANGE: :invalid_config_type_change
|
|
@@ -256,6 +266,8 @@ module Anthropic
|
|
|
256
266
|
ENVIRONMENT_NOT_FOUND: :environment_not_found
|
|
257
267
|
SLACK_CHANNEL_SET_UP_ENVIRONMENT_NOT_FOUND: :slack_channel_set_up_environment_not_found
|
|
258
268
|
SLACK_CHANNEL_SET_UP_SETTINGS_CONFLICT: :slack_channel_set_up_settings_conflict
|
|
269
|
+
BUNDLE_ATTACHMENT_NOT_SUPPORTED: :bundle_attachment_not_supported
|
|
270
|
+
BUNDLE_ON_CALL: :bundle_on_call
|
|
259
271
|
|
|
260
272
|
def self?.values: -> ::Array[Anthropic::Models::ErrorDetails::error_code]
|
|
261
273
|
end
|
|
@@ -454,6 +466,13 @@ module Anthropic
|
|
|
454
466
|
error_code: :organization_type_not_supported
|
|
455
467
|
| "organization_type_not_supported"
|
|
456
468
|
) -> Anthropic::OrganizationTypeNotSupportedErrorDetails
|
|
469
|
+
| (
|
|
470
|
+
error_code: :parent_organization_required
|
|
471
|
+
| "parent_organization_required"
|
|
472
|
+
) -> Anthropic::ParentOrganizationRequiredErrorDetails
|
|
473
|
+
| (
|
|
474
|
+
error_code: :rbac_role_not_found | "rbac_role_not_found"
|
|
475
|
+
) -> Anthropic::RBACRoleNotFoundErrorDetails
|
|
457
476
|
| (
|
|
458
477
|
error_code: :environment_create_disabled
|
|
459
478
|
| "environment_create_disabled"
|
|
@@ -563,6 +582,13 @@ module Anthropic
|
|
|
563
582
|
| "slack_channel_set_up_settings_conflict",
|
|
564
583
|
slack_channel_id: String
|
|
565
584
|
) -> Anthropic::Beta::Organization::BetaSlackChannelSetUpSettingsConflictErrorDetails
|
|
585
|
+
| (
|
|
586
|
+
error_code: :bundle_attachment_not_supported
|
|
587
|
+
| "bundle_attachment_not_supported"
|
|
588
|
+
) -> Anthropic::Beta::Organization::BetaBundleAttachmentNotSupportedErrorDetails
|
|
589
|
+
| (
|
|
590
|
+
error_code: :bundle_on_call | "bundle_on_call"
|
|
591
|
+
) -> Anthropic::Beta::Organization::BetaBundleOnCallErrorDetails
|
|
566
592
|
| (
|
|
567
593
|
error_code: Anthropic::Models::ErrorDetails::error_code | String,
|
|
568
594
|
?appeal_url: String?,
|
|
@@ -6,6 +6,7 @@ module Anthropic
|
|
|
6
6
|
id: String,
|
|
7
7
|
created_at: Time,
|
|
8
8
|
display_name: String,
|
|
9
|
+
source: Anthropic::Models::Organization::rbac_role_source,
|
|
9
10
|
type: :rbac_role,
|
|
10
11
|
updated_at: Time
|
|
11
12
|
}
|
|
@@ -17,6 +18,8 @@ module Anthropic
|
|
|
17
18
|
|
|
18
19
|
attr_accessor display_name: String
|
|
19
20
|
|
|
21
|
+
attr_accessor source: Anthropic::Models::Organization::rbac_role_source
|
|
22
|
+
|
|
20
23
|
attr_accessor type: :rbac_role
|
|
21
24
|
|
|
22
25
|
attr_accessor updated_at: Time
|
|
@@ -25,6 +28,7 @@ module Anthropic
|
|
|
25
28
|
id: String,
|
|
26
29
|
created_at: Time,
|
|
27
30
|
display_name: String,
|
|
31
|
+
source: Anthropic::Models::Organization::rbac_role_source,
|
|
28
32
|
updated_at: Time,
|
|
29
33
|
?type: :rbac_role
|
|
30
34
|
) -> void
|
|
@@ -33,6 +37,7 @@ module Anthropic
|
|
|
33
37
|
id: String,
|
|
34
38
|
created_at: Time,
|
|
35
39
|
display_name: String,
|
|
40
|
+
source: Anthropic::Models::Organization::rbac_role_source,
|
|
36
41
|
type: :rbac_role,
|
|
37
42
|
updated_at: Time
|
|
38
43
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Organization
|
|
4
|
+
type rbac_role_source =
|
|
5
|
+
Anthropic::Organization::RBACRoleSourceBuiltIn
|
|
6
|
+
| Anthropic::Organization::RBACRoleSourceCustom
|
|
7
|
+
|
|
8
|
+
module RBACRoleSource
|
|
9
|
+
extend Anthropic::Internal::Type::Union
|
|
10
|
+
|
|
11
|
+
type type_ = :built_in | :custom
|
|
12
|
+
|
|
13
|
+
module Type
|
|
14
|
+
extend Anthropic::Internal::Type::Enum
|
|
15
|
+
|
|
16
|
+
BUILT_IN: :built_in
|
|
17
|
+
CUSTOM: :custom
|
|
18
|
+
|
|
19
|
+
def self?.values: -> ::Array[Anthropic::Models::Organization::RBACRoleSource::type_]
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def self?.variants: -> ::Array[Anthropic::Models::Organization::rbac_role_source]
|
|
23
|
+
|
|
24
|
+
def self.new:
|
|
25
|
+
(
|
|
26
|
+
type: :built_in | "built_in"
|
|
27
|
+
) -> Anthropic::Organization::RBACRoleSourceBuiltIn
|
|
28
|
+
| (
|
|
29
|
+
type: :custom | "custom"
|
|
30
|
+
) -> Anthropic::Organization::RBACRoleSourceCustom
|
|
31
|
+
| (
|
|
32
|
+
type: Anthropic::Models::Organization::RBACRoleSource::type_
|
|
33
|
+
| String
|
|
34
|
+
) -> Anthropic::Models::Organization::rbac_role_source
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Organization
|
|
4
|
+
type rbac_role_source_built_in = { type: :built_in }
|
|
5
|
+
|
|
6
|
+
class RBACRoleSourceBuiltIn < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor type: :built_in
|
|
8
|
+
|
|
9
|
+
def initialize: (?type: :built_in) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { type: :built_in }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Organization
|
|
4
|
+
type rbac_role_source_custom = { type: :custom }
|
|
5
|
+
|
|
6
|
+
class RBACRoleSourceCustom < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor type: :custom
|
|
8
|
+
|
|
9
|
+
def initialize: (?type: :custom) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { type: :custom }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
type parent_organization_required_error_details =
|
|
4
|
+
{ error_code: :parent_organization_required }
|
|
5
|
+
|
|
6
|
+
class ParentOrganizationRequiredErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor error_code: :parent_organization_required
|
|
8
|
+
|
|
9
|
+
def initialize: (?error_code: :parent_organization_required) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { error_code: :parent_organization_required }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
type rbac_role_not_found_error_details =
|
|
4
|
+
{ error_code: :rbac_role_not_found }
|
|
5
|
+
|
|
6
|
+
class RBACRoleNotFoundErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor error_code: :rbac_role_not_found
|
|
8
|
+
|
|
9
|
+
def initialize: (?error_code: :rbac_role_not_found) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { error_code: :rbac_role_not_found }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
data/sig/anthropic/models.rbs
CHANGED
|
@@ -693,6 +693,10 @@ module Anthropic
|
|
|
693
693
|
|
|
694
694
|
class OverloadedError = Anthropic::Models::OverloadedError
|
|
695
695
|
|
|
696
|
+
class ParentOrganizationRequiredError = Anthropic::Models::ParentOrganizationRequiredError
|
|
697
|
+
|
|
698
|
+
class ParentOrganizationRequiredErrorDetails = Anthropic::Models::ParentOrganizationRequiredErrorDetails
|
|
699
|
+
|
|
696
700
|
class PermissionError = Anthropic::Models::PermissionError
|
|
697
701
|
|
|
698
702
|
class PlainTextSource = Anthropic::Models::PlainTextSource
|
|
@@ -719,6 +723,10 @@ module Anthropic
|
|
|
719
723
|
|
|
720
724
|
module RawMessageStreamEvent = Anthropic::Models::RawMessageStreamEvent
|
|
721
725
|
|
|
726
|
+
class RBACRoleNotFoundError = Anthropic::Models::RBACRoleNotFoundError
|
|
727
|
+
|
|
728
|
+
class RBACRoleNotFoundErrorDetails = Anthropic::Models::RBACRoleNotFoundErrorDetails
|
|
729
|
+
|
|
722
730
|
class RedactedThinkingBlock = Anthropic::Models::RedactedThinkingBlock
|
|
723
731
|
|
|
724
732
|
class RedactedThinkingBlockParam = Anthropic::Models::RedactedThinkingBlockParam
|
|
@@ -12,6 +12,13 @@ module Anthropic
|
|
|
12
12
|
?request_options: Anthropic::request_opts
|
|
13
13
|
) -> Anthropic::Beta::Organization::ClaudeTag::BetaClaudeTagBundle
|
|
14
14
|
|
|
15
|
+
def update: (
|
|
16
|
+
String bundle_id,
|
|
17
|
+
?instructions: String?,
|
|
18
|
+
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
19
|
+
?request_options: Anthropic::request_opts
|
|
20
|
+
) -> Anthropic::Beta::Organization::ClaudeTag::BetaClaudeTagBundle
|
|
21
|
+
|
|
15
22
|
def list: (
|
|
16
23
|
?limit: Integer,
|
|
17
24
|
?page: String,
|