@orq-ai/node 4.18.0-rc.0 → 4.18.0-rc.2

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 (251) hide show
  1. package/README.md +4 -4
  2. package/funcs/feedbackCreate.d.ts +3 -0
  3. package/funcs/feedbackCreate.d.ts.map +1 -1
  4. package/funcs/feedbackCreate.js +3 -0
  5. package/funcs/feedbackCreate.js.map +1 -1
  6. package/funcs/feedbackRemove.d.ts +3 -0
  7. package/funcs/feedbackRemove.d.ts.map +1 -1
  8. package/funcs/feedbackRemove.js +3 -0
  9. package/funcs/feedbackRemove.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/lib/config.js.map +1 -1
  14. package/models/components/agentstartedstreamingevent.d.ts +1 -1
  15. package/models/components/autorouterconfig.d.ts +21 -0
  16. package/models/components/autorouterconfig.d.ts.map +1 -1
  17. package/models/components/autorouterconfig.js.map +1 -1
  18. package/models/components/autorouterv2config.d.ts +54 -0
  19. package/models/components/autorouterv2config.d.ts.map +1 -1
  20. package/models/components/autorouterv2config.js.map +1 -1
  21. package/models/components/autorouterv2creatorconfig.d.ts +9 -0
  22. package/models/components/autorouterv2creatorconfig.d.ts.map +1 -1
  23. package/models/components/autorouterv2creatorconfig.js.map +1 -1
  24. package/models/components/autorouterv2effortconfig.d.ts +18 -0
  25. package/models/components/autorouterv2effortconfig.d.ts.map +1 -1
  26. package/models/components/autorouterv2effortconfig.js.map +1 -1
  27. package/models/components/budgetmatch.d.ts +1 -1
  28. package/models/components/classifyretryconfig.d.ts +4 -4
  29. package/models/components/classifyretryconfig.d.ts.map +1 -1
  30. package/models/components/classifyretryconfig.js +1 -1
  31. package/models/components/classifyretryconfig.js.map +1 -1
  32. package/models/components/createmcpgatewayrequest.d.ts +11 -0
  33. package/models/components/createmcpgatewayrequest.d.ts.map +1 -1
  34. package/models/components/createmcpgatewayrequest.js +4 -0
  35. package/models/components/createmcpgatewayrequest.js.map +1 -1
  36. package/models/components/createmcpserverrequest.d.ts +6 -0
  37. package/models/components/createmcpserverrequest.d.ts.map +1 -1
  38. package/models/components/createmcpserverrequest.js +2 -0
  39. package/models/components/createmcpserverrequest.js.map +1 -1
  40. package/models/components/creatememorystorerequest.d.ts +1 -1
  41. package/models/components/embeddingretryconfig.d.ts +4 -4
  42. package/models/components/embeddingretryconfig.d.ts.map +1 -1
  43. package/models/components/embeddingretryconfig.js +1 -1
  44. package/models/components/embeddingretryconfig.js.map +1 -1
  45. package/models/components/evaluatorcalltimeout.d.ts +18 -0
  46. package/models/components/evaluatorcalltimeout.d.ts.map +1 -0
  47. package/models/components/evaluatorcalltimeout.js +54 -0
  48. package/models/components/evaluatorcalltimeout.js.map +1 -0
  49. package/models/components/evaluatorretryconfig.d.ts +20 -0
  50. package/models/components/evaluatorretryconfig.d.ts.map +1 -0
  51. package/models/components/evaluatorretryconfig.js +55 -0
  52. package/models/components/evaluatorretryconfig.js.map +1 -0
  53. package/models/components/index.d.ts +5 -0
  54. package/models/components/index.d.ts.map +1 -1
  55. package/models/components/index.js +5 -0
  56. package/models/components/index.js.map +1 -1
  57. package/models/components/invokeevaluatorrequest.d.ts +9 -0
  58. package/models/components/invokeevaluatorrequest.d.ts.map +1 -1
  59. package/models/components/invokeevaluatorrequest.js +4 -0
  60. package/models/components/invokeevaluatorrequest.js.map +1 -1
  61. package/models/components/loadbalancerconfig.d.ts +19 -1
  62. package/models/components/loadbalancerconfig.d.ts.map +1 -1
  63. package/models/components/loadbalancerconfig.js +12 -2
  64. package/models/components/loadbalancerconfig.js.map +1 -1
  65. package/models/components/mcpconnectiontype.d.ts +1 -0
  66. package/models/components/mcpconnectiontype.d.ts.map +1 -1
  67. package/models/components/mcpconnectiontype.js +1 -0
  68. package/models/components/mcpconnectiontype.js.map +1 -1
  69. package/models/components/mcpgateway.d.ts +9 -0
  70. package/models/components/mcpgateway.d.ts.map +1 -1
  71. package/models/components/mcpgateway.js +4 -0
  72. package/models/components/mcpgateway.js.map +1 -1
  73. package/models/components/mcpgatewaytool.d.ts +5 -0
  74. package/models/components/mcpgatewaytool.d.ts.map +1 -1
  75. package/models/components/mcpgatewaytool.js +2 -0
  76. package/models/components/mcpgatewaytool.js.map +1 -1
  77. package/models/components/mcpicon.d.ts +35 -0
  78. package/models/components/mcpicon.d.ts.map +1 -0
  79. package/models/components/mcpicon.js +73 -0
  80. package/models/components/mcpicon.js.map +1 -0
  81. package/models/components/mcpopenapiconfig.d.ts +25 -0
  82. package/models/components/mcpopenapiconfig.d.ts.map +1 -0
  83. package/models/components/mcpopenapiconfig.js +58 -0
  84. package/models/components/mcpopenapiconfig.js.map +1 -0
  85. package/models/components/mcpopenapiconfiginput.d.ts +25 -0
  86. package/models/components/mcpopenapiconfiginput.d.ts.map +1 -0
  87. package/models/components/mcpopenapiconfiginput.js +56 -0
  88. package/models/components/mcpopenapiconfiginput.js.map +1 -0
  89. package/models/components/mcpserver.d.ts +14 -0
  90. package/models/components/mcpserver.d.ts.map +1 -1
  91. package/models/components/mcpserver.js +6 -0
  92. package/models/components/mcpserver.js.map +1 -1
  93. package/models/components/mcptool.d.ts +25 -0
  94. package/models/components/mcptool.d.ts.map +1 -1
  95. package/models/components/mcptool.js +14 -1
  96. package/models/components/mcptool.js.map +1 -1
  97. package/models/components/memorystore.d.ts +1 -1
  98. package/models/components/modelmetadata.d.ts +2 -0
  99. package/models/components/modelmetadata.d.ts.map +1 -1
  100. package/models/components/modelmetadata.js +4 -0
  101. package/models/components/modelmetadata.js.map +1 -1
  102. package/models/components/reasoning.d.ts +9 -0
  103. package/models/components/reasoning.d.ts.map +1 -1
  104. package/models/components/reasoning.js +9 -1
  105. package/models/components/reasoning.js.map +1 -1
  106. package/models/components/reasoningparam.d.ts +10 -0
  107. package/models/components/reasoningparam.d.ts.map +1 -1
  108. package/models/components/reasoningparam.js +10 -1
  109. package/models/components/reasoningparam.js.map +1 -1
  110. package/models/components/reasoningpart.js +1 -1
  111. package/models/components/responseretryconfig.d.ts +4 -4
  112. package/models/components/responseretryconfig.d.ts.map +1 -1
  113. package/models/components/responseretryconfig.js +1 -1
  114. package/models/components/responseretryconfig.js.map +1 -1
  115. package/models/components/updatemcpgatewayrequest.d.ts +16 -0
  116. package/models/components/updatemcpgatewayrequest.d.ts.map +1 -1
  117. package/models/components/updatemcpgatewayrequest.js +6 -0
  118. package/models/components/updatemcpgatewayrequest.js.map +1 -1
  119. package/models/components/updatemcpserverrequest.d.ts +6 -0
  120. package/models/components/updatemcpserverrequest.d.ts.map +1 -1
  121. package/models/components/updatemcpserverrequest.js +2 -0
  122. package/models/components/updatemcpserverrequest.js.map +1 -1
  123. package/models/operations/createagentrequest.d.ts +2 -2
  124. package/models/operations/createprompt.d.ts +1 -0
  125. package/models/operations/createprompt.d.ts.map +1 -1
  126. package/models/operations/createprompt.js +1 -0
  127. package/models/operations/createprompt.js.map +1 -1
  128. package/models/operations/createtool.js +4 -4
  129. package/models/operations/deploymentinvoke.d.ts +1 -0
  130. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  131. package/models/operations/deploymentinvoke.js +1 -0
  132. package/models/operations/deploymentinvoke.js.map +1 -1
  133. package/models/operations/deployments.d.ts +2 -1
  134. package/models/operations/deployments.d.ts.map +1 -1
  135. package/models/operations/deployments.js +1 -0
  136. package/models/operations/deployments.js.map +1 -1
  137. package/models/operations/deploymentstream.d.ts +1 -0
  138. package/models/operations/deploymentstream.d.ts.map +1 -1
  139. package/models/operations/deploymentstream.js +1 -0
  140. package/models/operations/deploymentstream.js.map +1 -1
  141. package/models/operations/getallprompts.d.ts +1 -0
  142. package/models/operations/getallprompts.d.ts.map +1 -1
  143. package/models/operations/getallprompts.js +1 -0
  144. package/models/operations/getallprompts.js.map +1 -1
  145. package/models/operations/getalltools.js +4 -4
  146. package/models/operations/getoneprompt.d.ts +1 -0
  147. package/models/operations/getoneprompt.d.ts.map +1 -1
  148. package/models/operations/getoneprompt.js +1 -0
  149. package/models/operations/getoneprompt.js.map +1 -1
  150. package/models/operations/getpromptversion.d.ts +1 -0
  151. package/models/operations/getpromptversion.d.ts.map +1 -1
  152. package/models/operations/getpromptversion.js +1 -0
  153. package/models/operations/getpromptversion.js.map +1 -1
  154. package/models/operations/getv2humanevalsets.js +2 -2
  155. package/models/operations/getv2humanevalsetsid.js +2 -2
  156. package/models/operations/listagents.d.ts +1 -1
  157. package/models/operations/listdeploymentversions.d.ts +2 -0
  158. package/models/operations/listdeploymentversions.d.ts.map +1 -1
  159. package/models/operations/listdeploymentversions.js +3 -1
  160. package/models/operations/listdeploymentversions.js.map +1 -1
  161. package/models/operations/listpromptversions.d.ts +1 -0
  162. package/models/operations/listpromptversions.d.ts.map +1 -1
  163. package/models/operations/listpromptversions.js +1 -0
  164. package/models/operations/listpromptversions.js.map +1 -1
  165. package/models/operations/modelcreateawsbedrock.d.ts +6 -0
  166. package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
  167. package/models/operations/modelcreateawsbedrock.js.map +1 -1
  168. package/models/operations/modelupdateawsbedrock.d.ts +6 -0
  169. package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
  170. package/models/operations/modelupdateawsbedrock.js.map +1 -1
  171. package/models/operations/patchv2humanevalsetsid.js +2 -2
  172. package/models/operations/postv2humanevalsets.js +2 -2
  173. package/models/operations/retrieveagentrequest.d.ts +1 -1
  174. package/models/operations/retrievetool.js +4 -4
  175. package/models/operations/runagent.d.ts +1 -1
  176. package/models/operations/runagent.js +1 -1
  177. package/models/operations/streamrunagent.d.ts +1 -1
  178. package/models/operations/streamrunagent.js +1 -1
  179. package/models/operations/updateagent.d.ts +1 -1
  180. package/models/operations/updateprompt.d.ts +1 -0
  181. package/models/operations/updateprompt.d.ts.map +1 -1
  182. package/models/operations/updateprompt.js +1 -0
  183. package/models/operations/updateprompt.js.map +1 -1
  184. package/models/operations/updatetool.js +4 -4
  185. package/package.json +6 -6
  186. package/sdk/feedback.d.ts +6 -0
  187. package/sdk/feedback.d.ts.map +1 -1
  188. package/sdk/feedback.js +6 -0
  189. package/sdk/feedback.js.map +1 -1
  190. package/src/funcs/feedbackCreate.ts +3 -0
  191. package/src/funcs/feedbackRemove.ts +3 -0
  192. package/src/lib/config.ts +3 -3
  193. package/src/models/components/agentstartedstreamingevent.ts +1 -1
  194. package/src/models/components/autorouterconfig.ts +21 -0
  195. package/src/models/components/autorouterv2config.ts +54 -0
  196. package/src/models/components/autorouterv2creatorconfig.ts +9 -0
  197. package/src/models/components/autorouterv2effortconfig.ts +18 -0
  198. package/src/models/components/budgetmatch.ts +1 -1
  199. package/src/models/components/classifyretryconfig.ts +5 -5
  200. package/src/models/components/createmcpgatewayrequest.ts +18 -0
  201. package/src/models/components/createmcpserverrequest.ts +11 -0
  202. package/src/models/components/creatememorystorerequest.ts +1 -1
  203. package/src/models/components/embeddingretryconfig.ts +5 -5
  204. package/src/models/components/evaluatorcalltimeout.ts +42 -0
  205. package/src/models/components/evaluatorretryconfig.ts +45 -0
  206. package/src/models/components/index.ts +5 -0
  207. package/src/models/components/invokeevaluatorrequest.ts +19 -0
  208. package/src/models/components/loadbalancerconfig.ts +24 -2
  209. package/src/models/components/mcpconnectiontype.ts +1 -0
  210. package/src/models/components/mcpgateway.ts +12 -0
  211. package/src/models/components/mcpgatewaytool.ts +6 -0
  212. package/src/models/components/mcpicon.ts +77 -0
  213. package/src/models/components/mcpopenapiconfig.ts +54 -0
  214. package/src/models/components/mcpopenapiconfiginput.ts +51 -0
  215. package/src/models/components/mcpserver.ts +21 -0
  216. package/src/models/components/mcptool.ts +46 -0
  217. package/src/models/components/memorystore.ts +1 -1
  218. package/src/models/components/modelmetadata.ts +6 -0
  219. package/src/models/components/reasoning.ts +14 -0
  220. package/src/models/components/reasoningparam.ts +14 -0
  221. package/src/models/components/reasoningpart.ts +1 -1
  222. package/src/models/components/responseretryconfig.ts +5 -5
  223. package/src/models/components/updatemcpgatewayrequest.ts +25 -0
  224. package/src/models/components/updatemcpserverrequest.ts +11 -0
  225. package/src/models/operations/createagentrequest.ts +2 -2
  226. package/src/models/operations/createprompt.ts +1 -0
  227. package/src/models/operations/createtool.ts +4 -4
  228. package/src/models/operations/deploymentinvoke.ts +1 -0
  229. package/src/models/operations/deployments.ts +2 -1
  230. package/src/models/operations/deploymentstream.ts +1 -0
  231. package/src/models/operations/getallprompts.ts +1 -0
  232. package/src/models/operations/getalltools.ts +4 -4
  233. package/src/models/operations/getoneprompt.ts +1 -0
  234. package/src/models/operations/getpromptversion.ts +1 -0
  235. package/src/models/operations/getv2humanevalsets.ts +2 -2
  236. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  237. package/src/models/operations/listagents.ts +1 -1
  238. package/src/models/operations/listdeploymentversions.ts +3 -1
  239. package/src/models/operations/listpromptversions.ts +1 -0
  240. package/src/models/operations/modelcreateawsbedrock.ts +6 -0
  241. package/src/models/operations/modelupdateawsbedrock.ts +6 -0
  242. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  243. package/src/models/operations/postv2humanevalsets.ts +2 -2
  244. package/src/models/operations/retrieveagentrequest.ts +1 -1
  245. package/src/models/operations/retrievetool.ts +4 -4
  246. package/src/models/operations/runagent.ts +2 -2
  247. package/src/models/operations/streamrunagent.ts +2 -2
  248. package/src/models/operations/updateagent.ts +1 -1
  249. package/src/models/operations/updateprompt.ts +1 -0
  250. package/src/models/operations/updatetool.ts +4 -4
  251. package/src/sdk/feedback.ts +6 -0
