cadenya 0.19.0 → 0.21.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.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/cadenya/client.rb +0 -7
  5. data/lib/cadenya/models/account_resource_metadata.rb +8 -1
  6. data/lib/cadenya/models/agent_list_params.rb +1 -9
  7. data/lib/cadenya/models/agents/schedule_list_params.rb +1 -9
  8. data/lib/cadenya/models/agents/variation_list_params.rb +1 -9
  9. data/lib/cadenya/models/api_key_list_params.rb +1 -9
  10. data/lib/cadenya/models/create_resource_metadata.rb +1 -9
  11. data/lib/cadenya/models/memory_layer_list_params.rb +1 -9
  12. data/lib/cadenya/models/memory_layers/entry_list_params.rb +1 -9
  13. data/lib/cadenya/models/model_list_params.rb +1 -9
  14. data/lib/cadenya/models/resource_metadata.rb +1 -12
  15. data/lib/cadenya/models/tool_set_list_params.rb +1 -9
  16. data/lib/cadenya/models/tool_sets/secret_list_params.rb +1 -9
  17. data/lib/cadenya/models/tool_sets/tool_list_params.rb +1 -9
  18. data/lib/cadenya/models/update_resource_metadata.rb +1 -9
  19. data/lib/cadenya/models/workspace.rb +40 -1
  20. data/lib/cadenya/models/workspace_secret_list_params.rb +1 -9
  21. data/lib/cadenya/models.rb +0 -34
  22. data/lib/cadenya/resources/agents/schedules.rb +2 -8
  23. data/lib/cadenya/resources/agents/variations.rb +2 -8
  24. data/lib/cadenya/resources/agents.rb +1 -4
  25. data/lib/cadenya/resources/api_keys.rb +2 -8
  26. data/lib/cadenya/resources/memory_layers/entries.rb +2 -8
  27. data/lib/cadenya/resources/memory_layers.rb +1 -4
  28. data/lib/cadenya/resources/models.rb +1 -4
  29. data/lib/cadenya/resources/tool_sets/secrets.rb +2 -8
  30. data/lib/cadenya/resources/tool_sets/tools.rb +1 -4
  31. data/lib/cadenya/resources/tool_sets.rb +2 -8
  32. data/lib/cadenya/resources/workspace_secrets.rb +2 -8
  33. data/lib/cadenya/version.rb +1 -1
  34. data/lib/cadenya.rb +0 -30
  35. data/rbi/cadenya/client.rbi +0 -6
  36. data/rbi/cadenya/models/account_resource_metadata.rbi +9 -0
  37. data/rbi/cadenya/models/agent_list_params.rbi +0 -11
  38. data/rbi/cadenya/models/agents/schedule_list_params.rbi +0 -11
  39. data/rbi/cadenya/models/agents/variation_list_params.rbi +0 -11
  40. data/rbi/cadenya/models/api_key_list_params.rbi +0 -11
  41. data/rbi/cadenya/models/create_resource_metadata.rbi +1 -16
  42. data/rbi/cadenya/models/memory_layer_list_params.rbi +0 -11
  43. data/rbi/cadenya/models/memory_layers/entry_list_params.rbi +0 -11
  44. data/rbi/cadenya/models/model_list_params.rbi +0 -11
  45. data/rbi/cadenya/models/resource_metadata.rbi +0 -17
  46. data/rbi/cadenya/models/tool_set_list_params.rbi +0 -11
  47. data/rbi/cadenya/models/tool_sets/secret_list_params.rbi +0 -11
  48. data/rbi/cadenya/models/tool_sets/tool_list_params.rbi +0 -11
  49. data/rbi/cadenya/models/update_resource_metadata.rbi +1 -16
  50. data/rbi/cadenya/models/workspace.rbi +72 -0
  51. data/rbi/cadenya/models/workspace_secret_list_params.rbi +0 -11
  52. data/rbi/cadenya/models.rbi +0 -37
  53. data/rbi/cadenya/resources/agents/schedules.rbi +0 -3
  54. data/rbi/cadenya/resources/agents/variations.rbi +0 -3
  55. data/rbi/cadenya/resources/agents.rbi +0 -3
  56. data/rbi/cadenya/resources/api_keys.rbi +0 -3
  57. data/rbi/cadenya/resources/memory_layers/entries.rbi +0 -3
  58. data/rbi/cadenya/resources/memory_layers.rbi +0 -3
  59. data/rbi/cadenya/resources/models.rbi +0 -3
  60. data/rbi/cadenya/resources/tool_sets/secrets.rbi +0 -3
  61. data/rbi/cadenya/resources/tool_sets/tools.rbi +0 -3
  62. data/rbi/cadenya/resources/tool_sets.rbi +0 -3
  63. data/rbi/cadenya/resources/workspace_secrets.rbi +0 -3
  64. data/sig/cadenya/client.rbs +0 -2
  65. data/sig/cadenya/models/account_resource_metadata.rbs +7 -0
  66. data/sig/cadenya/models/agent_list_params.rbs +0 -7
  67. data/sig/cadenya/models/agents/schedule_list_params.rbs +0 -7
  68. data/sig/cadenya/models/agents/variation_list_params.rbs +0 -7
  69. data/sig/cadenya/models/api_key_list_params.rbs +0 -7
  70. data/sig/cadenya/models/create_resource_metadata.rbs +1 -12
  71. data/sig/cadenya/models/memory_layer_list_params.rbs +0 -7
  72. data/sig/cadenya/models/memory_layers/entry_list_params.rbs +0 -7
  73. data/sig/cadenya/models/model_list_params.rbs +0 -7
  74. data/sig/cadenya/models/resource_metadata.rbs +0 -7
  75. data/sig/cadenya/models/tool_set_list_params.rbs +0 -7
  76. data/sig/cadenya/models/tool_sets/secret_list_params.rbs +0 -7
  77. data/sig/cadenya/models/tool_sets/tool_list_params.rbs +0 -7
  78. data/sig/cadenya/models/update_resource_metadata.rbs +1 -12
  79. data/sig/cadenya/models/workspace.rbs +47 -0
  80. data/sig/cadenya/models/workspace_secret_list_params.rbs +0 -7
  81. data/sig/cadenya/models.rbs +0 -34
  82. data/sig/cadenya/resources/agents/schedules.rbs +0 -1
  83. data/sig/cadenya/resources/agents/variations.rbs +0 -1
  84. data/sig/cadenya/resources/agents.rbs +0 -1
  85. data/sig/cadenya/resources/api_keys.rbs +0 -1
  86. data/sig/cadenya/resources/memory_layers/entries.rbs +0 -1
  87. data/sig/cadenya/resources/memory_layers.rbs +0 -1
  88. data/sig/cadenya/resources/models.rbs +0 -1
  89. data/sig/cadenya/resources/tool_sets/secrets.rbs +0 -1
  90. data/sig/cadenya/resources/tool_sets/tools.rbs +0 -1
  91. data/sig/cadenya/resources/tool_sets.rbs +0 -1
  92. data/sig/cadenya/resources/workspace_secrets.rbs +0 -1
  93. metadata +2 -92
  94. data/lib/cadenya/models/agent_entry.rb +0 -76
  95. data/lib/cadenya/models/agent_schedule_entry.rb +0 -60
  96. data/lib/cadenya/models/agent_variation_entry.rb +0 -52
  97. data/lib/cadenya/models/bulk_workspace_apply.rb +0 -46
  98. data/lib/cadenya/models/bulk_workspace_apply_data.rb +0 -75
  99. data/lib/cadenya/models/bulk_workspace_apply_info.rb +0 -79
  100. data/lib/cadenya/models/bulk_workspace_apply_status.rb +0 -115
  101. data/lib/cadenya/models/bulk_workspace_resource_apply_params.rb +0 -26
  102. data/lib/cadenya/models/bulk_workspace_resource_list_params.rb +0 -78
  103. data/lib/cadenya/models/bulk_workspace_resource_retrieve_params.rb +0 -26
  104. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rb +0 -40
  105. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rb +0 -95
  106. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rb +0 -124
  107. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rb +0 -126
  108. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rb +0 -125
  109. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rb +0 -133
  110. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rb +0 -130
  111. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rb +0 -123
  112. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rb +0 -123
  113. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rb +0 -125
  114. data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rb +0 -123
  115. data/lib/cadenya/models/bulk_workspace_resources/result_list_params.rb +0 -85
  116. data/lib/cadenya/models/memory_entry_item.rb +0 -33
  117. data/lib/cadenya/models/memory_layer_entry.rb +0 -37
  118. data/lib/cadenya/models/tool_entry.rb +0 -57
  119. data/lib/cadenya/models/tool_set_entry.rb +0 -37
  120. data/lib/cadenya/models/variation_assignment_entry.rb +0 -27
  121. data/lib/cadenya/models/variation_memory_layer_entry.rb +0 -23
  122. data/lib/cadenya/resources/bulk_workspace_resources/results.rb +0 -66
  123. data/lib/cadenya/resources/bulk_workspace_resources.rb +0 -113
  124. data/rbi/cadenya/models/agent_entry.rbi +0 -124
  125. data/rbi/cadenya/models/agent_schedule_entry.rbi +0 -104
  126. data/rbi/cadenya/models/agent_variation_entry.rbi +0 -87
  127. data/rbi/cadenya/models/bulk_workspace_apply.rbi +0 -72
  128. data/rbi/cadenya/models/bulk_workspace_apply_data.rbi +0 -122
  129. data/rbi/cadenya/models/bulk_workspace_apply_info.rbi +0 -116
  130. data/rbi/cadenya/models/bulk_workspace_apply_status.rbi +0 -259
  131. data/rbi/cadenya/models/bulk_workspace_resource_apply_params.rbi +0 -49
  132. data/rbi/cadenya/models/bulk_workspace_resource_list_params.rbi +0 -169
  133. data/rbi/cadenya/models/bulk_workspace_resource_retrieve_params.rbi +0 -46
  134. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rbi +0 -78
  135. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rbi +0 -246
  136. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rbi +0 -291
  137. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rbi +0 -293
  138. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rbi +0 -291
  139. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rbi +0 -309
  140. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rbi +0 -301
  141. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rbi +0 -289
  142. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rbi +0 -289
  143. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rbi +0 -298
  144. data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rbi +0 -298
  145. data/rbi/cadenya/models/bulk_workspace_resources/result_list_params.rbi +0 -175
  146. data/rbi/cadenya/models/memory_entry_item.rbi +0 -57
  147. data/rbi/cadenya/models/memory_layer_entry.rbi +0 -66
  148. data/rbi/cadenya/models/tool_entry.rbi +0 -88
  149. data/rbi/cadenya/models/tool_set_entry.rbi +0 -64
  150. data/rbi/cadenya/models/variation_assignment_entry.rbi +0 -48
  151. data/rbi/cadenya/models/variation_memory_layer_entry.rbi +0 -41
  152. data/rbi/cadenya/resources/bulk_workspace_resources/results.rbi +0 -54
  153. data/rbi/cadenya/resources/bulk_workspace_resources.rbi +0 -87
  154. data/sig/cadenya/models/agent_entry.rbs +0 -73
  155. data/sig/cadenya/models/agent_schedule_entry.rbs +0 -55
  156. data/sig/cadenya/models/agent_variation_entry.rbs +0 -50
  157. data/sig/cadenya/models/bulk_workspace_apply.rbs +0 -39
  158. data/sig/cadenya/models/bulk_workspace_apply_data.rbs +0 -61
  159. data/sig/cadenya/models/bulk_workspace_apply_info.rbs +0 -78
  160. data/sig/cadenya/models/bulk_workspace_apply_status.rbs +0 -108
  161. data/sig/cadenya/models/bulk_workspace_resource_apply_params.rbs +0 -28
  162. data/sig/cadenya/models/bulk_workspace_resource_list_params.rbs +0 -88
  163. data/sig/cadenya/models/bulk_workspace_resource_retrieve_params.rbs +0 -28
  164. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rbs +0 -27
  165. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rbs +0 -105
  166. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rbs +0 -117
  167. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rbs +0 -119
  168. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rbs +0 -119
  169. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rbs +0 -119
  170. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rbs +0 -117
  171. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rbs +0 -117
  172. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rbs +0 -117
  173. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rbs +0 -112
  174. data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rbs +0 -112
  175. data/sig/cadenya/models/bulk_workspace_resources/result_list_params.rbs +0 -91
  176. data/sig/cadenya/models/memory_entry_item.rbs +0 -36
  177. data/sig/cadenya/models/memory_layer_entry.rbs +0 -41
  178. data/sig/cadenya/models/tool_entry.rbs +0 -55
  179. data/sig/cadenya/models/tool_set_entry.rbs +0 -41
  180. data/sig/cadenya/models/variation_assignment_entry.rbs +0 -32
  181. data/sig/cadenya/models/variation_memory_layer_entry.rbs +0 -20
  182. data/sig/cadenya/resources/bulk_workspace_resources/results.rbs +0 -20
  183. 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: 8a1cd1094416300054791cf69e8674033368d3f3c8f780d2b320fdc2f0188aeb
