@orq-ai/node 4.16.0-rc.5 → 4.16.0-rc.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.
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
@@ -1126,6 +1126,20 @@ export type GetPromptVersionMessagesFunction = {
1126
1126
  arguments?: string | undefined;
1127
1127
  };
1128
1128
 
1129
+ export type GetPromptVersionMessagesGoogle = {
1130
+ /**
1131
+ * 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.
1132
+ */
1133
+ thoughtSignature?: string | undefined;
1134
+ };
1135
+
1136
+ /**
1137
+ * Provider-specific extra content for the tool call.
1138
+ */
1139
+ export type GetPromptVersionMessagesExtraContent = {
1140
+ google?: GetPromptVersionMessagesGoogle | undefined;
1141
+ };
1142
+
1129
1143
  export type GetPromptVersionMessagesToolCalls = {
1130
1144
  /**
1131
1145
  * The ID of the tool call.
@@ -1140,6 +1154,10 @@ export type GetPromptVersionMessagesToolCalls = {
1140
1154
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
1141
1155
  */
1142
1156
  thoughtSignature?: string | undefined;
1157
+ /**
1158
+ * Provider-specific extra content for the tool call.
1159
+ */
1160
+ extraContent?: GetPromptVersionMessagesExtraContent | undefined;
1143
1161
  };
1144
1162
 
1145
1163
  export type GetPromptVersionMessagesAssistantMessage = {
@@ -2951,6 +2969,49 @@ export function getPromptVersionMessagesFunctionFromJSON(
2951
2969
  );
2952
2970
  }
2953
2971
 
2972
+ /** @internal */
2973
+ export const GetPromptVersionMessagesGoogle$inboundSchema: z.ZodType<
2974
+ GetPromptVersionMessagesGoogle,
2975
+ z.ZodTypeDef,
2976
+ unknown
2977
+ > = z.object({
2978
+ thought_signature: z.string().optional(),
2979
+ }).transform((v) => {
2980
+ return remap$(v, {
2981
+ "thought_signature": "thoughtSignature",
2982
+ });
2983
+ });
2984
+
2985
+ export function getPromptVersionMessagesGoogleFromJSON(
2986
+ jsonString: string,
2987
+ ): SafeParseResult<GetPromptVersionMessagesGoogle, SDKValidationError> {
2988
+ return safeParse(
2989
+ jsonString,
2990
+ (x) => GetPromptVersionMessagesGoogle$inboundSchema.parse(JSON.parse(x)),
2991
+ `Failed to parse 'GetPromptVersionMessagesGoogle' from JSON`,
2992
+ );
2993
+ }
2994
+
2995
+ /** @internal */
2996
+ export const GetPromptVersionMessagesExtraContent$inboundSchema: z.ZodType<
2997
+ GetPromptVersionMessagesExtraContent,
2998
+ z.ZodTypeDef,
2999
+ unknown
3000
+ > = z.object({
3001
+ google: z.lazy(() => GetPromptVersionMessagesGoogle$inboundSchema).optional(),
3002
+ });
3003
+
3004
+ export function getPromptVersionMessagesExtraContentFromJSON(
3005
+ jsonString: string,
3006
+ ): SafeParseResult<GetPromptVersionMessagesExtraContent, SDKValidationError> {
3007
+ return safeParse(
3008
+ jsonString,
3009
+ (x) =>
3010
+ GetPromptVersionMessagesExtraContent$inboundSchema.parse(JSON.parse(x)),
3011
+ `Failed to parse 'GetPromptVersionMessagesExtraContent' from JSON`,
3012
+ );
3013
+ }
3014
+
2954
3015
  /** @internal */
2955
3016
  export const GetPromptVersionMessagesToolCalls$inboundSchema: z.ZodType<
2956
3017
  GetPromptVersionMessagesToolCalls,
@@ -2961,9 +3022,13 @@ export const GetPromptVersionMessagesToolCalls$inboundSchema: z.ZodType<
2961
3022
  type: GetPromptVersionMessagesType$inboundSchema,
2962
3023
  function: z.lazy(() => GetPromptVersionMessagesFunction$inboundSchema),
2963
3024
  thought_signature: z.string().optional(),
