@orq-ai/node 4.14.0-rc.37 → 4.14.0-rc.39

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 (99) 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/evaluatorresponsefunction.js +2 -2
  5. package/models/components/evaluatorresponsehttp.js +2 -2
  6. package/models/components/evaluatorresponsejsonschema.js +2 -2
  7. package/models/components/evaluatorresponsellm.js +2 -2
  8. package/models/components/evaluatorresponsepython.js +2 -2
  9. package/models/components/evaluatorresponseragas.js +2 -2
  10. package/models/components/evaluatorresponsetypescript.js +2 -2
  11. package/models/components/invokedeploymentrequest.d.ts +14 -53
  12. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  13. package/models/components/invokedeploymentrequest.js +2 -33
  14. package/models/components/invokedeploymentrequest.js.map +1 -1
  15. package/models/components/reasoningpart.js +1 -1
  16. package/models/components/searchknowledgerequest.d.ts +26 -26
  17. package/models/components/searchknowledgerequest.d.ts.map +1 -1
  18. package/models/components/searchknowledgerequest.js +20 -20
  19. package/models/components/searchknowledgerequest.js.map +1 -1
  20. package/models/operations/createannotationqueue.js +1 -1
  21. package/models/operations/createchatcompletion.d.ts +14 -53
  22. package/models/operations/createchatcompletion.d.ts.map +1 -1
  23. package/models/operations/createchatcompletion.js +2 -33
  24. package/models/operations/createchatcompletion.js.map +1 -1
  25. package/models/operations/createcompletion.d.ts +14 -53
  26. package/models/operations/createcompletion.d.ts.map +1 -1
  27. package/models/operations/createcompletion.js +2 -34
  28. package/models/operations/createcompletion.js.map +1 -1
  29. package/models/operations/createdataset.js +1 -1
  30. package/models/operations/createdatasetitem.js +5 -5
  31. package/models/operations/createtool.js +4 -4
  32. package/models/operations/deploymentgetconfig.d.ts +14 -53
  33. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  34. package/models/operations/deploymentgetconfig.js +3 -34
  35. package/models/operations/deploymentgetconfig.js.map +1 -1
  36. package/models/operations/deploymentstream.d.ts +14 -53
  37. package/models/operations/deploymentstream.d.ts.map +1 -1
  38. package/models/operations/deploymentstream.js +2 -33
  39. package/models/operations/deploymentstream.js.map +1 -1
  40. package/models/operations/getalltools.js +4 -4
  41. package/models/operations/geteval.js +16 -16
  42. package/models/operations/getv2humanevalsets.js +2 -2
  43. package/models/operations/getv2humanevalsetsid.js +2 -2
  44. package/models/operations/listannotationqueues.js +1 -1
  45. package/models/operations/listdatasetdatapoints.js +5 -5
  46. package/models/operations/listdatasets.js +1 -1
  47. package/models/operations/patchv2humanevalsetsid.js +2 -2
  48. package/models/operations/postv2feedbackevaluation.js +4 -4
  49. package/models/operations/postv2humanevalsets.js +2 -2
  50. package/models/operations/retrieveannotationqueue.js +1 -1
  51. package/models/operations/retrievedatapoint.js +5 -5
  52. package/models/operations/retrievedataset.js +1 -1
  53. package/models/operations/retrievetool.js +4 -4
  54. package/models/operations/runagent.js +1 -1
  55. package/models/operations/streamrunagent.js +1 -1
  56. package/models/operations/updateannotationqueue.js +1 -1
  57. package/models/operations/updatedatapoint.js +5 -5
  58. package/models/operations/updatedataset.js +1 -1
  59. package/models/operations/updatetool.js +4 -4
  60. package/package.json +5 -5
  61. package/src/lib/config.ts +2 -2
  62. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  63. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  64. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  65. package/src/models/components/evaluatorresponsellm.ts +2 -2
  66. package/src/models/components/evaluatorresponsepython.ts +2 -2
  67. package/src/models/components/evaluatorresponseragas.ts +2 -2
  68. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  69. package/src/models/components/invokedeploymentrequest.ts +14 -110
  70. package/src/models/components/reasoningpart.ts +1 -1
  71. package/src/models/components/searchknowledgerequest.ts +42 -54
  72. package/src/models/operations/createannotationqueue.ts +1 -1
  73. package/src/models/operations/createchatcompletion.ts +14 -128
  74. package/src/models/operations/createcompletion.ts +14 -122
  75. package/src/models/operations/createdataset.ts +1 -1
  76. package/src/models/operations/createdatasetitem.ts +5 -5
  77. package/src/models/operations/createtool.ts +4 -4
  78. package/src/models/operations/deploymentgetconfig.ts +14 -117
  79. package/src/models/operations/deploymentstream.ts +14 -118
  80. package/src/models/operations/getalltools.ts +4 -4
  81. package/src/models/operations/geteval.ts +16 -16
  82. package/src/models/operations/getv2humanevalsets.ts +2 -2
  83. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  84. package/src/models/operations/listannotationqueues.ts +1 -1
  85. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  86. package/src/models/operations/listdatasets.ts +1 -1
  87. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  88. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  89. package/src/models/operations/postv2humanevalsets.ts +2 -2
  90. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  91. package/src/models/operations/retrievedatapoint.ts +5 -5
  92. package/src/models/operations/retrievedataset.ts +1 -1
  93. package/src/models/operations/retrievetool.ts +4 -4
  94. package/src/models/operations/runagent.ts +1 -1
  95. package/src/models/operations/streamrunagent.ts +1 -1
  96. package/src/models/operations/updateannotationqueue.ts +1 -1
  97. package/src/models/operations/updatedatapoint.ts +5 -5
  98. package/src/models/operations/updatedataset.ts +1 -1
  99. package/src/models/operations/updatetool.ts +4 -4
