@orq-ai/node 3.5.21 → 3.5.23

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 (79) hide show
  1. package/bin/mcp-server.js +1018 -971
  2. package/bin/mcp-server.js.map +33 -24
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/server.js +1 -1
  8. package/models/operations/bulkcreatedatapoints.js +2 -2
  9. package/models/operations/createcontact.js +2 -2
  10. package/models/operations/createdataset.js +2 -2
  11. package/models/operations/createdatasetitem.js +2 -2
  12. package/models/operations/createdatasource.js +2 -2
  13. package/models/operations/fileget.js +2 -2
  14. package/models/operations/filelist.js +2 -2
  15. package/models/operations/fileupload.js +2 -2
  16. package/models/operations/listdatasetdatapoints.js +2 -2
  17. package/models/operations/listdatasets.js +2 -2
  18. package/models/operations/listdatasources.js +2 -2
  19. package/models/operations/retrievedatapoint.js +2 -2
  20. package/models/operations/retrievedataset.js +2 -2
  21. package/models/operations/retrievedatasource.js +2 -2
  22. package/models/operations/updatedatapoint.js +2 -2
  23. package/models/operations/updatedataset.js +2 -2
  24. package/models/operations/updatedatasource.js +2 -2
  25. package/package.json +2 -2
  26. package/packages/orq-rc/jsr.json +1 -1
  27. package/packages/orq-rc/package-lock.json +6 -6
  28. package/packages/orq-rc/package.json +2 -2
  29. package/packages/orq-rc/src/lib/config.ts +3 -3
  30. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  31. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  32. package/packages/orq-rc/src/models/components/deployments.ts +1217 -1677
  33. package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +416 -12
  34. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  35. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  36. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +410 -13
  37. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  38. package/packages/orq-rc/src/models/operations/createprompt.ts +400 -12
  39. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1413 -1729
  40. package/packages/orq-rc/src/models/operations/deployments.ts +211 -23
  41. package/packages/orq-rc/src/models/operations/deploymentstream.ts +1314 -1761
  42. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  43. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  44. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  45. package/packages/orq-rc/src/models/operations/getallprompts.ts +200 -6
  46. package/packages/orq-rc/src/models/operations/getoneprompt.ts +195 -6
  47. package/packages/orq-rc/src/models/operations/getpromptversion.ts +204 -6
  48. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +207 -8
  49. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  51. package/packages/orq-rc/src/models/operations/listpromptversions.ts +202 -6
  52. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +204 -8
  53. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  54. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  55. package/packages/orq-rc/src/models/operations/searchknowledge.ts +1334 -1750
  56. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +412 -14
  57. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  58. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  59. package/packages/orq-rc/src/models/operations/updateprompt.ts +400 -12
  60. package/src/lib/config.ts +3 -3
  61. package/src/mcp-server/mcp-server.ts +1 -1
  62. package/src/mcp-server/server.ts +1 -1
  63. package/src/models/operations/bulkcreatedatapoints.ts +2 -2
  64. package/src/models/operations/createcontact.ts +2 -2
  65. package/src/models/operations/createdataset.ts +2 -2
  66. package/src/models/operations/createdatasetitem.ts +2 -2
  67. package/src/models/operations/createdatasource.ts +2 -2
  68. package/src/models/operations/fileget.ts +2 -2
  69. package/src/models/operations/filelist.ts +2 -2
  70. package/src/models/operations/fileupload.ts +2 -2
  71. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  72. package/src/models/operations/listdatasets.ts +2 -2
  73. package/src/models/operations/listdatasources.ts +2 -2
  74. package/src/models/operations/retrievedatapoint.ts +2 -2
  75. package/src/models/operations/retrievedataset.ts +2 -2
  76. package/src/models/operations/retrievedatasource.ts +2 -2
  77. package/src/models/operations/updatedatapoint.ts +2 -2
  78. package/src/models/operations/updatedataset.ts +2 -2
  79. package/src/models/operations/updatedatasource.ts +2 -2