3025
+ extra_content: z.lazy(() =>
3026
+ GetPromptVersionMessagesExtraContent$inboundSchema
3027
+ ).optional(),
2964
3028
  }).transform((v) => {
2965
3029
  return remap$(v, {
2966
3030
  "thought_signature": "thoughtSignature",
3031
+ "extra_content": "extraContent",
2967
3032
  });
2968
3033
  });
2969
3034
 
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-09-19T09:45:34.763Z",
143
+ "2026-09-20T18:42:18.531Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-09-19T09:45:34.763Z",
188
+ "2026-09-20T18:42:18.531Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-09-19T09:45:34.763Z",
144
+ "2026-09-20T18:42:18.531Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-09-19T09:45:34.763Z",
189
+ "2026-09-20T18:42:18.531Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -173,6 +173,20 @@ export type ListDatasetDatapointsMessagesFunction = {
173
173
  arguments?: string | undefined;
174
174
  };
175
175
 
176
+ export type ListDatasetDatapointsMessagesGoogle = {
177
+ /**
178
+ * 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.
179
+ */
180
+ thoughtSignature?: string | undefined;
181
+ };
182
+
183
+ /**
184
+ * Provider-specific extra content for the tool call.
185
+ */
186
+ export type ListDatasetDatapointsMessagesExtraContent = {
187
+ google?: ListDatasetDatapointsMessagesGoogle | undefined;
188
+ };
189
+
176
190
  export type ListDatasetDatapointsMessagesToolCalls = {
177
191
  /**
178
192
  * The ID of the tool call.
@@ -187,6 +201,10 @@ export type ListDatasetDatapointsMessagesToolCalls = {
187
201
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
188
202
  */
189
203
  thoughtSignature?: string | undefined;
204
+ /**
205
+ * Provider-specific extra content for the tool call.
206
+ */
207
+ extraContent?: ListDatasetDatapointsMessagesExtraContent | undefined;
190
208
  };
191
209
 
192
210
  export type ListDatasetDatapointsMessagesAssistantMessage = {
@@ -1210,6 +1228,56 @@ export function listDatasetDatapointsMessagesFunctionFromJSON(
1210
1228
  );
1211
1229
  }
1212
1230
 
1231
+ /** @internal */
1232
+ export const ListDatasetDatapointsMessagesGoogle$inboundSchema: z.ZodType<
1233
+ ListDatasetDatapointsMessagesGoogle,
1234
+ z.ZodTypeDef,
1235
+ unknown
1236
+ > = z.object({
1237
+ thought_signature: z.string().optional(),
1238
+ }).transform((v) => {
1239
+ return remap$(v, {
1240
+ "thought_signature": "thoughtSignature",
1241
+ });
1242
+ });
1243
+
1244
+ export function listDatasetDatapointsMessagesGoogleFromJSON(
1245
+ jsonString: string,
1246
+ ): SafeParseResult<ListDatasetDatapointsMessagesGoogle, SDKValidationError> {
1247
+ return safeParse(
1248
+ jsonString,
1249
+ (x) =>
1250
+ ListDatasetDatapointsMessagesGoogle$inboundSchema.parse(JSON.parse(x)),
1251
+ `Failed to parse 'ListDatasetDatapointsMessagesGoogle' from JSON`,
1252
+ );
1253
+ }
1254
+
1255
+ /** @internal */
1256
+ export const ListDatasetDatapointsMessagesExtraContent$inboundSchema: z.ZodType<
1257
+ ListDatasetDatapointsMessagesExtraContent,
1258
+ z.ZodTypeDef,
1259
+ unknown
1260
+ > = z.object({
1261
+ google: z.lazy(() => ListDatasetDatapointsMessagesGoogle$inboundSchema)
1262
+ .optional(),
1263
+ });
1264
+
1265
+ export function listDatasetDatapointsMessagesExtraContentFromJSON(
1266
+ jsonString: string,
1267
+ ): SafeParseResult<
1268
+ ListDatasetDatapointsMessagesExtraContent,
1269
+ SDKValidationError
1270
+ > {
1271
+ return safeParse(
1272
+ jsonString,
1273
+ (x) =>
1274
+ ListDatasetDatapointsMessagesExtraContent$inboundSchema.parse(
1275
+ JSON.parse(x),
1276
+ ),
1277
+ `Failed to parse 'ListDatasetDatapointsMessagesExtraContent' from JSON`,
1278
+ );
1279
+ }
1280
+
1213
1281
  /** @internal */
