@orq-ai/node 4.7.5 → 4.7.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 (221) hide show
  1. package/funcs/filesCreate.js +3 -2
  2. package/funcs/filesCreate.js.map +1 -1
  3. package/funcs/routerAudioTranscriptionsCreate.js +3 -2
  4. package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
  5. package/funcs/routerAudioTranslationsCreate.js +3 -2
  6. package/funcs/routerAudioTranslationsCreate.js.map +1 -1
  7. package/jsr.json +1 -1
  8. package/lib/config.d.ts +3 -3
  9. package/lib/config.js +3 -3
  10. package/lib/config.js.map +1 -1
  11. package/lib/encodings.d.ts +1 -0
  12. package/lib/encodings.d.ts.map +1 -1
  13. package/lib/encodings.js +7 -0
  14. package/lib/encodings.js.map +1 -1
  15. package/models/components/reasoningpart.js +1 -1
  16. package/models/operations/createcontact.js +1 -1
  17. package/models/operations/createdataset.js +1 -1
  18. package/models/operations/createdatasetitem.js +4 -4
  19. package/models/operations/createdatasource.js +1 -1
  20. package/models/operations/createeval.js +16 -16
  21. package/models/operations/createidentity.js +1 -1
  22. package/models/operations/createtool.js +6 -6
  23. package/models/operations/getalltools.js +6 -6
  24. package/models/operations/getevals.js +16 -16
  25. package/models/operations/getv2humanevals.js +6 -6
  26. package/models/operations/getv2humanevalsets.js +2 -2
  27. package/models/operations/getv2humanevalsetsid.js +2 -2
  28. package/models/operations/getv2humanevalsid.js +6 -6
  29. package/models/operations/listdatasetdatapoints.js +4 -4
  30. package/models/operations/listdatasets.js +1 -1
  31. package/models/operations/listdatasources.js +1 -1
  32. package/models/operations/listidentities.js +1 -1
  33. package/models/operations/patchv2humanevalsetsid.js +2 -2
  34. package/models/operations/patchv2humanevalsid.js +12 -12
  35. package/models/operations/postv2feedbackevaluation.js +3 -3
  36. package/models/operations/postv2humanevals.js +12 -12
  37. package/models/operations/postv2humanevalsets.js +2 -2
  38. package/models/operations/retrievedatapoint.js +4 -4
  39. package/models/operations/retrievedataset.js +1 -1
  40. package/models/operations/retrievedatasource.js +1 -1
  41. package/models/operations/retrieveidentity.js +1 -1
  42. package/models/operations/retrievetool.js +6 -6
  43. package/models/operations/runagent.js +1 -1
  44. package/models/operations/streamrunagent.js +1 -1
  45. package/models/operations/updatedatapoint.js +4 -4
  46. package/models/operations/updatedataset.js +1 -1
  47. package/models/operations/updatedatasource.js +1 -1
  48. package/models/operations/updateeval.js +16 -16
  49. package/models/operations/updateidentity.js +1 -1
  50. package/models/operations/updatetool.js +7 -7
  51. package/package.json +1 -1
  52. package/packages/orq-rc/examples/{postV2Feedback.example.ts → postV2FeedbackEvaluationRemove.example.ts} +2 -4
  53. package/packages/orq-rc/src/funcs/agentsCreate.ts +2 -2
  54. package/packages/orq-rc/src/funcs/{evaluatorsGetV2EvaluatorsIdVersions.ts → evalsGetV2EvaluatorsIdVersions.ts} +1 -1
  55. package/packages/orq-rc/src/funcs/{postV2Feedback.ts → feedbackPostV2Feedback.ts} +5 -5
  56. package/packages/orq-rc/src/funcs/{postV2FeedbackRemove.ts → feedbackPostV2FeedbackRemove.ts} +1 -1
  57. package/packages/orq-rc/src/funcs/filesCreate.ts +4 -3
  58. package/packages/orq-rc/src/funcs/{postV2HumanEvals.ts → guardrailRulesCreate.ts} +20 -27
  59. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +170 -0
  60. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +170 -0
  61. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +168 -0
  62. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +170 -0
  63. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +4 -4
  64. package/packages/orq-rc/src/funcs/policiesCreate.ts +160 -0
  65. package/packages/orq-rc/src/funcs/policiesDelete.ts +166 -0
  66. package/packages/orq-rc/src/funcs/{modelsList.ts → policiesList.ts} +17 -14
  67. package/packages/orq-rc/src/funcs/{getV2HumanEvalsId.ts → policiesRetrieve.ts} +19 -22
  68. package/packages/orq-rc/src/funcs/{patchV2HumanEvalsId.ts → policiesUpdate.ts} +20 -24
  69. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +4 -3
  70. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +4 -3
  71. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +161 -0
  72. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +166 -0
  73. package/packages/orq-rc/src/funcs/{getV2HumanEvals.ts → routingRulesList.ts} +22 -23
  74. package/packages/orq-rc/src/funcs/{deleteV2HumanEvalsId.ts → routingRulesRetrieve.ts} +20 -24
  75. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +166 -0
  76. package/packages/orq-rc/src/lib/config.ts +3 -3
  77. package/packages/orq-rc/src/lib/encodings.ts +9 -0
  78. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +9 -6
  79. package/packages/orq-rc/src/models/components/budgetlimit.ts +83 -0
  80. package/packages/orq-rc/src/models/components/evaluatorref.ts +89 -0
  81. package/packages/orq-rc/src/models/components/expression.ts +51 -0
  82. package/packages/orq-rc/src/models/components/guardrailref.ts +75 -0
  83. package/packages/orq-rc/src/models/components/guardrailruledocument.ts +66 -0
  84. package/packages/orq-rc/src/models/components/index.ts +13 -0
  85. package/packages/orq-rc/src/models/components/limits.ts +70 -0
  86. package/packages/orq-rc/src/models/components/modelref.ts +64 -0
  87. package/packages/orq-rc/src/models/components/modelsconfig.ts +73 -0
  88. package/packages/orq-rc/src/models/components/policydocument.ts +76 -0
  89. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  90. package/packages/orq-rc/src/models/components/requestlimit.ts +69 -0
  91. package/packages/orq-rc/src/models/components/retryconfig.ts +60 -0
  92. package/packages/orq-rc/src/models/components/routingruledocument.ts +67 -0
  93. package/packages/orq-rc/src/models/components/tokenlimit.ts +69 -0
  94. package/packages/orq-rc/src/models/errors/index.ts +0 -5
  95. package/packages/orq-rc/src/models/errors/postv2feedback.ts +8 -8
  96. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -3
  97. package/packages/orq-rc/src/models/operations/createchunk.ts +7 -7
  98. package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
  99. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  100. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  101. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  102. package/packages/orq-rc/src/models/operations/createeval.ts +970 -150
  103. package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
  104. package/packages/orq-rc/src/models/operations/createknowledge.ts +17 -19
  105. package/packages/orq-rc/src/models/operations/createprompt.ts +1 -0
  106. package/packages/orq-rc/src/models/operations/createresponse.ts +11 -11
  107. package/packages/orq-rc/src/models/operations/createtool.ts +6 -21
  108. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
  109. package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
  110. package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
  111. package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
  112. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -21
  113. package/packages/orq-rc/src/models/operations/getevals.ts +447 -16
  114. package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
  115. package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
  116. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  117. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  118. package/packages/orq-rc/src/models/operations/guardrailrulecreate.ts +124 -0
  119. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +39 -0
  120. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +102 -0
  121. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +94 -0
  122. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +153 -0
  123. package/packages/orq-rc/src/models/operations/index.ts +15 -6
  124. package/packages/orq-rc/src/models/operations/listagents.ts +0 -3
  125. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
  126. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  127. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  128. package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
  129. package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
  130. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  131. package/packages/orq-rc/src/models/operations/policycreate.ts +138 -0
  132. package/packages/orq-rc/src/models/operations/policydelete.ts +39 -0
  133. package/packages/orq-rc/src/models/operations/policyget.ts +110 -0
  134. package/packages/orq-rc/src/models/operations/policylist.ts +94 -0
  135. package/packages/orq-rc/src/models/operations/policyupdate.ts +167 -0
  136. package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +0 -3
  137. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  138. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +8 -8
  139. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  140. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -3
  141. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  142. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  143. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  144. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
  145. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -21
  146. package/packages/orq-rc/src/models/operations/routingrulecreate.ts +124 -0
  147. package/packages/orq-rc/src/models/operations/routingruledelete.ts +39 -0
  148. package/packages/orq-rc/src/models/operations/routingruleget.ts +102 -0
  149. package/packages/orq-rc/src/models/operations/routingrulelist.ts +94 -0
  150. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +154 -0
  151. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  152. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  153. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -3
  154. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  155. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  156. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  157. package/packages/orq-rc/src/models/operations/updateeval.ts +646 -16
  158. package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
  159. package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
  160. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -22
  161. package/packages/orq-rc/src/sdk/evals.ts +18 -0
  162. package/packages/orq-rc/src/sdk/feedback.ts +33 -0
  163. package/packages/orq-rc/src/sdk/guardrailrules.ts +99 -0
  164. package/packages/orq-rc/src/sdk/knowledge.ts +1 -1
  165. package/packages/orq-rc/src/sdk/policies.ts +99 -0
  166. package/packages/orq-rc/src/sdk/routingrules.ts +99 -0
  167. package/packages/orq-rc/src/sdk/sdk.ts +22 -94
  168. package/src/funcs/filesCreate.ts +4 -3
  169. package/src/funcs/routerAudioTranscriptionsCreate.ts +4 -3
  170. package/src/funcs/routerAudioTranslationsCreate.ts +4 -3
  171. package/src/lib/config.ts +3 -3
  172. package/src/lib/encodings.ts +9 -0
  173. package/src/models/components/reasoningpart.ts +1 -1
  174. package/src/models/operations/createcontact.ts +1 -1
  175. package/src/models/operations/createdataset.ts +1 -1
  176. package/src/models/operations/createdatasetitem.ts +4 -4
  177. package/src/models/operations/createdatasource.ts +1 -1
  178. package/src/models/operations/createeval.ts +16 -16
  179. package/src/models/operations/createidentity.ts +1 -1
  180. package/src/models/operations/createtool.ts +6 -6
  181. package/src/models/operations/getalltools.ts +6 -6
  182. package/src/models/operations/getevals.ts +16 -16
  183. package/src/models/operations/getv2humanevals.ts +6 -6
  184. package/src/models/operations/getv2humanevalsets.ts +2 -2
  185. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  186. package/src/models/operations/getv2humanevalsid.ts +6 -6
  187. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  188. package/src/models/operations/listdatasets.ts +1 -1
  189. package/src/models/operations/listdatasources.ts +1 -1
  190. package/src/models/operations/listidentities.ts +1 -1
  191. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  192. package/src/models/operations/patchv2humanevalsid.ts +12 -12
  193. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  194. package/src/models/operations/postv2humanevals.ts +12 -12
  195. package/src/models/operations/postv2humanevalsets.ts +2 -2
  196. package/src/models/operations/retrievedatapoint.ts +4 -4
  197. package/src/models/operations/retrievedataset.ts +1 -1
  198. package/src/models/operations/retrievedatasource.ts +1 -1
  199. package/src/models/operations/retrieveidentity.ts +1 -1
  200. package/src/models/operations/retrievetool.ts +6 -6
  201. package/src/models/operations/runagent.ts +1 -1
  202. package/src/models/operations/streamrunagent.ts +1 -1
  203. package/src/models/operations/updatedatapoint.ts +4 -4
  204. package/src/models/operations/updatedataset.ts +1 -1
  205. package/src/models/operations/updatedatasource.ts +1 -1
  206. package/src/models/operations/updateeval.ts +16 -16
  207. package/src/models/operations/updateidentity.ts +1 -1
  208. package/src/models/operations/updatetool.ts +7 -7
  209. package/packages/orq-rc/src/models/errors/deletev2humanevalsid.ts +0 -51
  210. package/packages/orq-rc/src/models/errors/getv2humanevals.ts +0 -51
  211. package/packages/orq-rc/src/models/errors/getv2humanevalsid.ts +0 -51
  212. package/packages/orq-rc/src/models/errors/patchv2humanevalsid.ts +0 -51
  213. package/packages/orq-rc/src/models/errors/postv2humanevals.ts +0 -51
  214. package/packages/orq-rc/src/models/operations/deletev2humanevalsid.ts +0 -67
  215. package/packages/orq-rc/src/models/operations/getv2humanevals.ts +0 -696
  216. package/packages/orq-rc/src/models/operations/getv2humanevalsid.ts +0 -707
  217. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -169
  218. package/packages/orq-rc/src/models/operations/patchv2humanevalsid.ts +0 -1362
  219. package/packages/orq-rc/src/models/operations/postv2humanevals.ts +0 -1193
  220. package/packages/orq-rc/src/sdk/evaluators.ts +0 -27
  221. package/packages/orq-rc/src/sdk/models.ts +0 -27
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
2358
2358
  .default("orq"),
