@cadenya/cadenya 0.62.0 → 0.64.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 (127) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/client.d.mts +13 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +13 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +13 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +13 -0
  9. package/client.mjs.map +1 -1
  10. package/internal/types.d.mts +6 -6
  11. package/internal/types.d.mts.map +1 -1
  12. package/internal/types.d.ts +6 -6
  13. package/internal/types.d.ts.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/agents/agents.d.mts +4 -0
  16. package/resources/agents/agents.d.mts.map +1 -1
  17. package/resources/agents/agents.d.ts +4 -0
  18. package/resources/agents/agents.d.ts.map +1 -1
  19. package/resources/agents/agents.js.map +1 -1
  20. package/resources/agents/agents.mjs.map +1 -1
  21. package/resources/agents/schedules.d.mts +4 -0
  22. package/resources/agents/schedules.d.mts.map +1 -1
  23. package/resources/agents/schedules.d.ts +4 -0
  24. package/resources/agents/schedules.d.ts.map +1 -1
  25. package/resources/agents/variations.d.mts +4 -0
  26. package/resources/agents/variations.d.mts.map +1 -1
  27. package/resources/agents/variations.d.ts +4 -0
  28. package/resources/agents/variations.d.ts.map +1 -1
  29. package/resources/api-keys.d.mts +4 -0
  30. package/resources/api-keys.d.mts.map +1 -1
  31. package/resources/api-keys.d.ts +4 -0
  32. package/resources/api-keys.d.ts.map +1 -1
  33. package/resources/bulk-workspace-resources/bulk-workspace-resources.d.mts +287 -0
  34. package/resources/bulk-workspace-resources/bulk-workspace-resources.d.mts.map +1 -0
  35. package/resources/bulk-workspace-resources/bulk-workspace-resources.d.ts +287 -0
  36. package/resources/bulk-workspace-resources/bulk-workspace-resources.d.ts.map +1 -0
  37. package/resources/bulk-workspace-resources/bulk-workspace-resources.js +51 -0
  38. package/resources/bulk-workspace-resources/bulk-workspace-resources.js.map +1 -0
  39. package/resources/bulk-workspace-resources/bulk-workspace-resources.mjs +46 -0
  40. package/resources/bulk-workspace-resources/bulk-workspace-resources.mjs.map +1 -0
  41. package/resources/bulk-workspace-resources/index.d.mts +3 -0
  42. package/resources/bulk-workspace-resources/index.d.mts.map +1 -0
  43. package/resources/bulk-workspace-resources/index.d.ts +3 -0
  44. package/resources/bulk-workspace-resources/index.d.ts.map +1 -0
  45. package/resources/bulk-workspace-resources/index.js +9 -0
  46. package/resources/bulk-workspace-resources/index.js.map +1 -0
  47. package/resources/bulk-workspace-resources/index.mjs +4 -0
  48. package/resources/bulk-workspace-resources/index.mjs.map +1 -0
  49. package/resources/bulk-workspace-resources/results.d.mts +638 -0
  50. package/resources/bulk-workspace-resources/results.d.mts.map +1 -0
  51. package/resources/bulk-workspace-resources/results.d.ts +638 -0
  52. package/resources/bulk-workspace-resources/results.d.ts.map +1 -0
  53. package/resources/bulk-workspace-resources/results.js +27 -0
  54. package/resources/bulk-workspace-resources/results.js.map +1 -0
  55. package/resources/bulk-workspace-resources/results.mjs +23 -0
  56. package/resources/bulk-workspace-resources/results.mjs.map +1 -0
  57. package/resources/bulk-workspace-resources.d.mts +2 -0
  58. package/resources/bulk-workspace-resources.d.mts.map +1 -0
  59. package/resources/bulk-workspace-resources.d.ts +2 -0
  60. package/resources/bulk-workspace-resources.d.ts.map +1 -0
  61. package/resources/bulk-workspace-resources.js +6 -0
  62. package/resources/bulk-workspace-resources.js.map +1 -0
  63. package/resources/bulk-workspace-resources.mjs +3 -0
  64. package/resources/bulk-workspace-resources.mjs.map +1 -0
  65. package/resources/index.d.mts +1 -0
  66. package/resources/index.d.mts.map +1 -1
  67. package/resources/index.d.ts +1 -0
  68. package/resources/index.d.ts.map +1 -1
  69. package/resources/index.js +3 -1
  70. package/resources/index.js.map +1 -1
  71. package/resources/index.mjs +1 -0
  72. package/resources/index.mjs.map +1 -1
  73. package/resources/memory-layers/entries.d.mts +4 -0
  74. package/resources/memory-layers/entries.d.mts.map +1 -1
  75. package/resources/memory-layers/entries.d.ts +4 -0
  76. package/resources/memory-layers/entries.d.ts.map +1 -1
  77. package/resources/memory-layers/memory-layers.d.mts +4 -0
  78. package/resources/memory-layers/memory-layers.d.mts.map +1 -1
  79. package/resources/memory-layers/memory-layers.d.ts +4 -0
  80. package/resources/memory-layers/memory-layers.d.ts.map +1 -1
  81. package/resources/memory-layers/memory-layers.js.map +1 -1
  82. package/resources/memory-layers/memory-layers.mjs.map +1 -1
  83. package/resources/models.d.mts +4 -0
  84. package/resources/models.d.mts.map +1 -1
  85. package/resources/models.d.ts +4 -0
  86. package/resources/models.d.ts.map +1 -1
  87. package/resources/shared.d.mts +15 -0
  88. package/resources/shared.d.mts.map +1 -1
  89. package/resources/shared.d.ts +15 -0
  90. package/resources/shared.d.ts.map +1 -1
  91. package/resources/tool-sets/tool-sets.d.mts +4 -0
  92. package/resources/tool-sets/tool-sets.d.mts.map +1 -1
  93. package/resources/tool-sets/tool-sets.d.ts +4 -0
  94. package/resources/tool-sets/tool-sets.d.ts.map +1 -1
  95. package/resources/tool-sets/tool-sets.js.map +1 -1
  96. package/resources/tool-sets/tool-sets.mjs.map +1 -1
  97. package/resources/tool-sets/tools.d.mts +4 -0
  98. package/resources/tool-sets/tools.d.mts.map +1 -1
  99. package/resources/tool-sets/tools.d.ts +4 -0
  100. package/resources/tool-sets/tools.d.ts.map +1 -1
  101. package/resources/workspace-secrets.d.mts +4 -0
  102. package/resources/workspace-secrets.d.mts.map +1 -1
  103. package/resources/workspace-secrets.d.ts +4 -0
  104. package/resources/workspace-secrets.d.ts.map +1 -1
  105. package/src/client.ts +51 -0
  106. package/src/internal/types.ts +6 -8
  107. package/src/resources/agents/agents.ts +5 -0
  108. package/src/resources/agents/schedules.ts +5 -0
  109. package/src/resources/agents/variations.ts +5 -0
  110. package/src/resources/api-keys.ts +5 -0
  111. package/src/resources/bulk-workspace-resources/bulk-workspace-resources.ts +408 -0
  112. package/src/resources/bulk-workspace-resources/index.ts +37 -0
  113. package/src/resources/bulk-workspace-resources/results.ts +821 -0
  114. package/src/resources/bulk-workspace-resources.ts +3 -0
  115. package/src/resources/index.ts +19 -0
  116. package/src/resources/memory-layers/entries.ts +5 -0
  117. package/src/resources/memory-layers/memory-layers.ts +5 -0
  118. package/src/resources/models.ts +5 -0
  119. package/src/resources/shared.ts +18 -0
  120. package/src/resources/tool-sets/tool-sets.ts +5 -0
  121. package/src/resources/tool-sets/tools.ts +5 -0
  122. package/src/resources/workspace-secrets.ts +5 -0
  123. package/src/version.ts +1 -1
  124. package/version.d.mts +1 -1
  125. package/version.d.ts +1 -1
  126. package/version.js +1 -1
  127. package/version.mjs +1 -1
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './bulk-workspace-resources/index';
@@ -30,6 +30,25 @@ export {
30
30
  type AgentListParams,
31
31
  type AgentsCursorPagination,
32
32
  } from './agents/agents';