@@ -214,13 +214,6 @@ export type CreateCompletionSearchType = ClosedEnum<
214
214
  typeof CreateCompletionSearchType
215
215
  >;
216
216
 
217
- /**
218
- * Exists
219
- */
220
- export type CreateCompletionOrExists = {
221
- exists: boolean;
222
- };
223
-
224
217
  export type CreateCompletionOrRouterCompletionsNin = string | number | boolean;
225
218
 
226
219
  /**
@@ -293,8 +286,7 @@ export type CreateCompletionFilterByRouterCompletionsOr =
293
286
  | CreateCompletionOrLt
294
287
  | CreateCompletionOrLte
295
288
  | CreateCompletionOrIn
296
- | CreateCompletionOrNin
297
- | CreateCompletionOrExists;
289
+ | CreateCompletionOrNin;
298
290
 
299
291
  /**
300
292
  * Or
@@ -310,19 +302,11 @@ export type CreateCompletionFilterByOr = {
310
302
  | CreateCompletionOrLt
311
303
  | CreateCompletionOrLte
312
304
  | CreateCompletionOrIn
313
- | CreateCompletionOrNin
314
- | CreateCompletionOrExists;
305
+ | CreateCompletionOrNin;
315
306
  }
316
307
  >;
317
308
  };
318
309
 
319
- /**
320
- * Exists
321
- */
322
- export type CreateCompletionAndExists = {
323
- exists: boolean;
324
- };
325
-
326
310
  export type CreateCompletionAndRouterCompletionsNin = string | number | boolean;
327
311
 
328
312
  /**
@@ -395,8 +379,7 @@ export type CreateCompletionFilterByRouterCompletionsAnd =
395
379
  | CreateCompletionAndLt
396
380
  | CreateCompletionAndLte
397
381
  | CreateCompletionAndIn
398
- | CreateCompletionAndNin
399
- | CreateCompletionAndExists;
382
+ | CreateCompletionAndNin;
400
383
 
401
384
  /**
402
385
  * And
@@ -412,19 +395,11 @@ export type CreateCompletionFilterByAnd = {
412
395
  | CreateCompletionAndLt
413
396
  | CreateCompletionAndLte
414
397
  | CreateCompletionAndIn
415
- | CreateCompletionAndNin
416
- | CreateCompletionAndExists;
398
+ | CreateCompletionAndNin;
417
399
  }
418
400
  >;
419
401
  };
420
402
 
421
- /**
422
- * Exists
423
- */
424
- export type CreateCompletion1Exists = {
425
- exists: boolean;
426
- };
427
-
428
403
  export type CreateCompletion1RouterCompletionsNin = string | number | boolean;
429
404
 
