@naturali/sdk 0.170.2 → 0.170.4

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.
package/dist/index.d.cts CHANGED
@@ -6423,7 +6423,7 @@ type OrchestrationEdge = {
6423
6423
  */
6424
6424
  activation_group?: string;
6425
6425
  /**
6426
- * Whether all or any edges in the activation group must fire.
6426
+ * Whether all or any edges in the activation group must come from a completed node before the target runs. Omitted, `all`.
6427
6427
  */
6428
6428
  activation_condition?: 'all' | 'any';
6429
6429
  };
@@ -6479,7 +6479,13 @@ type CreateOrchestrationRequest = {
6479
6479
  */
6480
6480
  name: string;
6481
6481
  description?: string | null;
6482
+ /**
6483
+ * The graph's nodes. Each `id` is unique and is what edges and `nodes.<id>` state references name; a node with no incoming edge starts the run.
6484
+ */
6482
6485
  nodes: Array<OrchestrationNode>;
6486
+ /**
6487
+ * Directed edges between node `id`s. Every `from`/`to` must name a node in `nodes`, and the graph must be acyclic unless it contains a `loop` node. A node with several outgoing edges activates every target in parallel. `[]` for a graph of independent nodes.
6488
+ */
6483
6489
  edges: Array<OrchestrationEdge>;
6484
6490
  state_schema?: {
6485
6491
  [key: string]: unknown;
@@ -6496,7 +6502,13 @@ type CreateOrchestrationRequest = {
6496
6502
  type UpdateOrchestrationRequest = {
6497
6503
  name?: string;
6498
6504
  description?: string | null;
6505
+ /**
6506
+ * The graph's nodes. Each `id` is unique and is what edges and `nodes.<id>` state references name; a node with no incoming edge starts the run. Replaces the stored list; omitted, the stored nodes are kept and validated against the new `edges`.
6507
+ */
6499
6508
  nodes?: Array<OrchestrationNode>;
6509
+ /**
6510
+ * Directed edges between node `id`s. Every `from`/`to` must name a node in `nodes`, and the graph must be acyclic unless it contains a `loop` node. A node with several outgoing edges activates every target in parallel. Replaces the stored list; omitted, the stored edges are kept and validated against the new `nodes`.
6511
+ */
6500
6512
  edges?: Array<OrchestrationEdge>;
6501
6513
  state_schema?: {
6502
6514
  [key: string]: unknown;
@@ -6817,7 +6829,13 @@ type StartOrchestrationRunRequest = {
6817
6829
  wait?: boolean;
6818
6830
  };
6819
6831
  type ValidateOrchestrationRequest = {
6832
+ /**
6833
+ * The graph's nodes. Each `id` is unique and is what edges and `nodes.<id>` state references name; a node with no incoming edge starts the run. Checked exactly as create checks them, without persisting.
6834
+ */
6820
6835
  nodes?: Array<OrchestrationNode>;
6836
+ /**
6837
+ * Directed edges between node `id`s. Every `from`/`to` must name a node in `nodes`, and the graph must be acyclic unless it contains a `loop` node. A node with several outgoing edges activates every target in parallel. Checked exactly as create checks them, without persisting.
6838
+ */
6821
6839
  edges?: Array<OrchestrationEdge>;
6822
6840
  /**
6823
6841
  * Optional JSON Schema for run inputs; its top-level properties seed state.
package/dist/index.d.mts CHANGED
@@ -6423,7 +6423,7 @@ type OrchestrationEdge = {
6423
6423
  */
6424
6424
  activation_group?: string;
6425
6425
  /**
6426
- * Whether all or any edges in the activation group must fire.
6426
+ * Whether all or any edges in the activation group must come from a completed node before the target runs. Omitted, `all`.
6427
6427
  */
6428
6428
  activation_condition?: 'all' | 'any';
6429
6429
  };
@@ -6479,7 +6479,13 @@ type CreateOrchestrationRequest = {
6479
6479
  */
6480
6480
  name: string;
6481
6481
  description?: string | null;
6482
+ /**
6483
+ * The graph's nodes. Each `id` is unique and is what edges and `nodes.<id>` state references name; a node with no incoming edge starts the run.
6484
+ */
6482
6485
  nodes: Array<OrchestrationNode>;
6486
+ /**
6487
+ * Directed edges between node `id`s. Every `from`/`to` must name a node in `nodes`, and the graph must be acyclic unless it contains a `loop` node. A node with several outgoing edges activates every target in parallel. `[]` for a graph of independent nodes.
6488
+ */
6483
6489
  edges: Array<OrchestrationEdge>;
6484
6490
  state_schema?: {
6485
6491
  [key: string]: unknown;
@@ -6496,7 +6502,13 @@ type CreateOrchestrationRequest = {
6496
6502
  type UpdateOrchestrationRequest = {
6497
6503
  name?: string;
6498
6504
  description?: string | null;
6505
+ /**
6506
+ * The graph's nodes. Each `id` is unique and is what edges and `nodes.<id>` state references name; a node with no incoming edge starts the run. Replaces the stored list; omitted, the stored nodes are kept and validated against the new `edges`.
6507
+ */
6499
6508
  nodes?: Array<OrchestrationNode>;
6509
+ /**
6510
+ * Directed edges between node `id`s. Every `from`/`to` must name a node in `nodes`, and the graph must be acyclic unless it contains a `loop` node. A node with several outgoing edges activates every target in parallel. Replaces the stored list; omitted, the stored edges are kept and validated against the new `nodes`.
6511
+ */
6500
6512
  edges?: Array<OrchestrationEdge>;
6501
6513
  state_schema?: {
6502
6514
  [key: string]: unknown;
@@ -6817,7 +6829,13 @@ type StartOrchestrationRunRequest = {
6817
6829
  wait?: boolean;
6818
6830
  };
6819
6831
  type ValidateOrchestrationRequest = {
6832
+ /**
6833
+ * The graph's nodes. Each `id` is unique and is what edges and `nodes.<id>` state references name; a node with no incoming edge starts the run. Checked exactly as create checks them, without persisting.
6834
+ */
6820
6835
  nodes?: Array<OrchestrationNode>;
6836
+ /**
6837
+ * Directed edges between node `id`s. Every `from`/`to` must name a node in `nodes`, and the graph must be acyclic unless it contains a `loop` node. A node with several outgoing edges activates every target in parallel. Checked exactly as create checks them, without persisting.
6838
+ */
6821
6839
  edges?: Array<OrchestrationEdge>;
6822
6840
  /**
6823
6841
  * Optional JSON Schema for run inputs; its top-level properties seed state.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.170.2",
3
+ "version": "0.170.4",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "devDependencies": {
33
33
  "@hey-api/openapi-ts": "^0.99.0",
34
- "@naturali/api": "0.170.2",
34
+ "@naturali/api": "0.170.4",
35
35
  "@ttoss/openapi-codegen": "^0.5.0",
36
36
  "@types/node": "^26.5.1",
37
37
  "tsdown": "^0.23.0",