@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
@@ -24,7 +24,7 @@ import { SearchType, SearchType$outboundSchema } from "./searchtype.js";
24
24
  /**
25
25
  * Exists
26
26
  */
27
- export type SearchKnowledgeRequestOrExists = {
27
+ export type OrExists = {
28
28
  exists: boolean;
29
29
  };
30
30
 
@@ -101,7 +101,7 @@ export type FilterByOr =
101
101
  | SearchKnowledgeRequestOrLte
102
102
  | SearchKnowledgeRequestOrFilterByIn
103
103
  | SearchKnowledgeRequestOrFilterByNin
104
- | SearchKnowledgeRequestOrExists;
104
+ | OrExists;
105
105
 
106
106
  /**
107
107
  * Or
@@ -118,7 +118,7 @@ export type SearchKnowledgeRequestFilterByOr = {
118
118
  | SearchKnowledgeRequestOrLte
119
119
  | SearchKnowledgeRequestOrFilterByIn
120
120
  | SearchKnowledgeRequestOrFilterByNin
121
- | SearchKnowledgeRequestOrExists;
121
+ | OrExists;
122
122
  }
123
123
  >;
124
124
  };
@@ -126,7 +126,7 @@ export type SearchKnowledgeRequestFilterByOr = {
126
126
  /**
127
127
  * Exists
128
128
  */
129
- export type SearchKnowledgeRequestAndExists = {
129
+ export type AndExists = {
130
130
  exists: boolean;
131
131
  };
132
132
 
@@ -203,7 +203,7 @@ export type FilterByAnd =
203
203
  | SearchKnowledgeRequestAndLte
204
204
  | SearchKnowledgeRequestAndFilterByIn
205
205
  | SearchKnowledgeRequestAndFilterByNin
206
- | SearchKnowledgeRequestAndExists;
206
+ | AndExists;
207
207
 
208
208
  /**
209
209
  * And
@@ -220,7 +220,7 @@ export type SearchKnowledgeRequestFilterByAnd = {
220
220
  | SearchKnowledgeRequestAndLte
221
221
  | SearchKnowledgeRequestAndFilterByIn
222
222
  | SearchKnowledgeRequestAndFilterByNin
223
- | SearchKnowledgeRequestAndExists;
223
+ | AndExists;
224
224
  }
225
225
  >;
226
226
  };
@@ -228,7 +228,7 @@ export type SearchKnowledgeRequestFilterByAnd = {
228
228
  /**
229
229
  * Exists
230
230
  */
231
- export type OneExists = {
231
+ export type Exists = {
232
232
  exists: boolean;
233
233
  };
234
234
 
@@ -305,7 +305,7 @@ export type FilterBy1 =
305
305
  | OneLte
306
306
  | SearchKnowledgeRequest1In
307
307
  | SearchKnowledgeRequest1Nin
308
- | OneExists;
308
+ | Exists;
309
309
 
310
310
  /**
311
311
  * 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.
@@ -323,7 +323,7 @@ export type FilterBy =
323
323
  | OneLte
324
324
  | SearchKnowledgeRequest1In
325
325
  | SearchKnowledgeRequest1Nin
326
- | OneExists;
326
+ | Exists;
327
327
  };
328
328
 
329
329
  export type AgenticRagConfig2 = {
@@ -407,7 +407,7 @@ export type SearchKnowledgeRequest = {
407
407
  | OneLte
408
408
  | SearchKnowledgeRequest1In
409
409
  | SearchKnowledgeRequest1Nin
410
- | OneExists;
410
+ | Exists;
411
411
  }
412
412
  | undefined;
413
413
  /**
@@ -429,27 +429,21 @@ export type SearchKnowledgeRequest = {
429
429
  };
430
430
 
431
431
  /** @internal */
432
- export type SearchKnowledgeRequestOrExists$Outbound = {
432
+ export type OrExists$Outbound = {
433
433
  exists: boolean;
434
434
  };
435
435
 
436
436
  /** @internal */
437
- export const SearchKnowledgeRequestOrExists$outboundSchema: z.ZodType<
438
- SearchKnowledgeRequestOrExists$Outbound,
437
+ export const OrExists$outboundSchema: z.ZodType<
438
+ OrExists$Outbound,
439
439
  z.ZodTypeDef,
440
- SearchKnowledgeRequestOrExists
440
+ OrExists
441
441
  > = z.object({
442
442
  exists: z.boolean(),
443
443
  });
444
444
 
445
- export function searchKnowledgeRequestOrExistsToJSON(
446
- searchKnowledgeRequestOrExists: SearchKnowledgeRequestOrExists,
447
- ): string {
448
- return JSON.stringify(
449
- SearchKnowledgeRequestOrExists$outboundSchema.parse(
450
- searchKnowledgeRequestOrExists,
451
- ),
452
- );
445
+ export function orExistsToJSON(orExists: OrExists): string {
446
+ return JSON.stringify(OrExists$outboundSchema.parse(orExists));
453
447
  }
454
448
 
455
449
  /** @internal */
@@ -724,7 +718,7 @@ export type FilterByOr$Outbound =
724
718
  | SearchKnowledgeRequestOrLte$Outbound
725
719
  | SearchKnowledgeRequestOrFilterByIn$Outbound
726
720
  | SearchKnowledgeRequestOrFilterByNin$Outbound
727
- | SearchKnowledgeRequestOrExists$Outbound;
721
+ | OrExists$Outbound;
728
722
 
729
723
  /** @internal */
730
724
  export const FilterByOr$outboundSchema: z.ZodType<
@@ -740,7 +734,7 @@ export const FilterByOr$outboundSchema: z.ZodType<
740
734
  z.lazy(() => SearchKnowledgeRequestOrLte$outboundSchema),
741
735
  z.lazy(() => SearchKnowledgeRequestOrFilterByIn$outboundSchema),
742
736
  z.lazy(() => SearchKnowledgeRequestOrFilterByNin$outboundSchema),
743
- z.lazy(() => SearchKnowledgeRequestOrExists$outboundSchema),
737
+ z.lazy(() => OrExists$outboundSchema),
744
738
  ]);
745
739
 
746
740
  export function filterByOrToJSON(filterByOr: FilterByOr): string {
@@ -760,7 +754,7 @@ export type SearchKnowledgeRequestFilterByOr$Outbound = {
760
754
  | SearchKnowledgeRequestOrLte$Outbound
761
755
  | SearchKnowledgeRequestOrFilterByIn$Outbound
762
756
  | SearchKnowledgeRequestOrFilterByNin$Outbound
763
- | SearchKnowledgeRequestOrExists$Outbound;
757
+ | OrExists$Outbound;
764
758
  }
765
759
  >;
766
760
  };
@@ -783,7 +777,7 @@ export const SearchKnowledgeRequestFilterByOr$outboundSchema: z.ZodType<
783
777
  z.lazy(() => SearchKnowledgeRequestOrLte$outboundSchema),
784
778
  z.lazy(() => SearchKnowledgeRequestOrFilterByIn$outboundSchema),
785
779
  z.lazy(() => SearchKnowledgeRequestOrFilterByNin$outboundSchema),
786
- z.lazy(() => SearchKnowledgeRequestOrExists$outboundSchema),
780
+ z.lazy(() => OrExists$outboundSchema),
787
781
  ])),
