@orq-ai/node 4.16.0-rc.6 → 4.16.0-rc.8

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.
Files changed (132) hide show
  1. package/funcs/routerClassifyCreate.d.ts +1 -1
  2. package/funcs/routerClassifyCreate.js +1 -1
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/models/components/agentthoughtstreamingevent.d.ts +22 -0
  7. package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
  8. package/models/components/agentthoughtstreamingevent.js +24 -1
  9. package/models/components/agentthoughtstreamingevent.js.map +1 -1
  10. package/models/components/classifyanswer.d.ts +1 -1
  11. package/models/components/classifyusage.d.ts +2 -2
  12. package/models/components/createmanagementkeyrequest.d.ts +2 -2
  13. package/models/components/createmanagementkeyrequest.d.ts.map +1 -1
  14. package/models/components/createmanagementkeyrequest.js +1 -1
  15. package/models/components/createmanagementkeyrequest.js.map +1 -1
  16. package/models/components/invokedeploymentrequest.d.ts +62 -0
  17. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  18. package/models/components/invokedeploymentrequest.js +47 -3
  19. package/models/components/invokedeploymentrequest.js.map +1 -1
  20. package/models/components/reasoningpart.js +1 -1
  21. package/models/operations/createchatcompletion.d.ts +75 -0
  22. package/models/operations/createchatcompletion.d.ts.map +1 -1
  23. package/models/operations/createchatcompletion.js +73 -4
  24. package/models/operations/createchatcompletion.js.map +1 -1
  25. package/models/operations/createclassify.d.ts +3 -2
  26. package/models/operations/createclassify.d.ts.map +1 -1
  27. package/models/operations/createclassify.js +1 -0
  28. package/models/operations/createclassify.js.map +1 -1
  29. package/models/operations/createdataset.js +1 -1
  30. package/models/operations/createdatasetitem.d.ts +53 -0
  31. package/models/operations/createdatasetitem.d.ts.map +1 -1
  32. package/models/operations/createdatasetitem.js +54 -8
  33. package/models/operations/createdatasetitem.js.map +1 -1
  34. package/models/operations/createprompt.d.ts +53 -0
  35. package/models/operations/createprompt.d.ts.map +1 -1
  36. package/models/operations/createprompt.js +50 -4
  37. package/models/operations/createprompt.js.map +1 -1
  38. package/models/operations/createtool.js +4 -4
  39. package/models/operations/deploymentgetconfig.d.ts +62 -0
  40. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  41. package/models/operations/deploymentgetconfig.js +50 -4
  42. package/models/operations/deploymentgetconfig.js.map +1 -1
  43. package/models/operations/deploymentstream.d.ts +62 -0
  44. package/models/operations/deploymentstream.d.ts.map +1 -1
  45. package/models/operations/deploymentstream.js +47 -3
  46. package/models/operations/deploymentstream.js.map +1 -1
  47. package/models/operations/getallprompts.d.ts +22 -0
  48. package/models/operations/getallprompts.d.ts.map +1 -1
  49. package/models/operations/getallprompts.js +24 -1
  50. package/models/operations/getallprompts.js.map +1 -1
  51. package/models/operations/getalltools.js +4 -4
  52. package/models/operations/getoneprompt.d.ts +22 -0
  53. package/models/operations/getoneprompt.d.ts.map +1 -1
  54. package/models/operations/getoneprompt.js +24 -1
  55. package/models/operations/getoneprompt.js.map +1 -1
  56. package/models/operations/getpromptversion.d.ts +22 -0
  57. package/models/operations/getpromptversion.d.ts.map +1 -1
  58. package/models/operations/getpromptversion.js +23 -1
  59. package/models/operations/getpromptversion.js.map +1 -1
  60. package/models/operations/getv2humanevalsets.js +2 -2
  61. package/models/operations/getv2humanevalsetsid.js +2 -2
  62. package/models/operations/listdatasetdatapoints.d.ts +22 -0
  63. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  64. package/models/operations/listdatasetdatapoints.js +30 -7
  65. package/models/operations/listdatasetdatapoints.js.map +1 -1
  66. package/models/operations/listdatasets.js +1 -1
  67. package/models/operations/listpromptversions.d.ts +22 -0
  68. package/models/operations/listpromptversions.d.ts.map +1 -1
  69. package/models/operations/listpromptversions.js +24 -1
  70. package/models/operations/listpromptversions.js.map +1 -1
  71. package/models/operations/patchv2humanevalsetsid.js +2 -2
  72. package/models/operations/postv2feedbackevaluation.js +4 -4
  73. package/models/operations/postv2humanevalsets.js +2 -2
  74. package/models/operations/retrievedatapoint.d.ts +22 -0
  75. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  76. package/models/operations/retrievedatapoint.js +30 -7
  77. package/models/operations/retrievedatapoint.js.map +1 -1
  78. package/models/operations/retrievedataset.js +1 -1
  79. package/models/operations/retrievetool.js +4 -4
  80. package/models/operations/runagent.js +1 -1
  81. package/models/operations/streamrunagent.js +1 -1
  82. package/models/operations/updatedatapoint.d.ts +53 -0
  83. package/models/operations/updatedatapoint.d.ts.map +1 -1
  84. package/models/operations/updatedatapoint.js +54 -8
  85. package/models/operations/updatedatapoint.js.map +1 -1
  86. package/models/operations/updatedataset.js +1 -1
  87. package/models/operations/updateprompt.d.ts +53 -0
  88. package/models/operations/updateprompt.d.ts.map +1 -1
  89. package/models/operations/updateprompt.js +50 -4
  90. package/models/operations/updateprompt.js.map +1 -1
  91. package/models/operations/updatetool.js +4 -4
  92. package/package.json +3 -3
  93. package/sdk/classify.d.ts +1 -1
  94. package/sdk/classify.js +1 -1
  95. package/src/funcs/routerClassifyCreate.ts +1 -1
  96. package/src/lib/config.ts +2 -2
  97. package/src/models/components/agentthoughtstreamingevent.ts +66 -0
  98. package/src/models/components/classifyanswer.ts +1 -1
  99. package/src/models/components/classifyusage.ts +2 -2
  100. package/src/models/components/createmanagementkeyrequest.ts +3 -3
  101. package/src/models/components/invokedeploymentrequest.ts +126 -0
  102. package/src/models/components/reasoningpart.ts +1 -1
  103. package/src/models/operations/createchatcompletion.ts +222 -0
  104. package/src/models/operations/createclassify.ts +4 -2
  105. package/src/models/operations/createdataset.ts +1 -1
  106. package/src/models/operations/createdatasetitem.ts +159 -5
  107. package/src/models/operations/createprompt.ts +143 -0
  108. package/src/models/operations/createtool.ts +4 -4
  109. package/src/models/operations/deploymentgetconfig.ts +147 -0
  110. package/src/models/operations/deploymentstream.ts +126 -0
  111. package/src/models/operations/getallprompts.ts +63 -0
  112. package/src/models/operations/getalltools.ts +4 -4
  113. package/src/models/operations/getoneprompt.ts +63 -0
  114. package/src/models/operations/getpromptversion.ts +65 -0
  115. package/src/models/operations/getv2humanevalsets.ts +2 -2
  116. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  117. package/src/models/operations/listdatasetdatapoints.ts +77 -5
  118. package/src/models/operations/listdatasets.ts +1 -1
  119. package/src/models/operations/listpromptversions.ts +66 -0
  120. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  121. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  122. package/src/models/operations/postv2humanevalsets.ts +2 -2
  123. package/src/models/operations/retrievedatapoint.ts +71 -5
  124. package/src/models/operations/retrievedataset.ts +1 -1
  125. package/src/models/operations/retrievetool.ts +4 -4
  126. package/src/models/operations/runagent.ts +1 -1
  127. package/src/models/operations/streamrunagent.ts +1 -1
  128. package/src/models/operations/updatedatapoint.ts +152 -5
  129. package/src/models/operations/updatedataset.ts +1 -1
  130. package/src/models/operations/updateprompt.ts +143 -0
  131. package/src/models/operations/updatetool.ts +4 -4
  132. package/src/sdk/classify.ts +1 -1
