@orq-ai/node 4.11.0-rc.1 → 4.11.0-rc.3

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 (268) hide show
  1. package/FUNCTIONS.md +4 -4
  2. package/README.md +81 -70
  3. package/examples/{postV2FeedbackEvaluationRemove.example.ts → evalsAll.example.ts} +4 -2
  4. package/funcs/{agentsPostV2AgentsKeyCardRefresh.d.ts → agentsRefreshKeyCard.d.ts} +2 -2
  5. package/funcs/agentsRefreshKeyCard.d.ts.map +1 -0
  6. package/funcs/{agentsPostV2AgentsKeyCardRefresh.js → agentsRefreshKeyCard.js} +3 -3
  7. package/funcs/agentsRefreshKeyCard.js.map +1 -0
  8. package/funcs/{evalsGetV2EvaluatorsIdVersions.d.ts → evalsListVersions.d.ts} +2 -2
  9. package/funcs/evalsListVersions.d.ts.map +1 -0
  10. package/funcs/{evalsGetV2EvaluatorsIdVersions.js → evalsListVersions.js} +3 -3
  11. package/funcs/evalsListVersions.js.map +1 -0
  12. package/funcs/{feedbackPostV2FeedbackRemove.d.ts → feedbackCreate.d.ts} +2 -2
  13. package/funcs/feedbackCreate.d.ts.map +1 -0
  14. package/funcs/{feedbackPostV2Feedback.js → feedbackCreate.js} +3 -3
  15. package/funcs/feedbackCreate.js.map +1 -0
  16. package/funcs/{postV2FeedbackEvaluation.d.ts → feedbackCreateEvaluation.d.ts} +2 -2
  17. package/funcs/{postV2FeedbackEvaluation.d.ts.map → feedbackCreateEvaluation.d.ts.map} +1 -1
  18. package/funcs/{postV2FeedbackEvaluation.js → feedbackCreateEvaluation.js} +3 -3
  19. package/funcs/{postV2FeedbackEvaluation.js.map → feedbackCreateEvaluation.js.map} +1 -1
  20. package/funcs/{feedbackPostV2Feedback.d.ts → feedbackRemove.d.ts} +2 -2
  21. package/funcs/feedbackRemove.d.ts.map +1 -0
  22. package/funcs/{feedbackPostV2FeedbackRemove.js → feedbackRemove.js} +3 -3
  23. package/funcs/feedbackRemove.js.map +1 -0
  24. package/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.d.ts → feedbackRemoveEvaluation.d.ts} +2 -5
  25. package/funcs/feedbackRemoveEvaluation.d.ts.map +1 -0
  26. package/funcs/{postV2FeedbackEvaluationRemove.js → feedbackRemoveEvaluation.js} +3 -3
  27. package/funcs/feedbackRemoveEvaluation.js.map +1 -0
  28. package/funcs/guardrailRulesList.js +4 -0
  29. package/funcs/guardrailRulesList.js.map +1 -1
  30. package/funcs/guardrailRulesListUsedGuardrails.d.ts +17 -0
  31. package/funcs/guardrailRulesListUsedGuardrails.d.ts.map +1 -0
  32. package/funcs/guardrailRulesListUsedGuardrails.js +105 -0
  33. package/funcs/guardrailRulesListUsedGuardrails.js.map +1 -0
  34. package/funcs/{humanReviewSetsPostV2HumanEvalSets.d.ts → humanReviewSetsCreate.d.ts} +2 -2
  35. package/funcs/humanReviewSetsCreate.d.ts.map +1 -0
  36. package/funcs/{humanReviewSetsPostV2HumanEvalSets.js → humanReviewSetsCreate.js} +3 -3
  37. package/funcs/humanReviewSetsCreate.js.map +1 -0
  38. package/funcs/{humanReviewSetsGetV2HumanEvalSets.d.ts → humanReviewSetsDelete.d.ts} +3 -3
  39. package/funcs/humanReviewSetsDelete.d.ts.map +1 -0
  40. package/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.js → humanReviewSetsDelete.js} +3 -3
  41. package/funcs/humanReviewSetsDelete.js.map +1 -0
  42. package/funcs/{postV2FeedbackEvaluationRemove.d.ts → humanReviewSetsGet.d.ts} +5 -2
  43. package/funcs/humanReviewSetsGet.d.ts.map +1 -0
  44. package/funcs/{humanReviewSetsGetV2HumanEvalSetsId.js → humanReviewSetsGet.js} +3 -3
  45. package/funcs/humanReviewSetsGet.js.map +1 -0
  46. package/funcs/{humanReviewSetsGetV2HumanEvalSetsId.d.ts → humanReviewSetsList.d.ts} +3 -3
  47. package/funcs/humanReviewSetsList.d.ts.map +1 -0
  48. package/funcs/{humanReviewSetsGetV2HumanEvalSets.js → humanReviewSetsList.js} +3 -3
  49. package/funcs/humanReviewSetsList.js.map +1 -0
  50. package/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.d.ts → humanReviewSetsUpdate.d.ts} +2 -2
  51. package/funcs/humanReviewSetsUpdate.d.ts.map +1 -0
  52. package/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.js → humanReviewSetsUpdate.js} +3 -3
  53. package/funcs/humanReviewSetsUpdate.js.map +1 -0
  54. package/funcs/routingRulesList.js +3 -0
  55. package/funcs/routingRulesList.js.map +1 -1
  56. package/funcs/routingRulesListUsedModels.d.ts +17 -0
  57. package/funcs/routingRulesListUsedModels.d.ts.map +1 -0
  58. package/funcs/routingRulesListUsedModels.js +105 -0
  59. package/funcs/routingRulesListUsedModels.js.map +1 -0
  60. package/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.d.ts → toolsGetVersion.d.ts} +2 -2
  61. package/funcs/toolsGetVersion.d.ts.map +1 -0
  62. package/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.js → toolsGetVersion.js} +3 -3
  63. package/funcs/toolsGetVersion.js.map +1 -0
  64. package/funcs/{toolsGetV2ToolsToolIdVersions.d.ts → toolsListVersions.d.ts} +2 -2
  65. package/funcs/toolsListVersions.d.ts.map +1 -0
  66. package/funcs/{toolsGetV2ToolsToolIdVersions.js → toolsListVersions.js} +3 -3
  67. package/funcs/toolsListVersions.js.map +1 -0
  68. package/jsr.json +1 -1
  69. package/lib/config.d.ts +2 -2
  70. package/lib/config.js +2 -2
  71. package/models/components/createfilerequest.d.ts +1 -1
  72. package/models/components/reasoningpart.js +1 -1
  73. package/models/operations/createdataset.js +1 -1
  74. package/models/operations/createdatasetitem.js +4 -4
  75. package/models/operations/createdatasource.js +1 -1
  76. package/models/operations/createeval.d.ts +22 -22
  77. package/models/operations/createeval.d.ts.map +1 -1
  78. package/models/operations/createeval.js +32 -32
  79. package/models/operations/createeval.js.map +1 -1
  80. package/models/operations/createknowledge.d.ts +10 -10
  81. package/models/operations/createknowledge.d.ts.map +1 -1
  82. package/models/operations/createknowledge.js +11 -11
  83. package/models/operations/createknowledge.js.map +1 -1
  84. package/models/operations/createtool.d.ts +10 -10
  85. package/models/operations/createtool.d.ts.map +1 -1
  86. package/models/operations/createtool.js +16 -16
  87. package/models/operations/createtool.js.map +1 -1
  88. package/models/operations/getalltools.d.ts +10 -10
  89. package/models/operations/getalltools.d.ts.map +1 -1
  90. package/models/operations/getalltools.js +16 -16
  91. package/models/operations/getalltools.js.map +1 -1
  92. package/models/operations/getevals.d.ts +6 -6
  93. package/models/operations/getevals.d.ts.map +1 -1
  94. package/models/operations/getevals.js +22 -22
  95. package/models/operations/getevals.js.map +1 -1
  96. package/models/operations/getv2humanevalsets.js +2 -2
  97. package/models/operations/getv2humanevalsetsid.js +2 -2
  98. package/models/operations/guardrailrulelist.d.ts +35 -0
  99. package/models/operations/guardrailrulelist.d.ts.map +1 -1
  100. package/models/operations/guardrailrulelist.js +18 -1
  101. package/models/operations/guardrailrulelist.js.map +1 -1
  102. package/models/operations/guardrailrulelistusedguardrails.d.ts +14 -0
  103. package/models/operations/guardrailrulelistusedguardrails.d.ts.map +1 -0
  104. package/models/operations/guardrailrulelistusedguardrails.js +56 -0
  105. package/models/operations/guardrailrulelistusedguardrails.js.map +1 -0
  106. package/models/operations/index.d.ts +2 -0
  107. package/models/operations/index.d.ts.map +1 -1
  108. package/models/operations/index.js +2 -0
  109. package/models/operations/index.js.map +1 -1
  110. package/models/operations/listdatasetdatapoints.js +4 -4
  111. package/models/operations/listdatasets.js +1 -1
  112. package/models/operations/listdatasources.js +1 -1
  113. package/models/operations/listknowledgebases.d.ts +2 -5
  114. package/models/operations/listknowledgebases.d.ts.map +1 -1
  115. package/models/operations/listknowledgebases.js +1 -1
  116. package/models/operations/listknowledgebases.js.map +1 -1
  117. package/models/operations/patchv2humanevalsetsid.js +2 -2
  118. package/models/operations/postv2feedbackevaluation.d.ts +14 -14
  119. package/models/operations/postv2feedbackevaluation.d.ts.map +1 -1
  120. package/models/operations/postv2feedbackevaluation.js +18 -18
  121. package/models/operations/postv2feedbackevaluation.js.map +1 -1
  122. package/models/operations/postv2humanevalsets.js +2 -2
  123. package/models/operations/retrievedatapoint.js +4 -4
  124. package/models/operations/retrievedataset.js +1 -1
  125. package/models/operations/retrievedatasource.js +1 -1
  126. package/models/operations/retrievetool.d.ts +10 -10
  127. package/models/operations/retrievetool.d.ts.map +1 -1
  128. package/models/operations/retrievetool.js +16 -16
  129. package/models/operations/retrievetool.js.map +1 -1
  130. package/models/operations/routingrulelist.d.ts +15 -0
  131. package/models/operations/routingrulelist.d.ts.map +1 -1
  132. package/models/operations/routingrulelist.js +3 -0
  133. package/models/operations/routingrulelist.js.map +1 -1
  134. package/models/operations/routingrulelistusedmodels.d.ts +14 -0
  135. package/models/operations/routingrulelistusedmodels.d.ts.map +1 -0
  136. package/models/operations/routingrulelistusedmodels.js +51 -0
  137. package/models/operations/routingrulelistusedmodels.js.map +1 -0
  138. package/models/operations/runagent.js +1 -1
  139. package/models/operations/streamrunagent.js +1 -1
  140. package/models/operations/updatedatapoint.js +4 -4
  141. package/models/operations/updatedataset.js +1 -1
  142. package/models/operations/updatedatasource.js +1 -1
  143. package/models/operations/updateeval.d.ts +6 -6
  144. package/models/operations/updateeval.d.ts.map +1 -1
  145. package/models/operations/updateeval.js +22 -22
  146. package/models/operations/updateeval.js.map +1 -1
  147. package/models/operations/updatetool.d.ts +10 -10
  148. package/models/operations/updatetool.d.ts.map +1 -1
  149. package/models/operations/updatetool.js +17 -17
  150. package/models/operations/updatetool.js.map +1 -1
  151. package/package.json +8 -8
  152. package/sdk/agents.d.ts +1 -1
  153. package/sdk/agents.d.ts.map +1 -1
  154. package/sdk/agents.js +3 -3
  155. package/sdk/agents.js.map +1 -1
  156. package/sdk/evals.d.ts +1 -1
  157. package/sdk/evals.d.ts.map +1 -1
  158. package/sdk/evals.js +3 -3
  159. package/sdk/evals.js.map +1 -1
  160. package/sdk/feedback.d.ts +10 -2
  161. package/sdk/feedback.d.ts.map +1 -1
  162. package/sdk/feedback.js +20 -6
  163. package/sdk/feedback.js.map +1 -1
  164. package/sdk/guardrailrules.d.ts +7 -0
  165. package/sdk/guardrailrules.d.ts.map +1 -1
  166. package/sdk/guardrailrules.js +10 -0
  167. package/sdk/guardrailrules.js.map +1 -1
  168. package/sdk/humanreviewsets.d.ts +5 -5
  169. package/sdk/humanreviewsets.d.ts.map +1 -1
  170. package/sdk/humanreviewsets.js +15 -15
  171. package/sdk/humanreviewsets.js.map +1 -1
  172. package/sdk/routingrules.d.ts +7 -0
  173. package/sdk/routingrules.d.ts.map +1 -1
  174. package/sdk/routingrules.js +10 -0
  175. package/sdk/routingrules.js.map +1 -1
  176. package/sdk/sdk.d.ts +1 -4
  177. package/sdk/sdk.d.ts.map +1 -1
  178. package/sdk/sdk.js +0 -9
  179. package/sdk/sdk.js.map +1 -1
  180. package/sdk/tools.d.ts +2 -2
  181. package/sdk/tools.d.ts.map +1 -1
  182. package/sdk/tools.js +6 -6
  183. package/sdk/tools.js.map +1 -1
  184. package/src/funcs/{agentsPostV2AgentsKeyCardRefresh.ts → agentsRefreshKeyCard.ts} +1 -1
  185. package/src/funcs/{evalsGetV2EvaluatorsIdVersions.ts → evalsListVersions.ts} +1 -1
  186. package/src/funcs/{feedbackPostV2Feedback.ts → feedbackCreate.ts} +1 -1
  187. package/src/funcs/{postV2FeedbackEvaluation.ts → feedbackCreateEvaluation.ts} +1 -1
  188. package/src/funcs/{feedbackPostV2FeedbackRemove.ts → feedbackRemove.ts} +1 -1
  189. package/src/funcs/{postV2FeedbackEvaluationRemove.ts → feedbackRemoveEvaluation.ts} +1 -1
  190. package/src/funcs/guardrailRulesList.ts +4 -0
  191. package/src/funcs/guardrailRulesListUsedGuardrails.ts +147 -0
  192. package/src/funcs/{humanReviewSetsPostV2HumanEvalSets.ts → humanReviewSetsCreate.ts} +1 -1
  193. package/src/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.ts → humanReviewSetsDelete.ts} +1 -1
  194. package/src/funcs/{humanReviewSetsGetV2HumanEvalSetsId.ts → humanReviewSetsGet.ts} +1 -1
  195. package/src/funcs/{humanReviewSetsGetV2HumanEvalSets.ts → humanReviewSetsList.ts} +1 -1
  196. package/src/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.ts → humanReviewSetsUpdate.ts} +1 -1
  197. package/src/funcs/routingRulesList.ts +3 -0
  198. package/src/funcs/routingRulesListUsedModels.ts +144 -0
  199. package/src/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.ts → toolsGetVersion.ts} +1 -1
  200. package/src/funcs/{toolsGetV2ToolsToolIdVersions.ts → toolsListVersions.ts} +1 -1
  201. package/src/lib/config.ts +2 -2
  202. package/src/models/components/createfilerequest.ts +1 -1
  203. package/src/models/components/reasoningpart.ts +1 -1
  204. package/src/models/operations/createdataset.ts +1 -1
  205. package/src/models/operations/createdatasetitem.ts +4 -4
  206. package/src/models/operations/createdatasource.ts +1 -1
  207. package/src/models/operations/createeval.ts +62 -57
  208. package/src/models/operations/createknowledge.ts +19 -33
  209. package/src/models/operations/createtool.ts +26 -26
  210. package/src/models/operations/getalltools.ts +26 -26
  211. package/src/models/operations/getevals.ts +33 -30
  212. package/src/models/operations/getv2humanevalsets.ts +2 -2
  213. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  214. package/src/models/operations/guardrailrulelist.ts +44 -0
  215. package/src/models/operations/guardrailrulelistusedguardrails.ts +48 -0
  216. package/src/models/operations/index.ts +2 -0
  217. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  218. package/src/models/operations/listdatasets.ts +1 -1
  219. package/src/models/operations/listdatasources.ts +1 -1
  220. package/src/models/operations/listknowledgebases.ts +3 -6
  221. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  222. package/src/models/operations/postv2feedbackevaluation.ts +43 -31
  223. package/src/models/operations/postv2humanevalsets.ts +2 -2
  224. package/src/models/operations/retrievedatapoint.ts +4 -4
  225. package/src/models/operations/retrievedataset.ts +1 -1
  226. package/src/models/operations/retrievedatasource.ts +1 -1
  227. package/src/models/operations/retrievetool.ts +26 -26
  228. package/src/models/operations/routingrulelist.ts +18 -0
  229. package/src/models/operations/routingrulelistusedmodels.ts +37 -0
  230. package/src/models/operations/runagent.ts +1 -1
  231. package/src/models/operations/streamrunagent.ts +1 -1
  232. package/src/models/operations/updatedatapoint.ts +4 -4
  233. package/src/models/operations/updatedataset.ts +1 -1
  234. package/src/models/operations/updatedatasource.ts +1 -1
  235. package/src/models/operations/updateeval.ts +33 -30
  236. package/src/models/operations/updatetool.ts +27 -27
  237. package/src/sdk/agents.ts +3 -3
  238. package/src/sdk/evals.ts +3 -3
  239. package/src/sdk/feedback.ts +36 -6
  240. package/src/sdk/guardrailrules.ts +16 -0
  241. package/src/sdk/humanreviewsets.ts +15 -15
  242. package/src/sdk/routingrules.ts +16 -0
  243. package/src/sdk/sdk.ts +1 -27
  244. package/src/sdk/tools.ts +6 -6
  245. package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +0 -1
  246. package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +0 -1
  247. package/funcs/evalsGetV2EvaluatorsIdVersions.d.ts.map +0 -1
  248. package/funcs/evalsGetV2EvaluatorsIdVersions.js.map +0 -1
  249. package/funcs/feedbackPostV2Feedback.d.ts.map +0 -1
  250. package/funcs/feedbackPostV2Feedback.js.map +0 -1
  251. package/funcs/feedbackPostV2FeedbackRemove.d.ts.map +0 -1
  252. package/funcs/feedbackPostV2FeedbackRemove.js.map +0 -1
  253. package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.d.ts.map +0 -1
  254. package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.js.map +0 -1
  255. package/funcs/humanReviewSetsGetV2HumanEvalSets.d.ts.map +0 -1
  256. package/funcs/humanReviewSetsGetV2HumanEvalSets.js.map +0 -1
  257. package/funcs/humanReviewSetsGetV2HumanEvalSetsId.d.ts.map +0 -1
  258. package/funcs/humanReviewSetsGetV2HumanEvalSetsId.js.map +0 -1
  259. package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.d.ts.map +0 -1
  260. package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.js.map +0 -1
  261. package/funcs/humanReviewSetsPostV2HumanEvalSets.d.ts.map +0 -1
  262. package/funcs/humanReviewSetsPostV2HumanEvalSets.js.map +0 -1
  263. package/funcs/postV2FeedbackEvaluationRemove.d.ts.map +0 -1
  264. package/funcs/postV2FeedbackEvaluationRemove.js.map +0 -1
  265. package/funcs/toolsGetV2ToolsToolIdVersions.d.ts.map +0 -1
  266. package/funcs/toolsGetV2ToolsToolIdVersions.js.map +0 -1
  267. package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.d.ts.map +0 -1
  268. package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.js.map +0 -1
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Returns a specific version of a tool
34
34
  */