1214
1282
  export const ListDatasetDatapointsMessagesToolCalls$inboundSchema: z.ZodType<
1215
1283
  ListDatasetDatapointsMessagesToolCalls,
@@ -1220,9 +1288,13 @@ export const ListDatasetDatapointsMessagesToolCalls$inboundSchema: z.ZodType<
1220
1288
  type: ListDatasetDatapointsMessagesType$inboundSchema,
1221
1289
  function: z.lazy(() => ListDatasetDatapointsMessagesFunction$inboundSchema),
1222
1290
  thought_signature: z.string().optional(),
1291
+ extra_content: z.lazy(() =>
1292
+ ListDatasetDatapointsMessagesExtraContent$inboundSchema
1293
+ ).optional(),
1223
1294
  }).transform((v) => {
1224
1295
  return remap$(v, {
1225
1296
  "thought_signature": "thoughtSignature",
1297
+ "extra_content": "extraContent",
1226
1298
  });
1227
1299
  });
1228
1300
 
@@ -1653,7 +1725,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
1653
1725
  explanation: z.string().optional(),
1654
1726
  reviewed_by_id: z.string(),
1655
1727
  reviewed_at: z.string().datetime({ offset: true }).default(
1656
- "2026-09-19T09:45:39.894Z",
1728
+ "2026-09-20T18:42:26.281Z",
1657
1729
  ).transform(v => new Date(v)),
1658
1730
  type: z.literal("string_array"),
1659
1731
  values: z.array(z.string()),
@@ -1749,7 +1821,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1749
1821
  explanation: z.string().optional(),
1750
1822
  reviewed_by_id: z.string(),
1751
1823
  reviewed_at: z.string().datetime({ offset: true }).default(
1752
- "2026-09-19T09:45:39.894Z",
1824
+ "2026-09-20T18:42:26.281Z",
1753
1825
  ).transform(v => new Date(v)),
1754
1826
  type: z.literal("boolean"),
1755
1827
  value: z.boolean(),
@@ -1853,7 +1925,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1853
1925
  explanation: z.string().optional(),
1854
1926
  reviewed_by_id: z.string(),
1855
1927
  reviewed_at: z.string().datetime({ offset: true }).default(
1856
- "2026-09-19T09:45:39.894Z",
1928
+ "2026-09-20T18:42:26.281Z",
1857
1929
  ).transform(v => new Date(v)),
1858
1930
  type: z.literal("number"),
1859
1931
  value: z.number(),
@@ -1959,7 +2031,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1959
2031
  explanation: z.string().optional(),
1960
2032
  reviewed_by_id: z.string(),
1961
2033
  reviewed_at: z.string().datetime({ offset: true }).default(
1962
- "2026-09-19T09:45:39.894Z",
2034
+ "2026-09-20T18:42:26.280Z",
1963
2035
  ).transform(v => new Date(v)),
1964
2036
  type: z.literal("string"),
1965
2037
  value: z.string(),
@@ -2042,7 +2114,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
2042
2114
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2043
2115
  .optional(),
2044
2116
  updated: z.string().datetime({ offset: true }).default(
2045
- "2026-09-19T09:45:34.763Z",
2117
+ "2026-09-20T18:42:18.531Z",
2046
2118
  ).transform(v => new Date(v)),