@@ -178,6 +178,20 @@ export type PrefixMessagesFunction = {
178
178
  arguments?: string | undefined;
179
179
  };
180
180
 
181
+ export type Google = {
182
+ /**
183
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
184
+ */
185
+ thoughtSignature?: string | undefined;
186
+ };
187
+
188
+ /**
189
+ * Provider-specific extra content for the tool call.
190
+ */
191
+ export type ExtraContent = {
192
+ google?: Google | undefined;
193
+ };
194
+
181
195
  export type ToolCalls = {
182
196
  /**
183
197
  * The ID of the tool call.
@@ -192,6 +206,10 @@ export type ToolCalls = {
192
206
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
193
207
  */
194
208
  thoughtSignature?: string | undefined;
209
+ /**
210
+ * Provider-specific extra content for the tool call.
211
+ */
212
+ extraContent?: ExtraContent | undefined;
195
213
  };
196
214
 
197
215
  export type AssistantMessage = {
@@ -525,6 +543,20 @@ export type MessagesFunction = {
525
543
  arguments?: string | undefined;
526
544
  };
527
545
 
546
+ export type MessagesGoogle = {
547
+ /**
548
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
549
+ */
550
+ thoughtSignature?: string | undefined;
551
+ };
552
+
553
+ /**
554
+ * Provider-specific extra content for the tool call.
555
+ */
556
+ export type MessagesExtraContent = {
557
+ google?: MessagesGoogle | undefined;
558
+ };
559
+
528
560
  export type MessagesToolCalls = {
529
561
  /**
530
562
  * The ID of the tool call.
@@ -539,6 +571,10 @@ export type MessagesToolCalls = {
539
571
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
540
572
  */
541
573
  thoughtSignature?: string | undefined;
574
+ /**
575
+ * Provider-specific extra content for the tool call.
576
+ */
577
+ extraContent?: MessagesExtraContent | undefined;
542
578
  };
543
579
 
544
580
  export type MessagesAssistantMessage = {
@@ -1378,12 +1414,53 @@ export function prefixMessagesFunctionToJSON(
1378
1414
  );
1379
1415
  }
1380
1416
 
1417
+ /** @internal */
1418
+ export type Google$Outbound = {
1419
+ thought_signature?: string | undefined;
1420
+ };
1421
+
1422
+ /** @internal */
1423
+ export const Google$outboundSchema: z.ZodType<
1424
+ Google$Outbound,
1425
+ z.ZodTypeDef,
1426
+ Google
1427
+ > = z.object({
1428
+ thoughtSignature: z.string().optional(),
1429
+ }).transform((v) => {
1430
+ return remap$(v, {
1431
+ thoughtSignature: "thought_signature",
1432
+ });
1433
+ });
1434
+
1435
+ export function googleToJSON(google: Google): string {
1436
+ return JSON.stringify(Google$outboundSchema.parse(google));
1437
+ }
1438
+
1439
+ /** @internal */
1440
+ export type ExtraContent$Outbound = {
1441
+ google?: Google$Outbound | undefined;
1442
+ };
1443
+
1444
+ /** @internal */
1445
+ export const ExtraContent$outboundSchema: z.ZodType<
1446
+ ExtraContent$Outbound,
1447
+ z.ZodTypeDef,
1448
+ ExtraContent
1449
+ > = z.object({
1450
+ google: z.lazy(() => Google$outboundSchema).optional(),
1451
+ });
1452
+
1453
+ export function extraContentToJSON(extraContent: ExtraContent): string {
1454
+ return JSON.stringify(ExtraContent$outboundSchema.parse(extraContent));
1455
+ }
1456
+
1381
1457
  /** @internal */
1382
1458
  export type ToolCalls$Outbound = {
1383
1459
  id: string;
1384
1460
  type: string;
1385
1461
  function: PrefixMessagesFunction$Outbound;
1386
1462
  thought_signature?: string | undefined;
1463
+ extra_content?: ExtraContent$Outbound | undefined;
1387
1464
  };
1388
1465
 
1389
1466
  /** @internal */
@@ -1396,9 +1473,11 @@ export const ToolCalls$outboundSchema: z.ZodType<
1396
1473
  type: PrefixMessagesType$outboundSchema,
1397
1474
  function: z.lazy(() => PrefixMessagesFunction$outboundSchema),
1398
1475
  thoughtSignature: z.string().optional(),
1476
+ extraContent: z.lazy(() => ExtraContent$outboundSchema).optional(),
1399
1477
  }).transform((v) => {
1400
1478
  return remap$(v, {
1401
1479
  thoughtSignature: "thought_signature",
1480
+ extraContent: "extra_content",
1402
1481
  });
1403
1482
  });
