@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
@@ -29,6 +29,38 @@ export type BulkCreateDatapointsRole = ClosedEnum<
29
29
  typeof BulkCreateDatapointsRole
30
30
  >;
31
31
 
32
+ /**
33
+ * The type of the content part. Always `file`.
34
+ */
35
+ export const BulkCreateDatapoints2DatasetsRequestType = {
36
+ File: "file",
37
+ } as const;
38
+ /**
39
+ * The type of the content part. Always `file`.
40
+ */
41
+ export type BulkCreateDatapoints2DatasetsRequestType = ClosedEnum<
42
+ typeof BulkCreateDatapoints2DatasetsRequestType
43
+ >;
44
+
45
+ export type BulkCreateDatapoints2File = {
46
+ /**
47
+ * The base64 encoded file data, used when passing the file to the model as a string.
48
+ */
49
+ fileData: string;
50
+ /**
51
+ * The name of the file, used when passing the file to the model as a string.
52
+ */
53
+ filename?: string | undefined;
54
+ };
55
+
56
+ export type BulkCreateDatapoints23 = {
57
+ /**
58
+ * The type of the content part. Always `file`.
59
+ */
60
+ type: BulkCreateDatapoints2DatasetsRequestType;
61
+ file: BulkCreateDatapoints2File;
62
+ };
63
+
32
64
  export const BulkCreateDatapoints2DatasetsType = {
33
65
  ImageUrl: "image_url",
34
66
  } as const;