2047
2119
  }).transform((v) => {
2048
2120
  return remap$(v, {
@@ -176,7 +176,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
176
176
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
177
177
  .optional(),
178
178
  updated: z.string().datetime({ offset: true }).default(
179
- "2026-09-19T09:45:34.763Z",
179
+ "2026-09-20T18:42:18.531Z",
180
180
  ).transform(v => new Date(v)),
181
181
  }).transform((v) => {
182
182
  return remap$(v, {
@@ -1142,6 +1142,20 @@ export type ListPromptVersionsMessagesFunction = {
1142
1142
  arguments?: string | undefined;
1143
1143
  };
1144
1144
 
1145
+ export type ListPromptVersionsMessagesGoogle = {
1146
+ /**
1147
+ * 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.
1148
+ */
1149
+ thoughtSignature?: string | undefined;
1150
+ };
1151
+
1152
+ /**
1153
+ * Provider-specific extra content for the tool call.
1154
+ */
1155
+ export type ListPromptVersionsMessagesExtraContent = {
1156
+ google?: ListPromptVersionsMessagesGoogle | undefined;
1157
+ };
1158
+
1145
1159
  export type ListPromptVersionsMessagesToolCalls = {
1146
1160
  /**
1147
1161
  * The ID of the tool call.
@@ -1156,6 +1170,10 @@ export type ListPromptVersionsMessagesToolCalls = {
1156
1170
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
1157
1171
  */
1158
1172
  thoughtSignature?: string | undefined;
1173
+ /**
1174
+ * Provider-specific extra content for the tool call.
1175
+ */
1176
+ extraContent?: ListPromptVersionsMessagesExtraContent | undefined;
1159
1177
  };
1160
1178
 
1161
1179
  export type ListPromptVersionsMessagesAssistantMessage = {
@@ -2989,6 +3007,50 @@ export function listPromptVersionsMessagesFunctionFromJSON(
2989
3007
  );
2990
3008
  }
2991
3009
 
3010
+ /** @internal */
3011
+ export const ListPromptVersionsMessagesGoogle$inboundSchema: z.ZodType<
3012
+ ListPromptVersionsMessagesGoogle,
3013
+ z.ZodTypeDef,
3014
+ unknown
3015
+ > = z.object({
3016
+ thought_signature: z.string().optional(),
3017
+ }).transform((v) => {
3018
+ return remap$(v, {
3019
+ "thought_signature": "thoughtSignature",
3020
+ });
3021
+ });
3022
+
3023
+ export function listPromptVersionsMessagesGoogleFromJSON(
3024
+ jsonString: string,
3025
+ ): SafeParseResult<ListPromptVersionsMessagesGoogle, SDKValidationError> {
3026
+ return safeParse(
3027
+ jsonString,
3028
+ (x) => ListPromptVersionsMessagesGoogle$inboundSchema.parse(JSON.parse(x)),
3029
+ `Failed to parse 'ListPromptVersionsMessagesGoogle' from JSON`,
3030
+ );
3031
+ }
3032
+
3033
+ /** @internal */
3034
+ export const ListPromptVersionsMessagesExtraContent$inboundSchema: z.ZodType<
3035
+ ListPromptVersionsMessagesExtraContent,
3036
+ z.ZodTypeDef,
3037
+ unknown
3038
+ > = z.object({
3039
+ google: z.lazy(() => ListPromptVersionsMessagesGoogle$inboundSchema)
3040
+ .optional(),
3041
+ });
3042
+
3043
+ export function listPromptVersionsMessagesExtraContentFromJSON(
3044
+ jsonString: string,
3045
+ ): SafeParseResult<ListPromptVersionsMessagesExtraContent, SDKValidationError> {
3046
+ return safeParse(
3047
+ jsonString,
3048
+ (x) =>
3049
+ ListPromptVersionsMessagesExtraContent$inboundSchema.parse(JSON.parse(x)),
3050
+ `Failed to parse 'ListPromptVersionsMessagesExtraContent' from JSON`,
3051
+ );
3052
+ }
3053
+
2992
3054
  /** @internal */
2993
3055
  export const ListPromptVersionsMessagesToolCalls$inboundSchema: z.ZodType<
2994
3056
  ListPromptVersionsMessagesToolCalls,
@@ -2999,9 +3061,13 @@ export const ListPromptVersionsMessagesToolCalls$inboundSchema: z.ZodType<
2999
3061
  type: ListPromptVersionsMessagesType$inboundSchema,
3000
3062
  function: z.lazy(() => ListPromptVersionsMessagesFunction$inboundSchema),
3001
3063
  thought_signature: z.string().optional(),
3064
+ extra_content: z.lazy(() =>
3065
+ ListPromptVersionsMessagesExtraContent$inboundSchema
3066
+ ).optional(),
3002
3067
  }).transform((v) => {
3003
3068
  return remap$(v, {
3004
3069
  "thought_signature": "thoughtSignature",
3070
+ "extra_content": "extraContent",
3005
3071
  });
3006
3072
  });
3007
3073
 
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-09-19T09:45:34.763Z",
321
+ "2026-09-20T18:42:18.531Z",
322
322
  ).transform(v => new Date(v)),
323
323
  filter_type: z.literal("name"),
324
324
  filter_value: z.string(),
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
364
364
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
365
365
  .optional(),
366
366
  updated: z.string().datetime({ offset: true }).default(
367
- "2026-09-19T09:45:34.763Z",
367
+ "2026-09-20T18:42:18.531Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
245
245
  PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
246
246
  .default("orq"),
247
247
  explanation: z.string().optional(),
248
- reviewedAt: z.date().default(() => new Date("2026-09-19T09:45:39.927Z"))
248
+ reviewedAt: z.date().default(() => new Date("2026-09-20T18:42:26.349Z"))
249
249
  .transform(v => v.toISOString()),
250
250
  type: z.literal("string_array"),
251
251
  values: z.array(z.string()),
@@ -299,7 +299,7 @@ export const Three$outboundSchema: z.ZodType<
299
299
  source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
300
300
  .default("orq"),
301
301
  explanation: z.string().optional(),
302
- reviewedAt: z.date().default(() => new Date("2026-09-19T09:45:39.927Z"))
302
+ reviewedAt: z.date().default(() => new Date("2026-09-20T18:42:26.349Z"))
303
303
  .transform(v => v.toISOString()),
304
304
  type: z.literal("boolean"),
305
305
  value: z.boolean(),
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
353
353
  "orq",
354
354
  ),
355
355
  explanation: z.string().optional(),
356
- reviewedAt: z.date().default(() => new Date("2026-09-19T09:45:39.927Z"))
356
+ reviewedAt: z.date().default(() => new Date("2026-09-20T18:42:26.349Z"))
357
357
  .transform(v => v.toISOString()),
358
358
  type: z.literal("number"),
359
359
  value: z.number(),
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
405
405
  humanReviewId: z.string().optional(),
406
406
  source: RequestBodySource$outboundSchema.default("orq"),
407
407
  explanation: z.string().optional(),
408
- reviewedAt: z.date().default(() => new Date("2026-09-19T09:45:39.927Z"))
408
+ reviewedAt: z.date().default(() => new Date("2026-09-20T18:42:26.349Z"))
409
409
  .transform(v => v.toISOString()),
410
410
  type: z.literal("string"),
411
411
  value: z.string(),
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
271
271
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
272
272
  .optional(),
273
273
  updated: z.string().datetime({ offset: true }).default(
274
- "2026-09-19T09:45:34.763Z",
274
+ "2026-09-20T18:42:18.531Z",
275
275
  ).transform(v => new Date(v)),
276
276
  filter_type: z.literal("name"),
277
277
  filter_value: z.string(),
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
316
316
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
317
317
  .optional(),
318
318
  updated: z.string().datetime({ offset: true }).default(
319
- "2026-09-19T09:45:34.763Z",
319
+ "2026-09-20T18:42:18.531Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -158,6 +158,20 @@ export type RetrieveDatapointMessagesFunction = {
158
158
  arguments?: string | undefined;
159
159
  };
160
160
 
161
+ export type RetrieveDatapointMessagesGoogle = {
162
+ /**
163
+ * 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.
164
+ */
165
+ thoughtSignature?: string | undefined;
166
+ };
167
+
168
+ /**
169
+ * Provider-specific extra content for the tool call.
170
+ */
171
+ export type RetrieveDatapointMessagesExtraContent = {
172
+ google?: RetrieveDatapointMessagesGoogle | undefined;
173
+ };
174
+
161
175
  export type RetrieveDatapointMessagesToolCalls = {
162
176
  /**
163
177
  * The ID of the tool call.
@@ -172,6 +186,10 @@ export type RetrieveDatapointMessagesToolCalls = {
172
186
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
173
187
  */
174
188
  thoughtSignature?: string | undefined;
189
+ /**
190
+ * Provider-specific extra content for the tool call.
191
+ */
192
+ extraContent?: RetrieveDatapointMessagesExtraContent | undefined;
175
193
  };
176
194
 
177
195
  export type RetrieveDatapointMessagesAssistantMessage = {
@@ -1154,6 +1172,50 @@ export function retrieveDatapointMessagesFunctionFromJSON(
1154
1172
  );
1155
1173
  }
1156
1174
 
1175
+ /** @internal */
1176
+ export const RetrieveDatapointMessagesGoogle$inboundSchema: z.ZodType<
1177
+ RetrieveDatapointMessagesGoogle,
1178
+ z.ZodTypeDef,
1179
+ unknown
1180
+ > = z.object({
1181
+ thought_signature: z.string().optional(),
1182
+ }).transform((v) => {
1183
+ return remap$(v, {
1184
+ "thought_signature": "thoughtSignature",
1185
+ });
1186
+ });
1187
+
1188
+ export function retrieveDatapointMessagesGoogleFromJSON(
1189
+ jsonString: string,
1190
+ ): SafeParseResult<RetrieveDatapointMessagesGoogle, SDKValidationError> {
1191
+ return safeParse(
1192
+ jsonString,
1193
+ (x) => RetrieveDatapointMessagesGoogle$inboundSchema.parse(JSON.parse(x)),
1194
+ `Failed to parse 'RetrieveDatapointMessagesGoogle' from JSON`,
1195
+ );
1196
+ }
1197
+
1198
+ /** @internal */
1199
+ export const RetrieveDatapointMessagesExtraContent$inboundSchema: z.ZodType<
1200
+ RetrieveDatapointMessagesExtraContent,
1201
+ z.ZodTypeDef,
1202
+ unknown
1203
+ > = z.object({
1204
+ google: z.lazy(() => RetrieveDatapointMessagesGoogle$inboundSchema)
1205
+ .optional(),
1206
+ });
1207
+
1208
+ export function retrieveDatapointMessagesExtraContentFromJSON(
1209
+ jsonString: string,
1210
+ ): SafeParseResult<RetrieveDatapointMessagesExtraContent, SDKValidationError> {
1211
+ return safeParse(
1212
+ jsonString,
1213
+ (x) =>
1214
+ RetrieveDatapointMessagesExtraContent$inboundSchema.parse(JSON.parse(x)),
1215
+ `Failed to parse 'RetrieveDatapointMessagesExtraContent' from JSON`,
1216
+ );
1217
+ }
1218
+
1157
1219
  /** @internal */
1158
1220
  export const RetrieveDatapointMessagesToolCalls$inboundSchema: z.ZodType<
1159
1221
  RetrieveDatapointMessagesToolCalls,
@@ -1164,9 +1226,13 @@ export const RetrieveDatapointMessagesToolCalls$inboundSchema: z.ZodType<
1164
1226
  type: RetrieveDatapointMessagesType$inboundSchema,
1165
1227
  function: z.lazy(() => RetrieveDatapointMessagesFunction$inboundSchema),
1166
1228
  thought_signature: z.string().optional(),
1229
+ extra_content: z.lazy(() =>
1230
+ RetrieveDatapointMessagesExtraContent$inboundSchema
1231
+ ).optional(),
1167
1232
  }).transform((v) => {
1168
1233
  return remap$(v, {
1169
1234
  "thought_signature": "thoughtSignature",
1235
+ "extra_content": "extraContent",
1170
1236
  });
1171
1237
  });
1172
1238
 
@@ -1585,7 +1651,7 @@ export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
1585
1651
  explanation: z.string().optional(),
1586
1652
  reviewed_by_id: z.string(),
1587
1653
  reviewed_at: z.string().datetime({ offset: true }).default(
1588
- "2026-09-19T09:45:39.896Z",
1654
+ "2026-09-20T18:42:26.289Z",
1589
1655
  ).transform(v => new Date(v)),
1590
1656
  type: z.literal("string_array"),
1591
1657
  values: z.array(z.string()),
@@ -1685,7 +1751,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
1685
1751
  explanation: z.string().optional(),
1686
1752
  reviewed_by_id: z.string(),
1687
1753
  reviewed_at: z.string().datetime({ offset: true }).default(
1688
- "2026-09-19T09:45:39.896Z",
1754
+ "2026-09-20T18:42:26.288Z",
1689
1755
  ).transform(v => new Date(v)),
1690
1756
  type: z.literal("boolean"),
1691
1757
  value: z.boolean(),
@@ -1783,7 +1849,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
1783
1849
  explanation: z.string().optional(),
1784
1850
  reviewed_by_id: z.string(),
1785
1851
  reviewed_at: z.string().datetime({ offset: true }).default(
1786
- "2026-09-19T09:45:39.896Z",
1852
+ "2026-09-20T18:42:26.288Z",
1787
1853
  ).transform(v => new Date(v)),
1788
1854
  type: z.literal("number"),
1789
1855
  value: z.number(),
@@ -1871,7 +1937,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
1871
1937
  explanation: z.string().optional(),
1872
1938
  reviewed_by_id: z.string(),
1873
1939
  reviewed_at: z.string().datetime({ offset: true }).default(
1874
- "2026-09-19T09:45:39.896Z",
1940
+ "2026-09-20T18:42:26.288Z",
1875
1941
  ).transform(v => new Date(v)),
1876
1942
  type: z.literal("string"),
1877
1943
  value: z.string(),
@@ -1952,7 +2018,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
1952
2018
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1953
2019
  .optional(),
1954
2020
  updated: z.string().datetime({ offset: true }).default(
1955
- "2026-09-19T09:45:34.763Z",
2021
+ "2026-09-20T18:42:18.531Z",
1956
2022
  ).transform(v => new Date(v)),
1957
2023
  }).transform((v) => {
1958
2024
  return remap$(v, {
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
126
126
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
127
127
  .optional(),
128
128
  updated: z.string().datetime({ offset: true }).default(
129
- "2026-09-19T09:45:34.763Z",
129
+ "2026-09-20T18:42:18.531Z",
130
130
  ).transform(v => new Date(v)),
131
131
  }).transform((v) => {
132
132
  return remap$(v, {
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
624
624
  z.ZodTypeDef,
625
625
  unknown
626
626
  > = z.object({
627
- _id: z.string().default("tool_01M2WGX99GF5N47ME7XEY653J9"),
627
+ _id: z.string().default("tool_01M3020VTVNW9WPBXZ34YCTV3D"),
628
628
  path: z.string(),
629
629
  key: z.string(),
630
630
  display_name: z.string().optional(),
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
820
820
  z.ZodTypeDef,
821
821
  unknown
822
822
  > = z.object({
823
- _id: z.string().default("tool_01M2WGX99GRASCPYKM9FWQ94AX"),
823
+ _id: z.string().default("tool_01M3020VTTW26MET8Y617ZQTKB"),
824
824
  path: z.string(),
825
825
  key: z.string(),
826
826
  display_name: z.string().optional(),
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
916
916
  z.ZodTypeDef,
917
917
  unknown
918
918
  > = z.object({
919
- _id: z.string().default("tool_01M2WGX99F554AH3VNYDR4XJ2K"),
919
+ _id: z.string().default("tool_01M3020VTSKMNCEM95K8MVGV8V"),
920
920
  path: z.string(),
921
921
  key: z.string(),
922
922
  display_name: z.string().optional(),
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1022
1022
  z.ZodTypeDef,
1023
1023
  unknown
1024
1024
  > = z.object({
1025
- _id: z.string().default("tool_01M2WGX99FRGDHEZ906YBDZJCY"),
1025
+ _id: z.string().default("tool_01M3020VTRYGCGD8B5CGJDFJVC"),
1026
1026
  path: z.string(),
1027
1027
  key: z.string(),
1028
1028
  display_name: z.string().optional(),
@@ -3890,7 +3890,7 @@ export const Tools$outboundSchema: z.ZodType<
3890
3890
  z.ZodTypeDef,
3891
3891
  Tools
3892
3892
  > = z.object({
3893
- id: z.string().default("01M2WGX97ZQCH78AXJ84DT0D2H"),
3893
+ id: z.string().default("01M3020VQBD65F4WXMEX4TKQJS"),
3894
3894
  name: z.string(),
3895
3895
  description: z.string().optional(),
3896
3896
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -3949,7 +3949,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3949
3949
  z.ZodTypeDef,
3950
3950
  AgentToolInputRunTools
3951
3951
  > = z.object({
3952
- id: z.string().default("01M2WGX98ASC3V8F6FM2X43W2Y"),
3952
+ id: z.string().default("01M3020VR5SAPT9ZQFAJ5H303H"),
3953
3953
  name: z.string(),
3954
3954
  description: z.string().optional(),
3955
3955
  schema: z.lazy(() =>