@orq-ai/node 4.10.2 → 4.10.6

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 (161) 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/createtool.js +6 -6
  11. package/models/operations/getalltools.js +6 -6
  12. package/models/operations/getevals.js +16 -16
  13. package/models/operations/getv2humanevalsets.js +2 -2
  14. package/models/operations/getv2humanevalsetsid.js +2 -2
  15. package/models/operations/listdatasetdatapoints.js +4 -4
  16. package/models/operations/listdatasets.js +1 -1
  17. package/models/operations/listdatasources.js +1 -1
  18. package/models/operations/patchv2humanevalsetsid.js +2 -2
  19. package/models/operations/postv2feedbackevaluation.js +3 -3
  20. package/models/operations/postv2humanevalsets.js +2 -2
  21. package/models/operations/retrievedatapoint.js +4 -4
  22. package/models/operations/retrievedataset.js +1 -1
  23. package/models/operations/retrievedatasource.js +1 -1
  24. package/models/operations/retrievetool.js +6 -6
  25. package/models/operations/runagent.js +1 -1
  26. package/models/operations/streamrunagent.js +1 -1
  27. package/models/operations/updatedatapoint.js +4 -4
  28. package/models/operations/updatedataset.js +1 -1
  29. package/models/operations/updatedatasource.js +1 -1
  30. package/models/operations/updateeval.js +16 -16
  31. package/models/operations/updatetool.js +7 -7
  32. package/package.json +1 -1
  33. package/packages/orq-rc/src/funcs/filesDelete.ts +3 -0
  34. package/packages/orq-rc/src/lib/config.ts +2 -2
  35. package/packages/orq-rc/src/models/components/apikey.ts +19 -19
  36. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +4 -4
  37. package/packages/orq-rc/src/models/components/createapikeyresponse.ts +4 -4
  38. package/packages/orq-rc/src/models/components/createfilerequest.ts +15 -6
  39. package/packages/orq-rc/src/models/components/createfileresponse.ts +5 -2
  40. package/packages/orq-rc/src/models/components/createidentityrequest.ts +27 -3
  41. package/packages/orq-rc/src/models/components/createidentityresponse.ts +5 -2
  42. package/packages/orq-rc/src/models/components/createprojectrequest.ts +3 -3
  43. package/packages/orq-rc/src/models/components/createprojectresponse.ts +2 -2
  44. package/packages/orq-rc/src/models/components/createskillrequest.ts +3 -3
  45. package/packages/orq-rc/src/models/components/createskillresponse.ts +2 -2
  46. package/packages/orq-rc/src/models/components/file.ts +24 -12
  47. package/packages/orq-rc/src/models/components/getapikeyresponse.ts +2 -2
  48. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +5 -2
  49. package/packages/orq-rc/src/models/components/getfileresponse.ts +5 -2
  50. package/packages/orq-rc/src/models/components/getprojectresponse.ts +2 -2
  51. package/packages/orq-rc/src/models/components/getskillresponse.ts +2 -2
  52. package/packages/orq-rc/src/models/components/identity.ts +55 -10
  53. package/packages/orq-rc/src/models/components/identitymetrics.ts +20 -8
  54. package/packages/orq-rc/src/models/components/listapikeysresponse.ts +6 -6
  55. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +2 -2
  56. package/packages/orq-rc/src/models/components/listfilesresponse.ts +15 -6
  57. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +18 -6
  58. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +6 -6
  59. package/packages/orq-rc/src/models/components/listskillsresponse.ts +6 -6
  60. package/packages/orq-rc/src/models/components/project.ts +16 -16
  61. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  62. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +5 -2
  63. package/packages/orq-rc/src/models/components/singleproject.ts +7 -4
  64. package/packages/orq-rc/src/models/components/skill.ts +25 -25
  65. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +1 -8
  66. package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +2 -2
  67. package/packages/orq-rc/src/models/components/updatefilerequest.ts +6 -7
  68. package/packages/orq-rc/src/models/components/updatefileresponse.ts +5 -2
  69. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +18 -3
  70. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +5 -2
  71. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -11
  72. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +2 -2
  73. package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -7
  74. package/packages/orq-rc/src/models/components/updateskillresponse.ts +2 -2
  75. package/packages/orq-rc/src/models/components/userowner.ts +7 -4
  76. package/packages/orq-rc/src/models/operations/createdataset.ts +5 -5
  77. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
  78. package/packages/orq-rc/src/models/operations/createdatasource.ts +6 -6
  79. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  80. package/packages/orq-rc/src/models/operations/createknowledge.ts +4 -4
  81. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +4 -4
  82. package/packages/orq-rc/src/models/operations/creatememorystore.ts +4 -4
  83. package/packages/orq-rc/src/models/operations/createprompt.ts +1 -0
  84. package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
  85. package/packages/orq-rc/src/models/operations/deleteidentity.ts +3 -0
  86. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
  87. package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
  88. package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
  89. package/packages/orq-rc/src/models/operations/filecontent.ts +3 -0
  90. package/packages/orq-rc/src/models/operations/filedelete.ts +3 -0
  91. package/packages/orq-rc/src/models/operations/fileget.ts +3 -0
  92. package/packages/orq-rc/src/models/operations/filelist.ts +15 -0
  93. package/packages/orq-rc/src/models/operations/fileupdate.ts +3 -0
  94. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +4 -4
  95. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +4 -4
  96. package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
  97. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  98. package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
  99. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +4 -4
  100. package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
  101. package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
  102. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  103. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  104. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
  105. package/packages/orq-rc/src/models/operations/listdatasets.ts +5 -5
  106. package/packages/orq-rc/src/models/operations/listdatasources.ts +3 -3
  107. package/packages/orq-rc/src/models/operations/listidentities.ts +24 -0
  108. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +4 -4
  109. package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
  110. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  111. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  112. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  113. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
  114. package/packages/orq-rc/src/models/operations/retrievedataset.ts +5 -5
  115. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +3 -3
  116. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +6 -0
  117. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +4 -4
  118. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +4 -4
  119. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
  120. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  121. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  122. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
  123. package/packages/orq-rc/src/models/operations/updatedataset.ts +5 -5
  124. package/packages/orq-rc/src/models/operations/updatedatasource.ts +3 -3
  125. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  126. package/packages/orq-rc/src/models/operations/updateidentity.ts +3 -0
  127. package/packages/orq-rc/src/models/operations/updateknowledge.ts +4 -4
  128. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +4 -4
  129. package/packages/orq-rc/src/models/operations/updatememorystore.ts +4 -4
  130. package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
  131. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
  132. package/packages/orq-rc/src/sdk/files.ts +3 -0
  133. package/src/lib/config.ts +2 -2
  134. package/src/models/components/createfilerequest.ts +1 -1
  135. package/src/models/components/reasoningpart.ts +1 -1
  136. package/src/models/operations/createdataset.ts +1 -1
  137. package/src/models/operations/createdatasetitem.ts +4 -4
  138. package/src/models/operations/createdatasource.ts +1 -1
  139. package/src/models/operations/createeval.ts +16 -16
  140. package/src/models/operations/createtool.ts +6 -6
  141. package/src/models/operations/getalltools.ts +6 -6
  142. package/src/models/operations/getevals.ts +16 -16
  143. package/src/models/operations/getv2humanevalsets.ts +2 -2
  144. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  145. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  146. package/src/models/operations/listdatasets.ts +1 -1
  147. package/src/models/operations/listdatasources.ts +1 -1
  148. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  149. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  150. package/src/models/operations/postv2humanevalsets.ts +2 -2
  151. package/src/models/operations/retrievedatapoint.ts +4 -4
  152. package/src/models/operations/retrievedataset.ts +1 -1
  153. package/src/models/operations/retrievedatasource.ts +1 -1
  154. package/src/models/operations/retrievetool.ts +6 -6
  155. package/src/models/operations/runagent.ts +1 -1
  156. package/src/models/operations/streamrunagent.ts +1 -1
  157. package/src/models/operations/updatedatapoint.ts +4 -4
  158. package/src/models/operations/updatedataset.ts +1 -1
  159. package/src/models/operations/updatedatasource.ts +1 -1
  160. package/src/models/operations/updateeval.ts +16 -16
  161. package/src/models/operations/updatetool.ts +7 -7