430
405
  /**
@@ -497,8 +472,7 @@ export type CreateCompletionFilterBy1 =
497
472
  | CreateCompletion1Lt
498
473
  | CreateCompletion1Lte
499
474
  | CreateCompletion1In
500
- | CreateCompletion1Nin
501
- | CreateCompletion1Exists;
475
+ | CreateCompletion1Nin;
502
476
 
503
477
  /**
504
478
  * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/knowledge/api#knowledge-base-search) for more information.
@@ -515,8 +489,7 @@ export type CreateCompletionFilterBy =
515
489
  | CreateCompletion1Lt
516
490
  | CreateCompletion1Lte
517
491
  | CreateCompletion1In
518
- | CreateCompletion1Nin
519
- | CreateCompletion1Exists;
492
+ | CreateCompletion1Nin;
520
493
  };
521
494
 
522
495
  /**
@@ -590,8 +563,7 @@ export type CreateCompletionKnowledgeBases = {
590
563
  | CreateCompletion1Lt
591
564
  | CreateCompletion1Lte
592
565
  | CreateCompletion1In
593
- | CreateCompletion1Nin
594
- | CreateCompletion1Exists;
566
+ | CreateCompletion1Nin;
595
567
  } | undefined;
596
568
  /**
597
569
  * Additional search options
@@ -1495,28 +1467,6 @@ export const CreateCompletionSearchType$outboundSchema: z.ZodNativeEnum<
1495
1467
  typeof CreateCompletionSearchType
1496
1468
  > = z.nativeEnum(CreateCompletionSearchType);
1497
1469
 
1498
- /** @internal */
1499
- export type CreateCompletionOrExists$Outbound = {
1500
- exists: boolean;
1501
- };
1502
-
1503
- /** @internal */
1504
- export const CreateCompletionOrExists$outboundSchema: z.ZodType<
1505
- CreateCompletionOrExists$Outbound,
1506
- z.ZodTypeDef,
1507
- CreateCompletionOrExists
1508
- > = z.object({
1509
- exists: z.boolean(),
1510
- });
1511
-
1512
- export function createCompletionOrExistsToJSON(
1513
- createCompletionOrExists: CreateCompletionOrExists,
1514
- ): string {
1515
- return JSON.stringify(
1516
- CreateCompletionOrExists$outboundSchema.parse(createCompletionOrExists),
1517
- );
1518
- }
1519
-
1520
1470
  /** @internal */
1521
1471
  export type CreateCompletionOrRouterCompletionsNin$Outbound =
1522
1472
  | string
@@ -1795,8 +1745,7 @@ export type CreateCompletionFilterByRouterCompletionsOr$Outbound =
1795
1745
  | CreateCompletionOrLt$Outbound
1796
1746
  | CreateCompletionOrLte$Outbound
1797
1747
  | CreateCompletionOrIn$Outbound
1798
- | CreateCompletionOrNin$Outbound
1799
- | CreateCompletionOrExists$Outbound;
1748
+ | CreateCompletionOrNin$Outbound;
1800
1749
 
1801
1750
  /** @internal */
1802
1751
  export const CreateCompletionFilterByRouterCompletionsOr$outboundSchema:
@@ -1813,7 +1762,6 @@ export const CreateCompletionFilterByRouterCompletionsOr$outboundSchema:
1813
1762
  z.lazy(() => CreateCompletionOrLte$outboundSchema),
1814
1763
  z.lazy(() => CreateCompletionOrIn$outboundSchema),
1815
1764
  z.lazy(() => CreateCompletionOrNin$outboundSchema),
1816
- z.lazy(() => CreateCompletionOrExists$outboundSchema),
1817
1765
  ]);
1818
1766
 
1819
1767
  export function createCompletionFilterByRouterCompletionsOrToJSON(
@@ -1839,8 +1787,7 @@ export type CreateCompletionFilterByOr$Outbound = {
1839
1787
  | CreateCompletionOrLt$Outbound
1840
1788
  | CreateCompletionOrLte$Outbound
1841
1789
  | CreateCompletionOrIn$Outbound
1842
- | CreateCompletionOrNin$Outbound
1843
- | CreateCompletionOrExists$Outbound;
1790
+ | CreateCompletionOrNin$Outbound;
1844
1791
  }
1845
1792
  >;
1846
1793
  };
@@ -1863,7 +1810,6 @@ export const CreateCompletionFilterByOr$outboundSchema: z.ZodType<
1863
1810
  z.lazy(() => CreateCompletionOrLte$outboundSchema),
1864
1811
  z.lazy(() => CreateCompletionOrIn$outboundSchema),
1865
1812
  z.lazy(() => CreateCompletionOrNin$outboundSchema),
1866
- z.lazy(() => CreateCompletionOrExists$outboundSchema),
1867
1813
  ])),
1868
1814
  ),
1869
1815
  });
@@ -1876,28 +1822,6 @@ export function createCompletionFilterByOrToJSON(
1876
1822
  );
1877
1823
  }
1878
1824
 
1879
- /** @internal */
1880
- export type CreateCompletionAndExists$Outbound = {
1881
- exists: boolean;
1882
- };
1883
-
1884
- /** @internal */
1885
- export const CreateCompletionAndExists$outboundSchema: z.ZodType<
1886
- CreateCompletionAndExists$Outbound,
1887
- z.ZodTypeDef,
1888
- CreateCompletionAndExists
1889
- > = z.object({
1890
- exists: z.boolean(),
1891
- });
1892
-
1893
- export function createCompletionAndExistsToJSON(
1894
- createCompletionAndExists: CreateCompletionAndExists,
1895
- ): string {
1896
- return JSON.stringify(
1897
- CreateCompletionAndExists$outboundSchema.parse(createCompletionAndExists),
1898
- );
1899
- }
1900
-
1901
1825
  /** @internal */