@@ -72,14 +104,17 @@ export type BulkCreateDatapoints21 = {
72
104
 
73
105
  export type BulkCreateDatapointsContent2 =
74
106
  | BulkCreateDatapoints21
75
- | BulkCreateDatapoints22;
107
+ | BulkCreateDatapoints22
108
+ | BulkCreateDatapoints23;
76
109
 
77
110
  /**
78
111
  * 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.
79
112
  */
80
113
  export type BulkCreateDatapointsContent =
81
114
  | string
82
- | Array<BulkCreateDatapoints21 | BulkCreateDatapoints22>;
115
+ | Array<
116
+ BulkCreateDatapoints21 | BulkCreateDatapoints22 | BulkCreateDatapoints23
117
+ >;
83
118
 
84
119
  export const BulkCreateDatapointsType = {
85
120
  Function: "function",
@@ -111,7 +146,11 @@ export type BulkCreateDatapointsMessages = {
111
146
  /**
112
147
  * 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.
113
148
  */
114
- content: string | Array<BulkCreateDatapoints21 | BulkCreateDatapoints22>;
149
+ content:
150
+ | string
151
+ | Array<
152
+ BulkCreateDatapoints21 | BulkCreateDatapoints22 | BulkCreateDatapoints23
153
+ >;
115
154
  toolCalls?: Array<BulkCreateDatapointsToolCalls> | undefined;
116
155
  toolCallId?: string | undefined;
117
156
  };
@@ -157,6 +196,39 @@ export type BulkCreateDatapointsDatasetsRole = ClosedEnum<
157
196
  typeof BulkCreateDatapointsDatasetsRole
158
197
  >;
159
198
 
199
+ /**
200
+ * The type of the content part. Always `file`.
201
+ */
202
+ export const BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType = {
203
+ File: "file",
204
+ } as const;
205
+ /**
206
+ * The type of the content part. Always `file`.
207
+ */
208
+ export type BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType =
209
+ ClosedEnum<
210
+ typeof BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType
211
+ >;
212
+
213
+ export type BulkCreateDatapoints2DatasetsFile = {
214
+ /**
215
+ * The base64 encoded file data, used when passing the file to the model as a string.
216
+ */
217
+ fileData: string;
218
+ /**
219
+ * The name of the file, used when passing the file to the model as a string.
220
+ */
221
+ filename?: string | undefined;
222
+ };
223
+
224
+ export type BulkCreateDatapoints2Datasets3 = {
225
+ /**
226
+ * The type of the content part. Always `file`.
227
+ */
228
+ type: BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType;
229
+ file: BulkCreateDatapoints2DatasetsFile;
230
+ };
231
+
160
232
  export const BulkCreateDatapoints2DatasetsResponse200Type = {
161
233
  ImageUrl: "image_url",
162
234
  } as const;
@@ -204,14 +276,19 @@ export type BulkCreateDatapoints2Datasets1 = {
204
276
 
205
277
  export type BulkCreateDatapointsContentDatasets2 =
206
278
  | BulkCreateDatapoints2Datasets1
207
- | BulkCreateDatapoints2Datasets2;
279
+ | BulkCreateDatapoints2Datasets2
280
+ | BulkCreateDatapoints2Datasets3;
208
281
 
209
282
  /**
210
283
  * 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.
211
284
  */
212
285
  export type BulkCreateDatapointsDatasetsContent =
213
286
  | string
214
- | Array<BulkCreateDatapoints2Datasets1 | BulkCreateDatapoints2Datasets2>;
287
+ | Array<
288
+ | BulkCreateDatapoints2Datasets1
289
+ | BulkCreateDatapoints2Datasets2
290
+ | BulkCreateDatapoints2Datasets3
291
+ >;
215
292
 
216
293
  export const BulkCreateDatapointsDatasetsType = {
217
294
  Function: "function",
@@ -245,7 +322,11 @@ export type BulkCreateDatapointsDatasetsMessages = {
245
322
  */
246
323
  content:
247
324
  | string
248
- | Array<BulkCreateDatapoints2Datasets1 | BulkCreateDatapoints2Datasets2>;
325
+ | Array<
326
+ | BulkCreateDatapoints2Datasets1
327
+ | BulkCreateDatapoints2Datasets2
328
+ | BulkCreateDatapoints2Datasets3
329
+ >;
249
330
  toolCalls?: Array<BulkCreateDatapointsDatasetsToolCalls> | undefined;
250
331
  toolCallId?: string | undefined;
251
332
  };
@@ -311,6 +392,151 @@ export namespace BulkCreateDatapointsRole$ {
311
392
  export const outboundSchema = BulkCreateDatapointsRole$outboundSchema;
312
393
  }
313
394
 
395
+ /** @internal */
396
+ export const BulkCreateDatapoints2DatasetsRequestType$inboundSchema:
397
+ z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsRequestType> = z
398
+ .nativeEnum(BulkCreateDatapoints2DatasetsRequestType);
399
+
400
+ /** @internal */
401
+ export const BulkCreateDatapoints2DatasetsRequestType$outboundSchema:
402
+ z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsRequestType> =
403
+ BulkCreateDatapoints2DatasetsRequestType$inboundSchema;
404
+
405
+ /**
406
+ * @internal
407
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
408
+ */
409
+ export namespace BulkCreateDatapoints2DatasetsRequestType$ {
410
+ /** @deprecated use `BulkCreateDatapoints2DatasetsRequestType$inboundSchema` instead. */
411
+ export const inboundSchema =
412
+ BulkCreateDatapoints2DatasetsRequestType$inboundSchema;
413
+ /** @deprecated use `BulkCreateDatapoints2DatasetsRequestType$outboundSchema` instead. */
414
+ export const outboundSchema =
415
+ BulkCreateDatapoints2DatasetsRequestType$outboundSchema;
416
+ }
417
+
418
+ /** @internal */
419
+ export const BulkCreateDatapoints2File$inboundSchema: z.ZodType<
420
+ BulkCreateDatapoints2File,
421
+ z.ZodTypeDef,
422
+ unknown
423
+ > = z.object({
424
+ file_data: z.string(),
425
+ filename: z.string().optional(),
426
+ }).transform((v) => {
427
+ return remap$(v, {
428
+ "file_data": "fileData",
429
+ });
430
+ });
431
+
432
+ /** @internal */
433
+ export type BulkCreateDatapoints2File$Outbound = {
434
+ file_data: string;
435
+ filename?: string | undefined;
436
+ };
437
+
438
+ /** @internal */
439
+ export const BulkCreateDatapoints2File$outboundSchema: z.ZodType<
440
+ BulkCreateDatapoints2File$Outbound,
441
+ z.ZodTypeDef,
442
+ BulkCreateDatapoints2File
443
+ > = z.object({
444
+ fileData: z.string(),
445
+ filename: z.string().optional(),
446
+ }).transform((v) => {
447
+ return remap$(v, {
448
+ fileData: "file_data",
449
+ });
450
+ });
451
+
452
+ /**
453
+ * @internal
454
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
455
+ */
456
+ export namespace BulkCreateDatapoints2File$ {
457
+ /** @deprecated use `BulkCreateDatapoints2File$inboundSchema` instead. */
458
+ export const inboundSchema = BulkCreateDatapoints2File$inboundSchema;
459
+ /** @deprecated use `BulkCreateDatapoints2File$outboundSchema` instead. */
460
+ export const outboundSchema = BulkCreateDatapoints2File$outboundSchema;
461
+ /** @deprecated use `BulkCreateDatapoints2File$Outbound` instead. */
462
+ export type Outbound = BulkCreateDatapoints2File$Outbound;
463
+ }
464
+
465
+ export function bulkCreateDatapoints2FileToJSON(
466
+ bulkCreateDatapoints2File: BulkCreateDatapoints2File,
467
+ ): string {
468
+ return JSON.stringify(
469
+ BulkCreateDatapoints2File$outboundSchema.parse(bulkCreateDatapoints2File),
470
+ );
471
+ }
472
+
473
+ export function bulkCreateDatapoints2FileFromJSON(
474
+ jsonString: string,
475
+ ): SafeParseResult<BulkCreateDatapoints2File, SDKValidationError> {
476
+ return safeParse(
477
+ jsonString,
478
+ (x) => BulkCreateDatapoints2File$inboundSchema.parse(JSON.parse(x)),
479
+ `Failed to parse 'BulkCreateDatapoints2File' from JSON`,
480
+ );
481
+ }
482
+
483
+ /** @internal */
484
+ export const BulkCreateDatapoints23$inboundSchema: z.ZodType<
485
+ BulkCreateDatapoints23,
486
+ z.ZodTypeDef,
487
+ unknown
488
+ > = z.object({
489
+ type: BulkCreateDatapoints2DatasetsRequestType$inboundSchema,
490
+ file: z.lazy(() => BulkCreateDatapoints2File$inboundSchema),
491
+ });
492
+
493
+ /** @internal */
494
+ export type BulkCreateDatapoints23$Outbound = {
495
+ type: string;
496
+ file: BulkCreateDatapoints2File$Outbound;
497
+ };
498
+
499
+ /** @internal */
500
+ export const BulkCreateDatapoints23$outboundSchema: z.ZodType<
501
+ BulkCreateDatapoints23$Outbound,
502
+ z.ZodTypeDef,
503
+ BulkCreateDatapoints23
504
+ > = z.object({
505
+ type: BulkCreateDatapoints2DatasetsRequestType$outboundSchema,
506
+ file: z.lazy(() => BulkCreateDatapoints2File$outboundSchema),
507
+ });
508
+
509
+ /**
510
+ * @internal
511
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
512
+ */
513
+ export namespace BulkCreateDatapoints23$ {
514
+ /** @deprecated use `BulkCreateDatapoints23$inboundSchema` instead. */
515
+ export const inboundSchema = BulkCreateDatapoints23$inboundSchema;
516
+ /** @deprecated use `BulkCreateDatapoints23$outboundSchema` instead. */
517
+ export const outboundSchema = BulkCreateDatapoints23$outboundSchema;
518
+ /** @deprecated use `BulkCreateDatapoints23$Outbound` instead. */
519
+ export type Outbound = BulkCreateDatapoints23$Outbound;
520
+ }
521
+
522
+ export function bulkCreateDatapoints23ToJSON(
523
+ bulkCreateDatapoints23: BulkCreateDatapoints23,
524
+ ): string {
525
+ return JSON.stringify(
526
+ BulkCreateDatapoints23$outboundSchema.parse(bulkCreateDatapoints23),
527
+ );
528
+ }
529
+
530
+ export function bulkCreateDatapoints23FromJSON(
531
+ jsonString: string,
532
+ ): SafeParseResult<BulkCreateDatapoints23, SDKValidationError> {
533
+ return safeParse(
534
+ jsonString,
535
+ (x) => BulkCreateDatapoints23$inboundSchema.parse(JSON.parse(x)),
536
+ `Failed to parse 'BulkCreateDatapoints23' from JSON`,
537
+ );
538
+ }
539
+
314
540
  /** @internal */
315
541
  export const BulkCreateDatapoints2DatasetsType$inboundSchema: z.ZodNativeEnum<
316
542
  typeof BulkCreateDatapoints2DatasetsType
@@ -543,12 +769,14 @@ export const BulkCreateDatapointsContent2$inboundSchema: z.ZodType<
543
769
  > = z.union([
544
770
  z.lazy(() => BulkCreateDatapoints21$inboundSchema),
545
771
  z.lazy(() => BulkCreateDatapoints22$inboundSchema),
772
+ z.lazy(() => BulkCreateDatapoints23$inboundSchema),
546
773
  ]);
547
774
 
548
775
  /** @internal */
549
776
  export type BulkCreateDatapointsContent2$Outbound =
550
777
  | BulkCreateDatapoints21$Outbound
551
- | BulkCreateDatapoints22$Outbound;
778
+ | BulkCreateDatapoints22$Outbound
779
+ | BulkCreateDatapoints23$Outbound;
552
780
 
553
781
  /** @internal */
554
782
  export const BulkCreateDatapointsContent2$outboundSchema: z.ZodType<
@@ -558,6 +786,7 @@ export const BulkCreateDatapointsContent2$outboundSchema: z.ZodType<
558
786
  > = z.union([
559
787
  z.lazy(() => BulkCreateDatapoints21$outboundSchema),
560
788
  z.lazy(() => BulkCreateDatapoints22$outboundSchema),
789
+ z.lazy(() => BulkCreateDatapoints23$outboundSchema),
561
790
  ]);
562
791
 
563
792
  /**
@@ -603,13 +832,18 @@ export const BulkCreateDatapointsContent$inboundSchema: z.ZodType<
603
832
  z.array(z.union([
604
833
  z.lazy(() => BulkCreateDatapoints21$inboundSchema),
605
834
  z.lazy(() => BulkCreateDatapoints22$inboundSchema),
835
+ z.lazy(() => BulkCreateDatapoints23$inboundSchema),
606
836
  ])),
607
837
  ]);
608
838
 
609
839
  /** @internal */
610
840
  export type BulkCreateDatapointsContent$Outbound =
611
841
  | string
612
- | Array<BulkCreateDatapoints21$Outbound | BulkCreateDatapoints22$Outbound>;
842
+ | Array<
843
+ | BulkCreateDatapoints21$Outbound
844
+ | BulkCreateDatapoints22$Outbound
845
+ | BulkCreateDatapoints23$Outbound
846
+ >;
613
847
 
614
848
  /** @internal */
615
849
  export const BulkCreateDatapointsContent$outboundSchema: z.ZodType<
@@ -621,6 +855,7 @@ export const BulkCreateDatapointsContent$outboundSchema: z.ZodType<
621
855
  z.array(z.union([
622
856
  z.lazy(() => BulkCreateDatapoints21$outboundSchema),
623
857
  z.lazy(() => BulkCreateDatapoints22$outboundSchema),
858
+ z.lazy(() => BulkCreateDatapoints23$outboundSchema),
624
859
  ])),
625
860
  ]);
626
861
 
@@ -814,6 +1049,7 @@ export const BulkCreateDatapointsMessages$inboundSchema: z.ZodType<
814
1049
  z.array(z.union([
815
1050
  z.lazy(() => BulkCreateDatapoints21$inboundSchema),
816
1051
  z.lazy(() => BulkCreateDatapoints22$inboundSchema),
1052
+ z.lazy(() => BulkCreateDatapoints23$inboundSchema),
817
1053
  ])),
818
1054
  ]),