788
782
  ),
789
783
  });
@@ -799,27 +793,21 @@ export function searchKnowledgeRequestFilterByOrToJSON(
799
793
  }
800
794
 
801
795
  /** @internal */
802
- export type SearchKnowledgeRequestAndExists$Outbound = {
796
+ export type AndExists$Outbound = {
803
797
  exists: boolean;
804
798
  };
805
799
 
806
800
  /** @internal */
807
- export const SearchKnowledgeRequestAndExists$outboundSchema: z.ZodType<
808
- SearchKnowledgeRequestAndExists$Outbound,
801
+ export const AndExists$outboundSchema: z.ZodType<
802
+ AndExists$Outbound,
809
803
  z.ZodTypeDef,
810
- SearchKnowledgeRequestAndExists
804
+ AndExists
811
805
  > = z.object({
812
806
  exists: z.boolean(),
813
807
  });
814
808
 
815
- export function searchKnowledgeRequestAndExistsToJSON(
816
- searchKnowledgeRequestAndExists: SearchKnowledgeRequestAndExists,
817
- ): string {
818
- return JSON.stringify(
819
- SearchKnowledgeRequestAndExists$outboundSchema.parse(
820
- searchKnowledgeRequestAndExists,
821
- ),
822
- );
809
+ export function andExistsToJSON(andExists: AndExists): string {
810
+ return JSON.stringify(AndExists$outboundSchema.parse(andExists));
823
811
  }
824
812
 
825
813
  /** @internal */
@@ -1104,7 +1092,7 @@ export type FilterByAnd$Outbound =
1104
1092
  | SearchKnowledgeRequestAndLte$Outbound
1105
1093
  | SearchKnowledgeRequestAndFilterByIn$Outbound
1106
1094
  | SearchKnowledgeRequestAndFilterByNin$Outbound
1107
- | SearchKnowledgeRequestAndExists$Outbound;
1095
+ | AndExists$Outbound;
1108
1096
 
1109
1097
  /** @internal */
1110
1098
  export const FilterByAnd$outboundSchema: z.ZodType<
@@ -1120,7 +1108,7 @@ export const FilterByAnd$outboundSchema: z.ZodType<
1120
1108
  z.lazy(() => SearchKnowledgeRequestAndLte$outboundSchema),
1121
1109
  z.lazy(() => SearchKnowledgeRequestAndFilterByIn$outboundSchema),
1122
1110
  z.lazy(() => SearchKnowledgeRequestAndFilterByNin$outboundSchema),
1123
- z.lazy(() => SearchKnowledgeRequestAndExists$outboundSchema),
1111
+ z.lazy(() => AndExists$outboundSchema),
1124
1112
  ]);
