@orq-ai/node 4.8.1 → 4.8.4

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 (199) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +3 -3
  4. package/lib/config.js +3 -3
  5. package/lib/config.js.map +1 -1
  6. package/models/components/reasoningpart.js +1 -1
  7. package/models/operations/createcontact.js +1 -1
  8. package/models/operations/createdataset.js +1 -1
  9. package/models/operations/createdatasetitem.js +4 -4
  10. package/models/operations/createdatasource.js +1 -1
  11. package/models/operations/createeval.js +16 -16
  12. package/models/operations/createidentity.js +1 -1
  13. package/models/operations/createprompt.d.ts +1 -0
  14. package/models/operations/createprompt.d.ts.map +1 -1
  15. package/models/operations/createprompt.js +1 -0
  16. package/models/operations/createprompt.js.map +1 -1
  17. package/models/operations/createtool.js +6 -6
  18. package/models/operations/deploymentgetconfig.d.ts +1 -0
  19. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  20. package/models/operations/deploymentgetconfig.js +1 -0
  21. package/models/operations/deploymentgetconfig.js.map +1 -1
  22. package/models/operations/deployments.d.ts +1 -0
  23. package/models/operations/deployments.d.ts.map +1 -1
  24. package/models/operations/deployments.js +1 -0
  25. package/models/operations/deployments.js.map +1 -1
  26. package/models/operations/getallprompts.d.ts +1 -0
  27. package/models/operations/getallprompts.d.ts.map +1 -1
  28. package/models/operations/getallprompts.js +1 -0
  29. package/models/operations/getallprompts.js.map +1 -1
  30. package/models/operations/getalltools.js +6 -6
  31. package/models/operations/getevals.js +16 -16
  32. package/models/operations/getoneprompt.d.ts +1 -0
  33. package/models/operations/getoneprompt.d.ts.map +1 -1
  34. package/models/operations/getoneprompt.js +1 -0
  35. package/models/operations/getoneprompt.js.map +1 -1
  36. package/models/operations/getpromptversion.d.ts +1 -0
  37. package/models/operations/getpromptversion.d.ts.map +1 -1
  38. package/models/operations/getpromptversion.js +1 -0
  39. package/models/operations/getpromptversion.js.map +1 -1
  40. package/models/operations/getv2humanevalsets.js +2 -2
  41. package/models/operations/getv2humanevalsetsid.js +2 -2
  42. package/models/operations/listdatasetdatapoints.js +4 -4
  43. package/models/operations/listdatasets.js +1 -1
  44. package/models/operations/listdatasources.js +1 -1
  45. package/models/operations/listidentities.js +1 -1
  46. package/models/operations/listpromptversions.d.ts +1 -0
  47. package/models/operations/listpromptversions.d.ts.map +1 -1
  48. package/models/operations/listpromptversions.js +1 -0
  49. package/models/operations/listpromptversions.js.map +1 -1
  50. package/models/operations/patchv2humanevalsetsid.js +2 -2
  51. package/models/operations/policyupdate.d.ts +5 -0
  52. package/models/operations/policyupdate.d.ts.map +1 -1
  53. package/models/operations/policyupdate.js +2 -0
  54. package/models/operations/policyupdate.js.map +1 -1
  55. package/models/operations/postv2feedbackevaluation.js +3 -3
  56. package/models/operations/postv2humanevalsets.js +2 -2
  57. package/models/operations/retrievedatapoint.js +4 -4
  58. package/models/operations/retrievedataset.js +1 -1
  59. package/models/operations/retrievedatasource.js +1 -1
  60. package/models/operations/retrieveidentity.js +1 -1
  61. package/models/operations/retrievetool.js +6 -6
  62. package/models/operations/runagent.js +1 -1
  63. package/models/operations/streamrunagent.js +1 -1
  64. package/models/operations/updatedatapoint.js +4 -4
  65. package/models/operations/updatedataset.js +1 -1
  66. package/models/operations/updatedatasource.js +1 -1
  67. package/models/operations/updateeval.js +16 -16
  68. package/models/operations/updateidentity.js +1 -1
  69. package/models/operations/updateprompt.d.ts +1 -0
  70. package/models/operations/updateprompt.d.ts.map +1 -1
  71. package/models/operations/updateprompt.js +1 -0
  72. package/models/operations/updateprompt.js.map +1 -1
  73. package/models/operations/updatetool.js +7 -7
  74. package/package.json +6 -6
  75. package/packages/orq-rc/src/funcs/filesCreate.ts +13 -48
  76. package/packages/orq-rc/src/funcs/filesDelete.ts +8 -8
  77. package/packages/orq-rc/src/funcs/filesGet.ts +6 -5
  78. package/packages/orq-rc/src/funcs/filesGetContent.ts +9 -9
  79. package/packages/orq-rc/src/funcs/filesList.ts +6 -5
  80. package/packages/orq-rc/src/funcs/filesUpdate.ts +8 -7
  81. package/packages/orq-rc/src/funcs/skillsCreate.ts +162 -0
  82. package/packages/orq-rc/src/funcs/skillsDelete.ts +165 -0
  83. package/packages/orq-rc/src/funcs/skillsGet.ts +168 -0
  84. package/packages/orq-rc/src/funcs/skillsList.ts +170 -0
  85. package/packages/orq-rc/src/funcs/skillsUpdate.ts +171 -0
  86. package/packages/orq-rc/src/lib/config.ts +3 -3
  87. package/packages/orq-rc/src/models/components/createfilerequest.ts +45 -0
  88. package/packages/orq-rc/src/models/components/createfileresponse.ts +32 -0
  89. package/packages/orq-rc/src/models/components/createskillrequest.ts +55 -0
  90. package/packages/orq-rc/src/models/components/createskillresponse.ts +32 -0
  91. package/packages/orq-rc/src/models/components/deletefileresponse.ts +27 -0
  92. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +27 -0
  93. package/packages/orq-rc/src/models/components/file.ts +48 -0
  94. package/packages/orq-rc/src/models/components/filepart.ts +21 -16
  95. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +36 -0
  96. package/packages/orq-rc/src/models/components/getfileresponse.ts +32 -0
  97. package/packages/orq-rc/src/models/components/getskillresponse.ts +32 -0
  98. package/packages/orq-rc/src/models/components/index.ts +17 -1
  99. package/packages/orq-rc/src/models/components/listfilesresponse.ts +41 -0
  100. package/packages/orq-rc/src/models/components/listskillsresponse.ts +41 -0
  101. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  102. package/packages/orq-rc/src/models/components/skill.ts +77 -0
  103. package/packages/orq-rc/src/models/components/updatefilerequest.ts +40 -0
  104. package/packages/orq-rc/src/models/components/updatefileresponse.ts +32 -0
  105. package/packages/orq-rc/src/models/components/updateskillrequest.ts +55 -0
  106. package/packages/orq-rc/src/models/components/updateskillresponse.ts +32 -0
  107. package/packages/orq-rc/src/models/operations/createagentrequest.ts +11 -0
  108. package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
  109. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  110. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  111. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  112. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  113. package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
  114. package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
  115. package/packages/orq-rc/src/models/operations/filecontent.ts +0 -3
  116. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -3
  117. package/packages/orq-rc/src/models/operations/fileget.ts +0 -48
  118. package/packages/orq-rc/src/models/operations/filelist.ts +2 -46
  119. package/packages/orq-rc/src/models/operations/fileupdate.ts +5 -82
  120. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  121. package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
  122. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  123. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  124. package/packages/orq-rc/src/models/operations/index.ts +4 -1
  125. package/packages/orq-rc/src/models/operations/invokeeval.ts +5 -2
  126. package/packages/orq-rc/src/models/operations/listagents.ts +5 -0
  127. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
  128. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  129. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  130. package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
  131. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  132. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  133. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  134. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +5 -0
  135. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  136. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  137. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  138. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
  139. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
  140. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  141. package/packages/orq-rc/src/models/operations/skilldelete.ts +36 -0
  142. package/packages/orq-rc/src/models/operations/skillget.ts +40 -0
  143. package/packages/orq-rc/src/models/operations/skilllist.ts +49 -0
  144. package/packages/orq-rc/src/models/operations/skillupdate.ts +41 -0
  145. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  146. package/packages/orq-rc/src/models/operations/updateagent.ts +20 -31
  147. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  148. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  149. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  150. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  151. package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
  152. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
  153. package/packages/orq-rc/src/sdk/files.ts +22 -21
  154. package/packages/orq-rc/src/sdk/sdk.ts +11 -5
  155. package/packages/orq-rc/src/sdk/skills.ts +97 -0
  156. package/src/lib/config.ts +3 -3
  157. package/src/models/components/reasoningpart.ts +1 -1
  158. package/src/models/operations/createcontact.ts +1 -1
  159. package/src/models/operations/createdataset.ts +1 -1
  160. package/src/models/operations/createdatasetitem.ts +4 -4
  161. package/src/models/operations/createdatasource.ts +1 -1
  162. package/src/models/operations/createeval.ts +16 -16
  163. package/src/models/operations/createidentity.ts +1 -1
  164. package/src/models/operations/createprompt.ts +1 -0
  165. package/src/models/operations/createtool.ts +6 -6
  166. package/src/models/operations/deploymentgetconfig.ts +1 -0
  167. package/src/models/operations/deployments.ts +1 -0
  168. package/src/models/operations/getallprompts.ts +1 -0
  169. package/src/models/operations/getalltools.ts +6 -6
  170. package/src/models/operations/getevals.ts +16 -16
  171. package/src/models/operations/getoneprompt.ts +1 -0
  172. package/src/models/operations/getpromptversion.ts +1 -0
  173. package/src/models/operations/getv2humanevalsets.ts +2 -2
  174. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  175. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  176. package/src/models/operations/listdatasets.ts +1 -1
  177. package/src/models/operations/listdatasources.ts +1 -1
  178. package/src/models/operations/listidentities.ts +1 -1
  179. package/src/models/operations/listpromptversions.ts +1 -0
  180. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  181. package/src/models/operations/policyupdate.ts +7 -0
  182. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  183. package/src/models/operations/postv2humanevalsets.ts +2 -2
  184. package/src/models/operations/retrievedatapoint.ts +4 -4
  185. package/src/models/operations/retrievedataset.ts +1 -1
  186. package/src/models/operations/retrievedatasource.ts +1 -1
  187. package/src/models/operations/retrieveidentity.ts +1 -1
  188. package/src/models/operations/retrievetool.ts +6 -6
  189. package/src/models/operations/runagent.ts +1 -1
  190. package/src/models/operations/streamrunagent.ts +1 -1
  191. package/src/models/operations/updatedatapoint.ts +4 -4
  192. package/src/models/operations/updatedataset.ts +1 -1
  193. package/src/models/operations/updatedatasource.ts +1 -1
  194. package/src/models/operations/updateeval.ts +16 -16
  195. package/src/models/operations/updateidentity.ts +1 -1
  196. package/src/models/operations/updateprompt.ts +1 -0
  197. package/src/models/operations/updatetool.ts +7 -7
  198. package/packages/orq-rc/src/models/components/filedocument.ts +0 -48
  199. package/packages/orq-rc/src/models/operations/fileupload.ts +0 -135