35
- export function toolsGetV2ToolsToolIdVersionsVersionId(
35
+ export function toolsGetVersion(
36
36
  client: OrqCore,
37
37
  request: operations.GetV2ToolsToolIdVersionsVersionIdRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Returns version history for a specific tool
34
34
  */
35
- export function toolsGetV2ToolsToolIdVersions(
35
+ export function toolsListVersions(
36
36
  client: OrqCore,
37
37
  request: operations.GetV2ToolsToolIdVersionsRequest,
38
38
  options?: RequestOptions,
package/src/lib/config.ts CHANGED
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
58
58
  export const SDK_METADATA = {
59
59
  language: "typescript",
60
60
  openapiDocVersion: "2.0",
61
- sdkVersion: "4.11.0-rc.1",
61
+ sdkVersion: "4.11.0-rc.3",
62
62
  genVersion: "2.893.0",
63
- userAgent: "speakeasy-sdk/typescript 4.11.0-rc.1 2.893.0 2.0 @orq-ai/node",
63
+ userAgent: "speakeasy-sdk/typescript 4.11.0-rc.3 2.893.0 2.0 @orq-ai/node",
64
64
  } as const;
@@ -21,7 +21,7 @@ export type CreateFileRequest = {
21
21
  */
22
22
  contentType?: string | undefined;
23
23
  /**
24
- * Project the file is created in. Optional for project-scoped API keys (defaults to the key's bound project); required for workspace-scoped callers.
24
+ * Project the file is created in. Optional: project-scoped API keys default to the key's bound project; workspace-scoped callers default to the workspace's default project.
25
25
  */
26
26
  projectId?: string | undefined;
27
27
  };
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01ktb6k5hnyksmjd51bj2ftxx2"),
43
+ _id: z.string().default("reasoning_01ktknh3847e3bkxw47qgzhjhd"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-06-05T06:12:26.568Z",
141
+ "2026-06-08T13:07:17.066Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
2355
2355
  ),
2356
2356
  reviewed_by_id: z.string(),
2357
2357
  reviewed_at: z.string().datetime({ offset: true }).default(
2358
- "2026-06-05T06:12:43.227Z",
2358
+ "2026-06-08T13:07:39.442Z",
2359
2359
  ).transform(v => new Date(v)),
2360
2360
  type: z.literal("string_array"),
2361
2361
  values: z.array(z.string()),
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
2400
2400
  source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
2401
2401
  reviewed_by_id: z.string(),
2402
2402
  reviewed_at: z.string().datetime({ offset: true }).default(
2403
- "2026-06-05T06:12:43.226Z",
2403
+ "2026-06-08T13:07:39.442Z",
2404
2404
  ).transform(v => new Date(v)),
2405
2405
  type: z.literal("number"),
2406
2406
  value: z.number(),
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
2446
2446
  source: EvaluationsSource$inboundSchema.default("orq"),
2447
2447
  reviewed_by_id: z.string(),
2448
2448
  reviewed_at: z.string().datetime({ offset: true }).default(
2449
- "2026-06-05T06:12:43.225Z",
2449
+ "2026-06-08T13:07:39.441Z",
2450
2450
  ).transform(v => new Date(v)),
2451
2451
  type: z.literal("string"),
2452
2452
  value: z.string(),
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
2529
2529
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2530
2530
  .optional(),
2531
2531
  updated: z.string().datetime({ offset: true }).default(
2532
- "2026-06-05T06:12:26.568Z",
2532
+ "2026-06-08T13:07:17.066Z",
2533
2533
  ).transform(v => new Date(v)),
2534
2534
  }).transform((v) => {
2535
2535
  return remap$(v, {
@@ -409,7 +409,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
409
409
  z.ZodTypeDef,
410
410
  unknown
411
411
  > = z.object({
412
- _id: z.string().default("01KTB6K60JRA6Z0WS8753R5G4Y"),
412
+ _id: z.string().default("01KTKNH3QAH5F1F4H58WNN34Q5"),
413
413
  display_name: z.string(),
414
414
  description: z.nullable(z.string()).optional(),
415
415
  status: CreateDatasourceStatus$inboundSchema,
@@ -54,12 +54,10 @@ export const OutputType = {
54
54
  } as const;
55
55
  export type OutputType = ClosedEnum<typeof OutputType>;
56
56
 
57
- export const CreateEvalRequestBodyType = {
57
+ export const RequestBodyType = {
58
58
  PythonEval: "python_eval",
59
59
  } as const;
60
- export type CreateEvalRequestBodyType = ClosedEnum<
61
- typeof CreateEvalRequestBodyType
62
- >;
60
+ export type RequestBodyType = ClosedEnum<typeof RequestBodyType>;
63
61
 
64
62
  export type Python = {
65
63
  guardrailConfig?:
@@ -70,7 +68,7 @@ export type Python = {
70
68
  | undefined;
71
69
  outputType?: OutputType | undefined;
72
70
  code: string;
73
- type: CreateEvalRequestBodyType;
71
+ type: RequestBodyType;
74
72
  /**
75
73
  * Entity storage path.
76
74
  *
@@ -202,10 +200,10 @@ export type Llm2 = {
202
200
  */
203
201
  outputType?: LLMOutputType | undefined;
204
202
  type: LLMType;
205
- repetitions?: number | undefined;
203
+ repetitions?: number | null | undefined;
206
204
  prompt: string;
207
- categories?: Array<string> | undefined;
208
- categoricalLabels?: Array<LLMCategoricalLabels> | undefined;
205
+ categories?: Array<string> | null | undefined;
206
+ categoricalLabels?: Array<LLMCategoricalLabels> | null | undefined;
209
207
  datasetId?: string | undefined;
210
208
  /**
211
209
  * Entity storage path.
@@ -300,10 +298,10 @@ export type Llm1 = {
300
298
  */
301
299
  outputType?: CreateEvalLLMOutputType | undefined;
302
300
  type: CreateEvalLLMType;
303
- repetitions?: number | undefined;
301
+ repetitions?: number | null | undefined;
304
302
  prompt: string;
305
- categories?: Array<string> | undefined;
306
- categoricalLabels?: Array<CreateEvalLLMCategoricalLabels> | undefined;
303
+ categories?: Array<string> | null | undefined;
304
+ categoricalLabels?: Array<CreateEvalLLMCategoricalLabels> | null | undefined;
307
305
  datasetId?: string | undefined;
308
306
  /**
309
307
  * Entity storage path.
@@ -1061,10 +1059,13 @@ export type CreateEvalLlm2 = {
1061
1059
  | null
1062
1060
  | undefined;
1063
1061
  type: CreateEvalLLMEvalsResponseType;
1064
- repetitions?: number | undefined;
1062
+ repetitions?: number | null | undefined;
1065
1063
  prompt: string;
1066
- categories?: Array<string> | undefined;
1067
- categoricalLabels?: Array<CreateEvalLLMEvalsCategoricalLabels> | undefined;
1064
+ categories?: Array<string> | null | undefined;
1065
+ categoricalLabels?:
1066
+ | Array<CreateEvalLLMEvalsCategoricalLabels>
1067
+ | null
1068
+ | undefined;
1068
1069
  datasetId?: string | undefined;
1069
1070
  key: string;
1070
1071
  mode: "jury";
@@ -1139,11 +1140,12 @@ export type CreateEvalLlm1 = {
1139
1140
  | null
1140
1141
  | undefined;
1141
1142
  type: CreateEvalLLMEvalsType;
1142
- repetitions?: number | undefined;
1143
+ repetitions?: number | null | undefined;
1143
1144
  prompt: string;
1144
- categories?: Array<string> | undefined;
1145
+ categories?: Array<string> | null | undefined;
1145
1146
  categoricalLabels?:
1146
1147
  | Array<CreateEvalLLMEvalsResponseCategoricalLabels>
1148
+ | null
1147
1149
  | undefined;
1148
1150
  datasetId?: string | undefined;
1149
1151
  key: string;
@@ -1299,9 +1301,9 @@ export const OutputType$outboundSchema: z.ZodNativeEnum<typeof OutputType> = z
1299
1301
  .nativeEnum(OutputType);
1300
1302
 
1301
1303
  /** @internal */
1302
- export const CreateEvalRequestBodyType$outboundSchema: z.ZodNativeEnum<
1303
- typeof CreateEvalRequestBodyType
1304
- > = z.nativeEnum(CreateEvalRequestBodyType);
1304
+ export const RequestBodyType$outboundSchema: z.ZodNativeEnum<
1305
+ typeof RequestBodyType
1306
+ > = z.nativeEnum(RequestBodyType);
1305
1307
 
1306
1308
  /** @internal */
1307
1309
  export type Python$Outbound = {
@@ -1334,7 +1336,7 @@ export const Python$outboundSchema: z.ZodType<
1334
1336
  ).optional(),
1335
1337
  outputType: OutputType$outboundSchema.optional(),
1336
1338
  code: z.string(),
1337
- type: CreateEvalRequestBodyType$outboundSchema,
1339
+ type: RequestBodyType$outboundSchema,
1338
1340
  path: z.string(),
1339
1341
  description: z.string().default(""),
1340
1342
  key: z.string(),
@@ -1708,10 +1710,10 @@ export type Llm2$Outbound = {
1708
1710
  | undefined;
1709
1711
  output_type?: string | undefined;
1710
1712
  type: string;
1711
- repetitions?: number | undefined;
1713
+ repetitions?: number | null | undefined;
1712
1714
  prompt: string;
1713
- categories?: Array<string> | undefined;
1714
- categorical_labels?: Array<LLMCategoricalLabels$Outbound> | undefined;
1715
+ categories?: Array<string> | null | undefined;
1716
+ categorical_labels?: Array<LLMCategoricalLabels$Outbound> | null | undefined;
1715
1717
  dataset_id?: string | undefined;
1716
1718
  path: string;
1717
1719
  description: string;
@@ -1738,11 +1740,11 @@ export const Llm2$outboundSchema: z.ZodType<Llm2$Outbound, z.ZodTypeDef, Llm2> =
1738
1740
  ).optional(),
1739
1741
  outputType: LLMOutputType$outboundSchema.optional(),
1740
1742
  type: LLMType$outboundSchema,
1741
- repetitions: z.number().int().optional(),
1743
+ repetitions: z.nullable(z.number().int()).optional(),
1742
1744
  prompt: z.string(),
1743
- categories: z.array(z.string()).optional(),
1744
- categoricalLabels: z.array(
1745
- z.lazy(() => LLMCategoricalLabels$outboundSchema),
1745
+ categories: z.nullable(z.array(z.string())).optional(),
1746
+ categoricalLabels: z.nullable(
1747
+ z.array(z.lazy(() => LLMCategoricalLabels$outboundSchema)),
1746
1748
  ).optional(),
1747
1749
  datasetId: z.string().optional(),
1748
1750
  path: z.string(),
@@ -1945,11 +1947,12 @@ export type Llm1$Outbound = {
1945
1947
  | undefined;
1946
1948
  output_type?: string | undefined;
1947
1949
  type: string;
1948
- repetitions?: number | undefined;
1950
+ repetitions?: number | null | undefined;
1949
1951
  prompt: string;
1950
- categories?: Array<string> | undefined;
1952
+ categories?: Array<string> | null | undefined;
1951
1953
  categorical_labels?:
1952
1954
  | Array<CreateEvalLLMCategoricalLabels$Outbound>
1955
+ | null
1953
1956
  | undefined;
1954
1957
  dataset_id?: string | undefined;
1955
1958
  path: string;
@@ -1971,11 +1974,11 @@ export const Llm1$outboundSchema: z.ZodType<Llm1$Outbound, z.ZodTypeDef, Llm1> =
1971
1974
  ).optional(),
1972
1975
  outputType: CreateEvalLLMOutputType$outboundSchema.optional(),
1973
1976
  type: CreateEvalLLMType$outboundSchema,
1974
- repetitions: z.number().int().optional(),
1977
+ repetitions: z.nullable(z.number().int()).optional(),
1975
1978
  prompt: z.string(),
1976
- categories: z.array(z.string()).optional(),
1977
- categoricalLabels: z.array(
1978
- z.lazy(() => CreateEvalLLMCategoricalLabels$outboundSchema),
1979
+ categories: z.nullable(z.array(z.string())).optional(),
1980
+ categoricalLabels: z.nullable(
1981
+ z.array(z.lazy(() => CreateEvalLLMCategoricalLabels$outboundSchema)),
1979
1982
  ).optional(),
1980
1983
  datasetId: z.string().optional(),
1981
1984
  path: z.string(),
@@ -2190,8 +2193,8 @@ export const Typescript$inboundSchema: z.ZodType<
2190
2193
  > = z.object({
2191
2194
  _id: z.string(),
2192
2195
  description: z.string(),
2193
- created: z.string().default("2026-06-05T06:12:28.028Z"),
2194
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
2196
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
2197
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
2195
2198
  updated_by_id: z.nullable(z.string()).optional(),
2196
2199
  guardrail_config: z.nullable(
2197
2200
  z.union([
@@ -2381,8 +2384,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
2381
2384
  .object({
2382
2385
  _id: z.string(),
2383
2386
  description: z.string(),
2384
- created: z.string().default("2026-06-05T06:12:28.028Z"),
2385
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
2387
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
2388
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
2386
2389
  updated_by_id: z.nullable(z.string()).optional(),
2387
2390
  guardrail_config: z.nullable(
2388
2391
  z.union([
@@ -3207,8 +3210,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
3207
3210
  > = z.object({
3208
3211
  _id: z.string(),
3209
3212
  description: z.string(),
3210
- created: z.string().default("2026-06-05T06:12:28.028Z"),
3211
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
3213
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
3214
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
3212
3215
  updated_by_id: z.nullable(z.string()).optional(),
3213
3216
  guardrail_config: z.nullable(
3214
3217
  z.union([
@@ -3427,8 +3430,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
3427
3430
  > = z.object({
3428
3431
  _id: z.string(),
3429
3432
  description: z.string(),
3430
- created: z.string().default("2026-06-05T06:12:28.028Z"),
3431
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
3433
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
3434
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
3432
3435
  updated_by_id: z.nullable(z.string()).optional(),
3433
3436
  guardrail_config: z.nullable(
3434
3437
  z.union([
@@ -3609,8 +3612,8 @@ export const CreateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
3609
3612
  > = z.object({
3610
3613
  _id: z.string(),
3611
3614
  description: z.string(),
3612
- created: z.string().default("2026-06-05T06:12:28.028Z"),
3613
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
3615
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
3616
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
3614
3617
  updated_by_id: z.nullable(z.string()).optional(),
3615
3618
  guardrail_config: z.nullable(
3616
3619
  z.union([
@@ -3769,8 +3772,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
3769
3772
  .object({
3770
3773
  _id: z.string(),
3771
3774
  description: z.string(),
3772
- created: z.string().default("2026-06-05T06:12:28.028Z"),
3773
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
3775
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
3776
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
3774
3777
  updated_by_id: z.nullable(z.string()).optional(),
3775
3778
  guardrail_config: z.nullable(
3776
3779
  z.union([
@@ -4140,8 +4143,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
4140
4143
  > = z.object({
4141
4144
  _id: z.string(),
4142
4145
  description: z.string(),
4143
- created: z.string().default("2026-06-05T06:12:28.028Z"),
4144
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
4146
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
4147
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
4145
4148
  updated_by_id: z.nullable(z.string()).optional(),
4146
4149
  guardrail_config: z.nullable(
4147
4150
  z.union([
@@ -4157,11 +4160,11 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
4157
4160
  ]),
4158
4161
  ).optional(),
4159
4162
  type: CreateEvalLLMEvalsResponseType$inboundSchema,
4160
- repetitions: z.number().int().optional(),
4163
+ repetitions: z.nullable(z.number().int()).optional(),
4161
4164
  prompt: z.string(),
4162
- categories: z.array(z.string()).optional(),
4163
- categorical_labels: z.array(
4164
- z.lazy(() => CreateEvalLLMEvalsCategoricalLabels$inboundSchema),
4165
+ categories: z.nullable(z.array(z.string())).optional(),
4166
+ categorical_labels: z.nullable(
4167
+ z.array(z.lazy(() => CreateEvalLLMEvalsCategoricalLabels$inboundSchema)),
4165
4168
  ).optional(),
4166
4169
  dataset_id: z.string().optional(),
4167
4170
  key: z.string(),
@@ -4360,8 +4363,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
4360
4363
  > = z.object({
4361
4364
  _id: z.string(),
4362
4365
  description: z.string(),
4363
- created: z.string().default("2026-06-05T06:12:28.028Z"),
4364
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
4366
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
4367
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
4365
4368
  updated_by_id: z.nullable(z.string()).optional(),
4366
4369
  guardrail_config: z.nullable(
4367
4370
  z.union([
@@ -4377,11 +4380,13 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
4377
4380
  ]),
4378
4381
  ).optional(),
4379
4382
  type: CreateEvalLLMEvalsType$inboundSchema,
4380
- repetitions: z.number().int().optional(),
4383
+ repetitions: z.nullable(z.number().int()).optional(),
4381
4384
  prompt: z.string(),
4382
- categories: z.array(z.string()).optional(),
4383
- categorical_labels: z.array(
4384
- z.lazy(() => CreateEvalLLMEvalsResponseCategoricalLabels$inboundSchema),
4385
+ categories: z.nullable(z.array(z.string())).optional(),
4386
+ categorical_labels: z.nullable(
4387
+ z.array(z.lazy(() =>
4388
+ CreateEvalLLMEvalsResponseCategoricalLabels$inboundSchema
4389
+ )),
4385
4390
  ).optional(),
4386
4391
  dataset_id: z.string().optional(),
4387
4392
  key: z.string(),
@@ -31,7 +31,7 @@ export type ExternalConfig = {
31
31
  apiKey: string;
32
32
  };
33
33
 
34
- export type CreateKnowledgeRequestBody2 = {
34
+ export type RequestBody2 = {
35
35
  type?: CreateKnowledgeRequestBodyKnowledgeType | undefined;
36
36
  key: string;
37
37
  description?: string | undefined;
@@ -115,7 +115,7 @@ export type RetrievalSettings = {
115
115
  | undefined;
116
116
  };
117
117
 
118
- export type CreateKnowledgeRequestBody1 = {
118
+ export type RequestBody1 = {
119
119
  type?: CreateKnowledgeRequestBodyType | undefined;
120
120
  key: string;
121
121
  description?: string | undefined;
@@ -139,9 +139,7 @@ export type CreateKnowledgeRequestBody1 = {
139
139
  path: string;
140
140
  };
141
141
 
142
- export type CreateKnowledgeRequestBody =
143
- | CreateKnowledgeRequestBody1
144
- | CreateKnowledgeRequestBody2;
142
+ export type CreateKnowledgeRequestBody = RequestBody1 | RequestBody2;
145
143
 
146
144
  export const CreateKnowledgeResponseBodyKnowledgeType = {
147
145
  External: "external",
@@ -421,7 +419,7 @@ export function externalConfigToJSON(externalConfig: ExternalConfig): string {
421
419
  }
422
420
 
423
421
  /** @internal */
424
- export type CreateKnowledgeRequestBody2$Outbound = {
422
+ export type RequestBody2$Outbound = {
425
423
  type: string;
426
424
  key: string;
427
425
  description?: string | undefined;
@@ -429,10 +427,10 @@ export type CreateKnowledgeRequestBody2$Outbound = {
429
427
  };
430
428
 
431
429
  /** @internal */
432
- export const CreateKnowledgeRequestBody2$outboundSchema: z.ZodType<
433
- CreateKnowledgeRequestBody2$Outbound,
430
+ export const RequestBody2$outboundSchema: z.ZodType<
431
+ RequestBody2$Outbound,
434
432
  z.ZodTypeDef,
435
- CreateKnowledgeRequestBody2
433
+ RequestBody2
436
434
  > = z.object({
437
435
  type: CreateKnowledgeRequestBodyKnowledgeType$outboundSchema.default(
438
436
  "external",
@@ -446,14 +444,8 @@ export const CreateKnowledgeRequestBody2$outboundSchema: z.ZodType<
446
444
  });
447
445
  });
448
446
 
449
- export function createKnowledgeRequestBody2ToJSON(
450
- createKnowledgeRequestBody2: CreateKnowledgeRequestBody2,
451
- ): string {
452
- return JSON.stringify(
453
- CreateKnowledgeRequestBody2$outboundSchema.parse(
454
- createKnowledgeRequestBody2,
455
- ),
456
- );
447
+ export function requestBody2ToJSON(requestBody2: RequestBody2): string {
448
+ return JSON.stringify(RequestBody2$outboundSchema.parse(requestBody2));
457
449
  }
458
450
 
459
451
  /** @internal */
@@ -575,7 +567,7 @@ export function retrievalSettingsToJSON(
575
567
  }
576
568
 
577
569
  /** @internal */
578
- export type CreateKnowledgeRequestBody1$Outbound = {
570
+ export type RequestBody1$Outbound = {
579
571
  type: string;
580
572
  key: string;
581
573
  description?: string | undefined;
@@ -585,10 +577,10 @@ export type CreateKnowledgeRequestBody1$Outbound = {
585
577
  };
586
578
 
587
579
  /** @internal */
588
- export const CreateKnowledgeRequestBody1$outboundSchema: z.ZodType<
589
- CreateKnowledgeRequestBody1$Outbound,
580
+ export const RequestBody1$outboundSchema: z.ZodType<
581
+ RequestBody1$Outbound,
590
582
  z.ZodTypeDef,
591
- CreateKnowledgeRequestBody1
583
+ RequestBody1
592
584
  > = z.object({
593
585
  type: CreateKnowledgeRequestBodyType$outboundSchema.default("internal"),
594
586
  key: z.string(),
@@ -603,20 +595,14 @@ export const CreateKnowledgeRequestBody1$outboundSchema: z.ZodType<
603
595
  });
604
596
  });
605
597
 
606
- export function createKnowledgeRequestBody1ToJSON(
607
- createKnowledgeRequestBody1: CreateKnowledgeRequestBody1,
608
- ): string {
609
- return JSON.stringify(
610
- CreateKnowledgeRequestBody1$outboundSchema.parse(
611
- createKnowledgeRequestBody1,
612
- ),
613
- );
598
+ export function requestBody1ToJSON(requestBody1: RequestBody1): string {
599
+ return JSON.stringify(RequestBody1$outboundSchema.parse(requestBody1));
614
600
  }
615
601
 
616
602
  /** @internal */
617
603
  export type CreateKnowledgeRequestBody$Outbound =
618
- | CreateKnowledgeRequestBody1$Outbound
619
- | CreateKnowledgeRequestBody2$Outbound;
604
+ | RequestBody1$Outbound
605
+ | RequestBody2$Outbound;
620
606
 
621
607
  /** @internal */
622
608
  export const CreateKnowledgeRequestBody$outboundSchema: z.ZodType<
@@ -624,8 +610,8 @@ export const CreateKnowledgeRequestBody$outboundSchema: z.ZodType<
624
610
  z.ZodTypeDef,
625
611
  CreateKnowledgeRequestBody
626
612
  > = z.union([
627
- z.lazy(() => CreateKnowledgeRequestBody1$outboundSchema),
628
- z.lazy(() => CreateKnowledgeRequestBody2$outboundSchema),
613
+ z.lazy(() => RequestBody1$outboundSchema),
614
+ z.lazy(() => RequestBody2$outboundSchema),
629
615
  ]);
630
616
 
631
617
  export function createKnowledgeRequestBodyToJSON(