819
1055
  tool_calls: z.array(z.lazy(() => BulkCreateDatapointsToolCalls$inboundSchema))
@@ -831,7 +1067,11 @@ export type BulkCreateDatapointsMessages$Outbound = {
831
1067
  role: string;
832
1068
  content:
833
1069
  | string
834
- | Array<BulkCreateDatapoints21$Outbound | BulkCreateDatapoints22$Outbound>;
1070
+ | Array<
1071
+ | BulkCreateDatapoints21$Outbound
1072
+ | BulkCreateDatapoints22$Outbound
1073
+ | BulkCreateDatapoints23$Outbound
1074
+ >;
835
1075
  tool_calls?: Array<BulkCreateDatapointsToolCalls$Outbound> | undefined;
836
1076
  tool_call_id?: string | undefined;
837
1077
  };
@@ -848,6 +1088,7 @@ export const BulkCreateDatapointsMessages$outboundSchema: z.ZodType<
848
1088
  z.array(z.union([
849
1089
  z.lazy(() => BulkCreateDatapoints21$outboundSchema),
850
1090
  z.lazy(() => BulkCreateDatapoints22$outboundSchema),
1091
+ z.lazy(() => BulkCreateDatapoints23$outboundSchema),
851
1092
  ])),
852
1093
  ]),