@@ -27,6 +27,38 @@ export const UpdateDatapointRole = {
27
27
  */
28
28
  export type UpdateDatapointRole = ClosedEnum<typeof UpdateDatapointRole>;
29
29
 
30
+ /**
31
+ * The type of the content part. Always `file`.
32
+ */
33
+ export const UpdateDatapoint2DatasetsRequestType = {
34
+ File: "file",
35
+ } as const;
36
+ /**
37
+ * The type of the content part. Always `file`.
38
+ */
39
+ export type UpdateDatapoint2DatasetsRequestType = ClosedEnum<
40
+ typeof UpdateDatapoint2DatasetsRequestType
41
+ >;
42
+
43
+ export type UpdateDatapoint2File = {
44
+ /**
45
+ * The base64 encoded file data, used when passing the file to the model as a string.
46
+ */
47
+ fileData: string;
48
+ /**
49
+ * The name of the file, used when passing the file to the model as a string.
50
+ */
51
+ filename?: string | undefined;
52
+ };
53
+
54
+ export type UpdateDatapoint23 = {
55
+ /**
56
+ * The type of the content part. Always `file`.
57
+ */
58
+ type: UpdateDatapoint2DatasetsRequestType;
59
+ file: UpdateDatapoint2File;
60
+ };
61
+
30
62
  export const UpdateDatapoint2DatasetsType = {
31
63
  ImageUrl: "image_url",
32
64
  } as const;
@@ -66,14 +98,17 @@ export type UpdateDatapoint21 = {
66
98
  text: string;
67
99
  };
68
100
 
69
- export type UpdateDatapointContent2 = UpdateDatapoint21 | UpdateDatapoint22;
101
+ export type UpdateDatapointContent2 =
102
+ | UpdateDatapoint21
103
+ | UpdateDatapoint22
104
+ | UpdateDatapoint23;
70
105
 
71
106
  /**
72
107
  * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
73
108
  */
74
109
  export type UpdateDatapointContent =
75
110
  | string
76
- | Array<UpdateDatapoint21 | UpdateDatapoint22>;
111
+ | Array<UpdateDatapoint21 | UpdateDatapoint22 | UpdateDatapoint23>;
77
112
 
78
113
  export const UpdateDatapointType = {
79
114
  Function: "function",
@@ -103,7 +138,9 @@ export type UpdateDatapointMessages = {
103
138
  /**
104
139
  * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
105
140
  */
106
- content: string | Array<UpdateDatapoint21 | UpdateDatapoint22>;
141
+ content:
142
+ | string
143
+ | Array<UpdateDatapoint21 | UpdateDatapoint22 | UpdateDatapoint23>;
107
144
  toolCalls?: Array<UpdateDatapointToolCalls> | undefined;
108
145
  toolCallId?: string | undefined;
109
146
  };
@@ -146,6 +183,38 @@ export type UpdateDatapointDatasetsRole = ClosedEnum<
146
183
  typeof UpdateDatapointDatasetsRole
147
184
  >;
148
185
 
186
+ /**
187
+ * The type of the content part. Always `file`.
188
+ */
189
+ export const UpdateDatapoint2DatasetsResponse200ApplicationJSONType = {
190
+ File: "file",
191
+ } as const;
192
+ /**
193
+ * The type of the content part. Always `file`.
194
+ */
195
+ export type UpdateDatapoint2DatasetsResponse200ApplicationJSONType = ClosedEnum<
196
+ typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONType
197
+ >;
198
+
199
+ export type UpdateDatapoint2DatasetsFile = {
200
+ /**
201
+ * The base64 encoded file data, used when passing the file to the model as a string.
202
+ */
203
+ fileData: string;
204
+ /**
205
+ * The name of the file, used when passing the file to the model as a string.
206
+ */
207
+ filename?: string | undefined;
208
+ };
209
+
210
+ export type UpdateDatapoint2Datasets3 = {
211
+ /**
212
+ * The type of the content part. Always `file`.
213
+ */
214
+ type: UpdateDatapoint2DatasetsResponse200ApplicationJSONType;
215
+ file: UpdateDatapoint2DatasetsFile;
216
+ };
217
+
149
218
  export const UpdateDatapoint2DatasetsResponse200Type = {
150
219
  ImageUrl: "image_url",
151
220
  } as const;
@@ -193,14 +262,19 @@ export type UpdateDatapoint2Datasets1 = {
193
262
 
194
263
  export type UpdateDatapointContentDatasets2 =
195
264
  | UpdateDatapoint2Datasets1
196
- | UpdateDatapoint2Datasets2;
265
+ | UpdateDatapoint2Datasets2
266
+ | UpdateDatapoint2Datasets3;
197
267
 
198
268
  /**
199
269
  * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
200
270
  */
201
271
  export type UpdateDatapointDatasetsContent =
202
272
  | string
203
- | Array<UpdateDatapoint2Datasets1 | UpdateDatapoint2Datasets2>;
273
+ | Array<
274
+ | UpdateDatapoint2Datasets1
275
+ | UpdateDatapoint2Datasets2
276
+ | UpdateDatapoint2Datasets3
277
+ >;
204
278
 
205
279
  export const UpdateDatapointDatasetsType = {
206
280
  Function: "function",
@@ -234,7 +308,11 @@ export type UpdateDatapointDatasetsMessages = {
234
308
  */
235
309
  content:
236
310
  | string
237
- | Array<UpdateDatapoint2Datasets1 | UpdateDatapoint2Datasets2>;
311
+ | Array<
312
+ | UpdateDatapoint2Datasets1
313
+ | UpdateDatapoint2Datasets2
314
+ | UpdateDatapoint2Datasets3
315
+ >;
238
316
  toolCalls?: Array<UpdateDatapointDatasetsToolCalls> | undefined;
239
317
  toolCallId?: string | undefined;
240
318
  };
@@ -303,6 +381,151 @@ export namespace UpdateDatapointRole$ {
303
381
  export const outboundSchema = UpdateDatapointRole$outboundSchema;
304
382
  }
305
383
 
384
+ /** @internal */
385
+ export const UpdateDatapoint2DatasetsRequestType$inboundSchema: z.ZodNativeEnum<
386
+ typeof UpdateDatapoint2DatasetsRequestType
387
+ > = z.nativeEnum(UpdateDatapoint2DatasetsRequestType);
388
+
389
+ /** @internal */
390
+ export const UpdateDatapoint2DatasetsRequestType$outboundSchema:
391
+ z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestType> =
392
+ UpdateDatapoint2DatasetsRequestType$inboundSchema;
393
+
394
+ /**
395
+ * @internal
396
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
397
+ */
398
+ export namespace UpdateDatapoint2DatasetsRequestType$ {
399
+ /** @deprecated use `UpdateDatapoint2DatasetsRequestType$inboundSchema` instead. */
400
+ export const inboundSchema =
401
+ UpdateDatapoint2DatasetsRequestType$inboundSchema;
402
+ /** @deprecated use `UpdateDatapoint2DatasetsRequestType$outboundSchema` instead. */
403
+ export const outboundSchema =
404
+ UpdateDatapoint2DatasetsRequestType$outboundSchema;
405
+ }
406
+
407
+ /** @internal */
408
+ export const UpdateDatapoint2File$inboundSchema: z.ZodType<
409
+ UpdateDatapoint2File,
410
+ z.ZodTypeDef,
411
+ unknown
412
+ > = z.object({
413
+ file_data: z.string(),
414
+ filename: z.string().optional(),
415
+ }).transform((v) => {
416
+ return remap$(v, {
417
+ "file_data": "fileData",
418
+ });
419
+ });
420
+
421
+ /** @internal */
422
+ export type UpdateDatapoint2File$Outbound = {
423
+ file_data: string;
424
+ filename?: string | undefined;
425
+ };
426
+
427
+ /** @internal */
428
+ export const UpdateDatapoint2File$outboundSchema: z.ZodType<
429
+ UpdateDatapoint2File$Outbound,
430
+ z.ZodTypeDef,
431
+ UpdateDatapoint2File
432
+ > = z.object({
433
+ fileData: z.string(),
434
+ filename: z.string().optional(),
435
+ }).transform((v) => {
436
+ return remap$(v, {
437
+ fileData: "file_data",
438
+ });
439
+ });
440
+
441
+ /**
442
+ * @internal
443
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
444
+ */
445
+ export namespace UpdateDatapoint2File$ {
446
+ /** @deprecated use `UpdateDatapoint2File$inboundSchema` instead. */
447
+ export const inboundSchema = UpdateDatapoint2File$inboundSchema;
448
+ /** @deprecated use `UpdateDatapoint2File$outboundSchema` instead. */
449
+ export const outboundSchema = UpdateDatapoint2File$outboundSchema;
450
+ /** @deprecated use `UpdateDatapoint2File$Outbound` instead. */
451
+ export type Outbound = UpdateDatapoint2File$Outbound;
452
+ }
453
+
454
+ export function updateDatapoint2FileToJSON(
455
+ updateDatapoint2File: UpdateDatapoint2File,
456
+ ): string {
457
+ return JSON.stringify(
458
+ UpdateDatapoint2File$outboundSchema.parse(updateDatapoint2File),
459
+ );
460
+ }
461
+
462
+ export function updateDatapoint2FileFromJSON(
463
+ jsonString: string,
464
+ ): SafeParseResult<UpdateDatapoint2File, SDKValidationError> {
465
+ return safeParse(
466
+ jsonString,
467
+ (x) => UpdateDatapoint2File$inboundSchema.parse(JSON.parse(x)),
468
+ `Failed to parse 'UpdateDatapoint2File' from JSON`,
469
+ );
470
+ }
471
+
472
+ /** @internal */
473
+ export const UpdateDatapoint23$inboundSchema: z.ZodType<
474
+ UpdateDatapoint23,
475
+ z.ZodTypeDef,
476
+ unknown
477
+ > = z.object({
478
+ type: UpdateDatapoint2DatasetsRequestType$inboundSchema,
479
+ file: z.lazy(() => UpdateDatapoint2File$inboundSchema),
480
+ });
481
+
482
+ /** @internal */
483
+ export type UpdateDatapoint23$Outbound = {
484
+ type: string;
485
+ file: UpdateDatapoint2File$Outbound;
486
+ };
487
+
488
+ /** @internal */
489
+ export const UpdateDatapoint23$outboundSchema: z.ZodType<
490
+ UpdateDatapoint23$Outbound,
491
+ z.ZodTypeDef,
492
+ UpdateDatapoint23
493
+ > = z.object({
494
+ type: UpdateDatapoint2DatasetsRequestType$outboundSchema,
495
+ file: z.lazy(() => UpdateDatapoint2File$outboundSchema),
496
+ });
497
+
498
+ /**
499
+ * @internal
500
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
501
+ */
502
+ export namespace UpdateDatapoint23$ {
503
+ /** @deprecated use `UpdateDatapoint23$inboundSchema` instead. */
504
+ export const inboundSchema = UpdateDatapoint23$inboundSchema;
505
+ /** @deprecated use `UpdateDatapoint23$outboundSchema` instead. */
506
+ export const outboundSchema = UpdateDatapoint23$outboundSchema;
507
+ /** @deprecated use `UpdateDatapoint23$Outbound` instead. */
508
+ export type Outbound = UpdateDatapoint23$Outbound;
509
+ }
510
+
511
+ export function updateDatapoint23ToJSON(
512
+ updateDatapoint23: UpdateDatapoint23,
513
+ ): string {
514
+ return JSON.stringify(
515
+ UpdateDatapoint23$outboundSchema.parse(updateDatapoint23),
516
+ );
517
+ }
518
+
519
+ export function updateDatapoint23FromJSON(
520
+ jsonString: string,
521
+ ): SafeParseResult<UpdateDatapoint23, SDKValidationError> {
522
+ return safeParse(
523
+ jsonString,
524
+ (x) => UpdateDatapoint23$inboundSchema.parse(JSON.parse(x)),
525
+ `Failed to parse 'UpdateDatapoint23' from JSON`,
526
+ );
527
+ }
528
+
306
529
  /** @internal */
307
530
  export const UpdateDatapoint2DatasetsType$inboundSchema: z.ZodNativeEnum<
308
531
  typeof UpdateDatapoint2DatasetsType
@@ -532,12 +755,14 @@ export const UpdateDatapointContent2$inboundSchema: z.ZodType<
532
755
  > = z.union([
533
756
  z.lazy(() => UpdateDatapoint21$inboundSchema),
534
757
  z.lazy(() => UpdateDatapoint22$inboundSchema),
758
+ z.lazy(() => UpdateDatapoint23$inboundSchema),
535
759
  ]);
536
760
 
537
761
  /** @internal */
538
762
  export type UpdateDatapointContent2$Outbound =
539
763
  | UpdateDatapoint21$Outbound
540
- | UpdateDatapoint22$Outbound;
764
+ | UpdateDatapoint22$Outbound
765
+ | UpdateDatapoint23$Outbound;
541
766
 
542
767
  /** @internal */
543
768
  export const UpdateDatapointContent2$outboundSchema: z.ZodType<
@@ -547,6 +772,7 @@ export const UpdateDatapointContent2$outboundSchema: z.ZodType<
547
772
  > = z.union([
548
773
  z.lazy(() => UpdateDatapoint21$outboundSchema),
549
774
  z.lazy(() => UpdateDatapoint22$outboundSchema),
775
+ z.lazy(() => UpdateDatapoint23$outboundSchema),
550
776
  ]);
551
777
 
552
778
  /**
@@ -590,13 +816,18 @@ export const UpdateDatapointContent$inboundSchema: z.ZodType<
590
816
  z.array(z.union([
591
817
  z.lazy(() => UpdateDatapoint21$inboundSchema),
592
818
  z.lazy(() => UpdateDatapoint22$inboundSchema),
819
+ z.lazy(() => UpdateDatapoint23$inboundSchema),
593
820
  ])),
594
821
  ]);
595
822
 
596
823
  /** @internal */
597
824
  export type UpdateDatapointContent$Outbound =
598
825
  | string
599
- | Array<UpdateDatapoint21$Outbound | UpdateDatapoint22$Outbound>;
826
+ | Array<
827
+ | UpdateDatapoint21$Outbound
828
+ | UpdateDatapoint22$Outbound
829
+ | UpdateDatapoint23$Outbound
830
+ >;
600
831
 
601
832
  /** @internal */
602
833
  export const UpdateDatapointContent$outboundSchema: z.ZodType<
@@ -608,6 +839,7 @@ export const UpdateDatapointContent$outboundSchema: z.ZodType<
608
839
  z.array(z.union([
609
840
  z.lazy(() => UpdateDatapoint21$outboundSchema),
610
841
  z.lazy(() => UpdateDatapoint22$outboundSchema),
842
+ z.lazy(() => UpdateDatapoint23$outboundSchema),
611
843
  ])),
612
844
  ]);
613
845
 
@@ -795,6 +1027,7 @@ export const UpdateDatapointMessages$inboundSchema: z.ZodType<
795
1027
  z.array(z.union([
796
1028
  z.lazy(() => UpdateDatapoint21$inboundSchema),
797
1029
  z.lazy(() => UpdateDatapoint22$inboundSchema),
1030
+ z.lazy(() => UpdateDatapoint23$inboundSchema),
798
1031
  ])),
799
1032
  ]),