1902
1826
  export type CreateCompletionAndRouterCompletionsNin$Outbound =
1903
1827
  | string
@@ -2179,8 +2103,7 @@ export type CreateCompletionFilterByRouterCompletionsAnd$Outbound =
2179
2103
  | CreateCompletionAndLt$Outbound
2180
2104
  | CreateCompletionAndLte$Outbound
2181
2105
  | CreateCompletionAndIn$Outbound
2182
- | CreateCompletionAndNin$Outbound
2183
- | CreateCompletionAndExists$Outbound;
2106
+ | CreateCompletionAndNin$Outbound;
2184
2107
 
2185
2108
  /** @internal */
2186
2109
  export const CreateCompletionFilterByRouterCompletionsAnd$outboundSchema:
@@ -2197,7 +2120,6 @@ export const CreateCompletionFilterByRouterCompletionsAnd$outboundSchema:
2197
2120
  z.lazy(() => CreateCompletionAndLte$outboundSchema),
2198
2121
  z.lazy(() => CreateCompletionAndIn$outboundSchema),
2199
2122
  z.lazy(() => CreateCompletionAndNin$outboundSchema),
2200
- z.lazy(() => CreateCompletionAndExists$outboundSchema),
2201
2123
  ]);
2202
2124
 
2203
2125
  export function createCompletionFilterByRouterCompletionsAndToJSON(
@@ -2223,8 +2145,7 @@ export type CreateCompletionFilterByAnd$Outbound = {
2223
2145
  | CreateCompletionAndLt$Outbound
2224
2146
  | CreateCompletionAndLte$Outbound
2225
2147
  | CreateCompletionAndIn$Outbound
2226
- | CreateCompletionAndNin$Outbound
2227
- | CreateCompletionAndExists$Outbound;
2148
+ | CreateCompletionAndNin$Outbound;
2228
2149
  }
2229
2150
  >;
2230
2151
  };
@@ -2247,7 +2168,6 @@ export const CreateCompletionFilterByAnd$outboundSchema: z.ZodType<
2247
2168
  z.lazy(() => CreateCompletionAndLte$outboundSchema),
2248
2169
  z.lazy(() => CreateCompletionAndIn$outboundSchema),
2249
2170
  z.lazy(() => CreateCompletionAndNin$outboundSchema),
2250
- z.lazy(() => CreateCompletionAndExists$outboundSchema),
2251
2171
  ])),
2252
2172
  ),
2253
2173
  });
@@ -2262,28 +2182,6 @@ export function createCompletionFilterByAndToJSON(
2262
2182
  );
2263
2183
  }
2264
2184
 
2265
- /** @internal */
2266
- export type CreateCompletion1Exists$Outbound = {
2267
- exists: boolean;
2268
- };
2269
-
2270
- /** @internal */
2271
- export const CreateCompletion1Exists$outboundSchema: z.ZodType<
2272
- CreateCompletion1Exists$Outbound,
2273
- z.ZodTypeDef,
2274
- CreateCompletion1Exists
2275
- > = z.object({
2276
- exists: z.boolean(),
2277
- });
2278
-
2279
- export function createCompletion1ExistsToJSON(
2280
- createCompletion1Exists: CreateCompletion1Exists,
2281
- ): string {
2282
- return JSON.stringify(
2283
- CreateCompletion1Exists$outboundSchema.parse(createCompletion1Exists),
2284
- );
2285
- }
2286
-
2287
2185
  /** @internal */
2288
2186
  export type CreateCompletion1RouterCompletionsNin$Outbound =
2289
2187
  | string
@@ -2561,8 +2459,7 @@ export type CreateCompletionFilterBy1$Outbound =
2561
2459
  | CreateCompletion1Lt$Outbound
2562
2460
  | CreateCompletion1Lte$Outbound
2563
2461
  | CreateCompletion1In$Outbound
2564
- | CreateCompletion1Nin$Outbound
2565
- | CreateCompletion1Exists$Outbound;
2462
+ | CreateCompletion1Nin$Outbound;
2566
2463
 
2567
2464
  /** @internal */
2568
2465
  export const CreateCompletionFilterBy1$outboundSchema: z.ZodType<
@@ -2578,7 +2475,6 @@ export const CreateCompletionFilterBy1$outboundSchema: z.ZodType<
2578
2475
  z.lazy(() => CreateCompletion1Lte$outboundSchema),
2579
2476
  z.lazy(() => CreateCompletion1In$outboundSchema),
2580
2477
  z.lazy(() => CreateCompletion1Nin$outboundSchema),