1125
1113
 
1126
1114
  export function filterByAndToJSON(filterByAnd: FilterByAnd): string {
@@ -1140,7 +1128,7 @@ export type SearchKnowledgeRequestFilterByAnd$Outbound = {
1140
1128
  | SearchKnowledgeRequestAndLte$Outbound
1141
1129
  | SearchKnowledgeRequestAndFilterByIn$Outbound
1142
1130
  | SearchKnowledgeRequestAndFilterByNin$Outbound
1143
- | SearchKnowledgeRequestAndExists$Outbound;
1131
+ | AndExists$Outbound;
1144
1132
  }
1145
1133
  >;
1146
1134
  };
@@ -1163,7 +1151,7 @@ export const SearchKnowledgeRequestFilterByAnd$outboundSchema: z.ZodType<
1163
1151
  z.lazy(() => SearchKnowledgeRequestAndLte$outboundSchema),
1164
1152
  z.lazy(() => SearchKnowledgeRequestAndFilterByIn$outboundSchema),
1165
1153
  z.lazy(() => SearchKnowledgeRequestAndFilterByNin$outboundSchema),
1166
- z.lazy(() => SearchKnowledgeRequestAndExists$outboundSchema),
1154
+ z.lazy(() => AndExists$outboundSchema),
1167
1155
  ])),
1168
1156
  ),
1169
1157
  });
@@ -1179,21 +1167,21 @@ export function searchKnowledgeRequestFilterByAndToJSON(
1179
1167
  }
1180
1168
 
1181
1169
  /** @internal */
