@naturali/sdk 0.170.1 → 0.170.3
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 +21 -3
- package/dist/index.d.mts +21 -3
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -561,7 +561,7 @@ type AdminUser = User & {
|
|
|
561
561
|
*/
|
|
562
562
|
earned_balance_usd: number;
|
|
563
563
|
/**
|
|
564
|
-
* What may fund a marketplace fee: purchased credit plus earnings, less fees paid. Included and granted credit never fund a fee, so a call to a priced installed tool or agent is refused with `402 insufficient_credit` while this is not positive.
|
|
564
|
+
* What may fund a marketplace fee: purchased credit plus earnings, less the usage included and granted credit did not cover and the fees paid. Included and granted credit never fund a fee, so a call to a priced installed tool or agent is refused with `402 insufficient_credit` while this is not positive.
|
|
565
565
|
*/
|
|
566
566
|
paid_balance_usd: number;
|
|
567
567
|
/**
|
|
@@ -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
|
|
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.
|
|
@@ -8312,7 +8330,7 @@ type UserBilling = {
|
|
|
8312
8330
|
*/
|
|
8313
8331
|
earned_balance_usd: number;
|
|
8314
8332
|
/**
|
|
8315
|
-
* What may fund a marketplace fee: purchased credit plus earnings, less fees paid. Included and granted credit never fund a fee, so a call to a priced installed tool or agent is refused with `402 insufficient_credit` while this is not positive.
|
|
8333
|
+
* What may fund a marketplace fee: purchased credit plus earnings, less the usage included and granted credit did not cover and the fees paid. Included and granted credit never fund a fee, so a call to a priced installed tool or agent is refused with `402 insufficient_credit` while this is not positive.
|
|
8316
8334
|
*/
|
|
8317
8335
|
paid_balance_usd: number;
|
|
8318
8336
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -561,7 +561,7 @@ type AdminUser = User & {
|
|
|
561
561
|
*/
|
|
562
562
|
earned_balance_usd: number;
|
|
563
563
|
/**
|
|
564
|
-
* What may fund a marketplace fee: purchased credit plus earnings, less fees paid. Included and granted credit never fund a fee, so a call to a priced installed tool or agent is refused with `402 insufficient_credit` while this is not positive.
|
|
564
|
+
* What may fund a marketplace fee: purchased credit plus earnings, less the usage included and granted credit did not cover and the fees paid. Included and granted credit never fund a fee, so a call to a priced installed tool or agent is refused with `402 insufficient_credit` while this is not positive.
|
|
565
565
|
*/
|
|
566
566
|
paid_balance_usd: number;
|
|
567
567
|
/**
|
|
@@ -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
|
|
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.
|
|
@@ -8312,7 +8330,7 @@ type UserBilling = {
|
|
|
8312
8330
|
*/
|
|
8313
8331
|
earned_balance_usd: number;
|
|
8314
8332
|
/**
|
|
8315
|
-
* What may fund a marketplace fee: purchased credit plus earnings, less fees paid. Included and granted credit never fund a fee, so a call to a priced installed tool or agent is refused with `402 insufficient_credit` while this is not positive.
|
|
8333
|
+
* What may fund a marketplace fee: purchased credit plus earnings, less the usage included and granted credit did not cover and the fees paid. Included and granted credit never fund a fee, so a call to a priced installed tool or agent is refused with `402 insufficient_credit` while this is not positive.
|
|
8316
8334
|
*/
|
|
8317
8335
|
paid_balance_usd: number;
|
|
8318
8336
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.170.
|
|
3
|
+
"version": "0.170.3",
|
|
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.
|
|
34
|
+
"@naturali/api": "0.170.3",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.5.0",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|