@naturali/sdk 0.206.5 → 0.206.7

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
@@ -15525,6 +15525,14 @@ type IngestDocumentData = {
15525
15525
  * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
15526
15526
  */
15527
15527
  chunk_overlap?: number;
15528
+ /**
15529
+ * Session the ingest runs for. The converter's generation and the chunk embeddings are metered against the session and its actor.
15530
+ */
15531
+ session_id?: string;
15532
+ /**
15533
+ * 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`.
15534
+ */
15535
+ actor_id?: string;
15528
15536
  };
15529
15537
  path: {
15530
15538
  /**
@@ -15542,7 +15550,7 @@ type IngestDocumentData = {
15542
15550
  };
15543
15551
  type IngestDocumentErrors = {
15544
15552
  /**
15545
- * Invalid request, file not found, or unsupported content type
15553
+ * 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
15546
15554
  */
15547
15555
  400: ErrorResponse;
15548
15556
  /**
@@ -16128,6 +16136,14 @@ type ReingestDocumentData = {
16128
16136
  * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
16129
16137
  */
16130
16138
  chunk_overlap?: number;
16139
+ /**
16140
+ * Session the ingest runs for. The converter's generation and the chunk embeddings are metered against the session and its actor.
16141
+ */
16142
+ session_id?: string;
16143
+ /**
16144
+ * 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`.
16145
+ */
16146
+ actor_id?: string;
16131
16147
  };
16132
16148
  path: {
16133
16149
  /**
package/dist/index.d.mts CHANGED
@@ -15525,6 +15525,14 @@ type IngestDocumentData = {
15525
15525
  * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
15526
15526
  */
15527
15527
  chunk_overlap?: number;
15528
+ /**
15529
+ * Session the ingest runs for. The converter's generation and the chunk embeddings are metered against the session and its actor.
15530
+ */
15531
+ session_id?: string;
15532
+ /**
15533
+ * 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`.
15534
+ */
15535
+ actor_id?: string;
15528
15536
  };
15529
15537
  path: {
15530
15538
  /**
@@ -15542,7 +15550,7 @@ type IngestDocumentData = {
15542
15550
  };
15543
15551
  type IngestDocumentErrors = {
15544
15552
  /**
15545
- * Invalid request, file not found, or unsupported content type
15553
+ * 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
15546
15554
  */
15547
15555
  400: ErrorResponse;
15548
15556
  /**
@@ -16128,6 +16136,14 @@ type ReingestDocumentData = {
16128
16136
  * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
16129
16137
  */
16130
16138
  chunk_overlap?: number;
16139
+ /**
16140
+ * Session the ingest runs for. The converter's generation and the chunk embeddings are metered against the session and its actor.
16141
+ */
16142
+ session_id?: string;
16143
+ /**
16144
+ * 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`.
16145
+ */
16146
+ actor_id?: string;
16131
16147
  };
16132
16148
  path: {
16133
16149
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.206.5",
3
+ "version": "0.206.7",
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.5",
41
+ "@naturali/api": "0.206.7",
42
42
  "@ttoss/openapi-codegen": "^0.5.0",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",