@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
@@ -2,15 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { deleteV2HumanEvalsId } from "../funcs/deleteV2HumanEvalsId.js";
6
- import { getV2HumanEvals } from "../funcs/getV2HumanEvals.js";
7
- import { getV2HumanEvalsId } from "../funcs/getV2HumanEvalsId.js";
8
- import { patchV2HumanEvalsId } from "../funcs/patchV2HumanEvalsId.js";
9
- import { postV2Feedback } from "../funcs/postV2Feedback.js";
10
5
  import { postV2FeedbackEvaluation } from "../funcs/postV2FeedbackEvaluation.js";
11
6
  import { postV2FeedbackEvaluationRemove } from "../funcs/postV2FeedbackEvaluationRemove.js";
12
- import { postV2FeedbackRemove } from "../funcs/postV2FeedbackRemove.js";
13
- import { postV2HumanEvals } from "../funcs/postV2HumanEvals.js";
14
7
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
15
8
  import * as operations from "../models/operations/index.js";
16
9
  import { unwrapAsync } from "../types/fp.js";
@@ -21,16 +14,18 @@ import { Contacts } from "./contacts.js";
21
14
  import { Datasets } from "./datasets.js";
22
15
  import { Deployments } from "./deployments.js";
23
16
  import { Evals } from "./evals.js";
24
- import { Evaluators } from "./evaluators.js";
17
+ import { Feedback } from "./feedback.js";
25
18
  import { Files } from "./files.js";
19
+ import { GuardrailRules } from "./guardrailrules.js";
26
20
  import { HumanReviewSets } from "./humanreviewsets.js";
27
21
  import { Identities } from "./identities.js";
28
22
  import { Knowledge } from "./knowledge.js";
29
23
  import { MemoryStores } from "./memorystores.js";
30
- import { Models } from "./models.js";
24
+ import { Policies } from "./policies.js";
31
25
  import { Prompts } from "./prompts.js";
32
26
  import { Remoteconfigs } from "./remoteconfigs.js";
33
27
  import { Router } from "./router.js";
28
+ import { RoutingRules } from "./routingrules.js";
34
29
  import { Tools } from "./tools.js";
35
30
 
