@naturali/sdk 0.295.7 → 0.296.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
|
@@ -400,6 +400,10 @@ type ErrorResponse = {
|
|
|
400
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
401
|
*/
|
|
402
402
|
hint: string;
|
|
403
|
+
/**
|
|
404
|
+
* The anchor of this code on the error-codes page.
|
|
405
|
+
*/
|
|
406
|
+
docs_url: string;
|
|
403
407
|
/**
|
|
404
408
|
* Structured context, such as the `resource` and `limit` of a `PLAN_LIMIT_REACHED`.
|
|
405
409
|
*/
|
|
@@ -3810,7 +3814,7 @@ type Decision = {
|
|
|
3810
3814
|
*/
|
|
3811
3815
|
type AttachedPolicyIds = Array<string>;
|
|
3812
3816
|
/**
|
|
3813
|
-
* 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`.
|
|
3817
|
+
* Why a resource's work failed, in the shape of an error response's `error` without `hint` and `docs_url`. Every `error` field a resource records carries it, so `code` can be read without first checking the type of `error`.
|
|
3814
3818
|
*/
|
|
3815
3819
|
type StoredError = {
|
|
3816
3820
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -400,6 +400,10 @@ type ErrorResponse = {
|
|
|
400
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
401
|
*/
|
|
402
402
|
hint: string;
|
|
403
|
+
/**
|
|
404
|
+
* The anchor of this code on the error-codes page.
|
|
405
|
+
*/
|
|
406
|
+
docs_url: string;
|
|
403
407
|
/**
|
|
404
408
|
* Structured context, such as the `resource` and `limit` of a `PLAN_LIMIT_REACHED`.
|
|
405
409
|
*/
|
|
@@ -3810,7 +3814,7 @@ type Decision = {
|
|
|
3810
3814
|
*/
|
|
3811
3815
|
type AttachedPolicyIds = Array<string>;
|
|
3812
3816
|
/**
|
|
3813
|
-
* 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`.
|
|
3817
|
+
* Why a resource's work failed, in the shape of an error response's `error` without `hint` and `docs_url`. Every `error` field a resource records carries it, so `code` can be read without first checking the type of `error`.
|
|
3814
3818
|
*/
|
|
3815
3819
|
type StoredError = {
|
|
3816
3820
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.296.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.296.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|