@naturali/sdk 0.227.0 → 0.228.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.d.cts CHANGED
@@ -5212,7 +5212,7 @@ type PlaybookResourceProperties = {
5212
5212
  };
5213
5213
  type ResourceDeclaration = {
5214
5214
  /**
5215
- * Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `decider`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory_store`, `memory`, `memory_rule`, `metadata_schema`, `model_route`, `eval`, `orchestration`, `playbook`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus four naturali registers itself and handles through its own lifecycle: `channel`, `mcp_server`, `naturali_ai_provider` and `webhook` (naturali's own webhook rather than the runtime's). Each type's properties are its `<Type>ResourceProperties` schema in this document; a write-only property is never stored with the resource or read back. A `tool` may also be `type: naturali`, with `name`, the `actions` it may run and an optional `description`, as the tools API takes it. 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` and `project_price` types, which this API does not expose.
5215
+ * Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `decider`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory_store`, `memory`, `memory_rule`, `metadata_schema`, `model_route`, `eval`, `orchestration`, `playbook`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus four naturali registers itself and handles through its own lifecycle: `channel`, `mcp_server`, `naturali_ai_provider` and `webhook` (naturali's own webhook rather than the runtime's). Each type's properties are its `<Type>ResourceProperties` schema in this document; a write-only property is never stored with the resource or read back. A `tool` may also be `type: naturali`, with `name`, the `actions` it may run and an optional `description`, as the tools API takes it. 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`, `collection`, `policy` and `project_price` types, which this API does not expose.
5216
5216
  *
5217
5217
  * 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.
5218
5218
  *
package/dist/index.d.mts CHANGED
@@ -5212,7 +5212,7 @@ type PlaybookResourceProperties = {
5212
5212
  };
5213
5213
  type ResourceDeclaration = {
5214
5214
  /**
5215
- * Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `decider`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory_store`, `memory`, `memory_rule`, `metadata_schema`, `model_route`, `eval`, `orchestration`, `playbook`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus four naturali registers itself and handles through its own lifecycle: `channel`, `mcp_server`, `naturali_ai_provider` and `webhook` (naturali's own webhook rather than the runtime's). Each type's properties are its `<Type>ResourceProperties` schema in this document; a write-only property is never stored with the resource or read back. A `tool` may also be `type: naturali`, with `name`, the `actions` it may run and an optional `description`, as the tools API takes it. 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` and `project_price` types, which this API does not expose.
5215
+ * Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `decider`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory_store`, `memory`, `memory_rule`, `metadata_schema`, `model_route`, `eval`, `orchestration`, `playbook`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus four naturali registers itself and handles through its own lifecycle: `channel`, `mcp_server`, `naturali_ai_provider` and `webhook` (naturali's own webhook rather than the runtime's). Each type's properties are its `<Type>ResourceProperties` schema in this document; a write-only property is never stored with the resource or read back. A `tool` may also be `type: naturali`, with `name`, the `actions` it may run and an optional `description`, as the tools API takes it. 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`, `collection`, `policy` and `project_price` types, which this API does not expose.
5216
5216
  *
5217
5217
  * 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.
5218
5218
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.227.0",
3
+ "version": "0.228.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.227.0",
41
+ "@naturali/api": "0.228.0",
42
42
  "@ttoss/openapi-codegen": "^0.10.0",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",