853
1094
  toolCalls: z.array(z.lazy(() => BulkCreateDatapointsToolCalls$outboundSchema))
@@ -1104,6 +1345,160 @@ export namespace BulkCreateDatapointsDatasetsRole$ {
1104
1345
  export const outboundSchema = BulkCreateDatapointsDatasetsRole$outboundSchema;
1105
1346
  }
1106
1347
 
1348
+ /** @internal */
1349
+ export const BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema:
1350
+ z.ZodNativeEnum<
1351
+ typeof BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType
1352
+ > = z.nativeEnum(BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType);
1353
+
1354
+ /** @internal */
1355
+ export const BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema:
1356
+ z.ZodNativeEnum<
1357
+ typeof BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType
1358
+ > = BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema;
1359
+
1360
+ /**
1361
+ * @internal
1362
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1363
+ */
1364
+ export namespace BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$ {
1365
+ /** @deprecated use `BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema` instead. */
1366
+ export const inboundSchema =
1367
+ BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema;
1368
+ /** @deprecated use `BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema` instead. */
1369
+ export const outboundSchema =
1370
+ BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema;
1371
+ }
1372
+
1373
+ /** @internal */
1374
+ export const BulkCreateDatapoints2DatasetsFile$inboundSchema: z.ZodType<
1375
+ BulkCreateDatapoints2DatasetsFile,
1376
+ z.ZodTypeDef,
1377
+ unknown
1378
+ > = z.object({
1379
+ file_data: z.string(),
1380
+ filename: z.string().optional(),
1381
+ }).transform((v) => {
1382
+ return remap$(v, {
1383
+ "file_data": "fileData",
1384
+ });
1385
+ });
1386
+
1387
+ /** @internal */
1388
+ export type BulkCreateDatapoints2DatasetsFile$Outbound = {
1389
+ file_data: string;
1390
+ filename?: string | undefined;
1391
+ };
1392
+
1393
+ /** @internal */
1394
+ export const BulkCreateDatapoints2DatasetsFile$outboundSchema: z.ZodType<
1395
+ BulkCreateDatapoints2DatasetsFile$Outbound,
1396
+ z.ZodTypeDef,
1397
+ BulkCreateDatapoints2DatasetsFile
1398
+ > = z.object({
1399
+ fileData: z.string(),
1400
+ filename: z.string().optional(),
1401
+ }).transform((v) => {
1402
+ return remap$(v, {
1403
+ fileData: "file_data",
1404
+ });
1405
+ });
1406
+
1407
+ /**
1408
+ * @internal
1409
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1410
+ */
1411
+ export namespace BulkCreateDatapoints2DatasetsFile$ {
1412
+ /** @deprecated use `BulkCreateDatapoints2DatasetsFile$inboundSchema` instead. */
1413
+ export const inboundSchema = BulkCreateDatapoints2DatasetsFile$inboundSchema;
1414
+ /** @deprecated use `BulkCreateDatapoints2DatasetsFile$outboundSchema` instead. */
1415
+ export const outboundSchema =
1416
+ BulkCreateDatapoints2DatasetsFile$outboundSchema;
1417
+ /** @deprecated use `BulkCreateDatapoints2DatasetsFile$Outbound` instead. */
1418
+ export type Outbound = BulkCreateDatapoints2DatasetsFile$Outbound;
1419
+ }
1420
+
1421
+ export function bulkCreateDatapoints2DatasetsFileToJSON(
1422
+ bulkCreateDatapoints2DatasetsFile: BulkCreateDatapoints2DatasetsFile,
1423
+ ): string {
1424
+ return JSON.stringify(
1425
+ BulkCreateDatapoints2DatasetsFile$outboundSchema.parse(
1426
+ bulkCreateDatapoints2DatasetsFile,
1427
+ ),
1428
+ );
1429
+ }
1430
+
1431
+ export function bulkCreateDatapoints2DatasetsFileFromJSON(
1432
+ jsonString: string,
1433
+ ): SafeParseResult<BulkCreateDatapoints2DatasetsFile, SDKValidationError> {
1434
+ return safeParse(
1435
+ jsonString,
1436
+ (x) => BulkCreateDatapoints2DatasetsFile$inboundSchema.parse(JSON.parse(x)),
1437
+ `Failed to parse 'BulkCreateDatapoints2DatasetsFile' from JSON`,
1438
+ );
1439
+ }
1440
+
1441
+ /** @internal */
1442
+ export const BulkCreateDatapoints2Datasets3$inboundSchema: z.ZodType<
1443
+ BulkCreateDatapoints2Datasets3,
1444
+ z.ZodTypeDef,
1445
+ unknown
1446
+ > = z.object({
1447
+ type:
1448
+ BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema,
1449
+ file: z.lazy(() => BulkCreateDatapoints2DatasetsFile$inboundSchema),
1450
+ });
1451
+
1452
+ /** @internal */
1453
+ export type BulkCreateDatapoints2Datasets3$Outbound = {
1454
+ type: string;
1455
+ file: BulkCreateDatapoints2DatasetsFile$Outbound;
1456
+ };
1457
+
1458
+ /** @internal */
1459
+ export const BulkCreateDatapoints2Datasets3$outboundSchema: z.ZodType<
1460
+ BulkCreateDatapoints2Datasets3$Outbound,
1461
+ z.ZodTypeDef,
1462
+ BulkCreateDatapoints2Datasets3
1463
+ > = z.object({
1464
+ type:
1465
+ BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema,
1466
+ file: z.lazy(() => BulkCreateDatapoints2DatasetsFile$outboundSchema),
1467
+ });
1468
+
1469
+ /**
1470
+ * @internal
1471
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1472
+ */
1473
+ export namespace BulkCreateDatapoints2Datasets3$ {
1474
+ /** @deprecated use `BulkCreateDatapoints2Datasets3$inboundSchema` instead. */
1475
+ export const inboundSchema = BulkCreateDatapoints2Datasets3$inboundSchema;
1476
+ /** @deprecated use `BulkCreateDatapoints2Datasets3$outboundSchema` instead. */
1477
+ export const outboundSchema = BulkCreateDatapoints2Datasets3$outboundSchema;
1478
+ /** @deprecated use `BulkCreateDatapoints2Datasets3$Outbound` instead. */
1479
+ export type Outbound = BulkCreateDatapoints2Datasets3$Outbound;
1480
+ }
1481
+
1482
+ export function bulkCreateDatapoints2Datasets3ToJSON(
1483
+ bulkCreateDatapoints2Datasets3: BulkCreateDatapoints2Datasets3,
1484
+ ): string {
1485
+ return JSON.stringify(
1486
+ BulkCreateDatapoints2Datasets3$outboundSchema.parse(
1487
+ bulkCreateDatapoints2Datasets3,
1488
+ ),
1489
+ );
1490
+ }
1491
+
1492
+ export function bulkCreateDatapoints2Datasets3FromJSON(
1493
+ jsonString: string,
1494
+ ): SafeParseResult<BulkCreateDatapoints2Datasets3, SDKValidationError> {
1495
+ return safeParse(
1496
+ jsonString,
1497
+ (x) => BulkCreateDatapoints2Datasets3$inboundSchema.parse(JSON.parse(x)),
1498
+ `Failed to parse 'BulkCreateDatapoints2Datasets3' from JSON`,
1499
+ );
1500
+ }
1501
+
1107
1502
  /** @internal */