2581
- z.lazy(() => CreateCompletion1Exists$outboundSchema),
2582
2478
  ]);
2583
2479
 
2584
2480
  export function createCompletionFilterBy1ToJSON(
@@ -2602,8 +2498,7 @@ export type CreateCompletionFilterBy$Outbound =
2602
2498
  | CreateCompletion1Lt$Outbound
2603
2499
  | CreateCompletion1Lte$Outbound
2604
2500
  | CreateCompletion1In$Outbound
2605
- | CreateCompletion1Nin$Outbound
2606
- | CreateCompletion1Exists$Outbound;
2501
+ | CreateCompletion1Nin$Outbound;
2607
2502
  };
2608
2503
 
2609
2504
  /** @internal */
@@ -2623,7 +2518,6 @@ export const CreateCompletionFilterBy$outboundSchema: z.ZodType<
2623
2518
  z.lazy(() => CreateCompletion1Lte$outboundSchema),
2624
2519
  z.lazy(() => CreateCompletion1In$outboundSchema),
2625
2520
  z.lazy(() => CreateCompletion1Nin$outboundSchema),
2626
- z.lazy(() => CreateCompletion1Exists$outboundSchema),
2627
2521
  ])),
2628
2522
  ]);
2629
2523
 
@@ -2742,8 +2636,7 @@ export type CreateCompletionKnowledgeBases$Outbound = {
2742
2636
  | CreateCompletion1Lt$Outbound
2743
2637
  | CreateCompletion1Lte$Outbound
2744
2638
  | CreateCompletion1In$Outbound
2745
- | CreateCompletion1Nin$Outbound
2746
- | CreateCompletion1Exists$Outbound;
2639
+ | CreateCompletion1Nin$Outbound;
2747
2640
  }
2748
2641
  | undefined;
2749
2642
  search_options?: CreateCompletionSearchOptions$Outbound | undefined;
@@ -2774,7 +2667,6 @@ export const CreateCompletionKnowledgeBases$outboundSchema: z.ZodType<
2774
2667
  z.lazy(() => CreateCompletion1Lte$outboundSchema),
2775
2668
  z.lazy(() => CreateCompletion1In$outboundSchema),
2776
2669
  z.lazy(() => CreateCompletion1Nin$outboundSchema),
2777
- z.lazy(() => CreateCompletion1Exists$outboundSchema),
2778
2670
  ])),
2779
2671
  ]).optional(),
2780
2672
  searchOptions: z.lazy(() => CreateCompletionSearchOptions$outboundSchema)
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-08-19T10:58:01.279Z",
141
+ "2026-08-20T04:17:06.109Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -2726,7 +2726,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
2726
2726
  explanation: z.string().optional(),
2727
2727
  reviewed_by_id: z.string(),
2728
2728
  reviewed_at: z.string().datetime({ offset: true }).default(
2729
- "2026-08-19T10:58:37.124Z",
2729
+ "2026-08-20T04:17:21.119Z",
2730
2730
  ).transform(v => new Date(v)),
2731
2731
  type: z.literal("string_array"),
2732
2732
  values: z.array(z.string()),
@@ -2816,7 +2816,7 @@ export const CreateDatasetItemEvaluations3$inboundSchema: z.ZodType<
2816
2816
  explanation: z.string().optional(),
2817
2817
  reviewed_by_id: z.string(),
2818
2818
  reviewed_at: z.string().datetime({ offset: true }).default(
2819
- "2026-08-19T10:58:37.123Z",
2819
+ "2026-08-20T04:17:21.119Z",
2820
2820
  ).transform(v => new Date(v)),
2821
2821
  type: z.literal("boolean"),
2822
2822
  value: z.boolean(),
@@ -2901,7 +2901,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
2901
2901
  explanation: z.string().optional(),
2902
2902
  reviewed_by_id: z.string(),
2903
2903
  reviewed_at: z.string().datetime({ offset: true }).default(
2904
- "2026-08-19T10:58:37.123Z",
2904
+ "2026-08-20T04:17:21.118Z",
2905
2905
  ).transform(v => new Date(v)),
2906
2906
  type: z.literal("number"),
2907
2907
  value: z.number(),
@@ -2987,7 +2987,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
2987
2987
  explanation: z.string().optional(),
2988
2988
  reviewed_by_id: z.string(),
2989
2989
  reviewed_at: z.string().datetime({ offset: true }).default(
2990
- "2026-08-19T10:58:37.122Z",
2990
+ "2026-08-20T04:17:21.117Z",
2991
2991
  ).transform(v => new Date(v)),
2992
2992
  type: z.literal("string"),
2993
2993
  value: z.string(),
@@ -3074,7 +3074,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
3074
3074
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3075
3075
  .optional(),
