@naturali/sdk 0.85.3 → 0.85.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
@@ -2900,7 +2900,7 @@ type ToolResourceProperties = {
2900
2900
  */
2901
2901
  name: string;
2902
2902
  /**
2903
- * Tool type hint (e.g. http, mcp, builtin, pipeline)
2903
+ * Tool type hint (e.g. http, mcp, pipeline)
2904
2904
  */
2905
2905
  type?: string | null;
2906
2906
  /**
@@ -3507,7 +3507,7 @@ type GuardrailResourceProperties = {
3507
3507
  };
3508
3508
  type ResourceDeclaration = {
3509
3509
  /**
3510
- * Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory`, `memory_entry`, `model_route`, `eval`, `orchestration`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus `channel`, which naturali registers itself and handles through its own lifecycle, taking the same property names the channels API takes (its credential properties are write-only, so a tenant credential never lands in the resource ledger). A template naming any other type is refused with `400 unsupported_resource_type` before it reaches the runtime — including the runtime's own `api_key`, `chat`, `policy`, `project_price` and `webhook` types, which this API does not expose.
3510
+ * Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory`, `memory_entry`, `model_route`, `eval`, `orchestration`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus two naturali registers itself and handles through its own lifecycle: `channel`, taking the same property names the channels API takes (its credential properties are write-only, so a tenant credential never lands in the resource ledger), and `naturali_ai_provider`, which takes a `default_model` from the model catalog and provisions a provider running on naturali's own model access (it carries no credential of yours, so it accepts none). A template naming any other type is refused with `400 unsupported_resource_type` before it reaches the runtime — including the runtime's own `api_key`, `chat`, `policy`, `project_price` and `webhook` types, which this API does not expose.
3511
3511
  *
3512
3512
  * This is deliberately not an enum: a deployment operator can register additional resource types backed by their own handler, and those are declared here exactly like a built-in one. The set a given deployment accepts is authoritative in the server, which rejects an unregistered type with `VALIDATION_FAILED` and lists what it does support.
3513
3513
  *
package/dist/index.d.mts CHANGED
@@ -2900,7 +2900,7 @@ type ToolResourceProperties = {
2900
2900
  */
2901
2901
  name: string;
2902
2902
  /**
2903
- * Tool type hint (e.g. http, mcp, builtin, pipeline)
2903
+ * Tool type hint (e.g. http, mcp, pipeline)
2904
2904
  */
2905
2905
  type?: string | null;
2906
2906
  /**
@@ -3507,7 +3507,7 @@ type GuardrailResourceProperties = {
3507
3507
  };
3508
3508
  type ResourceDeclaration = {
3509
3509
  /**
3510
- * Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory`, `memory_entry`, `model_route`, `eval`, `orchestration`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus `channel`, which naturali registers itself and handles through its own lifecycle, taking the same property names the channels API takes (its credential properties are write-only, so a tenant credential never lands in the resource ledger). A template naming any other type is refused with `400 unsupported_resource_type` before it reaches the runtime — including the runtime's own `api_key`, `chat`, `policy`, `project_price` and `webhook` types, which this API does not expose.
3510
+ * Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory`, `memory_entry`, `model_route`, `eval`, `orchestration`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus two naturali registers itself and handles through its own lifecycle: `channel`, taking the same property names the channels API takes (its credential properties are write-only, so a tenant credential never lands in the resource ledger), and `naturali_ai_provider`, which takes a `default_model` from the model catalog and provisions a provider running on naturali's own model access (it carries no credential of yours, so it accepts none). A template naming any other type is refused with `400 unsupported_resource_type` before it reaches the runtime — including the runtime's own `api_key`, `chat`, `policy`, `project_price` and `webhook` types, which this API does not expose.
3511
3511
  *
3512
3512
  * This is deliberately not an enum: a deployment operator can register additional resource types backed by their own handler, and those are declared here exactly like a built-in one. The set a given deployment accepts is authoritative in the server, which rejects an unregistered type with `VALIDATION_FAILED` and lists what it does support.
3513
3513
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.85.3",
3
+ "version": "0.85.4",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -37,7 +37,7 @@
37
37
  "tsx": "^4.23.1",
38
38
  "typescript": "~6.0.3",
39
39
  "vitest": "^4.1.10",
40
- "@naturali/api": "0.85.3"
40
+ "@naturali/api": "0.85.4"
41
41
  },
42
42
  "scripts": {
43
43
  "generate": "tsx scripts/generate.ts",