@azure/ai-projects 2.4.0 → 2.6.0

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 (374) hide show
  1. package/README.md +23 -4
  2. package/dist/browser/api/agents/index.d.ts +2 -2
  3. package/dist/browser/api/agents/index.d.ts.map +1 -1
  4. package/dist/browser/api/agents/index.js +1 -1
  5. package/dist/browser/api/agents/index.js.map +1 -1
  6. package/dist/browser/api/agents/operations.d.ts +23 -2
  7. package/dist/browser/api/agents/operations.d.ts.map +1 -1
  8. package/dist/browser/api/agents/operations.js +178 -58
  9. package/dist/browser/api/agents/operations.js.map +1 -1
  10. package/dist/browser/api/agents/options.d.ts +153 -2
  11. package/dist/browser/api/agents/options.d.ts.map +1 -1
  12. package/dist/browser/api/agents/options.js.map +1 -1
  13. package/dist/browser/api/beta/agentInsightMonitors/index.d.ts +3 -0
  14. package/dist/browser/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
  15. package/dist/browser/api/beta/agentInsightMonitors/index.js +4 -0
  16. package/dist/browser/api/beta/agentInsightMonitors/index.js.map +1 -0
  17. package/dist/browser/api/beta/agentInsightMonitors/operations.d.ts +59 -0
  18. package/dist/browser/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
  19. package/dist/browser/api/beta/agentInsightMonitors/operations.js +519 -0
  20. package/dist/browser/api/beta/agentInsightMonitors/operations.js.map +1 -0
  21. package/dist/browser/api/beta/agentInsightMonitors/options.d.ts +86 -0
  22. package/dist/browser/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
  23. package/dist/browser/api/beta/agentInsightMonitors/options.js +4 -0
  24. package/dist/browser/api/beta/agentInsightMonitors/options.js.map +1 -0
  25. package/dist/browser/api/beta/agents/operations.d.ts +10 -10
  26. package/dist/browser/api/beta/agents/operations.d.ts.map +1 -1
  27. package/dist/browser/api/beta/agents/operations.js +6 -6
  28. package/dist/browser/api/beta/agents/operations.js.map +1 -1
  29. package/dist/browser/api/beta/datasets/operations.d.ts +1 -1
  30. package/dist/browser/api/beta/datasets/operations.d.ts.map +1 -1
  31. package/dist/browser/api/beta/datasets/operations.js.map +1 -1
  32. package/dist/browser/api/beta/models/options.d.ts +1 -1
  33. package/dist/browser/api/beta/models/options.d.ts.map +1 -1
  34. package/dist/browser/api/beta/models/options.js.map +1 -1
  35. package/dist/browser/api/beta/routines/operations.d.ts +3 -3
  36. package/dist/browser/api/beta/routines/operations.d.ts.map +1 -1
  37. package/dist/browser/api/beta/routines/operations.js +24 -23
  38. package/dist/browser/api/beta/routines/operations.js.map +1 -1
  39. package/dist/browser/api/beta/routines/options.d.ts +23 -15
  40. package/dist/browser/api/beta/routines/options.d.ts.map +1 -1
  41. package/dist/browser/api/beta/routines/options.js.map +1 -1
  42. package/dist/browser/classic/agents/index.d.ts +17 -2
  43. package/dist/browser/classic/agents/index.d.ts.map +1 -1
  44. package/dist/browser/classic/agents/index.js +4 -1
  45. package/dist/browser/classic/agents/index.js.map +1 -1
  46. package/dist/browser/classic/beta/agentInsightMonitors/index.d.ts +36 -0
  47. package/dist/browser/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
  48. package/dist/browser/classic/beta/agentInsightMonitors/index.js +26 -0
  49. package/dist/browser/classic/beta/agentInsightMonitors/index.js.map +1 -0
  50. package/dist/browser/classic/beta/agents/index.d.ts +5 -5
  51. package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
  52. package/dist/browser/classic/beta/agents/index.js.map +1 -1
  53. package/dist/browser/classic/beta/index.d.ts +3 -0
  54. package/dist/browser/classic/beta/index.d.ts.map +1 -1
  55. package/dist/browser/classic/beta/index.js +3 -0
  56. package/dist/browser/classic/beta/index.js.map +1 -1
  57. package/dist/browser/classic/beta/routines/index.d.ts +1 -1
  58. package/dist/browser/classic/beta/routines/index.d.ts.map +1 -1
  59. package/dist/browser/classic/beta/routines/index.js.map +1 -1
  60. package/dist/browser/constants.d.ts +1 -1
  61. package/dist/browser/constants.js +1 -1
  62. package/dist/browser/constants.js.map +1 -1
  63. package/dist/browser/index.d.ts +7 -4
  64. package/dist/browser/index.d.ts.map +1 -1
  65. package/dist/browser/index.js.map +1 -1
  66. package/dist/browser/models/index.d.ts +2 -1
  67. package/dist/browser/models/index.d.ts.map +1 -1
  68. package/dist/browser/models/index.js.map +1 -1
  69. package/dist/browser/models/models.d.ts +822 -102
  70. package/dist/browser/models/models.d.ts.map +1 -1
  71. package/dist/browser/models/models.js +885 -82
  72. package/dist/browser/models/models.js.map +1 -1
  73. package/dist/browser/package.json +6 -1
  74. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
  75. package/dist/browser/static-helpers/pagingHelpers.js +3 -0
  76. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  77. package/dist/browser/static-helpers/pollingHelpers.d.ts +20 -0
  78. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
  79. package/dist/browser/static-helpers/pollingHelpers.js +26 -12
  80. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  81. package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
  82. package/dist/browser/static-helpers/serialization/get-binary-stream-response.js +12 -0
  83. package/dist/browser/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
  84. package/dist/browser/static-helpers/serialization/parse-json-object.d.ts +2 -0
  85. package/dist/browser/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
  86. package/dist/browser/static-helpers/serialization/parse-json-object.js +14 -0
  87. package/dist/browser/static-helpers/serialization/parse-json-object.js.map +1 -0
  88. package/dist/browser/tracing/agentTracing.d.ts +16 -0
  89. package/dist/browser/tracing/agentTracing.d.ts.map +1 -0
  90. package/dist/browser/tracing/agentTracing.js +61 -0
  91. package/dist/browser/tracing/agentTracing.js.map +1 -0
  92. package/dist/browser/tracing/configuration.d.ts.map +1 -1
  93. package/dist/browser/tracing/configuration.js +8 -5
  94. package/dist/browser/tracing/configuration.js.map +1 -1
  95. package/dist/commonjs/api/agents/index.d.ts +2 -2
  96. package/dist/commonjs/api/agents/index.d.ts.map +1 -1
  97. package/dist/commonjs/api/agents/index.js +6 -0
  98. package/dist/commonjs/api/agents/index.js.map +2 -2
  99. package/dist/commonjs/api/agents/operations.d.ts +23 -2
  100. package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
  101. package/dist/commonjs/api/agents/operations.js +185 -67
  102. package/dist/commonjs/api/agents/operations.js.map +2 -2
  103. package/dist/commonjs/api/agents/options.d.ts +153 -2
  104. package/dist/commonjs/api/agents/options.d.ts.map +1 -1
  105. package/dist/commonjs/api/agents/options.js.map +1 -1
  106. package/dist/commonjs/api/beta/agentInsightMonitors/index.d.ts +3 -0
  107. package/dist/commonjs/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
  108. package/dist/commonjs/api/beta/agentInsightMonitors/index.js +52 -0
  109. package/dist/commonjs/api/beta/agentInsightMonitors/index.js.map +7 -0
  110. package/dist/commonjs/api/beta/agentInsightMonitors/operations.d.ts +59 -0
  111. package/dist/commonjs/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
  112. package/dist/commonjs/api/beta/agentInsightMonitors/operations.js +678 -0
  113. package/dist/commonjs/api/beta/agentInsightMonitors/operations.js.map +7 -0
  114. package/dist/commonjs/api/beta/agentInsightMonitors/options.d.ts +86 -0
  115. package/dist/commonjs/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
  116. package/dist/commonjs/api/beta/agentInsightMonitors/options.js +16 -0
  117. package/dist/commonjs/api/beta/agentInsightMonitors/options.js.map +7 -0
  118. package/dist/commonjs/api/beta/agents/operations.d.ts +10 -10
  119. package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -1
  120. package/dist/commonjs/api/beta/agents/operations.js +5 -5
  121. package/dist/commonjs/api/beta/agents/operations.js.map +2 -2
  122. package/dist/commonjs/api/beta/datasets/operations.d.ts +1 -1
  123. package/dist/commonjs/api/beta/datasets/operations.d.ts.map +1 -1
  124. package/dist/commonjs/api/beta/datasets/operations.js.map +1 -1
  125. package/dist/commonjs/api/beta/models/options.d.ts +1 -1
  126. package/dist/commonjs/api/beta/models/options.d.ts.map +1 -1
  127. package/dist/commonjs/api/beta/models/options.js.map +1 -1
  128. package/dist/commonjs/api/beta/routines/operations.d.ts +3 -3
  129. package/dist/commonjs/api/beta/routines/operations.d.ts.map +1 -1
  130. package/dist/commonjs/api/beta/routines/operations.js +23 -24
  131. package/dist/commonjs/api/beta/routines/operations.js.map +2 -2
  132. package/dist/commonjs/api/beta/routines/options.d.ts +23 -15
  133. package/dist/commonjs/api/beta/routines/options.d.ts.map +1 -1
  134. package/dist/commonjs/api/beta/routines/options.js.map +1 -1
  135. package/dist/commonjs/classic/agents/index.d.ts +17 -2
  136. package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
  137. package/dist/commonjs/classic/agents/index.js +3 -0
  138. package/dist/commonjs/classic/agents/index.js.map +2 -2
  139. package/dist/commonjs/classic/beta/agentInsightMonitors/index.d.ts +36 -0
  140. package/dist/commonjs/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
  141. package/dist/commonjs/classic/beta/agentInsightMonitors/index.js +50 -0
  142. package/dist/commonjs/classic/beta/agentInsightMonitors/index.js.map +7 -0
  143. package/dist/commonjs/classic/beta/agents/index.d.ts +5 -5
  144. package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
  145. package/dist/commonjs/classic/beta/agents/index.js.map +1 -1
  146. package/dist/commonjs/classic/beta/index.d.ts +3 -0
  147. package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
  148. package/dist/commonjs/classic/beta/index.js +4 -1
  149. package/dist/commonjs/classic/beta/index.js.map +2 -2
  150. package/dist/commonjs/classic/beta/routines/index.d.ts +1 -1
  151. package/dist/commonjs/classic/beta/routines/index.d.ts.map +1 -1
  152. package/dist/commonjs/classic/beta/routines/index.js.map +1 -1
  153. package/dist/commonjs/constants.d.ts +1 -1
  154. package/dist/commonjs/constants.js +1 -1
  155. package/dist/commonjs/constants.js.map +1 -1
  156. package/dist/commonjs/index.d.ts +7 -4
  157. package/dist/commonjs/index.d.ts.map +1 -1
  158. package/dist/commonjs/index.js.map +2 -2
  159. package/dist/commonjs/models/index.d.ts +2 -1
  160. package/dist/commonjs/models/index.d.ts.map +1 -1
  161. package/dist/commonjs/models/index.js.map +1 -1
  162. package/dist/commonjs/models/models.d.ts +822 -102
  163. package/dist/commonjs/models/models.d.ts.map +1 -1
  164. package/dist/commonjs/models/models.js +1028 -171
  165. package/dist/commonjs/models/models.js.map +2 -2
  166. package/dist/commonjs/package.json +6 -1
  167. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
  168. package/dist/commonjs/static-helpers/pagingHelpers.js +3 -0
  169. package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
  170. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +20 -0
  171. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
  172. package/dist/commonjs/static-helpers/pollingHelpers.js +29 -8
  173. package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
  174. package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
  175. package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js +15 -0
  176. package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js.map +2 -2
  177. package/dist/commonjs/static-helpers/serialization/parse-json-object.d.ts +2 -0
  178. package/dist/commonjs/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
  179. package/dist/commonjs/static-helpers/serialization/parse-json-object.js +35 -0
  180. package/dist/commonjs/static-helpers/serialization/parse-json-object.js.map +7 -0
  181. package/dist/commonjs/tracing/agentTracing.d.ts +16 -0
  182. package/dist/commonjs/tracing/agentTracing.d.ts.map +1 -0
  183. package/dist/commonjs/tracing/agentTracing.js +74 -0
  184. package/dist/commonjs/tracing/agentTracing.js.map +7 -0
  185. package/dist/commonjs/tracing/configuration.d.ts.map +1 -1
  186. package/dist/commonjs/tracing/configuration.js +14 -4
  187. package/dist/commonjs/tracing/configuration.js.map +2 -2
  188. package/dist/esm/api/agents/index.d.ts +2 -2
  189. package/dist/esm/api/agents/index.d.ts.map +1 -1
  190. package/dist/esm/api/agents/index.js +1 -1
  191. package/dist/esm/api/agents/index.js.map +1 -1
  192. package/dist/esm/api/agents/operations.d.ts +23 -2
  193. package/dist/esm/api/agents/operations.d.ts.map +1 -1
  194. package/dist/esm/api/agents/operations.js +178 -58
  195. package/dist/esm/api/agents/operations.js.map +1 -1
  196. package/dist/esm/api/agents/options.d.ts +153 -2
  197. package/dist/esm/api/agents/options.d.ts.map +1 -1
  198. package/dist/esm/api/agents/options.js.map +1 -1
  199. package/dist/esm/api/beta/agentInsightMonitors/index.d.ts +3 -0
  200. package/dist/esm/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
  201. package/dist/esm/api/beta/agentInsightMonitors/index.js +4 -0
  202. package/dist/esm/api/beta/agentInsightMonitors/index.js.map +1 -0
  203. package/dist/esm/api/beta/agentInsightMonitors/operations.d.ts +59 -0
  204. package/dist/esm/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
  205. package/dist/esm/api/beta/agentInsightMonitors/operations.js +519 -0
  206. package/dist/esm/api/beta/agentInsightMonitors/operations.js.map +1 -0
  207. package/dist/esm/api/beta/agentInsightMonitors/options.d.ts +86 -0
  208. package/dist/esm/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
  209. package/dist/esm/api/beta/agentInsightMonitors/options.js +4 -0
  210. package/dist/esm/api/beta/agentInsightMonitors/options.js.map +1 -0
  211. package/dist/esm/api/beta/agents/operations.d.ts +10 -10
  212. package/dist/esm/api/beta/agents/operations.d.ts.map +1 -1
  213. package/dist/esm/api/beta/agents/operations.js +6 -6
  214. package/dist/esm/api/beta/agents/operations.js.map +1 -1
  215. package/dist/esm/api/beta/datasets/operations.d.ts +1 -1
  216. package/dist/esm/api/beta/datasets/operations.d.ts.map +1 -1
  217. package/dist/esm/api/beta/datasets/operations.js.map +1 -1
  218. package/dist/esm/api/beta/models/options.d.ts +1 -1
  219. package/dist/esm/api/beta/models/options.d.ts.map +1 -1
  220. package/dist/esm/api/beta/models/options.js.map +1 -1
  221. package/dist/esm/api/beta/routines/operations.d.ts +3 -3
  222. package/dist/esm/api/beta/routines/operations.d.ts.map +1 -1
  223. package/dist/esm/api/beta/routines/operations.js +24 -23
  224. package/dist/esm/api/beta/routines/operations.js.map +1 -1
  225. package/dist/esm/api/beta/routines/options.d.ts +23 -15
  226. package/dist/esm/api/beta/routines/options.d.ts.map +1 -1
  227. package/dist/esm/api/beta/routines/options.js.map +1 -1
  228. package/dist/esm/classic/agents/index.d.ts +17 -2
  229. package/dist/esm/classic/agents/index.d.ts.map +1 -1
  230. package/dist/esm/classic/agents/index.js +4 -1
  231. package/dist/esm/classic/agents/index.js.map +1 -1
  232. package/dist/esm/classic/beta/agentInsightMonitors/index.d.ts +36 -0
  233. package/dist/esm/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
  234. package/dist/esm/classic/beta/agentInsightMonitors/index.js +26 -0
  235. package/dist/esm/classic/beta/agentInsightMonitors/index.js.map +1 -0
  236. package/dist/esm/classic/beta/agents/index.d.ts +5 -5
  237. package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
  238. package/dist/esm/classic/beta/agents/index.js.map +1 -1
  239. package/dist/esm/classic/beta/index.d.ts +3 -0
  240. package/dist/esm/classic/beta/index.d.ts.map +1 -1
  241. package/dist/esm/classic/beta/index.js +3 -0
  242. package/dist/esm/classic/beta/index.js.map +1 -1
  243. package/dist/esm/classic/beta/routines/index.d.ts +1 -1
  244. package/dist/esm/classic/beta/routines/index.d.ts.map +1 -1
  245. package/dist/esm/classic/beta/routines/index.js.map +1 -1
  246. package/dist/esm/constants.d.ts +1 -1
  247. package/dist/esm/constants.js +1 -1
  248. package/dist/esm/constants.js.map +1 -1
  249. package/dist/esm/index.d.ts +7 -4
  250. package/dist/esm/index.d.ts.map +1 -1
  251. package/dist/esm/index.js.map +1 -1
  252. package/dist/esm/models/index.d.ts +2 -1
  253. package/dist/esm/models/index.d.ts.map +1 -1
  254. package/dist/esm/models/index.js.map +1 -1
  255. package/dist/esm/models/models.d.ts +822 -102
  256. package/dist/esm/models/models.d.ts.map +1 -1
  257. package/dist/esm/models/models.js +885 -82
  258. package/dist/esm/models/models.js.map +1 -1
  259. package/dist/esm/package.json +6 -1
  260. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
  261. package/dist/esm/static-helpers/pagingHelpers.js +3 -0
  262. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  263. package/dist/esm/static-helpers/pollingHelpers.d.ts +20 -0
  264. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
  265. package/dist/esm/static-helpers/pollingHelpers.js +26 -12
  266. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  267. package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
  268. package/dist/esm/static-helpers/serialization/get-binary-stream-response.js +15 -0
  269. package/dist/esm/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
  270. package/dist/esm/static-helpers/serialization/parse-json-object.d.ts +2 -0
  271. package/dist/esm/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
  272. package/dist/esm/static-helpers/serialization/parse-json-object.js +14 -0
  273. package/dist/esm/static-helpers/serialization/parse-json-object.js.map +1 -0
  274. package/dist/esm/tracing/agentTracing.d.ts +16 -0
  275. package/dist/esm/tracing/agentTracing.d.ts.map +1 -0
  276. package/dist/esm/tracing/agentTracing.js +61 -0
  277. package/dist/esm/tracing/agentTracing.js.map +1 -0
  278. package/dist/esm/tracing/configuration.d.ts.map +1 -1
  279. package/dist/esm/tracing/configuration.js +8 -5
  280. package/dist/esm/tracing/configuration.js.map +1 -1
  281. package/dist/react-native/api/agents/index.d.ts +2 -2
  282. package/dist/react-native/api/agents/index.d.ts.map +1 -1
  283. package/dist/react-native/api/agents/index.js +1 -1
  284. package/dist/react-native/api/agents/index.js.map +1 -1
  285. package/dist/react-native/api/agents/operations.d.ts +23 -2
  286. package/dist/react-native/api/agents/operations.d.ts.map +1 -1
  287. package/dist/react-native/api/agents/operations.js +178 -58
  288. package/dist/react-native/api/agents/operations.js.map +1 -1
  289. package/dist/react-native/api/agents/options.d.ts +153 -2
  290. package/dist/react-native/api/agents/options.d.ts.map +1 -1
  291. package/dist/react-native/api/agents/options.js.map +1 -1
  292. package/dist/react-native/api/beta/agentInsightMonitors/index.d.ts +3 -0
  293. package/dist/react-native/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
  294. package/dist/react-native/api/beta/agentInsightMonitors/index.js +4 -0
  295. package/dist/react-native/api/beta/agentInsightMonitors/index.js.map +1 -0
  296. package/dist/react-native/api/beta/agentInsightMonitors/operations.d.ts +59 -0
  297. package/dist/react-native/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
  298. package/dist/react-native/api/beta/agentInsightMonitors/operations.js +519 -0
  299. package/dist/react-native/api/beta/agentInsightMonitors/operations.js.map +1 -0
  300. package/dist/react-native/api/beta/agentInsightMonitors/options.d.ts +86 -0
  301. package/dist/react-native/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
  302. package/dist/react-native/api/beta/agentInsightMonitors/options.js +4 -0
  303. package/dist/react-native/api/beta/agentInsightMonitors/options.js.map +1 -0
  304. package/dist/react-native/api/beta/agents/operations.d.ts +10 -10
  305. package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -1
  306. package/dist/react-native/api/beta/agents/operations.js +6 -6
  307. package/dist/react-native/api/beta/agents/operations.js.map +1 -1
  308. package/dist/react-native/api/beta/datasets/operations.d.ts +1 -1
  309. package/dist/react-native/api/beta/datasets/operations.d.ts.map +1 -1
  310. package/dist/react-native/api/beta/datasets/operations.js.map +1 -1
  311. package/dist/react-native/api/beta/models/options.d.ts +1 -1
  312. package/dist/react-native/api/beta/models/options.d.ts.map +1 -1
  313. package/dist/react-native/api/beta/models/options.js.map +1 -1
  314. package/dist/react-native/api/beta/routines/operations.d.ts +3 -3
  315. package/dist/react-native/api/beta/routines/operations.d.ts.map +1 -1
  316. package/dist/react-native/api/beta/routines/operations.js +24 -23
  317. package/dist/react-native/api/beta/routines/operations.js.map +1 -1
  318. package/dist/react-native/api/beta/routines/options.d.ts +23 -15
  319. package/dist/react-native/api/beta/routines/options.d.ts.map +1 -1
  320. package/dist/react-native/api/beta/routines/options.js.map +1 -1
  321. package/dist/react-native/classic/agents/index.d.ts +17 -2
  322. package/dist/react-native/classic/agents/index.d.ts.map +1 -1
  323. package/dist/react-native/classic/agents/index.js +4 -1
  324. package/dist/react-native/classic/agents/index.js.map +1 -1
  325. package/dist/react-native/classic/beta/agentInsightMonitors/index.d.ts +36 -0
  326. package/dist/react-native/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
  327. package/dist/react-native/classic/beta/agentInsightMonitors/index.js +26 -0
  328. package/dist/react-native/classic/beta/agentInsightMonitors/index.js.map +1 -0
  329. package/dist/react-native/classic/beta/agents/index.d.ts +5 -5
  330. package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
  331. package/dist/react-native/classic/beta/agents/index.js.map +1 -1
  332. package/dist/react-native/classic/beta/index.d.ts +3 -0
  333. package/dist/react-native/classic/beta/index.d.ts.map +1 -1
  334. package/dist/react-native/classic/beta/index.js +3 -0
  335. package/dist/react-native/classic/beta/index.js.map +1 -1
  336. package/dist/react-native/classic/beta/routines/index.d.ts +1 -1
  337. package/dist/react-native/classic/beta/routines/index.d.ts.map +1 -1
  338. package/dist/react-native/classic/beta/routines/index.js.map +1 -1
  339. package/dist/react-native/constants.d.ts +1 -1
  340. package/dist/react-native/constants.js +1 -1
  341. package/dist/react-native/constants.js.map +1 -1
  342. package/dist/react-native/index.d.ts +7 -4
  343. package/dist/react-native/index.d.ts.map +1 -1
  344. package/dist/react-native/index.js.map +1 -1
  345. package/dist/react-native/models/index.d.ts +2 -1
  346. package/dist/react-native/models/index.d.ts.map +1 -1
  347. package/dist/react-native/models/index.js.map +1 -1
  348. package/dist/react-native/models/models.d.ts +822 -102
  349. package/dist/react-native/models/models.d.ts.map +1 -1
  350. package/dist/react-native/models/models.js +885 -82
  351. package/dist/react-native/models/models.js.map +1 -1
  352. package/dist/react-native/package.json +6 -1
  353. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
  354. package/dist/react-native/static-helpers/pagingHelpers.js +3 -0
  355. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  356. package/dist/react-native/static-helpers/pollingHelpers.d.ts +20 -0
  357. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
  358. package/dist/react-native/static-helpers/pollingHelpers.js +26 -12
  359. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
  360. package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts.map +1 -1
  361. package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs +12 -0
  362. package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs.map +1 -1
  363. package/dist/react-native/static-helpers/serialization/parse-json-object.d.ts +2 -0
  364. package/dist/react-native/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
  365. package/dist/react-native/static-helpers/serialization/parse-json-object.js +14 -0
  366. package/dist/react-native/static-helpers/serialization/parse-json-object.js.map +1 -0
  367. package/dist/react-native/tracing/agentTracing.d.ts +16 -0
  368. package/dist/react-native/tracing/agentTracing.d.ts.map +1 -0
  369. package/dist/react-native/tracing/agentTracing.js +61 -0
  370. package/dist/react-native/tracing/agentTracing.js.map +1 -0
  371. package/dist/react-native/tracing/configuration.d.ts.map +1 -1
  372. package/dist/react-native/tracing/configuration.js +8 -5
  373. package/dist/react-native/tracing/configuration.js.map +1 -1
  374. package/package.json +10 -9