800
1033
  tool_calls: z.array(z.lazy(() => UpdateDatapointToolCalls$inboundSchema))
@@ -812,7 +1045,11 @@ export type UpdateDatapointMessages$Outbound = {
812
1045
  role: string;
813
1046
  content:
814
1047
  | string
815
- | Array<UpdateDatapoint21$Outbound | UpdateDatapoint22$Outbound>;
1048
+ | Array<
1049
+ | UpdateDatapoint21$Outbound
1050
+ | UpdateDatapoint22$Outbound
1051
+ | UpdateDatapoint23$Outbound
1052
+ >;
816
1053
  tool_calls?: Array<UpdateDatapointToolCalls$Outbound> | undefined;
817
1054
  tool_call_id?: string | undefined;
818
1055
  };
@@ -829,6 +1066,7 @@ export const UpdateDatapointMessages$outboundSchema: z.ZodType<
829
1066
  z.array(z.union([
830
1067
  z.lazy(() => UpdateDatapoint21$outboundSchema),
831
1068
  z.lazy(() => UpdateDatapoint22$outboundSchema),
1069
+ z.lazy(() => UpdateDatapoint23$outboundSchema),
832
1070
  ])),
833
1071
  ]),
834
1072
  toolCalls: z.array(z.lazy(() => UpdateDatapointToolCalls$outboundSchema))