2359
2359
  reviewed_by_id: z.string(),
2360
2360
  reviewed_at: z.string().datetime({ offset: true }).default(
2361
- "2026-04-10T07:18:18.108Z",
2361
+ "2026-04-16T12:18:05.387Z",
2362
2362
  ).transform(v => new Date(v)),
2363
2363
  type: z.literal("string_array"),
2364
2364
  values: z.array(z.string()),
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
2404
2404
  source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
2405
2405
  reviewed_by_id: z.string(),
2406
2406
  reviewed_at: z.string().datetime({ offset: true }).default(
2407
- "2026-04-10T07:18:18.108Z",
2407
+ "2026-04-16T12:18:05.387Z",
2408
2408
  ).transform(v => new Date(v)),
2409
2409
  type: z.literal("number"),
2410
2410
  value: z.number(),
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
2449
2449
  source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
2450
2450
  reviewed_by_id: z.string(),
2451
2451
  reviewed_at: z.string().datetime({ offset: true }).default(
2452
- "2026-04-10T07:18:18.108Z",
2452
+ "2026-04-16T12:18:05.386Z",
2453
2453
  ).transform(v => new Date(v)),
2454
2454
  type: z.literal("string"),
2455
2455
  value: z.string(),
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
2530
2530
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2531
2531
  .optional(),
