@naturali/sdk 0.312.0 → 0.313.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.
package/dist/index.cjs CHANGED
@@ -5206,7 +5206,7 @@ var Playbooks = class {
5206
5206
  /**
5207
5207
  * Create a case
5208
5208
  *
5209
- * Creates a case for one subject on the playbook's current version. The case stays on that version however the playbook changes later. A playbook that declares `upstreams` needs each bound to a case of the declared playbook, in the same project, of the same `actor_id`, that the caller may read (`playbooks:GetPlaybookCase`); anything else is `400 PLAYBOOK_CASE_UPSTREAM_INVALID`. The binding is fixed for the life of the case.
5209
+ * Creates a case for one subject on the playbook's current version. The case stays on that version however the playbook changes later. A playbook that declares `upstreams` needs each bound to a case of the declared playbook, in the same project, of the same `actor_id`, that the caller may read (`playbooks:GetPlaybookCase`); anything else is `400 PLAYBOOK_CASE_UPSTREAM_INVALID`. The binding is fixed for the life of the case. A request serving an actor (a session turn of the actor, an `On-Behalf-Of` assertion naming it) creates only that actor's cases: an `actor_id` absent or naming another actor is `400 PLAYBOOK_CASE_ACTOR_MISMATCH`.
5210
5210
  */
5211
5211
  static createPlaybookCase(options) {
5212
5212
  return (options.client ?? client).post({
package/dist/index.d.cts CHANGED
@@ -31907,7 +31907,7 @@ type ListPlaybookCasesData = {
31907
31907
  */
31908
31908
  playbook_id?: string;
31909
31909
  /**
31910
- * Only the cases that belong to this actor. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent lists the cases of the end user it serves only.
31910
+ * Only the cases that belong to this actor. A request serving an actor lists that actor's cases only, given or not; naming another actor is `400 PLAYBOOK_CASE_ACTOR_MISMATCH`.
31911
31911
  */
31912
31912
  actor_id?: string;
31913
31913
  /**
@@ -42654,7 +42654,7 @@ export declare class Playbooks {
42654
42654
  /**
42655
42655
  * Create a case
42656
42656
  *
42657
- * Creates a case for one subject on the playbook's current version. The case stays on that version however the playbook changes later. A playbook that declares `upstreams` needs each bound to a case of the declared playbook, in the same project, of the same `actor_id`, that the caller may read (`playbooks:GetPlaybookCase`); anything else is `400 PLAYBOOK_CASE_UPSTREAM_INVALID`. The binding is fixed for the life of the case.
42657
+ * Creates a case for one subject on the playbook's current version. The case stays on that version however the playbook changes later. A playbook that declares `upstreams` needs each bound to a case of the declared playbook, in the same project, of the same `actor_id`, that the caller may read (`playbooks:GetPlaybookCase`); anything else is `400 PLAYBOOK_CASE_UPSTREAM_INVALID`. The binding is fixed for the life of the case. A request serving an actor (a session turn of the actor, an `On-Behalf-Of` assertion naming it) creates only that actor's cases: an `actor_id` absent or naming another actor is `400 PLAYBOOK_CASE_ACTOR_MISMATCH`.
42658
42658
  */
42659
42659
  static createPlaybookCase<ThrowOnError extends boolean = false>(options: Options<CreatePlaybookCaseData, ThrowOnError>): RequestResult<CreatePlaybookCaseResponses, CreatePlaybookCaseErrors, ThrowOnError>;
42660
42660
  /**
package/dist/index.d.mts CHANGED
@@ -31907,7 +31907,7 @@ type ListPlaybookCasesData = {
31907
31907
  */
31908
31908
  playbook_id?: string;
31909
31909
  /**
31910
- * Only the cases that belong to this actor. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent lists the cases of the end user it serves only.
31910
+ * Only the cases that belong to this actor. A request serving an actor lists that actor's cases only, given or not; naming another actor is `400 PLAYBOOK_CASE_ACTOR_MISMATCH`.
31911
31911
  */
31912
31912
  actor_id?: string;
31913
31913
  /**
@@ -42654,7 +42654,7 @@ export declare class Playbooks {
42654
42654
  /**
42655
42655
  * Create a case
42656
42656
  *
42657
- * Creates a case for one subject on the playbook's current version. The case stays on that version however the playbook changes later. A playbook that declares `upstreams` needs each bound to a case of the declared playbook, in the same project, of the same `actor_id`, that the caller may read (`playbooks:GetPlaybookCase`); anything else is `400 PLAYBOOK_CASE_UPSTREAM_INVALID`. The binding is fixed for the life of the case.
42657
+ * Creates a case for one subject on the playbook's current version. The case stays on that version however the playbook changes later. A playbook that declares `upstreams` needs each bound to a case of the declared playbook, in the same project, of the same `actor_id`, that the caller may read (`playbooks:GetPlaybookCase`); anything else is `400 PLAYBOOK_CASE_UPSTREAM_INVALID`. The binding is fixed for the life of the case. A request serving an actor (a session turn of the actor, an `On-Behalf-Of` assertion naming it) creates only that actor's cases: an `actor_id` absent or naming another actor is `400 PLAYBOOK_CASE_ACTOR_MISMATCH`.
42658
42658
  */
42659
42659
  static createPlaybookCase<ThrowOnError extends boolean = false>(options: Options<CreatePlaybookCaseData, ThrowOnError>): RequestResult<CreatePlaybookCaseResponses, CreatePlaybookCaseErrors, ThrowOnError>;
42660
42660
  /**
package/dist/index.mjs CHANGED
@@ -5205,7 +5205,7 @@ var Playbooks = class {
5205
5205
  /**
5206
5206
  * Create a case
5207
5207
  *
5208
- * Creates a case for one subject on the playbook's current version. The case stays on that version however the playbook changes later. A playbook that declares `upstreams` needs each bound to a case of the declared playbook, in the same project, of the same `actor_id`, that the caller may read (`playbooks:GetPlaybookCase`); anything else is `400 PLAYBOOK_CASE_UPSTREAM_INVALID`. The binding is fixed for the life of the case.
5208
+ * Creates a case for one subject on the playbook's current version. The case stays on that version however the playbook changes later. A playbook that declares `upstreams` needs each bound to a case of the declared playbook, in the same project, of the same `actor_id`, that the caller may read (`playbooks:GetPlaybookCase`); anything else is `400 PLAYBOOK_CASE_UPSTREAM_INVALID`. The binding is fixed for the life of the case. A request serving an actor (a session turn of the actor, an `On-Behalf-Of` assertion naming it) creates only that actor's cases: an `actor_id` absent or naming another actor is `400 PLAYBOOK_CASE_ACTOR_MISMATCH`.
5209
5209
  */
5210
5210
  static createPlaybookCase(options) {
5211
5211
  return (options.client ?? client).post({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.312.0",
3
+ "version": "0.313.0",
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.312.0",
41
+ "@naturali/api": "0.313.0",
42
42
  "@ttoss/openapi-codegen": "^0.10.1",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",