@orq-ai/node 4.10.1 → 4.10.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 (206) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/createfilerequest.d.ts +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createdataset.js +1 -1
  7. package/models/operations/createdatasetitem.js +4 -4
  8. package/models/operations/createdatasource.js +1 -1
  9. package/models/operations/createeval.js +16 -16
  10. package/models/operations/createprompt.d.ts +1 -0
  11. package/models/operations/createprompt.d.ts.map +1 -1
  12. package/models/operations/createprompt.js +1 -0
  13. package/models/operations/createprompt.js.map +1 -1
  14. package/models/operations/createtool.js +6 -6
  15. package/models/operations/deploymentinvoke.d.ts +1 -0
  16. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  17. package/models/operations/deploymentinvoke.js +1 -0
  18. package/models/operations/deploymentinvoke.js.map +1 -1
  19. package/models/operations/deployments.d.ts +1 -0
  20. package/models/operations/deployments.d.ts.map +1 -1
  21. package/models/operations/deployments.js +1 -0
  22. package/models/operations/deployments.js.map +1 -1
  23. package/models/operations/deploymentstream.d.ts +1 -0
  24. package/models/operations/deploymentstream.d.ts.map +1 -1
  25. package/models/operations/deploymentstream.js +1 -0
  26. package/models/operations/deploymentstream.js.map +1 -1
  27. package/models/operations/getallprompts.d.ts +1 -0
  28. package/models/operations/getallprompts.d.ts.map +1 -1
  29. package/models/operations/getallprompts.js +1 -0
  30. package/models/operations/getallprompts.js.map +1 -1
  31. package/models/operations/getalltools.js +6 -6
  32. package/models/operations/getevals.js +16 -16
  33. package/models/operations/getoneprompt.d.ts +1 -0
  34. package/models/operations/getoneprompt.d.ts.map +1 -1
  35. package/models/operations/getoneprompt.js +1 -0
  36. package/models/operations/getoneprompt.js.map +1 -1
  37. package/models/operations/getpromptversion.d.ts +1 -0
  38. package/models/operations/getpromptversion.d.ts.map +1 -1
  39. package/models/operations/getpromptversion.js +1 -0
  40. package/models/operations/getpromptversion.js.map +1 -1
  41. package/models/operations/getv2humanevalsets.js +2 -2
  42. package/models/operations/getv2humanevalsetsid.js +2 -2
  43. package/models/operations/listdatasetdatapoints.js +4 -4
  44. package/models/operations/listdatasets.js +1 -1
  45. package/models/operations/listdatasources.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/postv2feedbackevaluation.js +3 -3
  52. package/models/operations/postv2humanevalsets.js +2 -2
  53. package/models/operations/retrievedatapoint.js +4 -4
  54. package/models/operations/retrievedataset.js +1 -1
  55. package/models/operations/retrievedatasource.js +1 -1
  56. package/models/operations/retrievetool.js +6 -6
  57. package/models/operations/runagent.js +1 -1
  58. package/models/operations/streamrunagent.js +1 -1
  59. package/models/operations/updatedatapoint.js +4 -4
  60. package/models/operations/updatedataset.js +1 -1
  61. package/models/operations/updatedatasource.js +1 -1
  62. package/models/operations/updateeval.js +16 -16
  63. package/models/operations/updateprompt.d.ts +1 -0
  64. package/models/operations/updateprompt.d.ts.map +1 -1
  65. package/models/operations/updateprompt.js +1 -0
  66. package/models/operations/updateprompt.js.map +1 -1
  67. package/models/operations/updatetool.js +7 -7
  68. package/package.json +5 -5
  69. package/packages/orq-rc/src/funcs/filesDelete.ts +3 -0
  70. package/packages/orq-rc/src/lib/config.ts +2 -2
  71. package/packages/orq-rc/src/models/components/apikey.ts +19 -19
  72. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +4 -4
  73. package/packages/orq-rc/src/models/components/createapikeyresponse.ts +4 -4
  74. package/packages/orq-rc/src/models/components/createfilerequest.ts +15 -6
  75. package/packages/orq-rc/src/models/components/createfileresponse.ts +5 -2
  76. package/packages/orq-rc/src/models/components/createidentityrequest.ts +27 -3
  77. package/packages/orq-rc/src/models/components/createidentityresponse.ts +5 -2
  78. package/packages/orq-rc/src/models/components/createprojectrequest.ts +3 -3
  79. package/packages/orq-rc/src/models/components/createprojectresponse.ts +2 -2
  80. package/packages/orq-rc/src/models/components/createskillrequest.ts +3 -3
  81. package/packages/orq-rc/src/models/components/createskillresponse.ts +2 -2
  82. package/packages/orq-rc/src/models/components/file.ts +24 -12
  83. package/packages/orq-rc/src/models/components/getapikeyresponse.ts +2 -2
  84. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +5 -2
  85. package/packages/orq-rc/src/models/components/getfileresponse.ts +5 -2
  86. package/packages/orq-rc/src/models/components/getprojectresponse.ts +2 -2
  87. package/packages/orq-rc/src/models/components/getskillresponse.ts +2 -2
  88. package/packages/orq-rc/src/models/components/identity.ts +55 -10
  89. package/packages/orq-rc/src/models/components/identitymetrics.ts +20 -8
  90. package/packages/orq-rc/src/models/components/listapikeysresponse.ts +6 -6
  91. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +2 -2
  92. package/packages/orq-rc/src/models/components/listfilesresponse.ts +15 -6
  93. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +18 -6
  94. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +6 -6
  95. package/packages/orq-rc/src/models/components/listskillsresponse.ts +6 -6
  96. package/packages/orq-rc/src/models/components/project.ts +16 -16
  97. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  98. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +5 -2
  99. package/packages/orq-rc/src/models/components/singleproject.ts +7 -4
  100. package/packages/orq-rc/src/models/components/skill.ts +25 -25
  101. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +1 -8
  102. package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +2 -2
  103. package/packages/orq-rc/src/models/components/updatefilerequest.ts +6 -7
  104. package/packages/orq-rc/src/models/components/updatefileresponse.ts +5 -2
  105. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +18 -3
  106. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +5 -2
  107. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -11
  108. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +2 -2
  109. package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -7
  110. package/packages/orq-rc/src/models/components/updateskillresponse.ts +2 -2
  111. package/packages/orq-rc/src/models/components/userowner.ts +7 -4
  112. package/packages/orq-rc/src/models/operations/createdataset.ts +5 -5
  113. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
  114. package/packages/orq-rc/src/models/operations/createdatasource.ts +6 -6
  115. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  116. package/packages/orq-rc/src/models/operations/createknowledge.ts +4 -4
  117. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +4 -4
  118. package/packages/orq-rc/src/models/operations/creatememorystore.ts +4 -4
  119. package/packages/orq-rc/src/models/operations/createprompt.ts +1 -0
  120. package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
  121. package/packages/orq-rc/src/models/operations/deleteidentity.ts +3 -0
  122. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
  123. package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
  124. package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
  125. package/packages/orq-rc/src/models/operations/filecontent.ts +3 -0
  126. package/packages/orq-rc/src/models/operations/filedelete.ts +3 -0
  127. package/packages/orq-rc/src/models/operations/fileget.ts +3 -0
  128. package/packages/orq-rc/src/models/operations/filelist.ts +15 -0
  129. package/packages/orq-rc/src/models/operations/fileupdate.ts +3 -0
  130. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +4 -4
  131. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +4 -4
  132. package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
  133. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  134. package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
  135. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +4 -4
  136. package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
  137. package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
  138. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  139. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  140. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
  141. package/packages/orq-rc/src/models/operations/listdatasets.ts +5 -5
  142. package/packages/orq-rc/src/models/operations/listdatasources.ts +3 -3
  143. package/packages/orq-rc/src/models/operations/listidentities.ts +24 -0
  144. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +4 -4
  145. package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
  146. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  147. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  148. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  149. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
  150. package/packages/orq-rc/src/models/operations/retrievedataset.ts +5 -5
  151. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +3 -3
  152. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +6 -0
  153. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +4 -4
  154. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +4 -4
  155. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
  156. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  157. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  158. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
  159. package/packages/orq-rc/src/models/operations/updatedataset.ts +5 -5
  160. package/packages/orq-rc/src/models/operations/updatedatasource.ts +3 -3
  161. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  162. package/packages/orq-rc/src/models/operations/updateidentity.ts +3 -0
  163. package/packages/orq-rc/src/models/operations/updateknowledge.ts +4 -4
  164. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +4 -4
  165. package/packages/orq-rc/src/models/operations/updatememorystore.ts +4 -4
  166. package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
  167. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
  168. package/packages/orq-rc/src/sdk/files.ts +3 -0
  169. package/src/lib/config.ts +2 -2
  170. package/src/models/components/createfilerequest.ts +1 -1
  171. package/src/models/components/reasoningpart.ts +1 -1
  172. package/src/models/operations/createdataset.ts +1 -1
  173. package/src/models/operations/createdatasetitem.ts +4 -4
  174. package/src/models/operations/createdatasource.ts +1 -1
  175. package/src/models/operations/createeval.ts +16 -16
  176. package/src/models/operations/createprompt.ts +1 -0
  177. package/src/models/operations/createtool.ts +6 -6
  178. package/src/models/operations/deploymentinvoke.ts +1 -0
  179. package/src/models/operations/deployments.ts +1 -0
  180. package/src/models/operations/deploymentstream.ts +1 -0
  181. package/src/models/operations/getallprompts.ts +1 -0
  182. package/src/models/operations/getalltools.ts +6 -6
  183. package/src/models/operations/getevals.ts +16 -16
  184. package/src/models/operations/getoneprompt.ts +1 -0
  185. package/src/models/operations/getpromptversion.ts +1 -0
  186. package/src/models/operations/getv2humanevalsets.ts +2 -2
  187. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  188. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  189. package/src/models/operations/listdatasets.ts +1 -1
  190. package/src/models/operations/listdatasources.ts +1 -1
  191. package/src/models/operations/listpromptversions.ts +1 -0
  192. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  193. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  194. package/src/models/operations/postv2humanevalsets.ts +2 -2
  195. package/src/models/operations/retrievedatapoint.ts +4 -4
  196. package/src/models/operations/retrievedataset.ts +1 -1
  197. package/src/models/operations/retrievedatasource.ts +1 -1
  198. package/src/models/operations/retrievetool.ts +6 -6
  199. package/src/models/operations/runagent.ts +1 -1
  200. package/src/models/operations/streamrunagent.ts +1 -1
  201. package/src/models/operations/updatedatapoint.ts +4 -4
  202. package/src/models/operations/updatedataset.ts +1 -1
  203. package/src/models/operations/updatedatasource.ts +1 -1
  204. package/src/models/operations/updateeval.ts +16 -16
  205. package/src/models/operations/updateprompt.ts +1 -0
  206. package/src/models/operations/updatetool.ts +7 -7
