@naturali/sdk 0.261.0 → 0.262.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 +25 -1
- package/dist/index.d.mts +25 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -4428,6 +4428,10 @@ type AiProviderResourceProperties = {
|
|
|
4428
4428
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
4429
4429
|
*/
|
|
4430
4430
|
model_aliases_only?: boolean;
|
|
4431
|
+
/**
|
|
4432
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
4433
|
+
*/
|
|
4434
|
+
require_priced_model?: boolean;
|
|
4431
4435
|
};
|
|
4432
4436
|
/**
|
|
4433
4437
|
* Defines a tool (HTTP endpoint, MCP server, the runtime action, or pipeline) that agents can invoke during a generation.
|
|
@@ -13197,6 +13201,10 @@ type ListAiProvidersResponses = {
|
|
|
13197
13201
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13198
13202
|
*/
|
|
13199
13203
|
model_aliases_only?: boolean;
|
|
13204
|
+
/**
|
|
13205
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13206
|
+
*/
|
|
13207
|
+
require_priced_model?: boolean;
|
|
13200
13208
|
project_id?: string;
|
|
13201
13209
|
created_at?: Date;
|
|
13202
13210
|
updated_at?: Date;
|
|
@@ -13242,6 +13250,10 @@ type CreateAiProviderData = {
|
|
|
13242
13250
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13243
13251
|
*/
|
|
13244
13252
|
model_aliases_only?: boolean;
|
|
13253
|
+
/**
|
|
13254
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13255
|
+
*/
|
|
13256
|
+
require_priced_model?: boolean;
|
|
13245
13257
|
};
|
|
13246
13258
|
path: {
|
|
13247
13259
|
/**
|
|
@@ -13310,6 +13322,10 @@ type CreateAiProviderResponses = {
|
|
|
13310
13322
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13311
13323
|
*/
|
|
13312
13324
|
model_aliases_only?: boolean;
|
|
13325
|
+
/**
|
|
13326
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13327
|
+
*/
|
|
13328
|
+
require_priced_model?: boolean;
|
|
13313
13329
|
project_id?: string;
|
|
13314
13330
|
created_at?: Date;
|
|
13315
13331
|
updated_at?: Date;
|
|
@@ -13454,6 +13470,10 @@ type GetAiProviderResponses = {
|
|
|
13454
13470
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13455
13471
|
*/
|
|
13456
13472
|
model_aliases_only?: boolean;
|
|
13473
|
+
/**
|
|
13474
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13475
|
+
*/
|
|
13476
|
+
require_priced_model?: boolean;
|
|
13457
13477
|
created_at?: Date;
|
|
13458
13478
|
updated_at?: Date;
|
|
13459
13479
|
};
|
|
@@ -13485,6 +13505,10 @@ type UpdateAiProviderData = {
|
|
|
13485
13505
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13486
13506
|
*/
|
|
13487
13507
|
model_aliases_only?: boolean;
|
|
13508
|
+
/**
|
|
13509
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13510
|
+
*/
|
|
13511
|
+
require_priced_model?: boolean;
|
|
13488
13512
|
};
|
|
13489
13513
|
path: {
|
|
13490
13514
|
/**
|
|
@@ -34321,7 +34345,7 @@ type CallToolErrors = {
|
|
|
34321
34345
|
*/
|
|
34322
34346
|
500: ErrorResponse;
|
|
34323
34347
|
/**
|
|
34324
|
-
* Upstream tool target error (TOOL_HTTP_ERROR). Returned when an `http`-type tool's target responds with a non-2xx status. The error `meta` carries the real upstream `tool_status_code`, `tool_response_body`, `tool_url`, and `tool_method`. A target that never answers (`http` or `mcp`) is `TOOL_UNREACHABLE`, its message naming the network failure and its `meta` the `tool_url` and `tool_method`.
|
|
34348
|
+
* Upstream tool target error (TOOL_HTTP_ERROR). Returned when an `http`-type tool's target responds with a non-2xx status. The error `meta` carries the real upstream `tool_status_code`, `tool_response_body`, `tool_url`, and `tool_method`. For a `builtin` action the message is `Builtin action '<action>' failed: HTTP <status> <code>: <message>`, and `meta` carries `tool_status_code`, `tool_action`, `tool_method` and `tool_error`, the action's error object. A target that never answers (`http` or `mcp`) is `TOOL_UNREACHABLE`, its message naming the network failure and its `meta` the `tool_url` and `tool_method`.
|
|
34325
34349
|
*
|
|
34326
34350
|
*/
|
|
34327
34351
|
502: ErrorResponse;
|
package/dist/index.d.mts
CHANGED
|
@@ -4428,6 +4428,10 @@ type AiProviderResourceProperties = {
|
|
|
4428
4428
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
4429
4429
|
*/
|
|
4430
4430
|
model_aliases_only?: boolean;
|
|
4431
|
+
/**
|
|
4432
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
4433
|
+
*/
|
|
4434
|
+
require_priced_model?: boolean;
|
|
4431
4435
|
};
|
|
4432
4436
|
/**
|
|
4433
4437
|
* Defines a tool (HTTP endpoint, MCP server, the runtime action, or pipeline) that agents can invoke during a generation.
|
|
@@ -13197,6 +13201,10 @@ type ListAiProvidersResponses = {
|
|
|
13197
13201
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13198
13202
|
*/
|
|
13199
13203
|
model_aliases_only?: boolean;
|
|
13204
|
+
/**
|
|
13205
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13206
|
+
*/
|
|
13207
|
+
require_priced_model?: boolean;
|
|
13200
13208
|
project_id?: string;
|
|
13201
13209
|
created_at?: Date;
|
|
13202
13210
|
updated_at?: Date;
|
|
@@ -13242,6 +13250,10 @@ type CreateAiProviderData = {
|
|
|
13242
13250
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13243
13251
|
*/
|
|
13244
13252
|
model_aliases_only?: boolean;
|
|
13253
|
+
/**
|
|
13254
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13255
|
+
*/
|
|
13256
|
+
require_priced_model?: boolean;
|
|
13245
13257
|
};
|
|
13246
13258
|
path: {
|
|
13247
13259
|
/**
|
|
@@ -13310,6 +13322,10 @@ type CreateAiProviderResponses = {
|
|
|
13310
13322
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13311
13323
|
*/
|
|
13312
13324
|
model_aliases_only?: boolean;
|
|
13325
|
+
/**
|
|
13326
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13327
|
+
*/
|
|
13328
|
+
require_priced_model?: boolean;
|
|
13313
13329
|
project_id?: string;
|
|
13314
13330
|
created_at?: Date;
|
|
13315
13331
|
updated_at?: Date;
|
|
@@ -13454,6 +13470,10 @@ type GetAiProviderResponses = {
|
|
|
13454
13470
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13455
13471
|
*/
|
|
13456
13472
|
model_aliases_only?: boolean;
|
|
13473
|
+
/**
|
|
13474
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13475
|
+
*/
|
|
13476
|
+
require_priced_model?: boolean;
|
|
13457
13477
|
created_at?: Date;
|
|
13458
13478
|
updated_at?: Date;
|
|
13459
13479
|
};
|
|
@@ -13485,6 +13505,10 @@ type UpdateAiProviderData = {
|
|
|
13485
13505
|
* When `true`, a model that is not one of `model_aliases` is refused with `MODEL_NOT_OFFERED` (400).
|
|
13486
13506
|
*/
|
|
13487
13507
|
model_aliases_only?: boolean;
|
|
13508
|
+
/**
|
|
13509
|
+
* When `true`, a generation on this provider whose model no price-book row covers is refused with `MODEL_NOT_PRICED` (409) before the provider is called, as the project's `require_priced_model` does for every provider of the project.
|
|
13510
|
+
*/
|
|
13511
|
+
require_priced_model?: boolean;
|
|
13488
13512
|
};
|
|
13489
13513
|
path: {
|
|
13490
13514
|
/**
|
|
@@ -34321,7 +34345,7 @@ type CallToolErrors = {
|
|
|
34321
34345
|
*/
|
|
34322
34346
|
500: ErrorResponse;
|
|
34323
34347
|
/**
|
|
34324
|
-
* Upstream tool target error (TOOL_HTTP_ERROR). Returned when an `http`-type tool's target responds with a non-2xx status. The error `meta` carries the real upstream `tool_status_code`, `tool_response_body`, `tool_url`, and `tool_method`. A target that never answers (`http` or `mcp`) is `TOOL_UNREACHABLE`, its message naming the network failure and its `meta` the `tool_url` and `tool_method`.
|
|
34348
|
+
* Upstream tool target error (TOOL_HTTP_ERROR). Returned when an `http`-type tool's target responds with a non-2xx status. The error `meta` carries the real upstream `tool_status_code`, `tool_response_body`, `tool_url`, and `tool_method`. For a `builtin` action the message is `Builtin action '<action>' failed: HTTP <status> <code>: <message>`, and `meta` carries `tool_status_code`, `tool_action`, `tool_method` and `tool_error`, the action's error object. A target that never answers (`http` or `mcp`) is `TOOL_UNREACHABLE`, its message naming the network failure and its `meta` the `tool_url` and `tool_method`.
|
|
34325
34349
|
*
|
|
34326
34350
|
*/
|
|
34327
34351
|
502: ErrorResponse;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.262.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.
|
|
41
|
+
"@naturali/api": "0.262.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|