1108
1503
  export const BulkCreateDatapoints2DatasetsResponse200Type$inboundSchema:
1109
1504
  z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsResponse200Type> = z
@@ -1349,12 +1744,14 @@ export const BulkCreateDatapointsContentDatasets2$inboundSchema: z.ZodType<
1349
1744
  > = z.union([
1350
1745
  z.lazy(() => BulkCreateDatapoints2Datasets1$inboundSchema),
1351
1746
  z.lazy(() => BulkCreateDatapoints2Datasets2$inboundSchema),
1747
+ z.lazy(() => BulkCreateDatapoints2Datasets3$inboundSchema),
1352
1748
  ]);
1353
1749
 
1354
1750
  /** @internal */
1355
1751
  export type BulkCreateDatapointsContentDatasets2$Outbound =
1356
1752
  | BulkCreateDatapoints2Datasets1$Outbound
1357
- | BulkCreateDatapoints2Datasets2$Outbound;
1753
+ | BulkCreateDatapoints2Datasets2$Outbound
1754
+ | BulkCreateDatapoints2Datasets3$Outbound;
1358
1755
 
1359
1756
  /** @internal */
1360
1757
  export const BulkCreateDatapointsContentDatasets2$outboundSchema: z.ZodType<
@@ -1364,6 +1761,7 @@ export const BulkCreateDatapointsContentDatasets2$outboundSchema: z.ZodType<
1364
1761
  > = z.union([
1365
1762
  z.lazy(() => BulkCreateDatapoints2Datasets1$outboundSchema),
1366
1763
  z.lazy(() => BulkCreateDatapoints2Datasets2$outboundSchema),
1764
+ z.lazy(() => BulkCreateDatapoints2Datasets3$outboundSchema),
1367
1765
  ]);