1404
1483
 
@@ -1981,12 +2060,57 @@ export function messagesFunctionToJSON(
1981
2060
  );
1982
2061
  }
1983
2062
 
2063
+ /** @internal */
2064
+ export type MessagesGoogle$Outbound = {
2065
+ thought_signature?: string | undefined;
2066
+ };
2067
+
2068
+ /** @internal */
2069
+ export const MessagesGoogle$outboundSchema: z.ZodType<
2070
+ MessagesGoogle$Outbound,
2071
+ z.ZodTypeDef,
2072
+ MessagesGoogle
2073
+ > = z.object({
2074
+ thoughtSignature: z.string().optional(),
2075
+ }).transform((v) => {
2076
+ return remap$(v, {
2077
+ thoughtSignature: "thought_signature",
2078
+ });
2079
+ });
2080
+
2081
+ export function messagesGoogleToJSON(messagesGoogle: MessagesGoogle): string {
2082
+ return JSON.stringify(MessagesGoogle$outboundSchema.parse(messagesGoogle));
2083
+ }
2084
+
2085
+ /** @internal */
2086
+ export type MessagesExtraContent$Outbound = {
2087
+ google?: MessagesGoogle$Outbound | undefined;
2088
+ };
2089
+
2090
+ /** @internal */
2091
+ export const MessagesExtraContent$outboundSchema: z.ZodType<
2092
+ MessagesExtraContent$Outbound,
2093
+ z.ZodTypeDef,
2094
+ MessagesExtraContent
2095
+ > = z.object({
2096
+ google: z.lazy(() => MessagesGoogle$outboundSchema).optional(),
2097
+ });
2098
+
2099
+ export function messagesExtraContentToJSON(
2100
+ messagesExtraContent: MessagesExtraContent,
2101
+ ): string {
2102
+ return JSON.stringify(
2103
+ MessagesExtraContent$outboundSchema.parse(messagesExtraContent),
2104
+ );
2105
+ }
2106
+
1984
2107
  /** @internal */