@@ -1037,6 +1275,155 @@ export namespace UpdateDatapointDatasetsRole$ {
1037
1275
  export const outboundSchema = UpdateDatapointDatasetsRole$outboundSchema;
1038
1276
  }
1039
1277
 
1278
+ /** @internal */
1279
+ export const UpdateDatapoint2DatasetsResponse200ApplicationJSONType$inboundSchema:
1280
+ z.ZodNativeEnum<
1281
+ typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONType
1282
+ > = z.nativeEnum(UpdateDatapoint2DatasetsResponse200ApplicationJSONType);
1283
+
1284
+ /** @internal */
1285
+ export const UpdateDatapoint2DatasetsResponse200ApplicationJSONType$outboundSchema:
1286
+ z.ZodNativeEnum<
1287
+ typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONType
1288
+ > = UpdateDatapoint2DatasetsResponse200ApplicationJSONType$inboundSchema;
1289
+
1290
+ /**
1291
+ * @internal
1292
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1293
+ */
1294
+ export namespace UpdateDatapoint2DatasetsResponse200ApplicationJSONType$ {
1295
+ /** @deprecated use `UpdateDatapoint2DatasetsResponse200ApplicationJSONType$inboundSchema` instead. */
1296
+ export const inboundSchema =
1297
+ UpdateDatapoint2DatasetsResponse200ApplicationJSONType$inboundSchema;
1298
+ /** @deprecated use `UpdateDatapoint2DatasetsResponse200ApplicationJSONType$outboundSchema` instead. */
1299
+ export const outboundSchema =
1300
+ UpdateDatapoint2DatasetsResponse200ApplicationJSONType$outboundSchema;
1301
+ }
1302
+
1303
+ /** @internal */
1304
+ export const UpdateDatapoint2DatasetsFile$inboundSchema: z.ZodType<
1305
+ UpdateDatapoint2DatasetsFile,
1306
+ z.ZodTypeDef,
1307
+ unknown
1308
+ > = z.object({
1309
+ file_data: z.string(),
1310
+ filename: z.string().optional(),
1311
+ }).transform((v) => {
1312
+ return remap$(v, {
1313
+ "file_data": "fileData",
1314
+ });
1315
+ });
1316
+
1317
+ /** @internal */
1318
+ export type UpdateDatapoint2DatasetsFile$Outbound = {
1319
+ file_data: string;
1320
+ filename?: string | undefined;
1321
+ };
1322
+
1323
+ /** @internal */
1324
+ export const UpdateDatapoint2DatasetsFile$outboundSchema: z.ZodType<
1325
+ UpdateDatapoint2DatasetsFile$Outbound,
1326
+ z.ZodTypeDef,
1327
+ UpdateDatapoint2DatasetsFile
1328
+ > = z.object({
1329
+ fileData: z.string(),
1330
+ filename: z.string().optional(),
1331
+ }).transform((v) => {
1332
+ return remap$(v, {
1333
+ fileData: "file_data",
1334
+ });
1335
+ });
1336
+
1337
+ /**
1338
+ * @internal
1339
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1340
+ */
1341
+ export namespace UpdateDatapoint2DatasetsFile$ {
1342
+ /** @deprecated use `UpdateDatapoint2DatasetsFile$inboundSchema` instead. */
1343
+ export const inboundSchema = UpdateDatapoint2DatasetsFile$inboundSchema;
1344
+ /** @deprecated use `UpdateDatapoint2DatasetsFile$outboundSchema` instead. */
1345
+ export const outboundSchema = UpdateDatapoint2DatasetsFile$outboundSchema;
1346
+ /** @deprecated use `UpdateDatapoint2DatasetsFile$Outbound` instead. */
1347
+ export type Outbound = UpdateDatapoint2DatasetsFile$Outbound;
1348
+ }
1349
+
1350
+ export function updateDatapoint2DatasetsFileToJSON(
1351
+ updateDatapoint2DatasetsFile: UpdateDatapoint2DatasetsFile,
1352
+ ): string {
1353
+ return JSON.stringify(
1354
+ UpdateDatapoint2DatasetsFile$outboundSchema.parse(
1355
+ updateDatapoint2DatasetsFile,
1356
+ ),
1357
+ );
1358
+ }
1359
+
1360
+ export function updateDatapoint2DatasetsFileFromJSON(
1361
+ jsonString: string,
1362
+ ): SafeParseResult<UpdateDatapoint2DatasetsFile, SDKValidationError> {
1363
+ return safeParse(
1364
+ jsonString,
1365
+ (x) => UpdateDatapoint2DatasetsFile$inboundSchema.parse(JSON.parse(x)),
1366
+ `Failed to parse 'UpdateDatapoint2DatasetsFile' from JSON`,
1367
+ );
1368
+ }
1369
+
1370
+ /** @internal */
1371
+ export const UpdateDatapoint2Datasets3$inboundSchema: z.ZodType<
1372
+ UpdateDatapoint2Datasets3,
1373
+ z.ZodTypeDef,
1374
+ unknown
1375
+ > = z.object({
1376
+ type: UpdateDatapoint2DatasetsResponse200ApplicationJSONType$inboundSchema,
1377
+ file: z.lazy(() => UpdateDatapoint2DatasetsFile$inboundSchema),
1378
+ });
1379
+
1380
+ /** @internal */
1381
+ export type UpdateDatapoint2Datasets3$Outbound = {
1382
+ type: string;
1383
+ file: UpdateDatapoint2DatasetsFile$Outbound;
1384
+ };
1385
+
1386
+ /** @internal */
1387
+ export const UpdateDatapoint2Datasets3$outboundSchema: z.ZodType<
1388
+ UpdateDatapoint2Datasets3$Outbound,
1389
+ z.ZodTypeDef,
1390
+ UpdateDatapoint2Datasets3
1391
+ > = z.object({
1392
+ type: UpdateDatapoint2DatasetsResponse200ApplicationJSONType$outboundSchema,
1393
+ file: z.lazy(() => UpdateDatapoint2DatasetsFile$outboundSchema),
1394
+ });
1395
+
1396
+ /**
1397
+ * @internal
1398
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1399
+ */
1400
+ export namespace UpdateDatapoint2Datasets3$ {
1401
+ /** @deprecated use `UpdateDatapoint2Datasets3$inboundSchema` instead. */
1402
+ export const inboundSchema = UpdateDatapoint2Datasets3$inboundSchema;
1403
+ /** @deprecated use `UpdateDatapoint2Datasets3$outboundSchema` instead. */
1404
+ export const outboundSchema = UpdateDatapoint2Datasets3$outboundSchema;
1405
+ /** @deprecated use `UpdateDatapoint2Datasets3$Outbound` instead. */
1406
+ export type Outbound = UpdateDatapoint2Datasets3$Outbound;
1407
+ }
1408
+
1409
+ export function updateDatapoint2Datasets3ToJSON(
1410
+ updateDatapoint2Datasets3: UpdateDatapoint2Datasets3,
1411
+ ): string {
1412
+ return JSON.stringify(
1413
+ UpdateDatapoint2Datasets3$outboundSchema.parse(updateDatapoint2Datasets3),
1414
+ );
1415
+ }
1416
+
1417
+ export function updateDatapoint2Datasets3FromJSON(
1418
+ jsonString: string,
1419
+ ): SafeParseResult<UpdateDatapoint2Datasets3, SDKValidationError> {
1420
+ return safeParse(
1421
+ jsonString,
1422
+ (x) => UpdateDatapoint2Datasets3$inboundSchema.parse(JSON.parse(x)),
1423
+ `Failed to parse 'UpdateDatapoint2Datasets3' from JSON`,
1424
+ );
1425
+ }
1426
+
1040
1427
  /** @internal */
