@orq-ai/node 3.14.35 → 3.14.36

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 (212) hide show
  1. package/README.md +1 -1
  2. package/bin/mcp-server.js +529 -517
  3. package/bin/mcp-server.js.map +52 -52
  4. package/docs/sdks/deployments/README.md +43 -43
  5. package/examples/package-lock.json +1 -1
  6. package/funcs/deploymentsInvoke.d.ts +1 -1
  7. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  8. package/funcs/deploymentsInvoke.js +1 -1
  9. package/funcs/deploymentsInvoke.js.map +1 -1
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +3 -3
  12. package/lib/config.js +3 -3
  13. package/mcp-server/mcp-server.js +1 -1
  14. package/mcp-server/server.js +2 -2
  15. package/mcp-server/server.js.map +1 -1
  16. package/mcp-server/tools/deploymentsInvoke.d.ts +1 -1
  17. package/mcp-server/tools/deploymentsInvoke.js +1 -1
  18. package/mcp-server/tools/deploymentsInvoke.js.map +1 -1
  19. package/models/components/index.d.ts +1 -1
  20. package/models/components/index.d.ts.map +1 -1
  21. package/models/components/index.js +1 -1
  22. package/models/components/index.js.map +1 -1
  23. package/models/components/{deployments.d.ts → invokedeploymentrequest.d.ts} +280 -266
  24. package/models/components/invokedeploymentrequest.d.ts.map +1 -0
  25. package/models/components/{deployments.js → invokedeploymentrequest.js} +377 -363
  26. package/models/components/invokedeploymentrequest.js.map +1 -0
  27. package/models/operations/createbudget.js +2 -2
  28. package/models/operations/createcontact.js +2 -2
  29. package/models/operations/createdataset.js +2 -2
  30. package/models/operations/createdatasetitem.js +8 -8
  31. package/models/operations/createdatasource.js +2 -2
  32. package/models/operations/createeval.js +28 -28
  33. package/models/operations/createprompt.d.ts +2 -0
  34. package/models/operations/createprompt.d.ts.map +1 -1
  35. package/models/operations/createprompt.js +2 -0
  36. package/models/operations/createprompt.js.map +1 -1
  37. package/models/operations/createtool.js +10 -10
  38. package/models/operations/deploymentgetconfig.d.ts +42 -32
  39. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  40. package/models/operations/deploymentgetconfig.js +42 -42
  41. package/models/operations/deploymentgetconfig.js.map +1 -1
  42. package/models/operations/deploymentinvoke.d.ts +15 -15
  43. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  44. package/models/operations/deploymentinvoke.js +17 -17
  45. package/models/operations/deploymentinvoke.js.map +1 -1
  46. package/models/operations/deployments.d.ts +1 -0
  47. package/models/operations/deployments.d.ts.map +1 -1
  48. package/models/operations/deployments.js +1 -0
  49. package/models/operations/deployments.js.map +1 -1
  50. package/models/operations/deploymentstream.d.ts +41 -32
  51. package/models/operations/deploymentstream.d.ts.map +1 -1
  52. package/models/operations/deploymentstream.js +42 -41
  53. package/models/operations/deploymentstream.js.map +1 -1
  54. package/models/operations/duplicatetool.js +10 -10
  55. package/models/operations/fileget.js +2 -2
  56. package/models/operations/filelist.js +2 -2
  57. package/models/operations/fileupload.js +2 -2
  58. package/models/operations/getallprompts.d.ts +1 -0
  59. package/models/operations/getallprompts.d.ts.map +1 -1
  60. package/models/operations/getallprompts.js +1 -0
  61. package/models/operations/getallprompts.js.map +1 -1
  62. package/models/operations/getalltools.js +10 -10
  63. package/models/operations/getbudget.js +2 -2
  64. package/models/operations/getevals.js +28 -28
  65. package/models/operations/getoneprompt.d.ts +1 -0
  66. package/models/operations/getoneprompt.d.ts.map +1 -1
  67. package/models/operations/getoneprompt.js +1 -0
  68. package/models/operations/getoneprompt.js.map +1 -1
  69. package/models/operations/getpromptversion.d.ts +1 -0
  70. package/models/operations/getpromptversion.d.ts.map +1 -1
  71. package/models/operations/getpromptversion.js +1 -0
  72. package/models/operations/getpromptversion.js.map +1 -1
  73. package/models/operations/listbudgets.js +2 -2
  74. package/models/operations/listcontacts.js +2 -2
  75. package/models/operations/listdatasetdatapoints.js +8 -8
  76. package/models/operations/listdatasets.js +2 -2
  77. package/models/operations/listdatasources.js +2 -2
  78. package/models/operations/listpromptversions.d.ts +1 -0
  79. package/models/operations/listpromptversions.d.ts.map +1 -1
  80. package/models/operations/listpromptversions.js +1 -0
  81. package/models/operations/listpromptversions.js.map +1 -1
  82. package/models/operations/retrievecontact.js +2 -2
  83. package/models/operations/retrievedatapoint.js +8 -8
  84. package/models/operations/retrievedataset.js +2 -2
  85. package/models/operations/retrievedatasource.js +2 -2
  86. package/models/operations/retrievetool.js +10 -10
  87. package/models/operations/searchknowledge.d.ts +41 -32
  88. package/models/operations/searchknowledge.d.ts.map +1 -1
  89. package/models/operations/searchknowledge.js +40 -40
  90. package/models/operations/searchknowledge.js.map +1 -1
  91. package/models/operations/updatebudget.js +2 -2
  92. package/models/operations/updatecontact.js +2 -2
  93. package/models/operations/updatedatapoint.js +8 -8
  94. package/models/operations/updatedataset.js +2 -2
  95. package/models/operations/updatedatasource.js +2 -2
  96. package/models/operations/updateeval.js +28 -28
  97. package/models/operations/updateprompt.d.ts +2 -0
  98. package/models/operations/updateprompt.d.ts.map +1 -1
  99. package/models/operations/updateprompt.js +2 -0
  100. package/models/operations/updateprompt.js.map +1 -1
  101. package/models/operations/updatetool.js +10 -10
  102. package/package.json +1 -1
  103. package/packages/orq-rc/README.md +24 -22
  104. package/packages/orq-rc/docs/sdks/tools/README.md +93 -12
  105. package/packages/orq-rc/examples/package-lock.json +1 -1
  106. package/packages/orq-rc/jsr.json +1 -1
  107. package/packages/orq-rc/package-lock.json +2 -2
  108. package/packages/orq-rc/package.json +1 -1
  109. package/packages/orq-rc/src/funcs/toolsCreate.ts +11 -2
  110. package/packages/orq-rc/src/funcs/toolsSync.ts +176 -0
  111. package/packages/orq-rc/src/lib/config.ts +3 -3
  112. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  113. package/packages/orq-rc/src/mcp-server/server.ts +3 -1
  114. package/packages/orq-rc/src/mcp-server/tools/toolsSync.ts +37 -0
  115. package/packages/orq-rc/src/models/operations/createagent.ts +114 -40
  116. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  117. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  118. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  119. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
  120. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  121. package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
  122. package/packages/orq-rc/src/models/operations/createtool.ts +873 -277
  123. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +29 -20
  124. package/packages/orq-rc/src/models/operations/duplicateagent.ts +0 -37
  125. package/packages/orq-rc/src/models/operations/duplicatetool.ts +466 -87
  126. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  127. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  128. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  129. package/packages/orq-rc/src/models/operations/getagent.ts +0 -38
  130. package/packages/orq-rc/src/models/operations/getalltools.ts +447 -96
  131. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  132. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  133. package/packages/orq-rc/src/models/operations/index.ts +1 -0
  134. package/packages/orq-rc/src/models/operations/listagents.ts +0 -37
  135. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  136. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  137. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
  138. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  139. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  140. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  141. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
  142. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  143. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  144. package/packages/orq-rc/src/models/operations/retrievetool.ts +466 -85
  145. package/packages/orq-rc/src/models/operations/runagent.ts +656 -25
  146. package/packages/orq-rc/src/models/operations/streamrunagent.ts +749 -34
  147. package/packages/orq-rc/src/models/operations/syncmcptool.ts +2599 -0
  148. package/packages/orq-rc/src/models/operations/updateagent.ts +121 -77
  149. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  150. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  151. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
  152. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  153. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  154. package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
  155. package/packages/orq-rc/src/models/operations/updatetool.ts +910 -190
  156. package/packages/orq-rc/src/sdk/tools.ts +18 -0
  157. package/sdk/deployments.d.ts +7 -7
  158. package/sdk/deployments.d.ts.map +1 -1
  159. package/sdk/deployments.js +9 -9
  160. package/sdk/deployments.js.map +1 -1
  161. package/src/funcs/deploymentsInvoke.ts +3 -3
  162. package/src/lib/config.ts +3 -3
  163. package/src/mcp-server/mcp-server.ts +1 -1
  164. package/src/mcp-server/server.ts +2 -2
  165. package/src/mcp-server/tools/deploymentsInvoke.ts +1 -1
  166. package/src/models/components/index.ts +1 -1
  167. package/src/models/components/{deployments.ts → invokedeploymentrequest.ts} +822 -728
  168. package/src/models/operations/createbudget.ts +2 -2
  169. package/src/models/operations/createcontact.ts +2 -2
  170. package/src/models/operations/createdataset.ts +2 -2
  171. package/src/models/operations/createdatasetitem.ts +8 -8
  172. package/src/models/operations/createdatasource.ts +2 -2
  173. package/src/models/operations/createeval.ts +28 -28
  174. package/src/models/operations/createprompt.ts +2 -0
  175. package/src/models/operations/createtool.ts +10 -10
  176. package/src/models/operations/deploymentgetconfig.ts +78 -66
  177. package/src/models/operations/deploymentinvoke.ts +35 -35
  178. package/src/models/operations/deployments.ts +1 -0
  179. package/src/models/operations/deploymentstream.ts +80 -78
  180. package/src/models/operations/duplicatetool.ts +10 -10
  181. package/src/models/operations/fileget.ts +2 -2
  182. package/src/models/operations/filelist.ts +2 -2
  183. package/src/models/operations/fileupload.ts +2 -2
  184. package/src/models/operations/getallprompts.ts +1 -0
  185. package/src/models/operations/getalltools.ts +10 -10
  186. package/src/models/operations/getbudget.ts +2 -2
  187. package/src/models/operations/getevals.ts +28 -28
  188. package/src/models/operations/getoneprompt.ts +1 -0
  189. package/src/models/operations/getpromptversion.ts +1 -0
  190. package/src/models/operations/listbudgets.ts +2 -2
  191. package/src/models/operations/listcontacts.ts +2 -2
  192. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  193. package/src/models/operations/listdatasets.ts +2 -2
  194. package/src/models/operations/listdatasources.ts +2 -2
  195. package/src/models/operations/listpromptversions.ts +1 -0
  196. package/src/models/operations/retrievecontact.ts +2 -2
  197. package/src/models/operations/retrievedatapoint.ts +8 -8
  198. package/src/models/operations/retrievedataset.ts +2 -2
  199. package/src/models/operations/retrievedatasource.ts +2 -2
  200. package/src/models/operations/retrievetool.ts +10 -10
  201. package/src/models/operations/searchknowledge.ts +79 -70
  202. package/src/models/operations/updatebudget.ts +2 -2
  203. package/src/models/operations/updatecontact.ts +2 -2
  204. package/src/models/operations/updatedatapoint.ts +8 -8
  205. package/src/models/operations/updatedataset.ts +2 -2
  206. package/src/models/operations/updatedatasource.ts +2 -2
  207. package/src/models/operations/updateeval.ts +28 -28
  208. package/src/models/operations/updateprompt.ts +2 -0
  209. package/src/models/operations/updatetool.ts +10 -10
  210. package/src/sdk/deployments.ts +17 -17
  211. package/models/components/deployments.d.ts.map +0 -1
  212. 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
 
