@soat/sdk 0.86.2 → 0.86.4

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 CHANGED
@@ -1995,7 +1995,7 @@ var Embeddings = class {
1995
1995
  * `project_id` names the project the call's token usage is metered against, so
1996
1996
  * embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
1997
1997
  * quotas. A project-scoped credential supplies its own project; a call that names
1998
- * none and is bound to none is served but not metered.
1998
+ * none and is bound to none is `400 VALIDATION_FAILED`.
1999
1999
  *
2000
2000
  */
2001
2001
  static createEmbeddings(options) {
package/dist/index.d.cts CHANGED
@@ -6841,7 +6841,7 @@ type UpsertProjectPricesRequest = {
6841
6841
  */
6842
6842
  meter_type?: 'llm_tokens' | 'tool_execution';
6843
6843
  /**
6844
- * The SRN of one tool or agent, `srn:<project_id>:<tool|agent>:<id>`, for a resource row; omit `provider` and `model`. A tool's row prices its `tool_execution` events, beside `tool_call`; an agent's prices its `llm_tokens` events, beside the provider cost. A pipeline or client tool has no execution of its own and cannot be priced.
6844
+ * The SRN of one tool or agent, `srn:<project_id>:<tool|agent>:<id>`, for a resource row; omit `provider` and `model`. A tool's row prices its `tool_execution` events, beside `tool_call`; an agent's prices its `llm_tokens` events, beside the provider cost. A client tool has no execution of its own and cannot be priced.
6845
6845
  */
6846
6846
  resource?: string;
6847
6847
  /**
@@ -8430,7 +8430,7 @@ type UpsertPricesRequest = {
8430
8430
  */
8431
8431
  meter_type?: string;
8432
8432
  /**
8433
- * The SRN of one tool or agent, `srn:<project_id>:<tool|agent>:<id>`, for a resource row; omit `provider` and `model`. A tool's row prices its `tool_execution` events, beside `tool_call`; an agent's prices its `llm_tokens` events, beside the provider cost. A pipeline or client tool has no execution of its own and cannot be priced.
8433
+ * The SRN of one tool or agent, `srn:<project_id>:<tool|agent>:<id>`, for a resource row; omit `provider` and `model`. A tool's row prices its `tool_execution` events, beside `tool_call`; an agent's prices its `llm_tokens` events, beside the provider cost. A client tool has no execution of its own and cannot be priced.
8434
8434
  */
8435
8435
  resource?: string;
8436
8436
  /**
@@ -13122,7 +13122,7 @@ type ReplaceDocumentTagsResponse = ReplaceDocumentTagsResponses[keyof ReplaceDoc
13122
13122
  type CreateEmbeddingsData = {
13123
13123
  body: {
13124
13124
  /**
13125
- * Project the call's usage is billed to. Optional; a project-scoped credential supplies its own. Requires write access to the named project.
13125
+ * Project the call's usage is billed to. Required unless the credential is bound to a project, which then supplies its own. Requires write access to the named project.
13126
13126
  */
13127
13127
  project_id?: string;
13128
13128
  /**
@@ -13140,7 +13140,7 @@ type CreateEmbeddingsData = {
13140
13140
  };
13141
13141
  type CreateEmbeddingsErrors = {
13142
13142
  /**
13143
- * Invalid request body
13143
+ * Invalid request body, or no project to bill (no `project_id` and a credential bound to none)
13144
13144
  */
13145
13145
  400: ErrorResponse;
13146
13146
  /**
@@ -24544,7 +24544,7 @@ export declare class Embeddings {
24544
24544
  * `project_id` names the project the call's token usage is metered against, so
24545
24545
  * embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
24546
24546
  * quotas. A project-scoped credential supplies its own project; a call that names
24547
- * none and is bound to none is served but not metered.
24547
+ * none and is bound to none is `400 VALIDATION_FAILED`.
24548
24548
  *
24549
24549
  */
24550
24550
  static createEmbeddings<ThrowOnError extends boolean = false>(options: Options<CreateEmbeddingsData, ThrowOnError>): RequestResult<CreateEmbeddingsResponses, CreateEmbeddingsErrors, ThrowOnError>;
package/dist/index.d.mts CHANGED
@@ -6841,7 +6841,7 @@ type UpsertProjectPricesRequest = {
6841
6841
  */
6842
6842
  meter_type?: 'llm_tokens' | 'tool_execution';
6843
6843
  /**
6844
- * The SRN of one tool or agent, `srn:<project_id>:<tool|agent>:<id>`, for a resource row; omit `provider` and `model`. A tool's row prices its `tool_execution` events, beside `tool_call`; an agent's prices its `llm_tokens` events, beside the provider cost. A pipeline or client tool has no execution of its own and cannot be priced.
6844
+ * The SRN of one tool or agent, `srn:<project_id>:<tool|agent>:<id>`, for a resource row; omit `provider` and `model`. A tool's row prices its `tool_execution` events, beside `tool_call`; an agent's prices its `llm_tokens` events, beside the provider cost. A client tool has no execution of its own and cannot be priced.
6845
6845
  */
6846
6846
  resource?: string;
6847
6847
  /**
@@ -8430,7 +8430,7 @@ type UpsertPricesRequest = {
8430
8430
  */
8431
8431
  meter_type?: string;
8432
8432
  /**
8433
- * The SRN of one tool or agent, `srn:<project_id>:<tool|agent>:<id>`, for a resource row; omit `provider` and `model`. A tool's row prices its `tool_execution` events, beside `tool_call`; an agent's prices its `llm_tokens` events, beside the provider cost. A pipeline or client tool has no execution of its own and cannot be priced.
8433
+ * The SRN of one tool or agent, `srn:<project_id>:<tool|agent>:<id>`, for a resource row; omit `provider` and `model`. A tool's row prices its `tool_execution` events, beside `tool_call`; an agent's prices its `llm_tokens` events, beside the provider cost. A client tool has no execution of its own and cannot be priced.
8434
8434
  */
8435
8435
  resource?: string;
8436
8436
  /**
@@ -13122,7 +13122,7 @@ type ReplaceDocumentTagsResponse = ReplaceDocumentTagsResponses[keyof ReplaceDoc
13122
13122
  type CreateEmbeddingsData = {
13123
13123
  body: {
13124
13124
  /**
13125
- * Project the call's usage is billed to. Optional; a project-scoped credential supplies its own. Requires write access to the named project.
13125
+ * Project the call's usage is billed to. Required unless the credential is bound to a project, which then supplies its own. Requires write access to the named project.
13126
13126
  */
13127
13127
  project_id?: string;
13128
13128
  /**
@@ -13140,7 +13140,7 @@ type CreateEmbeddingsData = {
13140
13140
  };
13141
13141
  type CreateEmbeddingsErrors = {
13142
13142
  /**
13143
- * Invalid request body
13143
+ * Invalid request body, or no project to bill (no `project_id` and a credential bound to none)
13144
13144
  */
13145
13145
  400: ErrorResponse;
13146
13146
  /**
@@ -24544,7 +24544,7 @@ export declare class Embeddings {
24544
24544
  * `project_id` names the project the call's token usage is metered against, so
24545
24545
  * embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
24546
24546
  * quotas. A project-scoped credential supplies its own project; a call that names
24547
- * none and is bound to none is served but not metered.
24547
+ * none and is bound to none is `400 VALIDATION_FAILED`.
24548
24548
  *
24549
24549
  */
24550
24550
  static createEmbeddings<ThrowOnError extends boolean = false>(options: Options<CreateEmbeddingsData, ThrowOnError>): RequestResult<CreateEmbeddingsResponses, CreateEmbeddingsErrors, ThrowOnError>;
package/dist/index.mjs CHANGED
@@ -1994,7 +1994,7 @@ var Embeddings = class {
1994
1994
  * `project_id` names the project the call's token usage is metered against, so
1995
1995
  * embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
1996
1996
  * quotas. A project-scoped credential supplies its own project; a call that names
1997
- * none and is bound to none is served but not metered.
1997
+ * none and is bound to none is `400 VALIDATION_FAILED`.
1998
1998
  *
1999
1999
  */
2000
2000
  static createEmbeddings(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.86.2",
3
+ "version": "0.86.4",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",