1985
2108
  export type MessagesToolCalls$Outbound = {
1986
2109
  id: string;
1987
2110
  type: string;
1988
2111
  function: MessagesFunction$Outbound;
1989
2112
  thought_signature?: string | undefined;
2113
+ extra_content?: MessagesExtraContent$Outbound | undefined;
1990
2114
  };
1991
2115
 
1992
2116
  /** @internal */
@@ -1999,9 +2123,11 @@ export const MessagesToolCalls$outboundSchema: z.ZodType<
1999
2123
  type: MessagesType$outboundSchema,
2000
2124
  function: z.lazy(() => MessagesFunction$outboundSchema),
2001
2125
  thoughtSignature: z.string().optional(),
2126
+ extraContent: z.lazy(() => MessagesExtraContent$outboundSchema).optional(),
2002
2127
  }).transform((v) => {
2003
2128
  return remap$(v, {
2004
2129
  thoughtSignature: "thought_signature",
2130
+ extraContent: "extra_content",
2005
2131
  });
2006
2132
  });
2007
2133
 
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m2wz2fzs3xn9aagzx9kap53m"),
43
+ _id: z.string().default("reasoning_01m31afb8vwdh64w8p90eteg4a"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -148,6 +148,20 @@ export type CreateChatCompletionMessagesFunction = {
148
148
  arguments?: string | undefined;
149
149
  };
150
150
 
151
+ export type CreateChatCompletionMessagesGoogle = {
152
+ /**
153
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
154
+ */
155
+ thoughtSignature?: string | undefined;
156
+ };
157
+
158
+ /**
159
+ * Provider-specific extra content for the tool call.
160
+ */
161
+ export type CreateChatCompletionMessagesExtraContent = {
162
+ google?: CreateChatCompletionMessagesGoogle | undefined;
163
+ };
164
+
151
165
  export type CreateChatCompletionMessagesToolCalls = {
152
166
  /**
153
167
  * The ID of the tool call.
@@ -162,6 +176,10 @@ export type CreateChatCompletionMessagesToolCalls = {
162
176
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
163
177
  */
164
178
  thoughtSignature?: string | undefined;
179
+ /**
180
+ * Provider-specific extra content for the tool call.
181
+ */
182
+ extraContent?: CreateChatCompletionMessagesExtraContent | undefined;
165
183
  };
166
184
 
167
185
  export type CreateChatCompletionMessagesAssistantMessage = {
@@ -1748,6 +1766,20 @@ export type CreateChatCompletionRouterChatCompletionsResponseFunction = {
1748
1766
  arguments?: string | undefined;
1749
1767
  };
1750
1768
 
1769
+ export type CreateChatCompletionRouterChatCompletionsGoogle = {
1770
+ /**
1771
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models.
1772
+ */
1773
+ thoughtSignature?: string | undefined;
1774
+ };
1775
+
1776
+ /**
1777
+ * Provider-specific extra content for the tool call.
1778
+ */
1779
+ export type CreateChatCompletionRouterChatCompletionsExtraContent = {
1780
+ google?: CreateChatCompletionRouterChatCompletionsGoogle | undefined;
1781
+ };
1782
+
1751
1783
  export type CreateChatCompletionRouterChatCompletionsToolCalls = {
1752
1784
  /**
1753
1785
  * The index of the tool call.
@@ -1768,6 +1800,12 @@ export type CreateChatCompletionRouterChatCompletionsToolCalls = {
1768
1800
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models.
1769
1801
  */
1770
1802
  thoughtSignature?: string | undefined;
1803
+ /**
1804
+ * Provider-specific extra content for the tool call.
1805
+ */
1806
+ extraContent?:
1807
+ | CreateChatCompletionRouterChatCompletionsExtraContent
1808
+ | undefined;
1771
1809
  };
1772
1810
 
1773
1811
  export const CreateChatCompletionRouterChatCompletionsRole = {
@@ -1966,6 +2004,20 @@ export type CreateChatCompletionRouterChatCompletionsFunction = {
1966
2004
  arguments?: string | undefined;
1967
2005
  };
1968
2006
 
2007
+ export type CreateChatCompletionGoogle = {
2008
+ /**
2009
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
2010
+ */
2011
+ thoughtSignature?: string | undefined;
2012
+ };
2013
+
2014
+ /**
2015
+ * Provider-specific extra content for the tool call.
2016
+ */
2017
+ export type CreateChatCompletionExtraContent = {
2018
+ google?: CreateChatCompletionGoogle | undefined;
2019
+ };
2020
+
1969
2021
  export type CreateChatCompletionToolCalls = {
1970
2022
  index?: number | undefined;
1971
2023
  id?: string | undefined;
@@ -1975,6 +2027,10 @@ export type CreateChatCompletionToolCalls = {
1975
2027
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
1976
2028
  */
1977
2029
  thoughtSignature?: string | undefined;
2030
+ /**
2031
+ * Provider-specific extra content for the tool call.
2032
+ */
2033
+ extraContent?: CreateChatCompletionExtraContent | undefined;
1978
2034
  };
1979
2035
 
1980
2036
  export const CreateChatCompletionRole = {
@@ -2467,12 +2523,67 @@ export function createChatCompletionMessagesFunctionToJSON(
2467
2523
  );
2468
2524
  }
2469
2525
 
2526
+ /** @internal */
2527
+ export type CreateChatCompletionMessagesGoogle$Outbound = {
2528
+ thought_signature?: string | undefined;
2529
+ };
2530
+
2531
+ /** @internal */
2532
+ export const CreateChatCompletionMessagesGoogle$outboundSchema: z.ZodType<
2533
+ CreateChatCompletionMessagesGoogle$Outbound,
2534
+ z.ZodTypeDef,
2535
+ CreateChatCompletionMessagesGoogle
2536
+ > = z.object({
2537
+ thoughtSignature: z.string().optional(),
2538
+ }).transform((v) => {
2539
+ return remap$(v, {
2540
+ thoughtSignature: "thought_signature",
2541
+ });
2542
+ });
2543
+
2544
+ export function createChatCompletionMessagesGoogleToJSON(
2545
+ createChatCompletionMessagesGoogle: CreateChatCompletionMessagesGoogle,
2546
+ ): string {
2547
+ return JSON.stringify(
2548
+ CreateChatCompletionMessagesGoogle$outboundSchema.parse(
2549
+ createChatCompletionMessagesGoogle,
2550
+ ),
2551
+ );
2552
+ }
2553
+
2554
+ /** @internal */
2555
+ export type CreateChatCompletionMessagesExtraContent$Outbound = {
2556
+ google?: CreateChatCompletionMessagesGoogle$Outbound | undefined;
2557
+ };
2558
+
2559
+ /** @internal */
2560
+ export const CreateChatCompletionMessagesExtraContent$outboundSchema: z.ZodType<
2561
+ CreateChatCompletionMessagesExtraContent$Outbound,
2562
+ z.ZodTypeDef,
2563
+ CreateChatCompletionMessagesExtraContent
2564
+ > = z.object({
2565
+ google: z.lazy(() => CreateChatCompletionMessagesGoogle$outboundSchema)
2566
+ .optional(),
2567
+ });
2568
+
2569
+ export function createChatCompletionMessagesExtraContentToJSON(
2570
+ createChatCompletionMessagesExtraContent:
2571
+ CreateChatCompletionMessagesExtraContent,
2572
+ ): string {
2573
+ return JSON.stringify(
2574
+ CreateChatCompletionMessagesExtraContent$outboundSchema.parse(
2575
+ createChatCompletionMessagesExtraContent,
2576
+ ),
2577
+ );
2578
+ }
2579
+
2470
2580
  /** @internal */
2471
2581
  export type CreateChatCompletionMessagesToolCalls$Outbound = {
2472
2582
  id: string;
2473
2583
  type: string;
2474
2584
  function: CreateChatCompletionMessagesFunction$Outbound;
2475
2585
  thought_signature?: string | undefined;
2586
+ extra_content?: CreateChatCompletionMessagesExtraContent$Outbound | undefined;
2476
2587
  };
2477
2588
 
2478
2589
  /** @internal */
@@ -2485,9 +2596,13 @@ export const CreateChatCompletionMessagesToolCalls$outboundSchema: z.ZodType<
2485
2596
  type: CreateChatCompletionMessagesType$outboundSchema,
2486
2597
  function: z.lazy(() => CreateChatCompletionMessagesFunction$outboundSchema),
2487
2598
  thoughtSignature: z.string().optional(),
2599
+ extraContent: z.lazy(() =>
2600
+ CreateChatCompletionMessagesExtraContent$outboundSchema
2601
+ ).optional(),
2488
2602
  }).transform((v) => {
2489
2603
  return remap$(v, {
2490
2604
  thoughtSignature: "thought_signature",
2605
+ extraContent: "extra_content",
2491
2606
  });
2492
2607
  });
2493
2608
 
@@ -5622,6 +5737,64 @@ export function createChatCompletionRouterChatCompletionsResponseFunctionFromJSO
5622
5737
  );
5623
5738
  }
