@narrative.io/data-collaboration-sdk-ts 4.6.0 → 4.8.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.
@@ -2,7 +2,7 @@
2
2
  * GENERATED FILE — DO NOT EDIT.
3
3
  *
4
4
  * Source: https://docs-cdn.narrative.io/api-reference/main/openapi.json
5
- * Spec etag: W/"b4c876661400c5ac03697ec6dde62625"
5
+ * Spec etag: W/"62084d5fd0ee4b80053144813c647a57"
6
6
  *
7
7
  * Regenerate with: bun run generate:api-types
8
8
  */
@@ -3,7 +3,7 @@ import type { ContentBlock } from "../agents/types";
3
3
  * Model identifiers supported by the Narrative model inference API.
4
4
  * Maps to Scala ModelInferenceRunJobInput.Model
5
5
  */
6
- export type InferenceModel = "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";
6
+ export type InferenceModel = "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" | "anthropic.claude-opus-5.0" | "anthropic.claude-opus-5.5" | "openai.gpt-oss-120b" | "openai.gpt-4.1" | "openai.o4-mini";
7
7
  /**
8
8
  * Message role for inference requests.
9
9
  * Maps to Scala ModelInferenceRunJobInput.Role
@@ -1,9 +1,9 @@
1
1
  import z from "zod";
2
2
  declare const ChatCompletionRequestMessageRoleEnum: z.ZodEnum<{
3
3
  function: "function";
4
+ system: "system";
4
5
  user: "user";
5
6
  assistant: "assistant";
6
- system: "system";
7
7
  }>;
8
8
  type ConversationMessageRole = z.infer<typeof ChatCompletionRequestMessageRoleEnum>;
9
9
  declare const isConversationMessageRole: (input: unknown) => input is ConversationMessageRole;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "4.6.0",
3
+ "version": "4.8.0",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",