@@ -12,6 +12,11 @@ import {
12
12
  McpAuthConfigOutput$inboundSchema,
13
13
  } from "./mcpauthconfigoutput.js";
14
14
  import { McpConnection, McpConnection$inboundSchema } from "./mcpconnection.js";
15
+ import { McpIcon, McpIcon$inboundSchema } from "./mcpicon.js";
16
+ import {
17
+ McpOpenApiConfig,
18
+ McpOpenApiConfig$inboundSchema,
19
+ } from "./mcpopenapiconfig.js";
15
20
  import { McpSkill, McpSkill$inboundSchema } from "./mcpskill.js";
16
21
  import { McpSyncState, McpSyncState$inboundSchema } from "./mcpsyncstate.js";
17
22
  import { McpTool, McpTool$inboundSchema } from "./mcptool.js";
@@ -78,6 +83,18 @@ export type McpServer = {
78
83
  * Skills the upstream publishes through the MCP Skills extension, discovered by the last successful `:sync`.
79
84
  */
80
85
  skills?: Array<McpSkill> | undefined;
86
+ /**
87
+ * Source of the tools of an `MCP_CONNECTION_TYPE_OPENAPI` server.
88
+ */
89
+ openapi?: McpOpenApiConfig | undefined;
90
+ /**
91
+ * Icons advertised by the upstream server during discovery.
92
+ */
93
+ icons?: Array<McpIcon> | undefined;
94
+ /**
95
+ * Website advertised by the upstream server during discovery.
96
+ */
97
+ websiteUrl?: string | undefined;
81
98
  };