3076
3076
  updated: z.string().datetime({ offset: true }).default(
3077
- "2026-08-19T10:58:01.279Z",
3077
+ "2026-08-20T04:17:06.109Z",
3078
3078
  ).transform(v => new Date(v)),
3079
3079
  }).transform((v) => {
3080
3080
  return remap$(v, {
@@ -1573,7 +1573,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1573
1573
  z.ZodTypeDef,
1574
1574
  unknown
1575
1575
  > = z.object({
1576
- _id: z.string().default("tool_01M0CTRJW8ME7TNS4YHR3JV9YD"),
1576
+ _id: z.string().default("tool_01M0EP6J46PNNAXFR1QCB7B2RX"),
1577
1577
  path: z.string(),
1578
1578
  key: z.string(),
1579
1579
  display_name: z.string().optional(),
@@ -1760,7 +1760,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1760
1760
  z.ZodTypeDef,
1761
1761
  unknown
1762
1762
  > = z.object({
1763
- _id: z.string().default("tool_01M0CTRJW6QB89N0W5ZJZ66T2J"),
1763
+ _id: z.string().default("tool_01M0EP6J44MS625AT546PF504T"),
1764
1764
  path: z.string(),
1765
1765
  key: z.string(),
1766
1766
  display_name: z.string().optional(),
@@ -1853,7 +1853,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1853
1853
  z.ZodTypeDef,
1854
1854
  unknown
1855
1855
  > = z.object({
1856
- _id: z.string().default("tool_01M0CTRJW5ESXNNPSTSW8TRVZK"),
1856
+ _id: z.string().default("tool_01M0EP6J43RH2PGA94APZQJ01K"),
1857
1857
  path: z.string(),
1858
1858
  key: z.string(),
1859
1859
  display_name: z.string().optional(),
@@ -1954,7 +1954,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1954
1954
  z.ZodTypeDef,
1955
1955
  unknown
1956
1956
  > = z.object({
1957
- _id: z.string().default("tool_01M0CTRJVYGMXAPPZYFJNN0Q4X"),
1957
+ _id: z.string().default("tool_01M0EP6J42RW190Y3PD0TWRW0P"),
1958
1958
  path: z.string(),
1959
1959
  key: z.string(),
1960
1960
  display_name: z.string().optional(),
@@ -754,13 +754,6 @@ export type Thread = {
754
754
  tags?: Array<string> | undefined;
755
755
  };
756
756
 
757
- /**
758
- * Exists
759
- */
760
- export type OrExists = {
761
- exists: boolean;
762
- };
763
-
764
757
  export type DeploymentGetConfigOrNin = string | number | boolean;
765
758
 
766
759
  /**
@@ -833,36 +826,17 @@ export type KnowledgeFilterOr =
833
826
  | OrLt
834
827
  | OrLte
835
828
  | OrIn
836
- | OrNin
837
- | OrExists;
829
+ | OrNin;
838
830
 
839
831
  /**
840
832
  * Or
841
833
  */
842
834
  export type Or = {
843
835
  or: Array<
844
- {
845
- [k: string]:
846
- | OrEq
847
- | OrNe
848
- | OrGt
849
- | OrGte
850
- | OrLt
851
- | OrLte
852
- | OrIn
853
- | OrNin
854
- | OrExists;
855
- }
836
+ { [k: string]: OrEq | OrNe | OrGt | OrGte | OrLt | OrLte | OrIn | OrNin }
856
837
  >;
857
838
  };
858
839
 
859
- /**
860
- * Exists
861
- */
862
- export type AndExists = {
863
- exists: boolean;
864
- };
865
-
866
840
  export type DeploymentGetConfigAndNin = string | number | boolean;
867
841
 
868
842
  /**
@@ -935,8 +909,7 @@ export type KnowledgeFilterAnd =
935
909
  | AndLt
936
910
  | AndLte
937
911
  | AndIn
938
- | AndNin
939
- | AndExists;
912
+ | AndNin;
940
913
 
941
914
  /**
942
915
  * And
@@ -952,19 +925,11 @@ export type And = {
952
925
  | AndLt
953
926
  | AndLte
954
927
  | AndIn
955
- | AndNin
956
- | AndExists;
928
+ | AndNin;
957
929
  }
958
930
  >;
959
931
  };
960
932
 
961
- /**
962
- * Exists
963
- */
964
- export type Exists = {
965
- exists: boolean;
966
- };
967
-
968
933
  export type OneNin = string | number | boolean;
969
934
 
970
935
  /**
@@ -1029,13 +994,13 @@ export type Eq = {
1029
994
  eq: string | number | boolean;
1030
995
  };
1031
996
 
1032
- export type One = Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
997
+ export type One = Eq | Ne | Gt | Gte | Lt | Lte | In | Nin;
1033
998
 
1034
999
  /**
1035
1000
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1036
1001
  */
1037
1002
  export type KnowledgeFilter = And | Or | {
1038
- [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
1003
+ [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin;
1039
1004
  };
1040
1005
 
1041
1006
  export type DeploymentGetConfigRequestBody = {
@@ -1101,7 +1066,7 @@ export type DeploymentGetConfigRequestBody = {
1101
1066
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1102
1067
  */
1103
1068
  knowledgeFilter?: And | Or | {
1104
- [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
1069
+ [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin;
1105
1070
  } | undefined;
1106
1071
  };
1107
1072
 
@@ -2974,24 +2939,6 @@ export function threadToJSON(thread: Thread): string {
2974
2939
  return JSON.stringify(Thread$outboundSchema.parse(thread));
2975
2940
  }
2976
2941
 
2977
- /** @internal */
2978
- export type OrExists$Outbound = {
2979
- exists: boolean;
2980
- };
2981
-
2982
- /** @internal */
2983
- export const OrExists$outboundSchema: z.ZodType<
2984
- OrExists$Outbound,
2985
- z.ZodTypeDef,
2986
- OrExists
2987
- > = z.object({
2988
- exists: z.boolean(),
2989
- });
2990
-
2991
- export function orExistsToJSON(orExists: OrExists): string {
2992
- return JSON.stringify(OrExists$outboundSchema.parse(orExists));
2993
- }
2994
-
2995
2942
  /** @internal */
2996
2943
  export type DeploymentGetConfigOrNin$Outbound = string | number | boolean;
2997
2944
 
@@ -3202,8 +3149,7 @@ export type KnowledgeFilterOr$Outbound =
3202
3149
  | OrLt$Outbound
3203
3150
  | OrLte$Outbound
3204
3151
  | OrIn$Outbound
3205
- | OrNin$Outbound
3206
- | OrExists$Outbound;
3152
+ | OrNin$Outbound;
3207
3153
 
3208
3154
  /** @internal */
3209
3155
  export const KnowledgeFilterOr$outboundSchema: z.ZodType<
@@ -3219,7 +3165,6 @@ export const KnowledgeFilterOr$outboundSchema: z.ZodType<
3219
3165
  z.lazy(() => OrLte$outboundSchema),
3220
3166
  z.lazy(() => OrIn$outboundSchema),
3221
3167
  z.lazy(() => OrNin$outboundSchema),
3222
- z.lazy(() => OrExists$outboundSchema),
3223
3168
  ]);
3224
3169
 
3225
3170
  export function knowledgeFilterOrToJSON(
@@ -3242,8 +3187,7 @@ export type Or$Outbound = {
3242
3187
  | OrLt$Outbound
3243
3188
  | OrLte$Outbound
3244
3189
  | OrIn$Outbound
3245
- | OrNin$Outbound
3246
- | OrExists$Outbound;
3190
+ | OrNin$Outbound;
3247
3191
  }
3248
3192
  >;
3249
3193
  };
@@ -3263,7 +3207,6 @@ export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
3263
3207
  z.lazy(() => OrLte$outboundSchema),
3264
3208
  z.lazy(() => OrIn$outboundSchema),
3265
3209
  z.lazy(() => OrNin$outboundSchema),
3266
- z.lazy(() => OrExists$outboundSchema),
3267
3210
  ])),
3268
3211
  ),
3269
3212
  });
@@ -3272,24 +3215,6 @@ export function orToJSON(or: Or): string {
3272
3215
  return JSON.stringify(Or$outboundSchema.parse(or));
3273
3216
  }
3274
3217
 
3275
- /** @internal */
3276
- export type AndExists$Outbound = {
3277
- exists: boolean;
3278
- };
3279
-
3280
- /** @internal */
3281
- export const AndExists$outboundSchema: z.ZodType<
3282
- AndExists$Outbound,
3283
- z.ZodTypeDef,
3284
- AndExists
3285
- > = z.object({
3286
- exists: z.boolean(),
3287
- });
3288
-
3289
- export function andExistsToJSON(andExists: AndExists): string {
3290
- return JSON.stringify(AndExists$outboundSchema.parse(andExists));
3291
- }
3292
-
3293
3218
  /** @internal */
3294
3219
  export type DeploymentGetConfigAndNin$Outbound = string | number | boolean;
3295
3220
 
@@ -3515,8 +3440,7 @@ export type KnowledgeFilterAnd$Outbound =
3515
3440
  | AndLt$Outbound
3516
3441
  | AndLte$Outbound
3517
3442
  | AndIn$Outbound
3518
- | AndNin$Outbound
3519
- | AndExists$Outbound;
3443
+ | AndNin$Outbound;
3520
3444
 
3521
3445
  /** @internal */
3522
3446
  export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
@@ -3532,7 +3456,6 @@ export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
3532
3456
  z.lazy(() => AndLte$outboundSchema),
3533
3457
  z.lazy(() => AndIn$outboundSchema),
3534
3458
  z.lazy(() => AndNin$outboundSchema),
3535
- z.lazy(() => AndExists$outboundSchema),
3536
3459
  ]);
3537
3460
 
3538
3461
  export function knowledgeFilterAndToJSON(
@@ -3555,8 +3478,7 @@ export type And$Outbound = {
3555
3478
  | AndLt$Outbound
3556
3479
  | AndLte$Outbound
3557
3480
  | AndIn$Outbound
3558
- | AndNin$Outbound
3559
- | AndExists$Outbound;
3481
+ | AndNin$Outbound;
3560
3482
  }
3561
3483
  >;
3562
3484
  };
@@ -3576,7 +3498,6 @@ export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
3576
3498
  z.lazy(() => AndLte$outboundSchema),
3577
3499
  z.lazy(() => AndIn$outboundSchema),
3578
3500
  z.lazy(() => AndNin$outboundSchema),
3579
- z.lazy(() => AndExists$outboundSchema),
3580
3501
  ])),
3581
3502
  ),
3582
3503
  });
@@ -3585,24 +3506,6 @@ export function andToJSON(and: And): string {
3585
3506
  return JSON.stringify(And$outboundSchema.parse(and));
3586
3507
  }
3587
3508
 
3588
- /** @internal */
3589
- export type Exists$Outbound = {
3590
- exists: boolean;
3591
- };
3592
-
3593
- /** @internal */
3594
- export const Exists$outboundSchema: z.ZodType<
3595
- Exists$Outbound,
3596
- z.ZodTypeDef,
3597
- Exists
3598
- > = z.object({
3599
- exists: z.boolean(),
3600
- });
3601
-
3602
- export function existsToJSON(exists: Exists): string {
3603
- return JSON.stringify(Exists$outboundSchema.parse(exists));
3604
- }
3605
-
3606
3509
  /** @internal */
3607
3510
  export type OneNin$Outbound = string | number | boolean;
3608
3511
 
@@ -3788,8 +3691,7 @@ export type One$Outbound =
3788
3691
  | Lt$Outbound
3789
3692
  | Lte$Outbound
3790
3693
  | In$Outbound
3791
- | Nin$Outbound
3792
- | Exists$Outbound;
3694
+ | Nin$Outbound;
3793
3695
 
3794
3696
  /** @internal */
3795
3697
  export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
@@ -3802,7 +3704,6 @@ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
3802
3704
  z.lazy(() => Lte$outboundSchema),
3803
3705
  z.lazy(() => In$outboundSchema),
3804
3706
  z.lazy(() => Nin$outboundSchema),
3805
- z.lazy(() => Exists$outboundSchema),
3806
3707
  ]);