1041
1428
  export const UpdateDatapoint2DatasetsResponse200Type$inboundSchema:
1042
1429
  z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200Type> = z
@@ -1276,12 +1663,14 @@ export const UpdateDatapointContentDatasets2$inboundSchema: z.ZodType<
1276
1663
  > = z.union([
1277
1664
  z.lazy(() => UpdateDatapoint2Datasets1$inboundSchema),
1278
1665
  z.lazy(() => UpdateDatapoint2Datasets2$inboundSchema),
1666
+ z.lazy(() => UpdateDatapoint2Datasets3$inboundSchema),
1279
1667
  ]);
1280
1668
 
1281
1669
  /** @internal */
1282
1670
  export type UpdateDatapointContentDatasets2$Outbound =
1283
1671
  | UpdateDatapoint2Datasets1$Outbound
1284
- | UpdateDatapoint2Datasets2$Outbound;
1672
+ | UpdateDatapoint2Datasets2$Outbound
1673
+ | UpdateDatapoint2Datasets3$Outbound;
1285
1674
 
1286
1675
  /** @internal */
1287
1676
  export const UpdateDatapointContentDatasets2$outboundSchema: z.ZodType<
@@ -1291,6 +1680,7 @@ export const UpdateDatapointContentDatasets2$outboundSchema: z.ZodType<
1291
1680
  > = z.union([
1292
1681
  z.lazy(() => UpdateDatapoint2Datasets1$outboundSchema),
1293
1682
  z.lazy(() => UpdateDatapoint2Datasets2$outboundSchema),
1683
+ z.lazy(() => UpdateDatapoint2Datasets3$outboundSchema),
1294
1684
  ]);