4
- data.tar.gz: 1e379a7e547aad3305d2862ee4cc916b0d0e2df1543a4ec43df93bb83bca0f33
3
+ metadata.gz: bae2339fbdcf3b0c2fb9df34667250dde5d857213c10f5135a14f4164d27492d
4
+ data.tar.gz: 87882e2bf2855ee6cccb666854ed69abe689b38f4a3379c42bb5a04741484577
5
5
  SHA512:
6
- metadata.gz: 259dd0100c397323f498c42cd3c9af529acd9fa647a039d4c869bd9a64d02ab154750fee6bd7ab5b67c1374c17dbbd85e6c120453f36a6e6045c0b875718ea13
7
- data.tar.gz: 73baee1a23b48abf85714213080a3acc32f259601e6e21e5e8328ff6ebc95b02a4b4ea11f9a8d4c3f23679fff537c9753966a7e0caeb26afaacc2d0925c87a6b
6
+ metadata.gz: 4a0fe3751603ee3081e18680c7a9456bcb037f5556f96ea29bbef37a71f045e500c120f0d3b5007b5fc40da54e656da84015b1e1257e55e51672a263f5d0ed09
7
+ data.tar.gz: 3b0016d99ecaf6083e0cafd675d713a44c0448a0e60e6e526fddbf41ad0da04c6d21d533dfac729c912817ae9e43c6682b3915eed835c7b3e568ae8c549cc222
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.0 (2026-06-23)
4
+
5
+ Full Changelog: [v0.20.0...v0.21.0](https://github.com/cadenya/cadenya-ruby/compare/v0.20.0...v0.21.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([943fb7e](https://github.com/cadenya/cadenya-ruby/commit/943fb7e5022b560703eb8ee3147e83771941262c))
10
+
11
+ ## 0.20.0 (2026-06-21)
12
+
13
+ Full Changelog: [v0.19.0...v0.20.0](https://github.com/cadenya/cadenya-ruby/compare/v0.19.0...v0.20.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([e22d35c](https://github.com/cadenya/cadenya-ruby/commit/e22d35c7f53bd0de57df4020fba7a1a61dd87311))
18
+
3
19
  ## 0.19.0 (2026-06-18)
4
20
 
5
21
  Full Changelog: [v0.18.1...v0.19.0](https://github.com/cadenya/cadenya-ruby/compare/v0.18.1...v0.19.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "cadenya", "~> 0.19.0"
20
+ gem "cadenya", "~> 0.21.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -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
@@ -40,9 +40,14 @@ module Cadenya
40
40
  #
41
41
  # @return [String]
42
42
  required :profile_id, String, api_name: :profileId
43
+
44
+ # @!attribute created_at
45
+ #
46
+ # @return [Time, nil]
47
+ optional :created_at, Time, api_name: :createdAt
43
48
  end
44
49
 
45
- # @!method initialize(id:, account_id:, name:, profile_id:, external_id: nil, labels: nil)
50
+ # @!method initialize(id:, account_id:, name:, profile_id:, created_at: nil, external_id: nil, labels: nil)
46
51
  # Some parameter documentations has been truncated, see
47
52
  # {Cadenya::Models::AccountResourceMetadata} for more details.
48
53
  #
@@ -57,6 +62,8 @@ module Cadenya
57
62
  #
58
63
  # @param profile_id [String]
59
64
  #
65
+ # @param created_at [Time]
66
+ #
60
67
  # @param external_id [String] External ID for the resource (e.g., a workflow ID from an external system)
61
68
  #
62
69
  # @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
  #
@@ -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:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, variation_selection_mode: nil, request_options: {})
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:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
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:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, sort_order: nil, request_options: {})
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.
@@ -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(bundle_key: nil, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
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:, bundle_key: nil, external_id: nil, labels: nil)
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, bundle_key: nil, cursor: nil, episodic_key_prefix: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, type: nil, request_options: {})
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:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
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, bundle_key: nil, cursor: nil, include_info: nil, is_assigned: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
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:, bundle_key: nil, external_id: nil, labels: nil, updated_at: nil)
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:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
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:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
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:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, names: nil, prefix: nil, query: nil, requires_approval: nil, sort_order: nil, states: nil, request_options: {})
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
@@ -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:, bundle_key: nil, external_id: nil, labels: nil)
26
+ # @!method initialize(name:, external_id: nil, labels: nil)
33
27
  # Some parameter documentations has been truncated, see
