@naturali/sdk 0.208.4 → 0.208.6

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.cjs CHANGED
@@ -4680,7 +4680,7 @@ var Playbooks = class {
4680
4680
  /**
4681
4681
  * Write a case's inputs
4682
4682
  *
4683
- * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
4683
+ * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or on a project key with the `On-Behalf-Of` of a tool call that work's generation made, or by the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
4684
4684
  */
4685
4685
  static writePlaybookCaseInputs(options) {
4686
4686
  return (options.client ?? client).post({
package/dist/index.d.cts CHANGED
@@ -5433,6 +5433,10 @@ type PlaybookExecutor = {
5433
5433
  * The ID of the agent, tool, decider, workflow or orchestration
5434
5434
  */
5435
5435
  id: string;
5436
+ /**
5437
+ * Only on a `tool` executor: which action of a multi-action (`mcp`) tool to call — the same selector an orchestration `tool` node's `operation_id` is. Required by an `mcp` tool.
5438
+ */
5439
+ operation_id?: string;
5436
5440
  /**
5437
5441
  * JSON Logic over the node's inputs, as an orchestration's `input_mapping`: each key is a field of the executor's input. Absent, the executor receives the node's input values as they are.
5438
5442
  */
@@ -30659,7 +30663,7 @@ export declare class Playbooks {
30659
30663
  /**
30660
30664
  * Write a case's inputs
30661
30665
  *
30662
- * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
30666
+ * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or on a project key with the `On-Behalf-Of` of a tool call that work's generation made, or by the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
30663
30667
  */
30664
30668
  static writePlaybookCaseInputs<ThrowOnError extends boolean = false>(options: Options<WritePlaybookCaseInputsData, ThrowOnError>): RequestResult<WritePlaybookCaseInputsResponses, WritePlaybookCaseInputsErrors, ThrowOnError>;
30665
30669
  /**
package/dist/index.d.mts CHANGED
@@ -5433,6 +5433,10 @@ type PlaybookExecutor = {
5433
5433
  * The ID of the agent, tool, decider, workflow or orchestration
5434
5434
  */
5435
5435
  id: string;
5436
+ /**
5437
+ * Only on a `tool` executor: which action of a multi-action (`mcp`) tool to call — the same selector an orchestration `tool` node's `operation_id` is. Required by an `mcp` tool.
5438
+ */
5439
+ operation_id?: string;
5436
5440
  /**
5437
5441
  * JSON Logic over the node's inputs, as an orchestration's `input_mapping`: each key is a field of the executor's input. Absent, the executor receives the node's input values as they are.
5438
5442
  */
@@ -30659,7 +30663,7 @@ export declare class Playbooks {
30659
30663
  /**
30660
30664
  * Write a case's inputs
30661
30665
  *
30662
- * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
30666
+ * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or on a project key with the `On-Behalf-Of` of a tool call that work's generation made, or by the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
30663
30667
  */
30664
30668
  static writePlaybookCaseInputs<ThrowOnError extends boolean = false>(options: Options<WritePlaybookCaseInputsData, ThrowOnError>): RequestResult<WritePlaybookCaseInputsResponses, WritePlaybookCaseInputsErrors, ThrowOnError>;
30665
30669
  /**
package/dist/index.mjs CHANGED
@@ -4679,7 +4679,7 @@ var Playbooks = class {
4679
4679
  /**
4680
4680
  * Write a case's inputs
4681
4681
  *
4682
- * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
4682
+ * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or on a project key with the `On-Behalf-Of` of a tool call that work's generation made, or by the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
4683
4683
  */
4684
4684
  static writePlaybookCaseInputs(options) {
4685
4685
  return (options.client ?? client).post({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.208.4",
3
+ "version": "0.208.6",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "keywords": [
6
6
  "naturali",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@hey-api/openapi-ts": "^0.99.0",
41
- "@naturali/api": "0.208.4",
41
+ "@naturali/api": "0.208.6",
42
42
  "@ttoss/openapi-codegen": "^0.5.0",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",