@@ -585,11 +585,11 @@ export type ListDatasetDatapointsData = {
585
585
  /**
586
586
  * The unique identifier of the user who created the dataset
587
587
  */
588
- createdById?: string | undefined;
588
+ createdById?: string | null | undefined;
589
589
  /**
590
590
  * The unique identifier of the user who last updated the dataset
591
591
  */
592
- updatedById?: string | undefined;
592
+ updatedById?: string | null | undefined;
593
593
  /**
594
594
  * The date and time the resource was created
595
595
  */
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1270
1270
  ),
1271
1271
  reviewed_by_id: z.string(),
1272
1272
  reviewed_at: z.string().datetime({ offset: true }).default(
1273
- "2026-06-04T13:56:34.055Z",
1273
+ "2026-06-05T06:12:43.212Z",
1274
1274
  ).transform(v => new Date(v)),
1275
1275
  type: z.literal("string_array"),
1276
1276
  values: z.array(z.string()),
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1320
1320
  source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
1321
1321
  reviewed_by_id: z.string(),
1322
1322
  reviewed_at: z.string().datetime({ offset: true }).default(
1323
- "2026-06-04T13:56:34.055Z",
1323
+ "2026-06-05T06:12:43.212Z",
1324
1324
  ).transform(v => new Date(v)),
