@soat/sdk 0.86.4 → 0.87.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
@@ -12366,6 +12366,14 @@ type IngestDocumentData = {
12366
12366
  * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
12367
12367
  */
12368
12368
  chunk_overlap?: number;
12369
+ /**
12370
+ * Session the ingest runs for. The converter's generation and the chunk embeddings are metered against the session and its actor.
12371
+ */
12372
+ session_id?: string;
12373
+ /**
12374
+ * Actor the ingest runs for when there is no session; metered like `session_id`. Beside `session_id` it must be that session's actor, else `400 VALIDATION_FAILED`.
12375
+ */
12376
+ actor_id?: string;
12369
12377
  };
12370
12378
  path?: never;
12371
12379
  query?: {
@@ -12378,7 +12386,7 @@ type IngestDocumentData = {
12378
12386
  };
12379
12387
  type IngestDocumentErrors = {
12380
12388
  /**
12381
- * Invalid request, file not found, or unsupported content type
12389
+ * Invalid request, file not found, unsupported content type, or an unknown `session_id` (`SESSION_NOT_FOUND`) or `actor_id` (`ACTOR_NOT_FOUND`) in the project
12382
12390
  */
12383
12391
  400: ErrorResponse;
12384
12392
  /**
@@ -12919,6 +12927,14 @@ type ReingestDocumentData = {
12919
12927
  * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
12920
12928
  */
12921
12929
  chunk_overlap?: number;
12930
+ /**
12931
+ * Session the ingest runs for. The converter's generation and the chunk embeddings are metered against the session and its actor.
12932
+ */
12933
+ session_id?: string;
12934
+ /**
12935
+ * Actor the ingest runs for when there is no session; metered like `session_id`. Beside `session_id` it must be that session's actor, else `400 VALIDATION_FAILED`.
12936
+ */
12937
+ actor_id?: string;
12922
12938
  };
12923
12939
  path: {
12924
12940
  /**
package/dist/index.d.mts CHANGED
@@ -12366,6 +12366,14 @@ type IngestDocumentData = {
12366
12366
  * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
12367
12367
  */
12368
12368
  chunk_overlap?: number;
12369
+ /**
12370
+ * Session the ingest runs for. The converter's generation and the chunk embeddings are metered against the session and its actor.
12371
+ */
12372
+ session_id?: string;
12373
+ /**
12374
+ * Actor the ingest runs for when there is no session; metered like `session_id`. Beside `session_id` it must be that session's actor, else `400 VALIDATION_FAILED`.
12375
+ */
12376
+ actor_id?: string;
12369
12377
  };
12370
12378
  path?: never;
12371
12379
  query?: {
@@ -12378,7 +12386,7 @@ type IngestDocumentData = {
12378
12386
  };
12379
12387
  type IngestDocumentErrors = {
12380
12388
  /**
12381
- * Invalid request, file not found, or unsupported content type
12389
+ * Invalid request, file not found, unsupported content type, or an unknown `session_id` (`SESSION_NOT_FOUND`) or `actor_id` (`ACTOR_NOT_FOUND`) in the project
12382
12390
  */
12383
12391
  400: ErrorResponse;
12384
12392
  /**
@@ -12919,6 +12927,14 @@ type ReingestDocumentData = {
12919
12927
  * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
12920
12928
  */
12921
12929
  chunk_overlap?: number;
12930
+ /**
12931
+ * Session the ingest runs for. The converter's generation and the chunk embeddings are metered against the session and its actor.
12932
+ */
12933
+ session_id?: string;
12934
+ /**
12935
+ * Actor the ingest runs for when there is no session; metered like `session_id`. Beside `session_id` it must be that session's actor, else `400 VALIDATION_FAILED`.
12936
+ */
12937
+ actor_id?: string;
12922
12938
  };
12923
12939
  path: {
12924
12940
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.86.4",
3
+ "version": "0.87.0",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",