82
99
 
83
100
  /** @internal */
@@ -100,12 +117,16 @@ export const McpServer$inboundSchema: z.ZodType<
100
117
  sharing: Sharing$inboundSchema.optional(),
101
118
  created_by_id: z.string().optional(),
102
119
  skills: z.array(McpSkill$inboundSchema).optional(),
120
+ openapi: McpOpenApiConfig$inboundSchema.optional(),
121
+ icons: z.array(McpIcon$inboundSchema).optional(),
122
+ website_url: z.string().optional(),
103
123
  }).transform((v) => {
104
124
  return remap$(v, {
105
125
  "display_name": "displayName",
106
126
  "default_tool_exposure": "defaultToolExposure",
107
127
  "sync_state": "syncState",
108
128
  "created_by_id": "createdById",
129
+ "website_url": "websiteUrl",
109
130
  });
110
131
  });
111
132
 
@@ -7,6 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import { McpIcon, McpIcon$inboundSchema } from "./mcpicon.js";
10
11
  import {
11
12
  McpToolAnnotations,
12
13
  McpToolAnnotations$inboundSchema,
@@ -17,6 +18,20 @@ import {
17
18
  */
18
19
  export type McpToolInputSchema = {};
19
20
 
21
+ /**
22
+ * OpenAPI operation the tool calls, for `MCP_CONNECTION_TYPE_OPENAPI` servers.
23
+ */
24
+ export type HttpOperation = {
25
+ /**
26
+ * HTTP method, upper case.
27
+ */
28
+ method?: string | undefined;
29
+ /**
30
+ * Path template relative to the server base URL.
31
+ */
32
+ path?: string | undefined;
33
+ };
34
+
20
35
  export type McpTool = {
21
36
  /**
22
37
  * Bare tool name as advertised by the upstream server.
@@ -46,6 +61,14 @@ export type McpTool = {
46
61
  * Behaviour hints claimed by the upstream server.
47
62
  */
48
63
  annotations?: McpToolAnnotations | undefined;
64
+ /**
65
+ * OpenAPI operation the tool calls, for `MCP_CONNECTION_TYPE_OPENAPI` servers.
66
+ */
67
+ httpOperation?: HttpOperation | undefined;
68
+ /**
69
+ * Icons advertised by the upstream tool.
70
+ */
71
+ icons?: Array<McpIcon> | undefined;
49
72
  };
50
73
 
51
74
  /** @internal */
@@ -65,6 +88,26 @@ export function mcpToolInputSchemaFromJSON(
65
88
  );
66
89
  }
67
90
 
91
+ /** @internal */
92
+ export const HttpOperation$inboundSchema: z.ZodType<
93
+ HttpOperation,
94
+ z.ZodTypeDef,
95
+ unknown
96
+ > = z.object({
97
+ method: z.string().optional(),
98
+ path: z.string().optional(),
99
+ });
100
+
101
+ export function httpOperationFromJSON(
102
+ jsonString: string,
103
+ ): SafeParseResult<HttpOperation, SDKValidationError> {
104
+ return safeParse(
105
+ jsonString,
106
+ (x) => HttpOperation$inboundSchema.parse(JSON.parse(x)),
107
+ `Failed to parse 'HttpOperation' from JSON`,
108
+ );
109
+ }
110
+
68
111
  /** @internal */
69
112
  export const McpTool$inboundSchema: z.ZodType<McpTool, z.ZodTypeDef, unknown> =
70
113
  z.object({
@@ -75,9 +118,12 @@ export const McpTool$inboundSchema: z.ZodType<McpTool, z.ZodTypeDef, unknown> =
75
118
  id: z.string().optional(),
76
119
  title: z.string().optional(),
77
120
  annotations: McpToolAnnotations$inboundSchema.optional(),
121
+ http_operation: z.lazy(() => HttpOperation$inboundSchema).optional(),
122
+ icons: z.array(McpIcon$inboundSchema).optional(),
78
123
  }).transform((v) => {
79
124
  return remap$(v, {
80
125
  "input_schema": "inputSchema",
126
+ "http_operation": "httpOperation",
81
127
  });
82
128
  });
83
129
 
@@ -14,7 +14,7 @@ import {
14
14
 
15
15
  export type MemoryStore = {
16
16
  /**
17
- * The unique key of the memory store. The key is unique and inmmutable and cannot be repeated within the same workspace.
17
+ * The unique key of the memory store. The key is unique and immutable and cannot be repeated within the same workspace.
18
18
  */
19
19
  key: string;
20
20
  /**
@@ -155,6 +155,7 @@ export type ModelMetadata = {
155
155
  supportsThinkingLevelMinimal?: boolean | undefined;
156
156
  supportsToolCalling?: boolean | undefined;
157
157
  supportsToolChoice?: boolean | undefined;
158
+ supportsTranscription?: boolean | undefined;
158
159
  supportsUrlContext?: boolean | undefined;
159
160
  supportsUrlResponseFormat?: boolean | undefined;
160
161
  supportsVideoInput?: boolean | undefined;
@@ -295,6 +296,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
295
296
  supports_thinking_level_minimal: z.boolean().optional(),
296
297
  supports_tool_calling: z.boolean().optional(),
297
298
  supports_tool_choice: z.boolean().optional(),
299
+ supports_transcription: z.boolean().optional(),
298
300
  supports_url_context: z.boolean().optional(),
299
301
  supports_url_response_format: z.boolean().optional(),
300
302
  supports_video_input: z.boolean().optional(),
@@ -426,6 +428,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
426
428
  "supports_thinking_level_minimal": "supportsThinkingLevelMinimal",
427
429
  "supports_tool_calling": "supportsToolCalling",
428
430
  "supports_tool_choice": "supportsToolChoice",
431
+ "supports_transcription": "supportsTranscription",
429
432
  "supports_url_context": "supportsUrlContext",
430
433
  "supports_url_response_format": "supportsUrlResponseFormat",
431
434
  "supports_video_input": "supportsVideoInput",
@@ -563,6 +566,7 @@ export type ModelMetadata$Outbound = {
563
566
  supports_thinking_level_minimal?: boolean | undefined;
564
567
  supports_tool_calling?: boolean | undefined;
565
568
  supports_tool_choice?: boolean | undefined;
569
+ supports_transcription?: boolean | undefined;
566
570
  supports_url_context?: boolean | undefined;
567
571
  supports_url_response_format?: boolean | undefined;
568
572
  supports_video_input?: boolean | undefined;
@@ -703,6 +707,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
703
707
  supportsThinkingLevelMinimal: z.boolean().optional(),
704
708
  supportsToolCalling: z.boolean().optional(),
705
709
  supportsToolChoice: z.boolean().optional(),
710
+ supportsTranscription: z.boolean().optional(),
706
711
  supportsUrlContext: z.boolean().optional(),
707
712
  supportsUrlResponseFormat: z.boolean().optional(),
708
713
  supportsVideoInput: z.boolean().optional(),
@@ -834,6 +839,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
834
839
  supportsThinkingLevelMinimal: "supports_thinking_level_minimal",
835
840
  supportsToolCalling: "supports_tool_calling",
836
841
  supportsToolChoice: "supports_tool_choice",
842
+ supportsTranscription: "supports_transcription",
837
843
  supportsUrlContext: "supports_url_context",
838
844
  supportsUrlResponseFormat: "supports_url_response_format",
839
845
  supportsVideoInput: "supports_video_input",
@@ -8,6 +8,13 @@ import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
+ export const ReasoningContext = {
12
+ Auto: "auto",
13
+ CurrentTurn: "current_turn",
14
+ AllTurns: "all_turns",
15
+ } as const;
16
+ export type ReasoningContext = ClosedEnum<typeof ReasoningContext>;
17
+
11
18
  /**
12
19
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
13
20
  */
@@ -40,6 +47,7 @@ export const ReasoningSummary = {
40
47
  export type ReasoningSummary = ClosedEnum<typeof ReasoningSummary>;
41
48
 
42
49
  export type Reasoning = {
50
+ context?: ReasoningContext | undefined;
43
51
  /**
44
52
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
45
53
  */
@@ -50,6 +58,11 @@ export type Reasoning = {
50
58
  summary?: ReasoningSummary | null | undefined;
51
59
  };
52
60
 
61
+ /** @internal */
62
+ export const ReasoningContext$inboundSchema: z.ZodNativeEnum<
63
+ typeof ReasoningContext
64
+ > = z.nativeEnum(ReasoningContext);
65
+
53
66
  /** @internal */
54
67
  export const ReasoningEffort1$inboundSchema: z.ZodNativeEnum<
55
68
  typeof ReasoningEffort1
@@ -66,6 +79,7 @@ export const Reasoning$inboundSchema: z.ZodType<
66
79
  z.ZodTypeDef,
67
80
  unknown
68
81
  > = z.object({
82
+ context: ReasoningContext$inboundSchema.optional(),
69
83
  effort: ReasoningEffort1$inboundSchema.optional(),
70
84
  summary: z.nullable(ReasoningSummary$inboundSchema).optional(),
71
85
  });
@@ -5,6 +5,13 @@
5
5
  import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
+ export const Context = {
9
+ Auto: "auto",
10
+ CurrentTurn: "current_turn",
11
+ AllTurns: "all_turns",
12
+ } as const;
13
+ export type Context = ClosedEnum<typeof Context>;
14
+
8
15
  /**
9
16
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
10
17
  */
@@ -37,6 +44,7 @@ export const Summary = {
37
44
  export type Summary = ClosedEnum<typeof Summary>;
38
45
 
39
46
  export type ReasoningParam = {
47
+ context?: Context | undefined;
40
48
  /**
41
49
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
42
50
  */
@@ -47,6 +55,10 @@ export type ReasoningParam = {
47
55
  summary?: Summary | undefined;
48
56
  };
49
57
 
58
+ /** @internal */
59
+ export const Context$outboundSchema: z.ZodNativeEnum<typeof Context> = z
60
+ .nativeEnum(Context);
61
+
50
62
  /** @internal */
51
63
  export const Effort$outboundSchema: z.ZodNativeEnum<typeof Effort> = z
52
64
  .nativeEnum(Effort);
@@ -57,6 +69,7 @@ export const Summary$outboundSchema: z.ZodNativeEnum<typeof Summary> = z
57
69
 
58
70
  /** @internal */
59
71
  export type ReasoningParam$Outbound = {
72
+ context?: string | undefined;
60
73
  effort?: string | undefined;
61
74
  summary?: string | undefined;
62
75
  };
@@ -67,6 +80,7 @@ export const ReasoningParam$outboundSchema: z.ZodType<
67
80
  z.ZodTypeDef,
68
81
  ReasoningParam
69
82
  > = z.object({
83
+ context: Context$outboundSchema.optional(),
70
84
  effort: Effort$outboundSchema.optional(),
71
85
  summary: Summary$outboundSchema.optional(),
72
86
  });
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m5k1vk1zjsmx9kq398mwjgrq"),
43
+ _id: z.string().default("reasoning_01m5vc3k6djwkdf9pjyt96v6tq"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -7,19 +7,19 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
 
8
8
  export type ResponseRetryConfig = {
9
9
  /**
10
- * Number of retries (1-5).
10
+ * Number of retries per model after the initial attempt (0-5). Set 0 to disable retries. When retry is omitted, the gateway retries twice.
11
11
  */
12
12
  count: number;
13
13
  /**
14
- * HTTP status codes that trigger a retry (e.g. [429, 500, 502, 503]).
14
+ * HTTP status codes that trigger a retry. Defaults to [408, 429, 500, 502, 503, 504, 529].
15
15
  */
16
- onCodes: Array<number> | null;
16
+ onCodes?: Array<number> | null | undefined;
17
17
  };
18
18
 
19
19
  /** @internal */
20
20
  export type ResponseRetryConfig$Outbound = {
21
21
  count: number;
22
- on_codes: Array<number> | null;
22
+ on_codes?: Array<number> | null | undefined;
23
23
  };
24
24
 
25
25
  /** @internal */
@@ -29,7 +29,7 @@ export const ResponseRetryConfig$outboundSchema: z.ZodType<
29
29
  ResponseRetryConfig
30
30
  > = z.object({
31
31
  count: z.number().int(),
32
- onCodes: z.nullable(z.array(z.number().int())),
32
+ onCodes: z.nullable(z.array(z.number().int())).optional(),
33
33
  }).transform((v) => {
34
34
  return remap$(v, {
35
35
  onCodes: "on_codes",
@@ -18,6 +18,11 @@ import {
18
18
  McpGatewayServerLink$Outbound,
19
19
  McpGatewayServerLink$outboundSchema,
20
20
  } from "./mcpgatewayserverlink.js";
21
+ import {
22
+ McpIcon,
23
+ McpIcon$Outbound,
24
+ McpIcon$outboundSchema,
25
+ } from "./mcpicon.js";
21
26
  import {
22
27
  McpToolNaming,
23
28
  McpToolNaming$outboundSchema,
@@ -71,6 +76,18 @@ export type UpdateMcpGatewayRequest = {
71
76
  * Set true to stop serving every workspace skill; cannot be combined with `skill_ids`.
72
77
  */
73
78
  clearSkillIds?: boolean | undefined;
79
+ /**
80
+ * Replaces the advertised icons when nonempty or when replace_icons is true.
81
+ */
82
+ icons?: Array<McpIcon> | undefined;
83
+ /**
84
+ * Set true with an empty icons list to restore default ORQ branding.
85
+ */
86
+ replaceIcons?: boolean | undefined;
87
+ /**
88
+ * Empty restores the default ORQ documentation website.
89
+ */
90
+ websiteUrl?: string | undefined;
74
91
  };
75
92
 
76
93
  /** @internal */
@@ -86,6 +103,9 @@ export type UpdateMcpGatewayRequest$Outbound = {
86
103
  plugins?: Array<McpGatewayPlugin$Outbound> | undefined;
87
104
  skill_ids?: Array<string> | undefined;
88
105
  clear_skill_ids?: boolean | undefined;
106
+ icons?: Array<McpIcon$Outbound> | undefined;
107
+ replace_icons?: boolean | undefined;
108
+ website_url?: string | undefined;
89
109
  };
90
110
 
91
111
  /** @internal */
@@ -105,6 +125,9 @@ export const UpdateMcpGatewayRequest$outboundSchema: z.ZodType<
105
125
  plugins: z.array(McpGatewayPlugin$outboundSchema).optional(),
106
126
  skillIds: z.array(z.string()).optional(),
107
127
  clearSkillIds: z.boolean().optional(),
128
+ icons: z.array(McpIcon$outboundSchema).optional(),
129
+ replaceIcons: z.boolean().optional(),
130
+ websiteUrl: z.string().optional(),
108
131
  }).transform((v) => {
109
132
  return remap$(v, {
110
133
  displayName: "display_name",
@@ -113,6 +136,8 @@ export const UpdateMcpGatewayRequest$outboundSchema: z.ZodType<
113
136
  clearServerLinks: "clear_server_links",
114
137
  skillIds: "skill_ids",
115
138
  clearSkillIds: "clear_skill_ids",
139
+ replaceIcons: "replace_icons",
140
+ websiteUrl: "website_url",
116
141
  });
117
142
  });
118
143
 
@@ -14,6 +14,11 @@ import {
14
14
  McpConnection$Outbound,
15
15
  McpConnection$outboundSchema,
16
16
  } from "./mcpconnection.js";
17
+ import {
18
+ McpOpenApiConfigInput,
19
+ McpOpenApiConfigInput$Outbound,
20
+ McpOpenApiConfigInput$outboundSchema,
21
+ } from "./mcpopenapiconfiginput.js";
17
22
  import {
18
23
  McpToolExposure,
19
24
  McpToolExposure$Outbound,
@@ -58,6 +63,10 @@ export type UpdateMcpServerRequest = {
58
63
  * Which projects in the workspace may use this server. Defaults to every project.
59
64
  */
60
65
  sharing?: Sharing | undefined;
66
+ /**
67
+ * Recompiles the tools of an OpenAPI server; without `document` the stored `document_url` is fetched again.
68
+ */
69
+ openapi?: McpOpenApiConfigInput | undefined;
61
70
  };
62
71
 
63
72
  /** @internal */
@@ -69,6 +78,7 @@ export type UpdateMcpServerRequest$Outbound = {
69
78
  auth?: McpAuthConfig$Outbound | undefined;
70
79
  default_tool_exposure?: McpToolExposure$Outbound | undefined;
71
80
  sharing?: Sharing$Outbound | undefined;
81
+ openapi?: McpOpenApiConfigInput$Outbound | undefined;
72
82
  };
73
83
 
74
84
  /** @internal */
@@ -84,6 +94,7 @@ export const UpdateMcpServerRequest$outboundSchema: z.ZodType<
84
94
  auth: McpAuthConfig$outboundSchema.optional(),
85
95
  defaultToolExposure: McpToolExposure$outboundSchema.optional(),
86
96
  sharing: Sharing$outboundSchema.optional(),
97
+ openapi: McpOpenApiConfigInput$outboundSchema.optional(),
87
98
  }).transform((v) => {
88
99
  return remap$(v, {
89
100
  displayName: "display_name",
@@ -1063,7 +1063,7 @@ export type CreateAgentRequestGuardrails = {
1063
1063
  */
1064
1064
  export type Settings = {
1065
1065
  /**
1066
- * Maximum iterations(llm calls) before the agent will stop executing.
1066
+ * Maximum iterations (LLM calls) before the agent will stop executing.
1067
1067
  */
1068
1068
  maxIterations?: number | undefined;
1069
1069
  /**
@@ -1400,7 +1400,7 @@ export type CreateAgentRequestAgentsGuardrails = {
1400
1400
 
1401
1401
  export type CreateAgentRequestSettings = {
1402
1402
  /**
1403
- * Maximum iterations(llm calls) before the agent will stop executing.
1403
+ * Maximum iterations (LLM calls) before the agent will stop executing.
1404
1404
  */
1405
1405
  maxIterations: number;
1406
1406
  /**
@@ -1412,6 +1412,7 @@ export const CreatePromptProvider = {
1412
1412
  Scaleway: "scaleway",
1413
1413
  Hcompany: "hcompany",
1414
1414
  Inception: "inception",
1415
+ Munito: "munito",
1415
1416
  Inceptron: "inceptron",
1416
1417
  Wafer: "wafer",
1417
1418
  Poolside: "poolside",
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1575
1575
  z.ZodTypeDef,
1576
1576
  unknown
1577
1577
  > = z.object({
1578
- _id: z.string().default("tool_01M5K1VK5K3D3DJRDBK71SGDA1"),
1578
+ _id: z.string().default("tool_01M5VC3K9TJ88FN91KBHKT0W4N"),
1579
1579
  path: z.string(),
1580
1580
  key: z.string(),
1581
1581
  display_name: z.string().optional(),
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1761
1761
  z.ZodTypeDef,
1762
1762
  unknown
1763
1763
  > = z.object({
1764
- _id: z.string().default("tool_01M5K1VK5JYJ1VGE6VQBK5X2TD"),
1764
+ _id: z.string().default("tool_01M5VC3K9S5PHZXAM9X3GPRB0D"),
1765
1765
  path: z.string(),
1766
1766
  key: z.string(),
1767
1767
  display_name: z.string().optional(),
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1854
1854
  z.ZodTypeDef,
1855
1855
  unknown
1856
1856
  > = z.object({
1857
- _id: z.string().default("tool_01M5K1VK5JDDJPEKVBE0T3WF7F"),
1857
+ _id: z.string().default("tool_01M5VC3K9SDRS14JFY07WAYNA4"),
1858
1858
  path: z.string(),
1859
1859
  key: z.string(),
1860
1860
  display_name: z.string().optional(),
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1955
1955
  z.ZodTypeDef,
1956
1956
  unknown
1957
1957
  > = z.object({
1958
- _id: z.string().default("tool_01M5K1VK5HWT2M3BFNRM9V0GB8"),
1958
+ _id: z.string().default("tool_01M5VC3K9R8M4YP8XBXPFSX8B4"),
1959
1959
  path: z.string(),
1960
1960
  key: z.string(),
1961
1961
  display_name: z.string().optional(),
@@ -57,6 +57,7 @@ export const DeploymentInvokeProvider = {
57
57
  Scaleway: "scaleway",
58
58
  Hcompany: "hcompany",
59
59
  Inception: "inception",
60
+ Munito: "munito",
60
61
  Inceptron: "inceptron",
61
62
  Wafer: "wafer",
62
63
  Poolside: "poolside",
@@ -489,6 +489,7 @@ export const DeploymentsProvider = {
489
489
  Scaleway: "scaleway",
490
490
  Hcompany: "hcompany",
491
491
  Inception: "inception",
492
+ Munito: "munito",
492
493
  Inceptron: "inceptron",
493
494
  Wafer: "wafer",
494
495
  Poolside: "poolside",
@@ -667,7 +668,7 @@ export type DeploymentsData = {
667
668
  description: string;
668
669
  promptConfig: DeploymentsPromptConfig;
669
670
  /**
670
- * THe version of the deployment
671
+ * The version of the deployment
671
672
  */
672
673
  version: string;
673
674
  };
@@ -1162,6 +1162,7 @@ export const DeploymentStreamProvider = {
1162
1162
  Scaleway: "scaleway",
1163
1163
  Hcompany: "hcompany",
1164
1164
  Inception: "inception",
1165
+ Munito: "munito",
1165
1166
  Inceptron: "inceptron",
1166
1167
  Wafer: "wafer",
1167
1168
  Poolside: "poolside",
@@ -440,6 +440,7 @@ export const GetAllPromptsProvider = {
440
440
  Scaleway: "scaleway",
441
441
  Hcompany: "hcompany",
442
442
  Inception: "inception",
443
+ Munito: "munito",
443
444
  Inceptron: "inceptron",
444
445
  Wafer: "wafer",
445
446
  Poolside: "poolside",
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M5K1VK5E6QN52C0VQJ7BJ9K8"),
642
+ _id: z.string().default("tool_01M5VC3K9N6KE972WYQH0GWXP0"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M5K1VK5DRPRH6K119X9FVWN3"),
824
+ _id: z.string().default("tool_01M5VC3K9KES6J3NJPE7FHJ7DZ"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M5K1VK5CBSWFK562Y0FMJ8A1"),
917
+ _id: z.string().default("tool_01M5VC3K9JPC9ZGXYWETYC5G2B"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M5K1VK5CKHBJ10JWAZMGDZ1P"),
1015
+ _id: z.string().default("tool_01M5VC3K9JFYXM2NMQN8VZ1SYB"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -424,6 +424,7 @@ export const GetOnePromptProvider = {
424
424
  Scaleway: "scaleway",
425
425
  Hcompany: "hcompany",
426
426
  Inception: "inception",
427
+ Munito: "munito",
427
428
  Inceptron: "inceptron",
428
429
  Wafer: "wafer",
429
430
  Poolside: "poolside",
@@ -430,6 +430,7 @@ export const GetPromptVersionProvider = {
430
430
  Scaleway: "scaleway",
431
431
  Hcompany: "hcompany",
432
432
  Inception: "inception",
433
+ Munito: "munito",
433
434
  Inceptron: "inceptron",
434
435
  Wafer: "wafer",
435
436
  Poolside: "poolside",
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-10-23T00:16:24.299Z",
143
+ "2026-10-26T05:49:27.444Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-10-23T00:16:24.299Z",
188
+ "2026-10-26T05:49:27.444Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-10-23T00:16:24.299Z",
144
+ "2026-10-26T05:49:27.444Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-10-23T00:16:24.299Z",
189
+ "2026-10-26T05:49:27.444Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -243,7 +243,7 @@ export type ListAgentsGuardrails = {
243
243
 
244
244
  export type ListAgentsSettings = {
245
245
  /**
246
- * Maximum iterations(llm calls) before the agent will stop executing.
246
+ * Maximum iterations (LLM calls) before the agent will stop executing.
247
247
  */
248
248
  maxIterations: number;
249
249
  /**
@@ -446,6 +446,7 @@ export const ListDeploymentVersionsProvider = {
446
446
  Scaleway: "scaleway",
447
447
  Hcompany: "hcompany",
448
448
  Inception: "inception",
449
+ Munito: "munito",
449
450
  Inceptron: "inceptron",
450
451
  Wafer: "wafer",
451
452
  Poolside: "poolside",
@@ -1048,6 +1049,7 @@ export const ListDeploymentVersionsDeploymentsProvider = {
1048
1049
  Scaleway: "scaleway",
1049
1050
  Hcompany: "hcompany",
1050
1051
  Inception: "inception",
1052
+ Munito: "munito",
1051
1053
  Inceptron: "inceptron",
1052
1054
  Wafer: "wafer",
1053
1055
  Poolside: "poolside",
@@ -2527,7 +2529,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
2527
2529
  z.ZodTypeDef,
2528
2530
  unknown
2529
2531
  > = z.object({
2530
- id: z.string().default("01M5K1VK0T4MAFCCEM2YPZJH9G"),
2532
+ id: z.string().default("01M5VC3K5BTF4CG7Y010NDNR53"),
2531
2533
  knowledge_id: z.string(),
2532
2534
  configuration: z.union([
2533
2535
  z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
@@ -444,6 +444,7 @@ export const ListPromptVersionsProvider = {
444
444
  Scaleway: "scaleway",
445
445
  Hcompany: "hcompany",
446
446
  Inception: "inception",
447
+ Munito: "munito",
447
448
  Inceptron: "inceptron",
448
449
  Wafer: "wafer",
449
450
  Poolside: "poolside",