@orq-ai/node 4.0.0-rc.5 → 4.0.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 (154) hide show
  1. package/bin/mcp-server.js +7487 -543
  2. package/bin/mcp-server.js.map +52 -52
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createagent.d.ts +4141 -865
  10. package/models/operations/createagent.d.ts.map +1 -1
  11. package/models/operations/createagent.js +3767 -768
  12. package/models/operations/createagent.js.map +1 -1
  13. package/models/operations/createbudget.js +2 -2
  14. package/models/operations/createcontact.js +2 -2
  15. package/models/operations/createdataset.js +2 -2
  16. package/models/operations/createdatasetitem.js +8 -8
  17. package/models/operations/createdatasource.js +2 -2
  18. package/models/operations/createeval.js +28 -28
  19. package/models/operations/creatememorystore.d.ts +42 -42
  20. package/models/operations/creatememorystore.d.ts.map +1 -1
  21. package/models/operations/creatememorystore.js +61 -63
  22. package/models/operations/creatememorystore.js.map +1 -1
  23. package/models/operations/createprompt.d.ts +263 -263
  24. package/models/operations/createprompt.d.ts.map +1 -1
  25. package/models/operations/createprompt.js +345 -345
  26. package/models/operations/createprompt.js.map +1 -1
  27. package/models/operations/createtool.js +10 -10
  28. package/models/operations/deploymentgetconfig.d.ts +19 -19
  29. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  30. package/models/operations/deploymentgetconfig.js +22 -22
  31. package/models/operations/deploymentgetconfig.js.map +1 -1
  32. package/models/operations/deployments.d.ts +4 -4
  33. package/models/operations/deployments.d.ts.map +1 -1
  34. package/models/operations/deployments.js +4 -4
  35. package/models/operations/deployments.js.map +1 -1
  36. package/models/operations/duplicatetool.js +10 -10
  37. package/models/operations/fileget.js +2 -2
  38. package/models/operations/filelist.js +2 -2
  39. package/models/operations/fileupload.js +2 -2
  40. package/models/operations/getagent.d.ts +1614 -11
  41. package/models/operations/getagent.d.ts.map +1 -1
  42. package/models/operations/getagent.js +1475 -9
  43. package/models/operations/getagent.js.map +1 -1
  44. package/models/operations/getallprompts.d.ts +4 -4
  45. package/models/operations/getallprompts.d.ts.map +1 -1
  46. package/models/operations/getallprompts.js +4 -4
  47. package/models/operations/getallprompts.js.map +1 -1
  48. package/models/operations/getalltools.js +10 -10
  49. package/models/operations/getbudget.js +2 -2
  50. package/models/operations/getevals.js +28 -28
  51. package/models/operations/getoneprompt.d.ts +4 -4
  52. package/models/operations/getoneprompt.d.ts.map +1 -1
  53. package/models/operations/getoneprompt.js +4 -4
  54. package/models/operations/getoneprompt.js.map +1 -1
  55. package/models/operations/getpromptversion.d.ts +4 -4
  56. package/models/operations/getpromptversion.d.ts.map +1 -1
  57. package/models/operations/getpromptversion.js +4 -4
  58. package/models/operations/getpromptversion.js.map +1 -1
  59. package/models/operations/listagents.d.ts +1614 -11
  60. package/models/operations/listagents.d.ts.map +1 -1
  61. package/models/operations/listagents.js +1481 -9
  62. package/models/operations/listagents.js.map +1 -1
  63. package/models/operations/listagenttasks.d.ts +1614 -11
  64. package/models/operations/listagenttasks.d.ts.map +1 -1
  65. package/models/operations/listagenttasks.js +1479 -9
  66. package/models/operations/listagenttasks.js.map +1 -1
  67. package/models/operations/listbudgets.js +2 -2
  68. package/models/operations/listcontacts.js +2 -2
  69. package/models/operations/listdatasetdatapoints.js +8 -8
  70. package/models/operations/listdatasets.js +2 -2
  71. package/models/operations/listdatasources.js +2 -2
  72. package/models/operations/listpromptversions.d.ts +4 -4
  73. package/models/operations/listpromptversions.d.ts.map +1 -1
  74. package/models/operations/listpromptversions.js +4 -4
  75. package/models/operations/listpromptversions.js.map +1 -1
  76. package/models/operations/retrievecontact.js +2 -2
  77. package/models/operations/retrievedatapoint.js +8 -8
  78. package/models/operations/retrievedataset.js +2 -2
  79. package/models/operations/retrievedatasource.js +2 -2
  80. package/models/operations/retrievetool.js +10 -10
  81. package/models/operations/runagent.d.ts +2176 -503
  82. package/models/operations/runagent.d.ts.map +1 -1
  83. package/models/operations/runagent.js +1534 -9
  84. package/models/operations/runagent.js.map +1 -1
  85. package/models/operations/streamrunagent.d.ts +2128 -455
  86. package/models/operations/streamrunagent.d.ts.map +1 -1
  87. package/models/operations/streamrunagent.js +1630 -89
  88. package/models/operations/streamrunagent.js.map +1 -1
  89. package/models/operations/updateagent.d.ts +4129 -853
  90. package/models/operations/updateagent.d.ts.map +1 -1
  91. package/models/operations/updateagent.js +3837 -825
  92. package/models/operations/updateagent.js.map +1 -1
  93. package/models/operations/updatebudget.js +2 -2
  94. package/models/operations/updatecontact.js +2 -2
  95. package/models/operations/updatedatapoint.js +8 -8
  96. package/models/operations/updatedataset.js +2 -2
  97. package/models/operations/updatedatasource.js +2 -2
  98. package/models/operations/updateeval.js +28 -28
  99. package/models/operations/updateprompt.d.ts +8 -8
  100. package/models/operations/updateprompt.d.ts.map +1 -1
  101. package/models/operations/updateprompt.js +8 -8
  102. package/models/operations/updateprompt.js.map +1 -1
  103. package/models/operations/updatetool.js +10 -10
  104. package/package.json +1 -1
  105. package/src/lib/config.ts +2 -2
  106. package/src/mcp-server/mcp-server.ts +1 -1
  107. package/src/mcp-server/server.ts +1 -1
  108. package/src/models/operations/createagent.ts +7853 -1626
  109. package/src/models/operations/createbudget.ts +2 -2
  110. package/src/models/operations/createcontact.ts +2 -2
  111. package/src/models/operations/createdataset.ts +2 -2
  112. package/src/models/operations/createdatasetitem.ts +8 -8
  113. package/src/models/operations/createdatasource.ts +2 -2
  114. package/src/models/operations/createeval.ts +28 -28
  115. package/src/models/operations/creatememorystore.ts +120 -103
  116. package/src/models/operations/createprompt.ts +742 -621
  117. package/src/models/operations/createtool.ts +10 -10
  118. package/src/models/operations/deploymentgetconfig.ts +60 -44
  119. package/src/models/operations/deployments.ts +25 -20
  120. package/src/models/operations/duplicatetool.ts +10 -10
  121. package/src/models/operations/fileget.ts +2 -2
  122. package/src/models/operations/filelist.ts +2 -2
  123. package/src/models/operations/fileupload.ts +2 -2
  124. package/src/models/operations/getagent.ts +3274 -246
  125. package/src/models/operations/getallprompts.ts +30 -20
  126. package/src/models/operations/getalltools.ts +10 -10
  127. package/src/models/operations/getbudget.ts +2 -2
  128. package/src/models/operations/getevals.ts +28 -28
  129. package/src/models/operations/getoneprompt.ts +28 -20
  130. package/src/models/operations/getpromptversion.ts +30 -20
  131. package/src/models/operations/listagents.ts +3351 -270
  132. package/src/models/operations/listagenttasks.ts +3347 -180
  133. package/src/models/operations/listbudgets.ts +2 -2
  134. package/src/models/operations/listcontacts.ts +2 -2
  135. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  136. package/src/models/operations/listdatasets.ts +2 -2
  137. package/src/models/operations/listdatasources.ts +2 -2
  138. package/src/models/operations/listpromptversions.ts +30 -20
  139. package/src/models/operations/retrievecontact.ts +2 -2
  140. package/src/models/operations/retrievedatapoint.ts +8 -8
  141. package/src/models/operations/retrievedataset.ts +2 -2
  142. package/src/models/operations/retrievedatasource.ts +2 -2
  143. package/src/models/operations/retrievetool.ts +10 -10
  144. package/src/models/operations/runagent.ts +3799 -610
  145. package/src/models/operations/streamrunagent.ts +3945 -605
  146. package/src/models/operations/updateagent.ts +8331 -1757
  147. package/src/models/operations/updatebudget.ts +2 -2
  148. package/src/models/operations/updatecontact.ts +2 -2
  149. package/src/models/operations/updatedatapoint.ts +8 -8
  150. package/src/models/operations/updatedataset.ts +2 -2
  151. package/src/models/operations/updatedatasource.ts +2 -2
  152. package/src/models/operations/updateeval.ts +28 -28
  153. package/src/models/operations/updateprompt.ts +58 -40
  154. package/src/models/operations/updatetool.ts +10 -10
