@naturali/sdk 0.206.1 → 0.206.3
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.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2628,7 +2628,7 @@ var Embeddings = class {
|
|
|
2628
2628
|
* `project_id` names the project the call's token usage is metered against, so
|
|
2629
2629
|
* embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
|
|
2630
2630
|
* quotas. A project-scoped credential supplies its own project; a call that names
|
|
2631
|
-
* none and is bound to none is
|
|
2631
|
+
* none and is bound to none is `400 VALIDATION_FAILED`.
|
|
2632
2632
|
*
|
|
2633
2633
|
*/
|
|
2634
2634
|
static createEmbeddings(options) {
|
package/dist/index.d.cts
CHANGED
|
@@ -16314,7 +16314,7 @@ type CreateEmbeddingsData = {
|
|
|
16314
16314
|
};
|
|
16315
16315
|
type CreateEmbeddingsErrors = {
|
|
16316
16316
|
/**
|
|
16317
|
-
* Invalid request body
|
|
16317
|
+
* Invalid request body, or no project to bill (no `project_id` and a credential bound to none)
|
|
16318
16318
|
*/
|
|
16319
16319
|
400: ErrorResponse;
|
|
16320
16320
|
/**
|
|
@@ -29144,7 +29144,7 @@ export declare class Embeddings {
|
|
|
29144
29144
|
* `project_id` names the project the call's token usage is metered against, so
|
|
29145
29145
|
* embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
|
|
29146
29146
|
* quotas. A project-scoped credential supplies its own project; a call that names
|
|
29147
|
-
* none and is bound to none is
|
|
29147
|
+
* none and is bound to none is `400 VALIDATION_FAILED`.
|
|
29148
29148
|
*
|
|
29149
29149
|
*/
|
|
29150
29150
|
static createEmbeddings<ThrowOnError extends boolean = false>(options: Options<CreateEmbeddingsData, ThrowOnError>): RequestResult<CreateEmbeddingsResponses, CreateEmbeddingsErrors, ThrowOnError>;
|
package/dist/index.d.mts
CHANGED
|
@@ -16314,7 +16314,7 @@ type CreateEmbeddingsData = {
|
|
|
16314
16314
|
};
|
|
16315
16315
|
type CreateEmbeddingsErrors = {
|
|
16316
16316
|
/**
|
|
16317
|
-
* Invalid request body
|
|
16317
|
+
* Invalid request body, or no project to bill (no `project_id` and a credential bound to none)
|
|
16318
16318
|
*/
|
|
16319
16319
|
400: ErrorResponse;
|
|
16320
16320
|
/**
|
|
@@ -29144,7 +29144,7 @@ export declare class Embeddings {
|
|
|
29144
29144
|
* `project_id` names the project the call's token usage is metered against, so
|
|
29145
29145
|
* embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
|
|
29146
29146
|
* quotas. A project-scoped credential supplies its own project; a call that names
|
|
29147
|
-
* none and is bound to none is
|
|
29147
|
+
* none and is bound to none is `400 VALIDATION_FAILED`.
|
|
29148
29148
|
*
|
|
29149
29149
|
*/
|
|
29150
29150
|
static createEmbeddings<ThrowOnError extends boolean = false>(options: Options<CreateEmbeddingsData, ThrowOnError>): RequestResult<CreateEmbeddingsResponses, CreateEmbeddingsErrors, ThrowOnError>;
|
package/dist/index.mjs
CHANGED
|
@@ -2627,7 +2627,7 @@ var Embeddings = class {
|
|
|
2627
2627
|
* `project_id` names the project the call's token usage is metered against, so
|
|
2628
2628
|
* embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
|
|
2629
2629
|
* quotas. A project-scoped credential supplies its own project; a call that names
|
|
2630
|
-
* none and is bound to none is
|
|
2630
|
+
* none and is bound to none is `400 VALIDATION_FAILED`.
|
|
2631
2631
|
*
|
|
2632
2632
|
*/
|
|
2633
2633
|
static createEmbeddings(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.206.
|
|
3
|
+
"version": "0.206.3",
|
|
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.206.
|
|
41
|
+
"@naturali/api": "0.206.3",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.5.0",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|