@@ -22,6 +22,8 @@ export interface Agent {
22
22
  };
23
23
  /** The endpoint configuration for the agent */
24
24
  agent_endpoint?: AgentEndpointConfig;
25
+ /** (Preview) The type of digital worker (previously known as `autopilot`). If omitted, it is not a digital worker. */
26
+ digital_worker_type?: DigitalWorkerType;
25
27
  /** The instance identity of the agent */
26
28
  readonly instance_identity?: AgentIdentity;
27
29
  /** The blueprint for the agent */
@@ -98,7 +100,7 @@ export declare function agentDefinitionSerializer(item: AgentDefinition): any;
98
100
  export declare function agentDefinitionDeserializer(item: any): AgentDefinition;
99
101
  /**
100
102
  * Union type for all agent definition types.
101
- * Supports workflow, hosted, container app, prompt and external agents.
103
+ * Supports workflow, hosted, container app, prompt, and external agents.
102
104
  */
103
105
  export type AgentDefinitionUnion = HostedAgentDefinition | PromptAgentDefinition | WorkflowAgentDefinition | ExternalAgentDefinition | AgentDefinition;
104
106
  export declare function agentDefinitionUnionSerializer(item: AgentDefinitionUnion): any;
@@ -112,9 +114,48 @@ export type AgentKind = "prompt" | "hosted" | "workflow" | "external";
112
114
  export interface RaiConfig {
113
115
  /** The name of the RAI policy to apply. */
114
116
  rai_policy_name: string;
117
+ /**
118
+ * Author-declared configuration telling the platform where user/agent text lives in the
119
+ * agent-defined invocations request/response bodies, so content-safety guardrails can extract
120
+ * and moderate it. Optional; a rai_config without it leaves the invocations path without
121
+ * content-safety moderation.
122
+ */
123
+ invocations_moderation?: RaiInvocationModeration;
115
124
  }
116
125
  export declare function raiConfigSerializer(item: RaiConfig): any;
117
126
  export declare function raiConfigDeserializer(item: any): RaiConfig;
127
+ /** Declares where request/response text lives so content-safety guardrails can extract it. */
128
+ export interface RaiInvocationModeration {
129
+ /** How the REQUEST body is parsed. When omitted, the service defaults to `json`. */
130
+ input_content_type?: RaiInvocationContentType;
131
+ /** How the RESPONSE body is parsed. When omitted, the service defaults to `json`. */
132
+ output_content_type?: RaiInvocationContentType;
133
+ /** Author-declared response shape; drives which output gate runs and which fields are required. */
134
+ response_mode: RaiInvocationMode;
135
+ /** Path(s) to user text in the REQUEST body. Required when input_content_type is `json`. */
136
+ input_paths?: string[];
137
+ /** Path(s) to agent text in a NON-STREAMING response body. Required when response_mode is non_streaming/both and output_content_type is `json`. */
138
+ output_paths?: string[];
139
+ /** One SSE event->field selector per event type carrying text. Required when response_mode is streaming/both and output_content_type is `json`. */
140
+ stream_selectors?: RaiSseTextSelector[];
141
+ }
142
+ export declare function raiInvocationModerationSerializer(item: RaiInvocationModeration): any;
143
+ export declare function raiInvocationModerationDeserializer(item: any): RaiInvocationModeration;
144
+ /** How an invocations request/response body is parsed to locate text for content-safety moderation. */
145
+ export type RaiInvocationContentType = "json" | "text";
146
+ /** Author-declared response shape for the invocations protocol. */
147
+ export type RaiInvocationMode = "non_streaming" | "streaming" | "both";
148
+ export declare function raiSseTextSelectorArraySerializer(result: Array<RaiSseTextSelector>): any[];
149
+ export declare function raiSseTextSelectorArrayDeserializer(result: Array<RaiSseTextSelector>): any[];
150
+ /** An SSE event-type to text-field selector for streaming invocation output. */
151
+ export interface RaiSseTextSelector {
152
+ /** The SSE event `type` value that carries text. */
153
+ event_type: string;
154
+ /** The field on a matched event holding the text delta. When omitted, the service defaults to `delta`. */
155
+ text_field?: string;
156
+ }
157
+ export declare function raiSseTextSelectorSerializer(item: RaiSseTextSelector): any;
158
+ export declare function raiSseTextSelectorDeserializer(item: any): RaiSseTextSelector;
118
159
  /** The hosted agent definition. */