1182
- export type OneExists$Outbound = {
1170
+ export type Exists$Outbound = {
1183
1171
  exists: boolean;
1184
1172
  };
1185
1173
 
1186
1174
  /** @internal */
1187
- export const OneExists$outboundSchema: z.ZodType<
1188
- OneExists$Outbound,
1175
+ export const Exists$outboundSchema: z.ZodType<
1176
+ Exists$Outbound,
1189
1177
  z.ZodTypeDef,
1190
- OneExists
1178
+ Exists
1191
1179
  > = z.object({
1192
1180
  exists: z.boolean(),
1193
1181
  });
1194
1182
 
1195
- export function oneExistsToJSON(oneExists: OneExists): string {
1196
- return JSON.stringify(OneExists$outboundSchema.parse(oneExists));
1183
+ export function existsToJSON(exists: Exists): string {
1184
+ return JSON.stringify(Exists$outboundSchema.parse(exists));
1197
1185
  }
1198
1186
 
1199
1187
  /** @internal */
@@ -1422,7 +1410,7 @@ export type FilterBy1$Outbound =
1422
1410
  | OneLte$Outbound
1423
1411
  | SearchKnowledgeRequest1In$Outbound
1424
1412
  | SearchKnowledgeRequest1Nin$Outbound
1425
- | OneExists$Outbound;
1413
+ | Exists$Outbound;
1426
1414
 
1427
1415
  /** @internal */
1428
1416
  export const FilterBy1$outboundSchema: z.ZodType<
@@ -1438,7 +1426,7 @@ export const FilterBy1$outboundSchema: z.ZodType<
1438
1426
  z.lazy(() => OneLte$outboundSchema),
1439
1427
  z.lazy(() => SearchKnowledgeRequest1In$outboundSchema),
1440
1428
  z.lazy(() => SearchKnowledgeRequest1Nin$outboundSchema),
1441
- z.lazy(() => OneExists$outboundSchema),
1429
+ z.lazy(() => Exists$outboundSchema),
1442
1430
  ]);
1443
1431
 
1444
1432
  export function filterBy1ToJSON(filterBy1: FilterBy1): string {
@@ -1459,7 +1447,7 @@ export type FilterBy$Outbound =
1459
1447
  | OneLte$Outbound
1460
1448
  | SearchKnowledgeRequest1In$Outbound
1461
1449
  | SearchKnowledgeRequest1Nin$Outbound
1462
- | OneExists$Outbound;
1450
+ | Exists$Outbound;
1463
1451
  };
1464
1452
 
1465
1453
  /** @internal */
@@ -1479,7 +1467,7 @@ export const FilterBy$outboundSchema: z.ZodType<
1479
1467
  z.lazy(() => OneLte$outboundSchema),
1480
1468
  z.lazy(() => SearchKnowledgeRequest1In$outboundSchema),
1481
1469
  z.lazy(() => SearchKnowledgeRequest1Nin$outboundSchema),
1482
- z.lazy(() => OneExists$outboundSchema),
1470
+ z.lazy(() => Exists$outboundSchema),
1483
1471
  ])),
1484
1472
  ]);
1485
1473
 
@@ -1598,7 +1586,7 @@ export type SearchKnowledgeRequest$Outbound = {
1598
1586
  | OneLte$Outbound
1599
1587
  | SearchKnowledgeRequest1In$Outbound
1600
1588
  | SearchKnowledgeRequest1Nin$Outbound
1601
- | OneExists$Outbound;
1589
+ | Exists$Outbound;
1602
1590
  }
1603
1591
  | undefined;
1604
1592
  search_options?: SearchOptions$Outbound | undefined;
@@ -1634,7 +1622,7 @@ export const SearchKnowledgeRequest$outboundSchema: z.ZodType<
1634
1622
  z.lazy(() => OneLte$outboundSchema),
1635
1623
  z.lazy(() => SearchKnowledgeRequest1In$outboundSchema),
1636
1624
  z.lazy(() => SearchKnowledgeRequest1Nin$outboundSchema),
1637
- z.lazy(() => OneExists$outboundSchema),
1625
+ z.lazy(() => Exists$outboundSchema),
1638
1626
  ]),
1639
1627
  ),
1640
1628
  ]).optional(),
@@ -151,7 +151,7 @@ export const CreateAnnotationQueueResponseBody$inboundSchema: z.ZodType<
151
151
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
152
152
  .optional(),
153
153
  updated: z.string().datetime({ offset: true }).default(
154
- "2026-08-19T10:58:01.279Z",
154
+ "2026-08-20T04:17:06.109Z",
155
155
  ).transform(v => new Date(v)),