5624
5739
 
5740
+ /** @internal */
5741
+ export const CreateChatCompletionRouterChatCompletionsGoogle$inboundSchema:
5742
+ z.ZodType<
5743
+ CreateChatCompletionRouterChatCompletionsGoogle,
5744
+ z.ZodTypeDef,
5745
+ unknown
5746
+ > = z.object({
5747
+ thought_signature: z.string().optional(),
5748
+ }).transform((v) => {
5749
+ return remap$(v, {
5750
+ "thought_signature": "thoughtSignature",
5751
+ });
5752
+ });
5753
+
5754
+ export function createChatCompletionRouterChatCompletionsGoogleFromJSON(
5755
+ jsonString: string,
5756
+ ): SafeParseResult<
5757
+ CreateChatCompletionRouterChatCompletionsGoogle,
5758
+ SDKValidationError
5759
+ > {
5760
+ return safeParse(
5761
+ jsonString,
5762
+ (x) =>
5763
+ CreateChatCompletionRouterChatCompletionsGoogle$inboundSchema.parse(
5764
+ JSON.parse(x),
5765
+ ),
5766
+ `Failed to parse 'CreateChatCompletionRouterChatCompletionsGoogle' from JSON`,
5767
+ );
5768
+ }
5769
+
5770
+ /** @internal */
5771
+ export const CreateChatCompletionRouterChatCompletionsExtraContent$inboundSchema:
5772
+ z.ZodType<
5773
+ CreateChatCompletionRouterChatCompletionsExtraContent,
5774
+ z.ZodTypeDef,
5775
+ unknown
5776
+ > = z.object({
5777
+ google: z.lazy(() =>
5778
+ CreateChatCompletionRouterChatCompletionsGoogle$inboundSchema
5779
+ ).optional(),
5780
+ });
5781
+
5782
+ export function createChatCompletionRouterChatCompletionsExtraContentFromJSON(
5783
+ jsonString: string,
5784
+ ): SafeParseResult<
5785
+ CreateChatCompletionRouterChatCompletionsExtraContent,
5786
+ SDKValidationError
5787
+ > {
5788
+ return safeParse(
5789
+ jsonString,
5790
+ (x) =>
5791
+ CreateChatCompletionRouterChatCompletionsExtraContent$inboundSchema.parse(
5792
+ JSON.parse(x),
5793
+ ),
5794
+ `Failed to parse 'CreateChatCompletionRouterChatCompletionsExtraContent' from JSON`,
5795
+ );
5796
+ }
5797
+
5625
5798
  /** @internal */