33
+ export {
34
+ BulkWorkspaceResources,
35
+ type AgentEntry,
36
+ type AgentScheduleEntry,
37
+ type AgentVariationEntry,
38
+ type BulkWorkspaceApply,
39
+ type BulkWorkspaceApplyData,
40
+ type BulkWorkspaceApplyInfo,
41
+ type BulkWorkspaceApplyStatus,
42
+ type MemoryEntryItem,
43
+ type MemoryLayerEntry,
44
+ type ToolEntry,
45
+ type ToolSetEntry,
46
+ type VariationAssignmentEntry,
47
+ type VariationMemoryLayerEntry,
48
+ type BulkWorkspaceResourceListParams,
49
+ type BulkWorkspaceResourceApplyParams,
50
+ type BulkWorkspaceAppliesCursorPagination,
51
+ } from './bulk-workspace-resources/bulk-workspace-resources';
33
52
  export {
34
53
  MemoryLayers,
35
54
  type MemoryLayer,
@@ -281,6 +281,11 @@ export interface EntryUpdateParams {
281
281
  }
282
282
 
283
283
  export interface EntryListParams extends CursorPaginationParams {
284
+ /**
285
+ * Filter by bundle_key — return only resources owned by this bundle.
286
+ */
287
+ bundleKey?: string;
288
+
284
289
  /**
285
290
  * When set to true you may use more of your alloted API rate-limit
286
291
  */
@@ -172,6 +172,11 @@ export interface MemoryLayerUpdateParams {
172
172
  }
173
173
 
174
174
  export interface MemoryLayerListParams extends CursorPaginationParams {
175
+ /**
176
+ * Filter by bundle_key — return only resources owned by this bundle.
177
+ */
178
+ bundleKey?: string;
179
+
175
180
  /**
176
181
  * When set to true you may use more of your alloted API rate-limit
177
182
  */
@@ -94,6 +94,11 @@ export interface ModelSpec {
94
94
  }
95
95
 
96
96
  export interface ModelListParams extends CursorPaginationParams {
97
+ /**
98
+ * Filter by bundle_key — return only resources owned by this bundle.
99
+ */
100
+ bundleKey?: string;
101
+
97
102
  /**
98
103
  * Filter by name prefix
99
104
  */
@@ -84,6 +84,11 @@ export interface CreateResourceMetadata {
84
84
  */
85
85
  name: string;
86
86
 
87
+ /**
88
+ * Optional bundle ownership key. See ResourceMetadata.bundle_key.
89
+ */
90
+ bundleKey?: string;
91
+
87
92
  /**
88
93
  * External ID for the resource (e.g., a workflow ID from an external system)
89
94
  */
@@ -174,6 +179,14 @@ export interface ResourceMetadata {
174
179
  */
175
180
  workspaceId: string;
176
181
 
182
+ /**
183
+ * Optional bundle ownership key. When set, indicates the resource is managed by a
184
+ * configuration bundle identified by this key. Used by
185
+ * BulkWorkspaceResources.Apply to track which resources belong to which bundle for
186
+ * reconciliation / soft-delete on re-apply.
187
+ */
188
+ bundleKey?: string;
189
+
177
190
  /**
178
191
  * External ID for the resource (e.g., a workflow ID from an external system)
179
192
  */
@@ -198,6 +211,11 @@ export interface UpdateResourceMetadata {
198
211
  */
199
212
  name: string;
200
213
 
214
+ /**
215
+ * Optional bundle ownership key. See ResourceMetadata.bundle_key.
216
+ */
217
+ bundleKey?: string;
218
+
201
219
  /**
202
220
  * External ID for the resource (e.g., a workflow ID from an external system)
203
221
  */
@@ -360,6 +360,11 @@ export interface ToolSetUpdateParams {
360
360
  }
361
361
 
362
362
  export interface ToolSetListParams extends CursorPaginationParams {
363
+ /**
364
+ * Filter by bundle_key — return only resources owned by this bundle.
365
+ */
366
+ bundleKey?: string;
367
+
363
368
  /**
364
369
  * When set to true you may use more of your alloted API rate-limit
365
370
  */
@@ -207,6 +207,11 @@ export interface ToolUpdateParams {
207
207
  }
208
208
 
209
209
  export interface ToolListParams extends CursorPaginationParams {
210
+ /**
211
+ * Filter by bundle_key — return only resources owned by this bundle.
212
+ */
213
+ bundleKey?: string;
214
+
210
215
  /**
211
216
  * When set to true you may use more of your alloted API rate-limit
212
217
  */
@@ -118,6 +118,11 @@ export interface WorkspaceSecretUpdateParams {
118
118
  }
119
119
 
120
120
  export interface WorkspaceSecretListParams extends CursorPaginationParams {
121
+ /**
122
+ * Filter by bundle_key — return only resources owned by this bundle.
123
+ */
124
+ bundleKey?: string;
125
+
121
126
  /**
122
127
  * When set to true you may use more of your alloted API rate-limit
123
128
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.62.0'; // x-release-please-version
1
+ export const VERSION = '0.64.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.62.0";
1
+ export declare const VERSION = "0.64.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.62.0";
1
+ export declare const VERSION = "0.64.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.62.0'; // x-release-please-version
4
+ exports.VERSION = '0.64.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.62.0'; // x-release-please-version
1
+ export const VERSION = '0.64.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map