@@ -444,7 +444,7 @@ export type GetAllPromptsContent2 =
444
444
  | GetAllPrompts23;
445
445
 
446
446
  /**
447
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
447
+ * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
448
448
  */
449
449
  export type GetAllPromptsContent =
450
450
  | string
@@ -478,9 +478,12 @@ export type GetAllPromptsMessages = {
478
478
  */
479
479
  role: GetAllPromptsRole;
480
480
  /**
481
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
481
+ * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
482
482
  */
483
- content: string | Array<GetAllPrompts21 | GetAllPrompts22 | GetAllPrompts23>;
483
+ content:
484
+ | string
485
+ | Array<GetAllPrompts21 | GetAllPrompts22 | GetAllPrompts23>
486
+ | null;
484
487
  toolCalls?: Array<GetAllPromptsToolCalls> | undefined;
485
488
  toolCallId?: string | undefined;
486
489
  };
@@ -2116,14 +2119,16 @@ export const GetAllPromptsMessages$inboundSchema: z.ZodType<
2116
2119
  unknown
2117
2120
  > = z.object({
2118
2121
  role: GetAllPromptsRole$inboundSchema,
2119
- content: z.union([
2120
- z.string(),
2121
- z.array(z.union([
2122
- z.lazy(() => GetAllPrompts21$inboundSchema),
2123
- z.lazy(() => GetAllPrompts22$inboundSchema),
2124
- z.lazy(() => GetAllPrompts23$inboundSchema),
2125
- ])),
2126
- ]),
2122
+ content: z.nullable(
2123
+ z.union([
2124
+ z.string(),
2125
+ z.array(z.union([
2126
+ z.lazy(() => GetAllPrompts21$inboundSchema),
2127
+ z.lazy(() => GetAllPrompts22$inboundSchema),
2128
+ z.lazy(() => GetAllPrompts23$inboundSchema),
2129
+ ])),
2130
+ ]),
2131
+ ),
2127
2132
  tool_calls: z.array(z.lazy(() => GetAllPromptsToolCalls$inboundSchema))
2128
2133
  .optional(),
2129
2134
  tool_call_id: z.string().optional(),
@@ -2143,7 +2148,8 @@ export type GetAllPromptsMessages$Outbound = {
2143
2148
  | GetAllPrompts21$Outbound
2144
2149
  | GetAllPrompts22$Outbound
2145
2150
  | GetAllPrompts23$Outbound
2146
- >;
2151
+ >
2152
+ | null;
2147
2153
  tool_calls?: Array<GetAllPromptsToolCalls$Outbound> | undefined;
2148
2154
  tool_call_id?: string | undefined;
2149
2155
  };
@@ -2155,14 +2161,18 @@ export const GetAllPromptsMessages$outboundSchema: z.ZodType<
2155
2161
  GetAllPromptsMessages
2156
2162
  > = z.object({
2157
2163
  role: GetAllPromptsRole$outboundSchema,
2158
- content: z.union([
2159
- z.string(),
2160
- z.array(z.union([
2161
- z.lazy(() => GetAllPrompts21$outboundSchema),
2162
- z.lazy(() => GetAllPrompts22$outboundSchema),
2163
- z.lazy(() => GetAllPrompts23$outboundSchema),
2164
- ])),
2165
- ]),
2164
+ content: z.nullable(
2165
+ z.union([
2166
+ z.string(),
2167
+ z.array(
2168
+ z.union([
2169
+ z.lazy(() => GetAllPrompts21$outboundSchema),
2170
+ z.lazy(() => GetAllPrompts22$outboundSchema),
2171
+ z.lazy(() => GetAllPrompts23$outboundSchema),
2172
+ ]),
2173
+ ),
2174
+ ]),
2175
+ ),
2166
2176
  toolCalls: z.array(z.lazy(() => GetAllPromptsToolCalls$outboundSchema))
2167
2177
  .optional(),
2168
2178
  toolCallId: z.string().optional(),
@@ -793,7 +793,7 @@ export function dataCodeToolFromJSON(
793
793
  /** @internal */
794
794
  export const Data5$inboundSchema: z.ZodType<Data5, z.ZodTypeDef, unknown> = z
795
795
  .object({
796
- _id: z.string().default("01K975TAQYKH9ZCZTZY9N31G63"),
796
+ _id: z.string().default("01K97GV6D74B4MZXR77ND6PDR6"),
797
797
  path: z.string(),
798
798
  key: z.string(),
799
799
  display_name: z.string().optional(),
@@ -846,7 +846,7 @@ export const Data5$outboundSchema: z.ZodType<
846
846
  z.ZodTypeDef,
847
847
  Data5
848
848
  > = z.object({
849
- id: z.string().default("01K975TAQYKH9ZCZTZY9N31G63"),
849
+ id: z.string().default("01K97GV6D74B4MZXR77ND6PDR6"),
850
850
  path: z.string(),
851
851
  key: z.string(),
852
852
  displayName: z.string().optional(),
@@ -1189,7 +1189,7 @@ export function dataMcpFromJSON(
1189
1189
  /** @internal */
1190
1190
  export const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown> = z
1191
1191
  .object({
1192
- _id: z.string().default("01K975TAQQQ1TQ16MBDWXD4HMQ"),
1192
+ _id: z.string().default("01K97GV6D5ZV1TH000C78PWTY3"),
1193
1193
  path: z.string(),
1194
1194
  key: z.string(),
1195
1195
  display_name: z.string().optional(),
@@ -1241,7 +1241,7 @@ export const Data4$outboundSchema: z.ZodType<
1241
1241
  z.ZodTypeDef,
1242
1242
  Data4
1243
1243
  > = z.object({
1244
- id: z.string().default("01K975TAQQQ1TQ16MBDWXD4HMQ"),
1244
+ id: z.string().default("01K97GV6D5ZV1TH000C78PWTY3"),
1245
1245
  path: z.string(),
1246
1246
  key: z.string(),
1247
1247
  displayName: z.string().optional(),
@@ -1624,7 +1624,7 @@ export function getAllToolsDataHttpFromJSON(
1624
1624
  /** @internal */
1625
1625
  export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
1626
1626
  .object({
1627
- _id: z.string().default("01K975TAQJM7Q555HFMKHMY9XR"),
1627
+ _id: z.string().default("01K97GV6D36F8HH28CS4YF7GYZ"),
1628
1628
  path: z.string(),
1629
1629
  key: z.string(),
1630
1630
  display_name: z.string().optional(),
@@ -1676,7 +1676,7 @@ export const Data3$outboundSchema: z.ZodType<
1676
1676
  z.ZodTypeDef,
1677
1677
  Data3
1678
1678
  > = z.object({
1679
- id: z.string().default("01K975TAQJM7Q555HFMKHMY9XR"),
1679
+ id: z.string().default("01K97GV6D36F8HH28CS4YF7GYZ"),
1680
1680
  path: z.string(),
1681
1681
  key: z.string(),
1682
1682
  displayName: z.string().optional(),
@@ -1834,7 +1834,7 @@ export function dataJsonSchemaFromJSON(
1834
1834
  /** @internal */
1835
1835
  export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
1836
1836
  .object({
1837
- _id: z.string().default("01K975TAQG93Y4HW9MT8DBAWVZ"),
1837
+ _id: z.string().default("01K97GV6D1B0DBPAD3KCG42RKW"),
1838
1838
  path: z.string(),
1839
1839
  key: z.string(),
1840
1840
  display_name: z.string().optional(),
@@ -1887,7 +1887,7 @@ export const Data2$outboundSchema: z.ZodType<
1887
1887
  z.ZodTypeDef,
1888
1888
  Data2
1889
1889
  > = z.object({
1890
- id: z.string().default("01K975TAQG93Y4HW9MT8DBAWVZ"),
1890
+ id: z.string().default("01K97GV6D1B0DBPAD3KCG42RKW"),
1891
1891
  path: z.string(),
1892
1892
  key: z.string(),
1893
1893
  displayName: z.string().optional(),
@@ -2048,7 +2048,7 @@ export function getAllToolsDataFunctionFromJSON(
2048
2048
  /** @internal */
2049
2049
  export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
2050
2050
  .object({
2051
- _id: z.string().default("01K975TAQEMT7B6CREJR7656FE"),
2051
+ _id: z.string().default("01K97GV6CZS66NRJF65192BP82"),
2052
2052
  path: z.string(),
2053
2053
  key: z.string(),
2054
2054
  display_name: z.string().optional(),
@@ -2100,7 +2100,7 @@ export const Data1$outboundSchema: z.ZodType<
2100
2100
  z.ZodTypeDef,
2101
2101
  Data1
2102
2102
  > = z.object({
2103
- id: z.string().default("01K975TAQEMT7B6CREJR7656FE"),
2103
+ id: z.string().default("01K97GV6CZS66NRJF65192BP82"),
2104
2104
  path: z.string(),
2105
2105
  key: z.string(),
2106
2106
  displayName: z.string().optional(),
@@ -360,7 +360,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
360
360
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
361
361
  .optional(),
362
362
  updated: z.string().datetime({ offset: true }).default(
363
- "2025-11-04T10:15:08.760Z",
363
+ "2025-11-04T13:27:51.444Z",
364
364
  ).transform(v => new Date(v)),
365
365
  }).transform((v) => {
366
366
  return remap$(v, {
@@ -398,7 +398,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
398
398
  isActive: z.boolean(),
399
399
  consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
400
400
  created: z.date().transform(v => v.toISOString()).optional(),
401
- updated: z.date().default(() => new Date("2025-11-04T10:15:08.760Z"))
401
+ updated: z.date().default(() => new Date("2025-11-04T13:27:51.444Z"))
402
402
  .transform(v => v.toISOString()),
403
403
  }).transform((v) => {
404
404
  return remap$(v, {
@@ -1554,8 +1554,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
1554
1554
  > = z.object({
1555
1555
  _id: z.string(),
1556
1556
  description: z.string(),
1557
- created: z.string().default("2025-11-04T10:15:11.175Z"),
1558
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
1557
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
1558
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
1559
1559
  guardrail_config: z.union([
1560
1560
  z.lazy(() =>
1561
1561
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -1597,8 +1597,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
1597
1597
  > = z.object({
1598
1598
  id: z.string(),
1599
1599
  description: z.string(),
1600
- created: z.string().default("2025-11-04T10:15:11.175Z"),
1601
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
1600
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
1601
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
1602
1602
  guardrailConfig: z.union([
1603
1603
  z.lazy(() =>
1604
1604
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -1996,8 +1996,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1996
1996
  > = z.object({
1997
1997
  _id: z.string(),
1998
1998
  description: z.string(),
1999
- created: z.string().default("2025-11-04T10:15:11.175Z"),
2000
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
1999
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
2000
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
2001
2001
  guardrail_config: z.union([
2002
2002
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
2003
2003
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
@@ -2038,8 +2038,8 @@ export const DataRagas$outboundSchema: z.ZodType<
2038
2038
  > = z.object({
2039
2039
  id: z.string(),
2040
2040
  description: z.string(),
2041
- created: z.string().default("2025-11-04T10:15:11.175Z"),
2042
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
2041
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
2042
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
2043
2043
  guardrailConfig: z.union([
2044
2044
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
2045
2045
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
@@ -5506,8 +5506,8 @@ export const DataFunction$inboundSchema: z.ZodType<
5506
5506
  > = z.object({
5507
5507
  _id: z.string(),
5508
5508
  description: z.string(),
5509
- created: z.string().default("2025-11-04T10:15:11.175Z"),
5510
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
5509
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
5510
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
5511
5511
  guardrail_config: z.union([
5512
5512
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
5513
5513
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -5617,8 +5617,8 @@ export const DataFunction$outboundSchema: z.ZodType<
5617
5617
  > = z.object({
5618
5618
  id: z.string(),
5619
5619
  description: z.string(),
5620
- created: z.string().default("2025-11-04T10:15:11.175Z"),
5621
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
5620
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
5621
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
5622
5622
  guardrailConfig: z.union([
5623
5623
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
5624
5624
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -6000,8 +6000,8 @@ export const DataPython$inboundSchema: z.ZodType<
6000
6000
  > = z.object({
6001
6001
  _id: z.string(),
6002
6002
  description: z.string(),
6003
- created: z.string().default("2025-11-04T10:15:11.175Z"),
6004
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
6003
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
6004
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
6005
6005
  guardrail_config: z.union([
6006
6006
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
6007
6007
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -6039,8 +6039,8 @@ export const DataPython$outboundSchema: z.ZodType<
6039
6039
  > = z.object({
6040
6040
  id: z.string(),
6041
6041
  description: z.string(),
6042
- created: z.string().default("2025-11-04T10:15:11.175Z"),
6043
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
6042
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
6043
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
6044
6044
  guardrailConfig: z.union([
6045
6045
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
6046
6046
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
@@ -6386,8 +6386,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
6386
6386
  > = z.object({
6387
6387
  _id: z.string(),
6388
6388
  description: z.string(),
6389
- created: z.string().default("2025-11-04T10:15:11.175Z"),
6390
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
6389
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
6390
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
6391
6391
  guardrail_config: z.union([
6392
6392
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
6393
6393
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -6431,8 +6431,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
6431
6431
  > = z.object({
6432
6432
  id: z.string(),
6433
6433
  description: z.string(),
6434
- created: z.string().default("2025-11-04T10:15:11.175Z"),
6435
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
6434
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
6435
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
6436
6436
  guardrailConfig: z.union([
6437
6437
  z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
6438
6438
  z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
@@ -6795,8 +6795,8 @@ export const DataJSON$inboundSchema: z.ZodType<
6795
6795
  > = z.object({
6796
6796
  _id: z.string(),
6797
6797
  description: z.string(),
6798
- created: z.string().default("2025-11-04T10:15:11.175Z"),
6799
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
6798
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
6799
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
6800
6800
  guardrail_config: z.union([
6801
6801
  z.lazy(() =>
6802
6802
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
@@ -6838,8 +6838,8 @@ export const DataJSON$outboundSchema: z.ZodType<
6838
6838
  > = z.object({
6839
6839
  id: z.string(),
6840
6840
  description: z.string(),
6841
- created: z.string().default("2025-11-04T10:15:11.175Z"),
6842
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
6841
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
6842
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
6843
6843
  guardrailConfig: z.union([
6844
6844
  z.lazy(() =>
6845
6845
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
@@ -7227,8 +7227,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
7227
7227
  z.object({
7228
7228
  _id: z.string(),
7229
7229
  description: z.string(),
7230
- created: z.string().default("2025-11-04T10:15:11.175Z"),
7231
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
7230
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
7231
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
7232
7232
  guardrail_config: z.union([
7233
7233
  z.lazy(() =>
7234
7234
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -7273,8 +7273,8 @@ export const DataLLM$outboundSchema: z.ZodType<
7273
7273
  > = z.object({
7274
7274
  id: z.string(),
7275
7275
  description: z.string(),
7276
- created: z.string().default("2025-11-04T10:15:11.175Z"),
7277
- updated: z.string().default("2025-11-04T10:15:11.175Z"),
7276
+ created: z.string().default("2025-11-04T13:27:53.661Z"),
7277
+ updated: z.string().default("2025-11-04T13:27:53.661Z"),
7278
7278
  guardrailConfig: z.union([
7279
7279
  z.lazy(() =>
7280
7280
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -431,7 +431,7 @@ export type GetOnePromptContent2 =
431
431
  | GetOnePrompt23;
432
432
 
433
433
  /**
434
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
434
+ * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
435
435
  */
436
436
  export type GetOnePromptContent =
437
437
  | string
@@ -465,9 +465,12 @@ export type GetOnePromptMessages = {
465
465
  */
466
466
  role: GetOnePromptRole;
467
467
  /**
468
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
468
+ * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
469
469
  */
470
- content: string | Array<GetOnePrompt21 | GetOnePrompt22 | GetOnePrompt23>;
470
+ content:
471
+ | string
472
+ | Array<GetOnePrompt21 | GetOnePrompt22 | GetOnePrompt23>
473
+ | null;
471
474
  toolCalls?: Array<GetOnePromptToolCalls> | undefined;
472
475
  toolCallId?: string | undefined;
473
476
  };
@@ -2042,14 +2045,16 @@ export const GetOnePromptMessages$inboundSchema: z.ZodType<
2042
2045
  unknown
2043
2046
  > = z.object({
2044
2047
  role: GetOnePromptRole$inboundSchema,
2045
- content: z.union([
2046
- z.string(),
2047
- z.array(z.union([
2048
- z.lazy(() => GetOnePrompt21$inboundSchema),
2049
- z.lazy(() => GetOnePrompt22$inboundSchema),
2050
- z.lazy(() => GetOnePrompt23$inboundSchema),
2051
- ])),
2052
- ]),
2048
+ content: z.nullable(
2049
+ z.union([
2050
+ z.string(),
2051
+ z.array(z.union([
2052
+ z.lazy(() => GetOnePrompt21$inboundSchema),
2053
+ z.lazy(() => GetOnePrompt22$inboundSchema),
2054
+ z.lazy(() => GetOnePrompt23$inboundSchema),
2055
+ ])),
2056
+ ]),
2057
+ ),
2053
2058
  tool_calls: z.array(z.lazy(() => GetOnePromptToolCalls$inboundSchema))
2054
2059
  .optional(),
2055
2060
  tool_call_id: z.string().optional(),
@@ -2069,7 +2074,8 @@ export type GetOnePromptMessages$Outbound = {
2069
2074
  | GetOnePrompt21$Outbound
2070
2075
  | GetOnePrompt22$Outbound
2071
2076
  | GetOnePrompt23$Outbound
2072
- >;
2077
+ >
2078
+ | null;
2073
2079
  tool_calls?: Array<GetOnePromptToolCalls$Outbound> | undefined;
2074
2080
  tool_call_id?: string | undefined;
2075
2081
  };
@@ -2081,14 +2087,16 @@ export const GetOnePromptMessages$outboundSchema: z.ZodType<
2081
2087
  GetOnePromptMessages
2082
2088
  > = z.object({
2083
2089
  role: GetOnePromptRole$outboundSchema,
2084
- content: z.union([
2085
- z.string(),
2086
- z.array(z.union([
2087
- z.lazy(() => GetOnePrompt21$outboundSchema),
2088
- z.lazy(() => GetOnePrompt22$outboundSchema),
2089
- z.lazy(() => GetOnePrompt23$outboundSchema),
2090
- ])),
2091
- ]),
2090
+ content: z.nullable(
2091
+ z.union([
2092
+ z.string(),
2093
+ z.array(z.union([
2094
+ z.lazy(() => GetOnePrompt21$outboundSchema),
2095
+ z.lazy(() => GetOnePrompt22$outboundSchema),
2096
+ z.lazy(() => GetOnePrompt23$outboundSchema),
2097
+ ])),
2098
+ ]),
2099
+ ),
2092
2100
  toolCalls: z.array(z.lazy(() => GetOnePromptToolCalls$outboundSchema))
2093
2101
  .optional(),
2094
2102
  toolCallId: z.string().optional(),
@@ -436,7 +436,7 @@ export type GetPromptVersionContent2 =
436
436
  | GetPromptVersion23;
437
437
 
438
438
  /**
439
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
439
+ * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
440
440
  */
441
441
  export type GetPromptVersionContent =
442
442
  | string
@@ -468,11 +468,12 @@ export type GetPromptVersionMessages = {
468
468
  */
469
469
  role: GetPromptVersionRole;
470
470
  /**
471
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
471
+ * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
472
472
  */
473
473
  content:
474
474
  | string
475
- | Array<GetPromptVersion21 | GetPromptVersion22 | GetPromptVersion23>;
475
+ | Array<GetPromptVersion21 | GetPromptVersion22 | GetPromptVersion23>
476
+ | null;
476
477
  toolCalls?: Array<GetPromptVersionToolCalls> | undefined;
477
478
  toolCallId?: string | undefined;
478
479
  };
@@ -2064,14 +2065,18 @@ export const GetPromptVersionMessages$inboundSchema: z.ZodType<
2064
2065
  unknown
2065
2066
  > = z.object({
2066
2067
  role: GetPromptVersionRole$inboundSchema,
2067
- content: z.union([
2068
- z.string(),
2069
- z.array(z.union([
2070
- z.lazy(() => GetPromptVersion21$inboundSchema),
2071
- z.lazy(() => GetPromptVersion22$inboundSchema),
2072
- z.lazy(() => GetPromptVersion23$inboundSchema),
2073
- ])),
2074
- ]),
2068
+ content: z.nullable(
2069
+ z.union([
2070
+ z.string(),
2071
+ z.array(
2072
+ z.union([
2073
+ z.lazy(() => GetPromptVersion21$inboundSchema),
2074
+ z.lazy(() => GetPromptVersion22$inboundSchema),
2075
+ z.lazy(() => GetPromptVersion23$inboundSchema),
2076
+ ]),
2077
+ ),
2078
+ ]),
2079
+ ),
2075
2080
  tool_calls: z.array(z.lazy(() => GetPromptVersionToolCalls$inboundSchema))
2076
2081
  .optional(),
2077
2082
  tool_call_id: z.string().optional(),
@@ -2091,7 +2096,8 @@ export type GetPromptVersionMessages$Outbound = {
2091
2096
  | GetPromptVersion21$Outbound
2092
2097
  | GetPromptVersion22$Outbound
2093
2098
  | GetPromptVersion23$Outbound
2094
- >;
2099
+ >
2100
+ | null;
2095
2101
  tool_calls?: Array<GetPromptVersionToolCalls$Outbound> | undefined;
2096
2102
  tool_call_id?: string | undefined;
2097
2103
  };
@@ -2103,14 +2109,18 @@ export const GetPromptVersionMessages$outboundSchema: z.ZodType<
2103
2109
  GetPromptVersionMessages
2104
2110
  > = z.object({
2105
2111
  role: GetPromptVersionRole$outboundSchema,
2106
- content: z.union([
2107
- z.string(),
2108
- z.array(z.union([
2109
- z.lazy(() => GetPromptVersion21$outboundSchema),
2110
- z.lazy(() => GetPromptVersion22$outboundSchema),
2111
- z.lazy(() => GetPromptVersion23$outboundSchema),
2112
- ])),
2113
- ]),
2112
+ content: z.nullable(
2113
+ z.union([
2114
+ z.string(),
2115
+ z.array(
2116
+ z.union([
2117
+ z.lazy(() => GetPromptVersion21$outboundSchema),
2118
+ z.lazy(() => GetPromptVersion22$outboundSchema),
2119
+ z.lazy(() => GetPromptVersion23$outboundSchema),
2120
+ ]),
2121
+ ),
2122
+ ]),
2123
+ ),
2114
2124
  toolCalls: z.array(z.lazy(() => GetPromptVersionToolCalls$outboundSchema))
2115
2125
  .optional(),
2116
2126
  toolCallId: z.string().optional(),