1368
1766
 
1369
1767
  /**
@@ -1412,6 +1810,7 @@ export const BulkCreateDatapointsDatasetsContent$inboundSchema: z.ZodType<
1412
1810
  z.array(z.union([
1413
1811
  z.lazy(() => BulkCreateDatapoints2Datasets1$inboundSchema),
1414
1812
  z.lazy(() => BulkCreateDatapoints2Datasets2$inboundSchema),
1813
+ z.lazy(() => BulkCreateDatapoints2Datasets3$inboundSchema),
1415
1814
  ])),
1416
1815
  ]);
1417
1816
 
@@ -1421,6 +1820,7 @@ export type BulkCreateDatapointsDatasetsContent$Outbound =
1421
1820
  | Array<
1422
1821
  | BulkCreateDatapoints2Datasets1$Outbound
1423
1822
  | BulkCreateDatapoints2Datasets2$Outbound
1823
+ | BulkCreateDatapoints2Datasets3$Outbound
1424
1824
  >;
1425
1825
 
1426
1826
  /** @internal */
@@ -1433,6 +1833,7 @@ export const BulkCreateDatapointsDatasetsContent$outboundSchema: z.ZodType<
1433
1833
  z.array(z.union([
1434
1834
  z.lazy(() => BulkCreateDatapoints2Datasets1$outboundSchema),
1435
1835
  z.lazy(() => BulkCreateDatapoints2Datasets2$outboundSchema),
1836
+ z.lazy(() => BulkCreateDatapoints2Datasets3$outboundSchema),
1436
1837
  ])),
