cadenya 0.20.0 → 0.22.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 +21 -0
- data/README.md +1 -1
- data/lib/cadenya/client.rb +0 -7
- data/lib/cadenya/models/agent_list_params.rb +1 -9
- data/lib/cadenya/models/agents/schedule_list_params.rb +1 -9
- data/lib/cadenya/models/agents/variation_list_params.rb +1 -9
- data/lib/cadenya/models/ai_provider_key_spec.rb +168 -14
- data/lib/cadenya/models/api_key_list_params.rb +1 -9
- data/lib/cadenya/models/create_resource_metadata.rb +1 -9
- data/lib/cadenya/models/memory_layer_list_params.rb +1 -9
- data/lib/cadenya/models/memory_layers/entry_list_params.rb +1 -9
- data/lib/cadenya/models/model_list_params.rb +1 -9
- data/lib/cadenya/models/resource_metadata.rb +1 -12
- data/lib/cadenya/models/tool_set_list_params.rb +1 -9
- data/lib/cadenya/models/tool_sets/secret_list_params.rb +1 -9
- data/lib/cadenya/models/tool_sets/tool_list_params.rb +1 -9
- data/lib/cadenya/models/update_resource_metadata.rb +1 -9
- data/lib/cadenya/models/workspace_secret_list_params.rb +1 -9
- data/lib/cadenya/models.rb +0 -34
- data/lib/cadenya/resources/agents/schedules.rb +2 -8
- data/lib/cadenya/resources/agents/variations.rb +2 -8
- data/lib/cadenya/resources/agents.rb +1 -4
- data/lib/cadenya/resources/api_keys.rb +2 -8
- data/lib/cadenya/resources/memory_layers/entries.rb +2 -8
- data/lib/cadenya/resources/memory_layers.rb +1 -4
- data/lib/cadenya/resources/models.rb +1 -4
- data/lib/cadenya/resources/tool_sets/secrets.rb +2 -8
- data/lib/cadenya/resources/tool_sets/tools.rb +1 -4
- data/lib/cadenya/resources/tool_sets.rb +2 -8
- data/lib/cadenya/resources/workspace_secrets.rb +2 -8
- data/lib/cadenya/version.rb +1 -1
- data/lib/cadenya.rb +0 -30
- data/rbi/cadenya/client.rbi +0 -6
- data/rbi/cadenya/models/agent_list_params.rbi +0 -11
- data/rbi/cadenya/models/agents/schedule_list_params.rbi +0 -11
- data/rbi/cadenya/models/agents/variation_list_params.rbi +0 -11
- data/rbi/cadenya/models/ai_provider_key_spec.rbi +363 -24
- data/rbi/cadenya/models/api_key_list_params.rbi +0 -11
- data/rbi/cadenya/models/create_resource_metadata.rbi +1 -16
- data/rbi/cadenya/models/memory_layer_list_params.rbi +0 -11
- data/rbi/cadenya/models/memory_layers/entry_list_params.rbi +0 -11
- data/rbi/cadenya/models/model_list_params.rbi +0 -11
- data/rbi/cadenya/models/resource_metadata.rbi +0 -17
- data/rbi/cadenya/models/tool_set_list_params.rbi +0 -11
- data/rbi/cadenya/models/tool_sets/secret_list_params.rbi +0 -11
- data/rbi/cadenya/models/tool_sets/tool_list_params.rbi +0 -11
- data/rbi/cadenya/models/update_resource_metadata.rbi +1 -16
- data/rbi/cadenya/models/workspace_secret_list_params.rbi +0 -11
- data/rbi/cadenya/models.rbi +0 -37
- data/rbi/cadenya/resources/agents/schedules.rbi +0 -3
- data/rbi/cadenya/resources/agents/variations.rbi +0 -3
- data/rbi/cadenya/resources/agents.rbi +0 -3
- data/rbi/cadenya/resources/api_keys.rbi +0 -3
- data/rbi/cadenya/resources/memory_layers/entries.rbi +0 -3
- data/rbi/cadenya/resources/memory_layers.rbi +0 -3
- data/rbi/cadenya/resources/models.rbi +0 -3
- data/rbi/cadenya/resources/tool_sets/secrets.rbi +0 -3
- data/rbi/cadenya/resources/tool_sets/tools.rbi +0 -3
- data/rbi/cadenya/resources/tool_sets.rbi +0 -3
- data/rbi/cadenya/resources/workspace_secrets.rbi +0 -3
- data/sig/cadenya/client.rbs +0 -2
- data/sig/cadenya/models/agent_list_params.rbs +0 -7
- data/sig/cadenya/models/agents/schedule_list_params.rbs +0 -7
- data/sig/cadenya/models/agents/variation_list_params.rbs +0 -7
- data/sig/cadenya/models/ai_provider_key_spec.rbs +161 -11
- data/sig/cadenya/models/api_key_list_params.rbs +0 -7
- data/sig/cadenya/models/create_resource_metadata.rbs +1 -12
- data/sig/cadenya/models/memory_layer_list_params.rbs +0 -7
- data/sig/cadenya/models/memory_layers/entry_list_params.rbs +0 -7
- data/sig/cadenya/models/model_list_params.rbs +0 -7
- data/sig/cadenya/models/resource_metadata.rbs +0 -7
- data/sig/cadenya/models/tool_set_list_params.rbs +0 -7
- data/sig/cadenya/models/tool_sets/secret_list_params.rbs +0 -7
- data/sig/cadenya/models/tool_sets/tool_list_params.rbs +0 -7
- data/sig/cadenya/models/update_resource_metadata.rbs +1 -12
- data/sig/cadenya/models/workspace_secret_list_params.rbs +0 -7
- data/sig/cadenya/models.rbs +0 -34
- data/sig/cadenya/resources/agents/schedules.rbs +0 -1
- data/sig/cadenya/resources/agents/variations.rbs +0 -1
- data/sig/cadenya/resources/agents.rbs +0 -1
- data/sig/cadenya/resources/api_keys.rbs +0 -1
- data/sig/cadenya/resources/memory_layers/entries.rbs +0 -1
- data/sig/cadenya/resources/memory_layers.rbs +0 -1
- data/sig/cadenya/resources/models.rbs +0 -1
- data/sig/cadenya/resources/tool_sets/secrets.rbs +0 -1
- data/sig/cadenya/resources/tool_sets/tools.rbs +0 -1
- data/sig/cadenya/resources/tool_sets.rbs +0 -1
- data/sig/cadenya/resources/workspace_secrets.rbs +0 -1
- metadata +2 -92
- data/lib/cadenya/models/agent_entry.rb +0 -76
- data/lib/cadenya/models/agent_schedule_entry.rb +0 -60
- data/lib/cadenya/models/agent_variation_entry.rb +0 -52
- data/lib/cadenya/models/bulk_workspace_apply.rb +0 -46
- data/lib/cadenya/models/bulk_workspace_apply_data.rb +0 -75
- data/lib/cadenya/models/bulk_workspace_apply_info.rb +0 -79
- data/lib/cadenya/models/bulk_workspace_apply_status.rb +0 -115
- data/lib/cadenya/models/bulk_workspace_resource_apply_params.rb +0 -26
- data/lib/cadenya/models/bulk_workspace_resource_list_params.rb +0 -78
- data/lib/cadenya/models/bulk_workspace_resource_retrieve_params.rb +0 -26
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rb +0 -40
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rb +0 -95
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rb +0 -124
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rb +0 -126
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rb +0 -125
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rb +0 -133
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rb +0 -130
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rb +0 -123
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rb +0 -123
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rb +0 -125
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rb +0 -123
- data/lib/cadenya/models/bulk_workspace_resources/result_list_params.rb +0 -85
- data/lib/cadenya/models/memory_entry_item.rb +0 -33
- data/lib/cadenya/models/memory_layer_entry.rb +0 -37
- data/lib/cadenya/models/tool_entry.rb +0 -57
- data/lib/cadenya/models/tool_set_entry.rb +0 -37
- data/lib/cadenya/models/variation_assignment_entry.rb +0 -27
- data/lib/cadenya/models/variation_memory_layer_entry.rb +0 -23
- data/lib/cadenya/resources/bulk_workspace_resources/results.rb +0 -66
- data/lib/cadenya/resources/bulk_workspace_resources.rb +0 -113
- data/rbi/cadenya/models/agent_entry.rbi +0 -124
- data/rbi/cadenya/models/agent_schedule_entry.rbi +0 -104
- data/rbi/cadenya/models/agent_variation_entry.rbi +0 -87
- data/rbi/cadenya/models/bulk_workspace_apply.rbi +0 -72
- data/rbi/cadenya/models/bulk_workspace_apply_data.rbi +0 -122
- data/rbi/cadenya/models/bulk_workspace_apply_info.rbi +0 -116
- data/rbi/cadenya/models/bulk_workspace_apply_status.rbi +0 -259
- data/rbi/cadenya/models/bulk_workspace_resource_apply_params.rbi +0 -49
- data/rbi/cadenya/models/bulk_workspace_resource_list_params.rbi +0 -169
- data/rbi/cadenya/models/bulk_workspace_resource_retrieve_params.rbi +0 -46
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rbi +0 -78
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rbi +0 -246
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rbi +0 -291
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rbi +0 -293
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rbi +0 -291
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rbi +0 -309
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rbi +0 -301
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rbi +0 -289
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rbi +0 -289
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rbi +0 -298
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rbi +0 -298
- data/rbi/cadenya/models/bulk_workspace_resources/result_list_params.rbi +0 -175
- data/rbi/cadenya/models/memory_entry_item.rbi +0 -57
- data/rbi/cadenya/models/memory_layer_entry.rbi +0 -66
- data/rbi/cadenya/models/tool_entry.rbi +0 -88
- data/rbi/cadenya/models/tool_set_entry.rbi +0 -64
- data/rbi/cadenya/models/variation_assignment_entry.rbi +0 -48
- data/rbi/cadenya/models/variation_memory_layer_entry.rbi +0 -41
- data/rbi/cadenya/resources/bulk_workspace_resources/results.rbi +0 -54
- data/rbi/cadenya/resources/bulk_workspace_resources.rbi +0 -87
- data/sig/cadenya/models/agent_entry.rbs +0 -73
- data/sig/cadenya/models/agent_schedule_entry.rbs +0 -55
- data/sig/cadenya/models/agent_variation_entry.rbs +0 -50
- data/sig/cadenya/models/bulk_workspace_apply.rbs +0 -39
- data/sig/cadenya/models/bulk_workspace_apply_data.rbs +0 -61
- data/sig/cadenya/models/bulk_workspace_apply_info.rbs +0 -78
- data/sig/cadenya/models/bulk_workspace_apply_status.rbs +0 -108
- data/sig/cadenya/models/bulk_workspace_resource_apply_params.rbs +0 -28
- data/sig/cadenya/models/bulk_workspace_resource_list_params.rbs +0 -88
- data/sig/cadenya/models/bulk_workspace_resource_retrieve_params.rbs +0 -28
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rbs +0 -27
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rbs +0 -105
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rbs +0 -117
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rbs +0 -119
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rbs +0 -119
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rbs +0 -119
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rbs +0 -117
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rbs +0 -117
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rbs +0 -117
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rbs +0 -112
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rbs +0 -112
- data/sig/cadenya/models/bulk_workspace_resources/result_list_params.rbs +0 -91
- data/sig/cadenya/models/memory_entry_item.rbs +0 -36
- data/sig/cadenya/models/memory_layer_entry.rbs +0 -41
- data/sig/cadenya/models/tool_entry.rbs +0 -55
- data/sig/cadenya/models/tool_set_entry.rbs +0 -41
- data/sig/cadenya/models/variation_assignment_entry.rbs +0 -32
- data/sig/cadenya/models/variation_memory_layer_entry.rbs +0 -20
- data/sig/cadenya/resources/bulk_workspace_resources/results.rbs +0 -20
- data/sig/cadenya/resources/bulk_workspace_resources.rbs +0 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 90f866d6d239caac71a8e80827e7318e297c1d339fdaee6e59c6cf8cee057fd3
|
|
4
|
+
data.tar.gz: d1361f3fe5c8480be71bdfa73937602bc8d9b56fc444e9b197efd213b928f4eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05b854a43d809324ee5a1b7460c7e48aa4c03f9d98a03001702a64a48f28f26b78d2e60024929f3eba0b99715967d6c33c15c64910b7e166afb5de866c98d327
|
|
7
|
+
data.tar.gz: 62f17cdbb96038ac3b959d69ad67d5de66b715d69f2ed6f4fa83b979d9c6b3d61dcb0433607284ea900baabd27fdbacbc38081d8710729a8ae689e9d7c14a875
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.22.0 (2026-07-01)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.21.0...v0.22.0](https://github.com/cadenya/cadenya-ruby/compare/v0.21.0...v0.22.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([a404982](https://github.com/cadenya/cadenya-ruby/commit/a404982d0148f371941a061fea37944c023ba468))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** bound formatter parallelism to CPU count ([4281afd](https://github.com/cadenya/cadenya-ruby/commit/4281afd2bbd62bf02641c4fab953bda782c221fb))
|
|
15
|
+
|
|
16
|
+
## 0.21.0 (2026-06-23)
|
|
17
|
+
|
|
18
|
+
Full Changelog: [v0.20.0...v0.21.0](https://github.com/cadenya/cadenya-ruby/compare/v0.20.0...v0.21.0)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **api:** api update ([943fb7e](https://github.com/cadenya/cadenya-ruby/commit/943fb7e5022b560703eb8ee3147e83771941262c))
|
|
23
|
+
|
|
3
24
|
## 0.20.0 (2026-06-21)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v0.19.0...v0.20.0](https://github.com/cadenya/cadenya-ruby/compare/v0.19.0...v0.20.0)
|
data/README.md
CHANGED
data/lib/cadenya/client.rb
CHANGED
|
@@ -100,12 +100,6 @@ module Cadenya
|
|
|
100
100
|
# @return [Cadenya::Resources::Webhooks]
|
|
101
101
|
attr_reader :webhooks
|
|
102
102
|
|
|
103
|
-
# Apply a declarative bundle of workspace resources — tool sets, memory layers,
|
|
104
|
-
# agents, variations, assignments, and schedules — in a single asynchronous
|
|
105
|
-
# operation.
|
|
106
|
-
# @return [Cadenya::Resources::BulkWorkspaceResources]
|
|
107
|
-
attr_reader :bulk_workspace_resources
|
|
108
|
-
|
|
109
103
|
# @api private
|
|
110
104
|
#
|
|
111
105
|
# @return [Hash{String=>String}]
|
|
@@ -186,7 +180,6 @@ module Cadenya
|
|
|
186
180
|
@workspaces = Cadenya::Resources::Workspaces.new(client: self)
|
|
187
181
|
@workspace_admin = Cadenya::Resources::WorkspaceAdmin.new(client: self)
|
|
188
182
|
@webhooks = Cadenya::Resources::Webhooks.new(client: self)
|
|
189
|
-
@bulk_workspace_resources = Cadenya::Resources::BulkWorkspaceResources.new(client: self)
|
|
190
183
|
end
|
|
191
184
|
end
|
|
192
185
|
end
|
|
@@ -12,12 +12,6 @@ module Cadenya
|
|
|
12
12
|
# @return [String]
|
|
13
13
|
required :workspace_id, String
|
|
14
14
|
|
|
15
|
-
# @!attribute bundle_key
|
|
16
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
17
|
-
#
|
|
18
|
-
# @return [String, nil]
|
|
19
|
-
optional :bundle_key, String
|
|
20
|
-
|
|
21
15
|
# @!attribute cursor
|
|
22
16
|
# Pagination cursor from previous response
|
|
23
17
|
#
|
|
@@ -67,14 +61,12 @@ module Cadenya
|
|
|
67
61
|
# @return [Symbol, Cadenya::Models::AgentListParams::VariationSelectionMode, nil]
|
|
68
62
|
optional :variation_selection_mode, enum: -> { Cadenya::AgentListParams::VariationSelectionMode }
|
|
69
63
|
|
|
70
|
-
# @!method initialize(workspace_id:,
|
|
64
|
+
# @!method initialize(workspace_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, variation_selection_mode: nil, request_options: {})
|
|
71
65
|
# Some parameter documentations has been truncated, see
|
|
72
66
|
# {Cadenya::Models::AgentListParams} for more details.
|
|
73
67
|
#
|
|
74
68
|
# @param workspace_id [String]
|
|
75
69
|
#
|
|
76
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
77
|
-
#
|
|
78
70
|
# @param cursor [String] Pagination cursor from previous response
|
|
79
71
|
#
|
|
80
72
|
# @param include_info [Boolean] When true, the `info` field on each returned agent is populated. Requests
|
|
@@ -18,12 +18,6 @@ module Cadenya
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
required :agent_id, String
|
|
20
20
|
|
|
21
|
-
# @!attribute bundle_key
|
|
22
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
23
|
-
#
|
|
24
|
-
# @return [String, nil]
|
|
25
|
-
optional :bundle_key, String
|
|
26
|
-
|
|
27
21
|
# @!attribute cursor
|
|
28
22
|
# Pagination cursor from previous response.
|
|
29
23
|
#
|
|
@@ -61,7 +55,7 @@ module Cadenya
|
|
|
61
55
|
# @return [String, nil]
|
|
62
56
|
optional :sort_order, String
|
|
63
57
|
|
|
64
|
-
# @!method initialize(workspace_id:, agent_id:,
|
|
58
|
+
# @!method initialize(workspace_id:, agent_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
|
|
65
59
|
# Some parameter documentations has been truncated, see
|
|
66
60
|
# {Cadenya::Models::Agents::ScheduleListParams} for more details.
|
|
67
61
|
#
|
|
@@ -69,8 +63,6 @@ module Cadenya
|
|
|
69
63
|
#
|
|
70
64
|
# @param agent_id [String]
|
|
71
65
|
#
|
|
72
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
73
|
-
#
|
|
74
66
|
# @param cursor [String] Pagination cursor from previous response.
|
|
75
67
|
#
|
|
76
68
|
# @param include_info [Boolean] When true, the `info` field on each returned schedule is populated.
|
|
@@ -18,12 +18,6 @@ module Cadenya
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
required :agent_id, String
|
|
20
20
|
|
|
21
|
-
# @!attribute bundle_key
|
|
22
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
23
|
-
#
|
|
24
|
-
# @return [String, nil]
|
|
25
|
-
optional :bundle_key, String
|
|
26
|
-
|
|
27
21
|
# @!attribute cursor
|
|
28
22
|
# Pagination cursor from previous response
|
|
29
23
|
#
|
|
@@ -49,7 +43,7 @@ module Cadenya
|
|
|
49
43
|
# @return [String, nil]
|
|
50
44
|
optional :sort_order, String
|
|
51
45
|
|
|
52
|
-
# @!method initialize(workspace_id:, agent_id:,
|
|
46
|
+
# @!method initialize(workspace_id:, agent_id:, cursor: nil, include_info: nil, limit: nil, sort_order: nil, request_options: {})
|
|
53
47
|
# Some parameter documentations has been truncated, see
|
|
54
48
|
# {Cadenya::Models::Agents::VariationListParams} for more details.
|
|
55
49
|
#
|
|
@@ -57,8 +51,6 @@ module Cadenya
|
|
|
57
51
|
#
|
|
58
52
|
# @param agent_id [String]
|
|
59
53
|
#
|
|
60
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
61
|
-
#
|
|
62
54
|
# @param cursor [String] Pagination cursor from previous response
|
|
63
55
|
#
|
|
64
56
|
# @param include_info [Boolean] When true, the `info` field on each returned variation is populated.
|
|
@@ -3,20 +3,23 @@
|
|
|
3
3
|
module Cadenya
|
|
4
4
|
module Models
|
|
5
5
|
class AIProviderKeySpec < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute
|
|
7
|
-
#
|
|
8
|
-
#
|
|
6
|
+
# @!attribute config
|
|
7
|
+
# AIProviderConfig holds non-secret, provider-specific settings. The set case must
|
|
8
|
+
# correspond to AIProviderKeySpec.provider. Providers with no settings (Anthropic,
|
|
9
|
+
# Gemini) simply leave this unset. The endpoint of a named provider is fixed and
|
|
10
|
+
# intentionally not overridable here; use the OpenAI-compatible provider to target
|
|
11
|
+
# a custom endpoint.
|
|
9
12
|
#
|
|
10
|
-
# @return [
|
|
11
|
-
optional :
|
|
13
|
+
# @return [Cadenya::Models::AIProviderKeySpec::Config, nil]
|
|
14
|
+
optional :config, -> { Cadenya::AIProviderKeySpec::Config }
|
|
12
15
|
|
|
13
|
-
# @!attribute
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
16
|
+
# @!attribute credentials
|
|
17
|
+
# AIProviderCredential is the secret material used to authenticate with a
|
|
18
|
+
# provider. The set case must correspond to AIProviderKeySpec.provider. The server
|
|
19
|
+
# encrypts the serialized message at rest and never returns it on reads.
|
|
17
20
|
#
|
|
18
|
-
# @return [
|
|
19
|
-
optional :
|
|
21
|
+
# @return [Cadenya::Models::AIProviderKeySpec::Credentials, nil]
|
|
22
|
+
optional :credentials, -> { Cadenya::AIProviderKeySpec::Credentials }
|
|
20
23
|
|
|
21
24
|
# @!attribute provider
|
|
22
25
|
# The AI provider this key authenticates against.
|
|
@@ -24,16 +27,163 @@ module Cadenya
|
|
|
24
27
|
# @return [Symbol, Cadenya::Models::AIProviderKeySpec::Provider, nil]
|
|
25
28
|
optional :provider, enum: -> { Cadenya::AIProviderKeySpec::Provider }
|
|
26
29
|
|
|
27
|
-
# @!method initialize(
|
|
30
|
+
# @!method initialize(config: nil, credentials: nil, provider: nil)
|
|
28
31
|
# Some parameter documentations has been truncated, see
|
|
29
32
|
# {Cadenya::Models::AIProviderKeySpec} for more details.
|
|
30
33
|
#
|
|
31
|
-
# @param
|
|
34
|
+
# @param config [Cadenya::Models::AIProviderKeySpec::Config] AIProviderConfig holds non-secret, provider-specific settings. The set case
|
|
32
35
|
#
|
|
33
|
-
# @param
|
|
36
|
+
# @param credentials [Cadenya::Models::AIProviderKeySpec::Credentials] AIProviderCredential is the secret material used to authenticate with a
|
|
34
37
|
#
|
|
35
38
|
# @param provider [Symbol, Cadenya::Models::AIProviderKeySpec::Provider] The AI provider this key authenticates against.
|
|
36
39
|
|
|
40
|
+
# @see Cadenya::Models::AIProviderKeySpec#config
|
|
41
|
+
class Config < Cadenya::Internal::Type::BaseModel
|
|
42
|
+
# @!attribute openai
|
|
43
|
+
# OpenAIConfig holds OpenAI-specific settings.
|
|
44
|
+
#
|
|
45
|
+
# @return [Cadenya::Models::AIProviderKeySpec::Config::OpenAI, nil]
|
|
46
|
+
optional :openai, -> { Cadenya::AIProviderKeySpec::Config::OpenAI }
|
|
47
|
+
|
|
48
|
+
# @!attribute openai_compatible
|
|
49
|
+
# OpenAICompatibleConfig configures a generic endpoint that speaks the OpenAI Chat
|
|
50
|
+
# Completions API. The base URL is required and its model catalog is discovered
|
|
51
|
+
# live via GET {base_url}/models.
|
|
52
|
+
#
|
|
53
|
+
# @return [Cadenya::Models::AIProviderKeySpec::Config::OpenAICompatible, nil]
|
|
54
|
+
optional :openai_compatible,
|
|
55
|
+
-> { Cadenya::AIProviderKeySpec::Config::OpenAICompatible },
|
|
56
|
+
api_name: :openaiCompatible
|
|
57
|
+
|
|
58
|
+
# @!attribute openrouter
|
|
59
|
+
# OpenRouterConfig holds OpenRouter-specific settings.
|
|
60
|
+
#
|
|
61
|
+
# @return [Cadenya::Models::AIProviderKeySpec::Config::Openrouter, nil]
|
|
62
|
+
optional :openrouter, -> { Cadenya::AIProviderKeySpec::Config::Openrouter }
|
|
63
|
+
|
|
64
|
+
# @!method initialize(openai: nil, openai_compatible: nil, openrouter: nil)
|
|
65
|
+
# Some parameter documentations has been truncated, see
|
|
66
|
+
# {Cadenya::Models::AIProviderKeySpec::Config} for more details.
|
|
67
|
+
#
|
|
68
|
+
# AIProviderConfig holds non-secret, provider-specific settings. The set case must
|
|
69
|
+
# correspond to AIProviderKeySpec.provider. Providers with no settings (Anthropic,
|
|
70
|
+
# Gemini) simply leave this unset. The endpoint of a named provider is fixed and
|
|
71
|
+
# intentionally not overridable here; use the OpenAI-compatible provider to target
|
|
72
|
+
# a custom endpoint.
|
|
73
|
+
#
|
|
74
|
+
# @param openai [Cadenya::Models::AIProviderKeySpec::Config::OpenAI] OpenAIConfig holds OpenAI-specific settings.
|
|
75
|
+
#
|
|
76
|
+
# @param openai_compatible [Cadenya::Models::AIProviderKeySpec::Config::OpenAICompatible] OpenAICompatibleConfig configures a generic endpoint that speaks the OpenAI
|
|
77
|
+
#
|
|
78
|
+
# @param openrouter [Cadenya::Models::AIProviderKeySpec::Config::Openrouter] OpenRouterConfig holds OpenRouter-specific settings.
|
|
79
|
+
|
|
80
|
+
# @see Cadenya::Models::AIProviderKeySpec::Config#openai
|
|
81
|
+
class OpenAI < Cadenya::Internal::Type::BaseModel
|
|
82
|
+
# @!attribute organization_id
|
|
83
|
+
# Sent as the OpenAI-Organization header when set.
|
|
84
|
+
#
|
|
85
|
+
# @return [String, nil]
|
|
86
|
+
optional :organization_id, String, api_name: :organizationId
|
|
87
|
+
|
|
88
|
+
# @!attribute project_id
|
|
89
|
+
# Sent as the OpenAI-Project header when set.
|
|
90
|
+
#
|
|
91
|
+
# @return [String, nil]
|
|
92
|
+
optional :project_id, String, api_name: :projectId
|
|
93
|
+
|
|
94
|
+
# @!method initialize(organization_id: nil, project_id: nil)
|
|
95
|
+
# OpenAIConfig holds OpenAI-specific settings.
|
|
96
|
+
#
|
|
97
|
+
# @param organization_id [String] Sent as the OpenAI-Organization header when set.
|
|
98
|
+
#
|
|
99
|
+
# @param project_id [String] Sent as the OpenAI-Project header when set.
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# @see Cadenya::Models::AIProviderKeySpec::Config#openai_compatible
|
|
103
|
+
class OpenAICompatible < Cadenya::Internal::Type::BaseModel
|
|
104
|
+
# @!attribute base_url
|
|
105
|
+
#
|
|
106
|
+
# @return [String, nil]
|
|
107
|
+
optional :base_url, String, api_name: :baseUrl
|
|
108
|
+
|
|
109
|
+
# @!method initialize(base_url: nil)
|
|
110
|
+
# OpenAICompatibleConfig configures a generic endpoint that speaks the OpenAI Chat
|
|
111
|
+
# Completions API. The base URL is required and its model catalog is discovered
|
|
112
|
+
# live via GET {base_url}/models.
|
|
113
|
+
#
|
|
114
|
+
# @param base_url [String]
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# @see Cadenya::Models::AIProviderKeySpec::Config#openrouter
|
|
118
|
+
class Openrouter < Cadenya::Internal::Type::BaseModel
|
|
119
|
+
# @!attribute region
|
|
120
|
+
# Data-residency region (e.g. "us", "eu"). Empty uses the provider default.
|
|
121
|
+
#
|
|
122
|
+
# @return [String, nil]
|
|
123
|
+
optional :region, String
|
|
124
|
+
|
|
125
|
+
# @!method initialize(region: nil)
|
|
126
|
+
# OpenRouterConfig holds OpenRouter-specific settings.
|
|
127
|
+
#
|
|
128
|
+
# @param region [String] Data-residency region (e.g. "us", "eu"). Empty uses the provider default.
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# @see Cadenya::Models::AIProviderKeySpec#credentials
|
|
133
|
+
class Credentials < Cadenya::Internal::Type::BaseModel
|
|
134
|
+
# @!attribute api_key
|
|
135
|
+
# CredentialAPIKey carries a single bearer/header API key.
|
|
136
|
+
#
|
|
137
|
+
# @return [Cadenya::Models::AIProviderKeySpec::Credentials::APIKey, nil]
|
|
138
|
+
optional :api_key, -> { Cadenya::AIProviderKeySpec::Credentials::APIKey }, api_name: :apiKey
|
|
139
|
+
|
|
140
|
+
# @!attribute headers
|
|
141
|
+
# CredentialHeaders carries arbitrary HTTP headers sent with every request to the
|
|
142
|
+
# provider (e.g. {"Authorization": "Bearer ...", "X-Api-Key": "..."}).
|
|
143
|
+
#
|
|
144
|
+
# @return [Cadenya::Models::AIProviderKeySpec::Credentials::Headers, nil]
|
|
145
|
+
optional :headers, -> { Cadenya::AIProviderKeySpec::Credentials::Headers }
|
|
146
|
+
|
|
147
|
+
# @!method initialize(api_key: nil, headers: nil)
|
|
148
|
+
# Some parameter documentations has been truncated, see
|
|
149
|
+
# {Cadenya::Models::AIProviderKeySpec::Credentials} for more details.
|
|
150
|
+
#
|
|
151
|
+
# AIProviderCredential is the secret material used to authenticate with a
|
|
152
|
+
# provider. The set case must correspond to AIProviderKeySpec.provider. The server
|
|
153
|
+
# encrypts the serialized message at rest and never returns it on reads.
|
|
154
|
+
#
|
|
155
|
+
# @param api_key [Cadenya::Models::AIProviderKeySpec::Credentials::APIKey] CredentialAPIKey carries a single bearer/header API key.
|
|
156
|
+
#
|
|
157
|
+
# @param headers [Cadenya::Models::AIProviderKeySpec::Credentials::Headers] CredentialHeaders carries arbitrary HTTP headers sent with every request to
|
|
158
|
+
|
|
159
|
+
# @see Cadenya::Models::AIProviderKeySpec::Credentials#api_key
|
|
160
|
+
class APIKey < Cadenya::Internal::Type::BaseModel
|
|
161
|
+
# @!attribute api_key
|
|
162
|
+
#
|
|
163
|
+
# @return [String, nil]
|
|
164
|
+
optional :api_key, String, api_name: :apiKey
|
|
165
|
+
|
|
166
|
+
# @!method initialize(api_key: nil)
|
|
167
|
+
# CredentialAPIKey carries a single bearer/header API key.
|
|
168
|
+
#
|
|
169
|
+
# @param api_key [String]
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# @see Cadenya::Models::AIProviderKeySpec::Credentials#headers
|
|
173
|
+
class Headers < Cadenya::Internal::Type::BaseModel
|
|
174
|
+
# @!attribute headers
|
|
175
|
+
#
|
|
176
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
177
|
+
optional :headers, Cadenya::Internal::Type::HashOf[String]
|
|
178
|
+
|
|
179
|
+
# @!method initialize(headers: nil)
|
|
180
|
+
# CredentialHeaders carries arbitrary HTTP headers sent with every request to the
|
|
181
|
+
# provider (e.g. {"Authorization": "Bearer ...", "X-Api-Key": "..."}).
|
|
182
|
+
#
|
|
183
|
+
# @param headers [Hash{Symbol=>String}]
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
|
|
37
187
|
# The AI provider this key authenticates against.
|
|
38
188
|
#
|
|
39
189
|
# @see Cadenya::Models::AIProviderKeySpec#provider
|
|
@@ -42,6 +192,10 @@ module Cadenya
|
|
|
42
192
|
|
|
43
193
|
AI_PROVIDER_UNSPECIFIED = :AI_PROVIDER_UNSPECIFIED
|
|
44
194
|
AI_PROVIDER_OPENROUTER = :AI_PROVIDER_OPENROUTER
|
|
195
|
+
AI_PROVIDER_OPENAI = :AI_PROVIDER_OPENAI
|
|
196
|
+
AI_PROVIDER_ANTHROPIC = :AI_PROVIDER_ANTHROPIC
|
|
197
|
+
AI_PROVIDER_GEMINI = :AI_PROVIDER_GEMINI
|
|
198
|
+
AI_PROVIDER_OPENAI_COMPATIBLE = :AI_PROVIDER_OPENAI_COMPATIBLE
|
|
45
199
|
|
|
46
200
|
# @!method self.values
|
|
47
201
|
# @return [Array<Symbol>]
|
|
@@ -7,12 +7,6 @@ module Cadenya
|
|
|
7
7
|
extend Cadenya::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Cadenya::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!attribute bundle_key
|
|
11
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
12
|
-
#
|
|
13
|
-
# @return [String, nil]
|
|
14
|
-
optional :bundle_key, String
|
|
15
|
-
|
|
16
10
|
# @!attribute cursor
|
|
17
11
|
# Pagination cursor from previous response.
|
|
18
12
|
#
|
|
@@ -50,12 +44,10 @@ module Cadenya
|
|
|
50
44
|
# @return [String, nil]
|
|
51
45
|
optional :sort_order, String
|
|
52
46
|
|
|
53
|
-
# @!method initialize(
|
|
47
|
+
# @!method initialize(cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
|
|
54
48
|
# Some parameter documentations has been truncated, see
|
|
55
49
|
# {Cadenya::Models::APIKeyListParams} for more details.
|
|
56
50
|
#
|
|
57
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
58
|
-
#
|
|
59
51
|
# @param cursor [String] Pagination cursor from previous response.
|
|
60
52
|
#
|
|
61
53
|
# @param include_info [Boolean] When true, included info fields are populated. Requests with this
|
|
@@ -10,12 +10,6 @@ module Cadenya
|
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :name, String
|
|
12
12
|
|
|
13
|
-
# @!attribute bundle_key
|
|
14
|
-
# Optional bundle ownership key. See ResourceMetadata.bundle_key.
|
|
15
|
-
#
|
|
16
|
-
# @return [String, nil]
|
|
17
|
-
optional :bundle_key, String, api_name: :bundleKey
|
|
18
|
-
|
|
19
13
|
# @!attribute external_id
|
|
20
14
|
# External ID for the resource (e.g., a workflow ID from an external system)
|
|
21
15
|
#
|
|
@@ -29,7 +23,7 @@ module Cadenya
|
|
|
29
23
|
# @return [Hash{Symbol=>String}, nil]
|
|
30
24
|
optional :labels, Cadenya::Internal::Type::HashOf[String]
|
|
31
25
|
|
|
32
|
-
# @!method initialize(name:,
|
|
26
|
+
# @!method initialize(name:, external_id: nil, labels: nil)
|
|
33
27
|
# Some parameter documentations has been truncated, see
|
|
34
28
|
# {Cadenya::Models::CreateResourceMetadata} for more details.
|
|
35
29
|
#
|
|
@@ -39,8 +33,6 @@ module Cadenya
|
|
|
39
33
|
#
|
|
40
34
|
# @param name [String] Human-readable name for the resource (e.g., "Customer Support Agent", "Email Too
|
|
41
35
|
#
|
|
42
|
-
# @param bundle_key [String] Optional bundle ownership key. See ResourceMetadata.bundle_key.
|
|
43
|
-
#
|
|
44
36
|
# @param external_id [String] External ID for the resource (e.g., a workflow ID from an external system)
|
|
45
37
|
#
|
|
46
38
|
# @param labels [Hash{Symbol=>String}] Arbitrary key-value pairs for categorization and filtering
|
|
@@ -18,12 +18,6 @@ module Cadenya
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :agent_id, String
|
|
20
20
|
|
|
21
|
-
# @!attribute bundle_key
|
|
22
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
23
|
-
#
|
|
24
|
-
# @return [String, nil]
|
|
25
|
-
optional :bundle_key, String
|
|
26
|
-
|
|
27
21
|
# @!attribute cursor
|
|
28
22
|
# Pagination cursor from previous response
|
|
29
23
|
#
|
|
@@ -74,7 +68,7 @@ module Cadenya
|
|
|
74
68
|
# @return [Symbol, Cadenya::Models::MemoryLayerListParams::Type, nil]
|
|
75
69
|
optional :type, enum: -> { Cadenya::MemoryLayerListParams::Type }
|
|
76
70
|
|
|
77
|
-
# @!method initialize(workspace_id:, agent_id: nil,
|
|
71
|
+
# @!method initialize(workspace_id:, agent_id: nil, cursor: nil, episodic_key_prefix: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, type: nil, request_options: {})
|
|
78
72
|
# Some parameter documentations has been truncated, see
|
|
79
73
|
# {Cadenya::Models::MemoryLayerListParams} for more details.
|
|
80
74
|
#
|
|
@@ -82,8 +76,6 @@ module Cadenya
|
|
|
82
76
|
#
|
|
83
77
|
# @param agent_id [String] Filter to episodic layers belonging to this agent.
|
|
84
78
|
#
|
|
85
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
86
|
-
#
|
|
87
79
|
# @param cursor [String] Pagination cursor from previous response
|
|
88
80
|
#
|
|
89
81
|
# @param episodic_key_prefix [String] Filter to episodic layers whose episodic key starts with this prefix
|
|
@@ -18,12 +18,6 @@ module Cadenya
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
required :memory_layer_id, String
|
|
20
20
|
|
|
21
|
-
# @!attribute bundle_key
|
|
22
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
23
|
-
#
|
|
24
|
-
# @return [String, nil]
|
|
25
|
-
optional :bundle_key, String
|
|
26
|
-
|
|
27
21
|
# @!attribute cursor
|
|
28
22
|
# Pagination cursor from previous response
|
|
29
23
|
#
|
|
@@ -61,7 +55,7 @@ module Cadenya
|
|
|
61
55
|
# @return [String, nil]
|
|
62
56
|
optional :sort_order, String
|
|
63
57
|
|
|
64
|
-
# @!method initialize(workspace_id:, memory_layer_id:,
|
|
58
|
+
# @!method initialize(workspace_id:, memory_layer_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
|
|
65
59
|
# Some parameter documentations has been truncated, see
|
|
66
60
|
# {Cadenya::Models::MemoryLayers::EntryListParams} for more details.
|
|
67
61
|
#
|
|
@@ -69,8 +63,6 @@ module Cadenya
|
|
|
69
63
|
#
|
|
70
64
|
# @param memory_layer_id [String]
|
|
71
65
|
#
|
|
72
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
73
|
-
#
|
|
74
66
|
# @param cursor [String] Pagination cursor from previous response
|
|
75
67
|
#
|
|
76
68
|
# @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
|
|
@@ -19,12 +19,6 @@ module Cadenya
|
|
|
19
19
|
# @return [String, nil]
|
|
20
20
|
optional :ai_provider_key_id, String
|
|
21
21
|
|
|
22
|
-
# @!attribute bundle_key
|
|
23
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
24
|
-
#
|
|
25
|
-
# @return [String, nil]
|
|
26
|
-
optional :bundle_key, String
|
|
27
|
-
|
|
28
22
|
# @!attribute cursor
|
|
29
23
|
# Pagination cursor from previous response
|
|
30
24
|
#
|
|
@@ -76,7 +70,7 @@ module Cadenya
|
|
|
76
70
|
# @return [Symbol, Cadenya::Models::ModelListParams::State, nil]
|
|
77
71
|
optional :state, enum: -> { Cadenya::ModelListParams::State }
|
|
78
72
|
|
|
79
|
-
# @!method initialize(workspace_id:, ai_provider_key_id: nil,
|
|
73
|
+
# @!method initialize(workspace_id:, ai_provider_key_id: nil, cursor: nil, include_info: nil, is_assigned: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
|
|
80
74
|
# Some parameter documentations has been truncated, see
|
|
81
75
|
# {Cadenya::Models::ModelListParams} for more details.
|
|
82
76
|
#
|
|
@@ -84,8 +78,6 @@ module Cadenya
|
|
|
84
78
|
#
|
|
85
79
|
# @param ai_provider_key_id [String] Filter to models provisioned on a specific AI provider key. Accepts the
|
|
86
80
|
#
|
|
87
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
88
|
-
#
|
|
89
81
|
# @param cursor [String] Pagination cursor from previous response
|
|
90
82
|
#
|
|
91
83
|
# @param include_info [Boolean] When true, populate each item's info (e.g. the AI provider), at the cost of
|
|
@@ -10,15 +10,6 @@ module Cadenya
|
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :name, String
|
|
12
12
|
|
|
13
|
-
# @!attribute bundle_key
|
|
14
|
-
# Optional bundle ownership key. When set, indicates the resource is managed by a
|
|
15
|
-
# configuration bundle identified by this key. Used by
|
|
16
|
-
# BulkWorkspaceResources.Apply to track which resources belong to which bundle for
|
|
17
|
-
# reconciliation / soft-delete on re-apply.
|
|
18
|
-
#
|
|
19
|
-
# @return [String, nil]
|
|
20
|
-
optional :bundle_key, String, api_name: :bundleKey
|
|
21
|
-
|
|
22
13
|
# @!attribute external_id
|
|
23
14
|
# External ID for the resource (e.g., a workflow ID from an external system)
|
|
24
15
|
#
|
|
@@ -70,7 +61,7 @@ module Cadenya
|
|
|
70
61
|
optional :updated_at, Time, api_name: :updatedAt
|
|
71
62
|
end
|
|
72
63
|
|
|
73
|
-
# @!method initialize(id:, account_id:, created_at:, name:, profile_id:, workspace_id:,
|
|
64
|
+
# @!method initialize(id:, account_id:, created_at:, name:, profile_id:, workspace_id:, external_id: nil, labels: nil, updated_at: nil)
|
|
74
65
|
# Some parameter documentations has been truncated, see
|
|
75
66
|
# {Cadenya::Models::ResourceMetadata} for more details.
|
|
76
67
|
#
|
|
@@ -88,8 +79,6 @@ module Cadenya
|
|
|
88
79
|
#
|
|
89
80
|
# @param workspace_id [String] Workspace this resource belongs to for organizational grouping (prefixed ULID)
|
|
90
81
|
#
|
|
91
|
-
# @param bundle_key [String] Optional bundle ownership key. When set, indicates the resource is
|
|
92
|
-
#
|
|
93
82
|
# @param external_id [String] External ID for the resource (e.g., a workflow ID from an external system)
|
|
94
83
|
#
|
|
95
84
|
# @param labels [Hash{Symbol=>String}] Arbitrary key-value pairs for categorization and filtering
|
|
@@ -12,12 +12,6 @@ module Cadenya
|
|
|
12
12
|
# @return [String]
|
|
13
13
|
required :workspace_id, String
|
|
14
14
|
|
|
15
|
-
# @!attribute bundle_key
|
|
16
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
17
|
-
#
|
|
18
|
-
# @return [String, nil]
|
|
19
|
-
optional :bundle_key, String
|
|
20
|
-
|
|
21
15
|
# @!attribute cursor
|
|
22
16
|
# Pagination cursor from previous response
|
|
23
17
|
#
|
|
@@ -61,14 +55,12 @@ module Cadenya
|
|
|
61
55
|
# @return [Symbol, Cadenya::Models::ToolSetListParams::State, nil]
|
|
62
56
|
optional :state, enum: -> { Cadenya::ToolSetListParams::State }
|
|
63
57
|
|
|
64
|
-
# @!method initialize(workspace_id:,
|
|
58
|
+
# @!method initialize(workspace_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
|
|
65
59
|
# Some parameter documentations has been truncated, see
|
|
66
60
|
# {Cadenya::Models::ToolSetListParams} for more details.
|
|
67
61
|
#
|
|
68
62
|
# @param workspace_id [String]
|
|
69
63
|
#
|
|
70
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
71
|
-
#
|
|
72
64
|
# @param cursor [String] Pagination cursor from previous response
|
|
73
65
|
#
|
|
74
66
|
# @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
|
|
@@ -18,12 +18,6 @@ module Cadenya
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
required :tool_set_id, String
|
|
20
20
|
|
|
21
|
-
# @!attribute bundle_key
|
|
22
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
23
|
-
#
|
|
24
|
-
# @return [String, nil]
|
|
25
|
-
optional :bundle_key, String
|
|
26
|
-
|
|
27
21
|
# @!attribute cursor
|
|
28
22
|
# Pagination cursor from previous response
|
|
29
23
|
#
|
|
@@ -60,13 +54,11 @@ module Cadenya
|
|
|
60
54
|
# @return [String, nil]
|
|
61
55
|
optional :sort_order, String
|
|
62
56
|
|
|
63
|
-
# @!method initialize(workspace_id:, tool_set_id:,
|
|
57
|
+
# @!method initialize(workspace_id:, tool_set_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
|
|
64
58
|
# @param workspace_id [String]
|
|
65
59
|
#
|
|
66
60
|
# @param tool_set_id [String]
|
|
67
61
|
#
|
|
68
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
69
|
-
#
|
|
70
62
|
# @param cursor [String] Pagination cursor from previous response
|
|
71
63
|
#
|
|
72
64
|
# @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
|
|
@@ -18,12 +18,6 @@ module Cadenya
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
required :tool_set_id, String
|
|
20
20
|
|
|
21
|
-
# @!attribute bundle_key
|
|
22
|
-
# Filter by bundle_key — return only resources owned by this bundle.
|
|
23
|
-
#
|
|
24
|
-
# @return [String, nil]
|
|
25
|
-
optional :bundle_key, String
|
|
26
|
-
|
|
27
21
|
# @!attribute cursor
|
|
28
22
|
# Pagination cursor from previous response
|
|
29
23
|
#
|
|
@@ -79,7 +73,7 @@ module Cadenya
|
|
|
79
73
|
# @return [Array<Symbol, Cadenya::Models::ToolSets::ToolListParams::State>, nil]
|
|
80
74
|
optional :states, -> { Cadenya::Internal::Type::ArrayOf[enum: Cadenya::ToolSets::ToolListParams::State] }
|
|
81
75
|
|
|
82
|
-
# @!method initialize(workspace_id:, tool_set_id:,
|
|
76
|
+
# @!method initialize(workspace_id:, tool_set_id:, cursor: nil, include_info: nil, limit: nil, names: nil, prefix: nil, query: nil, requires_approval: nil, sort_order: nil, states: nil, request_options: {})
|
|
83
77
|
# Some parameter documentations has been truncated, see
|
|
84
78
|
# {Cadenya::Models::ToolSets::ToolListParams} for more details.
|
|
85
79
|
#
|
|
@@ -87,8 +81,6 @@ module Cadenya
|
|
|
87
81
|
#
|
|
88
82
|
# @param tool_set_id [String]
|
|
89
83
|
#
|
|
90
|
-
# @param bundle_key [String] Filter by bundle_key — return only resources owned by this bundle.
|
|
91
|
-
#
|
|
92
84
|
# @param cursor [String] Pagination cursor from previous response
|
|
93
85
|
#
|
|
94
86
|
# @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
|