@@ -9,7 +9,10 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
  import { FileT, FileT$inboundSchema } from "./file.js";
10
10
 
11
11
  export type UpdateFileResponse = {
12
- file?: FileT | undefined;
12
+ /**
13
+ * Updated file metadata.
14
+ */
15
+ file: FileT;
13
16
  };
14
17
 
15
18
  /** @internal */
@@ -18,7 +21,7 @@ export const UpdateFileResponse$inboundSchema: z.ZodType<
18
21
  z.ZodTypeDef,
19
22
  unknown
20
23
  > = z.object({
21
- file: FileT$inboundSchema.optional(),
24
+ file: FileT$inboundSchema,
22
25
  });
23
26
 
24
27
  export function updateFileResponseFromJSON(
@@ -5,14 +5,31 @@
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
 
8
+ /**
9
+ * Replacement custom JSON metadata.
10
+ */
8
11
  export type UpdateIdentityRequestMetadata = {};
9
12
 
10
13
  export type UpdateIdentityRequest = {
11
- id?: string | undefined;
14
+ /**
15
+ * New display name. Omit to keep the current display name.
16
+ */
12
17
  displayName?: string | undefined;
18
+ /**
19
+ * New email address. Omit to keep the current email.
20
+ */
13
21
  email?: string | undefined;
22
+ /**
23
+ * New avatar image URL. Omit to keep the current avatar URL.
24
+ */
14
25
  avatarUrl?: string | undefined;
26
+ /**
27
+ * Replacement tag list. Leave empty to clear tags.
28
+ */
15
29
  tags?: Array<string> | undefined;
30
+ /**
31
+ * Replacement custom JSON metadata.
32
+ */
16
33
  metadata?: UpdateIdentityRequestMetadata | undefined;
17
34
  };
18
35
 
@@ -38,7 +55,6 @@ export function updateIdentityRequestMetadataToJSON(
38
55
 
39
56
  /** @internal */
40
57
  export type UpdateIdentityRequest$Outbound = {
41
- id?: string | undefined;
42
58
  display_name?: string | undefined;
43
59
  email?: string | undefined;
44
60
  avatar_url?: string | undefined;
@@ -52,7 +68,6 @@ export const UpdateIdentityRequest$outboundSchema: z.ZodType<
52
68
  z.ZodTypeDef,
53
69
  UpdateIdentityRequest
54
70
  > = z.object({
55
- id: z.string().optional(),
56
71
  displayName: z.string().optional(),
57
72
  email: z.string().optional(),
58
73
  avatarUrl: z.string().optional(),
@@ -9,7 +9,10 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
  import { Identity, Identity$inboundSchema } from "./identity.js";
10
10
 
11
11
  export type UpdateIdentityResponse = {
12
- identity?: Identity | undefined;
12
+ /**
13
+ * Updated identity.
14
+ */
15
+ identity: Identity;
13
16
  };
14
17
 
15
18
  /** @internal */
@@ -18,7 +21,7 @@ export const UpdateIdentityResponse$inboundSchema: z.ZodType<
18
21
  z.ZodTypeDef,
19
22
  unknown
20
23
  > = z.object({
21
- identity: Identity$inboundSchema.optional(),
24
+ identity: Identity$inboundSchema,
22
25
  });
23
26
 
24
27
  export function updateIdentityResponseFromJSON(
@@ -3,13 +3,8 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
6
 
8
7
  export type UpdateProjectRequest = {
9
- /**
10
- * Project ID to update.
11
- */
12
- projectId?: string | undefined;
13
8
  /**
14
9
  * New project name. Omit to keep the current name.
15
10
  */
@@ -29,7 +24,6 @@ export type UpdateProjectRequest = {
29
24
 
30
25
  /** @internal */
31
26
  export type UpdateProjectRequest$Outbound = {
32
- project_id?: string | undefined;
33
27
  name?: string | undefined;
34
28
  teams?: Array<string> | undefined;
35
29
  description?: string | undefined;
@@ -41,14 +35,9 @@ export const UpdateProjectRequest$outboundSchema: z.ZodType<
41
35
  z.ZodTypeDef,
42
36
  UpdateProjectRequest
43
37
  > = z.object({
44
- projectId: z.string().optional(),
45
38
  name: z.string().optional(),
46
39
  teams: z.array(z.string()).optional(),
47
40
  description: z.string().optional(),
48
- }).transform((v) => {
49
- return remap$(v, {
50
- projectId: "project_id",
51
- });
52
41
  });
53
42
 
54
43
  export function updateProjectRequestToJSON(
@@ -12,7 +12,7 @@ export type UpdateProjectResponse = {
12
12
  /**
13
13
  * Updated project.
14
14
  */
15
- project?: Project | undefined;
15
+ project: Project;
16
16
  };
17
17
 
18
18
  /** @internal */
@@ -21,7 +21,7 @@ export const UpdateProjectResponse$inboundSchema: z.ZodType<
21
21
  z.ZodTypeDef,
22
22
  unknown
23
23
  > = z.object({
24
- project: Project$inboundSchema.optional(),
24
+ project: Project$inboundSchema,
25
25
  });
26
26
 
27
27
  export function updateProjectResponseFromJSON(
@@ -6,10 +6,6 @@ import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
 
8
8
  export type UpdateSkillRequest = {
9
- /**
10
- * Skill ID to update.
11
- */
12
- skillId?: string | undefined;
13
9
  /**
14
10
  * New workspace-unique display name. Omit to keep the current name.
15
11
  *
@@ -43,7 +39,6 @@ export type UpdateSkillRequest = {
43
39
 
44
40
  /** @internal */
45
41
  export type UpdateSkillRequest$Outbound = {
46
- skill_id?: string | undefined;
47
42
  display_name?: string | undefined;
48
43
  description?: string | undefined;
49
44
  tags?: Array<string> | undefined;
@@ -58,7 +53,6 @@ export const UpdateSkillRequest$outboundSchema: z.ZodType<
58
53
  z.ZodTypeDef,
59
54
  UpdateSkillRequest
60
55
  > = z.object({
61
- skillId: z.string().optional(),
62
56
  displayName: z.string().optional(),
63
57
  description: z.string().optional(),
64
58
  tags: z.array(z.string()).optional(),
@@ -67,7 +61,6 @@ export const UpdateSkillRequest$outboundSchema: z.ZodType<
67
61
  projectId: z.string().optional(),
68
62
  }).transform((v) => {
69
63
  return remap$(v, {
70
- skillId: "skill_id",
71
64
  displayName: "display_name",
72
65
  projectId: "project_id",
73
66
  });
@@ -12,7 +12,7 @@ export type UpdateSkillResponse = {
12
12
  /**
13
13
  * Updated skill.
14
14
  */
15
- skill?: Skill | undefined;
15
+ skill: Skill;
16
16
  };
17
17
 
18
18
  /** @internal */
@@ -21,7 +21,7 @@ export const UpdateSkillResponse$inboundSchema: z.ZodType<
21
21
  z.ZodTypeDef,
22
22
  unknown
23
23
  > = z.object({
24
- skill: Skill$inboundSchema.optional(),
24
+ skill: Skill$inboundSchema,
25
25
  });
26
26
 
27
27
  export function updateSkillResponseFromJSON(
@@ -9,7 +9,10 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type UserOwner = {
12
- userId?: string | undefined;
12
+ /**
13
+ * User ID that owns the API key.
14
+ */
15
+ userId: string;
13
16
  };
14
17
 
15
18
  /** @internal */
@@ -18,7 +21,7 @@ export const UserOwner$inboundSchema: z.ZodType<
18
21
  z.ZodTypeDef,
19
22
  unknown
20
23
  > = z.object({
21
- user_id: z.string().optional(),
24
+ user_id: z.string(),
22
25
  }).transform((v) => {
23
26
  return remap$(v, {
24
27
  "user_id": "userId",
@@ -26,7 +29,7 @@ export const UserOwner$inboundSchema: z.ZodType<
26
29
  });
27
30
  /** @internal */
28
31
  export type UserOwner$Outbound = {
29
- user_id?: string | undefined;
32
+ user_id: string;
30
33
  };
31
34
 
32
35
  /** @internal */
@@ -35,7 +38,7 @@ export const UserOwner$outboundSchema: z.ZodType<
35
38
  z.ZodTypeDef,
36
39
  UserOwner
37
40
  > = z.object({
38
- userId: z.string().optional(),
41
+ userId: z.string(),
39
42
  }).transform((v) => {
40
43
  return remap$(v, {
41
44
  userId: "user_id",
@@ -54,11 +54,11 @@ export type CreateDatasetResponseBody = {
54
54
  /**
55
55
  * The unique identifier of the user who created the dataset
56
56
  */
57
- createdById?: string | undefined;
57
+ createdById?: string | null | undefined;
58
58
  /**
59
59
  * The unique identifier of the user who last updated the dataset
60
60
  */
61
- updatedById?: string | undefined;
61
+ updatedById?: string | null | undefined;
62
62
  /**
63
63
  * The date and time the resource was created
64
64
  */
@@ -133,12 +133,12 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
133
133
  project_id: z.string(),
134
134
  workspace_id: z.string(),
135
135
  metadata: z.lazy(() => CreateDatasetMetadata$inboundSchema),
136
- created_by_id: z.string().optional(),
137
- updated_by_id: z.string().optional(),
136
+ created_by_id: z.nullable(z.string()).optional(),
137
+ updated_by_id: z.nullable(z.string()).optional(),
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-04T13:56:06.515Z",
141
+ "2026-06-05T06:12:26.568Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -926,11 +926,11 @@ export type CreateDatasetItemResponseBody = {
926
926
  /**
927
927
  * The unique identifier of the user who created the dataset
928
928
  */
929
- createdById?: string | undefined;
929
+ createdById?: string | null | undefined;
930
930
  /**
931
931
  * The unique identifier of the user who last updated the dataset
932
932
  */
933
- updatedById?: string | undefined;
933
+ updatedById?: string | null | undefined;
934
934
  /**
935
935
  * The date and time the resource was created
936
936
  */
@@ -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-04T13:56:34.072Z",
2358
+ "2026-06-05T06:12:43.227Z",
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-04T13:56:34.071Z",
2403
+ "2026-06-05T06:12:43.226Z",
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-04T13:56:34.070Z",
2449
+ "2026-06-05T06:12:43.225Z",
2450
2450
  ).transform(v => new Date(v)),
2451
2451
  type: z.literal("string"),
2452
2452
  value: z.string(),
@@ -2524,12 +2524,12 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
2524
2524
  ).optional(),
2525
2525
  dataset_id: z.string(),
2526
2526
  snapshot_version: z.string().optional(),
2527
- created_by_id: z.string().optional(),
2528
- updated_by_id: z.string().optional(),
2527
+ created_by_id: z.nullable(z.string()).optional(),
2528
+ updated_by_id: z.nullable(z.string()).optional(),
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-04T13:56:06.515Z",
2532
+ "2026-06-05T06:12:26.568Z",
2533
2533
  ).transform(v => new Date(v)),
2534
2534
  }).transform((v) => {
2535
2535
  return remap$(v, {
@@ -101,7 +101,7 @@ export type CreateDatasourceRequestBody = {
101
101
  /**
102
102
  * The description of the knowledge base
103
103
  */
104
- description?: string | undefined;
104
+ description?: string | null | undefined;
105
105
  /**
106
106
  * The unique identifier of the file used for datasource creation. If provided, the file is immediately queued for chunking.
107
107
  */
@@ -144,7 +144,7 @@ export type CreateDatasourceResponseBody = {
144
144
  /**
145
145
  * The description of the knowledge base
146
146
  */
147
- description?: string | undefined;
147
+ description?: string | null | undefined;
148
148
  status: CreateDatasourceStatus;
149
149
  /**
150
150
  * The unique identifier of the file used to create the datasource.
@@ -336,7 +336,7 @@ export function chunkingOptionsToJSON(
336
336
  /** @internal */
337
337
  export type CreateDatasourceRequestBody$Outbound = {
338
338
  display_name?: string | undefined;
339
- description?: string | undefined;
339
+ description?: string | null | undefined;
340
340
  file_id?: string | undefined;
341
341
  chunking_options?: ChunkingOptions$Outbound | undefined;
342
342
  };
@@ -348,7 +348,7 @@ export const CreateDatasourceRequestBody$outboundSchema: z.ZodType<
348
348
  CreateDatasourceRequestBody
349
349
  > = z.object({
350
350
  displayName: z.string().optional(),
351
- description: z.string().optional(),
351
+ description: z.nullable(z.string()).optional(),
352
352
  fileId: z.string().optional(),
353
353
  chunkingOptions: z.lazy(() => ChunkingOptions$outboundSchema).optional(),
354
354
  }).transform((v) => {
@@ -409,9 +409,9 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
409
409
  z.ZodTypeDef,
410
410
  unknown
411
411
  > = z.object({
412
- _id: z.string().default("01KT9EQSHWA3KCHWFEMKJE3X88"),
412
+ _id: z.string().default("01KTB6K60JRA6Z0WS8753R5G4Y"),
413
413
  display_name: z.string(),
414
- description: z.string().optional(),
414
+ description: z.nullable(z.string()).optional(),
415
415
  status: CreateDatasourceStatus$inboundSchema,
416
416
  file_id: z.nullable(z.string()).optional(),
417
417
  created: z.string(),
@@ -2190,8 +2190,8 @@ export const Typescript$inboundSchema: z.ZodType<
2190
2190
  > = z.object({
2191
2191
  _id: z.string(),
2192
2192
  description: z.string(),
2193
- created: z.string().default("2026-06-04T13:56:08.431Z"),
2194
- updated: z.string().default("2026-06-04T13:56:08.431Z"),
2193
+ created: z.string().default("2026-06-05T06:12:28.028Z"),
2194
+ updated: z.string().default("2026-06-05T06:12:28.028Z"),
2195
2195
  updated_by_id: z.nullable(z.string()).optional(),
2196
2196
  guardrail_config: z.nullable(
2197
2197
  z.union([
@@ -2381,8 +2381,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
2381
2381
  .object({
2382
2382
  _id: z.string(),
2383
2383
  description: z.string(),
2384
- created: z.string().default("2026-06-04T13:56:08.431Z"),
2385
- updated: z.string().default("2026-06-04T13:56:08.431Z"),
2384
+ created: z.string().default("2026-06-05T06:12:28.028Z"),
2385
+ updated: z.string().default("2026-06-05T06:12:28.028Z"),
2386
2386
  updated_by_id: z.nullable(z.string()).optional(),
2387
2387
  guardrail_config: z.nullable(
2388
2388
  z.union([
@@ -3207,8 +3207,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
3207
3207
  > = z.object({
3208
3208
  _id: z.string(),
3209
3209
  description: z.string(),
3210
- created: z.string().default("2026-06-04T13:56:08.431Z"),
3211
- updated: z.string().default("2026-06-04T13:56:08.431Z"),
3210
+ created: z.string().default("2026-06-05T06:12:28.028Z"),
3211
+ updated: z.string().default("2026-06-05T06:12:28.028Z"),
3212
3212
  updated_by_id: z.nullable(z.string()).optional(),
3213
3213
  guardrail_config: z.nullable(
3214
3214
  z.union([
@@ -3427,8 +3427,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
3427
3427
  > = z.object({
3428
3428
  _id: z.string(),
3429
3429
  description: z.string(),
3430
- created: z.string().default("2026-06-04T13:56:08.431Z"),
3431
- updated: z.string().default("2026-06-04T13:56:08.431Z"),
3430
+ created: z.string().default("2026-06-05T06:12:28.028Z"),
3431
+ updated: z.string().default("2026-06-05T06:12:28.028Z"),
3432
3432
  updated_by_id: z.nullable(z.string()).optional(),
3433
3433
  guardrail_config: z.nullable(
3434
3434
  z.union([
@@ -3609,8 +3609,8 @@ export const CreateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
3609
3609
  > = z.object({
3610
3610
  _id: z.string(),
3611
3611
  description: z.string(),
3612
- created: z.string().default("2026-06-04T13:56:08.431Z"),
3613
- updated: z.string().default("2026-06-04T13:56:08.431Z"),
3612
+ created: z.string().default("2026-06-05T06:12:28.028Z"),
3613
+ updated: z.string().default("2026-06-05T06:12:28.028Z"),
3614
3614
  updated_by_id: z.nullable(z.string()).optional(),
3615
3615
  guardrail_config: z.nullable(
3616
3616
  z.union([
@@ -3769,8 +3769,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
3769
3769
  .object({
3770
3770
  _id: z.string(),
3771
3771
  description: z.string(),
3772
- created: z.string().default("2026-06-04T13:56:08.431Z"),
3773
- updated: z.string().default("2026-06-04T13:56:08.431Z"),
3772
+ created: z.string().default("2026-06-05T06:12:28.028Z"),
3773
+ updated: z.string().default("2026-06-05T06:12:28.028Z"),
3774
3774
  updated_by_id: z.nullable(z.string()).optional(),
3775
3775
  guardrail_config: z.nullable(
3776
3776
  z.union([
@@ -4140,8 +4140,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
4140
4140
  > = z.object({
4141
4141
  _id: z.string(),
4142
4142
  description: z.string(),
4143
- created: z.string().default("2026-06-04T13:56:08.431Z"),
4144
- updated: z.string().default("2026-06-04T13:56:08.431Z"),
4143
+ created: z.string().default("2026-06-05T06:12:28.028Z"),
4144
+ updated: z.string().default("2026-06-05T06:12:28.028Z"),
4145
4145
  updated_by_id: z.nullable(z.string()).optional(),
4146
4146
  guardrail_config: z.nullable(
4147
4147
  z.union([
@@ -4360,8 +4360,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
4360
4360
  > = z.object({
4361
4361
  _id: z.string(),
4362
4362
  description: z.string(),
4363
- created: z.string().default("2026-06-04T13:56:08.431Z"),
4364
- updated: z.string().default("2026-06-04T13:56:08.431Z"),
4363
+ created: z.string().default("2026-06-05T06:12:28.028Z"),
4364
+ updated: z.string().default("2026-06-05T06:12:28.028Z"),
4365
4365
  updated_by_id: z.nullable(z.string()).optional(),
4366
4366
  guardrail_config: z.nullable(
4367
4367
  z.union([
@@ -226,7 +226,7 @@ export type ResponseBody2 = {
226
226
  /**
227
227
  * The description of the knowledge base.
228
228
  */
229
- description?: string | undefined;
229
+ description?: string | null | undefined;
230
230
  /**
231
231
  * The unique key of the knowledge base.
232
232
  */
@@ -347,7 +347,7 @@ export type ResponseBody1 = {
347
347
  /**
348
348
  * The description of the knowledge base.
349
349
  */
350
- description?: string | undefined;
350
+ description?: string | null | undefined;
351
351
  /**
352
352
  * The unique key of the knowledge base.
353
353
  */
@@ -771,7 +771,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
771
771
  > = z.object({
772
772
  _id: z.string(),
773
773
  created: z.string(),
774
- description: z.string().optional(),
774
+ description: z.nullable(z.string()).optional(),
775
775
  key: z.string(),
776
776
  domain_id: z.string(),
777
777
  path: z.string().optional(),
@@ -906,7 +906,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
906
906
  > = z.object({
907
907
  _id: z.string(),
908
908
  created: z.string(),
909
- description: z.string().optional(),
909
+ description: z.nullable(z.string()).optional(),
910
910
  key: z.string(),
911
911
  domain_id: z.string(),
912
912
  path: z.string().optional(),
@@ -44,8 +44,8 @@ export type CreateMemoryDocumentResponseBody = {
44
44
  text: string;
45
45
  created: string;
46
46
  updated: string;
47
- createdById?: string | undefined;
48
- updatedById?: string | undefined;
47
+ createdById?: string | null | undefined;
48
+ updatedById?: string | null | undefined;
49
49
  workspaceId: string;
50
50
  /**
51
51
  * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory documents based on their specific needs (e.g., document type, source, topic, relevance score, or any custom taxonomy).
@@ -126,8 +126,8 @@ export const CreateMemoryDocumentResponseBody$inboundSchema: z.ZodType<
126
126
  text: z.string(),
127
127
  created: z.string(),
128
128
  updated: z.string(),
129
- created_by_id: z.string().optional(),
130
- updated_by_id: z.string().optional(),
129
+ created_by_id: z.nullable(z.string()).optional(),
130
+ updated_by_id: z.nullable(z.string()).optional(),
131
131
  workspace_id: z.string(),
132
132
  metadata: z.record(z.string()).optional(),
133
133
  }).transform((v) => {
@@ -67,11 +67,11 @@ export type CreateMemoryStoreResponseBody = {
67
67
  /**
68
68
  * The user ID of the creator
69
69
  */
70
- createdById?: string | undefined;
70
+ createdById?: string | null | undefined;
71
71
  /**
72
72
  * The user ID of the last updater
73
73
  */
74
- updatedById?: string | undefined;
74
+ updatedById?: string | null | undefined;
75
75
  /**
76
76
  * The creation date of the memory store
77
77
  */
@@ -171,8 +171,8 @@ export const CreateMemoryStoreResponseBody$inboundSchema: z.ZodType<
171
171
  _id: z.string(),
172
172
  key: z.string(),
173
173
  description: z.string(),
174
- created_by_id: z.string().optional(),
175
- updated_by_id: z.string().optional(),
174
+ created_by_id: z.nullable(z.string()).optional(),
175
+ updated_by_id: z.nullable(z.string()).optional(),
176
176
  created: z.string(),
177
177
  updated: z.string(),
178
178
  ttl: z.number().optional(),
@@ -1231,6 +1231,7 @@ export const CreatePromptProvider = {
1231
1231
  Scaleway: "scaleway",
1232
1232
  Hcompany: "hcompany",
1233
1233
  Inceptron: "inceptron",
1234
+ Wafer: "wafer",
1234
1235
  Slack: "slack",
1235
1236
  Orq: "orq",
1236
1237
  } as const;
@@ -1898,7 +1898,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1898
1898
  z.ZodTypeDef,
1899
1899
  unknown
1900
1900
  > = z.object({
1901
- _id: z.string().default("tool_01KT9EQS9GA9XJZGD5HKVZW8KS"),
1901
+ _id: z.string().default("tool_01KTB6K5VVP9Y0DJXTHV7MFPBZ"),
1902
1902
  path: z.string(),
1903
1903
  key: z.string(),
1904
1904
  display_name: z.string().optional(),
@@ -1995,7 +1995,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
1995
1995
  z.ZodTypeDef,
1996
1996
  unknown
1997
1997
  > = z.object({
1998
- id: z.string().default("01KT9EQS9E3GNAJEDGMZHH5DDG"),
1998
+ id: z.string().default("01KTB6K5VT93J5GBW4P0P9C77R"),
1999
1999
  name: z.string(),
2000
2000
  description: z.string().optional(),
2001
2001
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
@@ -2051,7 +2051,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2051
2051
  z.ZodTypeDef,
2052
2052
  unknown
2053
2053
  > = z.object({
2054
- _id: z.string().default("tool_01KT9EQS9C7PJ7TN14Z1PXABHN"),
2054
+ _id: z.string().default("tool_01KTB6K5VS8VGF7EXJ8PKBYJRB"),
2055
2055
  path: z.string(),
2056
2056
  key: z.string(),
2057
2057
  display_name: z.string().optional(),
@@ -2237,7 +2237,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2237
2237
  z.ZodTypeDef,
2238
2238
  unknown
2239
2239
  > = z.object({
2240
- _id: z.string().default("tool_01KT9EQS97MVSW9685Z5EDBP8G"),
2240
+ _id: z.string().default("tool_01KTB6K5VP86NF0JYQE0W6HT4X"),
2241
2241
  path: z.string(),
2242
2242
  key: z.string(),
2243
2243
  display_name: z.string().optional(),
@@ -2330,7 +2330,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2330
2330
  z.ZodTypeDef,
2331
2331
  unknown
2332
2332
  > = z.object({
2333
- _id: z.string().default("tool_01KT9EQS949CJMW02FV8GB5RWQ"),
2333
+ _id: z.string().default("tool_01KTB6K5VNVXMAZS8BD3BHGHD5"),
2334
2334
  path: z.string(),
2335
2335
  key: z.string(),
2336
2336
  display_name: z.string().optional(),
@@ -2431,7 +2431,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2431
2431
  z.ZodTypeDef,
2432
2432
  unknown
2433
2433
  > = z.object({
2434
- _id: z.string().default("tool_01KT9EQS9157PXKZ352BNEKF0G"),
2434
+ _id: z.string().default("tool_01KTB6K5VKY95570JJ0871NAPR"),
2435
2435
  path: z.string(),
2436
2436
  key: z.string(),
2437
2437
  display_name: z.string().optional(),
@@ -5,6 +5,9 @@
5
5
  import * as z from "zod/v3";
6
6
 
7
7
  export type DeleteIdentityRequest = {
8
+ /**
9
+ * Identity ID to delete.
10
+ */
8
11
  id: string;
9
12
  };
10
13
 
@@ -1172,6 +1172,7 @@ export const Provider = {
1172
1172
  Scaleway: "scaleway",
1173
1173
  Hcompany: "hcompany",
1174
1174
  Inceptron: "inceptron",
1175
+ Wafer: "wafer",
1175
1176
  Slack: "slack",
1176
1177
  Orq: "orq",
1177
1178
  } as const;
@@ -422,6 +422,7 @@ export const DeploymentsProvider = {
422
422
  Scaleway: "scaleway",
423
423
  Hcompany: "hcompany",
424
424
  Inceptron: "inceptron",
425
+ Wafer: "wafer",
425
426
  Slack: "slack",
426
427
  Orq: "orq",
427
428
  } as const;
@@ -1205,6 +1205,7 @@ export const DeploymentStreamProvider = {
1205
1205
  Scaleway: "scaleway",
1206
1206
  Hcompany: "hcompany",
1207
1207
  Inceptron: "inceptron",
1208
+ Wafer: "wafer",
1208
1209
  Slack: "slack",
1209
1210
  Orq: "orq",
1210
1211
  } as const;
@@ -6,6 +6,9 @@ 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
+ * File ID or path used to locate the file content.
11
+ */
9
12
  fileIdOrPath: string;
10
13
  };
11
14
 
@@ -6,6 +6,9 @@ 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
+ * File ID to delete.
11
+ */
9
12
  fileId: string;
10
13
  };
11
14