1437
1838
  ]);
1438
1839
 
@@ -1635,6 +2036,7 @@ export const BulkCreateDatapointsDatasetsMessages$inboundSchema: z.ZodType<
1635
2036
  z.array(z.union([
1636
2037
  z.lazy(() => BulkCreateDatapoints2Datasets1$inboundSchema),
1637
2038
  z.lazy(() => BulkCreateDatapoints2Datasets2$inboundSchema),
2039
+ z.lazy(() => BulkCreateDatapoints2Datasets3$inboundSchema),
1638
2040
  ])),
1639
2041
  ]),
1640
2042
  tool_calls: z.array(
@@ -1656,6 +2058,7 @@ export type BulkCreateDatapointsDatasetsMessages$Outbound = {
1656
2058
  | Array<
1657
2059
  | BulkCreateDatapoints2Datasets1$Outbound
1658
2060
  | BulkCreateDatapoints2Datasets2$Outbound
2061
+ | BulkCreateDatapoints2Datasets3$Outbound
1659
2062
  >;
1660
2063
  tool_calls?:
1661
2064
  | Array<BulkCreateDatapointsDatasetsToolCalls$Outbound>
@@ -1675,6 +2078,7 @@ export const BulkCreateDatapointsDatasetsMessages$outboundSchema: z.ZodType<
1675
2078
  z.array(z.union([
1676
2079
  z.lazy(() => BulkCreateDatapoints2Datasets1$outboundSchema),
1677
2080
  z.lazy(() => BulkCreateDatapoints2Datasets2$outboundSchema),
2081
+ z.lazy(() => BulkCreateDatapoints2Datasets3$outboundSchema),
1678
2082
  ])),
1679
2083
  ]),