34
28
  # {Cadenya::Models::UpdateResourceMetadata} 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
@@ -17,6 +17,12 @@ module Cadenya
17
17
  required :spec, -> { Cadenya::WorkspaceSpec }
18
18
 
19
19
  response_only do
20
+ # @!attribute info
21
+ # WorkspaceInfo returns counts
22
+ #
23
+ # @return [Cadenya::Models::Workspace::Info, nil]
24
+ optional :info, -> { Cadenya::Workspace::Info }
25
+
20
26
  # @!attribute status
21
27
  # Lifecycle status of the workspace. Archived workspaces reject all requests
22
28
  # scoped to them. Server-populated.
@@ -25,7 +31,7 @@ module Cadenya
25
31
  optional :status, enum: -> { Cadenya::Workspace::Status }
26
32
  end
27
33
 
28
- # @!method initialize(metadata:, spec:, status: nil)
34
+ # @!method initialize(metadata:, spec:, info: nil, status: nil)
29
35
  # Some parameter documentations has been truncated, see
30
36
  # {Cadenya::Models::Workspace} for more details.
31
37
  #
@@ -33,8 +39,41 @@ module Cadenya
33
39
  #
34
40
  # @param spec [Cadenya::Models::WorkspaceSpec]
35
41
  #
42
+ # @param info [Cadenya::Models::Workspace::Info] WorkspaceInfo returns counts
43
+ #
36
44
  # @param status [Symbol, Cadenya::Models::Workspace::Status] Lifecycle status of the workspace. Archived workspaces reject all
