@naturali/sdk 0.271.0 → 0.272.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 +5 -1
- package/dist/index.d.mts +5 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -396,6 +396,10 @@ type ErrorResponse = {
|
|
|
396
396
|
* Human-readable explanation.
|
|
397
397
|
*/
|
|
398
398
|
message: string;
|
|
399
|
+
/**
|
|
400
|
+
* What to do about it, naming the routes of this API to call. For people and agents; it may change, so branch on `code`.
|
|
401
|
+
*/
|
|
402
|
+
hint: string;
|
|
399
403
|
/**
|
|
400
404
|
* Structured context, such as the `resource` and `limit` of a `PLAN_LIMIT_REACHED`.
|
|
401
405
|
*/
|
|
@@ -3376,7 +3380,7 @@ type Decision = {
|
|
|
3376
3380
|
*/
|
|
3377
3381
|
type AttachedPolicyIds = Array<string>;
|
|
3378
3382
|
/**
|
|
3379
|
-
* Why a resource's work failed, in the shape of an error response's `error`. Every `error` field a resource records carries it, so `code` can be read without first checking the type of `error`.
|
|
3383
|
+
* Why a resource's work failed, in the shape of an error response's `error` without `hint`. Every `error` field a resource records carries it, so `code` can be read without first checking the type of `error`.
|
|
3380
3384
|
*/
|
|
3381
3385
|
type StoredError = {
|
|
3382
3386
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -396,6 +396,10 @@ type ErrorResponse = {
|
|
|
396
396
|
* Human-readable explanation.
|
|
397
397
|
*/
|
|
398
398
|
message: string;
|
|
399
|
+
/**
|
|
400
|
+
* What to do about it, naming the routes of this API to call. For people and agents; it may change, so branch on `code`.
|
|
401
|
+
*/
|
|
402
|
+
hint: string;
|
|
399
403
|
/**
|
|
400
404
|
* Structured context, such as the `resource` and `limit` of a `PLAN_LIMIT_REACHED`.
|
|
401
405
|
*/
|
|
@@ -3376,7 +3380,7 @@ type Decision = {
|
|
|
3376
3380
|
*/
|
|
3377
3381
|
type AttachedPolicyIds = Array<string>;
|
|
3378
3382
|
/**
|
|
3379
|
-
* Why a resource's work failed, in the shape of an error response's `error`. Every `error` field a resource records carries it, so `code` can be read without first checking the type of `error`.
|
|
3383
|
+
* Why a resource's work failed, in the shape of an error response's `error` without `hint`. Every `error` field a resource records carries it, so `code` can be read without first checking the type of `error`.
|
|
3380
3384
|
*/
|
|
3381
3385
|
type StoredError = {
|
|
3382
3386
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.272.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.272.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|