5626
5799
  export const CreateChatCompletionRouterChatCompletionsToolCalls$inboundSchema:
5627
5800
  z.ZodType<
@@ -5637,9 +5810,13 @@ export const CreateChatCompletionRouterChatCompletionsToolCalls$inboundSchema:
5637
5810
  CreateChatCompletionRouterChatCompletionsResponseFunction$inboundSchema
5638
5811
  ).optional(),
5639
5812
  thought_signature: z.string().optional(),
5813
+ extra_content: z.lazy(() =>
5814
+ CreateChatCompletionRouterChatCompletionsExtraContent$inboundSchema
5815
+ ).optional(),
5640
5816
  }).transform((v) => {
5641
5817
  return remap$(v, {
5642
5818
  "thought_signature": "thoughtSignature",
5819
+ "extra_content": "extraContent",
5643
5820
  });
5644
5821
  });
5645
5822
 
@@ -5995,6 +6172,48 @@ export function createChatCompletionRouterChatCompletionsFunctionFromJSON(
5995
6172
  );
5996
6173
  }
5997
6174
 
6175
+ /** @internal */
6176
+ export const CreateChatCompletionGoogle$inboundSchema: z.ZodType<
6177
+ CreateChatCompletionGoogle,
6178
+ z.ZodTypeDef,
6179
+ unknown
6180
+ > = z.object({
6181
+ thought_signature: z.string().optional(),
6182
+ }).transform((v) => {
6183
+ return remap$(v, {
6184
+ "thought_signature": "thoughtSignature",
6185
+ });
6186
+ });
6187
+
6188
+ export function createChatCompletionGoogleFromJSON(
6189
+ jsonString: string,
6190
+ ): SafeParseResult<CreateChatCompletionGoogle, SDKValidationError> {
6191
+ return safeParse(
6192
+ jsonString,
6193
+ (x) => CreateChatCompletionGoogle$inboundSchema.parse(JSON.parse(x)),
6194
+ `Failed to parse 'CreateChatCompletionGoogle' from JSON`,
6195
+ );
6196
+ }
6197
+
6198
+ /** @internal */
6199
+ export const CreateChatCompletionExtraContent$inboundSchema: z.ZodType<
6200
+ CreateChatCompletionExtraContent,
6201
+ z.ZodTypeDef,
6202
+ unknown
6203
+ > = z.object({
6204
+ google: z.lazy(() => CreateChatCompletionGoogle$inboundSchema).optional(),
6205
+ });
6206
+
6207
+ export function createChatCompletionExtraContentFromJSON(
6208
+ jsonString: string,
6209
+ ): SafeParseResult<CreateChatCompletionExtraContent, SDKValidationError> {
6210
+ return safeParse(
6211
+ jsonString,
6212
+ (x) => CreateChatCompletionExtraContent$inboundSchema.parse(JSON.parse(x)),
6213
+ `Failed to parse 'CreateChatCompletionExtraContent' from JSON`,
6214
+ );
6215
+ }
6216
+
5998
6217
  /** @internal */