36
31
  export class Orq extends ClientSDK {
@@ -39,16 +34,16 @@ export class Orq extends ClientSDK {
39
34
  return (this._contacts ??= new Contacts(this._options));
40
35
  }
41
36
 
37
+ private _feedback?: Feedback;
38
+ get feedback(): Feedback {
39
+ return (this._feedback ??= new Feedback(this._options));
40
+ }
41
+
42
42
  private _evals?: Evals;
43
43
  get evals(): Evals {
44
44
  return (this._evals ??= new Evals(this._options));
45
45
  }
46
46
 
47
- private _evaluators?: Evaluators;
48
- get evaluators(): Evaluators {
49
- return (this._evaluators ??= new Evaluators(this._options));
50
- }
51
-
52
47
  private _identities?: Identities;
53
48
  get identities(): Identities {
54
49
  return (this._identities ??= new Identities(this._options));
@@ -74,11 +69,6 @@ export class Orq extends ClientSDK {
74
69
  return (this._remoteconfigs ??= new Remoteconfigs(this._options));
75
70
  }
76
71
 
77
- private _models?: Models;
78
- get models(): Models {
79
- return (this._models ??= new Models(this._options));
80
- }
81
-
82
72
  private _tools?: Tools;
83
73
  get tools(): Tools {
84
74
  return (this._tools ??= new Tools(this._options));
@@ -124,15 +114,19 @@ export class Orq extends ClientSDK {
124
114
  return (this._files ??= new Files(this._options));
125
115
  }
126
116
 
127
- async postV2Feedback(
128
- request?: operations.PostV2FeedbackRequestBody | undefined,
129
- options?: RequestOptions,
130
- ): Promise<operations.PostV2FeedbackResponseBody> {
131
- return unwrapAsync(postV2Feedback(
132
- this,
133
- request,
134
- options,
135
- ));
117
+ private _guardrailRules?: GuardrailRules;
118
+ get guardrailRules(): GuardrailRules {
119
+ return (this._guardrailRules ??= new GuardrailRules(this._options));
120
+ }
121
+
122
+ private _policies?: Policies;
123
+ get policies(): Policies {
124
+ return (this._policies ??= new Policies(this._options));
125
+ }
126
+
127
+ private _routingRules?: RoutingRules;
128
+ get routingRules(): RoutingRules {
129
+ return (this._routingRules ??= new RoutingRules(this._options));
136
130
  }
137
131
 
138
132
  async postV2FeedbackEvaluationRemove(
@@ -156,70 +150,4 @@ export class Orq extends ClientSDK {
156
150
  options,
157
151
  ));
158
152
  }
159
-
160
- async postV2FeedbackRemove(
161
- request?: operations.PostV2FeedbackRemoveRequestBody | undefined,
162
- options?: RequestOptions,
163
- ): Promise<operations.PostV2FeedbackRemoveResponseBody> {
164
- return unwrapAsync(postV2FeedbackRemove(
165
- this,
166
- request,
167
- options,
168
- ));
169
- }
170
-
171
- async getV2HumanEvals(
172
- request?: operations.GetV2HumanEvalsRequest | undefined,
173
- options?: RequestOptions,
174
- ): Promise<Array<operations.ResponseBody>> {
175
- return unwrapAsync(getV2HumanEvals(
176
- this,
177
- request,
178
- options,
179
- ));
180
- }
181
-
182
- async postV2HumanEvals(
183
- request?: operations.PostV2HumanEvalsRequestBody | undefined,
184
- options?: RequestOptions,
185
- ): Promise<operations.PostV2HumanEvalsResponseBody> {
186
- return unwrapAsync(postV2HumanEvals(
187
- this,
188
- request,
189
- options,
190
- ));
191
- }
192
-
193
- async getV2HumanEvalsId(
194
- request: operations.GetV2HumanEvalsIdRequest,
195
- options?: RequestOptions,
196
- ): Promise<operations.GetV2HumanEvalsIdResponseBody> {
197
- return unwrapAsync(getV2HumanEvalsId(
198
- this,
199
- request,
200
- options,
201
- ));
202
- }
203
-
204
- async patchV2HumanEvalsId(
205
- request: operations.PatchV2HumanEvalsIdRequest,
206
- options?: RequestOptions,
207
- ): Promise<operations.PatchV2HumanEvalsIdResponseBody> {
208
- return unwrapAsync(patchV2HumanEvalsId(
209
- this,
210
- request,
211
- options,
212
- ));
213
- }
214
-
215
- async deleteV2HumanEvalsId(
216
- request: operations.DeleteV2HumanEvalsIdRequest,
217
- options?: RequestOptions,
218
- ): Promise<operations.DeleteV2HumanEvalsIdResponseBody> {
219
- return unwrapAsync(deleteV2HumanEvalsId(
220
- this,
221
- request,
222
- options,
223
- ));
224
- }
225
153
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { OrqCore } from "../core.js";
6
- import { appendForm } from "../lib/encodings.js";
6
+ import { appendForm, normalizeBlob } from "../lib/encodings.js";
7
7
  import {
8
8
  bytesToBlob,
9
9
  getContentTypeFromFileName,
@@ -93,8 +93,9 @@ async function $do(
93
93
  const body = new FormData();
94
94
 
95
95
  if (isBlobLike(payload.file)) {
96
- const blob = payload.file;
97
- const name = "name" in blob ? (blob.name as string) : undefined;
96
+ const file = payload.file;
97
+ const blob = await normalizeBlob(file);
98
+ const name = "name" in file ? (file.name as string) : undefined;
98
99
  appendForm(body, "file", blob, name);
99
100
  } else if (isReadableStream(payload.file.content)) {
100
101
  const buffer = await readableStreamToArrayBuffer(payload.file.content);
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { OrqCore } from "../core.js";
6
- import { appendForm, encodeJSON } from "../lib/encodings.js";
6
+ import { appendForm, encodeJSON, normalizeBlob } from "../lib/encodings.js";
7
7
  import {
8
8
  bytesToBlob,
9
9
  getContentTypeFromFileName,
@@ -109,8 +109,9 @@ async function $do(
109
109
  }
110
110
  if (payload.file !== undefined) {
111
111
  if (isBlobLike(payload.file)) {
112
- const blob = payload.file;
113
- const name = "name" in blob ? (blob.name as string) : undefined;
112
+ const file = payload.file;
113
+ const blob = await normalizeBlob(file);
114
+ const name = "name" in file ? (file.name as string) : undefined;
114
115
  appendForm(body, "file", blob, name);
115
116
  } else if (isReadableStream(payload.file.content)) {
116
117
  const buffer = await readableStreamToArrayBuffer(payload.file.content);
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { OrqCore } from "../core.js";
6
- import { appendForm, encodeJSON } from "../lib/encodings.js";
6
+ import { appendForm, encodeJSON, normalizeBlob } from "../lib/encodings.js";
7
7
  import {
8
8
  bytesToBlob,
9
9
  getContentTypeFromFileName,
@@ -109,8 +109,9 @@ async function $do(
109
109
  }
110
110
  if (payload.file !== undefined) {
111
111
  if (isBlobLike(payload.file)) {
112
- const blob = payload.file;
113
- const name = "name" in blob ? (blob.name as string) : undefined;
112
+ const file = payload.file;
113
+ const blob = await normalizeBlob(file);
114
+ const name = "name" in file ? (file.name as string) : undefined;
114
115
  appendForm(body, "file", blob, name);
115
116
  } else if (isReadableStream(payload.file.content)) {
116
117
  const buffer = await readableStreamToArrayBuffer(payload.file.content);
package/src/lib/config.ts CHANGED
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
68
68
  export const SDK_METADATA = {
69
69
  language: "typescript",
70
70
  openapiDocVersion: "2.0",
71
- sdkVersion: "4.7.5",
72
- genVersion: "2.879.6",
73
- userAgent: "speakeasy-sdk/typescript 4.7.5 2.879.6 2.0 @orq-ai/node",
71
+ sdkVersion: "4.7.7",
72
+ genVersion: "2.879.13",
73
+ userAgent: "speakeasy-sdk/typescript 4.7.7 2.879.13 2.0 @orq-ai/node",
74
74
  } as const;
@@ -514,3 +514,12 @@ export function appendForm(
514
514
  fd.append(key, String(value));
515
515
  }
516
516
  }
517
+
518
+ export async function normalizeBlob(
519
+ value: Pick<Blob, "arrayBuffer" | "type">,
520
+ ): Promise<Blob> {
521
+ if (value instanceof Blob) {
522
+ return value;
523
+ }
524
+ return new Blob([await value.arrayBuffer()], { type: value.type });
525
+ }
@@ -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_01knv43015xg22zx0rzz15fmsd"),
43
+ _id: z.string().default("reasoning_01kpb3m7qcpa0k5z250z3xhgbp"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
134
134
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
135
135
  .optional(),
136
136
  updated: z.string().datetime({ offset: true }).default(
137
- "2026-04-10T07:18:00.925Z",
137
+ "2026-04-16T12:17:48.157Z",
138
138
  ).transform(v => new Date(v)),
139
139
  }).transform((v) => {
140
140
  return remap$(v, {
@@ -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-04-10T07:18:00.925Z",
141
+ "2026-04-16T12:17:48.157Z",
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-04-10T07:18:18.091Z",
2358
+ "2026-04-16T12:18:05.368Z",
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-04-10T07:18:18.091Z",
2403
+ "2026-04-16T12:18:05.368Z",
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-04-10T07:18:18.090Z",
2449
+ "2026-04-16T12:18:05.367Z",
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-04-10T07:18:00.925Z",
2532
+ "2026-04-16T12:17:48.157Z",
2533
2533
  ).transform(v => new Date(v)),
2534
2534
  }).transform((v) => {
2535
2535
  return remap$(v, {
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
403
403
  z.ZodTypeDef,
404
404
  unknown
405
405
  > = z.object({
406
- _id: z.string().default("01KNV430N02558WY7H1793Q9QP"),
406
+ _id: z.string().default("01KPB3M8BD01XZ83DM1PV9Y9EZ"),
407
407
  display_name: z.string(),
408
408
  description: z.string().optional(),
409
409
  status: CreateDatasourceStatus$inboundSchema,
@@ -2278,8 +2278,8 @@ export const Typescript$inboundSchema: z.ZodType<
2278
2278
  > = z.object({
2279
2279
  _id: z.string(),
2280
2280
  description: z.string(),
2281
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2282
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2281
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2282
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2283
2283
  guardrail_config: z.nullable(
2284
2284
  z.union([
2285
2285
  z.lazy(() =>
@@ -2429,8 +2429,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
2429
2429
  .object({
2430
2430
  _id: z.string(),
2431
2431
  description: z.string(),
2432
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2433
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2432
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2433
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2434
2434
  guardrail_config: z.nullable(
2435
2435
  z.union([
2436
2436
  z.lazy(() =>
@@ -3221,8 +3221,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
3221
3221
  > = z.object({
3222
3222
  _id: z.string(),
3223
3223
  description: z.string(),
3224
- created: z.string().default("2026-04-10T07:18:03.276Z"),
3225
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
3224
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
3225
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
3226
3226
  guardrail_config: z.nullable(
3227
3227
  z.union([
3228
3228
  z.lazy(() =>
@@ -3402,8 +3402,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
3402
3402
  > = z.object({
3403
3403
  _id: z.string(),
3404
3404
  description: z.string(),
3405
- created: z.string().default("2026-04-10T07:18:03.276Z"),
3406
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
3405
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
3406
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
3407
3407
  guardrail_config: z.nullable(
3408
3408
  z.union([
3409
3409
  z.lazy(() =>
@@ -3545,8 +3545,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
3545
3545
  > = z.object({
3546
3546
  _id: z.string(),
3547
3547
  description: z.string(),
3548
- created: z.string().default("2026-04-10T07:18:03.276Z"),
3549
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
3548
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
3549
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
3550
3550
  guardrail_config: z.nullable(
3551
3551
  z.union([
3552
3552
  z.lazy(() =>
@@ -3686,8 +3686,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
3686
3686
  > = z.object({
3687
3687
  _id: z.string(),
3688
3688
  description: z.string(),
3689
- created: z.string().default("2026-04-10T07:18:03.276Z"),
3690
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
3689
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
3690
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
3691
3691
  guardrail_config: z.nullable(
3692
3692
  z.union([
3693
3693
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -3999,8 +3999,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
3999
3999
  > = z.object({
4000
4000
  _id: z.string(),
4001
4001
  description: z.string(),
4002
- created: z.string().default("2026-04-10T07:18:03.276Z"),
4003
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
4002
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
4003
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
4004
4004
  guardrail_config: z.nullable(
4005
4005
  z.union([
4006
4006
  z.lazy(() =>
@@ -4145,8 +4145,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
4145
4145
  > = z.object({
4146
4146
  _id: z.string(),
4147
4147
  description: z.string(),
4148
- created: z.string().default("2026-04-10T07:18:03.276Z"),
4149
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
4148
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
4149
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
4150
4150
  guardrail_config: z.nullable(
4151
4151
  z.union([
4152
4152
  z.lazy(() =>
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
139
139
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
140
140
  .optional(),
141
141
  updated: z.string().datetime({ offset: true }).default(
142
- "2026-04-10T07:18:00.925Z",
142
+ "2026-04-16T12:17:48.157Z",
143
143
  ).transform(v => new Date(v)),
144
144
  }).transform((v) => {
145
145
  return remap$(v, {
@@ -1907,7 +1907,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1907
1907
  z.ZodTypeDef,
1908
1908
  unknown
1909
1909
  > = z.object({
1910
- _id: z.string().default("tool_01KNV430GR9NYEE8S56MTTD3CJ"),
1910
+ _id: z.string().default("tool_01KPB3M874NFKQWHF5MY7TPY9D"),
1911
1911
  path: z.string(),
1912
1912
  key: z.string(),
1913
1913
  display_name: z.string().optional(),
@@ -2006,7 +2006,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
2006
2006
  z.ZodTypeDef,
2007
2007
  unknown
2008
2008
  > = z.object({
2009
- id: z.string().default("01KNV430GGN2H4H3Q1RQETWV7E"),
2009
+ id: z.string().default("01KPB3M873WNVQW9T4YYTC7WFK"),
2010
2010
  name: z.string(),
2011
2011
  description: z.string().optional(),
2012
2012
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
@@ -2062,7 +2062,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2062
2062
  z.ZodTypeDef,
2063
2063
  unknown
2064
2064
  > = z.object({
2065
- _id: z.string().default("tool_01KNV430GFNFBSHMX47104JSFH"),
2065
+ _id: z.string().default("tool_01KPB3M872HY5QG3K36HS0HHMH"),
2066
2066
  path: z.string(),
2067
2067
  key: z.string(),
2068
2068
  display_name: z.string().optional(),
@@ -2250,7 +2250,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2250
2250
  z.ZodTypeDef,
2251
2251
  unknown
2252
2252
  > = z.object({
2253
- _id: z.string().default("tool_01KNV430GDAFVM5EY4DNWP3SJR"),
2253
+ _id: z.string().default("tool_01KPB3M870N3HZHSR1N848P6P0"),
2254
2254
  path: z.string(),
2255
2255
  key: z.string(),
2256
2256
  display_name: z.string().optional(),
@@ -2345,7 +2345,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2345
2345
  z.ZodTypeDef,
2346
2346
  unknown
2347
2347
  > = z.object({
2348
- _id: z.string().default("tool_01KNV430GCW7ZEZ408104K5MZW"),
2348
+ _id: z.string().default("tool_01KPB3M86ZWJBFNPMG7PYA9VJV"),
2349
2349
  path: z.string(),
2350
2350
  key: z.string(),
2351
2351
  display_name: z.string().optional(),
@@ -2448,7 +2448,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2448
2448
  z.ZodTypeDef,
2449
2449
  unknown
2450
2450
  > = z.object({
2451
- _id: z.string().default("tool_01KNV430GBBWGR1KQR6XEY593B"),
2451
+ _id: z.string().default("tool_01KPB3M86XPAR8SXQ61ZBKQ8X4"),
2452
2452
  path: z.string(),
2453
2453
  key: z.string(),
2454
2454
  display_name: z.string().optional(),
@@ -772,7 +772,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
772
772
  z.ZodTypeDef,
773
773
  unknown
774
774
  > = z.object({
775
- _id: z.string().default("tool_01KNV430G04N5A7GHXCBK4F7P2"),
775
+ _id: z.string().default("tool_01KPB3M86C0PGZKR28T44AGGPW"),
776
776
  path: z.string(),
777
777
  key: z.string(),
778
778
  display_name: z.string().optional(),
@@ -871,7 +871,7 @@ export const DataTools$inboundSchema: z.ZodType<
871
871
  z.ZodTypeDef,
872
872
  unknown
873
873
  > = z.object({
874
- id: z.string().default("01KNV430FZY9P78V3R1JE7F3DR"),
874
+ id: z.string().default("01KPB3M86BSKAKNY9ZQ61QMXVZ"),
875
875
  name: z.string(),
876
876
  description: z.string().optional(),
877
877
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -924,7 +924,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
924
924
  z.ZodTypeDef,
925
925
  unknown
926
926
  > = z.object({
927
- _id: z.string().default("tool_01KNV430FYQ4DH8D50RXYFDYXK"),
927
+ _id: z.string().default("tool_01KPB3M86A713JR6M936KQ0K3R"),
928
928
  path: z.string(),
929
929
  key: z.string(),
930
930
  display_name: z.string().optional(),
@@ -1111,7 +1111,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1111
1111
  z.ZodTypeDef,
1112
1112
  unknown
1113
1113
  > = z.object({
1114
- _id: z.string().default("tool_01KNV430FWJ0EXY9A557JDFEGZ"),
1114
+ _id: z.string().default("tool_01KPB3M868QGVMJKWE86GV7P7G"),
1115
1115
  path: z.string(),
1116
1116
  key: z.string(),
1117
1117
  display_name: z.string().optional(),
@@ -1206,7 +1206,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1206
1206
  z.ZodTypeDef,
1207
1207
  unknown
1208
1208
  > = z.object({
1209
- _id: z.string().default("tool_01KNV430FVF3R8MMSV0ZT46X5Y"),
1209
+ _id: z.string().default("tool_01KPB3M86776PCCW1DWVFYRADV"),
1210
1210
  path: z.string(),
1211
1211
  key: z.string(),
1212
1212
  display_name: z.string().optional(),
@@ -1310,7 +1310,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1310
1310
  z.ZodTypeDef,
1311
1311
  unknown
1312
1312
  > = z.object({
1313
- _id: z.string().default("tool_01KNV430FS9QZC7S4C0TVH7T3M"),
1313
+ _id: z.string().default("tool_01KPB3M865W639J0D6VSVRR57D"),
1314
1314
  path: z.string(),
1315
1315
  key: z.string(),
1316
1316
  display_name: z.string().optional(),
@@ -914,8 +914,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
914
914
  > = z.object({
915
915
  _id: z.string(),
916
916
  description: z.string(),
917
- created: z.string().default("2026-04-10T07:18:03.276Z"),
918
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
917
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
918
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
919
919
  guardrail_config: z.nullable(
920
920
  z.union([
921
921
  z.lazy(() =>
@@ -1057,8 +1057,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1057
1057
  > = z.object({
1058
1058
  _id: z.string(),
1059
1059
  description: z.string(),
1060
- created: z.string().default("2026-04-10T07:18:03.276Z"),
1061
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
1060
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
1061
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
1062
1062
  guardrail_config: z.nullable(
1063
1063
  z.union([
1064
1064
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -1851,8 +1851,8 @@ export const DataFunction$inboundSchema: z.ZodType<
1851
1851
  > = z.object({
1852
1852
  _id: z.string(),
1853
1853
  description: z.string(),
1854
- created: z.string().default("2026-04-10T07:18:03.276Z"),
1855
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
1854
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
1855
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
1856
1856
  guardrail_config: z.nullable(
1857
1857
  z.union([
1858
1858
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -2004,8 +2004,8 @@ export const DataPython$inboundSchema: z.ZodType<
2004
2004
  > = z.object({
2005
2005
  _id: z.string(),
2006
2006
  description: z.string(),
2007
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2008
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2007
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2008
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2009
2009
  guardrail_config: z.nullable(
2010
2010
  z.union([
2011
2011
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -2146,8 +2146,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
2146
2146
  > = z.object({
2147
2147
  _id: z.string(),
2148
2148
  description: z.string(),
2149
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2150
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2149
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2150
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2151
2151
  guardrail_config: z.nullable(
2152
2152
  z.union([
2153
2153
  z.lazy(() =>
@@ -2298,8 +2298,8 @@ export const DataJSON$inboundSchema: z.ZodType<
2298
2298
  > = z.object({
2299
2299
  _id: z.string(),
2300
2300
  description: z.string(),
2301
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2302
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2301
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2302
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2303
2303
  guardrail_config: z.nullable(
2304
2304
  z.union([
2305
2305
  z.lazy(() =>
@@ -2606,8 +2606,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
2606
2606
  > = z.object({
2607
2607
  _id: z.string(),
2608
2608
  description: z.string(),
2609
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2610
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2609
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2610
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2611
2611
  guardrail_config: z.nullable(
2612
2612
  z.union([
2613
2613
  z.lazy(() =>
@@ -2752,8 +2752,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
2752
2752
  > = z.object({
2753
2753
  _id: z.string(),
2754
2754
  description: z.string(),
2755
- created: z.string().default("2026-04-10T07:18:03.276Z"),
2756
- updated: z.string().default("2026-04-10T07:18:03.276Z"),
2755
+ created: z.string().default("2026-04-16T12:17:50.579Z"),
2756
+ updated: z.string().default("2026-04-16T12:17:50.579Z"),
2757
2757
  guardrail_config: z.nullable(
2758
2758
  z.union([
2759
2759
  z.lazy(() =>