@narrative.io/data-collaboration-sdk-ts 3.1.1 → 3.3.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.
@@ -16,7 +16,7 @@ export type RunId = string;
16
16
  export type ClientOpId = string;
17
17
  export type ConversationVersion = number;
18
18
  export type ToolUseId = string;
19
- export type AgentModel = "anthropic.claude-haiku-4.5" | "anthropic.claude-sonnet-4.5" | "anthropic.claude-sonnet-4.6" | "anthropic.claude-opus-4.5" | "anthropic.claude-opus-4.6" | "openai.gpt-oss-120b" | "openai.gpt-4.1" | "openai.o4-mini" | (string & {});
19
+ export type AgentModel = "anthropic.claude-haiku-4.5" | "anthropic.claude-sonnet-4.5" | "anthropic.claude-sonnet-4.6" | "anthropic.claude-sonnet-5.0" | "anthropic.claude-opus-4.5" | "anthropic.claude-opus-4.6" | "anthropic.claude-opus-4.7" | "anthropic.claude-opus-4.8" | "openai.gpt-oss-120b" | "openai.gpt-4.1" | "openai.o4-mini" | (string & {});
20
20
  export type ExecutionCluster = "shared" | "dedicated";
21
21
  /** Subset of JSON Schema Draft 2020-12 accepted by Bedrock structured output. */
22
22
  export type JsonSchemaObject = Record<string, unknown>;
@@ -11,7 +11,6 @@ export interface LoginResponse {
11
11
  role: UserRole;
12
12
  };
13
13
  api_token: ApiToken;
14
- legacy_token: string;
15
14
  }
16
15
  export interface ApiToken {
17
16
  access_token: string;
@@ -300,6 +300,11 @@ export interface CreateDatasetRequest {
300
300
  description?: string;
301
301
  tags?: string[];
302
302
  derive_metrics_config?: boolean;
303
+ /**
304
+ * Pin the new dataset to a specific data plane. When omitted, the platform
305
+ * falls back to the company's default data plane. Validated server-side.
306
+ */
307
+ data_plane_id?: string;
303
308
  }
304
309
  export interface IngestDatasetFileRequest {
305
310
  source_file: string;
@@ -337,6 +342,7 @@ export interface UpdateDatasetRefreshScheduleRequest {
337
342
  };
338
343
  stats_enabled?: boolean;
339
344
  status?: DatasetStatus;
345
+ compute_pool_id?: string;
340
346
  }
341
347
  export interface CreateDatasetRefreshScheduleRequest {
342
348
  cron: string;
@@ -346,5 +352,6 @@ export interface CreateDatasetRefreshScheduleRequest {
346
352
  };
347
353
  stats_enabled?: boolean;
348
354
  status?: DatasetStatus;
355
+ compute_pool_id?: string;
349
356
  }
350
357
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "3.1.1",
3
+ "version": "3.3.0",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",
@@ -27,12 +27,12 @@
27
27
  "author": "",
28
28
  "license": "ISC",
29
29
  "devDependencies": {
30
- "@babel/core": "7.29.7",
31
- "@babel/preset-env": "7.29.7",
32
- "@babel/preset-typescript": "7.29.7",
33
- "@biomejs/biome": "2.4.16",
34
- "@commitlint/cli": "21.0.2",
35
- "@commitlint/config-conventional": "21.0.2",
30
+ "@babel/core": "8.0.1",
31
+ "@babel/preset-env": "8.0.2",
32
+ "@babel/preset-typescript": "8.0.1",
33
+ "@biomejs/biome": "2.5.2",
34
+ "@commitlint/cli": "21.2.0",
35
+ "@commitlint/config-conventional": "21.2.0",
36
36
  "@types/jest": "30.0.0",
37
37
  "@types/json-schema": "7.0.15",
38
38
  "babel-jest": "30.4.1",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "zod": "4.4.3",
46
- "bignumber.js": "11.1.3"
46
+ "bignumber.js": "11.1.4"
47
47
  },
48
48
  "overrides": {
49
49
  "semver@<7.5.2": "7.5.2"