@@ -1665,6 +1674,7 @@ export type DeploymentGetConfigEncodingFormat = ClosedEnum<
1665
1674
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1666
1675
  */
1667
1676
  export const DeploymentGetConfigReasoningEffort = {
1677
+ None: "none",
1668
1678
  Disable: "disable",
1669
1679
  Minimal: "minimal",
1670
1680
  Low: "low",
@@ -5256,31 +5266,31 @@ export function orGteFromJSON(
5256
5266
  }
5257
5267
 
5258
5268
  /** @internal */
5259
- export const Or3$inboundSchema: z.ZodType<Or3, z.ZodTypeDef, unknown> = z
5269
+ export const OrGt$inboundSchema: z.ZodType<OrGt, z.ZodTypeDef, unknown> = z
5260
5270
  .object({
5261
5271
  gt: z.number(),
5262
5272
  });
5263
5273
  /** @internal */
5264
- export type Or3$Outbound = {
5274
+ export type OrGt$Outbound = {
5265
5275
  gt: number;
5266
5276
  };
5267
5277
 
5268
5278
  /** @internal */
5269
- export const Or3$outboundSchema: z.ZodType<Or3$Outbound, z.ZodTypeDef, Or3> = z
5270
- .object({
5279
+ export const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt> =
5280
+ z.object({
5271
5281
  gt: z.number(),
5272
5282
  });
5273
5283
 
5274
- export function or3ToJSON(or3: Or3): string {
5275
- return JSON.stringify(Or3$outboundSchema.parse(or3));
5284
+ export function orGtToJSON(orGt: OrGt): string {
5285
+ return JSON.stringify(OrGt$outboundSchema.parse(orGt));
5276
5286
  }
5277
- export function or3FromJSON(
5287
+ export function orGtFromJSON(
5278
5288
  jsonString: string,
5279
- ): SafeParseResult<Or3, SDKValidationError> {
5289
+ ): SafeParseResult<OrGt, SDKValidationError> {
5280
5290
  return safeParse(
5281
5291
  jsonString,
5282
- (x) => Or3$inboundSchema.parse(JSON.parse(x)),
5283
- `Failed to parse 'Or3' from JSON`,
5292
+ (x) => OrGt$inboundSchema.parse(JSON.parse(x)),
5293
+ `Failed to parse 'OrGt' from JSON`,
5284
5294
  );
5285
5295
  }
5286
5296
 
@@ -5416,7 +5426,7 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
5416
5426
  > = z.union([
5417
5427
  z.lazy(() => OrEq$inboundSchema),
5418
5428
  z.lazy(() => OrNe$inboundSchema),
5419
- z.lazy(() => Or3$inboundSchema),
5429
+ z.lazy(() => OrGt$inboundSchema),
5420
5430
  z.lazy(() => OrGte$inboundSchema),
5421
5431
  z.lazy(() => OrLt$inboundSchema),
5422
5432
  z.lazy(() => OrLte$inboundSchema),
@@ -5428,7 +5438,7 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
5428
5438
  export type KnowledgeFilterOr$Outbound =
5429
5439
  | OrEq$Outbound
5430
5440
  | OrNe$Outbound
5431
- | Or3$Outbound
5441
+ | OrGt$Outbound
5432
5442
  | OrGte$Outbound
5433
5443
  | OrLt$Outbound
5434
5444
  | OrLte$Outbound
@@ -5444,7 +5454,7 @@ export const KnowledgeFilterOr$outboundSchema: z.ZodType<
5444
5454
  > = z.union([
5445
5455
  z.lazy(() => OrEq$outboundSchema),
5446
5456
  z.lazy(() => OrNe$outboundSchema),
5447
- z.lazy(() => Or3$outboundSchema),
5457
+ z.lazy(() => OrGt$outboundSchema),
5448
5458
  z.lazy(() => OrGte$outboundSchema),
5449
5459
  z.lazy(() => OrLt$outboundSchema),
5450
5460
  z.lazy(() => OrLte$outboundSchema),
@@ -5478,7 +5488,7 @@ export const Or$inboundSchema: z.ZodType<Or, z.ZodTypeDef, unknown> = z.object({
5478
5488
  z.lazy(() =>
5479
5489
  OrNe$inboundSchema
5480
5490
  ),
5481
- z.lazy(() => Or3$inboundSchema),
5491
+ z.lazy(() => OrGt$inboundSchema),
5482
5492
  z.lazy(() => OrGte$inboundSchema),
5483
5493
  z.lazy(() => OrLt$inboundSchema),
5484
5494
  z.lazy(() => OrLte$inboundSchema),
@@ -5495,7 +5505,7 @@ export type Or$Outbound = {
5495
5505
  [k: string]:
5496
5506
  | OrEq$Outbound
5497
5507
  | OrNe$Outbound
5498
- | Or3$Outbound
5508
+ | OrGt$Outbound
5499
5509
  | OrGte$Outbound
5500
5510
  | OrLt$Outbound
5501
5511
  | OrLte$Outbound
@@ -5515,7 +5525,7 @@ export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
5515
5525
  z.lazy(() =>
5516
5526
  OrNe$outboundSchema
5517
5527
  ),
5518
- z.lazy(() => Or3$outboundSchema),
5528
+ z.lazy(() => OrGt$outboundSchema),
5519
5529
  z.lazy(() => OrGte$outboundSchema),
5520
5530
  z.lazy(() => OrLt$outboundSchema),
5521
5531
  z.lazy(() => OrLte$outboundSchema),
@@ -5801,31 +5811,34 @@ export function andGteFromJSON(
5801
5811
  }
5802
5812
 
5803
5813
  /** @internal */
5804
- export const And3$inboundSchema: z.ZodType<And3, z.ZodTypeDef, unknown> = z
5814
+ export const AndGt$inboundSchema: z.ZodType<AndGt, z.ZodTypeDef, unknown> = z
5805
5815
  .object({
5806
5816
  gt: z.number(),
5807
5817
  });
5808
5818
  /** @internal */
5809
- export type And3$Outbound = {
5819
+ export type AndGt$Outbound = {
5810
5820
  gt: number;
5811
5821
  };
5812
5822
 
5813
5823
  /** @internal */
5814
- export const And3$outboundSchema: z.ZodType<And3$Outbound, z.ZodTypeDef, And3> =
5815
- z.object({
5816
- gt: z.number(),
5817
- });
5824
+ export const AndGt$outboundSchema: z.ZodType<
5825
+ AndGt$Outbound,
5826
+ z.ZodTypeDef,
5827
+ AndGt
5828
+ > = z.object({
5829
+ gt: z.number(),
5830
+ });
5818
5831
 
5819
- export function and3ToJSON(and3: And3): string {
5820
- return JSON.stringify(And3$outboundSchema.parse(and3));
5832
+ export function andGtToJSON(andGt: AndGt): string {
5833
+ return JSON.stringify(AndGt$outboundSchema.parse(andGt));
5821
5834
  }
5822
- export function and3FromJSON(
5835
+ export function andGtFromJSON(
5823
5836
  jsonString: string,
5824
- ): SafeParseResult<And3, SDKValidationError> {
5837
+ ): SafeParseResult<AndGt, SDKValidationError> {
5825
5838
  return safeParse(
5826
5839
  jsonString,
5827
- (x) => And3$inboundSchema.parse(JSON.parse(x)),
5828
- `Failed to parse 'And3' from JSON`,
5840
+ (x) => AndGt$inboundSchema.parse(JSON.parse(x)),
5841
+ `Failed to parse 'AndGt' from JSON`,
5829
5842
  );
5830
5843
  }
5831
5844
 
@@ -5967,7 +5980,7 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
5967
5980
  > = z.union([
5968
5981
  z.lazy(() => AndEq$inboundSchema),
5969
5982
  z.lazy(() => AndNe$inboundSchema),
5970
- z.lazy(() => And3$inboundSchema),
5983
+ z.lazy(() => AndGt$inboundSchema),
5971
5984
  z.lazy(() => AndGte$inboundSchema),
5972
5985
  z.lazy(() => AndLt$inboundSchema),
5973
5986
  z.lazy(() => AndLte$inboundSchema),
@@ -5979,7 +5992,7 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
5979
5992
  export type KnowledgeFilterAnd$Outbound =
5980
5993
  | AndEq$Outbound
5981
5994
  | AndNe$Outbound
5982
- | And3$Outbound
5995
+ | AndGt$Outbound
5983
5996
  | AndGte$Outbound
5984
5997
  | AndLt$Outbound
5985
5998
  | AndLte$Outbound
@@ -5995,7 +6008,7 @@ export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
5995
6008
  > = z.union([
5996
6009
  z.lazy(() => AndEq$outboundSchema),
5997
6010
  z.lazy(() => AndNe$outboundSchema),
5998
- z.lazy(() => And3$outboundSchema),
6011
+ z.lazy(() => AndGt$outboundSchema),
5999
6012
  z.lazy(() => AndGte$outboundSchema),
6000
6013
  z.lazy(() => AndLt$outboundSchema),
6001
6014
  z.lazy(() => AndLte$outboundSchema),
@@ -6030,7 +6043,7 @@ export const And$inboundSchema: z.ZodType<And, z.ZodTypeDef, unknown> = z
6030
6043
  z.lazy(() =>
6031
6044
  AndNe$inboundSchema
6032
6045
  ),
6033
- z.lazy(() => And3$inboundSchema),
6046
+ z.lazy(() => AndGt$inboundSchema),
6034
6047
  z.lazy(() => AndGte$inboundSchema),
6035
6048
  z.lazy(() => AndLt$inboundSchema),
6036
6049
  z.lazy(() => AndLte$inboundSchema),
@@ -6047,7 +6060,7 @@ export type And$Outbound = {
6047
6060
  [k: string]:
6048
6061
  | AndEq$Outbound
6049
6062
  | AndNe$Outbound
6050
- | And3$Outbound
6063
+ | AndGt$Outbound
6051
6064
  | AndGte$Outbound
6052
6065
  | AndLt$Outbound
6053
6066
  | AndLte$Outbound
@@ -6067,7 +6080,7 @@ export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
6067
6080
  z.lazy(() =>
6068
6081
  AndNe$outboundSchema
6069
6082
  ),
6070
- z.lazy(() => And3$outboundSchema),
6083
+ z.lazy(() => AndGt$outboundSchema),
6071
6084
  z.lazy(() => AndGte$outboundSchema),
6072
6085
  z.lazy(() => AndLt$outboundSchema),
6073
6086
  z.lazy(() => AndLte$outboundSchema),
@@ -6319,31 +6332,30 @@ export function gteFromJSON(
6319
6332
  }
6320
6333
 
6321
6334
  /** @internal */
6322
- export const One3$inboundSchema: z.ZodType<One3, z.ZodTypeDef, unknown> = z
6323
- .object({
6324
- gt: z.number(),
6325
- });
6335
+ export const Gt$inboundSchema: z.ZodType<Gt, z.ZodTypeDef, unknown> = z.object({
6336
+ gt: z.number(),
6337
+ });
6326
6338
  /** @internal */
6327
- export type One3$Outbound = {
6339
+ export type Gt$Outbound = {
6328
6340
  gt: number;
6329
6341
  };
6330
6342
 
6331
6343
  /** @internal */
6332
- export const One3$outboundSchema: z.ZodType<One3$Outbound, z.ZodTypeDef, One3> =
6333
- z.object({
6344
+ export const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt> = z
6345
+ .object({
6334
6346
  gt: z.number(),
6335
6347
  });
6336
6348
 
6337
- export function one3ToJSON(one3: One3): string {
6338
- return JSON.stringify(One3$outboundSchema.parse(one3));
6349
+ export function gtToJSON(gt: Gt): string {
6350
+ return JSON.stringify(Gt$outboundSchema.parse(gt));
6339
6351
  }
6340
- export function one3FromJSON(
6352
+ export function gtFromJSON(
6341
6353
  jsonString: string,
6342
- ): SafeParseResult<One3, SDKValidationError> {
6354
+ ): SafeParseResult<Gt, SDKValidationError> {
6343
6355
  return safeParse(
6344
6356
  jsonString,
6345
- (x) => One3$inboundSchema.parse(JSON.parse(x)),
6346
- `Failed to parse 'One3' from JSON`,
6357
+ (x) => Gt$inboundSchema.parse(JSON.parse(x)),
6358
+ `Failed to parse 'Gt' from JSON`,
6347
6359
  );
6348
6360
  }
6349
6361
 
@@ -6463,7 +6475,7 @@ export const KnowledgeFilter1$inboundSchema: z.ZodType<
6463
6475
  > = z.union([
6464
6476
  z.lazy(() => Eq$inboundSchema),
6465
6477
  z.lazy(() => Ne$inboundSchema),
6466
- z.lazy(() => One3$inboundSchema),
6478
+ z.lazy(() => Gt$inboundSchema),
6467
6479
  z.lazy(() => Gte$inboundSchema),
6468
6480
  z.lazy(() => Lt$inboundSchema),
6469
6481
  z.lazy(() => Lte$inboundSchema),
@@ -6475,7 +6487,7 @@ export const KnowledgeFilter1$inboundSchema: z.ZodType<
6475
6487
  export type KnowledgeFilter1$Outbound =
6476
6488
  | Eq$Outbound
6477
6489
  | Ne$Outbound
6478
- | One3$Outbound
6490
+ | Gt$Outbound
6479
6491
  | Gte$Outbound
6480
6492
  | Lt$Outbound
6481
6493
  | Lte$Outbound
@@ -6491,7 +6503,7 @@ export const KnowledgeFilter1$outboundSchema: z.ZodType<
6491
6503
  > = z.union([
6492
6504
  z.lazy(() => Eq$outboundSchema),
6493
6505
  z.lazy(() => Ne$outboundSchema),
6494
- z.lazy(() => One3$outboundSchema),
6506
+ z.lazy(() => Gt$outboundSchema),
6495
6507
  z.lazy(() => Gte$outboundSchema),
6496
6508
  z.lazy(() => Lt$outboundSchema),
6497
6509
  z.lazy(() => Lte$outboundSchema),
@@ -6528,7 +6540,7 @@ export const KnowledgeFilter$inboundSchema: z.ZodType<
6528
6540
  z.record(z.union([
6529
6541
  z.lazy(() => Eq$inboundSchema),
6530
6542
  z.lazy(() => Ne$inboundSchema),
6531
- z.lazy(() => One3$inboundSchema),
6543
+ z.lazy(() => Gt$inboundSchema),
6532
6544
  z.lazy(() => Gte$inboundSchema),
6533
6545
  z.lazy(() => Lt$inboundSchema),
6534
6546
  z.lazy(() => Lte$inboundSchema),
@@ -6542,7 +6554,7 @@ export type KnowledgeFilter$Outbound = And$Outbound | Or$Outbound | {
6542
6554
  [k: string]:
6543
6555
  | Eq$Outbound
6544
6556
  | Ne$Outbound
6545
- | One3$Outbound
6557
+ | Gt$Outbound
6546
6558
  | Gte$Outbound
6547
6559
  | Lt$Outbound
6548
6560
  | Lte$Outbound
@@ -6562,7 +6574,7 @@ export const KnowledgeFilter$outboundSchema: z.ZodType<
6562
6574
  z.record(z.union([
6563
6575
  z.lazy(() => Eq$outboundSchema),
6564
6576
  z.lazy(() => Ne$outboundSchema),
6565
- z.lazy(() => One3$outboundSchema),
6577
+ z.lazy(() => Gt$outboundSchema),
6566
6578
  z.lazy(() => Gte$outboundSchema),
6567
6579
  z.lazy(() => Lt$outboundSchema),
6568
6580
  z.lazy(() => Lte$outboundSchema),
@@ -6626,7 +6638,7 @@ export const DeploymentGetConfigRequestBody$inboundSchema: z.ZodType<
6626
6638
  z.record(z.union([
6627
6639
  z.lazy(() => Eq$inboundSchema),
6628
6640
  z.lazy(() => Ne$inboundSchema),
6629
- z.lazy(() => One3$inboundSchema),
6641
+ z.lazy(() => Gt$inboundSchema),
6630
6642
  z.lazy(() => Gte$inboundSchema),
6631
6643
  z.lazy(() => Lt$inboundSchema),
6632
6644
  z.lazy(() => Lte$inboundSchema),
@@ -6677,7 +6689,7 @@ export type DeploymentGetConfigRequestBody$Outbound = {
6677
6689
  [k: string]:
6678
6690
  | Eq$Outbound
6679
6691
  | Ne$Outbound
6680
- | One3$Outbound
6692
+ | Gt$Outbound
6681
6693
  | Gte$Outbound
6682
6694
  | Lt$Outbound
6683
6695
  | Lte$Outbound
@@ -6726,7 +6738,7 @@ export const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<
6726
6738
  z.record(z.union([
6727
6739
  z.lazy(() => Eq$outboundSchema),
6728
6740
  z.lazy(() => Ne$outboundSchema),
6729
- z.lazy(() => One3$outboundSchema),
6741
+ z.lazy(() => Gt$outboundSchema),
6730
6742
  z.lazy(() => Gte$outboundSchema),
6731
6743
  z.lazy(() => Lt$outboundSchema),
6732
6744
  z.lazy(() => Lte$outboundSchema),
@@ -109,7 +109,7 @@ export type DeploymentInvokeMessageDeploymentsType = ClosedEnum<
109
109
  /**
110
110
  * The role of the prompt message
111
111
  */
112
- export const DeploymentInvokeMessageDeploymentsRole = {
112
+ export const DeploymentInvokeMessageRole = {
113
113
  System: "system",
114
114
  Assistant: "assistant",
115
115
  User: "user",
@@ -122,8 +122,8 @@ export const DeploymentInvokeMessageDeploymentsRole = {
122
122
  /**
123
123
  * The role of the prompt message
124
124
  */
125
- export type DeploymentInvokeMessageDeploymentsRole = ClosedEnum<
126
- typeof DeploymentInvokeMessageDeploymentsRole
125
+ export type DeploymentInvokeMessageRole = ClosedEnum<
126
+ typeof DeploymentInvokeMessageRole
127
127
  >;
128
128
 
129
129
  export type Message3 = {
@@ -131,7 +131,7 @@ export type Message3 = {
131
131
  /**
132
132
  * The role of the prompt message
133
133
  */
134
- role: DeploymentInvokeMessageDeploymentsRole;
134
+ role: DeploymentInvokeMessageRole;
135
135
  url: string;
136
136
  };
137
137
 
@@ -145,7 +145,7 @@ export type DeploymentInvokeMessageType = ClosedEnum<
145
145
  /**
146
146
  * The role of the prompt message
147
147
  */
148
- export const DeploymentInvokeMessageRole = {
148
+ export const MessageRole = {
149
149
  System: "system",
150
150
  Assistant: "assistant",
151
151
  User: "user",
@@ -158,16 +158,14 @@ export const DeploymentInvokeMessageRole = {
158
158
  /**
159
159
  * The role of the prompt message
160
160
  */
161
- export type DeploymentInvokeMessageRole = ClosedEnum<
162
- typeof DeploymentInvokeMessageRole
163
- >;
161
+ export type MessageRole = ClosedEnum<typeof MessageRole>;
164
162
 
165
163
  export type Message2 = {
166
164
  type: DeploymentInvokeMessageType;
167
165
  /**
168
166
  * The role of the prompt message
169
167
  */
170
- role: DeploymentInvokeMessageRole;
168
+ role: MessageRole;
171
169
  content: string | null;
172
170
  /**
173
171
  * Internal thought process of the model
@@ -191,7 +189,7 @@ export type MessageType = ClosedEnum<typeof MessageType>;
191
189
  /**
192
190
  * The role of the prompt message
193
191
  */
194
- export const MessageRole = {
192
+ export const DeploymentInvokeMessageDeploymentsRole = {
195
193
  System: "system",
196
194
  Assistant: "assistant",
197
195
  User: "user",
@@ -204,7 +202,9 @@ export const MessageRole = {
204
202
  /**
205
203
  * The role of the prompt message
206
204
  */
207
- export type MessageRole = ClosedEnum<typeof MessageRole>;
205
+ export type DeploymentInvokeMessageDeploymentsRole = ClosedEnum<
206
+ typeof DeploymentInvokeMessageDeploymentsRole
207
+ >;
208
208
 
209
209
  export const DeploymentInvokeMessageDeploymentsResponseType = {
210
210
  Function: "function",
@@ -233,7 +233,7 @@ export type Message1 = {
233
233
  /**
234
234
  * The role of the prompt message
235
235
  */
236
- role: MessageRole;
236
+ role: DeploymentInvokeMessageDeploymentsRole;
237
237
  content?: string | null | undefined;
238
238
  toolCalls: Array<MessageToolCalls>;
239
239
  /**
@@ -488,14 +488,13 @@ export const DeploymentInvokeMessageDeploymentsType$outboundSchema:
488
488
  DeploymentInvokeMessageDeploymentsType$inboundSchema;
489
489
 
490
490
  /** @internal */
491
- export const DeploymentInvokeMessageDeploymentsRole$inboundSchema:
492
- z.ZodNativeEnum<typeof DeploymentInvokeMessageDeploymentsRole> = z.nativeEnum(
493
- DeploymentInvokeMessageDeploymentsRole,
494
- );
491
+ export const DeploymentInvokeMessageRole$inboundSchema: z.ZodNativeEnum<
492
+ typeof DeploymentInvokeMessageRole
493
+ > = z.nativeEnum(DeploymentInvokeMessageRole);
495
494
  /** @internal */
496
- export const DeploymentInvokeMessageDeploymentsRole$outboundSchema:
497
- z.ZodNativeEnum<typeof DeploymentInvokeMessageDeploymentsRole> =
498
- DeploymentInvokeMessageDeploymentsRole$inboundSchema;
495
+ export const DeploymentInvokeMessageRole$outboundSchema: z.ZodNativeEnum<
496
+ typeof DeploymentInvokeMessageRole
497
+ > = DeploymentInvokeMessageRole$inboundSchema;
499
498
 
500
499
  /** @internal */
501
500
  export const Message3$inboundSchema: z.ZodType<
@@ -504,7 +503,7 @@ export const Message3$inboundSchema: z.ZodType<
504
503
  unknown
505
504
  > = z.object({
506
505
  type: DeploymentInvokeMessageDeploymentsType$inboundSchema,
507
- role: DeploymentInvokeMessageDeploymentsRole$inboundSchema,
506
+ role: DeploymentInvokeMessageRole$inboundSchema,
508
507
  url: z.string(),
509
508
  });
510
509
  /** @internal */
@@ -521,7 +520,7 @@ export const Message3$outboundSchema: z.ZodType<
521
520
  Message3
522
521
  > = z.object({
523
522
  type: DeploymentInvokeMessageDeploymentsType$outboundSchema,
524
- role: DeploymentInvokeMessageDeploymentsRole$outboundSchema,
523
+ role: DeploymentInvokeMessageRole$outboundSchema,
525
524
  url: z.string(),
526
525
  });
527
526
 
@@ -548,13 +547,11 @@ export const DeploymentInvokeMessageType$outboundSchema: z.ZodNativeEnum<
548
547
  > = DeploymentInvokeMessageType$inboundSchema;
549
548
 
550
549
  /** @internal */
551
- export const DeploymentInvokeMessageRole$inboundSchema: z.ZodNativeEnum<
552
- typeof DeploymentInvokeMessageRole
553
- > = z.nativeEnum(DeploymentInvokeMessageRole);
550
+ export const MessageRole$inboundSchema: z.ZodNativeEnum<typeof MessageRole> = z
551
+ .nativeEnum(MessageRole);
554
552
  /** @internal */
555
- export const DeploymentInvokeMessageRole$outboundSchema: z.ZodNativeEnum<
556
- typeof DeploymentInvokeMessageRole
557
- > = DeploymentInvokeMessageRole$inboundSchema;
553
+ export const MessageRole$outboundSchema: z.ZodNativeEnum<typeof MessageRole> =
554
+ MessageRole$inboundSchema;
558
555
 
559
556
  /** @internal */
560
557
  export const Message2$inboundSchema: z.ZodType<
@@ -563,7 +560,7 @@ export const Message2$inboundSchema: z.ZodType<
563
560
  unknown
564
561
  > = z.object({
565
562
  type: DeploymentInvokeMessageType$inboundSchema,
566
- role: DeploymentInvokeMessageRole$inboundSchema,
563
+ role: MessageRole$inboundSchema,
567
564
  content: z.nullable(z.string()),
568
565
  reasoning: z.string().optional(),
569
566
  reasoning_signature: z.string().optional(),
@@ -591,7 +588,7 @@ export const Message2$outboundSchema: z.ZodType<
591
588
  Message2
592
589
  > = z.object({
593
590
  type: DeploymentInvokeMessageType$outboundSchema,
594
- role: DeploymentInvokeMessageRole$outboundSchema,
591
+ role: MessageRole$outboundSchema,
595
592
  content: z.nullable(z.string()),
596
593
  reasoning: z.string().optional(),
597
594
  reasoningSignature: z.string().optional(),
@@ -624,11 +621,14 @@ export const MessageType$outboundSchema: z.ZodNativeEnum<typeof MessageType> =
624
621
  MessageType$inboundSchema;
625
622
 
626
623
  /** @internal */
627
- export const MessageRole$inboundSchema: z.ZodNativeEnum<typeof MessageRole> = z
628
- .nativeEnum(MessageRole);
624
+ export const DeploymentInvokeMessageDeploymentsRole$inboundSchema:
625
+ z.ZodNativeEnum<typeof DeploymentInvokeMessageDeploymentsRole> = z.nativeEnum(
626
+ DeploymentInvokeMessageDeploymentsRole,
627
+ );
629
628
  /** @internal */
630
- export const MessageRole$outboundSchema: z.ZodNativeEnum<typeof MessageRole> =
631
- MessageRole$inboundSchema;
629
+ export const DeploymentInvokeMessageDeploymentsRole$outboundSchema:
630
+ z.ZodNativeEnum<typeof DeploymentInvokeMessageDeploymentsRole> =
631
+ DeploymentInvokeMessageDeploymentsRole$inboundSchema;
632
632
 
633
633
  /** @internal */
634
634
  export const DeploymentInvokeMessageDeploymentsResponseType$inboundSchema:
@@ -734,7 +734,7 @@ export const Message1$inboundSchema: z.ZodType<
734
734
  unknown
735
735
  > = z.object({
736
736
  type: MessageType$inboundSchema,
737
- role: MessageRole$inboundSchema,
737
+ role: DeploymentInvokeMessageDeploymentsRole$inboundSchema,
738
738
  content: z.nullable(z.string()).optional(),
739
739
  tool_calls: z.array(z.lazy(() => MessageToolCalls$inboundSchema)),
740
740
  reasoning: z.string().optional(),
@@ -765,7 +765,7 @@ export const Message1$outboundSchema: z.ZodType<
765
765
  Message1
766
766
  > = z.object({
767
767
  type: MessageType$outboundSchema,
768
- role: MessageRole$outboundSchema,
768
+ role: DeploymentInvokeMessageDeploymentsRole$outboundSchema,
769
769
  content: z.nullable(z.string()).optional(),
770
770
  toolCalls: z.array(z.lazy(() => MessageToolCalls$outboundSchema)),
771
771
  reasoning: z.string().optional(),
@@ -246,6 +246,7 @@ export type DeploymentsEncodingFormat = ClosedEnum<
246
246
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
247
247
  */
248
248
  export const DeploymentsReasoningEffort = {
249
+ None: "none",
249
250
  Disable: "disable",
250
251
  Minimal: "minimal",
251
252
  Low: "low",