1325
1325
  type: z.literal("number"),
1326
1326
  value: z.number(),
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1369
1369
  .default("orq"),
1370
1370
  reviewed_by_id: z.string(),
1371
1371
  reviewed_at: z.string().datetime({ offset: true }).default(
1372
- "2026-06-04T13:56:34.054Z",
1372
+ "2026-06-05T06:12:43.211Z",
1373
1373
  ).transform(v => new Date(v)),
1374
1374
  type: z.literal("string"),
1375
1375
  value: z.string(),
@@ -1443,12 +1443,12 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
1443
1443
  ).optional(),
1444
1444
  dataset_id: z.string(),
1445
1445
  snapshot_version: z.string().optional(),
1446
- created_by_id: z.string().optional(),
1447
- updated_by_id: z.string().optional(),
1446
+ created_by_id: z.nullable(z.string()).optional(),
1447
+ updated_by_id: z.nullable(z.string()).optional(),
1448
1448
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1449
1449
  .optional(),
1450
1450
  updated: z.string().datetime({ offset: true }).default(
1451
- "2026-06-04T13:56:06.515Z",
1451
+ "2026-06-05T06:12:26.568Z",
1452
1452
  ).transform(v => new Date(v)),
1453
1453
  }).transform((v) => {
1454
1454
  return remap$(v, {
@@ -55,11 +55,11 @@ export type ListDatasetsData = {
55
55
  /**
56
56
  * The unique identifier of the user who created the dataset
57
57
  */
58
- createdById?: string | undefined;
58
+ createdById?: string | null | undefined;
59
59
  /**
60
60
  * The unique identifier of the user who last updated the dataset
61
61
  */
62
- updatedById?: string | undefined;
62
+ updatedById?: string | null | undefined;
63
63
  /**
64
64
  * The date and time the resource was created
65
65
  */
@@ -151,12 +151,12 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
151
151
  project_id: z.string(),
152
152
  workspace_id: z.string(),
153
153
  metadata: z.lazy(() => ListDatasetsMetadata$inboundSchema),
154
- created_by_id: z.string().optional(),
155
- updated_by_id: z.string().optional(),
154
+ created_by_id: z.nullable(z.string()).optional(),
155
+ updated_by_id: z.nullable(z.string()).optional(),
156
156
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
157
157
  .optional(),
158
158
  updated: z.string().datetime({ offset: true }).default(
159
- "2026-06-04T13:56:06.515Z",
159
+ "2026-06-05T06:12:26.568Z",
160
160
  ).transform(v => new Date(v)),
161
161
  }).transform((v) => {
162
162
  return remap$(v, {
@@ -67,7 +67,7 @@ export type ListDatasourcesData = {
67
67
  /**
68
68
  * The description of the knowledge base
69
69
  */
70
- description?: string | undefined;
70
+ description?: string | null | undefined;
71
71
  status: ListDatasourcesStatus;
72
72
  /**
73
73
  * The unique identifier of the file used to create the datasource.
@@ -182,9 +182,9 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
182
182
  z.ZodTypeDef,
183
183
  unknown
184
184
  > = z.object({
185
- _id: z.string().default("01KT9EQSHQG2M4BAG8E8RCVP90"),
185
+ _id: z.string().default("01KTB6K60FX3WZR6WQ2QV74ZKN"),
186
186
  display_name: z.string(),
187
- description: z.string().optional(),
187
+ description: z.nullable(z.string()).optional(),
188
188
  status: ListDatasourcesStatus$inboundSchema,
189
189
  file_id: z.nullable(z.string()).optional(),
190
190
  created: z.string(),
@@ -8,11 +8,35 @@ import * as components from "../components/index.js";
8
8
 
9
9
  export type ListIdentitiesRequest = {
10
10
  limit?: number | undefined;
11
+ /**
12
+ * Cursor for forward pagination. Set to the `_id` of the last item from
13
+ *
14
+ * @remarks
15
+ * the previous page.
16
+ */
11
17
  startingAfter?: string | undefined;
18
+ /**
19
+ * Cursor for backward pagination. Set to the `_id` of the first item from
20
+ *
21
+ * @remarks
22
+ * the previous page.
23
+ */
12
24
  endingBefore?: string | undefined;
25
+ /**
26
+ * Case-insensitive search text matched against identity profile fields.
27
+ */
13
28
  search?: string | undefined;
29
+ /**
30
+ * Return only identities that have at least one of these tags.
31
+ */
14
32
  filterByTags?: Array<string> | undefined;
33
+ /**
34
+ * Include aggregate usage metrics on each returned identity.
35
+ */
15
36
  includeMetrics?: boolean | undefined;
37
+ /**
38
+ * Field used to order the list.
39
+ */
16
40
  sortBy?: components.IdentitySortField | undefined;
17
41
  };
18
42
 
@@ -111,7 +111,7 @@ export type Data2 = {
111
111
  /**
112
112
  * The description of the knowledge base.
113
113
  */
114
- description?: string | undefined;
114
+ description?: string | null | undefined;
115
115
  /**
116
116
  * The unique key of the knowledge base.
117
117
  */
@@ -230,7 +230,7 @@ export type Data1 = {
230
230
  /**
231
231
  * The description of the knowledge base.
232
232
  */
233
- description?: string | undefined;
233
+ description?: string | null | undefined;
234
234
  /**
235
235
  * The unique key of the knowledge base.
236
236
  */
@@ -424,7 +424,7 @@ export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
424
424
  .object({
425
425
  _id: z.string(),
426
426
  created: z.string(),
427
- description: z.string().optional(),
427
+ description: z.nullable(z.string()).optional(),
428
428
  key: z.string(),
429
429
  domain_id: z.string(),
430
430
  path: z.string().optional(),
@@ -559,7 +559,7 @@ export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
559
559
  .object({
560
560
  _id: z.string(),
561
561
  created: z.string(),
562
- description: z.string().optional(),
562
+ description: z.nullable(z.string()).optional(),
563
563
  key: z.string(),
564
564
  domain_id: z.string(),
565
565
  path: z.string().optional(),
@@ -375,6 +375,7 @@ export const ListPromptVersionsProvider = {
375
375
  Scaleway: "scaleway",
376
376
  Hcompany: "hcompany",
377
377
  Inceptron: "inceptron",
378
+ Wafer: "wafer",
378
379
  Slack: "slack",
379
380
  Orq: "orq",
380
381
  } as const;
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-06-04T13:56:06.515Z",
321
+ "2026-06-05T06:12:26.568Z",
322
322
  ).transform(v => new Date(v)),
323
323
  filter_type: z.literal("name"),
324
324
  filter_value: z.string(),
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
364
364
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
365
365
  .optional(),
366
366
  updated: z.string().datetime({ offset: true }).default(
367
- "2026-06-04T13:56:06.515Z",
367
+ "2026-06-05T06:12:26.568Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -173,7 +173,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
173
173
  humanReviewId: z.string(),
174
174
  source: PostV2FeedbackEvaluationRequestBodyRequestSource$outboundSchema
175
175
  .default("orq"),
176
- reviewedAt: z.date().default(() => new Date("2026-06-04T13:56:34.237Z"))
176
+ reviewedAt: z.date().default(() => new Date("2026-06-05T06:12:43.361Z"))
177
177
  .transform(v => v.toISOString()),
178
178
  type: z.literal("string_array"),
179
179
  values: z.array(z.string()),
@@ -225,7 +225,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
225
225
  source: PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default(
226
226
  "orq",
227
227
  ),
228
- reviewedAt: z.date().default(() => new Date("2026-06-04T13:56:34.236Z"))
228
+ reviewedAt: z.date().default(() => new Date("2026-06-05T06:12:43.360Z"))
229
229
  .transform(v => v.toISOString()),
230
230
  type: z.literal("number"),
231
231
  value: z.number(),
@@ -275,7 +275,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
275
275
  evaluationType: EvaluationType$outboundSchema,
276
276
  humanReviewId: z.string(),
277
277
  source: RequestBodySource$outboundSchema.default("orq"),
278
- reviewedAt: z.date().default(() => new Date("2026-06-04T13:56:34.236Z"))
278
+ reviewedAt: z.date().default(() => new Date("2026-06-05T06:12:43.359Z"))
279
279
  .transform(v => v.toISOString()),
280
280
  type: z.literal("string"),
281
281
  value: z.string(),
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
271
271
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
272
272
  .optional(),
273
273
  updated: z.string().datetime({ offset: true }).default(
274
- "2026-06-04T13:56:06.515Z",
274
+ "2026-06-05T06:12:26.568Z",
275
275
  ).transform(v => new Date(v)),
276
276
  filter_type: z.literal("name"),
277
277
  filter_value: z.string(),
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
316
316
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
317
317
  .optional(),
318
318
  updated: z.string().datetime({ offset: true }).default(
319
- "2026-06-04T13:56:06.515Z",
319
+ "2026-06-05T06:12:26.568Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -568,11 +568,11 @@ export type RetrieveDatapointResponseBody = {
568
568
  /**
569
569
  * The unique identifier of the user who created the dataset
570
570
  */
571
- createdById?: string | undefined;
571
+ createdById?: string | null | undefined;
572
572
  /**
573
573
  * The unique identifier of the user who last updated the dataset
574
574
  */
575
- updatedById?: string | undefined;
575
+ updatedById?: string | null | undefined;
576
576
  /**
577
577
  * The date and time the resource was created
578
578
  */
@@ -1207,7 +1207,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
1207
1207
  .default("orq"),
1208
1208
  reviewed_by_id: z.string(),
1209
1209
  reviewed_at: z.string().datetime({ offset: true }).default(
1210
- "2026-06-04T13:56:34.064Z",
1210
+ "2026-06-05T06:12:43.219Z",
1211
1211
  ).transform(v => new Date(v)),
1212
1212
  type: z.literal("string_array"),
1213
1213
  values: z.array(z.string()),
@@ -1255,7 +1255,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
1255
1255
  ),
1256
1256
  reviewed_by_id: z.string(),
1257
1257
  reviewed_at: z.string().datetime({ offset: true }).default(
1258
- "2026-06-04T13:56:34.063Z",
1258
+ "2026-06-05T06:12:43.219Z",
1259
1259
  ).transform(v => new Date(v)),
1260
1260
  type: z.literal("number"),
1261
1261
  value: z.number(),
@@ -1300,7 +1300,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
1300
1300
  source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
1301
1301
  reviewed_by_id: z.string(),
1302
1302
  reviewed_at: z.string().datetime({ offset: true }).default(
1303
- "2026-06-04T13:56:34.063Z",
1303
+ "2026-06-05T06:12:43.218Z",
1304
1304
  ).transform(v => new Date(v)),
1305
1305
  type: z.literal("string"),
1306
1306
  value: z.string(),
@@ -1372,12 +1372,12 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
1372
1372
  ).optional(),
1373
1373
  dataset_id: z.string(),
1374
1374
  snapshot_version: z.string().optional(),
1375
- created_by_id: z.string().optional(),
1376
- updated_by_id: z.string().optional(),
1375
+ created_by_id: z.nullable(z.string()).optional(),
1376
+ updated_by_id: z.nullable(z.string()).optional(),
1377
1377
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1378
1378
  .optional(),
1379
1379
  updated: z.string().datetime({ offset: true }).default(
1380
- "2026-06-04T13:56:06.515Z",
1380
+ "2026-06-05T06:12:26.568Z",
1381
1381
  ).transform(v => new Date(v)),
1382
1382
  }).transform((v) => {
1383
1383
  return remap$(v, {
@@ -44,11 +44,11 @@ export type RetrieveDatasetResponseBody = {
44
44
  /**
45
45
  * The unique identifier of the user who created the dataset
46
46
  */
47
- createdById?: string | undefined;
47
+ createdById?: string | null | undefined;
48
48
  /**
49
49
  * The unique identifier of the user who last updated the dataset
50
50
  */
51
- updatedById?: string | undefined;
51
+ updatedById?: string | null | undefined;
52
52
  /**
53
53
  * The date and time the resource was created
54
54
  */
@@ -121,12 +121,12 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
121
121
  project_id: z.string(),
122
122
  workspace_id: z.string(),
123
123
  metadata: z.lazy(() => RetrieveDatasetMetadata$inboundSchema),
124
- created_by_id: z.string().optional(),
125
- updated_by_id: z.string().optional(),
124
+ created_by_id: z.nullable(z.string()).optional(),
125
+ updated_by_id: z.nullable(z.string()).optional(),
126
126
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
127
127
  .optional(),
128
128
  updated: z.string().datetime({ offset: true }).default(
129
- "2026-06-04T13:56:06.515Z",
129
+ "2026-06-05T06:12:26.568Z",
130
130
  ).transform(v => new Date(v)),
131
131
  }).transform((v) => {
132
132
  return remap$(v, {
@@ -46,7 +46,7 @@ export type RetrieveDatasourceResponseBody = {
46
46
  /**
47
47
  * The description of the knowledge base
48
48
  */
49
- description?: string | undefined;
49
+ description?: string | null | undefined;
50
50
  status: RetrieveDatasourceStatus;
51
51
  /**
52
52
  * The unique identifier of the file used to create the datasource.
@@ -118,9 +118,9 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
118
118
  z.ZodTypeDef,
119
119
  unknown
120
120
  > = z.object({
121
- _id: z.string().default("01KT9EQSHT12B69P94MTJ2XHD7"),
121
+ _id: z.string().default("01KTB6K60HAJESYMW89KC8RYJJ"),
122
122
  display_name: z.string(),
123
- description: z.string().optional(),
123
+ description: z.nullable(z.string()).optional(),
124
124
  status: RetrieveDatasourceStatus$inboundSchema,
125
125
  file_id: z.nullable(z.string()).optional(),
126
126
  created: z.string(),
@@ -6,7 +6,13 @@ import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
 
8
8
  export type RetrieveIdentityRequest = {
9
+ /**
10
+ * Identity ID to retrieve.
11
+ */
9
12
  id: string;
13
+ /**
14
+ * Include aggregate usage metrics on the returned identity.
15
+ */
10
16
  includeMetrics?: boolean | undefined;
11
17
  };
12
18
 
@@ -36,8 +36,8 @@ export type RetrieveMemoryDocumentResponseBody = {
36
36
  text: string;
37
37
  created: string;
38
38
  updated: string;
39
- createdById?: string | undefined;
40
- updatedById?: string | undefined;
39
+ createdById?: string | null | undefined;
40
+ updatedById?: string | null | undefined;
41
41
  workspaceId: string;
42
42
  /**
43
43
  * 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).
@@ -91,8 +91,8 @@ export const RetrieveMemoryDocumentResponseBody$inboundSchema: z.ZodType<
91
91
  text: z.string(),
92
92
  created: z.string(),
93
93
  updated: z.string(),
94
- created_by_id: z.string().optional(),
95
- updated_by_id: z.string().optional(),
94
+ created_by_id: z.nullable(z.string()).optional(),
95
+ updated_by_id: z.nullable(z.string()).optional(),
96
96
  workspace_id: z.string(),
97
97
  metadata: z.record(z.string()).optional(),
98
98
  }).transform((v) => {
@@ -41,11 +41,11 @@ export type RetrieveMemoryStoreResponseBody = {
41
41
  /**
42
42
  * The user ID of the creator
43
43
  */
44
- createdById?: string | undefined;
44
+ createdById?: string | null | undefined;
45
45
  /**
46
46
  * The user ID of the last updater
47
47
  */
48
- updatedById?: string | undefined;
48
+ updatedById?: string | null | undefined;
49
49
  /**
50
50
  * The creation date of the memory store
51
51
  */
@@ -116,8 +116,8 @@ export const RetrieveMemoryStoreResponseBody$inboundSchema: z.ZodType<
116
116
  _id: z.string(),
117
117
  key: z.string(),
118
118
  description: z.string(),
119
- created_by_id: z.string().optional(),
120
- updated_by_id: z.string().optional(),
119
+ created_by_id: z.nullable(z.string()).optional(),
120
+ updated_by_id: z.nullable(z.string()).optional(),
121
121
  created: z.string(),
122
122
  updated: z.string(),
123
123
  ttl: z.number().optional(),
@@ -753,7 +753,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
753
753
  z.ZodTypeDef,
754
754
  unknown
755
755
  > = z.object({
756
- _id: z.string().default("tool_01KT9EQSC00EBWV4DX4QDCGQ4X"),
756
+ _id: z.string().default("tool_01KTB6K5XDP8EHT1PEA2MEXJ2C"),
757
757
  path: z.string(),
758
758
  key: z.string(),
759
759
  display_name: z.string().optional(),
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
859
859
  z.ZodTypeDef,
860
860
  unknown
861
861
  > = z.object({
862
- id: z.string().default("01KT9EQSBYFB6KB0HQMCP2NS4Y"),
862
+ id: z.string().default("01KTB6K5XCEH44JJJYGWVXXQWM"),
863
863
  name: z.string(),
864
864
  description: z.string().optional(),
865
865
  schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
@@ -917,7 +917,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
917
917
  z.ZodTypeDef,
918
918
  unknown
919
919
  > = z.object({
920
- _id: z.string().default("tool_01KT9EQSBVTW05ZH43VJQY6FW0"),
920
+ _id: z.string().default("tool_01KTB6K5XB0J89ZSZ21E03Y6TC"),
921
921
  path: z.string(),
922
922
  key: z.string(),
923
923
  display_name: z.string().optional(),
@@ -1108,7 +1108,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1108
1108
  z.ZodTypeDef,
1109
1109
  unknown
1110
1110
  > = z.object({
1111
- _id: z.string().default("tool_01KT9EQSBQK2NCQ68B6PJDPJBW"),
1111
+ _id: z.string().default("tool_01KTB6K5X8C9ZSZ5CARXWQSK0P"),
1112
1112
  path: z.string(),
1113
1113
  key: z.string(),
1114
1114
  display_name: z.string().optional(),
@@ -1204,7 +1204,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1204
1204
  z.ZodTypeDef,
1205
1205
  unknown
1206
1206
  > = z.object({
1207
- _id: z.string().default("tool_01KT9EQSBM16GR5FNYNDDQ7DQV"),
1207
+ _id: z.string().default("tool_01KTB6K5X7DRNSPYPXXZ9NJPMQ"),
1208
1208
  path: z.string(),
1209
1209
  key: z.string(),
1210
1210
  display_name: z.string().optional(),
@@ -1310,7 +1310,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1310
1310
  z.ZodTypeDef,
1311
1311
  unknown
1312
1312
  > = z.object({
1313
- _id: z.string().default("tool_01KT9EQSBHSM4TVAR9Z6NQS9V1"),
1313
+ _id: z.string().default("tool_01KTB6K5X5FXQWEAV3D6VK6VBF"),
1314
1314
  path: z.string(),
1315
1315
  key: z.string(),
1316
1316
  display_name: z.string().optional(),
@@ -3626,7 +3626,7 @@ export const Tools$outboundSchema: z.ZodType<
3626
3626
  z.ZodTypeDef,
3627
3627
  Tools
3628
3628
  > = z.object({
3629
- id: z.string().default("01KT9EQS0A451S0CZSMND2K1PX"),
3629
+ id: z.string().default("01KTB6K5NG8NPZHS9C06MWF4FF"),
3630
3630
  name: z.string(),
3631
3631
  description: z.string().optional(),
3632
3632
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3675
3675
  z.ZodTypeDef,
3676
3676
  AgentToolInputRunTools
3677
3677
  > = z.object({
3678
- id: z.string().default("01KT9EQS2JGVW8MT476V8CT1BW"),
3678
+ id: z.string().default("01KTB6K5PYYRZWTYZ0GFAS6EDH"),
3679
3679
  name: z.string(),
3680
3680
  description: z.string().optional(),
3681
3681
  schema: z.lazy(() =>
@@ -943,11 +943,11 @@ export type UpdateDatapointResponseBody = {
943
943
  /**
944
944
  * The unique identifier of the user who created the dataset
945
945
  */
946
- createdById?: string | undefined;
946
+ createdById?: string | null | undefined;
947
947
  /**
948
948
  * The unique identifier of the user who last updated the dataset
949
949
  */
950
- updatedById?: string | undefined;
950
+ updatedById?: string | null | undefined;
951
951
  /**
952
952
  * The date and time the resource was created
953
953
  */
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
2358
2358
  .default("orq"),
2359
2359
  reviewed_by_id: z.string(),
2360
2360
  reviewed_at: z.string().datetime({ offset: true }).default(
2361
- "2026-06-04T13:56:34.105Z",
2361
+ "2026-06-05T06:12:43.253Z",
2362
2362
  ).transform(v => new Date(v)),
2363
2363
  type: z.literal("string_array"),
2364
2364
  values: z.array(z.string()),
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
2404
2404
  source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
2405
2405
  reviewed_by_id: z.string(),
2406
2406
  reviewed_at: z.string().datetime({ offset: true }).default(
2407
- "2026-06-04T13:56:34.104Z",
2407
+ "2026-06-05T06:12:43.253Z",
2408
2408
  ).transform(v => new Date(v)),
2409
2409
  type: z.literal("number"),
2410
2410
  value: z.number(),
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
2449
2449
  source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
2450
2450
  reviewed_by_id: z.string(),
2451
2451
  reviewed_at: z.string().datetime({ offset: true }).default(
2452
- "2026-06-04T13:56:34.104Z",
2452
+ "2026-06-05T06:12:43.252Z",
2453
2453
  ).transform(v => new Date(v)),
2454
2454
  type: z.literal("string"),
2455
2455
  value: z.string(),
@@ -2525,12 +2525,12 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
2525
2525
  ).optional(),
2526
2526
  dataset_id: z.string(),
2527
2527
  snapshot_version: z.string().optional(),
2528
- created_by_id: z.string().optional(),
2529
- updated_by_id: z.string().optional(),
2528
+ created_by_id: z.nullable(z.string()).optional(),
2529
+ updated_by_id: z.nullable(z.string()).optional(),
2530
2530
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2531
2531
  .optional(),
2532
2532
  updated: z.string().datetime({ offset: true }).default(
2533
- "2026-06-04T13:56:06.515Z",
2533
+ "2026-06-05T06:12:26.568Z",
2534
2534
  ).transform(v => new Date(v)),
2535
2535
  }).transform((v) => {
2536
2536
  return remap$(v, {
@@ -66,11 +66,11 @@ export type UpdateDatasetResponseBody = {
66
66
  /**
67
67
  * The unique identifier of the user who created the dataset
68
68
  */
69
- createdById?: string | undefined;
69
+ createdById?: string | null | undefined;
70
70
  /**
71
71
  * The unique identifier of the user who last updated the dataset
72
72
  */
73
- updatedById?: string | undefined;
73
+ updatedById?: string | null | undefined;
74
74
  /**
75
75
  * The date and time the resource was created
76
76
  */
@@ -177,12 +177,12 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
177
177
  project_id: z.string(),
178
178
  workspace_id: z.string(),
179
179
  metadata: z.lazy(() => UpdateDatasetMetadata$inboundSchema),
180
- created_by_id: z.string().optional(),
181
- updated_by_id: z.string().optional(),
180
+ created_by_id: z.nullable(z.string()).optional(),
181
+ updated_by_id: z.nullable(z.string()).optional(),
182
182
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
183
183
  .optional(),
184
184
  updated: z.string().datetime({ offset: true }).default(
185
- "2026-06-04T13:56:06.515Z",
185
+ "2026-06-05T06:12:26.568Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -49,7 +49,7 @@ export type UpdateDatasourceResponseBody = {
49
49
  /**
50
50
  * The description of the knowledge base
51
51
  */
52
- description?: string | undefined;
52
+ description?: string | null | undefined;
53
53
  status: UpdateDatasourceStatus;
54
54
  /**
55
55
  * The unique identifier of the file used to create the datasource.
@@ -152,9 +152,9 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
152
152
  z.ZodTypeDef,
153
153
  unknown
154
154
  > = z.object({
155
- _id: z.string().default("01KT9EQSJ0PFGDQ1X4AXTNKTYF"),
155
+ _id: z.string().default("01KTB6K60N4R7W3MKW1TH8MXAA"),
156
156
  display_name: z.string(),
157
- description: z.string().optional(),
157
+ description: z.nullable(z.string()).optional(),
158
158
  status: UpdateDatasourceStatus$inboundSchema,
159
159
  file_id: z.nullable(z.string()).optional(),
160
160
  created: z.string(),