1680
2084
  toolCalls: z.array(
@@ -1743,7 +2147,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
1743
2147
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1744
2148
  .optional(),
1745
2149
  updated: z.string().datetime({ offset: true }).default(
1746
- "2025-05-22T05:50:26.701Z",
2150
+ "2025-05-26T13:57:05.528Z",
1747
2151
  ).transform(v => new Date(v)),
1748
2152
  }).transform((v) => {
1749
2153
  return remap$(v, {
@@ -1787,7 +2191,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
1787
2191
  createdById: z.string().optional(),
1788
2192
  updatedById: z.string().optional(),
1789
2193
  created: z.date().transform(v => v.toISOString()).optional(),
1790
- updated: z.date().default(() => new Date("2025-05-22T05:50:26.701Z"))
2194
+ updated: z.date().default(() => new Date("2025-05-26T13:57:05.528Z"))
1791
2195
  .transform(v => v.toISOString()),
1792
2196
  }).transform((v) => {
1793
2197
  return remap$(v, {
@@ -177,7 +177,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
177
177
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
178
178
  .optional(),
179
179
  updated: z.string().datetime({ offset: true }).default(
180
- "2025-05-22T05:50:26.701Z",
180
+ "2025-05-26T13:57:05.528Z",
181
181
  ).transform(v => new Date(v)),
182
182
  }).transform((v) => {
183
183
  return remap$(v, {
@@ -214,7 +214,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
214
214
  tags: z.array(z.string()).optional(),
215
215
  metadata: z.record(z.any()).optional(),
216
216
  created: z.date().transform(v => v.toISOString()).optional(),
217
- updated: z.date().default(() => new Date("2025-05-22T05:50:26.701Z"))
217
+ updated: z.date().default(() => new Date("2025-05-26T13:57:05.528Z"))
218
218
  .transform(v => v.toISOString()),
219
219
  }).transform((v) => {
220
220
  return remap$(v, {
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
211
211
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
212
212
  .optional(),
213
213
  updated: z.string().datetime({ offset: true }).default(
214
- "2025-05-22T05:50:26.701Z",
214
+ "2025-05-26T13:57:05.528Z",
215
215
  ).transform(v => new Date(v)),
216
216
  }).transform((v) => {
217
217
  return remap$(v, {
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
251
251
  updatedById: z.string().optional(),
252
252
  metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
253
253
  created: z.date().transform(v => v.toISOString()).optional(),
254
- updated: z.date().default(() => new Date("2025-05-22T05:50:26.701Z"))
254
+ updated: z.date().default(() => new Date("2025-05-26T13:57:05.528Z"))
255
255
  .transform(v => v.toISOString()),
256
256
  }).transform((v) => {
257
257
  return remap$(v, {