@@ -2776,8 +2776,8 @@ export const Typescript$inboundSchema: z.ZodType<
2776
2776
  > = z.object({
2777
2777
  _id: z.string(),
2778
2778
  description: z.string(),
2779
- created: z.string().default("2026-04-28T04:30:49.702Z"),
2780
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
2779
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
2780
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
2781
2781
  guardrail_config: z.nullable(
2782
2782
  z.union([
2783
2783
  z.lazy(() =>
@@ -2965,8 +2965,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
2965
2965
  .object({
2966
2966
  _id: z.string(),
2967
2967
  description: z.string(),
2968
- created: z.string().default("2026-04-28T04:30:49.702Z"),
2969
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
2968
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
2969
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
2970
2970
  guardrail_config: z.nullable(
2971
2971
  z.union([
2972
2972
  z.lazy(() =>
@@ -3792,8 +3792,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
3792
3792
  > = z.object({
3793
3793
  _id: z.string(),
3794
3794
  description: z.string(),
3795
- created: z.string().default("2026-04-28T04:30:49.702Z"),
3796
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
3795
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
3796
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
3797
3797
  guardrail_config: z.nullable(
3798
3798
  z.union([
3799
3799
  z.lazy(() =>
@@ -4011,8 +4011,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
4011
4011
  > = z.object({
4012
4012
  _id: z.string(),
4013
4013
  description: z.string(),
4014
- created: z.string().default("2026-04-28T04:30:49.702Z"),
4015
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
4014
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
4015
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
4016
4016
  guardrail_config: z.nullable(
4017
4017
  z.union([
4018
4018
  z.lazy(() =>
@@ -4193,8 +4193,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
4193
4193
  > = z.object({
4194
4194
  _id: z.string(),
4195
4195
  description: z.string(),
4196
- created: z.string().default("2026-04-28T04:30:49.702Z"),
4197
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
4196
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
4197
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
4198
4198
  guardrail_config: z.nullable(
4199
4199
  z.union([
4200
4200
  z.lazy(() =>
@@ -4370,8 +4370,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
4370
4370
  > = z.object({
4371
4371
  _id: z.string(),
4372
4372
  description: z.string(),
4373
- created: z.string().default("2026-04-28T04:30:49.702Z"),
4374
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
4373
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
4374
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
4375
4375
  guardrail_config: z.nullable(
4376
4376
  z.union([
4377
4377
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -4741,8 +4741,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
4741
4741
  > = z.object({
4742
4742
  _id: z.string(),
4743
4743
  description: z.string(),
4744
- created: z.string().default("2026-04-28T04:30:49.702Z"),
4745
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
4744
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
4745
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
4746
4746
  guardrail_config: z.nullable(
4747
4747
  z.union([
4748
4748
  z.lazy(() =>
@@ -4957,8 +4957,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
4957
4957
  > = z.object({
4958
4958
  _id: z.string(),
4959
4959
  description: z.string(),
4960
- created: z.string().default("2026-04-28T04:30:49.702Z"),
4961
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
4960
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
4961
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
4962
4962
  guardrail_config: z.nullable(
4963
4963
  z.union([
4964
4964
  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-28T04:30:47.438Z",
142
+ "2026-04-30T15:24:06.216Z",
143
143
  ).transform(v => new Date(v)),
144
144
  }).transform((v) => {
145
145
  return remap$(v, {
@@ -1902,7 +1902,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1902
1902
  z.ZodTypeDef,
1903
1903
  unknown
1904
1904
  > = z.object({
1905
- _id: z.string().default("tool_01KQ95P611C6CENDBJVJV6XTJQ"),
1905
+ _id: z.string().default("tool_01KQFFVBN8NHZ5K9WR4HG4Y64E"),
1906
1906
  path: z.string(),
1907
1907
  key: z.string(),
1908
1908
  display_name: z.string().optional(),
@@ -1999,7 +1999,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
1999
1999
  z.ZodTypeDef,
2000
2000
  unknown
2001
2001
  > = z.object({
2002
- id: z.string().default("01KQ95P6113S134V88RVHCRZZW"),
2002
+ id: z.string().default("01KQFFVBN7TKX6JM4NRZ3CMFAH"),
2003
2003
  name: z.string(),
2004
2004
  description: z.string().optional(),
2005
2005
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
@@ -2055,7 +2055,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2055
2055
  z.ZodTypeDef,
2056
2056
  unknown
2057
2057
  > = z.object({
2058
- _id: z.string().default("tool_01KQ95P610ZJY0VZM5YP92QJXV"),
2058
+ _id: z.string().default("tool_01KQFFVBN6JXG6Z04AEECFYJ6J"),
2059
2059
  path: z.string(),
2060
2060
  key: z.string(),
2061
2061
  display_name: z.string().optional(),
@@ -2241,7 +2241,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2241
2241
  z.ZodTypeDef,
2242
2242
  unknown
2243
2243
  > = z.object({
2244
- _id: z.string().default("tool_01KQ95P60Z0Z4SQ5SADX9AJWDE"),
2244
+ _id: z.string().default("tool_01KQFFVBN4A6Y5PNSEET7EEDRV"),
2245
2245
  path: z.string(),
2246
2246
  key: z.string(),
2247
2247
  display_name: z.string().optional(),
@@ -2334,7 +2334,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2334
2334
  z.ZodTypeDef,
2335
2335
  unknown
2336
2336
  > = z.object({
2337
- _id: z.string().default("tool_01KQ95P60YNDCMYWCT4QEPW32R"),
2337
+ _id: z.string().default("tool_01KQFFVBN3XKS0E388CD8S9S3V"),
2338
2338
  path: z.string(),
2339
2339
  key: z.string(),
2340
2340
  display_name: z.string().optional(),
@@ -2435,7 +2435,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2435
2435
  z.ZodTypeDef,
2436
2436
  unknown
2437
2437
  > = z.object({
2438
- _id: z.string().default("tool_01KQ95P60X59ZW4KY9HEJK6FRZ"),
2438
+ _id: z.string().default("tool_01KQFFVBN2PJX637MNX6JZHPVH"),
2439
2439
  path: z.string(),
2440
2440
  key: z.string(),
2441
2441
  display_name: z.string().optional(),
@@ -6,9 +6,6 @@ import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
 
8
8
  export type FileContentRequest = {
9
- /**
10
- * The file ID to retrieve content for.
11
- */
12
9
  fileIdOrPath: string;
13
10
  };
14
11
 
@@ -6,9 +6,6 @@ import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
 
8
8
  export type FileDeleteRequest = {
9
- /**
10
- * The ID of the file
11
- */
12
9
  fileId: string;
13
10
  };
14
11
 
@@ -4,29 +4,11 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
7
 
11
8
  export type FileGetRequest = {
12
- /**
13
- * The ID of the file
14
- */
15
9
  fileId: string;
16
10
  };
17
11
 
18
- /**
19
- * File details retrieved successfully
20
- */
21
- export type FileGetResponseBody = {
22
- id: string;
23
- bytes: number;
24
- created: string;
25
- fileName: string;
26
- purpose: string;
27
- workspaceId: string;
28
- };
29
-
30
12
  /** @internal */
31
13
  export type FileGetRequest$Outbound = {
32
14
  file_id: string;
@@ -48,33 +30,3 @@ export const FileGetRequest$outboundSchema: z.ZodType<
48
30
  export function fileGetRequestToJSON(fileGetRequest: FileGetRequest): string {
49
31
  return JSON.stringify(FileGetRequest$outboundSchema.parse(fileGetRequest));
50
32
  }
51
-
52
- /** @internal */
53
- export const FileGetResponseBody$inboundSchema: z.ZodType<
54
- FileGetResponseBody,
55
- z.ZodTypeDef,
56
- unknown
57
- > = z.object({
58
- _id: z.string(),
59
- bytes: z.number().int(),
60
- created: z.string(),
61
- file_name: z.string(),
62
- purpose: z.string(),
63
- workspace_id: z.string(),
64
- }).transform((v) => {
65
- return remap$(v, {
66
- "_id": "id",
67
- "file_name": "fileName",
68
- "workspace_id": "workspaceId",
69
- });
70
- });
71
-
72
- export function fileGetResponseBodyFromJSON(
73
- jsonString: string,
74
- ): SafeParseResult<FileGetResponseBody, SDKValidationError> {
75
- return safeParse(
76
- jsonString,
77
- (x) => FileGetResponseBody$inboundSchema.parse(JSON.parse(x)),
78
- `Failed to parse 'FileGetResponseBody' from JSON`,
79
- );
80
- }
@@ -4,35 +4,16 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import * as components from "../components/index.js";
10
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
7
 
12
8
  export type FileListRequest = {
13
9
  limit?: number | undefined;
14
- /**
15
- * A cursor for use in pagination. Defines your place in the list for the next page.
16
- */
17
10
  startingAfter?: string | undefined;
18
- /**
19
- * A cursor for use in pagination. Defines your place in the list for the previous page.
20
- */
21
11
  endingBefore?: string | undefined;
22
12
  };
23
13
 
24
- /**
25
- * Files retrieved successfully
26
- */
27
- export type FileListResponseBody = {
28
- data: Array<components.FileDocument> | null;
29
- hasMore: boolean;
30
- object: string;
31
- };
32
-
33
14
  /** @internal */
34
15
  export type FileListRequest$Outbound = {
35
- limit: number;
16
+ limit?: number | undefined;
36
17
  starting_after?: string | undefined;
37
18
  ending_before?: string | undefined;
38
19
  };
@@ -43,7 +24,7 @@ export const FileListRequest$outboundSchema: z.ZodType<
43
24
  z.ZodTypeDef,
44
25
  FileListRequest
45
26
  > = z.object({
46
- limit: z.number().int().default(10),
27
+ limit: z.number().int().optional(),
47
28
  startingAfter: z.string().optional(),
48
29
  endingBefore: z.string().optional(),
49
30
  }).transform((v) => {
@@ -58,28 +39,3 @@ export function fileListRequestToJSON(
58
39
  ): string {
59
40
  return JSON.stringify(FileListRequest$outboundSchema.parse(fileListRequest));
60
41
  }
61
-
62
- /** @internal */
63
- export const FileListResponseBody$inboundSchema: z.ZodType<
64
- FileListResponseBody,
65
- z.ZodTypeDef,
66
- unknown
67
- > = z.object({
68
- data: z.nullable(z.array(components.FileDocument$inboundSchema)),
69
- has_more: z.boolean(),
70
- object: z.string(),
71
- }).transform((v) => {
72
- return remap$(v, {
73
- "has_more": "hasMore",
74
- });
75
- });
76
-
77
- export function fileListResponseBodyFromJSON(
78
- jsonString: string,
79
- ): SafeParseResult<FileListResponseBody, SDKValidationError> {
80
- return safeParse(
81
- jsonString,
82
- (x) => FileListResponseBody$inboundSchema.parse(JSON.parse(x)),
83
- `Failed to parse 'FileListResponseBody' from JSON`,
84
- );
85
- }
@@ -4,64 +4,17 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
-
11
- export type FileUpdateRequestBody = {
12
- fileName: string;
13
- };
7
+ import * as components from "../components/index.js";
14
8
 
15
9
  export type FileUpdateRequest = {
16
- /**
17
- * The ID of the file
18
- */
19
10
  fileId: string;
20
- requestBody: FileUpdateRequestBody;
21
- };
22
-
23
- /**
24
- * File updated successfully
25
- */
26
- export type FileUpdateResponseBody = {
27
- id: string;
28
- bytes: number;
29
- created: string;
30
- fileName: string;
31
- purpose: string;
32
- workspaceId: string;
33
- };
34
-
35
- /** @internal */
36
- export type FileUpdateRequestBody$Outbound = {
37
- file_name: string;
11
+ updateFileRequest: components.UpdateFileRequest;
38
12
  };
39
13
 
40
- /** @internal */
41
- export const FileUpdateRequestBody$outboundSchema: z.ZodType<
42
- FileUpdateRequestBody$Outbound,
43
- z.ZodTypeDef,
44
- FileUpdateRequestBody
45
- > = z.object({
46
- fileName: z.string(),
47
- }).transform((v) => {
48
- return remap$(v, {
49
- fileName: "file_name",
50
- });
51
- });
52
-
53
- export function fileUpdateRequestBodyToJSON(
54
- fileUpdateRequestBody: FileUpdateRequestBody,
55
- ): string {
56
- return JSON.stringify(
57
- FileUpdateRequestBody$outboundSchema.parse(fileUpdateRequestBody),
58
- );
59
- }
60
-
61
14
  /** @internal */
62
15
  export type FileUpdateRequest$Outbound = {
63
16
  file_id: string;
64
- RequestBody: FileUpdateRequestBody$Outbound;
17
+ UpdateFileRequest: components.UpdateFileRequest$Outbound;
65
18
  };
66
19
 
67
20
  /** @internal */
@@ -71,11 +24,11 @@ export const FileUpdateRequest$outboundSchema: z.ZodType<
71
24
  FileUpdateRequest
72
25
  > = z.object({
73
26
  fileId: z.string(),
74
- requestBody: z.lazy(() => FileUpdateRequestBody$outboundSchema),
27
+ updateFileRequest: components.UpdateFileRequest$outboundSchema,
75
28
  }).transform((v) => {
76
29
  return remap$(v, {
77
30
  fileId: "file_id",
78
- requestBody: "RequestBody",
31
+ updateFileRequest: "UpdateFileRequest",
79
32
  });
80
33
  });
81
34
 
@@ -86,33 +39,3 @@ export function fileUpdateRequestToJSON(
86
39
  FileUpdateRequest$outboundSchema.parse(fileUpdateRequest),
87
40
  );
88
41
  }
89
-
90
- /** @internal */
91
- export const FileUpdateResponseBody$inboundSchema: z.ZodType<
92
- FileUpdateResponseBody,
93
- z.ZodTypeDef,
94
- unknown
95
- > = z.object({
96
- _id: z.string(),
97
- bytes: z.number().int(),
98
- created: z.string(),
99
- file_name: z.string(),
100
- purpose: z.string(),
101
- workspace_id: z.string(),
102
- }).transform((v) => {
103
- return remap$(v, {
104
- "_id": "id",
105
- "file_name": "fileName",
106
- "workspace_id": "workspaceId",
107
- });
108
- });
109
-
110
- export function fileUpdateResponseBodyFromJSON(
111
- jsonString: string,
112
- ): SafeParseResult<FileUpdateResponseBody, SDKValidationError> {
113
- return safeParse(
114
- jsonString,
115
- (x) => FileUpdateResponseBody$inboundSchema.parse(JSON.parse(x)),
116
- `Failed to parse 'FileUpdateResponseBody' from JSON`,
117
- );
118
- }
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
767
767
  z.ZodTypeDef,
768
768
  unknown
769
769
  > = z.object({
770
- _id: z.string().default("tool_01KQ95P60HKW8A509SFQ7JQ9XY"),
770
+ _id: z.string().default("tool_01KQFFVBMQ2T8WZ0XVE8V0SHQH"),
771
771
  path: z.string(),
772
772
  key: z.string(),
773
773
  display_name: z.string().optional(),
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
864
864
  z.ZodTypeDef,
865
865
  unknown
866
866
  > = z.object({
867
- id: z.string().default("01KQ95P60H5N7SVPZEQSM66N7D"),
867
+ id: z.string().default("01KQFFVBMP5PQP86S5D0SVCM80"),
868
868
  name: z.string(),
869
869
  description: z.string().optional(),
870
870
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -917,7 +917,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
917
917
  z.ZodTypeDef,
918
918
  unknown
919
919
  > = z.object({
920
- _id: z.string().default("tool_01KQ95P60GANS4RFCZDTX4EN8F"),
920
+ _id: z.string().default("tool_01KQFFVBMN3V3AVYJJQGT2PAMB"),
921
921
  path: z.string(),
922
922
  key: z.string(),
923
923
  display_name: z.string().optional(),
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1102
1102
  z.ZodTypeDef,
1103
1103
  unknown
1104
1104
  > = z.object({
1105
- _id: z.string().default("tool_01KQ95P60F52XKJS6M39YPDE3B"),
1105
+ _id: z.string().default("tool_01KQFFVBMKDRMGVXGKH7T9C62C"),
1106
1106
  path: z.string(),
1107
1107
  key: z.string(),
1108
1108
  display_name: z.string().optional(),
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1195
1195
  z.ZodTypeDef,
1196
1196
  unknown
1197
1197
  > = z.object({
1198
- _id: z.string().default("tool_01KQ95P60E0F3J9ENJKY30AYDV"),
1198
+ _id: z.string().default("tool_01KQFFVBMH0T17BZSKQPQ357RG"),
1199
1199
  path: z.string(),
1200
1200
  key: z.string(),
1201
1201
  display_name: z.string().optional(),
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1297
1297
  z.ZodTypeDef,
1298
1298
  unknown
1299
1299
  > = z.object({
1300
- _id: z.string().default("tool_01KQ95P60DA6P9662HQ6YXTS0W"),
1300
+ _id: z.string().default("tool_01KQFFVBMFTMDV0RBBD9BNSDY3"),
1301
1301
  path: z.string(),
1302
1302
  key: z.string(),
1303
1303
  display_name: z.string().optional(),
@@ -1040,8 +1040,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
1040
1040
  > = z.object({
1041
1041
  _id: z.string(),
1042
1042
  description: z.string(),
1043
- created: z.string().default("2026-04-28T04:30:49.702Z"),
1044
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
1043
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
1044
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
1045
1045
  guardrail_config: z.nullable(
1046
1046
  z.union([
1047
1047
  z.lazy(() =>
@@ -1220,8 +1220,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1220
1220
  > = z.object({
1221
1221
  _id: z.string(),
1222
1222
  description: z.string(),
1223
- created: z.string().default("2026-04-28T04:30:49.702Z"),
1224
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
1223
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
1224
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
1225
1225
  guardrail_config: z.nullable(
1226
1226
  z.union([
1227
1227
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -2050,8 +2050,8 @@ export const DataFunction$inboundSchema: z.ZodType<
2050
2050
  > = z.object({
2051
2051
  _id: z.string(),
2052
2052
  description: z.string(),
2053
- created: z.string().default("2026-04-28T04:30:49.702Z"),
2054
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
2053
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
2054
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
2055
2055
  guardrail_config: z.nullable(
2056
2056
  z.union([
2057
2057
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -2232,8 +2232,8 @@ export const DataPython$inboundSchema: z.ZodType<
2232
2232
  > = z.object({
2233
2233
  _id: z.string(),
2234
2234
  description: z.string(),
2235
- created: z.string().default("2026-04-28T04:30:49.702Z"),
2236
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
2235
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
2236
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
2237
2237
  guardrail_config: z.nullable(
2238
2238
  z.union([
2239
2239
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -2410,8 +2410,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
2410
2410
  > = z.object({
2411
2411
  _id: z.string(),
2412
2412
  description: z.string(),
2413
- created: z.string().default("2026-04-28T04:30:49.702Z"),
2414
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
2413
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
2414
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
2415
2415
  guardrail_config: z.nullable(
2416
2416
  z.union([
2417
2417
  z.lazy(() =>
@@ -2600,8 +2600,8 @@ export const DataJSON$inboundSchema: z.ZodType<
2600
2600
  > = z.object({
2601
2601
  _id: z.string(),
2602
2602
  description: z.string(),
2603
- created: z.string().default("2026-04-28T04:30:49.702Z"),
2604
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
2603
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
2604
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
2605
2605
  guardrail_config: z.nullable(
2606
2606
  z.union([
2607
2607
  z.lazy(() =>
@@ -2966,8 +2966,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
2966
2966
  > = z.object({
2967
2967
  _id: z.string(),
2968
2968
  description: z.string(),
2969
- created: z.string().default("2026-04-28T04:30:49.702Z"),
2970
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
2969
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
2970
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
2971
2971
  guardrail_config: z.nullable(
2972
2972
  z.union([
2973
2973
  z.lazy(() =>
@@ -3175,8 +3175,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
3175
3175
  > = z.object({
3176
3176
  _id: z.string(),
3177
3177
  description: z.string(),
3178
- created: z.string().default("2026-04-28T04:30:49.702Z"),
3179
- updated: z.string().default("2026-04-28T04:30:49.702Z"),
3178
+ created: z.string().default("2026-04-30T15:24:08.361Z"),
3179
+ updated: z.string().default("2026-04-30T15:24:08.361Z"),
3180
3180
  guardrail_config: z.nullable(
3181
3181
  z.union([
3182
3182
  z.lazy(() =>
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-04-28T04:30:47.438Z",
143
+ "2026-04-30T15:24:06.216Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-04-28T04:30:47.438Z",
188
+ "2026-04-30T15:24:06.216Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-04-28T04:30:47.438Z",
144
+ "2026-04-30T15:24:06.216Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-04-28T04:30:47.438Z",
189
+ "2026-04-30T15:24:06.216Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -60,7 +60,6 @@ export * from "./filedelete.js";
60
60
  export * from "./fileget.js";
61
61
  export * from "./filelist.js";
62
62
  export * from "./fileupdate.js";
63
- export * from "./fileupload.js";
64
63
  export * from "./getagentresponse.js";
65
64
  export * from "./getallmemories.js";
66
65
  export * from "./getallmemorydocuments.js";
@@ -129,6 +128,10 @@ export * from "./routingrulelist.js";
129
128
  export * from "./routingruleupdate.js";
130
129
  export * from "./runagent.js";
131
130
  export * from "./searchknowledge.js";
131
+ export * from "./skilldelete.js";
132
+ export * from "./skillget.js";
133
+ export * from "./skilllist.js";
134
+ export * from "./skillupdate.js";
132
135
  export * from "./streamagent.js";
133
136
  export * from "./streamrunagent.js";
134
137
  export * from "./triggeragentschedule.js";
@@ -213,7 +213,8 @@ export type ResponseBodyJury = {
213
213
  };
214
214
 
215
215
  export type InvokeEvalResponseBodyEvalsResponseValue = {
216
- workflowRunId: string;
216
+ workflowRunId?: string | undefined;
217
+ traceId?: string | undefined;
217
218
  value: number | boolean | string | null;
218
219
  explanation?: string | null | undefined;
219
220
  originalValue?: number | boolean | string | null | undefined;
@@ -853,7 +854,8 @@ export const InvokeEvalResponseBodyEvalsResponseValue$inboundSchema: z.ZodType<
853
854
  z.ZodTypeDef,
854
855
  unknown
855
856
  > = z.object({
856
- workflow_run_id: z.string(),
857
+ workflow_run_id: z.string().optional(),
858
+ trace_id: z.string().optional(),
857
859
  value: z.nullable(z.union([z.number(), z.boolean(), z.string()])),
858
860
  explanation: z.nullable(z.string()).optional(),
859
861
  original_value: z.nullable(z.union([z.number(), z.boolean(), z.string()]))
@@ -863,6 +865,7 @@ export const InvokeEvalResponseBodyEvalsResponseValue$inboundSchema: z.ZodType<
863
865
  }).transform((v) => {
864
866
  return remap$(v, {
865
867
  "workflow_run_id": "workflowRunId",
868
+ "trace_id": "traceId",
866
869
  "original_value": "originalValue",
867
870
  "original_explanation": "originalExplanation",
868
871
  });
@@ -1132,6 +1132,10 @@ export type ListAgentsData = {
1132
1132
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1133
1133
  */
1134
1134
  teamOfAgents?: Array<ListAgentsTeamOfAgents> | undefined;
1135
+ /**
1136
+ * List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
1137
+ */
1138
+ skills: Array<string>;
1135
1139
  metrics?: ListAgentsMetrics | undefined;
1136
1140
  /**
1137
1141
  * Extracted variables from agent instructions
@@ -2715,6 +2719,7 @@ export const ListAgentsData$inboundSchema: z.ZodType<
2715
2719
  memory_stores: z.array(z.string()).optional(),
2716
2720
  team_of_agents: z.array(z.lazy(() => ListAgentsTeamOfAgents$inboundSchema))
2717
2721
  .optional(),
2722
+ skills: z.array(z.string()),
2718
2723
  metrics: z.lazy(() => ListAgentsMetrics$inboundSchema).optional(),
2719
2724
  variables: z.record(z.any()).optional(),
2720
2725
  knowledge_bases: z.array(z.lazy(() => ListAgentsKnowledgeBases$inboundSchema))