@naturali/sdk 0.162.3 → 0.164.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
@@ -4155,7 +4155,7 @@ var Projects = class {
4155
4155
  /**
4156
4156
  * Update a project
4157
4157
  *
4158
- * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`) and its project-scope guardrails (`guardrail_ids`). Archiving is reversible; resources are retained.
4158
+ * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`), its project-scope guardrails (`guardrail_ids`) and managed conversion (`managed_conversion`). Archiving is reversible; resources are retained.
4159
4159
  * Requires the `admin` role in the project (an `owner` has it too). These are the terms every member works under, which is why setting them sits above the role that works under them.
4160
4160
  * The ceilings and the priced-model gate are uncapped by plan: each one only ever narrows what the project may spend, so setting one takes on a restriction rather than claiming an entitlement. On the three ceilings `null` clears the project's own bound and omission leaves it alone — they are different instructions.
4161
4161
  * `guardrail_ids` is the floor under every tool call by every agent in the project, including tools added later. The list is replaced wholesale, so send the ids you want to keep; `[]` detaches every one. An id naming no guardrail in the project responds `400` with `guardrail_not_found`, whose `details.missing` lists the ids. It is uncapped by plan, like the ceilings: a guardrail can only tighten what runs.
package/dist/index.d.cts CHANGED
@@ -6608,6 +6608,11 @@ type Project = {
6608
6608
  *
6609
6609
  */
6610
6610
  pause_reason: string | null;
6611
+ /**
6612
+ * Whether scanned PDFs, images and audio are converted to text on ingest with no setup. `true` by default. See [Managed conversion](/docs/modules/documents#managed-conversion).
6613
+ *
6614
+ */
6615
+ managed_conversion: boolean;
6611
6616
  created_at: Date;
6612
6617
  updated_at: Date;
6613
6618
  };
@@ -6727,6 +6732,11 @@ type ProjectUpdate = {
6727
6732
  *
6728
6733
  */
6729
6734
  guardrail_ids?: Array<string>;
6735
+ /**
6736
+ * Turn managed conversion off or back on. Off removes the managed ingestion rules; rules of your own stay.
6737
+ *
6738
+ */
6739
+ managed_conversion?: boolean;
6730
6740
  };
6731
6741
  /**
6732
6742
  * Token counts (input_tokens already includes cached input).
@@ -25480,7 +25490,7 @@ export declare class Projects {
25480
25490
  /**
25481
25491
  * Update a project
25482
25492
  *
25483
- * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`) and its project-scope guardrails (`guardrail_ids`). Archiving is reversible; resources are retained.
25493
+ * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`), its project-scope guardrails (`guardrail_ids`) and managed conversion (`managed_conversion`). Archiving is reversible; resources are retained.
25484
25494
  * Requires the `admin` role in the project (an `owner` has it too). These are the terms every member works under, which is why setting them sits above the role that works under them.
25485
25495
  * The ceilings and the priced-model gate are uncapped by plan: each one only ever narrows what the project may spend, so setting one takes on a restriction rather than claiming an entitlement. On the three ceilings `null` clears the project's own bound and omission leaves it alone — they are different instructions.
25486
25496
  * `guardrail_ids` is the floor under every tool call by every agent in the project, including tools added later. The list is replaced wholesale, so send the ids you want to keep; `[]` detaches every one. An id naming no guardrail in the project responds `400` with `guardrail_not_found`, whose `details.missing` lists the ids. It is uncapped by plan, like the ceilings: a guardrail can only tighten what runs.
package/dist/index.d.mts CHANGED
@@ -6608,6 +6608,11 @@ type Project = {
6608
6608
  *
6609
6609
  */
6610
6610
  pause_reason: string | null;
6611
+ /**
6612
+ * Whether scanned PDFs, images and audio are converted to text on ingest with no setup. `true` by default. See [Managed conversion](/docs/modules/documents#managed-conversion).
6613
+ *
6614
+ */
6615
+ managed_conversion: boolean;
6611
6616
  created_at: Date;
6612
6617
  updated_at: Date;
6613
6618
  };
@@ -6727,6 +6732,11 @@ type ProjectUpdate = {
6727
6732
  *
6728
6733
  */
6729
6734
  guardrail_ids?: Array<string>;
6735
+ /**
6736
+ * Turn managed conversion off or back on. Off removes the managed ingestion rules; rules of your own stay.
6737
+ *
6738
+ */
6739
+ managed_conversion?: boolean;
6730
6740
  };
6731
6741
  /**
6732
6742
  * Token counts (input_tokens already includes cached input).
@@ -25480,7 +25490,7 @@ export declare class Projects {
25480
25490
  /**
25481
25491
  * Update a project
25482
25492
  *
25483
- * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`) and its project-scope guardrails (`guardrail_ids`). Archiving is reversible; resources are retained.
25493
+ * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`), its project-scope guardrails (`guardrail_ids`) and managed conversion (`managed_conversion`). Archiving is reversible; resources are retained.
25484
25494
  * Requires the `admin` role in the project (an `owner` has it too). These are the terms every member works under, which is why setting them sits above the role that works under them.
25485
25495
  * The ceilings and the priced-model gate are uncapped by plan: each one only ever narrows what the project may spend, so setting one takes on a restriction rather than claiming an entitlement. On the three ceilings `null` clears the project's own bound and omission leaves it alone — they are different instructions.
25486
25496
  * `guardrail_ids` is the floor under every tool call by every agent in the project, including tools added later. The list is replaced wholesale, so send the ids you want to keep; `[]` detaches every one. An id naming no guardrail in the project responds `400` with `guardrail_not_found`, whose `details.missing` lists the ids. It is uncapped by plan, like the ceilings: a guardrail can only tighten what runs.
package/dist/index.mjs CHANGED
@@ -4154,7 +4154,7 @@ var Projects = class {
4154
4154
  /**
4155
4155
  * Update a project
4156
4156
  *
4157
- * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`) and its project-scope guardrails (`guardrail_ids`). Archiving is reversible; resources are retained.
4157
+ * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`), its project-scope guardrails (`guardrail_ids`) and managed conversion (`managed_conversion`). Archiving is reversible; resources are retained.
4158
4158
  * Requires the `admin` role in the project (an `owner` has it too). These are the terms every member works under, which is why setting them sits above the role that works under them.
4159
4159
  * The ceilings and the priced-model gate are uncapped by plan: each one only ever narrows what the project may spend, so setting one takes on a restriction rather than claiming an entitlement. On the three ceilings `null` clears the project's own bound and omission leaves it alone — they are different instructions.
4160
4160
  * `guardrail_ids` is the floor under every tool call by every agent in the project, including tools added later. The list is replaced wholesale, so send the ids you want to keep; `[]` detaches every one. An id naming no guardrail in the project responds `400` with `guardrail_not_found`, whose `details.missing` lists the ids. It is uncapped by plan, like the ceilings: a guardrail can only tighten what runs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.162.3",
3
+ "version": "0.164.0",
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.162.3",
34
+ "@naturali/api": "0.164.0",
35
35
  "@ttoss/openapi-codegen": "^0.5.0",
36
36
  "@types/node": "^26.5.1",
37
37
  "tsdown": "^0.23.0",