1295
1685
 
1296
1686
  /**
@@ -1336,6 +1726,7 @@ export const UpdateDatapointDatasetsContent$inboundSchema: z.ZodType<
1336
1726
  z.array(z.union([
1337
1727
  z.lazy(() => UpdateDatapoint2Datasets1$inboundSchema),
1338
1728
  z.lazy(() => UpdateDatapoint2Datasets2$inboundSchema),
1729
+ z.lazy(() => UpdateDatapoint2Datasets3$inboundSchema),
1339
1730
  ])),
1340
1731
  ]);
1341
1732
 
@@ -1343,7 +1734,9 @@ export const UpdateDatapointDatasetsContent$inboundSchema: z.ZodType<
1343
1734
  export type UpdateDatapointDatasetsContent$Outbound =
1344
1735
  | string
1345
1736
  | Array<
1346
- UpdateDatapoint2Datasets1$Outbound | UpdateDatapoint2Datasets2$Outbound
1737
+ | UpdateDatapoint2Datasets1$Outbound
1738
+ | UpdateDatapoint2Datasets2$Outbound
1739
+ | UpdateDatapoint2Datasets3$Outbound
1347
1740
  >;
1348
1741
 
1349
1742
  /** @internal */
@@ -1356,6 +1749,7 @@ export const UpdateDatapointDatasetsContent$outboundSchema: z.ZodType<
1356
1749
  z.array(z.union([
1357
1750
  z.lazy(() => UpdateDatapoint2Datasets1$outboundSchema),
1358
1751
  z.lazy(() => UpdateDatapoint2Datasets2$outboundSchema),
1752
+ z.lazy(() => UpdateDatapoint2Datasets3$outboundSchema),
1359
1753
  ])),
