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

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 (219) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/lib/config.js.map +1 -1
  5. package/models/components/autorouterconfig.d.ts +21 -0
  6. package/models/components/autorouterconfig.d.ts.map +1 -1
  7. package/models/components/autorouterconfig.js.map +1 -1
  8. package/models/components/autorouterv2config.d.ts +54 -0
  9. package/models/components/autorouterv2config.d.ts.map +1 -1
  10. package/models/components/autorouterv2config.js.map +1 -1
  11. package/models/components/autorouterv2creatorconfig.d.ts +9 -0
  12. package/models/components/autorouterv2creatorconfig.d.ts.map +1 -1
  13. package/models/components/autorouterv2creatorconfig.js.map +1 -1
  14. package/models/components/autorouterv2effortconfig.d.ts +18 -0
  15. package/models/components/autorouterv2effortconfig.d.ts.map +1 -1
  16. package/models/components/autorouterv2effortconfig.js.map +1 -1
  17. package/models/components/budgetmatch.d.ts +1 -1
  18. package/models/components/classifyretryconfig.d.ts +4 -4
  19. package/models/components/classifyretryconfig.d.ts.map +1 -1
  20. package/models/components/classifyretryconfig.js +1 -1
  21. package/models/components/classifyretryconfig.js.map +1 -1
  22. package/models/components/createmcpgatewayrequest.d.ts +11 -0
  23. package/models/components/createmcpgatewayrequest.d.ts.map +1 -1
  24. package/models/components/createmcpgatewayrequest.js +4 -0
  25. package/models/components/createmcpgatewayrequest.js.map +1 -1
  26. package/models/components/createmcpserverrequest.d.ts +6 -0
  27. package/models/components/createmcpserverrequest.d.ts.map +1 -1
  28. package/models/components/createmcpserverrequest.js +2 -0
  29. package/models/components/createmcpserverrequest.js.map +1 -1
  30. package/models/components/embeddingretryconfig.d.ts +4 -4
  31. package/models/components/embeddingretryconfig.d.ts.map +1 -1
  32. package/models/components/embeddingretryconfig.js +1 -1
  33. package/models/components/embeddingretryconfig.js.map +1 -1
  34. package/models/components/evaluatorcalltimeout.d.ts +18 -0
  35. package/models/components/evaluatorcalltimeout.d.ts.map +1 -0
  36. package/models/components/evaluatorcalltimeout.js +54 -0
  37. package/models/components/evaluatorcalltimeout.js.map +1 -0
  38. package/models/components/evaluatorretryconfig.d.ts +20 -0
  39. package/models/components/evaluatorretryconfig.d.ts.map +1 -0
  40. package/models/components/evaluatorretryconfig.js +55 -0
  41. package/models/components/evaluatorretryconfig.js.map +1 -0
  42. package/models/components/index.d.ts +5 -0
  43. package/models/components/index.d.ts.map +1 -1
  44. package/models/components/index.js +5 -0
  45. package/models/components/index.js.map +1 -1
  46. package/models/components/invokeevaluatorrequest.d.ts +9 -0
  47. package/models/components/invokeevaluatorrequest.d.ts.map +1 -1
  48. package/models/components/invokeevaluatorrequest.js +4 -0
  49. package/models/components/invokeevaluatorrequest.js.map +1 -1
  50. package/models/components/loadbalancerconfig.d.ts +19 -1
  51. package/models/components/loadbalancerconfig.d.ts.map +1 -1
  52. package/models/components/loadbalancerconfig.js +12 -2
  53. package/models/components/loadbalancerconfig.js.map +1 -1
  54. package/models/components/mcpconnectiontype.d.ts +1 -0
  55. package/models/components/mcpconnectiontype.d.ts.map +1 -1
  56. package/models/components/mcpconnectiontype.js +1 -0
  57. package/models/components/mcpconnectiontype.js.map +1 -1
  58. package/models/components/mcpgateway.d.ts +9 -0
  59. package/models/components/mcpgateway.d.ts.map +1 -1
  60. package/models/components/mcpgateway.js +4 -0
  61. package/models/components/mcpgateway.js.map +1 -1
  62. package/models/components/mcpgatewaytool.d.ts +5 -0
  63. package/models/components/mcpgatewaytool.d.ts.map +1 -1
  64. package/models/components/mcpgatewaytool.js +2 -0
  65. package/models/components/mcpgatewaytool.js.map +1 -1
  66. package/models/components/mcpicon.d.ts +35 -0
  67. package/models/components/mcpicon.d.ts.map +1 -0
  68. package/models/components/mcpicon.js +73 -0
  69. package/models/components/mcpicon.js.map +1 -0
  70. package/models/components/mcpopenapiconfig.d.ts +25 -0
  71. package/models/components/mcpopenapiconfig.d.ts.map +1 -0
  72. package/models/components/mcpopenapiconfig.js +58 -0
  73. package/models/components/mcpopenapiconfig.js.map +1 -0
  74. package/models/components/mcpopenapiconfiginput.d.ts +25 -0
  75. package/models/components/mcpopenapiconfiginput.d.ts.map +1 -0
  76. package/models/components/mcpopenapiconfiginput.js +56 -0
  77. package/models/components/mcpopenapiconfiginput.js.map +1 -0
  78. package/models/components/mcpserver.d.ts +14 -0
  79. package/models/components/mcpserver.d.ts.map +1 -1
  80. package/models/components/mcpserver.js +6 -0
  81. package/models/components/mcpserver.js.map +1 -1
  82. package/models/components/mcptool.d.ts +25 -0
  83. package/models/components/mcptool.d.ts.map +1 -1
  84. package/models/components/mcptool.js +14 -1
  85. package/models/components/mcptool.js.map +1 -1
  86. package/models/components/modelmetadata.d.ts +2 -0
  87. package/models/components/modelmetadata.d.ts.map +1 -1
  88. package/models/components/modelmetadata.js +4 -0
  89. package/models/components/modelmetadata.js.map +1 -1
  90. package/models/components/reasoning.d.ts +9 -0
  91. package/models/components/reasoning.d.ts.map +1 -1
  92. package/models/components/reasoning.js +9 -1
  93. package/models/components/reasoning.js.map +1 -1
  94. package/models/components/reasoningparam.d.ts +10 -0
  95. package/models/components/reasoningparam.d.ts.map +1 -1
  96. package/models/components/reasoningparam.js +10 -1
  97. package/models/components/reasoningparam.js.map +1 -1
  98. package/models/components/reasoningpart.js +1 -1
  99. package/models/components/responseretryconfig.d.ts +4 -4
  100. package/models/components/responseretryconfig.d.ts.map +1 -1
  101. package/models/components/responseretryconfig.js +1 -1
  102. package/models/components/responseretryconfig.js.map +1 -1
  103. package/models/components/updatemcpgatewayrequest.d.ts +16 -0
  104. package/models/components/updatemcpgatewayrequest.d.ts.map +1 -1
  105. package/models/components/updatemcpgatewayrequest.js +6 -0
  106. package/models/components/updatemcpgatewayrequest.js.map +1 -1
  107. package/models/components/updatemcpserverrequest.d.ts +6 -0
  108. package/models/components/updatemcpserverrequest.d.ts.map +1 -1
  109. package/models/components/updatemcpserverrequest.js +2 -0
  110. package/models/components/updatemcpserverrequest.js.map +1 -1
  111. package/models/operations/createprompt.d.ts +1 -0
  112. package/models/operations/createprompt.d.ts.map +1 -1
  113. package/models/operations/createprompt.js +1 -0
  114. package/models/operations/createprompt.js.map +1 -1
  115. package/models/operations/createtool.js +4 -4
  116. package/models/operations/deploymentinvoke.d.ts +1 -0
  117. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  118. package/models/operations/deploymentinvoke.js +1 -0
  119. package/models/operations/deploymentinvoke.js.map +1 -1
  120. package/models/operations/deployments.d.ts +1 -0
  121. package/models/operations/deployments.d.ts.map +1 -1
  122. package/models/operations/deployments.js +1 -0
  123. package/models/operations/deployments.js.map +1 -1
  124. package/models/operations/deploymentstream.d.ts +1 -0
  125. package/models/operations/deploymentstream.d.ts.map +1 -1
  126. package/models/operations/deploymentstream.js +1 -0
  127. package/models/operations/deploymentstream.js.map +1 -1
  128. package/models/operations/getallprompts.d.ts +1 -0
  129. package/models/operations/getallprompts.d.ts.map +1 -1
  130. package/models/operations/getallprompts.js +1 -0
  131. package/models/operations/getallprompts.js.map +1 -1
  132. package/models/operations/getalltools.js +4 -4
  133. package/models/operations/getoneprompt.d.ts +1 -0
  134. package/models/operations/getoneprompt.d.ts.map +1 -1
  135. package/models/operations/getoneprompt.js +1 -0
  136. package/models/operations/getoneprompt.js.map +1 -1
  137. package/models/operations/getpromptversion.d.ts +1 -0
  138. package/models/operations/getpromptversion.d.ts.map +1 -1
  139. package/models/operations/getpromptversion.js +1 -0
  140. package/models/operations/getpromptversion.js.map +1 -1
  141. package/models/operations/getv2humanevalsets.js +2 -2
  142. package/models/operations/getv2humanevalsetsid.js +2 -2
  143. package/models/operations/listdeploymentversions.d.ts +2 -0
  144. package/models/operations/listdeploymentversions.d.ts.map +1 -1
  145. package/models/operations/listdeploymentversions.js +3 -1
  146. package/models/operations/listdeploymentversions.js.map +1 -1
  147. package/models/operations/listpromptversions.d.ts +1 -0
  148. package/models/operations/listpromptversions.d.ts.map +1 -1
  149. package/models/operations/listpromptversions.js +1 -0
  150. package/models/operations/listpromptversions.js.map +1 -1
  151. package/models/operations/modelcreateawsbedrock.d.ts +6 -0
  152. package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
  153. package/models/operations/modelcreateawsbedrock.js.map +1 -1
  154. package/models/operations/modelupdateawsbedrock.d.ts +6 -0
  155. package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
  156. package/models/operations/modelupdateawsbedrock.js.map +1 -1
  157. package/models/operations/patchv2humanevalsetsid.js +2 -2
  158. package/models/operations/postv2humanevalsets.js +2 -2
  159. package/models/operations/retrievetool.js +4 -4
  160. package/models/operations/runagent.js +1 -1
  161. package/models/operations/streamrunagent.js +1 -1
  162. package/models/operations/updateprompt.d.ts +1 -0
  163. package/models/operations/updateprompt.d.ts.map +1 -1
  164. package/models/operations/updateprompt.js +1 -0
  165. package/models/operations/updateprompt.js.map +1 -1
  166. package/models/operations/updatetool.js +4 -4
  167. package/package.json +8 -8
  168. package/src/lib/config.ts +3 -3
  169. package/src/models/components/autorouterconfig.ts +21 -0
  170. package/src/models/components/autorouterv2config.ts +54 -0
  171. package/src/models/components/autorouterv2creatorconfig.ts +9 -0
  172. package/src/models/components/autorouterv2effortconfig.ts +18 -0
  173. package/src/models/components/budgetmatch.ts +1 -1
  174. package/src/models/components/classifyretryconfig.ts +5 -5
  175. package/src/models/components/createmcpgatewayrequest.ts +18 -0
  176. package/src/models/components/createmcpserverrequest.ts +11 -0
  177. package/src/models/components/embeddingretryconfig.ts +5 -5
  178. package/src/models/components/evaluatorcalltimeout.ts +42 -0
  179. package/src/models/components/evaluatorretryconfig.ts +45 -0
  180. package/src/models/components/index.ts +5 -0
  181. package/src/models/components/invokeevaluatorrequest.ts +19 -0
  182. package/src/models/components/loadbalancerconfig.ts +24 -2
  183. package/src/models/components/mcpconnectiontype.ts +1 -0
  184. package/src/models/components/mcpgateway.ts +12 -0
  185. package/src/models/components/mcpgatewaytool.ts +6 -0
  186. package/src/models/components/mcpicon.ts +77 -0
  187. package/src/models/components/mcpopenapiconfig.ts +54 -0
  188. package/src/models/components/mcpopenapiconfiginput.ts +51 -0
  189. package/src/models/components/mcpserver.ts +21 -0
  190. package/src/models/components/mcptool.ts +46 -0
  191. package/src/models/components/modelmetadata.ts +6 -0
  192. package/src/models/components/reasoning.ts +14 -0
  193. package/src/models/components/reasoningparam.ts +14 -0
  194. package/src/models/components/reasoningpart.ts +1 -1
  195. package/src/models/components/responseretryconfig.ts +5 -5
  196. package/src/models/components/updatemcpgatewayrequest.ts +25 -0
  197. package/src/models/components/updatemcpserverrequest.ts +11 -0
  198. package/src/models/operations/createprompt.ts +1 -0
  199. package/src/models/operations/createtool.ts +4 -4
  200. package/src/models/operations/deploymentinvoke.ts +1 -0
  201. package/src/models/operations/deployments.ts +1 -0
  202. package/src/models/operations/deploymentstream.ts +1 -0
  203. package/src/models/operations/getallprompts.ts +1 -0
  204. package/src/models/operations/getalltools.ts +4 -4
  205. package/src/models/operations/getoneprompt.ts +1 -0
  206. package/src/models/operations/getpromptversion.ts +1 -0
  207. package/src/models/operations/getv2humanevalsets.ts +2 -2
  208. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  209. package/src/models/operations/listdeploymentversions.ts +3 -1
  210. package/src/models/operations/listpromptversions.ts +1 -0
  211. package/src/models/operations/modelcreateawsbedrock.ts +6 -0
  212. package/src/models/operations/modelupdateawsbedrock.ts +6 -0
  213. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  214. package/src/models/operations/postv2humanevalsets.ts +2 -2
  215. package/src/models/operations/retrievetool.ts +4 -4
  216. package/src/models/operations/runagent.ts +1 -1
  217. package/src/models/operations/streamrunagent.ts +1 -1
  218. package/src/models/operations/updateprompt.ts +1 -0
  219. package/src/models/operations/updatetool.ts +4 -4