2532
2532
  updated: z.string().datetime({ offset: true }).default(
2533
- "2026-04-10T07:18:00.925Z",
2533
+ "2026-04-16T12:17:48.157Z",
2534
2534
  ).transform(v => new Date(v)),
2535
2535
  }).transform((v) => {
2536
2536
  return remap$(v, {
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
182
182
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
183
183
  .optional(),
184
184
  updated: z.string().datetime({ offset: true }).default(
185
- "2026-04-10T07:18:00.925Z",
185
+ "2026-04-16T12:17:48.157Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
152
152
  z.ZodTypeDef,
153
153
  unknown
154
154
  > = z.object({
155
- _id: z.string().default("01KNV430N2VRNDNSB62RR6CBDE"),
155
+ _id: z.string().default("01KPB3M8BF45GDDX9X0B7Z9VDG"),
156
156
  display_name: z.string(),
157
157
  description: z.string().optional(),
158
158
  status: UpdateDatasourceStatus$inboundSchema,
@@ -1220,8 +1220,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
1220
1220
  > = z.object({
1221
1221
  _id: z.string(),
1222
1222
  description: z.string(),
1223
- created: z.string().default("2026-04-10T07:18:03.276Z"),
1224
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
1223
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
1224
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
1225
1225
  guardrail_config: z.nullable(
1226
1226
  z.union([
1227
1227
  z.lazy(() =>
@@ -1376,8 +1376,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
1376
1376
  > = z.object({
1377
1377
  _id: z.string(),
1378
1378
  description: z.string(),
1379
- created: z.string().default("2026-04-10T07:18:03.276Z"),
1380
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
1379
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
1380
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
1381
1381
  guardrail_config: z.nullable(
1382
1382
  z.union([
1383
1383
  z.lazy(() =>
@@ -2194,8 +2194,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
2194
2194
  > = z.object({
2195
2195
  _id: z.string(),
2196
2196
  description: z.string(),
2197
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2198
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2197
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2198
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2199
2199
  guardrail_config: z.nullable(
2200
2200
  z.union([
2201
2201
  z.lazy(() =>
@@ -2372,8 +2372,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
2372
2372
  > = z.object({
2373
2373
  _id: z.string(),
2374
2374
  description: z.string(),
2375
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2376
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2375
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2376
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2377
2377
  guardrail_config: z.nullable(
2378
2378
  z.union([
2379
2379
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -2503,8 +2503,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
2503
2503
  > = z.object({
2504
2504
  _id: z.string(),
2505
2505
  description: z.string(),
2506
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2507
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2506
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2507
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2508
2508
  guardrail_config: z.nullable(
2509
2509
  z.union([
2510
2510
  z.lazy(() => UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
@@ -2626,8 +2626,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
2626
2626
  > = z.object({
2627
2627
  _id: z.string(),
2628
2628
  description: z.string(),
2629
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2630
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2629
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2630
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2631
2631
  guardrail_config: z.nullable(
2632
2632
  z.union([
2633
2633
  z.lazy(() => UpdateEvalGuardrailConfigBoolean$inboundSchema),
@@ -2930,8 +2930,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
2930
2930
  > = z.object({
2931
2931
  _id: z.string(),
2932
2932
  description: z.string(),
2933
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2934
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2933
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2934
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2935
2935
  guardrail_config: z.nullable(
2936
2936
  z.union([
2937
2937
  z.lazy(() =>
@@ -3076,8 +3076,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
3076
3076
  > = z.object({
3077
3077
  _id: z.string(),
3078
3078
  description: z.string(),
3079
- created: z.string().default("2026-04-10T07:18:03.276Z"),
3080
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
3079
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
3080
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
3081
3081
  guardrail_config: z.nullable(
3082
3082
  z.union([
3083
3083
  z.lazy(() =>
@@ -167,7 +167,7 @@ export const UpdateIdentityResponseBody$inboundSchema: z.ZodType<
167
167
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
168
168
  .optional(),
169
169
  updated: z.string().datetime({ offset: true }).default(
170
- "2026-04-10T07:18:00.925Z",
170
+ "2026-04-16T12:17:48.157Z",
171
171
  ).transform(v => new Date(v)),
172
172
  }).transform((v) => {
173
173
  return remap$(v, {
@@ -1477,7 +1477,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
1477
1477
  z.ZodTypeDef,
1478
1478
  RequestBodyTools
1479
1479
  > = z.object({
1480
- id: z.string().default("01KNV430HCAYEF87VB1QS2KXJG"),
1480
+ id: z.string().default("01KPB3M87Q4XQ4MDX52VMEZMVT"),
1481
1481
  name: z.string(),
1482
1482
  description: z.string().optional(),
1483
1483
  schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
@@ -2198,7 +2198,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
2198
2198
  z.ZodTypeDef,
2199
2199
  unknown
2200
2200
  > = z.object({
2201
- _id: z.string().default("tool_01KNV430H6E3Z5CS6CG619EWFD"),
2201
+ _id: z.string().default("tool_01KPB3M87HSJP03R20W05EPHQV"),
2202
2202
  path: z.string(),
2203
2203
  key: z.string(),
2204
2204
  display_name: z.string().optional(),
@@ -2303,7 +2303,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
2303
2303
  z.ZodTypeDef,
2304
2304
  unknown
2305
2305
  > = z.object({
2306
- id: z.string().default("01KNV430H5TAECM4VCBJK27PEH"),
2306
+ id: z.string().default("01KPB3M87GT1Q3REEQ3AHC1TD7"),
2307
2307
  name: z.string(),
2308
2308
  description: z.string().optional(),
2309
2309
  schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
@@ -2361,7 +2361,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
2361
2361
  z.ZodTypeDef,
2362
2362
  unknown
2363
2363
  > = z.object({
2364
- _id: z.string().default("tool_01KNV430H46KT71FCMDPCJHY4A"),
2364
+ _id: z.string().default("tool_01KPB3M87F1GY2K97WSWTPENAF"),
2365
2365
  path: z.string(),
2366
2366
  key: z.string(),
2367
2367
  display_name: z.string().optional(),
@@ -2552,7 +2552,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
2552
2552
  z.ZodTypeDef,
2553
2553
  unknown
2554
2554
  > = z.object({
2555
- _id: z.string().default("tool_01KNV430H2J1RYTZ48W073TR9X"),
2555
+ _id: z.string().default("tool_01KPB3M87D3TR0M2YCMKFSGAH9"),
2556
2556
  path: z.string(),
2557
2557
  key: z.string(),
2558
2558
  display_name: z.string().optional(),
@@ -2649,7 +2649,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2649
2649
  z.ZodTypeDef,
2650
2650
  unknown
2651
2651
  > = z.object({
2652
- _id: z.string().default("tool_01KNV430H1KE2WVABEJDQV4E0X"),
2652
+ _id: z.string().default("tool_01KPB3M87CFY01XT7CD8YN0S8C"),
2653
2653
  path: z.string(),
2654
2654
  key: z.string(),
2655
2655
  display_name: z.string().optional(),
@@ -2754,7 +2754,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2754
2754
  z.ZodTypeDef,
2755
2755
  unknown
2756
2756
  > = z.object({
2757
- _id: z.string().default("tool_01KNV430GZEZ251W0VZQVMSBVM"),
2757
+ _id: z.string().default("tool_01KPB3M87A15HDZXZ6H53TBHZR"),
2758
2758
  path: z.string(),
2759
2759
  key: z.string(),
2760
2760
  display_name: z.string().optional(),
@@ -1,51 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { OrqError } from "./orqerror.js";
7
-
8
- /**
9
- * Workspace ID is not found on the request
10
- */
11
- export type DeleteV2HumanEvalsIdResponseBodyData = {
12
- message: string;
13
- };
14
-
15
- /**
16
- * Workspace ID is not found on the request
17
- */
18
- export class DeleteV2HumanEvalsIdResponseBody extends OrqError {
19
- /** The original data that was passed to this error instance. */
20
- data$: DeleteV2HumanEvalsIdResponseBodyData;
21
-
22
- constructor(
23
- err: DeleteV2HumanEvalsIdResponseBodyData,
24
- httpMeta: { response: Response; request: Request; body: string },
25
- ) {
26
- const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
27
- super(message, httpMeta);
28
- this.data$ = err;
29
-
30
- this.name = "DeleteV2HumanEvalsIdResponseBody";
31
- }
32
- }
33
-
34
- /** @internal */
35
- export const DeleteV2HumanEvalsIdResponseBody$inboundSchema: z.ZodType<
36
- DeleteV2HumanEvalsIdResponseBody,
37
- z.ZodTypeDef,
38
- unknown
39
- > = z.object({
40
- message: z.string(),
41
- request$: z.instanceof(Request),
42
- response$: z.instanceof(Response),
43
- body$: z.string(),
44
- })
45
- .transform((v) => {
46
- return new DeleteV2HumanEvalsIdResponseBody(v, {
47
- request: v.request$,
48
- response: v.response$,
49
- body: v.body$,
50
- });
51
- });
@@ -1,51 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { OrqError } from "./orqerror.js";
7
-
8
- /**
9
- * Workspace ID is not found on the request
10
- */
11
- export type GetV2HumanEvalsResponseBodyData = {
12
- message: string;
13
- };
14
-
15
- /**
16
- * Workspace ID is not found on the request
17
- */
18
- export class GetV2HumanEvalsResponseBody extends OrqError {
19
- /** The original data that was passed to this error instance. */
20
- data$: GetV2HumanEvalsResponseBodyData;
21
-
22
- constructor(
23
- err: GetV2HumanEvalsResponseBodyData,
24
- httpMeta: { response: Response; request: Request; body: string },
25
- ) {
26
- const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
27
- super(message, httpMeta);
28
- this.data$ = err;
29
-
30
- this.name = "GetV2HumanEvalsResponseBody";
31
- }
32
- }
33
-
34
- /** @internal */
35
- export const GetV2HumanEvalsResponseBody$inboundSchema: z.ZodType<
36
- GetV2HumanEvalsResponseBody,
37
- z.ZodTypeDef,
38
- unknown
39
- > = z.object({
40
- message: z.string(),
41
- request$: z.instanceof(Request),
42
- response$: z.instanceof(Response),
43
- body$: z.string(),
44
- })
45
- .transform((v) => {
46
- return new GetV2HumanEvalsResponseBody(v, {
47
- request: v.request$,
48
- response: v.response$,
49
- body: v.body$,
50
- });
51
- });
@@ -1,51 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { OrqError } from "./orqerror.js";
7
-
8
- /**
9
- * Workspace ID is not found on the request
10
- */
11
- export type GetV2HumanEvalsIdResponseBodyData = {
12
- message: string;
13
- };
14
-
15
- /**
16
- * Workspace ID is not found on the request
17
- */
18
- export class GetV2HumanEvalsIdResponseBody extends OrqError {
19
- /** The original data that was passed to this error instance. */
20
- data$: GetV2HumanEvalsIdResponseBodyData;
21
-
22
- constructor(
23
- err: GetV2HumanEvalsIdResponseBodyData,
24
- httpMeta: { response: Response; request: Request; body: string },
25
- ) {
26
- const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
27
- super(message, httpMeta);
28
- this.data$ = err;
29
-
30
- this.name = "GetV2HumanEvalsIdResponseBody";
31
- }
32
- }
33
-
34
- /** @internal */
35
- export const GetV2HumanEvalsIdResponseBody$inboundSchema: z.ZodType<
36
- GetV2HumanEvalsIdResponseBody,
37
- z.ZodTypeDef,
38
- unknown
39
- > = z.object({
40
- message: z.string(),
41
- request$: z.instanceof(Request),
42
- response$: z.instanceof(Response),
43
- body$: z.string(),
44
- })
45
- .transform((v) => {
46
- return new GetV2HumanEvalsIdResponseBody(v, {
47
- request: v.request$,
48
- response: v.response$,
49
- body: v.body$,
50
- });
51
- });
@@ -1,51 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { OrqError } from "./orqerror.js";
7
-
8
- /**
9
- * Workspace ID is not found on the request
10
- */
11
- export type PatchV2HumanEvalsIdResponseBodyData = {
12
- message: string;
13
- };
14
-
15
- /**
16
- * Workspace ID is not found on the request
17
- */
18
- export class PatchV2HumanEvalsIdResponseBody extends OrqError {
19
- /** The original data that was passed to this error instance. */
20
- data$: PatchV2HumanEvalsIdResponseBodyData;
21
-
22
- constructor(
23
- err: PatchV2HumanEvalsIdResponseBodyData,
24
- httpMeta: { response: Response; request: Request; body: string },
25
- ) {
26
- const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
27
- super(message, httpMeta);
28
- this.data$ = err;
29
-
30
- this.name = "PatchV2HumanEvalsIdResponseBody";
31
- }
32
- }
33
-
34
- /** @internal */
35
- export const PatchV2HumanEvalsIdResponseBody$inboundSchema: z.ZodType<
36
- PatchV2HumanEvalsIdResponseBody,
37
- z.ZodTypeDef,
38
- unknown
39
- > = z.object({
40
- message: z.string(),
41
- request$: z.instanceof(Request),
42
- response$: z.instanceof(Response),
43
- body$: z.string(),
44
- })
45
- .transform((v) => {
46
- return new PatchV2HumanEvalsIdResponseBody(v, {
47
- request: v.request$,
48
- response: v.response$,
49
- body: v.body$,
50
- });
51
- });
@@ -1,51 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { OrqError } from "./orqerror.js";
7
-
8
- /**
9
- * Workspace ID is not found on the request
10
- */
11
- export type PostV2HumanEvalsResponseBodyData = {
12
- message: string;
13
- };
14
-
15
- /**
16
- * Workspace ID is not found on the request
17
- */
18
- export class PostV2HumanEvalsResponseBody extends OrqError {
19
- /** The original data that was passed to this error instance. */
20
- data$: PostV2HumanEvalsResponseBodyData;
21
-
22
- constructor(
23
- err: PostV2HumanEvalsResponseBodyData,
24
- httpMeta: { response: Response; request: Request; body: string },
25
- ) {
26
- const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
27
- super(message, httpMeta);
28
- this.data$ = err;
29
-
30
- this.name = "PostV2HumanEvalsResponseBody";
31
- }
32
- }
33
-
34
- /** @internal */
35
- export const PostV2HumanEvalsResponseBody$inboundSchema: z.ZodType<
36
- PostV2HumanEvalsResponseBody,
37
- z.ZodTypeDef,
38
- unknown
39
- > = z.object({
40
- message: z.string(),
41
- request$: z.instanceof(Request),
42
- response$: z.instanceof(Response),
43
- body$: z.string(),
44
- })
45
- .transform((v) => {
46
- return new PostV2HumanEvalsResponseBody(v, {
47
- request: v.request$,
48
- response: v.response$,
49
- body: v.body$,
50
- });
51
- });
@@ -1,67 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
-
10
- export type DeleteV2HumanEvalsIdRequest = {
11
- /**
12
- * The id of the resource
13
- */
14
- id: string;
15
- };
16
-
17
- /**
18
- * Returns a single human review
19
- */
20
- export type DeleteV2HumanEvalsIdResponseBody = {
21
- acknowledged: boolean;
22
- deletedCount: number;
23
- };
24
-
25
- /** @internal */
26
- export type DeleteV2HumanEvalsIdRequest$Outbound = {
27
- id: string;
28
- };
29
-
30
- /** @internal */
31
- export const DeleteV2HumanEvalsIdRequest$outboundSchema: z.ZodType<
32
- DeleteV2HumanEvalsIdRequest$Outbound,
33
- z.ZodTypeDef,
34
- DeleteV2HumanEvalsIdRequest
35
- > = z.object({
36
- id: z.string(),
37
- });
38
-
39
- export function deleteV2HumanEvalsIdRequestToJSON(
40
- deleteV2HumanEvalsIdRequest: DeleteV2HumanEvalsIdRequest,
41
- ): string {
42
- return JSON.stringify(
43
- DeleteV2HumanEvalsIdRequest$outboundSchema.parse(
44
- deleteV2HumanEvalsIdRequest,
45
- ),
46
- );
47
- }
48
-
49
- /** @internal */
50
- export const DeleteV2HumanEvalsIdResponseBody$inboundSchema: z.ZodType<
51
- DeleteV2HumanEvalsIdResponseBody,
52
- z.ZodTypeDef,
53
- unknown
54
- > = z.object({
55
- acknowledged: z.boolean(),
56
- deletedCount: z.number(),
57
- });
58
-
59
- export function deleteV2HumanEvalsIdResponseBodyFromJSON(
60
- jsonString: string,
61
- ): SafeParseResult<DeleteV2HumanEvalsIdResponseBody, SDKValidationError> {
62
- return safeParse(
63
- jsonString,
64
- (x) => DeleteV2HumanEvalsIdResponseBody$inboundSchema.parse(JSON.parse(x)),
65
- `Failed to parse 'DeleteV2HumanEvalsIdResponseBody' from JSON`,
66
- );
67
- }