@naturali/sdk 0.294.4 → 0.295.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
@@ -7827,6 +7827,11 @@ type Model = {
7827
7827
  */
7828
7828
  cached_input_usd_per_token: number | null;
7829
7829
  };
7830
+ /**
7831
+ * What the model reads per request, checked before the vendor is called: a request over a limit is refused with `INPUT_LIMIT_EXCEEDED` (400). Absent when the model declares none.
7832
+ *
7833
+ */
7834
+ input_limits?: InputLimits;
7830
7835
  /**
7831
7836
  * When this entry last changed.
7832
7837
  */
@@ -28816,6 +28821,11 @@ type ListModelsErrors = {
28816
28821
  * Missing or invalid credentials.
28817
28822
  */
28818
28823
  401: ErrorResponse;
28824
+ /**
28825
+ * `UPSTREAM_UNAVAILABLE`: the runtime could not be read for the models' `input_limits`.
28826
+ *
28827
+ */
28828
+ 502: ErrorResponse;
28819
28829
  };
28820
28830
  type ListModelsError = ListModelsErrors[keyof ListModelsErrors];
28821
28831
  type ListModelsResponses = {
@@ -28847,6 +28857,11 @@ type GetModelErrors = {
28847
28857
  * The resource does not exist (existence is not leaked).
28848
28858
  */
28849
28859
  404: ErrorResponse;
28860
+ /**
28861
+ * `UPSTREAM_UNAVAILABLE`: the runtime could not be read for the models' `input_limits`.
28862
+ *
28863
+ */
28864
+ 502: ErrorResponse;
28850
28865
  };
28851
28866
  type GetModelError = GetModelErrors[keyof GetModelErrors];
28852
28867
  type GetModelResponses = {
package/dist/index.d.mts CHANGED
@@ -7827,6 +7827,11 @@ type Model = {
7827
7827
  */
7828
7828
  cached_input_usd_per_token: number | null;
7829
7829
  };
7830
+ /**
7831
+ * What the model reads per request, checked before the vendor is called: a request over a limit is refused with `INPUT_LIMIT_EXCEEDED` (400). Absent when the model declares none.
7832
+ *
7833
+ */
7834
+ input_limits?: InputLimits;
7830
7835
  /**
7831
7836
  * When this entry last changed.
7832
7837
  */
@@ -28816,6 +28821,11 @@ type ListModelsErrors = {
28816
28821
  * Missing or invalid credentials.
28817
28822
  */
28818
28823
  401: ErrorResponse;
28824
+ /**
28825
+ * `UPSTREAM_UNAVAILABLE`: the runtime could not be read for the models' `input_limits`.
28826
+ *
28827
+ */
28828
+ 502: ErrorResponse;
28819
28829
  };
28820
28830
  type ListModelsError = ListModelsErrors[keyof ListModelsErrors];
28821
28831
  type ListModelsResponses = {
@@ -28847,6 +28857,11 @@ type GetModelErrors = {
28847
28857
  * The resource does not exist (existence is not leaked).
28848
28858
  */
28849
28859
  404: ErrorResponse;
28860
+ /**
28861
+ * `UPSTREAM_UNAVAILABLE`: the runtime could not be read for the models' `input_limits`.
28862
+ *
28863
+ */
28864
+ 502: ErrorResponse;
28850
28865
  };
28851
28866
  type GetModelError = GetModelErrors[keyof GetModelErrors];
28852
28867
  type GetModelResponses = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.294.4",
3
+ "version": "0.295.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.294.4",
41
+ "@naturali/api": "0.295.0",
42
42
  "@ttoss/openapi-codegen": "^0.10.1",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",