@@ -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
 
@@ -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_01m5snb5qg87fnaa82mnzemyjj"),
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",
@@ -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_01M5SNB5TRST3KESW7CDG450H4"),
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_01M5SNB5TQG6Q6H05DS5GB5D0F"),
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_01M5SNB5TQE6DWKHDS1VMNG942"),
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_01M5SNB5TPP5HE7SDS14APRKXM"),
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",
@@ -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_01M5SNB5TKH12TNWQQARE2AHFH"),
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_01M5SNB5TJ0M81H8K77J87A946"),
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_01M5SNB5TJ55JV0XF6BZTK53VP"),
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_01M5SNB5THAPKRRNE8SCY2D0NZ"),
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-25T13:52:25.290Z",
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-25T13:52:25.290Z",
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-25T13:52:25.290Z",
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-25T13:52:25.290Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -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("01M5SNB5PJCG7MXAR036DDWCEC"),
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",
@@ -13,7 +13,13 @@ export type ModelCreateAwsBedrockRequestBody = {
13
13
  assumeRoleArn?: string | undefined;
14
14
  assumeRoleExternalId?: string | undefined;
15
15
  authMode: string;
16
+ /**
17
+ * Smart Router catalog identifier of the model. Set it together with autorouter_version to make the private model eligible for Smart Router pools.
18
+ */
16
19
  autorouterId?: string | undefined;
20
+ /**
21
+ * Version of the Smart Router catalog entry, set with autorouter_id.
22
+ */
17
23
  autorouterVersion?: string | undefined;
18
24
  benchmarkModel?: string | undefined;
19
25
  cacheReadCost?: number | undefined;
@@ -12,7 +12,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
  export type ModelUpdateAwsBedrockRequestBody = {
13
13
  assumeRoleArn?: string | undefined;
14
14
  assumeRoleExternalId?: string | undefined;
15
+ /**
16
+ * Smart Router catalog identifier of the model. Set it together with autorouter_version to make the private model eligible for Smart Router pools.
17
+ */
15
18
  autorouterId?: string | undefined;
19
+ /**
20
+ * Version of the Smart Router catalog entry, set with autorouter_id.
21
+ */
16
22
  autorouterVersion?: string | undefined;
17
23
  benchmarkModel?: string | undefined;
18
24
  cacheReadCost?: number | undefined;
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-10-23T00:16:24.299Z",
321
+ "2026-10-25T13:52:25.290Z",
322
322
  ).transform(v => new Date(v)),
323
323
  filter_type: z.literal("name"),
324
324
  filter_value: z.string(),
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
364
364
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
365
365
  .optional(),
366
366
  updated: z.string().datetime({ offset: true }).default(
367
- "2026-10-23T00:16:24.299Z",
367
+ "2026-10-25T13:52:25.290Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -257,7 +257,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
257
257
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
258
258
  .optional(),
259
259
  updated: z.string().datetime({ offset: true }).default(
260
- "2026-10-23T00:16:24.299Z",
260
+ "2026-10-25T13:52:25.290Z",
261
261
  ).transform(v => new Date(v)),
262
262
  filter_type: z.literal("name"),
263
263
  filter_value: z.string(),
@@ -302,7 +302,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
302
302
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
303
303
  .optional(),
304
304
  updated: z.string().datetime({ offset: true }).default(
305
- "2026-10-23T00:16:24.299Z",
305
+ "2026-10-25T13:52:25.290Z",
306
306
  ).transform(v => new Date(v)),
307
307
  filter_type: z.literal("span_type"),
308
308
  filter_values: z.array(z.string()),