156
156
  }).transform((v) => {
157
157
  return remap$(v, {
@@ -929,13 +929,6 @@ export const SearchType = {
929
929
  */
930
930
  export type SearchType = ClosedEnum<typeof SearchType>;
931
931
 
932
- /**
933
- * Exists
934
- */
935
- export type CreateChatCompletionOrExists = {
936
- exists: boolean;
937
- };
938
-
939
932
  export type CreateChatCompletionOrRouterChatCompletionsNin =
940
933
  | string
941
934
  | number
@@ -1020,8 +1013,7 @@ export type CreateChatCompletionFilterByOr =
1020
1013
  | CreateChatCompletionOrLt
1021
1014
  | CreateChatCompletionOrLte
1022
1015
  | CreateChatCompletionOrIn
1023
- | CreateChatCompletionOrNin
1024
- | CreateChatCompletionOrExists;
1016
+ | CreateChatCompletionOrNin;
1025
1017
 
1026
1018
  /**
1027
1019
  * Or
@@ -1037,19 +1029,11 @@ export type FilterByOr = {
1037
1029
  | CreateChatCompletionOrLt
1038
1030
  | CreateChatCompletionOrLte
1039
1031
  | CreateChatCompletionOrIn
1040
- | CreateChatCompletionOrNin
1041
- | CreateChatCompletionOrExists;
1032
+ | CreateChatCompletionOrNin;
1042
1033
  }
1043
1034
  >;
1044
1035
  };
1045
1036
 
1046
- /**
1047
- * Exists
1048
- */
1049
- export type CreateChatCompletionAndExists = {
1050
- exists: boolean;
1051
- };
1052
-
1053
1037
  export type CreateChatCompletionAndRouterChatCompletionsNin =
1054
1038
  | string
1055
1039
  | number
@@ -1134,8 +1118,7 @@ export type CreateChatCompletionFilterByAnd =
1134
1118
  | CreateChatCompletionAndLt
1135
1119
  | CreateChatCompletionAndLte
1136
1120
  | CreateChatCompletionAndIn
1137
- | CreateChatCompletionAndNin
1138
- | CreateChatCompletionAndExists;
1121
+ | CreateChatCompletionAndNin;
1139
1122
 
1140
1123
  /**
1141
1124
  * And
@@ -1151,19 +1134,11 @@ export type FilterByAnd = {
1151
1134
  | CreateChatCompletionAndLt
1152
1135
  | CreateChatCompletionAndLte
1153
1136
  | CreateChatCompletionAndIn
1154
- | CreateChatCompletionAndNin
1155
- | CreateChatCompletionAndExists;
1137
+ | CreateChatCompletionAndNin;
1156
1138
  }
1157
1139
  >;
1158
1140
  };
1159
1141
 
1160
- /**
1161
- * Exists
1162
- */
1163
- export type CreateChatCompletion1Exists = {
1164
- exists: boolean;
1165
- };
1166
-
1167
1142
  export type CreateChatCompletion1RouterChatCompletionsNin =
1168
1143
  | string
1169
1144
  | number
@@ -1248,8 +1223,7 @@ export type FilterBy1 =
1248
1223
  | CreateChatCompletion1Lt
1249
1224
  | CreateChatCompletion1Lte
1250
1225
  | CreateChatCompletion1In
1251
- | CreateChatCompletion1Nin
1252
- | CreateChatCompletion1Exists;
1226
+ | CreateChatCompletion1Nin;
1253
1227
 
1254
1228
  /**
1255
1229
  * 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.
@@ -1263,8 +1237,7 @@ export type FilterBy = FilterByAnd | FilterByOr | {
1263
1237
  | CreateChatCompletion1Lt
1264
1238
  | CreateChatCompletion1Lte
1265
1239
  | CreateChatCompletion1In
1266
- | CreateChatCompletion1Nin
1267
- | CreateChatCompletion1Exists;
1240
+ | CreateChatCompletion1Nin;
1268
1241
  };
1269
1242
 
1270
1243
  /**
@@ -1338,8 +1311,7 @@ export type CreateChatCompletionKnowledgeBases = {
1338
1311
  | CreateChatCompletion1Lt
1339
1312
  | CreateChatCompletion1Lte
1340
1313
  | CreateChatCompletion1In
1341
- | CreateChatCompletion1Nin
1342
- | CreateChatCompletion1Exists;
1314
+ | CreateChatCompletion1Nin;
1343
1315
  } | undefined;
1344
1316
  /**
1345
1317
  * Additional search options
@@ -3888,30 +3860,6 @@ export function createChatCompletionRouterChatCompletionsCacheToJSON(
3888
3860
  export const SearchType$outboundSchema: z.ZodNativeEnum<typeof SearchType> = z
3889
3861
  .nativeEnum(SearchType);
3890
3862
 
3891
- /** @internal */
3892
- export type CreateChatCompletionOrExists$Outbound = {
3893
- exists: boolean;
3894
- };
3895
-
3896
- /** @internal */
3897
- export const CreateChatCompletionOrExists$outboundSchema: z.ZodType<
3898
- CreateChatCompletionOrExists$Outbound,
3899
- z.ZodTypeDef,
3900
- CreateChatCompletionOrExists
3901
- > = z.object({
3902
- exists: z.boolean(),
3903
- });
3904
-
3905
- export function createChatCompletionOrExistsToJSON(
3906
- createChatCompletionOrExists: CreateChatCompletionOrExists,
3907
- ): string {
3908
- return JSON.stringify(
3909
- CreateChatCompletionOrExists$outboundSchema.parse(
3910
- createChatCompletionOrExists,
3911
- ),
3912
- );
3913
- }
3914
-
3915
3863
  /** @internal */
3916
3864
  export type CreateChatCompletionOrRouterChatCompletionsNin$Outbound =
3917
3865
  | string
@@ -4197,8 +4145,7 @@ export type CreateChatCompletionFilterByOr$Outbound =
4197
4145
  | CreateChatCompletionOrLt$Outbound
4198
4146
  | CreateChatCompletionOrLte$Outbound
4199
4147
  | CreateChatCompletionOrIn$Outbound
4200
- | CreateChatCompletionOrNin$Outbound
4201
- | CreateChatCompletionOrExists$Outbound;
4148
+ | CreateChatCompletionOrNin$Outbound;
4202
4149
 
4203
4150
  /** @internal */
4204
4151
  export const CreateChatCompletionFilterByOr$outboundSchema: z.ZodType<
@@ -4214,7 +4161,6 @@ export const CreateChatCompletionFilterByOr$outboundSchema: z.ZodType<
4214
4161
  z.lazy(() => CreateChatCompletionOrLte$outboundSchema),
4215
4162
  z.lazy(() => CreateChatCompletionOrIn$outboundSchema),
4216
4163
  z.lazy(() => CreateChatCompletionOrNin$outboundSchema),
4217
- z.lazy(() => CreateChatCompletionOrExists$outboundSchema),
4218
4164
  ]);
4219
4165
 
4220
4166
  export function createChatCompletionFilterByOrToJSON(
@@ -4239,8 +4185,7 @@ export type FilterByOr$Outbound = {
4239
4185
  | CreateChatCompletionOrLt$Outbound
4240
4186
  | CreateChatCompletionOrLte$Outbound
4241
4187
  | CreateChatCompletionOrIn$Outbound
4242
- | CreateChatCompletionOrNin$Outbound
4243
- | CreateChatCompletionOrExists$Outbound;
4188
+ | CreateChatCompletionOrNin$Outbound;
4244
4189
  }
4245
4190
  >;
4246
4191
  };
@@ -4263,7 +4208,6 @@ export const FilterByOr$outboundSchema: z.ZodType<
4263
4208
  z.lazy(() => CreateChatCompletionOrLte$outboundSchema),
4264
4209
  z.lazy(() => CreateChatCompletionOrIn$outboundSchema),
4265
4210
  z.lazy(() => CreateChatCompletionOrNin$outboundSchema),
4266
- z.lazy(() => CreateChatCompletionOrExists$outboundSchema),
4267
4211
  ])),
4268
4212
  ),
4269
4213
  });
@@ -4272,30 +4216,6 @@ export function filterByOrToJSON(filterByOr: FilterByOr): string {
4272
4216
  return JSON.stringify(FilterByOr$outboundSchema.parse(filterByOr));
4273
4217
  }
4274
4218
 
4275
- /** @internal */
4276
- export type CreateChatCompletionAndExists$Outbound = {
4277
- exists: boolean;
4278
- };
4279
-
4280
- /** @internal */
4281
- export const CreateChatCompletionAndExists$outboundSchema: z.ZodType<
4282
- CreateChatCompletionAndExists$Outbound,
4283
- z.ZodTypeDef,
4284
- CreateChatCompletionAndExists
4285
- > = z.object({
4286
- exists: z.boolean(),
4287
- });
4288
-
4289
- export function createChatCompletionAndExistsToJSON(
4290
- createChatCompletionAndExists: CreateChatCompletionAndExists,
4291
- ): string {
4292
- return JSON.stringify(
4293
- CreateChatCompletionAndExists$outboundSchema.parse(
4294
- createChatCompletionAndExists,
4295
- ),
4296
- );
4297
- }
4298
-
4299
4219
  /** @internal */
4300
4220
  export type CreateChatCompletionAndRouterChatCompletionsNin$Outbound =
4301
4221
  | string
@@ -4581,8 +4501,7 @@ export type CreateChatCompletionFilterByAnd$Outbound =
4581
4501
  | CreateChatCompletionAndLt$Outbound
4582
4502
  | CreateChatCompletionAndLte$Outbound
4583
4503
  | CreateChatCompletionAndIn$Outbound
4584
- | CreateChatCompletionAndNin$Outbound
4585
- | CreateChatCompletionAndExists$Outbound;
4504
+ | CreateChatCompletionAndNin$Outbound;
4586
4505
 
4587
4506
  /** @internal */
4588
4507
  export const CreateChatCompletionFilterByAnd$outboundSchema: z.ZodType<
@@ -4598,7 +4517,6 @@ export const CreateChatCompletionFilterByAnd$outboundSchema: z.ZodType<
4598
4517
  z.lazy(() => CreateChatCompletionAndLte$outboundSchema),
4599
4518
  z.lazy(() => CreateChatCompletionAndIn$outboundSchema),
4600
4519
  z.lazy(() => CreateChatCompletionAndNin$outboundSchema),
4601
- z.lazy(() => CreateChatCompletionAndExists$outboundSchema),
4602
4520
  ]);
4603
4521
 
4604
4522
  export function createChatCompletionFilterByAndToJSON(
@@ -4623,8 +4541,7 @@ export type FilterByAnd$Outbound = {
4623
4541
  | CreateChatCompletionAndLt$Outbound
4624
4542
  | CreateChatCompletionAndLte$Outbound
4625
4543
  | CreateChatCompletionAndIn$Outbound
4626
- | CreateChatCompletionAndNin$Outbound
4627
- | CreateChatCompletionAndExists$Outbound;
4544
+ | CreateChatCompletionAndNin$Outbound;
4628
4545
  }
4629
4546
  >;
4630
4547
  };
@@ -4647,7 +4564,6 @@ export const FilterByAnd$outboundSchema: z.ZodType<
4647
4564
  z.lazy(() => CreateChatCompletionAndLte$outboundSchema),
4648
4565
  z.lazy(() => CreateChatCompletionAndIn$outboundSchema),
4649
4566
  z.lazy(() => CreateChatCompletionAndNin$outboundSchema),
4650
- z.lazy(() => CreateChatCompletionAndExists$outboundSchema),
4651
4567
  ])),
4652
4568
  ),
4653
4569
  });
@@ -4656,30 +4572,6 @@ export function filterByAndToJSON(filterByAnd: FilterByAnd): string {
4656
4572
  return JSON.stringify(FilterByAnd$outboundSchema.parse(filterByAnd));
4657
4573
  }
4658
4574
 
4659
- /** @internal */
4660
- export type CreateChatCompletion1Exists$Outbound = {
4661
- exists: boolean;
4662
- };
4663
-
4664
- /** @internal */
4665
- export const CreateChatCompletion1Exists$outboundSchema: z.ZodType<
4666
- CreateChatCompletion1Exists$Outbound,
4667
- z.ZodTypeDef,
4668
- CreateChatCompletion1Exists
4669
- > = z.object({
4670
- exists: z.boolean(),
4671
- });
4672
-
4673
- export function createChatCompletion1ExistsToJSON(
4674
- createChatCompletion1Exists: CreateChatCompletion1Exists,
4675
- ): string {
4676
- return JSON.stringify(
4677
- CreateChatCompletion1Exists$outboundSchema.parse(
4678
- createChatCompletion1Exists,
4679
- ),
4680
- );
4681
- }
4682
-
4683
4575
  /** @internal */
4684
4576
  export type CreateChatCompletion1RouterChatCompletionsNin$Outbound =
4685
4577
  | string
@@ -4965,8 +4857,7 @@ export type FilterBy1$Outbound =
4965
4857
  | CreateChatCompletion1Lt$Outbound
4966
4858
  | CreateChatCompletion1Lte$Outbound
4967
4859
  | CreateChatCompletion1In$Outbound
4968
- | CreateChatCompletion1Nin$Outbound
4969
- | CreateChatCompletion1Exists$Outbound;
4860
+ | CreateChatCompletion1Nin$Outbound;
4970
4861
 
4971
4862
  /** @internal */
4972
4863
  export const FilterBy1$outboundSchema: z.ZodType<
@@ -4982,7 +4873,6 @@ export const FilterBy1$outboundSchema: z.ZodType<
4982
4873
  z.lazy(() => CreateChatCompletion1Lte$outboundSchema),
4983
4874
  z.lazy(() => CreateChatCompletion1In$outboundSchema),
4984
4875
  z.lazy(() => CreateChatCompletion1Nin$outboundSchema),
4985
- z.lazy(() => CreateChatCompletion1Exists$outboundSchema),
4986
4876
  ]);
4987
4877
 
4988
4878
  export function filterBy1ToJSON(filterBy1: FilterBy1): string {
@@ -4999,8 +4889,7 @@ export type FilterBy$Outbound = FilterByAnd$Outbound | FilterByOr$Outbound | {
4999
4889
  | CreateChatCompletion1Lt$Outbound
5000
4890
  | CreateChatCompletion1Lte$Outbound
5001
4891
  | CreateChatCompletion1In$Outbound
5002
- | CreateChatCompletion1Nin$Outbound
5003
- | CreateChatCompletion1Exists$Outbound;
4892
+ | CreateChatCompletion1Nin$Outbound;
5004
4893
  };
5005
4894
 
5006
4895
  /** @internal */
@@ -5020,7 +4909,6 @@ export const FilterBy$outboundSchema: z.ZodType<
5020
4909
  z.lazy(() => CreateChatCompletion1Lte$outboundSchema),
5021
4910
  z.lazy(() => CreateChatCompletion1In$outboundSchema),
5022
4911
  z.lazy(() => CreateChatCompletion1Nin$outboundSchema),
5023
- z.lazy(() => CreateChatCompletion1Exists$outboundSchema),
5024
4912
  ])),
5025
4913
  ]);
5026
4914
 
@@ -5118,8 +5006,7 @@ export type CreateChatCompletionKnowledgeBases$Outbound = {
5118
5006
  | CreateChatCompletion1Lt$Outbound
5119
5007
  | CreateChatCompletion1Lte$Outbound
5120
5008
  | CreateChatCompletion1In$Outbound
5121
- | CreateChatCompletion1Nin$Outbound
5122
- | CreateChatCompletion1Exists$Outbound;
5009
+ | CreateChatCompletion1Nin$Outbound;
5123
5010
  } | undefined;
5124
5011
  search_options?: SearchOptions$Outbound | undefined;
5125
5012
  rerank_config?: RerankConfig$Outbound | undefined;
@@ -5149,7 +5036,6 @@ export const CreateChatCompletionKnowledgeBases$outboundSchema: z.ZodType<
5149
5036
  z.lazy(() => CreateChatCompletion1Lte$outboundSchema),
5150
5037
  z.lazy(() => CreateChatCompletion1In$outboundSchema),
5151
5038
  z.lazy(() => CreateChatCompletion1Nin$outboundSchema),
5152
- z.lazy(() => CreateChatCompletion1Exists$outboundSchema),
5153
5039
  ])),
5154
5040
  ]).optional(),
5155
5041
  searchOptions: z.lazy(() => SearchOptions$outboundSchema).optional(),