3807
3708
 
3808
3709
  export function oneToJSON(one: One): string {
@@ -3819,8 +3720,7 @@ export type KnowledgeFilter$Outbound = And$Outbound | Or$Outbound | {
3819
3720
  | Lt$Outbound
3820
3721
  | Lte$Outbound
3821
3722
  | In$Outbound
3822
- | Nin$Outbound
3823
- | Exists$Outbound;
3723
+ | Nin$Outbound;
3824
3724
  };
3825
3725
 
3826
3726
  /** @internal */
@@ -3840,7 +3740,6 @@ export const KnowledgeFilter$outboundSchema: z.ZodType<
3840
3740
  z.lazy(() => Lte$outboundSchema),
3841
3741
  z.lazy(() => In$outboundSchema),
3842
3742
  z.lazy(() => Nin$outboundSchema),
3843
- z.lazy(() => Exists$outboundSchema),
3844
3743
  ])),
3845
3744
  ]);
3846
3745
 
@@ -3889,8 +3788,7 @@ export type DeploymentGetConfigRequestBody$Outbound = {
3889
3788
  | Lt$Outbound
3890
3789
  | Lte$Outbound
3891
3790
  | In$Outbound
3892
- | Nin$Outbound
3893
- | Exists$Outbound;
3791
+ | Nin$Outbound;
3894
3792
  } | undefined;
3895
3793
  };
3896
3794
 
@@ -3940,7 +3838,6 @@ export const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<
3940
3838
  z.lazy(() => Lte$outboundSchema),
3941
3839
  z.lazy(() => In$outboundSchema),
3942
3840
  z.lazy(() => Nin$outboundSchema),
3943
- z.lazy(() => Exists$outboundSchema),
3944
3841
  ])),
3945
3842
  ]).optional(),
3946
3843
  }).transform((v) => {