119
160
  export interface HostedAgentDefinition extends AgentDefinition {
120
161
  kind: "hosted";
@@ -132,6 +173,8 @@ export interface HostedAgentDefinition extends AgentDefinition {
132
173
  code_configuration?: CodeConfiguration;
133
174
  /** Optional customer-supplied telemetry configuration for exporting container logs, traces, and metrics. */
134
175
  telemetry_config?: TelemetryConfig;
176
+ /** Optional session defaults (for example, the idle timeout) applied to sessions created for this agent version. */
177
+ session_configuration?: SessionConfiguration;
135
178
  }
136
179
  export declare function hostedAgentDefinitionSerializer(item: HostedAgentDefinition): any;
137
180
  export declare function hostedAgentDefinitionDeserializer(item: any): HostedAgentDefinition;
@@ -145,11 +188,11 @@ export interface Tool {
145
188
  export declare function toolSerializer(item: Tool): any;
146
189
  export declare function toolDeserializer(item: any): Tool;
147
190
  /** Alias for ToolUnion */
148
- export type ToolUnion = BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | WorkIQPreviewTool | FabricIQPreviewTool | MemorySearchPreviewTool | CodeInterpreterTool | FileSearchTool | WebSearchTool | MCPTool | FunctionTool | ComputerUsePreviewTool | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | ComputerTool | NamespaceToolParam | ToolSearchToolParam | Tool;
191
+ export type ToolUnion = BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | A2ATool | WorkIQPreviewTool | FabricIQPreviewTool | WebIQPreviewTool | MemorySearchPreviewTool | CodeInterpreterTool | FileSearchTool | WebSearchTool | MCPTool | FunctionTool | ComputerUsePreviewTool | ProgrammaticToolCallingParam | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | ComputerTool | NamespaceToolParam | ToolSearchToolParam | Tool;
149
192
  export declare function toolUnionSerializer(item: ToolUnion): any;
150
193
  export declare function toolUnionDeserializer(item: any): ToolUnion;
151
194
  /** Type of ToolType */
152
- export type ToolType = "function" | "file_search" | "computer" | "computer_use_preview" | "web_search" | "mcp" | "code_interpreter" | "image_generation" | "local_shell" | "shell" | "custom" | "namespace" | "tool_search" | "web_search_preview" | "apply_patch" | "a2a_preview" | "bing_custom_search_preview" | "browser_automation_preview" | "fabric_dataagent_preview" | "sharepoint_grounding_preview" | "memory_search_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search_preview" | "azure_ai_search" | "azure_function" | "bing_grounding" | "capture_structured_outputs" | "openapi";
195
+ export type ToolType = "function" | "file_search" | "computer" | "computer_use_preview" | "web_search" | "mcp" | "code_interpreter" | "programmatic_tool_calling" | "image_generation" | "local_shell" | "shell" | "custom" | "namespace" | "tool_search" | "web_search_preview" | "apply_patch" | "a2a_preview" | "bing_custom_search_preview" | "browser_automation_preview" | "fabric_dataagent_preview" | "sharepoint_grounding_preview" | "memory_search_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search_preview" | "web_iq_preview" | "a2a" | "azure_ai_search" | "azure_function" | "bing_grounding" | "capture_structured_outputs" | "openapi";
153
196
  /** The input definition information for a bing grounding search tool as used to configure an agent. */
154
197
  export interface BingGroundingTool extends Tool {
155
198
  /** The object type, which is always 'bing_grounding'. */
@@ -650,6 +693,7 @@ export declare function memorySearchOptionsDeserializer(item: any): MemorySearch
650
693
  export interface CodeInterpreterTool extends Tool {
651
694
  /** The type of the code interpreter tool. Always `code_interpreter`. */
652
695
  type: "code_interpreter";
696
+ allowed_callers?: CallableToolAllowedCaller[];
653
697
  /** Deprecated. This property is deprecated and will be removed in a future version. */
654
698
  name?: string;
655
699
  /** Deprecated. This property is deprecated and will be removed in a future version. */
@@ -739,10 +783,14 @@ export interface FunctionTool extends Tool {
739
783
  description?: string;
740
784
  /** The parameters schema for the function. */
741
785
  parameters?: Record<string, unknown>;
786
+ /** The schema for the function output. */
787
+ output_schema?: Record<string, unknown>;
742
788
  /** Whether the function arguments must strictly match the parameters schema. */
743
789
  strict?: boolean;
744
790
  /** Whether this function is deferred and loaded via tool search. */
745
791
  defer_loading?: boolean;
792
+ /** The callers that may invoke this tool. */
793
+ allowed_callers?: CallableToolAllowedCaller[];
746
794
  }
747
795
  export declare function functionToolSerializer(item: FunctionTool): any;
748
796
  export declare function functionToolDeserializer(item: any): FunctionTool;
@@ -960,6 +1008,8 @@ export interface MCPTool extends Tool {
960
1008
  headers?: Record<string, string>;
961
1009
  /** The list of allowed tool names for the MCP server. */
962
1010
  allowed_tools?: string[] | MCPToolFilter;
1011
+ /** The callers that may invoke this tool. */
1012
+ allowed_callers?: CallableToolAllowedCaller[];
963
1013
  /** The approval requirements for the MCP tool. */
964
1014
  require_approval?: MCPToolRequireApproval | "always" | "never";
965
1015
  /** Whether this MCP tool is deferred and discovered via tool search. */
@@ -1058,6 +1108,8 @@ export interface FunctionShellToolParam extends Tool {
1058
1108
  type: "shell";
1059
1109
  /** The environment configuration for the function shell tool. */
1060
1110
  environment?: FunctionShellToolParamEnvironmentUnion;
1111
+ /** The callers that may invoke this tool. */
1112
+ allowed_callers?: CallableToolAllowedCaller[];
1061
1113
  /** Deprecated. This property is deprecated and will be removed in a future version. */
1062
1114
  name?: string;
1063
1115
  /** Deprecated. This property is deprecated and will be removed in a future version. */
@@ -1188,6 +1240,7 @@ export interface CustomToolParam extends Tool {
1188
1240
  format?: CustomToolParamFormatUnion;
1189
1241
  /** Whether this tool should be deferred and discovered via tool search. */
1190
1242
  defer_loading?: boolean;
1243
+ allowed_callers?: CallableToolAllowedCaller[];
1191
1244
  }
1192
1245
  export declare function customToolParamSerializer(item: CustomToolParam): any;
1193
1246
  export declare function customToolParamDeserializer(item: any): CustomToolParam;
@@ -1259,6 +1312,7 @@ export type SearchContentType = "text" | "image";
1259
1312
  export interface ApplyPatchToolParam extends Tool {
1260
1313
  /** The type of the tool. Always `apply_patch`. */
1261
1314
  type: "apply_patch";
1315
+ allowed_callers?: CallableToolAllowedCaller[];
1262
1316
  }
1263
1317
  export declare function applyPatchToolParamSerializer(item: ApplyPatchToolParam): any;
1264
1318
  export declare function applyPatchToolParamDeserializer(item: any): ApplyPatchToolParam;
@@ -1295,8 +1349,10 @@ export interface FunctionToolParam {
1295
1349
  parameters?: EmptyModelParam;
1296
1350
  strict?: boolean;
1297
1351
  type: "function";
1352
+ output_schema?: Record<string, any>;
1298
1353
  /** Whether this function should be deferred and discovered via tool search. */
1299
1354
  defer_loading?: boolean;
1355
+ allowed_callers?: CallableToolAllowedCaller[];
1300
1356
  }
1301
1357
  export declare function functionToolParamSerializer(item: FunctionToolParam): any;
1302
1358
  export declare function functionToolParamDeserializer(item: any): FunctionToolParam;
@@ -1322,6 +1378,14 @@ export type ToolSearchExecutionType = "server" | "client";
1322
1378
  export interface ContainerConfiguration {
1323
1379
  /** The container image for the hosted agent. */
1324
1380
  image: string;
1381
+ /**
1382
+ * The id (or name) of the Foundry project connection that provides the credentials used to
1383
+ * authenticate to the private container registry hosting `image`. The connection abstracts the
1384
+ * auth mechanism — for example a managed-identity-federated token exchange, or a username/token
1385
+ * secret — so registry credentials are never part of the agent definition. Omit for public images
1386
+ * or registries already reachable by the platform's default identity (for example, Azure Container Registry).
1387
+ */
1388
+ registry_connection_id?: string;
1325
1389
  }
1326
1390
  export declare function containerConfigurationSerializer(item: ContainerConfiguration): any;
1327
1391
  export declare function containerConfigurationDeserializer(item: any): ContainerConfiguration;
@@ -1337,7 +1401,7 @@ export interface ProtocolVersionRecord {
1337
1401
  export declare function protocolVersionRecordSerializer(item: ProtocolVersionRecord): any;
1338
1402
  export declare function protocolVersionRecordDeserializer(item: any): ProtocolVersionRecord;
1339
1403
  /** Type of AgentProtocol */
1340
- export type AgentProtocol = "activity" | "responses" | "a2a" | "mcp" | "invocations" | "invocations_ws";
1404
+ export type AgentProtocol = "activity" | "responses" | "a2a" | "mcp" | "invocations" | "voice" | "invocations_ws";
1341
1405
  /** Code-based deployment configuration for a hosted agent. */
1342
1406
  export interface CodeConfiguration {
1343
1407
  /** The runtime identifier for code execution ('python_3_14'). */
@@ -1471,6 +1535,11 @@ export declare function promptAgentDefinitionDeserializer(item: any): PromptAgen
1471
1535
  * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
1472
1536
  */
1473
1537
  export interface Reasoning {
1538
+ /**
1539
+ * Controls the reasoning execution mode for the request.
1540
+ * When returned on a response, this is the effective execution mode.
1541
+ */
1542
+ mode?: ReasoningModeEnum;
1474
1543
  effort?: ReasoningEffort;
1475
1544
  summary?: "auto" | "concise" | "detailed";
1476
1545
  context?: "auto" | "current_turn" | "all_turns";
@@ -1489,7 +1558,7 @@ export declare function reasoningDeserializer(item: any): Reasoning;
1489
1558
  * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1490
1559
  * - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
1491
1560
  */
1492
- export type ReasoningEffort = "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
1561
+ export type ReasoningEffort = "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
1493
1562
  /** Alias for _PromptAgentDefinitionToolChoice */
1494
1563
  export type _PromptAgentDefinitionToolChoice = string | ToolChoiceParamUnion;
1495
1564
  export declare function _promptAgentDefinitionToolChoiceSerializer(item: _PromptAgentDefinitionToolChoice): any;
@@ -1505,11 +1574,11 @@ export interface ToolChoiceParam {
1505
1574
  export declare function toolChoiceParamSerializer(item: ToolChoiceParam): any;
1506
1575
  export declare function toolChoiceParamDeserializer(item: any): ToolChoiceParam;
1507
1576
  /** Alias for ToolChoiceParamUnion */
1508
- export type ToolChoiceParamUnion = ToolChoiceAllowed | ToolChoiceFunction | ToolChoiceMCP | ToolChoiceCustom | SpecificApplyPatchParam | SpecificFunctionShellParam | ToolChoiceFileSearch | ToolChoiceWebSearchPreview | ToolChoiceComputerUsePreview | ToolChoiceWebSearchPreview20250311 | ToolChoiceImageGeneration | ToolChoiceCodeInterpreter | ToolChoiceComputer | ToolChoiceComputerUse | ToolChoiceParam;
1577
+ export type ToolChoiceParamUnion = ToolChoiceAllowed | ToolChoiceFunction | ToolChoiceMCP | ToolChoiceCustom | SpecificProgrammaticToolCallingParam | SpecificApplyPatchParam | SpecificFunctionShellParam | ToolChoiceFileSearch | ToolChoiceWebSearchPreview | ToolChoiceComputerUsePreview | ToolChoiceWebSearchPreview20250311 | ToolChoiceImageGeneration | ToolChoiceCodeInterpreter | ToolChoiceComputer | ToolChoiceComputerUse | ToolChoiceParam;
1509
1578
  export declare function toolChoiceParamUnionSerializer(item: ToolChoiceParamUnion): any;
1510
1579
  export declare function toolChoiceParamUnionDeserializer(item: any): ToolChoiceParamUnion;
1511
1580
  /** Type of ToolChoiceParamType */
1512
- export type ToolChoiceParamType = "allowed_tools" | "function" | "mcp" | "custom" | "apply_patch" | "shell" | "file_search" | "web_search_preview" | "computer_use_preview" | "web_search_preview_2025_03_11" | "image_generation" | "code_interpreter" | "computer" | "computer_use";
1581
+ export type ToolChoiceParamType = "allowed_tools" | "function" | "mcp" | "custom" | "programmatic_tool_calling" | "apply_patch" | "shell" | "file_search" | "web_search_preview" | "computer_use_preview" | "web_search_preview_2025_03_11" | "image_generation" | "code_interpreter" | "computer" | "computer_use";
1513
1582
  /** Constrains the tools available to the model to a pre-defined set. */
1514
1583
  export interface ToolChoiceAllowed extends ToolChoiceParam {
1515
1584
  /** Allowed tool configuration type. Always `allowed_tools`. */
@@ -1802,6 +1871,8 @@ export interface AgentEndpointConfig {
1802
1871
  protocol_configuration?: ProtocolConfiguration;
1803
1872
  /** The authorization schemes supported by the agent endpoint */
1804
1873
  authorization_schemes?: AgentEndpointAuthorizationSchemeUnion[];
1874
+ /** The Microsoft Agent Certification review status of the Microsoft 365 store title published for this agent. Server-populated and best-effort: it is absent when the status could not be determined, and an absent value must not be interpreted as the agent not being published. No value is terminal, because publishing a new version of an agent reuses the same store title and sends it back through review. */
1875
+ readonly publish_approval_status?: PublishApprovalStatus;
1805
1876
  }
1806
1877
  export declare function agentEndpointConfigSerializer(item: AgentEndpointConfig): any;
1807
1878
  export declare function agentEndpointConfigDeserializer(item: any): AgentEndpointConfig;
@@ -1858,6 +1929,8 @@ export declare function protocolConfigurationDeserializer(item: any): ProtocolCo
1858
1929
  export interface ActivityProtocolConfiguration {
1859
1930
  /** Whether to enable the M365 public endpoint for the activity protocol. */
1860
1931
  enable_m365_public_endpoint?: boolean;
1932
+ /** The access boundaries for the activity protocol. */
1933
+ readonly access_boundaries?: ActivityProtocolAccessBoundary[];
1861
1934
  }
1862
1935
  export declare function activityProtocolConfigurationSerializer(item: ActivityProtocolConfiguration): any;
1863
1936
  export declare function activityProtocolConfigurationDeserializer(item: any): ActivityProtocolConfiguration;
@@ -1924,6 +1997,8 @@ export interface BotServiceTenantAuthorizationScheme extends AgentEndpointAuthor
1924
1997
  }
1925
1998
  export declare function botServiceTenantAuthorizationSchemeSerializer(item: BotServiceTenantAuthorizationScheme): any;
1926
1999
  export declare function botServiceTenantAuthorizationSchemeDeserializer(item: any): BotServiceTenantAuthorizationScheme;
2000
+ /** The type of digital worker. */
2001
+ export type DigitalWorkerType = "m365";
1927
2002
  /** model interface AgentCard */
1928
2003
  export interface AgentCard {
1929
2004
  /** The version of the agent card. */
@@ -2563,6 +2638,65 @@ export declare function sessionLogEventDeserializer(item: any): SessionLogEvent;
2563
2638
  * Additional event types may be introduced in future versions.
2564
2639
  */
2565
2640
  export type SessionLogEventType = "log";
2641
+ export declare function microsoft365PermissionScopesArraySerializer(result: Array<Microsoft365PermissionScopes>): any[];
2642
+ /** A set of delegated permission scopes requested from a single resource application. */
2643
+ export interface Microsoft365PermissionScopes {
2644
+ /** Application id of the resource that exposes the requested delegated scopes. */
2645
+ resourceAppId: string;
2646
+ /** Delegated scope names requested from the resource application. Must not be empty. */
2647
+ scopes: string[];
2648
+ }
2649
+ export declare function microsoft365PermissionScopesSerializer(item: Microsoft365PermissionScopes): any;
2650
+ /** The publish scope for the generated Microsoft Teams app. */
2651
+ export type Microsoft365PublishScope = "Personal" | "Shared" | "Tenant";
2652
+ /** Response from publishing an agent to Microsoft 365 / Microsoft Teams. */
2653
+ export interface Microsoft365PublishResponse {
2654
+ /** The Microsoft 365 title id of the published app. */
2655
+ titleId?: string;
2656
+ /** The Microsoft Teams app id of the published app. */
2657
+ teamsAppId?: string;
2658
+ }
2659
+ export declare function microsoft365PublishResponseDeserializer(item: any): Microsoft365PublishResponse;
2660
+ /**
2661
+ * Default and previously-published values used to pre-populate a Microsoft 365 publish request for a
2662
+ * Foundry agent.
2663
+ */
2664
+ export interface Microsoft365PublishDefaults {
2665
+ /** The publish scope. */
2666
+ appPublishScope?: Microsoft365PublishScope;
2667
+ /** The agent name. */
2668
+ agentName?: string;
2669
+ /**
2670
+ * The user-facing display name for the agent. Defaults to the agent name if not previously
2671
+ * overridden.
2672
+ */
2673
+ agentDisplayName?: string;
2674
+ /** The app-registration client id associated with the agent. */
2675
+ appRegistrationClientId?: string;
2676
+ /** ARM resource id of the Azure Bot Service associated with the previously-published app, if any. */
2677
+ botServiceArmId?: string;
2678
+ /** The most recently published app version. */
2679
+ appVersion?: string;
2680
+ /** The recommended next app version (the most recent app version, incremented). */
2681
+ recommendedNextAppVersion?: string;
2682
+ /** The Microsoft 365 title id of the previously-published app, if any. */
2683
+ titleId?: string;
2684
+ /** The Microsoft Teams app id of the previously-published app, if any. */
2685
+ teamsAppId?: string;
2686
+ /** Short, one-line description shown in the Teams app listing. */
2687
+ shortDescription?: string;
2688
+ /** Full description shown on the Teams app details page. */
2689
+ fullDescription?: string;
2690
+ /** Display name of the developer / publisher. */
2691
+ developerName?: string;
2692
+ /** Developer / publisher website URL. */
2693
+ developerWebsiteUrl?: string;
2694
+ /** Privacy policy URL. */
2695
+ privacyUrl?: string;
2696
+ /** Terms-of-use URL. */
2697
+ termsOfUseUrl?: string;
2698
+ }
2699
+ export declare function microsoft365PublishDefaultsDeserializer(item: any): Microsoft365PublishDefaults;
2566
2700
  /** Response from uploading a file to a session sandbox. */
2567
2701
  export interface SessionFileWriteResponse {
2568
2702
  /** The path where the file was written, relative to the session home directory. */
@@ -2619,14 +2753,15 @@ export interface ToolboxTool {
2619
2753
  export declare function toolboxToolSerializer(item: ToolboxTool): any;
2620
2754
  export declare function toolboxToolDeserializer(item: any): ToolboxTool;
2621
2755
  /** Alias for ToolboxToolUnion */
2622
- export type ToolboxToolUnion = CodeInterpreterToolboxTool | FileSearchToolboxTool | WebSearchToolboxTool | MCPToolboxTool | AzureAISearchToolboxTool | OpenApiToolboxTool | A2APreviewToolboxTool | BrowserAutomationPreviewToolboxTool | ReminderPreviewToolboxTool | WorkIQPreviewToolboxTool | FabricIQPreviewToolboxTool | ToolboxSearchPreviewToolboxTool | ToolSearchToolboxTool | ToolboxTool;
2756
+ export type ToolboxToolUnion = CodeInterpreterToolboxTool | FileSearchToolboxTool | WebSearchToolboxTool | ShellToolboxTool | MCPToolboxTool | AzureAISearchToolboxTool | OpenApiToolboxTool | A2AToolboxTool | A2APreviewToolboxTool | BrowserAutomationPreviewToolboxTool | ReminderPreviewToolboxTool | WorkIQPreviewToolboxTool | FabricIQPreviewToolboxTool | WebIQPreviewToolboxTool | ToolboxSearchPreviewToolboxTool | ToolSearchToolboxTool | ToolboxTool;
2623
2757
  export declare function toolboxToolUnionSerializer(item: ToolboxToolUnion): any;
2624
2758
  export declare function toolboxToolUnionDeserializer(item: any): ToolboxToolUnion;
2625
2759
  /** Supported tool types for tools stored in a toolbox. */
2626
- export type ToolboxToolType = "code_interpreter" | "file_search" | "web_search" | "mcp" | "azure_ai_search" | "openapi" | "a2a_preview" | "browser_automation_preview" | "reminder_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search" | "toolbox_search_preview";
2760
+ export type ToolboxToolType = "code_interpreter" | "file_search" | "web_search" | "mcp" | "azure_ai_search" | "openapi" | "a2a_preview" | "browser_automation_preview" | "reminder_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search" | "toolbox_search_preview" | "a2a" | "shell" | "web_iq_preview";
2627
2761
  /** A code interpreter tool stored in a toolbox. */
2628
2762
  export interface CodeInterpreterToolboxTool extends ToolboxTool {
2629
2763
  type: "code_interpreter";
2764
+ allowed_callers?: CallableToolAllowedCaller[];
2630
2765
  /**
2631
2766
  * The code interpreter container. Can be a container ID or an object that
2632
2767
  * specifies uploaded file IDs to make available to your code, along with an
@@ -2705,6 +2840,7 @@ export interface MCPToolboxTool extends ToolboxTool {
2705
2840
  server_description?: string;
2706
2841
  headers?: Record<string, string>;
2707
2842
  allowed_tools?: string[] | MCPToolFilter;
2843
+ allowed_callers?: CallableToolAllowedCaller[];
2708
2844
  require_approval?: MCPToolRequireApproval | "always" | "never";
2709
2845
  /** Whether this MCP tool is deferred and discovered via tool search. */
2710
2846
  defer_loading?: boolean;
@@ -2900,6 +3036,154 @@ export interface _AgentsPagedResultToolboxVersionObject {
2900
3036
  }
2901
3037
  export declare function _agentsPagedResultToolboxVersionObjectDeserializer(item: any): _AgentsPagedResultToolboxVersionObject;
2902
3038
  export declare function toolboxVersionObjectArrayDeserializer(result: Array<ToolboxVersionObject>): any[];
3039
+ /** The trigger that started an agent insight run. */
3040
+ export type AgentInsightRunTrigger = "on_demand" | "scheduled";
3041
+ /** The response data for a requested list of items. */
3042
+ export interface _AgentsPagedResultAgentInsightRun {
3043
+ /** The requested list of items. */
3044
+ data: AgentInsightRun[];
3045
+ /** The first ID represented in this list. */
3046
+ first_id?: string;
3047
+ /** The last ID represented in this list. */
3048
+ last_id?: string;
3049
+ /** A value indicating whether there are additional values available not captured in this list. */
3050
+ has_more: boolean;
3051
+ }
3052
+ export declare function _agentsPagedResultAgentInsightRunDeserializer(item: any): _AgentsPagedResultAgentInsightRun;
3053
+ export declare function agentInsightRunArrayDeserializer(result: Array<AgentInsightRun>): any[];
3054
+ /** The response data for a requested list of items. */
3055
+ export interface _AgentsPagedResultAgentInsight {
3056
+ /** The requested list of items. */
3057
+ data: AgentInsight[];
3058
+ /** The first ID represented in this list. */
3059
+ first_id?: string;
3060
+ /** The last ID represented in this list. */
3061
+ last_id?: string;
3062
+ /** A value indicating whether there are additional values available not captured in this list. */
3063
+ has_more: boolean;
3064
+ }
3065
+ export declare function _agentsPagedResultAgentInsightDeserializer(item: any): _AgentsPagedResultAgentInsight;
3066
+ export declare function agentInsightArrayDeserializer(result: Array<AgentInsight>): any[];
3067
+ /** A persisted issue discovered from an agent's traces. */
3068
+ export interface AgentInsight {
3069
+ /** The insight identifier. */
3070
+ readonly id: string;
3071
+ /** The Agent Insights monitor this insight belongs to. */
3072
+ readonly monitor_id: string;
3073
+ /** The agent this insight belongs to. */
3074
+ readonly agent_name: string;
3075
+ /** The latest immutable agent version associated with this insight. */
3076
+ readonly agent_version: string;
3077
+ /** A short title for the issue. */
3078
+ readonly title: string;
3079
+ /** The severity of the issue. */
3080
+ readonly severity: AgentInsightSeverity;
3081
+ /** An open, service-generated category label for the issue. Clients must accept previously unseen values. */
3082
+ readonly category: string;
3083
+ /** The lifecycle status of the insight. */
3084
+ readonly status: AgentInsightStatus;
3085
+ /** The number of traces that provide evidence for this insight. */
3086
+ readonly trace_count: number;
3087
+ /** The time when this insight was created. */
3088
+ readonly created_at: Date;
3089
+ /** The time when this insight was last updated. */
3090
+ readonly updated_at: Date;
3091
+ /** The root-cause diagnosis for the issue. */
3092
+ readonly description: string;
3093
+ /** Additional insight details. Omitted unless details are requested. */
3094
+ readonly details?: AgentInsightDetails;
3095
+ }
3096
+ export declare function agentInsightDeserializer(item: any): AgentInsight;
3097
+ /** The severity of an agent insight. */
3098
+ export type AgentInsightSeverity = "high" | "medium" | "low";
3099
+ /** The lifecycle status of an agent insight. */
3100
+ export type AgentInsightStatus = "active" | "resolved" | "ignored";
3101
+ /** Additional insight details. Omitted unless details are requested. */
3102
+ export interface AgentInsightDetails {
3103
+ /** Up to 5 highlighted traces that provide evidence for this insight. */
3104
+ highlighted_traces: AgentInsightHighlightedTrace[];
3105
+ /** Up to 200 most recent traces linked to this insight as supporting evidence. */
3106
+ linked_traces: AgentInsightLinkedTrace[];
3107
+ /** The recommended remediation for this insight. */
3108
+ recommended_actions: AgentInsightRecommendedAction;
3109
+ }
3110
+ export declare function agentInsightDetailsDeserializer(item: any): AgentInsightDetails;
3111
+ export declare function agentInsightHighlightedTraceArrayDeserializer(result: Array<AgentInsightHighlightedTrace>): any[];
3112
+ /** A highlighted trace that provides evidence for an agent insight. */
3113
+ export interface AgentInsightHighlightedTrace {
3114
+ /** The trace identifier. */
3115
+ readonly trace_id: string;
3116
+ /** A short summary of the trace. */
3117
+ summary: string;
3118
+ /** The end-to-end duration of the trace in milliseconds. */
3119
+ duration_ms: number;
3120
+ /** Aggregate input and output tokens reported across all model inference calls in this trace, including calls to different models. Intended for relative usage comparison, not cost estimation. */
3121
+ total_tokens?: number;
3122
+ /** The time when the trace was recorded. */
3123
+ timestamp: Date;
3124
+ }
3125
+ export declare function agentInsightHighlightedTraceDeserializer(item: any): AgentInsightHighlightedTrace;
3126
+ export declare function agentInsightLinkedTraceArrayDeserializer(result: Array<AgentInsightLinkedTrace>): any[];
3127
+ /** A lightweight trace reference linked to an agent insight as supporting evidence. */
3128
+ export interface AgentInsightLinkedTrace {
3129
+ /** The trace identifier. */
3130
+ readonly trace_id: string;
3131
+ /** The time when the trace was recorded. */
3132
+ readonly timestamp: Date;
3133
+ }
3134
+ export declare function agentInsightLinkedTraceDeserializer(item: any): AgentInsightLinkedTrace;
3135
+ /** The recommended remediation for an agent insight. */
3136
+ export interface AgentInsightRecommendedAction {
3137
+ /** The single recommended fix for the issue represented by the insight. */
3138
+ proposed_fix: AgentInsightProposedFix;
3139
+ }
3140
+ export declare function agentInsightRecommendedActionDeserializer(item: any): AgentInsightRecommendedAction;
3141
+ /** A recommended fix for an agent insight. */
3142
+ export interface AgentInsightProposedFix {
3143
+ /** The proposed-fix discriminator. */
3144
+ kind: AgentInsightProposedFixKind;
3145
+ /** The human-readable remediation guidance. */
3146
+ text: string;
3147
+ /** The concrete changes. Omitted for a prose-only fix. */
3148
+ changes?: AgentInsightProposedFixChange[];
3149
+ }
3150
+ export declare function agentInsightProposedFixDeserializer(item: any): AgentInsightProposedFix;
3151
+ /** The customer-renderable kind of an agent insight's proposed fix. */
3152
+ export type AgentInsightProposedFixKind = "prose" | "code_change" | "prompt_change";
3153
+ /** A JSON value used in Agent Insights payloads. */
3154
+ export type AgentInsightJsonValue = string | number | boolean | null | AgentInsightJsonObject | AgentInsightJsonValue[];
3155
+ /** A JSON object used in Agent Insights payloads. */
3156
+ export interface AgentInsightJsonObject {
3157
+ /** JSON properties keyed by name. */
3158
+ [key: string]: AgentInsightJsonValue;
3159
+ }
3160
+ export declare function agentInsightProposedFixChangeArrayDeserializer(result: Array<AgentInsightProposedFixChange>): any[];
3161
+ /** A customer-renderable change in a proposed fix. */
3162
+ export interface AgentInsightProposedFixChange {
3163
+ /** The source path changed by a code change. */
3164
+ path?: string;
3165
+ /** The language of the changed source path. */
3166
+ language?: string;
3167
+ /** The unified diff for the changed source path. */
3168
+ diff?: string;
3169
+ /** The Prompt surface changed by a Prompt change. */
3170
+ surface?: AgentInsightPromptSurface;
3171
+ /** The user-visible target within a Prompt surface, when needed. */
3172
+ target?: string;
3173
+ /** The bounded Prompt value before the change. Present for Prompt changes, including when null. */
3174
+ old_value?: AgentInsightJsonValue;
3175
+ /** The bounded Prompt value after the change. Present for Prompt changes, including when null. */
3176
+ new_value?: AgentInsightJsonValue;
3177
+ }
3178
+ export declare function agentInsightProposedFixChangeDeserializer(item: any): AgentInsightProposedFixChange;
3179
+ /** The Prompt surface changed by a proposed fix. */
3180
+ export type AgentInsightPromptSurface = "instructions" | "tool";
3181
+ /** Fields that can be updated on an agent insight. */
3182
+ export interface AgentInsightUpdate {
3183
+ /** The lifecycle status to apply to the insight. */
3184
+ status?: AgentInsightStatus;
3185
+ }
3186
+ export declare function agentInsightUpdateSerializer(item: AgentInsightUpdate): any;
2903
3187
  /** Evaluation Taxonomy Definition */
2904
3188
  export interface EvaluationTaxonomy {
2905
3189
  /** Asset ID, a unique identifier for the asset */
@@ -3344,6 +3628,199 @@ export interface DatasetEvaluatorGenerationJobSource extends EvaluatorGeneration
3344
3628
  }
3345
3629
  export declare function datasetEvaluatorGenerationJobSourceSerializer(item: DatasetEvaluatorGenerationJobSource): any;
3346
3630
  export declare function datasetEvaluatorGenerationJobSourceDeserializer(item: any): DatasetEvaluatorGenerationJobSource;
3631
+ /** The response data for a requested list of items. */
3632
+ export interface _AgentsPagedResultAgentInsightMonitorListItem {
3633
+ /** The requested list of items. */
3634
+ data: AgentInsightMonitorListItem[];
3635
+ /** The first ID represented in this list. */
3636
+ first_id?: string;
3637
+ /** The last ID represented in this list. */
3638
+ last_id?: string;
3639
+ /** A value indicating whether there are additional values available not captured in this list. */
3640
+ has_more: boolean;
3641
+ }
3642
+ export declare function _agentsPagedResultAgentInsightMonitorListItemDeserializer(item: any): _AgentsPagedResultAgentInsightMonitorListItem;
3643
+ export declare function agentInsightMonitorListItemArrayDeserializer(result: Array<AgentInsightMonitorListItem>): any[];
3644
+ /** An Agent Insights monitor summary returned by list operations. */
3645
+ export interface AgentInsightMonitorListItem {
3646
+ /** The monitor identifier. */
3647
+ readonly id: string;
3648
+ /** The agent this monitor analyzes. There can be only one monitor per agent. */
3649
+ readonly agent_name: string;
3650
+ /** Whether scheduled insight generation is armed for the monitor. */
3651
+ readonly enabled: boolean;
3652
+ /** Interval between scheduled insight runs, in hours. */
3653
+ readonly run_interval_hours: number;
3654
+ /** The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'. */
3655
+ readonly model_deployment_name: string;
3656
+ /** The next time a scheduled agent insight run will start. Omitted when scheduled generation is disabled. */
3657
+ readonly next_scheduled_run_at?: Date;
3658
+ /** Estimated cost accumulated by Agent Insights for this monitor. */
3659
+ readonly estimated_cost?: AgentInsightEstimatedCost;
3660
+ /** Why the system suspended scheduled generation. Null when the monitor is not suspended. */
3661
+ readonly suspension: AgentInsightSuspension | null;
3662
+ /** The time when this monitor was last updated. */
3663
+ readonly updated_at: Date;
3664
+ }
3665
+ export declare function agentInsightMonitorListItemDeserializer(item: any): AgentInsightMonitorListItem;
3666
+ /** Estimated Agent Insights cost. */
3667
+ export interface AgentInsightEstimatedCost {
3668
+ /** Estimated cost amount. */
3669
+ amount: number;
3670
+ /** Currency for the estimated cost amount. Agent Insights estimates are reported in US dollars. */
3671
+ currency: "USD";
3672
+ }
3673
+ export declare function agentInsightEstimatedCostDeserializer(item: any): AgentInsightEstimatedCost;
3674
+ /** Structured reason why scheduled generation is suspended for a monitor. */
3675
+ export interface AgentInsightSuspension {
3676
+ /** Stable, machine-readable suspension category. */
3677
+ code: string;
3678
+ /** Human-readable description of the suspension. */
3679
+ message: string;
3680
+ /** The time when the suspension occurred. */
3681
+ occurred_at: Date;
3682
+ /** Additional reason-specific suspension details. */
3683
+ details?: AgentInsightJsonObject;
3684
+ }
3685
+ export declare function agentInsightSuspensionDeserializer(item: any): AgentInsightSuspension;
3686
+ /** Fields accepted when creating an Agent Insights monitor for an agent. */
3687
+ export interface AgentInsightMonitorCreate {
3688
+ /** The agent this monitor should analyze. */
3689
+ agent_name: string;
3690
+ /** Whether scheduled insight generation should be armed. Defaults to false. */
3691
+ enabled?: boolean;
3692
+ /** Interval between scheduled insight runs, in hours. Defaults to 6. */
3693
+ run_interval_hours?: number;
3694
+ /** The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'. */
3695
+ model_deployment_name: string;
3696
+ }
3697
+ export declare function agentInsightMonitorCreateSerializer(item: AgentInsightMonitorCreate): any;
3698
+ /** A per-agent Agent Insights monitor that owns configuration, runs, and discovered insights. */
3699
+ export interface AgentInsightMonitor {
3700
+ /** The monitor identifier. */
3701
+ readonly id: string;
3702
+ /** The agent this monitor analyzes. There can be only one monitor per agent. */
3703
+ readonly agent_name: string;
3704
+ /** Whether scheduled insight generation is armed for the monitor. */
3705
+ readonly enabled: boolean;
3706
+ /** Interval between scheduled insight runs, in hours. */
3707
+ readonly run_interval_hours: number;
3708
+ /** The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'. */
3709
+ readonly model_deployment_name: string;
3710
+ /** The next time a scheduled agent insight run will start. Omitted when scheduled generation is disabled. */
3711
+ readonly next_scheduled_run_at?: Date;
3712
+ /** Estimated cost accumulated by Agent Insights for this monitor. */
3713
+ readonly estimated_cost?: AgentInsightEstimatedCost;
3714
+ /** Why the system suspended scheduled generation. Null when the monitor is not suspended. */
3715
+ readonly suspension: AgentInsightSuspension | null;
3716
+ /** The effective overview, or null before an overview is available. */
3717
+ readonly overview: AgentInsightsOverview | null;
3718
+ /** The time when this monitor was last updated. */
3719
+ readonly updated_at: Date;
3720
+ }
3721
+ export declare function agentInsightMonitorDeserializer(item: any): AgentInsightMonitor;
3722
+ /** The effective overview for an Agent Insights monitor. */
3723
+ export interface AgentInsightsOverview {
3724
+ /** The overview content. */
3725
+ content: string;
3726
+ /** Where the effective overview came from. */
3727
+ source: AgentInsightOverviewSource;
3728
+ /** The time when this overview was last updated. */
3729
+ updated_at: Date;
3730
+ }
3731
+ export declare function agentInsightsOverviewDeserializer(item: any): AgentInsightsOverview;
3732
+ /** Identifies where an Agent Insights overview came from. */
3733
+ export type AgentInsightOverviewSource = "generated" | "user_override";
3734
+ /** Fields that can be updated on an Agent Insights monitor. */
3735
+ export interface AgentInsightMonitorUpdate {
3736
+ /** Whether scheduled insight generation is armed for the monitor. */
3737
+ enabled?: boolean;
3738
+ /** Interval between scheduled insight runs, in hours. */
3739
+ run_interval_hours?: number;
3740
+ /** The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'. */
3741
+ model_deployment_name?: string;
3742
+ /**
3743
+ * Sets the effective user overview, or clears it when explicitly set to null. Omission leaves
3744
+ * the overview unchanged. This field cannot be combined with other monitor updates.
3745
+ */
3746
+ overview_override?: AgentInsightsOverviewOverride;
3747
+ }
3748
+ export declare function agentInsightMonitorUpdateSerializer(item: AgentInsightMonitorUpdate): any;
3749
+ /** A user-provided overview that becomes effective immediately and seeds the next generation. */
3750
+ export interface AgentInsightsOverviewOverride {
3751
+ /** The nonblank overview content, limited to 64 KiB when encoded as UTF-8. */
3752
+ content: string;
3753
+ }
3754
+ export declare function agentInsightsOverviewOverrideSerializer(item: AgentInsightsOverviewOverride): any;
3755
+ /** Inputs used when creating an agent insight run. */
3756
+ export interface AgentInsightRunCreate {
3757
+ /** Optional finite positive number of hours of trace history to analyze, up to 2,160. Defaults to 168. */
3758
+ lookback_hours?: number;
3759
+ }
3760
+ export declare function agentInsightRunCreateSerializer(item: AgentInsightRunCreate): any;
3761
+ export declare function agentInsightRunCreateDeserializer(item: any): AgentInsightRunCreate;
3762
+ /** A long-running run that analyzes one agent's traces and updates that agent's insights. */
3763
+ export interface AgentInsightRun {
3764
+ /** Server-assigned unique identifier. */
3765
+ readonly id: string;
3766
+ /** Caller-supplied inputs. */
3767
+ inputs?: AgentInsightRunCreate;
3768
+ /** Result produced on success. */
3769
+ readonly result?: AgentInsightRunResult;
3770
+ /** Current lifecycle status. */
3771
+ readonly status: JobStatus;
3772
+ /** Error details — populated only on failure. */
3773
+ readonly error?: ErrorModel;
3774
+ /** The Agent Insights monitor this run belongs to. */
3775
+ readonly monitor_id: string;
3776
+ /** The agent whose traces are analyzed by this run. */
3777
+ readonly agent_name: string;
3778
+ /** The trigger that started the run. */
3779
+ readonly trigger: AgentInsightRunTrigger;
3780
+ /** The time when this run was created. */
3781
+ readonly created_at: Date;
3782
+ /** The time when this run was last updated. */
3783
+ readonly updated_at: Date;
3784
+ /** The start of the trace window analyzed by this run. */
3785
+ readonly window_start: Date;
3786
+ /** The end of the trace window analyzed by this run. */
3787
+ readonly window_end: Date;
3788
+ /** The time when this run started processing. */
3789
+ readonly started_at?: Date;
3790
+ /** The time when this run reached a terminal status. */
3791
+ readonly completed_at?: Date;
3792
+ /** The model deployment used to analyze traces for this run. */
3793
+ readonly model_deployment_name: string;
3794
+ }
3795
+ export declare function agentInsightRunDeserializer(item: any): AgentInsightRun;
3796
+ /** Result statistics produced when an agent insight run succeeds. */
3797
+ export interface AgentInsightRunResult {
3798
+ /** The number of traces in the analyzed time window. */
3799
+ traces_in_window: number;
3800
+ /** The number of traces analyzed by the run. */
3801
+ traces_analyzed: number;
3802
+ /** The number of insights created by the run. */
3803
+ insights_created: number;
3804
+ /** The number of insights updated by the run. */
3805
+ insights_updated: number;
3806
+ /** The number of insights reopened by the run. */
3807
+ insights_reopened: number;
3808
+ /** Token usage for the run's insight-generation analysis. */
3809
+ token_usage: AgentInsightTokenUsage;
3810
+ }
3811
+ export declare function agentInsightRunResultDeserializer(item: any): AgentInsightRunResult;
3812
+ /** Token usage for an Agent Insights run. */
3813
+ export interface AgentInsightTokenUsage {
3814
+ /** The number of input tokens used by the run. */
3815
+ input_tokens: number;
3816
+ /** The number of output tokens used by the run. */
3817
+ output_tokens: number;
3818
+ /** The number of input tokens served from cache. */
3819
+ cached_tokens?: number;
3820
+ /** The total number of tokens used by the run. */
3821
+ total_tokens: number;
3822
+ }
3823
+ export declare function agentInsightTokenUsageDeserializer(item: any): AgentInsightTokenUsage;
3347
3824
  /** Extensible status values shared by Foundry jobs. */
3348
3825
  export type JobStatus = "queued" | "in_progress" | "succeeded" | "failed" | "cancelled";
3349
3826
  /** Token consumption summary for an evaluator generation job. Populated when the job reaches a terminal state. */
@@ -3850,6 +4327,8 @@ export declare function memoryStoreOperationUsageDeserializer(item: any): Memory
3850
4327
  export interface ResponseUsageInputTokensDetails {
3851
4328
  /** The number of cached input tokens used. */
3852
4329
  cached_tokens: number;
4330
+ /** The number of cache-write input tokens used. */
4331
+ cache_write_tokens?: number;
3853
4332
  }
3854
4333
  export declare function responseUsageInputTokensDetailsDeserializer(item: any): ResponseUsageInputTokensDetails;
3855
4334
  /** model interface ResponseUsageOutputTokensDetails */
@@ -4229,6 +4708,14 @@ export interface InvokeAgentInvocationsApiRoutineAction extends RoutineAction {
4229
4708
  }
4230
4709
  export declare function invokeAgentInvocationsApiRoutineActionSerializer(item: InvokeAgentInvocationsApiRoutineAction): any;
4231
4710
  export declare function invokeAgentInvocationsApiRoutineActionDeserializer(item: any): InvokeAgentInvocationsApiRoutineAction;
4711
+ /** Optional authorization configuration for a routine dispatch. */
4712
+ export interface RoutineAuthorization {
4713
+ /** The identity used when dispatching the routine. Defaults to agent when omitted; set to creator only when the customer opts in to creator identity dispatch. */
4714
+ identity?: RoutineDispatchIdentity;
4715
+ }
4716
+ export declare function routineAuthorizationSerializer(item: RoutineAuthorization): any;
4717
+ /** The supported identities for routine dispatch authorization. */
4718
+ export type RoutineDispatchIdentity = "agent" | "creator";
4232
4719
  /** A routine definition returned by the service. */
4233
4720
  export interface Routine {
4234
4721
  /** The routine name. */
@@ -4248,30 +4735,22 @@ export interface Routine {
4248
4735
  }
4249
4736
  export declare function routineDeserializer(item: any): Routine;
4250
4737
  /** The response data for a requested list of items. */
4251
- export interface _AgentsPagedResultRoutine {
4738
+ export interface _PagedResultWithNextLinkRoutine {
4252
4739
  /** The requested list of items. */
4253
4740
  data: Routine[];
4254
- /** The first ID represented in this list. */
4255
- first_id?: string;
4256
- /** The last ID represented in this list. */
4257
- last_id?: string;
4258
- /** A value indicating whether there are additional values available not captured in this list. */
4259
- has_more: boolean;
4741
+ /** The URL to fetch the next page of results, or absent if there are no additional pages. */
4742
+ next_link?: string;
4260
4743
  }
4261
- export declare function _agentsPagedResultRoutineDeserializer(item: any): _AgentsPagedResultRoutine;
4744
+ export declare function _pagedResultWithNextLinkRoutineDeserializer(item: any): _PagedResultWithNextLinkRoutine;
4262
4745
  export declare function routineArrayDeserializer(result: Array<Routine>): any[];
4263
4746
  /** The response data for a requested list of items. */
4264
- export interface _AgentsPagedResultRoutineRun {
4747
+ export interface _PagedResultWithNextLinkRoutineRun {
4265
4748
  /** The requested list of items. */
4266
4749
  data: RoutineRun[];
4267
- /** The first ID represented in this list. */
4268
- first_id?: string;
4269
- /** The last ID represented in this list. */
4270
- last_id?: string;
4271
- /** A value indicating whether there are additional values available not captured in this list. */
4272
- has_more: boolean;
4750
+ /** The URL to fetch the next page of results, or absent if there are no additional pages. */
4751
+ next_link?: string;
4273
4752
  }
4274
- export declare function _agentsPagedResultRoutineRunDeserializer(item: any): _AgentsPagedResultRoutineRun;
4753
+ export declare function _pagedResultWithNextLinkRoutineRunDeserializer(item: any): _PagedResultWithNextLinkRoutineRun;
4275
4754
  export declare function routineRunArrayDeserializer(result: Array<RoutineRun>): any[];
4276
4755
  /** A single routine run returned from the run history API. */
4277
4756
  export interface RoutineRun {
@@ -4788,7 +5267,7 @@ export declare function fileDataGenerationJobSourceDeserializer(item: any): File
4788
5267
  /** Options for managing data generation jobs. */
4789
5268
  export interface DataGenerationJobOptions {
4790
5269
  /** The data generation job type. */
4791
- /** The discriminator possible values: simple_qna, traces, task_generation, tool_use */
5270
+ /** The discriminator possible values: simple_qna, traces, task_generation, simulation_seed, tool_use */
4792
5271
  type: DataGenerationJobType;
4793
5272
  /** Maximum number of samples to generate. */
4794
5273
  max_samples: number;
@@ -4800,11 +5279,11 @@ export interface DataGenerationJobOptions {
4800
5279
  export declare function dataGenerationJobOptionsSerializer(item: DataGenerationJobOptions): any;
4801
5280
  export declare function dataGenerationJobOptionsDeserializer(item: any): DataGenerationJobOptions;
4802
5281
  /** Alias for DataGenerationJobOptionsUnion */
4803
- export type DataGenerationJobOptionsUnion = SimpleQnADataGenerationJobOptions | TracesDataGenerationJobOptions | TaskGenerationDataGenerationJobOptions | ToolUseFineTuningDataGenerationJobOptions | DataGenerationJobOptions;
5282
+ export type DataGenerationJobOptionsUnion = SimpleQnADataGenerationJobOptions | TracesDataGenerationJobOptions | TaskGenerationDataGenerationJobOptions | SimulationSeedDataGenerationJobOptions | ToolUseFineTuningDataGenerationJobOptions | DataGenerationJobOptions;
4804
5283
  export declare function dataGenerationJobOptionsUnionSerializer(item: DataGenerationJobOptionsUnion): any;
4805
5284
  export declare function dataGenerationJobOptionsUnionDeserializer(item: any): DataGenerationJobOptionsUnion;
4806
5285
  /** The supported data generation job types. */
4807
- export type DataGenerationJobType = "simple_qna" | "traces" | "tool_use" | "task_generation";
5286
+ export type DataGenerationJobType = "simple_qna" | "traces" | "tool_use" | "task_generation" | "simulation_seed";
4808
5287
  /** LLM model options for data generation jobs. */
4809
5288
  export interface DataGenerationModelOptions {
4810
5289
  /** Base model name used to generate data. */
@@ -4827,12 +5306,21 @@ export type SimpleQnAFineTuningQuestionType = "short_answer" | "long_answer";
4827
5306
  export interface TracesDataGenerationJobOptions extends DataGenerationJobOptions {
4828
5307
  /** The data generation job type, which is Traces for this model. */
4829
5308
  type: "traces";
5309
+ /** Whether to redact private content from traces. When omitted or set to true, private content is redacted. Set to false to opt out of redaction. */
5310
+ redact_private_content?: boolean;
4830
5311
  }
4831
5312
  export declare function tracesDataGenerationJobOptionsSerializer(item: TracesDataGenerationJobOptions): any;
4832
5313
  export declare function tracesDataGenerationJobOptionsDeserializer(item: any): TracesDataGenerationJobOptions;
4833
- /** The options for a task generation data generation job. Use with multiturn evaluation scenarios and with prompt, file, or agent sources. Generated dataset rows include fields such as `id`, `category`, `test_case_description`, and `desired_num_turns`. */
5314
+ /** The options for a simulation seed data generation job. Use with multiturn evaluation scenarios and with prompt, file, or agent sources. Generated dataset rows include fields such as `id`, `category`, `test_case_description`, and `desired_num_turns`. */
5315
+ export interface SimulationSeedDataGenerationJobOptions extends DataGenerationJobOptions {
5316
+ /** The data generation job type, which is SimulationSeed for this model. */
5317
+ type: "simulation_seed";
5318
+ }
5319
+ export declare function simulationSeedDataGenerationJobOptionsSerializer(item: SimulationSeedDataGenerationJobOptions): any;
5320
+ export declare function simulationSeedDataGenerationJobOptionsDeserializer(item: any): SimulationSeedDataGenerationJobOptions;
5321
+ /** @deprecated Use `SimulationSeedDataGenerationJobOptions` instead. */
4834
5322
  export interface TaskGenerationDataGenerationJobOptions extends DataGenerationJobOptions {
4835
- /** The data generation job type, which is TaskGeneration for this model. */
5323
+ /** The data generation job type. */
4836
5324
  type: "task_generation";
4837
5325
  }
4838
5326
  export declare function taskGenerationDataGenerationJobOptionsSerializer(item: TaskGenerationDataGenerationJobOptions): any;
@@ -4931,13 +5419,13 @@ export declare function _agentsPagedResultDataGenerationJobDeserializer(item: an
4931
5419
  export declare function dataGenerationJobArraySerializer(result: Array<DataGenerationJob>): any[];
4932
5420
  export declare function dataGenerationJobArrayDeserializer(result: Array<DataGenerationJob>): any[];
4933
5421
  /** Agent optimization job resource — a long-running job that optimizes an agent's configuration (instructions, model, skills, tools) to maximize evaluation scores. On success, the result contains scored candidates. */
4934
- export interface OptimizationJob {
5422
+ export interface AgentOptimizationJob {
4935
5423
  /** Server-assigned unique identifier. */
4936
5424
  readonly id: string;
4937
5425
  /** Caller-supplied inputs. */
4938
- inputs?: OptimizationJobInputs;
5426
+ inputs?: AgentOptimizationJobInputs;
4939
5427
  /** Result produced on success. */
4940
- readonly result?: OptimizationJobResult;
5428
+ readonly result?: AgentOptimizationJobResult;
4941
5429
  /** Current lifecycle status. */
4942
5430
  readonly status: JobStatus;
4943
5431
  /** Error details — populated only on failure. */
@@ -4947,63 +5435,63 @@ export interface OptimizationJob {
4947
5435
  /** The timestamp when the job was last updated, represented in Unix time. */
4948
5436
  readonly updated_at: Date;
4949
5437
  /** Progress snapshot. May be present in terminal states reflecting last-known progress. */
4950
- readonly progress?: OptimizationJobProgress;
5438
+ readonly progress?: AgentOptimizationJobProgress;
4951
5439
  /** Non-fatal warnings emitted at any point during optimization. */
4952
5440
  readonly warnings?: string[];
4953
5441
  }
4954
- export declare function optimizationJobSerializer(item: OptimizationJob): any;
4955
- export declare function optimizationJobDeserializer(item: any): OptimizationJob;
5442
+ export declare function agentOptimizationJobSerializer(item: AgentOptimizationJob): any;
5443
+ export declare function agentOptimizationJobDeserializer(item: any): AgentOptimizationJob;
4956
5444
  /** Caller-supplied inputs for an optimization job. */
4957
- export interface OptimizationJobInputs {
5445
+ export interface AgentOptimizationJobInputs {
4958
5446
  /** The agent (and pinned version) being optimized. */
4959
- agent: OptimizationAgentIdentifier;
5447
+ agent: OptimizedAgentIdentifier;
4960
5448
  /** Training dataset — either inline items or a reference to a registered dataset. Required. */
4961
- train_dataset: OptimizationDatasetInputUnion;
5449
+ train_dataset: AgentOptimizationDatasetInputUnion;
4962
5450
  /** Optional held-out validation dataset for measuring generalization of the final candidate. */
4963
- validation_dataset?: OptimizationDatasetInputUnion;
5451
+ validation_dataset?: AgentOptimizationDatasetInputUnion;
4964
5452
  /** Job-level evaluators referenced by name and optional version. Required; at least one must be provided. */
4965
- evaluators: OptimizationEvaluatorRef[];
5453
+ evaluators: AgentOptimizationEvaluatorRef[];
4966
5454
  /** Tuning knobs and run-mode. */
4967
- options?: OptimizationOptions;
5455
+ options?: AgentOptimizationOptions;
4968
5456
  }
4969
- export declare function optimizationJobInputsSerializer(item: OptimizationJobInputs): any;
4970
- export declare function optimizationJobInputsDeserializer(item: any): OptimizationJobInputs;
5457
+ export declare function agentOptimizationJobInputsSerializer(item: AgentOptimizationJobInputs): any;
5458
+ export declare function agentOptimizationJobInputsDeserializer(item: any): AgentOptimizationJobInputs;
4971
5459
  /** Identifies the registered Foundry agent to optimize (request-only). Skills, tools, and system_prompt are specified in options.optimization_config. */
4972
- export interface OptimizationAgentIdentifier {
5460
+ export interface OptimizedAgentIdentifier {
4973
5461
  /** Registered Foundry agent name (required). */
4974
5462
  agent_name: string;
4975
5463
  /** Pinned agent version. Defaults to latest if omitted. */
4976
5464
  agent_version?: string;
4977
5465
  }
4978
- export declare function optimizationAgentIdentifierSerializer(item: OptimizationAgentIdentifier): any;
4979
- export declare function optimizationAgentIdentifierDeserializer(item: any): OptimizationAgentIdentifier;
5466
+ export declare function optimizedAgentIdentifierSerializer(item: OptimizedAgentIdentifier): any;
5467
+ export declare function optimizedAgentIdentifierDeserializer(item: any): OptimizedAgentIdentifier;
4980
5468
  /** Base discriminated model for dataset input. Either inline items or a registered reference. */
4981
- export interface OptimizationDatasetInput {
5469
+ export interface AgentOptimizationDatasetInput {
4982
5470
  /** Dataset input type discriminator. */
4983
5471
  /** The discriminator possible values: inline, reference */
4984
- type: OptimizationDatasetInputType;
4985
- }
4986
- export declare function optimizationDatasetInputSerializer(item: OptimizationDatasetInput): any;
4987
- export declare function optimizationDatasetInputDeserializer(item: any): OptimizationDatasetInput;
4988
- /** Alias for OptimizationDatasetInputUnion */
4989
- export type OptimizationDatasetInputUnion = OptimizationInlineDatasetInput | OptimizationReferenceDatasetInput | OptimizationDatasetInput;
4990
- export declare function optimizationDatasetInputUnionSerializer(item: OptimizationDatasetInputUnion): any;
4991
- export declare function optimizationDatasetInputUnionDeserializer(item: any): OptimizationDatasetInputUnion;
5472
+ type: AgentOptimizationDatasetInputType;
5473
+ }
5474
+ export declare function agentOptimizationDatasetInputSerializer(item: AgentOptimizationDatasetInput): any;
5475
+ export declare function agentOptimizationDatasetInputDeserializer(item: any): AgentOptimizationDatasetInput;
5476
+ /** Alias for AgentOptimizationDatasetInputUnion */
5477
+ export type AgentOptimizationDatasetInputUnion = AgentOptimizationInlineDatasetInput | AgentOptimizationReferenceDatasetInput | AgentOptimizationDatasetInput;
5478
+ export declare function agentOptimizationDatasetInputUnionSerializer(item: AgentOptimizationDatasetInputUnion): any;
5479
+ export declare function agentOptimizationDatasetInputUnionDeserializer(item: any): AgentOptimizationDatasetInputUnion;
4992
5480
  /** Discriminator values for the dataset input union. */
4993
- export type OptimizationDatasetInputType = "inline" | "reference";
5481
+ export type AgentOptimizationDatasetInputType = "inline" | "reference";
4994
5482
  /** Inline dataset — items supplied directly in the request body. */
4995
- export interface OptimizationInlineDatasetInput extends OptimizationDatasetInput {
5483
+ export interface AgentOptimizationInlineDatasetInput extends AgentOptimizationDatasetInput {
4996
5484
  /** Dataset input type discriminator. */
4997
5485
  type: "inline";
4998
5486
  /** Dataset items. */
4999
- items: OptimizationDatasetItem[];
5487
+ items: AgentOptimizationDatasetItem[];
5000
5488
  }
5001
- export declare function optimizationInlineDatasetInputSerializer(item: OptimizationInlineDatasetInput): any;
5002
- export declare function optimizationInlineDatasetInputDeserializer(item: any): OptimizationInlineDatasetInput;
5003
- export declare function optimizationDatasetItemArraySerializer(result: Array<OptimizationDatasetItem>): any[];
5004
- export declare function optimizationDatasetItemArrayDeserializer(result: Array<OptimizationDatasetItem>): any[];
5489
+ export declare function agentOptimizationInlineDatasetInputSerializer(item: AgentOptimizationInlineDatasetInput): any;
5490
+ export declare function agentOptimizationInlineDatasetInputDeserializer(item: any): AgentOptimizationInlineDatasetInput;
5491
+ export declare function agentOptimizationDatasetItemArraySerializer(result: Array<AgentOptimizationDatasetItem>): any[];
5492
+ export declare function agentOptimizationDatasetItemArrayDeserializer(result: Array<AgentOptimizationDatasetItem>): any[];
5005
5493
  /** A single item in an inline dataset. */
5006
- export interface OptimizationDatasetItem {
5494
+ export interface AgentOptimizationDatasetItem {
5007
5495
  /** The user query / prompt. */
5008
5496
  query?: string;
5009
5497
  /** Expected ground truth answer. */
@@ -5011,23 +5499,23 @@ export interface OptimizationDatasetItem {
5011
5499
  /** Desired number of conversation turns for simulation mode (1-20). */
5012
5500
  desired_num_turns?: number;
5013
5501
  /** Per-item evaluation criteria. */
5014
- criteria?: OptimizationDatasetCriterion[];
5502
+ criteria?: AgentOptimizationDatasetCriterion[];
5015
5503
  }
5016
- export declare function optimizationDatasetItemSerializer(item: OptimizationDatasetItem): any;
5017
- export declare function optimizationDatasetItemDeserializer(item: any): OptimizationDatasetItem;
5018
- export declare function optimizationDatasetCriterionArraySerializer(result: Array<OptimizationDatasetCriterion>): any[];
5019
- export declare function optimizationDatasetCriterionArrayDeserializer(result: Array<OptimizationDatasetCriterion>): any[];
5504
+ export declare function agentOptimizationDatasetItemSerializer(item: AgentOptimizationDatasetItem): any;
5505
+ export declare function agentOptimizationDatasetItemDeserializer(item: any): AgentOptimizationDatasetItem;
5506
+ export declare function agentOptimizationDatasetCriterionArraySerializer(result: Array<AgentOptimizationDatasetCriterion>): any[];
5507
+ export declare function agentOptimizationDatasetCriterionArrayDeserializer(result: Array<AgentOptimizationDatasetCriterion>): any[];
5020
5508
  /** Evaluation criterion: a name + instruction pair used for per-item scoring. */
5021
- export interface OptimizationDatasetCriterion {
5509
+ export interface AgentOptimizationDatasetCriterion {
5022
5510
  /** Criterion name. */
5023
5511
  name: string;
5024
5512
  /** Criterion instruction / description. */
5025
5513
  instruction: string;
5026
5514
  }
5027
- export declare function optimizationDatasetCriterionSerializer(item: OptimizationDatasetCriterion): any;
5028
- export declare function optimizationDatasetCriterionDeserializer(item: any): OptimizationDatasetCriterion;
5515
+ export declare function agentOptimizationDatasetCriterionSerializer(item: AgentOptimizationDatasetCriterion): any;
5516
+ export declare function agentOptimizationDatasetCriterionDeserializer(item: any): AgentOptimizationDatasetCriterion;
5029
5517
  /** Reference to a registered Foundry dataset. */
5030
- export interface OptimizationReferenceDatasetInput extends OptimizationDatasetInput {
5518
+ export interface AgentOptimizationReferenceDatasetInput extends AgentOptimizationDatasetInput {
5031
5519
  /** Dataset input type discriminator. */
5032
5520
  type: "reference";
5033
5521
  /** Registered dataset name. */
@@ -5035,21 +5523,21 @@ export interface OptimizationReferenceDatasetInput extends OptimizationDatasetIn
5035
5523
  /** Dataset version. If not specified, the latest version is used. */
5036
5524
  version?: string;
5037
5525
  }
5038
- export declare function optimizationReferenceDatasetInputSerializer(item: OptimizationReferenceDatasetInput): any;
5039
- export declare function optimizationReferenceDatasetInputDeserializer(item: any): OptimizationReferenceDatasetInput;
5040
- export declare function optimizationEvaluatorRefArraySerializer(result: Array<OptimizationEvaluatorRef>): any[];
5041
- export declare function optimizationEvaluatorRefArrayDeserializer(result: Array<OptimizationEvaluatorRef>): any[];
5526
+ export declare function agentOptimizationReferenceDatasetInputSerializer(item: AgentOptimizationReferenceDatasetInput): any;
5527
+ export declare function agentOptimizationReferenceDatasetInputDeserializer(item: any): AgentOptimizationReferenceDatasetInput;
5528
+ export declare function agentOptimizationEvaluatorRefArraySerializer(result: Array<AgentOptimizationEvaluatorRef>): any[];
5529
+ export declare function agentOptimizationEvaluatorRefArrayDeserializer(result: Array<AgentOptimizationEvaluatorRef>): any[];
5042
5530
  /** Reference to a named evaluator, optionally pinned to a version. */
5043
- export interface OptimizationEvaluatorRef {
5531
+ export interface AgentOptimizationEvaluatorRef {
5044
5532
  /** Evaluator name. */
5045
5533
  name: string;
5046
5534
  /** Evaluator version. If not specified, the latest version is used. */
5047
5535
  version?: string;
5048
5536
  }
5049
- export declare function optimizationEvaluatorRefSerializer(item: OptimizationEvaluatorRef): any;
5050
- export declare function optimizationEvaluatorRefDeserializer(item: any): OptimizationEvaluatorRef;
5537
+ export declare function agentOptimizationEvaluatorRefSerializer(item: AgentOptimizationEvaluatorRef): any;
5538
+ export declare function agentOptimizationEvaluatorRefDeserializer(item: any): AgentOptimizationEvaluatorRef;
5051
5539
  /** Tuning knobs and run-mode for an optimization job. */
5052
- export interface OptimizationOptions {
5540
+ export interface AgentOptimizationOptions {
5053
5541
  /** Maximum number of optimization candidates to generate. Must be >= 1. Default: 5. */
5054
5542
  max_candidates?: number;
5055
5543
  /** Per-target-attribute configuration overrides. Contains skills, tools, system_prompt for the agent, plus model space for model optimization. */
@@ -5063,21 +5551,21 @@ export interface OptimizationOptions {
5063
5551
  /** Maximum number of consecutive reflective minibatch rejections before stopping early. A 'stall' occurs when the optimizer proposes a prompt change, evaluates it on a small subset, and the score does not improve — so no full validation-set evaluation is triggered. The counter resets whenever a minibatch passes and its full-validation score beats the current best. Only a sustained plateau of `max_stalls` consecutive minibatch failures triggers the stop. The service defaults to 5 if a value is not specified by the caller. Must be >= 1 when set. */
5064
5552
  max_stalls?: number;
5065
5553
  }
5066
- export declare function optimizationOptionsSerializer(item: OptimizationOptions): any;
5067
- export declare function optimizationOptionsDeserializer(item: any): OptimizationOptions;
5554
+ export declare function agentOptimizationOptionsSerializer(item: AgentOptimizationOptions): any;
5555
+ export declare function agentOptimizationOptionsDeserializer(item: any): AgentOptimizationOptions;
5068
5556
  /** Terminal-state result body. Populated when status is succeeded or failed. */
5069
- export interface OptimizationJobResult {
5557
+ export interface AgentOptimizationJobResult {
5070
5558
  /** Candidate ID of the original (un-optimized) baseline evaluation. */
5071
5559
  baseline?: string;
5072
5560
  /** Candidate ID of the highest-scoring candidate found during optimization. */
5073
5561
  best?: string;
5074
5562
  /** All evaluated candidates including baseline. */
5075
- candidates?: OptimizationCandidate[];
5563
+ candidates?: AgentOptimizationCandidate[];
5076
5564
  }
5077
- export declare function optimizationJobResultDeserializer(item: any): OptimizationJobResult;
5078
- export declare function optimizationCandidateArrayDeserializer(result: Array<OptimizationCandidate>): any[];
5565
+ export declare function agentOptimizationJobResultDeserializer(item: any): AgentOptimizationJobResult;
5566
+ export declare function agentOptimizationCandidateArrayDeserializer(result: Array<AgentOptimizationCandidate>): any[];
5079
5567
  /** Aggregated evaluation result for a single candidate agent configuration across all tasks. */
5080
- export interface OptimizationCandidate {
5568
+ export interface AgentOptimizationCandidate {
5081
5569
  /** Server-assigned candidate identifier. Use with GET /candidates/{id} sub-endpoints. */
5082
5570
  candidate_id?: string;
5083
5571
  /** Display name of the candidate (e.g., 'baseline', 'instruction-v2'). */
@@ -5095,7 +5583,7 @@ export interface OptimizationCandidate {
5095
5583
  /** Promotion metadata. Null if the candidate has not been promoted. */
5096
5584
  promotion?: PromotionInfo;
5097
5585
  }
5098
- export declare function optimizationCandidateDeserializer(item: any): OptimizationCandidate;
5586
+ export declare function agentOptimizationCandidateDeserializer(item: any): AgentOptimizationCandidate;
5099
5587
  /** Promotion metadata recorded when a candidate is deployed to a Foundry agent. */
5100
5588
  export interface PromotionInfo {
5101
5589
  /** Timestamp when promotion occurred, represented in Unix time. */
@@ -5107,7 +5595,7 @@ export interface PromotionInfo {
5107
5595
  }
5108
5596
  export declare function promotionInfoDeserializer(item: any): PromotionInfo;
5109
5597
  /** In-flight progress; only populated while status is queued or in_progress. */
5110
- export interface OptimizationJobProgress {
5598
+ export interface AgentOptimizationJobProgress {
5111
5599
  /** Number of candidates whose evaluation has completed so far. */
5112
5600
  candidates_completed: number;
5113
5601
  /** Best score observed so far across all candidates. */
@@ -5115,11 +5603,11 @@ export interface OptimizationJobProgress {
5115
5603
  /** Wall-clock time elapsed in seconds since the job began executing. */
5116
5604
  elapsed_seconds: number;
5117
5605
  }
5118
- export declare function optimizationJobProgressDeserializer(item: any): OptimizationJobProgress;
5606
+ export declare function agentOptimizationJobProgressDeserializer(item: any): AgentOptimizationJobProgress;
5119
5607
  /** The response data for a requested list of items. */
5120
- export interface _AgentsPagedResultOptimizationJobListItem {
5608
+ export interface _AgentsPagedResultAgentOptimizationJobListItem {
5121
5609
  /** The requested list of items. */
5122
- data: OptimizationJobListItem[];
5610
+ data: AgentOptimizationJobListItem[];
5123
5611
  /** The first ID represented in this list. */
5124
5612
  first_id?: string;
5125
5613
  /** The last ID represented in this list. */
@@ -5127,10 +5615,10 @@ export interface _AgentsPagedResultOptimizationJobListItem {
5127
5615
  /** A value indicating whether there are additional values available not captured in this list. */
5128
5616
  has_more: boolean;
5129
5617
  }
5130
- export declare function _agentsPagedResultOptimizationJobListItemDeserializer(item: any): _AgentsPagedResultOptimizationJobListItem;
5131
- export declare function optimizationJobListItemArrayDeserializer(result: Array<OptimizationJobListItem>): any[];
5618
+ export declare function _agentsPagedResultAgentOptimizationJobListItemDeserializer(item: any): _AgentsPagedResultAgentOptimizationJobListItem;
5619
+ export declare function agentOptimizationJobListItemArrayDeserializer(result: Array<AgentOptimizationJobListItem>): any[];
5132
5620
  /** Slim job representation returned by the LIST endpoint. */
5133
- export interface OptimizationJobListItem {
5621
+ export interface AgentOptimizationJobListItem {
5134
5622
  /** Server-assigned unique identifier. */
5135
5623
  readonly id: string;
5136
5624
  /** Current lifecycle status. */
@@ -5142,11 +5630,43 @@ export interface OptimizationJobListItem {
5142
5630
  /** The timestamp when the job was last updated, represented in Unix time. */
5143
5631
  readonly updated_at: Date;
5144
5632
  /** Progress snapshot. May be present in terminal states reflecting last-known progress. */
5145
- readonly progress?: OptimizationJobProgress;
5633
+ readonly progress?: AgentOptimizationJobProgress;
5146
5634
  /** The agent targeted by this optimization job. */
5147
- readonly agent?: OptimizationAgentIdentifier;
5148
- }
5149
- export declare function optimizationJobListItemDeserializer(item: any): OptimizationJobListItem;
5635
+ readonly agent?: OptimizedAgentIdentifier;
5636
+ }
5637
+ /** @deprecated Use `AgentOptimizationJob` instead. */
5638
+ export type OptimizationJob = AgentOptimizationJob;
5639
+ /** @deprecated Use `AgentOptimizationJobInputs` instead. */
5640
+ export type OptimizationJobInputs = AgentOptimizationJobInputs;
5641
+ /** @deprecated Use `OptimizedAgentIdentifier` instead. */
5642
+ export type OptimizationAgentIdentifier = OptimizedAgentIdentifier;
5643
+ /** @deprecated Use `AgentOptimizationDatasetInput` instead. */
5644
+ export type OptimizationDatasetInput = AgentOptimizationDatasetInput;
5645
+ /** @deprecated Use `AgentOptimizationDatasetInputUnion` instead. */
5646
+ export type OptimizationDatasetInputUnion = AgentOptimizationDatasetInputUnion;
5647
+ /** @deprecated Use `AgentOptimizationDatasetInputType` instead. */
5648
+ export type OptimizationDatasetInputType = AgentOptimizationDatasetInputType;
5649
+ /** @deprecated Use `AgentOptimizationInlineDatasetInput` instead. */
5650
+ export type OptimizationInlineDatasetInput = AgentOptimizationInlineDatasetInput;
5651
+ /** @deprecated Use `AgentOptimizationDatasetItem` instead. */
5652
+ export type OptimizationDatasetItem = AgentOptimizationDatasetItem;
5653
+ /** @deprecated Use `AgentOptimizationDatasetCriterion` instead. */
5654
+ export type OptimizationDatasetCriterion = AgentOptimizationDatasetCriterion;
5655
+ /** @deprecated Use `AgentOptimizationReferenceDatasetInput` instead. */
5656
+ export type OptimizationReferenceDatasetInput = AgentOptimizationReferenceDatasetInput;
5657
+ /** @deprecated Use `AgentOptimizationEvaluatorRef` instead. */
5658
+ export type OptimizationEvaluatorRef = AgentOptimizationEvaluatorRef;
5659
+ /** @deprecated Use `AgentOptimizationOptions` instead. */
5660
+ export type OptimizationOptions = AgentOptimizationOptions;
5661
+ /** @deprecated Use `AgentOptimizationJobResult` instead. */
5662
+ export type OptimizationJobResult = AgentOptimizationJobResult;
5663
+ /** @deprecated Use `AgentOptimizationCandidate` instead. */
5664
+ export type OptimizationCandidate = AgentOptimizationCandidate;
5665
+ /** @deprecated Use `AgentOptimizationJobProgress` instead. */
5666
+ export type OptimizationJobProgress = AgentOptimizationJobProgress;
5667
+ /** @deprecated Use `AgentOptimizationJobListItem` instead. */
5668
+ export type OptimizationJobListItem = AgentOptimizationJobListItem;
5669
+ export declare function agentOptimizationJobListItemDeserializer(item: any): AgentOptimizationJobListItem;
5150
5670
  /** model interface UpdateToolboxRequest */
5151
5671
  export interface UpdateToolboxRequest {
5152
5672
  /** The name of the toolbox to update. */
@@ -5161,11 +5681,11 @@ export declare function _listVersionsRequestTypeSerializer(item: _ListVersionsRe
5161
5681
  /** Type of AgentType */
5162
5682
  export type AgentType = "agent" | "agent.version" | "agent.deleted" | "agent.version.deleted" | "agent.container";
5163
5683
  /** Feature opt-in keys for agent definition operations supporting hosted or workflow agents. */
5164
- export type AgentDefinitionOptInKeys = "WorkflowAgents=V1Preview" | "ExternalAgents=V1Preview" | "DraftAgents=V1Preview";
5684
+ export type AgentDefinitionOptInKeys = "WorkflowAgents=V1Preview" | "ExternalAgents=V1Preview" | "DraftAgents=V1Preview" | "VoiceAgents=V1Preview" | "DigitalWorker=V1Preview";
5165
5685
  /** Type of PageOrder */
5166
5686
  export type PageOrder = "asc" | "desc";
5167
5687
  /** Type of FoundryFeaturesOptInKeys */
5168
- export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "MemoryStores=V1Preview" | "Routines=V1Preview" | "Skills=V1Preview" | "DataGenerationJobs=V1Preview" | "Models=V1Preview" | "AgentsOptimization=V2Preview";
5688
+ export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "AgentInsights=V1Preview" | "MemoryStores=V1Preview" | "Routines=V1Preview" | "Routines=V2Preview" | "Skills=V1Preview" | "DataGenerationJobs=V1Preview" | "Models=V1Preview" | "AgentsOptimization=V2Preview" | "ModelRouterControls=V1Preview";
5169
5689
  /** The type of pending upload. */
5170
5690
  export type PendingUploadType = "None" | "BlobReference" | "TemporaryBlobReference";
5171
5691
  /** Type of MemoryStoreType */
@@ -5191,6 +5711,23 @@ export type AgentsDownloadSessionFileResponse = {
5191
5711
  */
5192
5712
  readableStreamBody?: NodeReadableStream;
5193
5713
  };
5714
+ /** The binary Microsoft 365 app package generated for a Foundry agent. */
5715
+ export type GetMicrosoft365PackageResponse = {
5716
+ /**
5717
+ * BROWSER ONLY
5718
+ *
5719
+ * The response body as a browser Blob.
5720
+ * Always `undefined` in node.js.
5721
+ */
5722
+ blobBody?: Promise<Blob>;
5723
+ /**
5724
+ * NODEJS ONLY
5725
+ *
5726
+ * The response body as a node.js Readable stream.
5727
+ * Always `undefined` in the browser.
5728
+ */
5729
+ readableStreamBody?: NodeReadableStream;
5730
+ };
5194
5731
  export type AgentsDownloadAgentCodeResponse = {
5195
5732
  /**
5196
5733
  * BROWSER ONLY
@@ -5239,4 +5776,187 @@ export type BetaSkillsDownloadResponse = {
5239
5776
  */
5240
5777
  readableStreamBody?: NodeReadableStream;
5241
5778
  };
5779
+ /** Type of CallableToolAllowedCaller */
5780
+ export type CallableToolAllowedCaller = "direct" | "programmatic";
5781
+ /** model interface ProgrammaticToolCallingParam */
5782
+ export interface ProgrammaticToolCallingParam extends Tool {
5783
+ /** The type of the tool. Always `programmatic_tool_calling`. */
5784
+ type: "programmatic_tool_calling";
5785
+ }
5786
+ /** model interface SpecificProgrammaticToolCallingParam */
5787
+ export interface SpecificProgrammaticToolCallingParam extends ToolChoiceParam {
5788
+ /** The tool to call. Always `programmatic_tool_calling`. */
5789
+ type: "programmatic_tool_calling";
5790
+ }
5791
+ /** Alias for ReasoningModeEnum */
5792
+ export type ReasoningModeEnum = string | "standard" | "pro";
5793
+ export declare function programmaticToolCallingParamDeserializer(item: any): ProgrammaticToolCallingParam;
5794
+ export declare function programmaticToolCallingParamSerializer(item: ProgrammaticToolCallingParam): any;
5795
+ export declare function reasoningModeEnumDeserializer(item: any): ReasoningModeEnum;
5796
+ export declare function reasoningModeEnumSerializer(item: ReasoningModeEnum): any;
5797
+ export declare function specificProgrammaticToolCallingParamDeserializer(item: any): SpecificProgrammaticToolCallingParam;
5798
+ export declare function specificProgrammaticToolCallingParamSerializer(item: SpecificProgrammaticToolCallingParam): any;
5799
+ /** Session defaults applied to sessions created for a hosted agent version. */
5800
+ export interface SessionConfiguration {
5801
+ /**
5802
+ * The idle duration, in seconds, before a session's sandbox is suspended. Optional — when
5803
+ * unset, the server default of 900 seconds is used. Must be between 120 and 3600 seconds
5804
+ * (inclusive).
5805
+ */
5806
+ idle_timeout_seconds?: number;
5807
+ }
5808
+ export declare function sessionConfigurationSerializer(item: SessionConfiguration): any;
5809
+ export declare function sessionConfigurationDeserializer(item: any): SessionConfiguration;
5810
+ /** An agent implementing the A2A protocol. */
5811
+ export interface A2ATool extends Tool {
5812
+ /** The type of the tool. Always `"a2a"`. */
5813
+ type: "a2a";
5814
+ /** Base URL of the agent. */
5815
+ base_url?: string;
5816
+ /**
5817
+ * The path to the agent card relative to the `base_url`.
5818
+ * If not provided, defaults to `/.well-known/agent-card.json`
5819
+ */
5820
+ agent_card_path?: string;
5821
+ /**
5822
+ * The connection ID in the project for the A2A server.
5823
+ * The connection stores authentication and other connection details needed to connect to the A2A server.
5824
+ */
5825
+ project_connection_id?: string;
5826
+ /**
5827
+ * When `true`, Foundry sends its credentials when fetching the remote
5828
+ * agent's Agent Card. The service defaults to `false` if a value is not
5829
+ * specified by the caller (anonymous fetch).
5830
+ */
5831
+ send_credentials_for_agent_card?: boolean;
5832
+ /** The A2A protocol version supported by the agent. */
5833
+ a2a_version: A2AProtocolVersion;
5834
+ }
5835
+ export declare function a2AToolSerializer(item: A2ATool): any;
5836
+ export declare function a2AToolDeserializer(item: any): A2ATool;
5837
+ /** Supported A2A protocol versions. */
5838
+ export type A2AProtocolVersion = "1.0";
5839
+ /** A WebIQ server-side tool. */
5840
+ export interface WebIQPreviewTool extends Tool {
5841
+ /** The object type, which is always 'web_iq_preview'. */
5842
+ type: "web_iq_preview";
5843
+ /** The ID of the WebIQ project connection. */
5844
+ project_connection_id: string;
5845
+ /** The label of the WebIQ MCP server to connect to. When omitted, the service defaults to connection name extracted from project_connection_id. */
5846
+ server_label?: string;
5847
+ /** Whether the agent requires approval before executing actions. When omitted, the service defaults to "always". */
5848
+ require_approval?: MCPToolRequireApproval | string;
5849
+ }
5850
+ export declare function webIQPreviewToolSerializer(item: WebIQPreviewTool): any;
5851
+ export declare function webIQPreviewToolDeserializer(item: any): WebIQPreviewTool;
5852
+ /** Alias for _WebIQPreviewToolRequireApproval */
5853
+ export type _WebIQPreviewToolRequireApproval = MCPToolRequireApproval | string;
5854
+ export declare function _webIQPreviewToolRequireApprovalSerializer(item: _WebIQPreviewToolRequireApproval): any;
5855
+ export declare function _webIQPreviewToolRequireApprovalDeserializer(item: any): _WebIQPreviewToolRequireApproval;
5856
+ /** An access boundary for the activity protocol. */
5857
+ export type ActivityProtocolAccessBoundary = "read.1on1.developers" | "read.1on1.manager" | "read.1on1.allowlisted" | "read.1on1.tenant" | "write.1on1.developers" | "write.1on1.manager" | "write.1on1.allowlisted" | "write.1on1.tenant" | "read.group.developers" | "read.group.allowlisted" | "read.group.manager-invited" | "read.group.manager-present" | "read.group.tenant" | "write.group.developers" | "write.group.allowlisted" | "write.group.manager-invited" | "write.group.manager-present" | "write.group.tenant";
5858
+ /** The Microsoft Agent Certification review status of the Microsoft 365 store title published for an agent. */
5859
+ export type PublishApprovalStatus = "not_published" | "pending" | "approved" | "rejected" | "no_approval_needed";
5860
+ /** A shell tool stored in a toolbox. This model is additive to toolbox configuration and does not modify the OpenAI tool contract or existing toolbox tool definitions. */
5861
+ export interface ShellToolboxTool extends ToolboxTool {
5862
+ /** The type of the tool. Always `shell`. */
5863
+ type: "shell";
5864
+ allowed_callers?: CallableToolAllowedCaller[];
5865
+ /** The environment in which shell commands are executed. Specify an automatically provisioned container or an existing container. */
5866
+ environment: ToolboxShellEnvironmentUnion;
5867
+ }
5868
+ export declare function shellToolboxToolSerializer(item: ShellToolboxTool): any;
5869
+ export declare function shellToolboxToolDeserializer(item: any): ShellToolboxTool;
5870
+ /** An execution environment for a shell tool stored in a toolbox. This environment model is scoped to toolbox configuration and does not modify the OpenAI shell environment contract. */
5871
+ export interface ToolboxShellEnvironment {
5872
+ /** The type of the shell execution environment. */
5873
+ /** The discriminator possible values: container_auto, container_reference */
5874
+ type: string;
5875
+ }
5876
+ export declare function toolboxShellEnvironmentSerializer(item: ToolboxShellEnvironment): any;
5877
+ export declare function toolboxShellEnvironmentDeserializer(item: any): ToolboxShellEnvironment;
5878
+ /** Alias for ToolboxShellEnvironmentUnion */
5879
+ export type ToolboxShellEnvironmentUnion = ToolboxShellContainerAutoEnvironment | ToolboxShellContainerReferenceEnvironment | ToolboxShellEnvironment;
5880
+ export declare function toolboxShellEnvironmentUnionSerializer(item: ToolboxShellEnvironmentUnion): any;
5881
+ export declare function toolboxShellEnvironmentUnionDeserializer(item: any): ToolboxShellEnvironmentUnion;
5882
+ /** An automatically provisioned container environment for a shell tool stored in a toolbox. */
5883
+ export interface ToolboxShellContainerAutoEnvironment extends ToolboxShellEnvironment {
5884
+ /** The type of the shell execution environment. Always `container_auto`. */
5885
+ type: "container_auto";
5886
+ /** An optional list of uploaded files to make available to your code. */
5887
+ file_ids?: string[];
5888
+ memory_limit?: ContainerMemoryLimit;
5889
+ /** An optional list of skills referenced by id or inline data. */
5890
+ skills?: ContainerSkillUnion[];
5891
+ /** The network access policy for the container. When omitted, the service defaults to disabled outbound network access. */
5892
+ network_policy?: ToolboxShellNetworkPolicyUnion;
5893
+ }
5894
+ export declare function toolboxShellContainerAutoEnvironmentSerializer(item: ToolboxShellContainerAutoEnvironment): any;
5895
+ export declare function toolboxShellContainerAutoEnvironmentDeserializer(item: any): ToolboxShellContainerAutoEnvironment;
5896
+ /** Network access policy for an automatically provisioned toolbox shell container. */
5897
+ export interface ToolboxShellNetworkPolicy {
5898
+ /** The type of network access policy. */
5899
+ /** The discriminator possible values: disabled */
5900
+ type: string;
5901
+ }
5902
+ export declare function toolboxShellNetworkPolicySerializer(item: ToolboxShellNetworkPolicy): any;
5903
+ export declare function toolboxShellNetworkPolicyDeserializer(item: any): ToolboxShellNetworkPolicy;
5904
+ /** Alias for ToolboxShellNetworkPolicyUnion */
5905
+ export type ToolboxShellNetworkPolicyUnion = ToolboxShellNetworkPolicyDisabled | ToolboxShellNetworkPolicy;
5906
+ export declare function toolboxShellNetworkPolicyUnionSerializer(item: ToolboxShellNetworkPolicyUnion): any;
5907
+ export declare function toolboxShellNetworkPolicyUnionDeserializer(item: any): ToolboxShellNetworkPolicyUnion;
5908
+ /** A network policy that disables outbound access from a toolbox shell container. */
5909
+ export interface ToolboxShellNetworkPolicyDisabled extends ToolboxShellNetworkPolicy {
5910
+ /** The type of network access policy. Always `disabled`. */
5911
+ type: "disabled";
5912
+ }
5913
+ export declare function toolboxShellNetworkPolicyDisabledSerializer(item: ToolboxShellNetworkPolicyDisabled): any;
5914
+ export declare function toolboxShellNetworkPolicyDisabledDeserializer(item: any): ToolboxShellNetworkPolicyDisabled;
5915
+ /** An existing container environment for a shell tool stored in a toolbox. */
5916
+ export interface ToolboxShellContainerReferenceEnvironment extends ToolboxShellEnvironment {
5917
+ /** The type of the shell execution environment. Always `container_reference`. */
5918
+ type: "container_reference";
5919
+ /** The ID of the referenced container. */
5920
+ container_id: string;
5921
+ }
5922
+ export declare function toolboxShellContainerReferenceEnvironmentSerializer(item: ToolboxShellContainerReferenceEnvironment): any;
5923
+ export declare function toolboxShellContainerReferenceEnvironmentDeserializer(item: any): ToolboxShellContainerReferenceEnvironment;
5924
+ /** An A2A tool stored in a toolbox. */
5925
+ export interface A2AToolboxTool extends ToolboxTool {
5926
+ type: "a2a";
5927
+ /** Base URL of the agent. */
5928
+ base_url?: string;
5929
+ /**
5930
+ * The path to the agent card relative to the `base_url`.
5931
+ * If not provided, defaults to `/.well-known/agent-card.json`
5932
+ */
5933
+ agent_card_path?: string;
5934
+ /**
5935
+ * The connection ID in the project for the A2A server.
5936
+ * The connection stores authentication and other connection details needed to connect to the A2A server.
5937
+ */
5938
+ project_connection_id?: string;
5939
+ /**
5940
+ * When `true`, Foundry sends its credentials when fetching the remote
5941
+ * agent's Agent Card. The service defaults to `false` if a value is not
5942
+ * specified by the caller (anonymous fetch).
5943
+ */
5944
+ send_credentials_for_agent_card?: boolean;
5945
+ /** The A2A protocol version supported by the agent. */
5946
+ a2a_version: A2AProtocolVersion;
5947
+ }
5948
+ export declare function a2AToolboxToolSerializer(item: A2AToolboxTool): any;
5949
+ export declare function a2AToolboxToolDeserializer(item: any): A2AToolboxTool;
5950
+ /** A WebIQ tool stored in a toolbox. */
5951
+ export interface WebIQPreviewToolboxTool extends ToolboxTool {
5952
+ type: "web_iq_preview";
5953
+ /** The ID of the WebIQ project connection. */
5954
+ project_connection_id: string;
5955
+ /** The label of the WebIQ MCP server to connect to. When omitted, the service defaults to connection name extracted from project_connection_id. */
5956
+ server_label?: string;
5957
+ /** Whether the agent requires approval before executing actions. When omitted, the service defaults to "always". */
5958
+ require_approval?: MCPToolRequireApproval | string;
5959
+ }
5960
+ export declare function webIQPreviewToolboxToolSerializer(item: WebIQPreviewToolboxTool): any;
5961
+ export declare function webIQPreviewToolboxToolDeserializer(item: any): WebIQPreviewToolboxTool;
5242
5962
  //# sourceMappingURL=models.d.ts.map