5999
6218
  export const CreateChatCompletionToolCalls$inboundSchema: z.ZodType<
6000
6219
  CreateChatCompletionToolCalls,
@@ -6009,9 +6228,12 @@ export const CreateChatCompletionToolCalls$inboundSchema: z.ZodType<
6009
6228
  CreateChatCompletionRouterChatCompletionsFunction$inboundSchema
6010
6229
  ).optional(),
6011
6230
  thought_signature: z.string().optional(),
6231
+ extra_content: z.lazy(() => CreateChatCompletionExtraContent$inboundSchema)
6232
+ .optional(),
6012
6233
  }).transform((v) => {
6013
6234
  return remap$(v, {
6014
6235
  "thought_signature": "thoughtSignature",
6236
+ "extra_content": "extraContent",
6015
6237
  });
6016
6238
  });
6017
6239
 
@@ -93,7 +93,7 @@ export type CreateClassifyRequestBody = {
93
93
  */
94
94
  metadata?: { [k: string]: string } | undefined;
95
95
  /**
96
- * ID of the classify model to use, for example typesafe/jev-latest.
96
+ * ID of the model to use: the native classify model typesafe/jev-latest, or a chat model that supports classify such as anthropic/claude-haiku-4-5, google-ai/gemini-3.8-flash or zai/glm-5.3-flash.
97
97
  */
98
98
  model: string;
99
99
  /**
@@ -120,9 +120,10 @@ export type CreateClassifyResponseBody = {
120
120
  */
121
121
  answers: { [k: string]: components.ClassifyAnswer };
122
122
  /**
123
- * The model that served the request, for example typesafe/jev-latest.
123
+ * The model ID from the request, for example typesafe/jev-latest or google/gemini-3.8-flash.
124
124
  */
125
125
  model: string;
126
+ telemetry?: components.ResponseTelemetry | undefined;
126
127
  usage: components.ClassifyUsage;
127
128
  };
128
129
 
@@ -357,6 +358,7 @@ export const CreateClassifyResponseBody$inboundSchema: z.ZodType<
357
358
  > = z.object({
358
359
  answers: z.record(components.ClassifyAnswer$inboundSchema),
359
360
  model: z.string(),
361
+ telemetry: components.ResponseTelemetry$inboundSchema.optional(),
360
362
  usage: components.ClassifyUsage$inboundSchema,
361
363
  });
362
364
 
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-09-19T13:53:05.334Z",
141
+ "2026-09-21T06:29:15.084Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {