@orq-ai/node 4.0.0-rc.30 → 4.0.0-rc.33

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 (240) hide show
  1. package/README.md +25 -23
  2. package/bin/mcp-server.js +2434 -902
  3. package/bin/mcp-server.js.map +64 -61
  4. package/docs/sdks/deployments/README.md +43 -43
  5. package/docs/sdks/tools/README.md +93 -12
  6. package/examples/package-lock.json +1 -1
  7. package/funcs/deploymentsInvoke.d.ts +1 -1
  8. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  9. package/funcs/deploymentsInvoke.js +1 -1
  10. package/funcs/deploymentsInvoke.js.map +1 -1
  11. package/funcs/toolsCreate.d.ts +2 -1
  12. package/funcs/toolsCreate.d.ts.map +1 -1
  13. package/funcs/toolsCreate.js +6 -2
  14. package/funcs/toolsCreate.js.map +1 -1
  15. package/funcs/toolsSync.d.ts +18 -0
  16. package/funcs/toolsSync.d.ts.map +1 -0
  17. package/funcs/toolsSync.js +123 -0
  18. package/funcs/toolsSync.js.map +1 -0
  19. package/jsr.json +1 -1
  20. package/lib/config.d.ts +3 -3
  21. package/lib/config.js +3 -3
  22. package/mcp-server/mcp-server.js +1 -1
  23. package/mcp-server/server.d.ts.map +1 -1
  24. package/mcp-server/server.js +4 -2
  25. package/mcp-server/server.js.map +1 -1
  26. package/mcp-server/tools/deploymentsInvoke.d.ts +1 -1
  27. package/mcp-server/tools/deploymentsInvoke.js +1 -1
  28. package/mcp-server/tools/deploymentsInvoke.js.map +1 -1
  29. package/mcp-server/tools/toolsSync.d.ts +8 -0
  30. package/mcp-server/tools/toolsSync.d.ts.map +1 -0
  31. package/mcp-server/tools/toolsSync.js +64 -0
  32. package/mcp-server/tools/toolsSync.js.map +1 -0
  33. package/models/components/index.d.ts +1 -1
  34. package/models/components/index.d.ts.map +1 -1
  35. package/models/components/index.js +1 -1
  36. package/models/components/index.js.map +1 -1
  37. package/models/components/{deployments.d.ts → invokedeploymentrequest.d.ts} +280 -266
  38. package/models/components/invokedeploymentrequest.d.ts.map +1 -0
  39. package/models/components/{deployments.js → invokedeploymentrequest.js} +377 -363
  40. package/models/components/invokedeploymentrequest.js.map +1 -0
  41. package/models/operations/createagent.d.ts +53 -24
  42. package/models/operations/createagent.d.ts.map +1 -1
  43. package/models/operations/createagent.js +51 -25
  44. package/models/operations/createagent.js.map +1 -1
  45. package/models/operations/createbudget.js +2 -2
  46. package/models/operations/createcontact.js +2 -2
  47. package/models/operations/createdataset.js +2 -2
  48. package/models/operations/createdatasetitem.js +8 -8
  49. package/models/operations/createdatasource.js +2 -2
  50. package/models/operations/createeval.js +28 -28
  51. package/models/operations/createprompt.d.ts +2 -0
  52. package/models/operations/createprompt.d.ts.map +1 -1
  53. package/models/operations/createprompt.js +2 -0
  54. package/models/operations/createprompt.js.map +1 -1
  55. package/models/operations/createtool.d.ts +373 -144
  56. package/models/operations/createtool.d.ts.map +1 -1
  57. package/models/operations/createtool.js +332 -133
  58. package/models/operations/createtool.js.map +1 -1
  59. package/models/operations/deploymentgetconfig.d.ts +50 -40
  60. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  61. package/models/operations/deploymentgetconfig.js +55 -54
  62. package/models/operations/deploymentgetconfig.js.map +1 -1
  63. package/models/operations/deploymentinvoke.d.ts +15 -15
  64. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  65. package/models/operations/deploymentinvoke.js +17 -17
  66. package/models/operations/deploymentinvoke.js.map +1 -1
  67. package/models/operations/deployments.d.ts +1 -0
  68. package/models/operations/deployments.d.ts.map +1 -1
  69. package/models/operations/deployments.js +1 -0
  70. package/models/operations/deployments.js.map +1 -1
  71. package/models/operations/deploymentstream.d.ts +41 -32
  72. package/models/operations/deploymentstream.d.ts.map +1 -1
  73. package/models/operations/deploymentstream.js +42 -41
  74. package/models/operations/deploymentstream.js.map +1 -1
  75. package/models/operations/duplicateagent.d.ts +0 -19
  76. package/models/operations/duplicateagent.d.ts.map +1 -1
  77. package/models/operations/duplicateagent.js +3 -21
  78. package/models/operations/duplicateagent.js.map +1 -1
  79. package/models/operations/duplicatetool.d.ts +189 -49
  80. package/models/operations/duplicatetool.d.ts.map +1 -1
  81. package/models/operations/duplicatetool.js +172 -44
  82. package/models/operations/duplicatetool.js.map +1 -1
  83. package/models/operations/fileget.js +2 -2
  84. package/models/operations/filelist.js +2 -2
  85. package/models/operations/fileupload.js +2 -2
  86. package/models/operations/getagent.d.ts +0 -19
  87. package/models/operations/getagent.d.ts.map +1 -1
  88. package/models/operations/getagent.js +3 -20
  89. package/models/operations/getagent.js.map +1 -1
  90. package/models/operations/getallprompts.d.ts +1 -0
  91. package/models/operations/getallprompts.d.ts.map +1 -1
  92. package/models/operations/getallprompts.js +1 -0
  93. package/models/operations/getallprompts.js.map +1 -1
  94. package/models/operations/getalltools.d.ts +194 -54
  95. package/models/operations/getalltools.d.ts.map +1 -1
  96. package/models/operations/getalltools.js +176 -51
  97. package/models/operations/getalltools.js.map +1 -1
  98. package/models/operations/getbudget.js +2 -2
  99. package/models/operations/getevals.js +28 -28
  100. package/models/operations/getoneprompt.d.ts +1 -0
  101. package/models/operations/getoneprompt.d.ts.map +1 -1
  102. package/models/operations/getoneprompt.js +1 -0
  103. package/models/operations/getoneprompt.js.map +1 -1
  104. package/models/operations/getpromptversion.d.ts +1 -0
  105. package/models/operations/getpromptversion.d.ts.map +1 -1
  106. package/models/operations/getpromptversion.js +1 -0
  107. package/models/operations/getpromptversion.js.map +1 -1
  108. package/models/operations/index.d.ts +1 -0
  109. package/models/operations/index.d.ts.map +1 -1
  110. package/models/operations/index.js +1 -0
  111. package/models/operations/index.js.map +1 -1
  112. package/models/operations/listagents.d.ts +0 -19
  113. package/models/operations/listagents.d.ts.map +1 -1
  114. package/models/operations/listagents.js +3 -22
  115. package/models/operations/listagents.js.map +1 -1
  116. package/models/operations/listbudgets.js +2 -2
  117. package/models/operations/listcontacts.js +2 -2
  118. package/models/operations/listdatasetdatapoints.js +8 -8
  119. package/models/operations/listdatasets.js +2 -2
  120. package/models/operations/listdatasources.js +2 -2
  121. package/models/operations/listpromptversions.d.ts +1 -0
  122. package/models/operations/listpromptversions.d.ts.map +1 -1
  123. package/models/operations/listpromptversions.js +1 -0
  124. package/models/operations/listpromptversions.js.map +1 -1
  125. package/models/operations/retrievecontact.js +2 -2
  126. package/models/operations/retrievedatapoint.js +8 -8
  127. package/models/operations/retrievedataset.js +2 -2
  128. package/models/operations/retrievedatasource.js +2 -2
  129. package/models/operations/retrievetool.d.ts +189 -49
  130. package/models/operations/retrievetool.d.ts.map +1 -1
  131. package/models/operations/retrievetool.js +172 -44
  132. package/models/operations/retrievetool.js.map +1 -1
  133. package/models/operations/runagent.d.ts +279 -23
  134. package/models/operations/runagent.d.ts.map +1 -1
  135. package/models/operations/runagent.js +274 -15
  136. package/models/operations/runagent.js.map +1 -1
  137. package/models/operations/searchknowledge.d.ts +41 -32
  138. package/models/operations/searchknowledge.d.ts.map +1 -1
  139. package/models/operations/searchknowledge.js +40 -40
  140. package/models/operations/searchknowledge.js.map +1 -1
  141. package/models/operations/streamrunagent.d.ts +282 -26
  142. package/models/operations/streamrunagent.d.ts.map +1 -1
  143. package/models/operations/streamrunagent.js +268 -22
  144. package/models/operations/streamrunagent.js.map +1 -1
  145. package/models/operations/syncmcptool.d.ts +1113 -0
  146. package/models/operations/syncmcptool.d.ts.map +1 -0
  147. package/models/operations/syncmcptool.js +1070 -0
  148. package/models/operations/syncmcptool.js.map +1 -0
  149. package/models/operations/updateagent.d.ts +53 -43
  150. package/models/operations/updateagent.d.ts.map +1 -1
  151. package/models/operations/updateagent.js +52 -43
  152. package/models/operations/updateagent.js.map +1 -1
  153. package/models/operations/updatebudget.js +2 -2
  154. package/models/operations/updatecontact.js +2 -2
  155. package/models/operations/updatedatapoint.js +8 -8
  156. package/models/operations/updatedataset.js +2 -2
  157. package/models/operations/updatedatasource.js +2 -2
  158. package/models/operations/updateeval.js +28 -28
  159. package/models/operations/updateprompt.d.ts +2 -0
  160. package/models/operations/updateprompt.d.ts.map +1 -1
  161. package/models/operations/updateprompt.js +2 -0
  162. package/models/operations/updateprompt.js.map +1 -1
  163. package/models/operations/updatetool.d.ts +394 -114
  164. package/models/operations/updatetool.d.ts.map +1 -1
  165. package/models/operations/updatetool.js +356 -95
  166. package/models/operations/updatetool.js.map +1 -1
  167. package/package.json +1 -1
  168. package/sdk/deployments.d.ts +7 -7
  169. package/sdk/deployments.d.ts.map +1 -1
  170. package/sdk/deployments.js +9 -9
  171. package/sdk/deployments.js.map +1 -1
  172. package/sdk/tools.d.ts +7 -0
  173. package/sdk/tools.d.ts.map +1 -1
  174. package/sdk/tools.js +10 -0
  175. package/sdk/tools.js.map +1 -1
  176. package/src/funcs/deploymentsInvoke.ts +3 -3
  177. package/src/funcs/toolsCreate.ts +11 -2
  178. package/src/funcs/toolsSync.ts +176 -0
  179. package/src/lib/config.ts +3 -3
  180. package/src/mcp-server/mcp-server.ts +1 -1
  181. package/src/mcp-server/server.ts +4 -2
  182. package/src/mcp-server/tools/deploymentsInvoke.ts +1 -1
  183. package/src/mcp-server/tools/toolsSync.ts +37 -0
  184. package/src/models/components/index.ts +1 -1
  185. package/src/models/components/{deployments.ts → invokedeploymentrequest.ts} +822 -728
  186. package/src/models/operations/createagent.ts +114 -40
  187. package/src/models/operations/createbudget.ts +2 -2
  188. package/src/models/operations/createcontact.ts +2 -2
  189. package/src/models/operations/createdataset.ts +2 -2
  190. package/src/models/operations/createdatasetitem.ts +8 -8
  191. package/src/models/operations/createdatasource.ts +2 -2
  192. package/src/models/operations/createeval.ts +28 -28
  193. package/src/models/operations/createprompt.ts +2 -0
  194. package/src/models/operations/createtool.ts +873 -277
  195. package/src/models/operations/deploymentgetconfig.ts +107 -86
  196. package/src/models/operations/deploymentinvoke.ts +35 -35
  197. package/src/models/operations/deployments.ts +1 -0
  198. package/src/models/operations/deploymentstream.ts +80 -78
  199. package/src/models/operations/duplicateagent.ts +0 -37
  200. package/src/models/operations/duplicatetool.ts +466 -87
  201. package/src/models/operations/fileget.ts +2 -2
  202. package/src/models/operations/filelist.ts +2 -2
  203. package/src/models/operations/fileupload.ts +2 -2
  204. package/src/models/operations/getagent.ts +0 -38
  205. package/src/models/operations/getallprompts.ts +1 -0
  206. package/src/models/operations/getalltools.ts +447 -96
  207. package/src/models/operations/getbudget.ts +2 -2
  208. package/src/models/operations/getevals.ts +28 -28
  209. package/src/models/operations/getoneprompt.ts +1 -0
  210. package/src/models/operations/getpromptversion.ts +1 -0
  211. package/src/models/operations/index.ts +1 -0
  212. package/src/models/operations/listagents.ts +0 -37
  213. package/src/models/operations/listbudgets.ts +2 -2
  214. package/src/models/operations/listcontacts.ts +2 -2
  215. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  216. package/src/models/operations/listdatasets.ts +2 -2
  217. package/src/models/operations/listdatasources.ts +2 -2
  218. package/src/models/operations/listpromptversions.ts +1 -0
  219. package/src/models/operations/retrievecontact.ts +2 -2
  220. package/src/models/operations/retrievedatapoint.ts +8 -8
  221. package/src/models/operations/retrievedataset.ts +2 -2
  222. package/src/models/operations/retrievedatasource.ts +2 -2
  223. package/src/models/operations/retrievetool.ts +466 -85
  224. package/src/models/operations/runagent.ts +656 -25
  225. package/src/models/operations/searchknowledge.ts +79 -70
  226. package/src/models/operations/streamrunagent.ts +749 -34
  227. package/src/models/operations/syncmcptool.ts +2599 -0
  228. package/src/models/operations/updateagent.ts +121 -77
  229. package/src/models/operations/updatebudget.ts +2 -2
  230. package/src/models/operations/updatecontact.ts +2 -2
  231. package/src/models/operations/updatedatapoint.ts +8 -8
  232. package/src/models/operations/updatedataset.ts +2 -2
  233. package/src/models/operations/updatedatasource.ts +2 -2
  234. package/src/models/operations/updateeval.ts +28 -28
  235. package/src/models/operations/updateprompt.ts +2 -0
  236. package/src/models/operations/updatetool.ts +910 -190
  237. package/src/sdk/deployments.ts +17 -17
  238. package/src/sdk/tools.ts +18 -0
  239. package/models/components/deployments.d.ts.map +0 -1
  240. package/models/components/deployments.js.map +0 -1
@@ -1041,7 +1041,10 @@ export type OrGte = {
1041
1041
  gte: number;
1042
1042
  };
1043
1043
 
1044
- export type Or3 = {
1044
+ /**
1045
+ * Greater than
1046
+ */
1047
+ export type OrGt = {
1045
1048
  gt: number;
1046
1049
  };
1047
1050
 
@@ -1066,7 +1069,7 @@ export type OrEq = {
1066
1069
  export type KnowledgeFilterOr =
1067
1070
  | OrEq
1068
1071
  | OrNe
1069
- | Or3
1072
+ | OrGt
1070
1073
  | OrGte
1071
1074
  | OrLt
1072
1075
  | OrLte
@@ -1083,7 +1086,7 @@ export type Or = {
1083
1086
  [k: string]:
1084
1087
  | OrEq
1085
1088
  | OrNe
1086
- | Or3
1089
+ | OrGt
1087
1090
  | OrGte
1088
1091
  | OrLt
1089
1092
  | OrLte
@@ -1140,7 +1143,10 @@ export type AndGte = {
1140
1143
  gte: number;
1141
1144
  };
1142
1145
 
1143
- export type And3 = {
1146
+ /**
1147
+ * Greater than
1148
+ */
1149
+ export type AndGt = {
1144
1150
  gt: number;
1145
1151
  };
1146
1152
 
@@ -1165,7 +1171,7 @@ export type AndEq = {
1165
1171
  export type KnowledgeFilterAnd =
1166
1172
  | AndEq
1167
1173
  | AndNe
1168
- | And3
1174
+ | AndGt
1169
1175
  | AndGte
1170
1176
  | AndLt
1171
1177
  | AndLte
@@ -1182,7 +1188,7 @@ export type And = {
1182
1188
  [k: string]:
1183
1189
  | AndEq
1184
1190
  | AndNe
1185
- | And3
1191
+ | AndGt
1186
1192
  | AndGte
1187
1193
  | AndLt
1188
1194
  | AndLte
@@ -1239,7 +1245,10 @@ export type Gte = {
1239
1245
  gte: number;
1240
1246
  };
1241
1247
 
1242
- export type One3 = {
1248
+ /**
1249
+ * Greater than
1250
+ */
1251
+ export type Gt = {
1243
1252
  gt: number;
1244
1253
  };
1245
1254
 
@@ -1264,7 +1273,7 @@ export type Eq = {
1264
1273
  export type KnowledgeFilter1 =
1265
1274
  | Eq
1266
1275
  | Ne
1267
- | One3
1276
+ | Gt
1268
1277
  | Gte
1269
1278
  | Lt
1270
1279
  | Lte
@@ -1276,7 +1285,7 @@ export type KnowledgeFilter1 =
1276
1285
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1277
1286
  */
1278
1287
  export type KnowledgeFilter = And | Or | {
1279
- [k: string]: Eq | Ne | One3 | Gte | Lt | Lte | In | Nin | Exists;
1288
+ [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
1280
1289
  };
1281
1290
 
1282
1291
  export type DeploymentGetConfigRequestBody = {
@@ -1338,7 +1347,7 @@ export type DeploymentGetConfigRequestBody = {
1338
1347
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1339
1348
  */
1340
1349
  knowledgeFilter?: And | Or | {
1341
- [k: string]: Eq | Ne | One3 | Gte | Lt | Lte | In | Nin | Exists;
1350
+ [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
1342
1351
  } | undefined;
1343
1352
  };
1344
1353
 
@@ -1666,6 +1675,7 @@ export type DeploymentGetConfigEncodingFormat = ClosedEnum<
1666
1675
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1667
1676
  */
1668
1677
  export const DeploymentGetConfigReasoningEffort = {
1678
+ None: "none",
1669
1679
  Disable: "disable",
1670
1680
  Minimal: "minimal",
1671
1681
  Low: "low",
@@ -1820,7 +1830,7 @@ export type DeploymentGetConfigFunction = {
1820
1830
  parameters?: { [k: string]: any } | undefined;
1821
1831
  };
1822
1832
 
1823
- export type Tools = {
1833
+ export type DeploymentGetConfigTools = {
1824
1834
  /**
1825
1835
  * The type of the tool. Currently, only `function` is supported.
1826
1836
  */
@@ -1860,7 +1870,7 @@ export type DeploymentGetConfigResponseBody = {
1860
1870
  /**
1861
1871
  * A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.
1862
1872
  */
1863
- tools?: Array<Tools> | undefined;
1873
+ tools?: Array<DeploymentGetConfigTools> | undefined;
1864
1874
  };
1865
1875
 
1866
1876
  /** @internal */
@@ -5257,31 +5267,31 @@ export function orGteFromJSON(
5257
5267
  }
5258
5268
 
5259
5269
  /** @internal */
5260
- export const Or3$inboundSchema: z.ZodType<Or3, z.ZodTypeDef, unknown> = z
5270
+ export const OrGt$inboundSchema: z.ZodType<OrGt, z.ZodTypeDef, unknown> = z
5261
5271
  .object({
5262
5272
  gt: z.number(),
5263
5273
  });
5264
5274
  /** @internal */
5265
- export type Or3$Outbound = {
5275
+ export type OrGt$Outbound = {
5266
5276
  gt: number;
5267
5277
  };
5268
5278
 
5269
5279
  /** @internal */
5270
- export const Or3$outboundSchema: z.ZodType<Or3$Outbound, z.ZodTypeDef, Or3> = z
5271
- .object({
5280
+ export const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt> =
5281
+ z.object({
5272
5282
  gt: z.number(),
5273
5283
  });
5274
5284
 
5275
- export function or3ToJSON(or3: Or3): string {
5276
- return JSON.stringify(Or3$outboundSchema.parse(or3));
5285
+ export function orGtToJSON(orGt: OrGt): string {
5286
+ return JSON.stringify(OrGt$outboundSchema.parse(orGt));
5277
5287
  }
5278
- export function or3FromJSON(
5288
+ export function orGtFromJSON(
5279
5289
  jsonString: string,
5280
- ): SafeParseResult<Or3, SDKValidationError> {
5290
+ ): SafeParseResult<OrGt, SDKValidationError> {
5281
5291
  return safeParse(
5282
5292
  jsonString,
5283
- (x) => Or3$inboundSchema.parse(JSON.parse(x)),
5284
- `Failed to parse 'Or3' from JSON`,
5293
+ (x) => OrGt$inboundSchema.parse(JSON.parse(x)),
5294
+ `Failed to parse 'OrGt' from JSON`,
5285
5295
  );
5286
5296
  }
5287
5297
 
@@ -5417,7 +5427,7 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
5417
5427
  > = z.union([
5418
5428
  z.lazy(() => OrEq$inboundSchema),
5419
5429
  z.lazy(() => OrNe$inboundSchema),
5420
- z.lazy(() => Or3$inboundSchema),
5430
+ z.lazy(() => OrGt$inboundSchema),
5421
5431
  z.lazy(() => OrGte$inboundSchema),
5422
5432
  z.lazy(() => OrLt$inboundSchema),
5423
5433
  z.lazy(() => OrLte$inboundSchema),
@@ -5429,7 +5439,7 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
5429
5439
  export type KnowledgeFilterOr$Outbound =
5430
5440
  | OrEq$Outbound
5431
5441
  | OrNe$Outbound
5432
- | Or3$Outbound
5442
+ | OrGt$Outbound
5433
5443
  | OrGte$Outbound
5434
5444
  | OrLt$Outbound
5435
5445
  | OrLte$Outbound
@@ -5445,7 +5455,7 @@ export const KnowledgeFilterOr$outboundSchema: z.ZodType<
5445
5455
  > = z.union([
5446
5456
  z.lazy(() => OrEq$outboundSchema),
5447
5457
  z.lazy(() => OrNe$outboundSchema),
5448
- z.lazy(() => Or3$outboundSchema),
5458
+ z.lazy(() => OrGt$outboundSchema),
5449
5459
  z.lazy(() => OrGte$outboundSchema),
5450
5460
  z.lazy(() => OrLt$outboundSchema),
5451
5461
  z.lazy(() => OrLte$outboundSchema),
@@ -5479,7 +5489,7 @@ export const Or$inboundSchema: z.ZodType<Or, z.ZodTypeDef, unknown> = z.object({
5479
5489
  z.lazy(() =>
5480
5490
  OrNe$inboundSchema
5481
5491
  ),
5482
- z.lazy(() => Or3$inboundSchema),
5492
+ z.lazy(() => OrGt$inboundSchema),
5483
5493
  z.lazy(() => OrGte$inboundSchema),
5484
5494
  z.lazy(() => OrLt$inboundSchema),
5485
5495
  z.lazy(() => OrLte$inboundSchema),
@@ -5496,7 +5506,7 @@ export type Or$Outbound = {
5496
5506
  [k: string]:
5497
5507
  | OrEq$Outbound
5498
5508
  | OrNe$Outbound
5499
- | Or3$Outbound
5509
+ | OrGt$Outbound
5500
5510
  | OrGte$Outbound
5501
5511
  | OrLt$Outbound
5502
5512
  | OrLte$Outbound
@@ -5516,7 +5526,7 @@ export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
5516
5526
  z.lazy(() =>
5517
5527
  OrNe$outboundSchema
5518
5528
  ),
5519
- z.lazy(() => Or3$outboundSchema),
5529
+ z.lazy(() => OrGt$outboundSchema),
5520
5530
  z.lazy(() => OrGte$outboundSchema),
5521
5531
  z.lazy(() => OrLt$outboundSchema),
5522
5532
  z.lazy(() => OrLte$outboundSchema),
@@ -5802,31 +5812,34 @@ export function andGteFromJSON(
5802
5812
  }
5803
5813
 
5804
5814
  /** @internal */
5805
- export const And3$inboundSchema: z.ZodType<And3, z.ZodTypeDef, unknown> = z
5815
+ export const AndGt$inboundSchema: z.ZodType<AndGt, z.ZodTypeDef, unknown> = z
5806
5816
  .object({
5807
5817
  gt: z.number(),
5808
5818
  });
5809
5819
  /** @internal */
5810
- export type And3$Outbound = {
5820
+ export type AndGt$Outbound = {
5811
5821
  gt: number;
5812
5822
  };
5813
5823
 
5814
5824
  /** @internal */
5815
- export const And3$outboundSchema: z.ZodType<And3$Outbound, z.ZodTypeDef, And3> =
5816
- z.object({
5817
- gt: z.number(),
5818
- });
5825
+ export const AndGt$outboundSchema: z.ZodType<
5826
+ AndGt$Outbound,
5827
+ z.ZodTypeDef,
5828
+ AndGt
5829
+ > = z.object({
5830
+ gt: z.number(),
5831
+ });
5819
5832
 
5820
- export function and3ToJSON(and3: And3): string {
5821
- return JSON.stringify(And3$outboundSchema.parse(and3));
5833
+ export function andGtToJSON(andGt: AndGt): string {
5834
+ return JSON.stringify(AndGt$outboundSchema.parse(andGt));
5822
5835
  }
5823
- export function and3FromJSON(
5836
+ export function andGtFromJSON(
5824
5837
  jsonString: string,
5825
- ): SafeParseResult<And3, SDKValidationError> {
5838
+ ): SafeParseResult<AndGt, SDKValidationError> {
5826
5839
  return safeParse(
5827
5840
  jsonString,
5828
- (x) => And3$inboundSchema.parse(JSON.parse(x)),
5829
- `Failed to parse 'And3' from JSON`,
5841
+ (x) => AndGt$inboundSchema.parse(JSON.parse(x)),
5842
+ `Failed to parse 'AndGt' from JSON`,
5830
5843
  );
5831
5844
  }
5832
5845
 
@@ -5968,7 +5981,7 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
5968
5981
  > = z.union([
5969
5982
  z.lazy(() => AndEq$inboundSchema),
5970
5983
  z.lazy(() => AndNe$inboundSchema),
5971
- z.lazy(() => And3$inboundSchema),
5984
+ z.lazy(() => AndGt$inboundSchema),
5972
5985
  z.lazy(() => AndGte$inboundSchema),
5973
5986
  z.lazy(() => AndLt$inboundSchema),
5974
5987
  z.lazy(() => AndLte$inboundSchema),
@@ -5980,7 +5993,7 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
5980
5993
  export type KnowledgeFilterAnd$Outbound =
5981
5994
  | AndEq$Outbound
5982
5995
  | AndNe$Outbound
5983
- | And3$Outbound
5996
+ | AndGt$Outbound
5984
5997
  | AndGte$Outbound
5985
5998
  | AndLt$Outbound
5986
5999
  | AndLte$Outbound
@@ -5996,7 +6009,7 @@ export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
5996
6009
  > = z.union([
5997
6010
  z.lazy(() => AndEq$outboundSchema),
5998
6011
  z.lazy(() => AndNe$outboundSchema),
5999
- z.lazy(() => And3$outboundSchema),
6012
+ z.lazy(() => AndGt$outboundSchema),
6000
6013
  z.lazy(() => AndGte$outboundSchema),
6001
6014
  z.lazy(() => AndLt$outboundSchema),
6002
6015
  z.lazy(() => AndLte$outboundSchema),
@@ -6031,7 +6044,7 @@ export const And$inboundSchema: z.ZodType<And, z.ZodTypeDef, unknown> = z
6031
6044
  z.lazy(() =>
6032
6045
  AndNe$inboundSchema
6033
6046
  ),
6034
- z.lazy(() => And3$inboundSchema),
6047
+ z.lazy(() => AndGt$inboundSchema),
6035
6048
  z.lazy(() => AndGte$inboundSchema),
6036
6049
  z.lazy(() => AndLt$inboundSchema),
6037
6050
  z.lazy(() => AndLte$inboundSchema),
@@ -6048,7 +6061,7 @@ export type And$Outbound = {
6048
6061
  [k: string]:
6049
6062
  | AndEq$Outbound
6050
6063
  | AndNe$Outbound
6051
- | And3$Outbound
6064
+ | AndGt$Outbound
6052
6065
  | AndGte$Outbound
6053
6066
  | AndLt$Outbound
6054
6067
  | AndLte$Outbound
@@ -6068,7 +6081,7 @@ export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
6068
6081
  z.lazy(() =>
6069
6082
  AndNe$outboundSchema
6070
6083
  ),
6071
- z.lazy(() => And3$outboundSchema),
6084
+ z.lazy(() => AndGt$outboundSchema),
6072
6085
  z.lazy(() => AndGte$outboundSchema),
6073
6086
  z.lazy(() => AndLt$outboundSchema),
6074
6087
  z.lazy(() => AndLte$outboundSchema),
@@ -6320,31 +6333,30 @@ export function gteFromJSON(
6320
6333
  }
6321
6334
 
6322
6335
  /** @internal */
6323
- export const One3$inboundSchema: z.ZodType<One3, z.ZodTypeDef, unknown> = z
6324
- .object({
6325
- gt: z.number(),
6326
- });
6336
+ export const Gt$inboundSchema: z.ZodType<Gt, z.ZodTypeDef, unknown> = z.object({
6337
+ gt: z.number(),
6338
+ });
6327
6339
  /** @internal */
6328
- export type One3$Outbound = {
6340
+ export type Gt$Outbound = {
6329
6341
  gt: number;
6330
6342
  };
6331
6343
 
6332
6344
  /** @internal */
6333
- export const One3$outboundSchema: z.ZodType<One3$Outbound, z.ZodTypeDef, One3> =
6334
- z.object({
6345
+ export const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt> = z
6346
+ .object({
6335
6347
  gt: z.number(),
6336
6348
  });
6337
6349
 
6338
- export function one3ToJSON(one3: One3): string {
6339
- return JSON.stringify(One3$outboundSchema.parse(one3));
6350
+ export function gtToJSON(gt: Gt): string {
6351
+ return JSON.stringify(Gt$outboundSchema.parse(gt));
6340
6352
  }
6341
- export function one3FromJSON(
6353
+ export function gtFromJSON(
6342
6354
  jsonString: string,
6343
- ): SafeParseResult<One3, SDKValidationError> {
6355
+ ): SafeParseResult<Gt, SDKValidationError> {
6344
6356
  return safeParse(
6345
6357
  jsonString,
6346
- (x) => One3$inboundSchema.parse(JSON.parse(x)),
6347
- `Failed to parse 'One3' from JSON`,
6358
+ (x) => Gt$inboundSchema.parse(JSON.parse(x)),
6359
+ `Failed to parse 'Gt' from JSON`,
6348
6360
  );
6349
6361
  }
6350
6362
 
@@ -6464,7 +6476,7 @@ export const KnowledgeFilter1$inboundSchema: z.ZodType<
6464
6476
  > = z.union([
6465
6477
  z.lazy(() => Eq$inboundSchema),
6466
6478
  z.lazy(() => Ne$inboundSchema),
6467
- z.lazy(() => One3$inboundSchema),
6479
+ z.lazy(() => Gt$inboundSchema),
6468
6480
  z.lazy(() => Gte$inboundSchema),
6469
6481
  z.lazy(() => Lt$inboundSchema),
6470
6482
  z.lazy(() => Lte$inboundSchema),
@@ -6476,7 +6488,7 @@ export const KnowledgeFilter1$inboundSchema: z.ZodType<
6476
6488
  export type KnowledgeFilter1$Outbound =
6477
6489
  | Eq$Outbound
6478
6490
  | Ne$Outbound
6479
- | One3$Outbound
6491
+ | Gt$Outbound
6480
6492
  | Gte$Outbound
6481
6493
  | Lt$Outbound
6482
6494
  | Lte$Outbound
@@ -6492,7 +6504,7 @@ export const KnowledgeFilter1$outboundSchema: z.ZodType<
6492
6504
  > = z.union([
6493
6505
  z.lazy(() => Eq$outboundSchema),
6494
6506
  z.lazy(() => Ne$outboundSchema),
6495
- z.lazy(() => One3$outboundSchema),
6507
+ z.lazy(() => Gt$outboundSchema),
6496
6508
  z.lazy(() => Gte$outboundSchema),
6497
6509
  z.lazy(() => Lt$outboundSchema),
6498
6510
  z.lazy(() => Lte$outboundSchema),
@@ -6529,7 +6541,7 @@ export const KnowledgeFilter$inboundSchema: z.ZodType<
6529
6541
  z.record(z.union([
6530
6542
  z.lazy(() => Eq$inboundSchema),
6531
6543
  z.lazy(() => Ne$inboundSchema),
6532
- z.lazy(() => One3$inboundSchema),
6544
+ z.lazy(() => Gt$inboundSchema),
6533
6545
  z.lazy(() => Gte$inboundSchema),
6534
6546
  z.lazy(() => Lt$inboundSchema),
6535
6547
  z.lazy(() => Lte$inboundSchema),
@@ -6543,7 +6555,7 @@ export type KnowledgeFilter$Outbound = And$Outbound | Or$Outbound | {
6543
6555
  [k: string]:
6544
6556
  | Eq$Outbound
6545
6557
  | Ne$Outbound
6546
- | One3$Outbound
6558
+ | Gt$Outbound
6547
6559
  | Gte$Outbound
6548
6560
  | Lt$Outbound
6549
6561
  | Lte$Outbound
@@ -6563,7 +6575,7 @@ export const KnowledgeFilter$outboundSchema: z.ZodType<
6563
6575
  z.record(z.union([
6564
6576
  z.lazy(() => Eq$outboundSchema),
6565
6577
  z.lazy(() => Ne$outboundSchema),
6566
- z.lazy(() => One3$outboundSchema),
6578
+ z.lazy(() => Gt$outboundSchema),
6567
6579
  z.lazy(() => Gte$outboundSchema),
6568
6580
  z.lazy(() => Lt$outboundSchema),
6569
6581
  z.lazy(() => Lte$outboundSchema),
@@ -6627,7 +6639,7 @@ export const DeploymentGetConfigRequestBody$inboundSchema: z.ZodType<
6627
6639
  z.record(z.union([
6628
6640
  z.lazy(() => Eq$inboundSchema),
6629
6641
  z.lazy(() => Ne$inboundSchema),
6630
- z.lazy(() => One3$inboundSchema),
6642
+ z.lazy(() => Gt$inboundSchema),
6631
6643
  z.lazy(() => Gte$inboundSchema),
6632
6644
  z.lazy(() => Lt$inboundSchema),
6633
6645
  z.lazy(() => Lte$inboundSchema),
@@ -6678,7 +6690,7 @@ export type DeploymentGetConfigRequestBody$Outbound = {
6678
6690
  [k: string]:
6679
6691
  | Eq$Outbound
6680
6692
  | Ne$Outbound
6681
- | One3$Outbound
6693
+ | Gt$Outbound
6682
6694
  | Gte$Outbound
6683
6695
  | Lt$Outbound
6684
6696
  | Lte$Outbound
@@ -6727,7 +6739,7 @@ export const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<
6727
6739
  z.record(z.union([
6728
6740
  z.lazy(() => Eq$outboundSchema),
6729
6741
  z.lazy(() => Ne$outboundSchema),
6730
- z.lazy(() => One3$outboundSchema),
6742
+ z.lazy(() => Gt$outboundSchema),
6731
6743
  z.lazy(() => Gte$outboundSchema),
6732
6744
  z.lazy(() => Lt$outboundSchema),
6733
6745
  z.lazy(() => Lte$outboundSchema),
@@ -7907,37 +7919,44 @@ export function deploymentGetConfigFunctionFromJSON(
7907
7919
  }
7908
7920
 
7909
7921
  /** @internal */
7910
- export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
7911
- .object({
7912
- type: DeploymentGetConfigDeploymentsType$inboundSchema,
7913
- function: z.lazy(() => DeploymentGetConfigFunction$inboundSchema),
7914
- });
7922
+ export const DeploymentGetConfigTools$inboundSchema: z.ZodType<
7923
+ DeploymentGetConfigTools,
7924
+ z.ZodTypeDef,
7925
+ unknown
7926
+ > = z.object({
7927
+ type: DeploymentGetConfigDeploymentsType$inboundSchema,
7928
+ function: z.lazy(() => DeploymentGetConfigFunction$inboundSchema),
7929
+ });
7915
7930
  /** @internal */
7916
- export type Tools$Outbound = {
7931
+ export type DeploymentGetConfigTools$Outbound = {
7917
7932
  type: string;
7918
7933
  function: DeploymentGetConfigFunction$Outbound;
7919
7934
  };
7920
7935
 
7921
7936
  /** @internal */
7922
- export const Tools$outboundSchema: z.ZodType<
7923
- Tools$Outbound,
7937
+ export const DeploymentGetConfigTools$outboundSchema: z.ZodType<
7938
+ DeploymentGetConfigTools$Outbound,
7924
7939
  z.ZodTypeDef,
7925
- Tools
7940
+ DeploymentGetConfigTools
7926
7941
  > = z.object({
7927
7942
  type: DeploymentGetConfigDeploymentsType$outboundSchema,
7928
7943
  function: z.lazy(() => DeploymentGetConfigFunction$outboundSchema),
7929
7944
  });
7930
7945
 
7931
- export function toolsToJSON(tools: Tools): string {
7932
- return JSON.stringify(Tools$outboundSchema.parse(tools));
7946
+ export function deploymentGetConfigToolsToJSON(
7947
+ deploymentGetConfigTools: DeploymentGetConfigTools,
7948
+ ): string {
7949
+ return JSON.stringify(
7950
+ DeploymentGetConfigTools$outboundSchema.parse(deploymentGetConfigTools),
7951
+ );
7933
7952
  }
7934
- export function toolsFromJSON(
7953
+ export function deploymentGetConfigToolsFromJSON(
7935
7954
  jsonString: string,
7936
- ): SafeParseResult<Tools, SDKValidationError> {
7955
+ ): SafeParseResult<DeploymentGetConfigTools, SDKValidationError> {
7937
7956
  return safeParse(
7938
7957
  jsonString,
7939
- (x) => Tools$inboundSchema.parse(JSON.parse(x)),
7940
- `Failed to parse 'Tools' from JSON`,
7958
+ (x) => DeploymentGetConfigTools$inboundSchema.parse(JSON.parse(x)),
7959
+ `Failed to parse 'DeploymentGetConfigTools' from JSON`,
7941
7960
  );
7942
7961
  }
7943
7962
 
@@ -7954,7 +7973,8 @@ export const DeploymentGetConfigResponseBody$inboundSchema: z.ZodType<
7954
7973
  version: z.string(),
7955
7974
  messages: z.array(z.lazy(() => DeploymentGetConfigMessages$inboundSchema)),
7956
7975
  parameters: z.lazy(() => DeploymentGetConfigParameters$inboundSchema),
7957
- tools: z.array(z.lazy(() => Tools$inboundSchema)).optional(),
7976
+ tools: z.array(z.lazy(() => DeploymentGetConfigTools$inboundSchema))
7977
+ .optional(),
7958
7978
  });
7959
7979
  /** @internal */
7960
7980
  export type DeploymentGetConfigResponseBody$Outbound = {
@@ -7965,7 +7985,7 @@ export type DeploymentGetConfigResponseBody$Outbound = {
7965
7985
  version: string;
7966
7986
  messages: Array<DeploymentGetConfigMessages$Outbound>;
7967
7987
  parameters: DeploymentGetConfigParameters$Outbound;
7968
- tools?: Array<Tools$Outbound> | undefined;
7988
+ tools?: Array<DeploymentGetConfigTools$Outbound> | undefined;
7969
7989
  };
7970
7990
 
7971
7991
  /** @internal */
@@ -7981,7 +8001,8 @@ export const DeploymentGetConfigResponseBody$outboundSchema: z.ZodType<
7981
8001
  version: z.string(),
7982
8002
  messages: z.array(z.lazy(() => DeploymentGetConfigMessages$outboundSchema)),
7983
8003
  parameters: z.lazy(() => DeploymentGetConfigParameters$outboundSchema),
7984
- tools: z.array(z.lazy(() => Tools$outboundSchema)).optional(),
8004
+ tools: z.array(z.lazy(() => DeploymentGetConfigTools$outboundSchema))
8005
+ .optional(),
7985
8006
  });
7986
8007
 
7987
8008
  export function deploymentGetConfigResponseBodyToJSON(