1360
1754
  ]);
1361
1755
 
@@ -1549,6 +1943,7 @@ export const UpdateDatapointDatasetsMessages$inboundSchema: z.ZodType<
1549
1943
  z.array(z.union([
1550
1944
  z.lazy(() => UpdateDatapoint2Datasets1$inboundSchema),
1551
1945
  z.lazy(() => UpdateDatapoint2Datasets2$inboundSchema),
1946
+ z.lazy(() => UpdateDatapoint2Datasets3$inboundSchema),
1552
1947
  ])),
1553
1948
  ]),
1554
1949
  tool_calls: z.array(
@@ -1568,7 +1963,9 @@ export type UpdateDatapointDatasetsMessages$Outbound = {
1568
1963
  content:
1569
1964
  | string
1570
1965
  | Array<
1571
- UpdateDatapoint2Datasets1$Outbound | UpdateDatapoint2Datasets2$Outbound
1966
+ | UpdateDatapoint2Datasets1$Outbound
1967
+ | UpdateDatapoint2Datasets2$Outbound
1968
+ | UpdateDatapoint2Datasets3$Outbound
1572
1969
  >;
1573
1970
  tool_calls?: Array<UpdateDatapointDatasetsToolCalls$Outbound> | undefined;
1574
1971
  tool_call_id?: string | undefined;
@@ -1586,6 +1983,7 @@ export const UpdateDatapointDatasetsMessages$outboundSchema: z.ZodType<
1586
1983
  z.array(z.union([
1587
1984
  z.lazy(() => UpdateDatapoint2Datasets1$outboundSchema),
1588
1985
  z.lazy(() => UpdateDatapoint2Datasets2$outboundSchema),
1986
+ z.lazy(() => UpdateDatapoint2Datasets3$outboundSchema),
1589
1987
  ])),
1590
1988
  ]),