37
45
 
46
+ # @see Cadenya::Models::Workspace#info
47
+ class Info < Cadenya::Internal::Type::BaseModel
48
+ # @!attribute total_agents
49
+ #
50
+ # @return [Integer, nil]
51
+ optional :total_agents, Integer, api_name: :totalAgents
52
+
53
+ # @!attribute total_agent_variations
54
+ #
55
+ # @return [Integer, nil]
56
+ optional :total_agent_variations, Integer, api_name: :totalAgentVariations
57
+
58
+ # @!attribute total_available_tools
59
+ #
60
+ # @return [Integer, nil]
61
+ optional :total_available_tools, Integer, api_name: :totalAvailableTools
62
+
63
+ # @!attribute total_memory_entries
64
+ #
65
+ # @return [Integer, nil]
66
+ optional :total_memory_entries, Integer, api_name: :totalMemoryEntries
67
+
68
+ # @!method initialize(total_agents: nil, total_agent_variations: nil, total_available_tools: nil, total_memory_entries: nil)
69
+ # WorkspaceInfo returns counts
70
+ #
71
+ # @param total_agents [Integer]
72
+ # @param total_agent_variations [Integer]
73
+ # @param total_available_tools [Integer]
74
+ # @param total_memory_entries [Integer]
75
+ end
76
+
38
77
  # Lifecycle status of the workspace. Archived workspaces reject all requests
39
78
  # scoped to them. Server-populated.
40
79
  #
@@ -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
  #
@@ -54,11 +48,9 @@ module Cadenya
54
48
  # @return [String, nil]
55
49
  optional :sort_order, String
56
50
 
57
- # @!method initialize(workspace_id:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
51
+ # @!method initialize(workspace_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
58
52
  # @param workspace_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 set to true you may use more of your alloted API rate-limit