1591
1989
  toolCalls: z.array(
@@ -1650,7 +2048,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
1650
2048
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1651
2049
  .optional(),
1652
2050
  updated: z.string().datetime({ offset: true }).default(
1653
- "2025-05-22T05:50:26.701Z",
2051
+ "2025-05-26T13:57:05.528Z",
1654
2052
  ).transform(v => new Date(v)),
1655
2053
  }).transform((v) => {
1656
2054
  return remap$(v, {
@@ -1694,7 +2092,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
1694
2092
  createdById: z.string().optional(),
1695
2093
  updatedById: z.string().optional(),
1696
2094
  created: z.date().transform(v => v.toISOString()).optional(),
1697
- updated: z.date().default(() => new Date("2025-05-22T05:50:26.701Z"))
2095
+ updated: z.date().default(() => new Date("2025-05-26T13:57:05.528Z"))
1698
2096
  .transform(v => v.toISOString()),
1699
2097
  }).transform((v) => {
1700
2098
  return remap$(v, {
@@ -302,7 +302,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
302
302
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
303
303
  .optional(),
304
304
  updated: z.string().datetime({ offset: true }).default(
305
- "2025-05-22T05:50:26.701Z",
305
+ "2025-05-26T13:57:05.528Z",
306
306
  ).transform(v => new Date(v)),
307
307
  }).transform((v) => {
308
308
  return remap$(v, {
@@ -347,7 +347,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
347
347
  parentId: z.string().optional(),
348
348
  version: z.string().optional(),
349
349
  created: z.date().transform(v => v.toISOString()).optional(),
350
- updated: z.date().default(() => new Date("2025-05-22T05:50:26.701Z"))
350
+ updated: z.date().default(() => new Date("2025-05-26T13:57:05.528Z"))
351
351
  .transform(v => v.toISOString()),
352
352
  }).transform((v) => {
353
353
  return remap$(v, {
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
244
244
  z.ZodTypeDef,
245
245
  unknown
246
246
  > = z.object({
247
- _id: z.string().default("01JVV8P6D39S7DR158WM67TPMJ"),
247
+ _id: z.string().default("01JW6E45055K98GCZ2TPB6HD7Q"),
248
248
  display_name: z.string(),
249
249
  description: z.string().optional(),
250
250
  status: UpdateDatasourceStatus$inboundSchema,
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
288
288
  z.ZodTypeDef,
289
289
  UpdateDatasourceResponseBody
290
290
  > = z.object({
291
- id: z.string().default("01JVV8P6D39S7DR158WM67TPMJ"),
291
+ id: z.string().default("01JW6E45055K98GCZ2TPB6HD7Q"),
292
292
  displayName: z.string(),
293
293
  description: z.string().optional(),
294
294
  status: UpdateDatasourceStatus$outboundSchema,