@azure/ai-projects 2.0.0-beta.4 → 2.0.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 (1409) hide show
  1. package/README.md +63 -42
  2. package/dist/browser/aiProjectClient.d.ts +36 -36
  3. package/dist/browser/aiProjectClient.d.ts.map +1 -1
  4. package/dist/browser/aiProjectClient.js +38 -40
  5. package/dist/browser/aiProjectClient.js.map +1 -1
  6. package/dist/browser/api/agents/index.d.ts +2 -2
  7. package/dist/browser/api/agents/index.d.ts.map +1 -1
  8. package/dist/browser/api/agents/index.js +1 -1
  9. package/dist/browser/api/agents/index.js.map +1 -1
  10. package/dist/browser/api/agents/operations.d.ts +40 -61
  11. package/dist/browser/api/agents/operations.d.ts.map +1 -1
  12. package/dist/browser/api/agents/operations.js +121 -188
  13. package/dist/browser/api/agents/operations.js.map +1 -1
  14. package/dist/browser/api/agents/options.d.ts +29 -32
  15. package/dist/browser/api/agents/options.d.ts.map +1 -1
  16. package/dist/browser/api/agents/options.js.map +1 -1
  17. package/dist/browser/api/aiProjectContext.d.ts +2 -2
  18. package/dist/browser/api/aiProjectContext.d.ts.map +1 -1
  19. package/dist/browser/api/aiProjectContext.js +4 -17
  20. package/dist/browser/api/aiProjectContext.js.map +1 -1
  21. package/dist/browser/api/beta/evaluationTaxonomies/index.d.ts +3 -0
  22. package/dist/browser/api/beta/evaluationTaxonomies/index.d.ts.map +1 -0
  23. package/dist/browser/api/beta/evaluationTaxonomies/index.js.map +1 -0
  24. package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts +26 -0
  25. package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -0
  26. package/dist/browser/api/beta/evaluationTaxonomies/operations.js +173 -0
  27. package/dist/browser/api/beta/evaluationTaxonomies/operations.js.map +1 -0
  28. package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts +27 -0
  29. package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts.map +1 -0
  30. package/dist/browser/api/beta/evaluationTaxonomies/options.js.map +1 -0
  31. package/dist/browser/api/beta/evaluators/index.d.ts +3 -0
  32. package/dist/browser/api/beta/evaluators/index.d.ts.map +1 -0
  33. package/dist/browser/api/beta/evaluators/index.js.map +1 -0
  34. package/dist/browser/api/beta/evaluators/operations.d.ts +30 -0
  35. package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -0
  36. package/dist/browser/api/beta/evaluators/operations.js +203 -0
  37. package/dist/browser/api/beta/evaluators/operations.js.map +1 -0
  38. package/dist/browser/api/beta/evaluators/options.d.ts +29 -0
  39. package/dist/browser/api/beta/evaluators/options.d.ts.map +1 -0
  40. package/dist/browser/api/beta/evaluators/options.js.map +1 -0
  41. package/dist/browser/api/beta/insights/index.d.ts +3 -0
  42. package/dist/browser/api/beta/insights/index.d.ts.map +1 -0
  43. package/dist/browser/api/beta/insights/index.js.map +1 -0
  44. package/dist/browser/api/beta/insights/operations.d.ts +18 -0
  45. package/dist/browser/api/beta/insights/operations.d.ts.map +1 -0
  46. package/dist/browser/api/beta/insights/operations.js +124 -0
  47. package/dist/browser/api/beta/insights/operations.js.map +1 -0
  48. package/dist/browser/api/beta/insights/options.d.ts +32 -0
  49. package/dist/browser/api/beta/insights/options.d.ts.map +1 -0
  50. package/dist/browser/api/beta/insights/options.js.map +1 -0
  51. package/dist/browser/api/beta/memoryStores/index.d.ts +3 -0
  52. package/dist/browser/api/beta/memoryStores/index.d.ts.map +1 -0
  53. package/dist/browser/api/beta/memoryStores/index.js +4 -0
  54. package/dist/browser/api/beta/memoryStores/index.js.map +1 -0
  55. package/dist/browser/api/beta/memoryStores/operations.d.ts +43 -0
  56. package/dist/browser/api/beta/memoryStores/operations.d.ts.map +1 -0
  57. package/dist/browser/api/beta/memoryStores/operations.js +335 -0
  58. package/dist/browser/api/beta/memoryStores/operations.js.map +1 -0
  59. package/dist/browser/api/beta/memoryStores/options.d.ts +79 -0
  60. package/dist/browser/api/beta/memoryStores/options.d.ts.map +1 -0
  61. package/dist/browser/api/beta/memoryStores/options.js.map +1 -0
  62. package/dist/browser/api/beta/redTeams/index.d.ts +3 -0
  63. package/dist/browser/api/beta/redTeams/index.d.ts.map +1 -0
  64. package/dist/browser/api/beta/redTeams/index.js.map +1 -0
  65. package/dist/browser/api/beta/redTeams/operations.d.ts +18 -0
  66. package/dist/browser/api/beta/redTeams/operations.d.ts.map +1 -0
  67. package/dist/browser/api/beta/redTeams/operations.js +110 -0
  68. package/dist/browser/api/beta/redTeams/operations.js.map +1 -0
  69. package/dist/browser/api/beta/redTeams/options.d.ts +15 -0
  70. package/dist/browser/api/beta/redTeams/options.d.ts.map +1 -0
  71. package/dist/browser/api/beta/redTeams/options.js.map +1 -0
  72. package/dist/browser/api/beta/schedules/index.d.ts +3 -0
  73. package/dist/browser/api/beta/schedules/index.d.ts.map +1 -0
  74. package/dist/browser/api/beta/schedules/index.js.map +1 -0
  75. package/dist/browser/api/beta/schedules/operations.d.ts +30 -0
  76. package/dist/browser/api/beta/schedules/operations.d.ts.map +1 -0
  77. package/dist/browser/api/beta/schedules/operations.js +217 -0
  78. package/dist/browser/api/beta/schedules/operations.js.map +1 -0
  79. package/dist/browser/api/beta/schedules/options.d.ts +39 -0
  80. package/dist/browser/api/beta/schedules/options.d.ts.map +1 -0
  81. package/dist/browser/api/beta/schedules/options.js.map +1 -0
  82. package/dist/browser/api/connections/index.d.ts +1 -1
  83. package/dist/browser/api/connections/index.d.ts.map +1 -1
  84. package/dist/browser/api/connections/index.js.map +1 -1
  85. package/dist/browser/api/connections/operations.d.ts +8 -8
  86. package/dist/browser/api/connections/operations.d.ts.map +1 -1
  87. package/dist/browser/api/connections/operations.js +13 -13
  88. package/dist/browser/api/connections/operations.js.map +1 -1
  89. package/dist/browser/api/connections/options.d.ts +9 -2
  90. package/dist/browser/api/connections/options.d.ts.map +1 -1
  91. package/dist/browser/api/connections/options.js.map +1 -1
  92. package/dist/browser/api/datasets/index.d.ts +1 -1
  93. package/dist/browser/api/datasets/index.d.ts.map +1 -1
  94. package/dist/browser/api/datasets/index.js.map +1 -1
  95. package/dist/browser/api/datasets/operations.d.ts +5 -5
  96. package/dist/browser/api/datasets/operations.d.ts.map +1 -1
  97. package/dist/browser/api/datasets/operations.js +11 -5
  98. package/dist/browser/api/datasets/operations.js.map +1 -1
  99. package/dist/browser/api/datasets/options.d.ts +1 -1
  100. package/dist/browser/api/datasets/options.d.ts.map +1 -1
  101. package/dist/browser/api/datasets/options.js.map +1 -1
  102. package/dist/browser/api/deployments/index.d.ts +1 -1
  103. package/dist/browser/api/deployments/index.d.ts.map +1 -1
  104. package/dist/browser/api/deployments/index.js.map +1 -1
  105. package/dist/browser/api/deployments/operations.d.ts +5 -5
  106. package/dist/browser/api/deployments/operations.d.ts.map +1 -1
  107. package/dist/browser/api/deployments/operations.js +4 -4
  108. package/dist/browser/api/deployments/operations.js.map +1 -1
  109. package/dist/browser/api/deployments/options.d.ts +2 -2
  110. package/dist/browser/api/deployments/options.d.ts.map +1 -1
  111. package/dist/browser/api/deployments/options.js.map +1 -1
  112. package/dist/browser/api/evaluationRules/index.d.ts +1 -1
  113. package/dist/browser/api/evaluationRules/index.d.ts.map +1 -1
  114. package/dist/browser/api/evaluationRules/index.js.map +1 -1
  115. package/dist/browser/api/evaluationRules/operations.d.ts +5 -5
  116. package/dist/browser/api/evaluationRules/operations.d.ts.map +1 -1
  117. package/dist/browser/api/evaluationRules/operations.js +27 -13
  118. package/dist/browser/api/evaluationRules/operations.js.map +1 -1
  119. package/dist/browser/api/evaluationRules/options.d.ts +10 -8
  120. package/dist/browser/api/evaluationRules/options.d.ts.map +1 -1
  121. package/dist/browser/api/evaluationRules/options.js.map +1 -1
  122. package/dist/browser/api/index.d.ts +6 -5
  123. package/dist/browser/api/index.d.ts.map +1 -1
  124. package/dist/browser/api/index.js.map +1 -1
  125. package/dist/browser/api/indexes/index.d.ts +1 -1
  126. package/dist/browser/api/indexes/index.d.ts.map +1 -1
  127. package/dist/browser/api/indexes/index.js.map +1 -1
  128. package/dist/browser/api/indexes/operations.d.ts +6 -6
  129. package/dist/browser/api/indexes/operations.d.ts.map +1 -1
  130. package/dist/browser/api/indexes/operations.js +5 -5
  131. package/dist/browser/api/indexes/operations.js.map +1 -1
  132. package/dist/browser/api/indexes/options.d.ts +1 -1
  133. package/dist/browser/api/indexes/options.d.ts.map +1 -1
  134. package/dist/browser/api/indexes/options.js.map +1 -1
  135. package/dist/browser/api/telemetry/index.d.ts +1 -1
  136. package/dist/browser/api/telemetry/index.d.ts.map +1 -1
  137. package/dist/browser/api/telemetry/index.js.map +1 -1
  138. package/dist/browser/api/telemetry/operations.d.ts +2 -1
  139. package/dist/browser/api/telemetry/operations.d.ts.map +1 -1
  140. package/dist/browser/api/telemetry/operations.js +3 -3
  141. package/dist/browser/api/telemetry/operations.js.map +1 -1
  142. package/dist/browser/classic/agents/index.d.ts +20 -39
  143. package/dist/browser/classic/agents/index.d.ts.map +1 -1
  144. package/dist/browser/classic/agents/index.js +10 -12
  145. package/dist/browser/classic/agents/index.js.map +1 -1
  146. package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts +19 -0
  147. package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -0
  148. package/dist/browser/classic/beta/evaluationTaxonomies/index.js +18 -0
  149. package/dist/browser/classic/beta/evaluationTaxonomies/index.js.map +1 -0
  150. package/dist/browser/classic/beta/evaluators/index.d.ts +21 -0
  151. package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -0
  152. package/dist/browser/classic/beta/evaluators/index.js +19 -0
  153. package/dist/browser/classic/beta/evaluators/index.js.map +1 -0
  154. package/dist/browser/classic/beta/index.d.ts +24 -0
  155. package/dist/browser/classic/beta/index.d.ts.map +1 -0
  156. package/dist/browser/classic/beta/index.js +25 -0
  157. package/dist/browser/classic/beta/index.js.map +1 -0
  158. package/dist/browser/classic/beta/insights/index.d.ts +15 -0
  159. package/dist/browser/classic/beta/insights/index.d.ts.map +1 -0
  160. package/dist/browser/classic/beta/insights/index.js +16 -0
  161. package/dist/browser/classic/beta/insights/index.js.map +1 -0
  162. package/dist/browser/classic/beta/memoryStores/index.d.ts +28 -0
  163. package/dist/browser/classic/beta/memoryStores/index.d.ts.map +1 -0
  164. package/dist/browser/classic/beta/memoryStores/index.js +22 -0
  165. package/dist/browser/classic/beta/memoryStores/index.js.map +1 -0
  166. package/dist/browser/classic/beta/redTeams/index.d.ts +15 -0
  167. package/dist/browser/classic/beta/redTeams/index.d.ts.map +1 -0
  168. package/dist/browser/classic/beta/redTeams/index.js +16 -0
  169. package/dist/browser/classic/beta/redTeams/index.js.map +1 -0
  170. package/dist/browser/classic/beta/schedules/index.d.ts +21 -0
  171. package/dist/browser/classic/beta/schedules/index.d.ts.map +1 -0
  172. package/dist/browser/classic/beta/schedules/index.js +19 -0
  173. package/dist/browser/classic/beta/schedules/index.js.map +1 -0
  174. package/dist/browser/classic/connections/index.d.ts +6 -6
  175. package/dist/browser/classic/connections/index.d.ts.map +1 -1
  176. package/dist/browser/classic/connections/index.js +2 -2
  177. package/dist/browser/classic/connections/index.js.map +1 -1
  178. package/dist/browser/classic/datasets/index.d.ts +5 -5
  179. package/dist/browser/classic/datasets/index.d.ts.map +1 -1
  180. package/dist/browser/classic/datasets/index.js.map +1 -1
  181. package/dist/browser/classic/deployments/index.d.ts +4 -4
  182. package/dist/browser/classic/deployments/index.d.ts.map +1 -1
  183. package/dist/browser/classic/deployments/index.js.map +1 -1
  184. package/dist/browser/classic/evaluationRules/index.d.ts +4 -4
  185. package/dist/browser/classic/evaluationRules/index.d.ts.map +1 -1
  186. package/dist/browser/classic/evaluationRules/index.js.map +1 -1
  187. package/dist/browser/classic/index.d.ts +14 -13
  188. package/dist/browser/classic/index.d.ts.map +1 -1
  189. package/dist/browser/classic/index.js.map +1 -1
  190. package/dist/browser/classic/indexes/index.d.ts +4 -4
  191. package/dist/browser/classic/indexes/index.d.ts.map +1 -1
  192. package/dist/browser/classic/indexes/index.js +1 -1
  193. package/dist/browser/classic/indexes/index.js.map +1 -1
  194. package/dist/browser/classic/telemetry/index.d.ts +2 -1
  195. package/dist/browser/classic/telemetry/index.d.ts.map +1 -1
  196. package/dist/browser/classic/telemetry/index.js +1 -3
  197. package/dist/browser/classic/telemetry/index.js.map +1 -1
  198. package/dist/browser/constants.d.ts +1 -1
  199. package/dist/browser/constants.d.ts.map +1 -1
  200. package/dist/browser/constants.js +1 -1
  201. package/dist/browser/constants.js.map +1 -1
  202. package/dist/browser/getCustomFetch.d.ts +1 -1
  203. package/dist/browser/getCustomFetch.d.ts.map +1 -0
  204. package/dist/browser/getCustomFetch.js +1 -1
  205. package/dist/browser/getCustomFetch.js.map +1 -0
  206. package/dist/browser/index.d.ts +18 -19
  207. package/dist/browser/index.d.ts.map +1 -1
  208. package/dist/browser/index.js +0 -2
  209. package/dist/browser/index.js.map +1 -1
  210. package/dist/browser/models/index.d.ts +1 -1
  211. package/dist/browser/models/index.d.ts.map +1 -1
  212. package/dist/browser/models/index.js +1 -1
  213. package/dist/browser/models/index.js.map +1 -1
  214. package/dist/browser/models/models.d.ts +1304 -2024
  215. package/dist/browser/models/models.d.ts.map +1 -1
  216. package/dist/browser/models/models.js +1258 -1800
  217. package/dist/browser/models/models.js.map +1 -1
  218. package/dist/browser/overwriteOpenAIClient.d.ts +1 -1
  219. package/dist/browser/overwriteOpenAIClient.d.ts.map +1 -1
  220. package/dist/browser/overwriteOpenAIClient.js +1 -1
  221. package/dist/browser/overwriteOpenAIClient.js.map +1 -1
  222. package/dist/browser/static-helpers/pagingHelpers.d.ts +5 -27
  223. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
  224. package/dist/browser/static-helpers/pagingHelpers.js +28 -5
  225. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  226. package/dist/browser/static-helpers/pollingHelpers.d.ts +8 -3
  227. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
  228. package/dist/browser/static-helpers/pollingHelpers.js +19 -3
  229. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  230. package/dist/browser/util.d.ts +11 -0
  231. package/dist/browser/util.d.ts.map +1 -0
  232. package/dist/browser/util.js +93 -0
  233. package/dist/browser/util.js.map +1 -0
  234. package/dist/commonjs/aiProjectClient.d.ts +36 -36
  235. package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
  236. package/dist/commonjs/aiProjectClient.js +140 -139
  237. package/dist/commonjs/aiProjectClient.js.map +7 -1
  238. package/dist/commonjs/api/agents/index.d.ts +2 -2
  239. package/dist/commonjs/api/agents/index.d.ts.map +1 -1
  240. package/dist/commonjs/api/agents/index.js +49 -20
  241. package/dist/commonjs/api/agents/index.js.map +7 -1
  242. package/dist/commonjs/api/agents/operations.d.ts +40 -61
  243. package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
  244. package/dist/commonjs/api/agents/operations.js +514 -475
  245. package/dist/commonjs/api/agents/operations.js.map +7 -1
  246. package/dist/commonjs/api/agents/options.d.ts +29 -32
  247. package/dist/commonjs/api/agents/options.d.ts.map +1 -1
  248. package/dist/commonjs/api/agents/options.js +15 -5
  249. package/dist/commonjs/api/agents/options.js.map +7 -1
  250. package/dist/commonjs/api/aiProjectContext.d.ts +2 -2
  251. package/dist/commonjs/api/aiProjectContext.d.ts.map +1 -1
  252. package/dist/commonjs/api/aiProjectContext.js +44 -39
  253. package/dist/commonjs/api/aiProjectContext.js.map +7 -1
  254. package/dist/commonjs/api/beta/evaluationTaxonomies/index.d.ts +3 -0
  255. package/dist/commonjs/api/beta/evaluationTaxonomies/index.d.ts.map +1 -0
  256. package/dist/commonjs/api/beta/evaluationTaxonomies/index.js +35 -0
  257. package/dist/commonjs/api/beta/evaluationTaxonomies/index.js.map +7 -0
  258. package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts +26 -0
  259. package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -0
  260. package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js +239 -0
  261. package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js.map +7 -0
  262. package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts +27 -0
  263. package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts.map +1 -0
  264. package/dist/commonjs/api/beta/evaluationTaxonomies/options.js +15 -0
  265. package/dist/commonjs/api/beta/evaluationTaxonomies/options.js.map +7 -0
  266. package/dist/commonjs/api/beta/evaluators/index.d.ts +3 -0
  267. package/dist/commonjs/api/beta/evaluators/index.d.ts.map +1 -0
  268. package/dist/commonjs/api/beta/evaluators/index.js +37 -0
  269. package/dist/commonjs/api/beta/evaluators/index.js.map +7 -0
  270. package/dist/commonjs/api/beta/evaluators/operations.d.ts +30 -0
  271. package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -0
  272. package/dist/commonjs/api/beta/evaluators/operations.js +290 -0
  273. package/dist/commonjs/api/beta/evaluators/operations.js.map +7 -0
  274. package/dist/commonjs/api/beta/evaluators/options.d.ts +29 -0
  275. package/dist/commonjs/api/beta/evaluators/options.d.ts.map +1 -0
  276. package/dist/commonjs/api/beta/evaluators/options.js +15 -0
  277. package/dist/commonjs/api/beta/evaluators/options.js.map +7 -0
  278. package/dist/commonjs/api/beta/insights/index.d.ts +3 -0
  279. package/dist/commonjs/api/beta/insights/index.d.ts.map +1 -0
  280. package/dist/commonjs/api/beta/insights/index.js +31 -0
  281. package/dist/commonjs/api/beta/insights/index.js.map +7 -0
  282. package/dist/commonjs/api/beta/insights/operations.d.ts +18 -0
  283. package/dist/commonjs/api/beta/insights/operations.d.ts.map +1 -0
  284. package/dist/commonjs/api/beta/insights/operations.js +168 -0
  285. package/dist/commonjs/api/beta/insights/operations.js.map +7 -0
  286. package/dist/commonjs/api/beta/insights/options.d.ts +32 -0
  287. package/dist/commonjs/api/beta/insights/options.d.ts.map +1 -0
  288. package/dist/commonjs/api/beta/insights/options.js +15 -0
  289. package/dist/commonjs/api/beta/insights/options.js.map +7 -0
  290. package/dist/commonjs/api/beta/memoryStores/index.d.ts +3 -0
  291. package/dist/commonjs/api/beta/memoryStores/index.d.ts.map +1 -0
  292. package/dist/commonjs/api/beta/memoryStores/index.js +43 -0
  293. package/dist/commonjs/api/beta/memoryStores/index.js.map +7 -0
  294. package/dist/commonjs/api/beta/memoryStores/operations.d.ts +43 -0
  295. package/dist/commonjs/api/beta/memoryStores/operations.d.ts.map +1 -0
  296. package/dist/commonjs/api/beta/memoryStores/operations.js +442 -0
  297. package/dist/commonjs/api/beta/memoryStores/operations.js.map +7 -0
  298. package/dist/commonjs/api/beta/memoryStores/options.d.ts +79 -0
  299. package/dist/commonjs/api/beta/memoryStores/options.d.ts.map +1 -0
  300. package/dist/commonjs/api/beta/memoryStores/options.js +15 -0
  301. package/dist/commonjs/api/beta/memoryStores/options.js.map +7 -0
  302. package/dist/commonjs/api/beta/redTeams/index.d.ts +3 -0
  303. package/dist/commonjs/api/beta/redTeams/index.d.ts.map +1 -0
  304. package/dist/commonjs/api/beta/redTeams/index.js +31 -0
  305. package/dist/commonjs/api/beta/redTeams/index.js.map +7 -0
  306. package/dist/commonjs/api/beta/redTeams/operations.d.ts +18 -0
  307. package/dist/commonjs/api/beta/redTeams/operations.d.ts.map +1 -0
  308. package/dist/commonjs/api/beta/redTeams/operations.js +160 -0
  309. package/dist/commonjs/api/beta/redTeams/operations.js.map +7 -0
  310. package/dist/commonjs/api/beta/redTeams/options.d.ts +15 -0
  311. package/dist/commonjs/api/beta/redTeams/options.d.ts.map +1 -0
  312. package/dist/commonjs/api/beta/redTeams/options.js +15 -0
  313. package/dist/commonjs/api/beta/redTeams/options.js.map +7 -0
  314. package/dist/commonjs/api/beta/schedules/index.d.ts +3 -0
  315. package/dist/commonjs/api/beta/schedules/index.d.ts.map +1 -0
  316. package/dist/commonjs/api/beta/schedules/index.js +37 -0
  317. package/dist/commonjs/api/beta/schedules/index.js.map +7 -0
  318. package/dist/commonjs/api/beta/schedules/operations.d.ts +30 -0
  319. package/dist/commonjs/api/beta/schedules/operations.d.ts.map +1 -0
  320. package/dist/commonjs/api/beta/schedules/operations.js +294 -0
  321. package/dist/commonjs/api/beta/schedules/operations.js.map +7 -0
  322. package/dist/commonjs/api/beta/schedules/options.d.ts +39 -0
  323. package/dist/commonjs/api/beta/schedules/options.d.ts.map +1 -0
  324. package/dist/commonjs/api/beta/schedules/options.js +15 -0
  325. package/dist/commonjs/api/beta/schedules/options.js.map +7 -0
  326. package/dist/commonjs/api/connections/index.d.ts +1 -1
  327. package/dist/commonjs/api/connections/index.d.ts.map +1 -1
  328. package/dist/commonjs/api/connections/index.js +31 -10
  329. package/dist/commonjs/api/connections/index.js.map +7 -1
  330. package/dist/commonjs/api/connections/operations.d.ts +8 -8
  331. package/dist/commonjs/api/connections/operations.d.ts.map +1 -1
  332. package/dist/commonjs/api/connections/operations.js +146 -119
  333. package/dist/commonjs/api/connections/operations.js.map +7 -1
  334. package/dist/commonjs/api/connections/options.d.ts +9 -2
  335. package/dist/commonjs/api/connections/options.d.ts.map +1 -1
  336. package/dist/commonjs/api/connections/options.js +15 -5
  337. package/dist/commonjs/api/connections/options.js.map +7 -1
  338. package/dist/commonjs/api/datasets/index.d.ts +1 -1
  339. package/dist/commonjs/api/datasets/index.d.ts.map +1 -1
  340. package/dist/commonjs/api/datasets/index.js +39 -14
  341. package/dist/commonjs/api/datasets/index.js.map +7 -1
  342. package/dist/commonjs/api/datasets/operations.d.ts +5 -5
  343. package/dist/commonjs/api/datasets/operations.d.ts.map +1 -1
  344. package/dist/commonjs/api/datasets/operations.js +392 -296
  345. package/dist/commonjs/api/datasets/operations.js.map +7 -1
  346. package/dist/commonjs/api/datasets/options.d.ts +1 -1
  347. package/dist/commonjs/api/datasets/options.d.ts.map +1 -1
  348. package/dist/commonjs/api/datasets/options.js +15 -5
  349. package/dist/commonjs/api/datasets/options.js.map +7 -1
  350. package/dist/commonjs/api/deployments/index.d.ts +1 -1
  351. package/dist/commonjs/api/deployments/index.d.ts.map +1 -1
  352. package/dist/commonjs/api/deployments/index.js +29 -9
  353. package/dist/commonjs/api/deployments/index.js.map +7 -1
  354. package/dist/commonjs/api/deployments/operations.d.ts +5 -5
  355. package/dist/commonjs/api/deployments/operations.d.ts.map +1 -1
  356. package/dist/commonjs/api/deployments/operations.js +97 -64
  357. package/dist/commonjs/api/deployments/operations.js.map +7 -1
  358. package/dist/commonjs/api/deployments/options.d.ts +2 -2
  359. package/dist/commonjs/api/deployments/options.d.ts.map +1 -1
  360. package/dist/commonjs/api/deployments/options.js +15 -5
  361. package/dist/commonjs/api/deployments/options.js.map +7 -1
  362. package/dist/commonjs/api/evaluationRules/index.d.ts +1 -1
  363. package/dist/commonjs/api/evaluationRules/index.d.ts.map +1 -1
  364. package/dist/commonjs/api/evaluationRules/index.js +33 -11
  365. package/dist/commonjs/api/evaluationRules/index.js.map +7 -1
  366. package/dist/commonjs/api/evaluationRules/operations.d.ts +5 -5
  367. package/dist/commonjs/api/evaluationRules/operations.d.ts.map +1 -1
  368. package/dist/commonjs/api/evaluationRules/operations.js +169 -116
  369. package/dist/commonjs/api/evaluationRules/operations.js.map +7 -1
  370. package/dist/commonjs/api/evaluationRules/options.d.ts +10 -8
  371. package/dist/commonjs/api/evaluationRules/options.d.ts.map +1 -1
  372. package/dist/commonjs/api/evaluationRules/options.js +15 -5
  373. package/dist/commonjs/api/evaluationRules/options.js.map +7 -1
  374. package/dist/commonjs/api/index.d.ts +6 -5
  375. package/dist/commonjs/api/index.d.ts.map +1 -1
  376. package/dist/commonjs/api/index.js +27 -8
  377. package/dist/commonjs/api/index.js.map +7 -1
  378. package/dist/commonjs/api/indexes/index.d.ts +1 -1
  379. package/dist/commonjs/api/indexes/index.d.ts.map +1 -1
  380. package/dist/commonjs/api/indexes/index.js +35 -12
  381. package/dist/commonjs/api/indexes/index.js.map +7 -1
  382. package/dist/commonjs/api/indexes/operations.d.ts +6 -6
  383. package/dist/commonjs/api/indexes/operations.d.ts.map +1 -1
  384. package/dist/commonjs/api/indexes/operations.js +187 -126
  385. package/dist/commonjs/api/indexes/operations.js.map +7 -1
  386. package/dist/commonjs/api/indexes/options.d.ts +1 -1
  387. package/dist/commonjs/api/indexes/options.d.ts.map +1 -1
  388. package/dist/commonjs/api/indexes/options.js +15 -5
  389. package/dist/commonjs/api/indexes/options.js.map +7 -1
  390. package/dist/commonjs/api/telemetry/index.d.ts +1 -1
  391. package/dist/commonjs/api/telemetry/index.d.ts.map +1 -1
  392. package/dist/commonjs/api/telemetry/index.js +27 -8
  393. package/dist/commonjs/api/telemetry/index.js.map +7 -1
  394. package/dist/commonjs/api/telemetry/operations.d.ts +2 -1
  395. package/dist/commonjs/api/telemetry/operations.d.ts.map +1 -1
  396. package/dist/commonjs/api/telemetry/operations.js +69 -56
  397. package/dist/commonjs/api/telemetry/operations.js.map +7 -1
  398. package/dist/commonjs/classic/agents/index.d.ts +20 -39
  399. package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
  400. package/dist/commonjs/classic/agents/index.js +89 -44
  401. package/dist/commonjs/classic/agents/index.js.map +7 -1
  402. package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts +19 -0
  403. package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -0
  404. package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js +41 -0
  405. package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js.map +7 -0
  406. package/dist/commonjs/classic/beta/evaluators/index.d.ts +21 -0
  407. package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -0
  408. package/dist/commonjs/classic/beta/evaluators/index.js +42 -0
  409. package/dist/commonjs/classic/beta/evaluators/index.js.map +7 -0
  410. package/dist/commonjs/classic/beta/index.d.ts +24 -0
  411. package/dist/commonjs/classic/beta/index.d.ts.map +1 -0
  412. package/dist/commonjs/classic/beta/index.js +48 -0
  413. package/dist/commonjs/classic/beta/index.js.map +7 -0
  414. package/dist/commonjs/classic/beta/insights/index.d.ts +15 -0
  415. package/dist/commonjs/classic/beta/insights/index.d.ts.map +1 -0
  416. package/dist/commonjs/classic/beta/insights/index.js +39 -0
  417. package/dist/commonjs/classic/beta/insights/index.js.map +7 -0
  418. package/dist/commonjs/classic/beta/memoryStores/index.d.ts +28 -0
  419. package/dist/commonjs/classic/beta/memoryStores/index.d.ts.map +1 -0
  420. package/dist/commonjs/classic/beta/memoryStores/index.js +45 -0
  421. package/dist/commonjs/classic/beta/memoryStores/index.js.map +7 -0
  422. package/dist/commonjs/classic/beta/redTeams/index.d.ts +15 -0
  423. package/dist/commonjs/classic/beta/redTeams/index.d.ts.map +1 -0
  424. package/dist/commonjs/classic/beta/redTeams/index.js +39 -0
  425. package/dist/commonjs/classic/beta/redTeams/index.js.map +7 -0
  426. package/dist/commonjs/classic/beta/schedules/index.d.ts +21 -0
  427. package/dist/commonjs/classic/beta/schedules/index.d.ts.map +1 -0
  428. package/dist/commonjs/classic/beta/schedules/index.js +42 -0
  429. package/dist/commonjs/classic/beta/schedules/index.js.map +7 -0
  430. package/dist/commonjs/classic/connections/index.d.ts +6 -6
  431. package/dist/commonjs/classic/connections/index.d.ts.map +1 -1
  432. package/dist/commonjs/classic/connections/index.js +36 -16
  433. package/dist/commonjs/classic/connections/index.js.map +7 -1
  434. package/dist/commonjs/classic/datasets/index.d.ts +5 -5
  435. package/dist/commonjs/classic/datasets/index.d.ts.map +1 -1
  436. package/dist/commonjs/classic/datasets/index.js +41 -21
  437. package/dist/commonjs/classic/datasets/index.js.map +7 -1
  438. package/dist/commonjs/classic/deployments/index.d.ts +4 -4
  439. package/dist/commonjs/classic/deployments/index.d.ts.map +1 -1
  440. package/dist/commonjs/classic/deployments/index.js +34 -14
  441. package/dist/commonjs/classic/deployments/index.js.map +7 -1
  442. package/dist/commonjs/classic/evaluationRules/index.d.ts +4 -4
  443. package/dist/commonjs/classic/evaluationRules/index.d.ts.map +1 -1
  444. package/dist/commonjs/classic/evaluationRules/index.js +36 -16
  445. package/dist/commonjs/classic/evaluationRules/index.js.map +7 -1
  446. package/dist/commonjs/classic/index.d.ts +14 -13
  447. package/dist/commonjs/classic/index.d.ts.map +1 -1
  448. package/dist/commonjs/classic/index.js +15 -5
  449. package/dist/commonjs/classic/index.js.map +7 -1
  450. package/dist/commonjs/classic/indexes/index.d.ts +4 -4
  451. package/dist/commonjs/classic/indexes/index.d.ts.map +1 -1
  452. package/dist/commonjs/classic/indexes/index.js +37 -17
  453. package/dist/commonjs/classic/indexes/index.js.map +7 -1
  454. package/dist/commonjs/classic/telemetry/index.d.ts +2 -1
  455. package/dist/commonjs/classic/telemetry/index.d.ts.map +1 -1
  456. package/dist/commonjs/classic/telemetry/index.js +32 -12
  457. package/dist/commonjs/classic/telemetry/index.js.map +7 -1
  458. package/dist/commonjs/constants.d.ts +1 -1
  459. package/dist/commonjs/constants.d.ts.map +1 -1
  460. package/dist/commonjs/constants.js +30 -14
  461. package/dist/commonjs/constants.js.map +7 -1
  462. package/dist/commonjs/getCustomFetch.js +52 -43
  463. package/dist/commonjs/getCustomFetch.js.map +7 -1
  464. package/dist/commonjs/index.d.ts +18 -19
  465. package/dist/commonjs/index.d.ts.map +1 -1
  466. package/dist/commonjs/index.js +27 -12
  467. package/dist/commonjs/index.js.map +7 -1
  468. package/dist/commonjs/logger.js +28 -8
  469. package/dist/commonjs/logger.js.map +7 -1
  470. package/dist/commonjs/models/index.d.ts +1 -1
  471. package/dist/commonjs/models/index.d.ts.map +1 -1
  472. package/dist/commonjs/models/index.js +15 -8
  473. package/dist/commonjs/models/index.js.map +7 -1
  474. package/dist/commonjs/models/models.d.ts +1304 -2024
  475. package/dist/commonjs/models/models.d.ts.map +1 -1
  476. package/dist/commonjs/models/models.js +3994 -4123
  477. package/dist/commonjs/models/models.js.map +7 -1
  478. package/dist/commonjs/overwriteOpenAIClient.d.ts +1 -1
  479. package/dist/commonjs/overwriteOpenAIClient.d.ts.map +1 -1
  480. package/dist/commonjs/overwriteOpenAIClient.js +35 -15
  481. package/dist/commonjs/overwriteOpenAIClient.js.map +7 -1
  482. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +5 -27
  483. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
  484. package/dist/commonjs/static-helpers/pagingHelpers.js +125 -106
  485. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
  486. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +8 -3
  487. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
  488. package/dist/commonjs/static-helpers/pollingHelpers.js +94 -76
  489. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
  490. package/dist/commonjs/static-helpers/serialization/serialize-record.js +38 -20
  491. package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +7 -1
  492. package/dist/commonjs/static-helpers/urlTemplate.js +165 -172
  493. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
  494. package/dist/commonjs/tsdoc-metadata.json +1 -1
  495. package/dist/commonjs/util.d.ts +11 -0
  496. package/dist/commonjs/util.d.ts.map +1 -0
  497. package/dist/commonjs/util.js +96 -0
  498. package/dist/commonjs/util.js.map +7 -0
  499. package/dist/esm/aiProjectClient.d.ts +36 -36
  500. package/dist/esm/aiProjectClient.d.ts.map +1 -1
  501. package/dist/esm/aiProjectClient.js +97 -124
  502. package/dist/esm/aiProjectClient.js.map +7 -1
  503. package/dist/esm/api/agents/index.d.ts +2 -2
  504. package/dist/esm/api/agents/index.d.ts.map +1 -1
  505. package/dist/esm/api/agents/index.js +28 -4
  506. package/dist/esm/api/agents/index.js.map +7 -1
  507. package/dist/esm/api/agents/operations.d.ts +40 -61
  508. package/dist/esm/api/agents/operations.d.ts.map +1 -1
  509. package/dist/esm/api/agents/operations.js +474 -443
  510. package/dist/esm/api/agents/operations.js.map +7 -1
  511. package/dist/esm/api/agents/options.d.ts +29 -32
  512. package/dist/esm/api/agents/options.d.ts.map +1 -1
  513. package/dist/esm/api/agents/options.js +0 -4
  514. package/dist/esm/api/agents/options.js.map +7 -1
  515. package/dist/esm/api/aiProjectContext.d.ts +2 -2
  516. package/dist/esm/api/aiProjectContext.d.ts.map +1 -1
  517. package/dist/esm/api/aiProjectContext.js +19 -34
  518. package/dist/esm/api/aiProjectContext.js.map +7 -1
  519. package/dist/esm/api/beta/evaluationTaxonomies/index.d.ts +3 -0
  520. package/dist/esm/api/beta/evaluationTaxonomies/index.d.ts.map +1 -0
  521. package/dist/esm/api/beta/evaluationTaxonomies/index.js +8 -0
  522. package/dist/esm/api/beta/evaluationTaxonomies/index.js.map +7 -0
  523. package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts +26 -0
  524. package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -0
  525. package/dist/esm/api/beta/evaluationTaxonomies/operations.js +206 -0
  526. package/dist/esm/api/beta/evaluationTaxonomies/operations.js.map +7 -0
  527. package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts +27 -0
  528. package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts.map +1 -0
  529. package/dist/esm/api/beta/evaluationTaxonomies/options.js +0 -0
  530. package/dist/esm/api/beta/evaluationTaxonomies/options.js.map +7 -0
  531. package/dist/esm/api/beta/evaluators/index.d.ts +3 -0
  532. package/dist/esm/api/beta/evaluators/index.d.ts.map +1 -0
  533. package/dist/esm/api/beta/evaluators/index.js +16 -0
  534. package/dist/esm/api/beta/evaluators/index.js.map +7 -0
  535. package/dist/esm/api/beta/evaluators/operations.d.ts +30 -0
  536. package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -0
  537. package/dist/esm/api/beta/evaluators/operations.js +254 -0
  538. package/dist/esm/api/beta/evaluators/operations.js.map +7 -0
  539. package/dist/esm/api/beta/evaluators/options.d.ts +29 -0
  540. package/dist/esm/api/beta/evaluators/options.d.ts.map +1 -0
  541. package/dist/esm/api/beta/evaluators/options.js +0 -0
  542. package/dist/esm/api/beta/evaluators/options.js.map +7 -0
  543. package/dist/esm/api/beta/insights/index.d.ts +3 -0
  544. package/dist/esm/api/beta/insights/index.d.ts.map +1 -0
  545. package/dist/esm/api/beta/insights/index.js +6 -0
  546. package/dist/esm/api/beta/insights/index.js.map +7 -0
  547. package/dist/esm/api/beta/insights/operations.d.ts +18 -0
  548. package/dist/esm/api/beta/insights/operations.d.ts.map +1 -0
  549. package/dist/esm/api/beta/insights/operations.js +141 -0
  550. package/dist/esm/api/beta/insights/operations.js.map +7 -0
  551. package/dist/esm/api/beta/insights/options.d.ts +32 -0
  552. package/dist/esm/api/beta/insights/options.d.ts.map +1 -0
  553. package/dist/esm/api/beta/insights/options.js +0 -0
  554. package/dist/esm/api/beta/insights/options.js.map +7 -0
  555. package/dist/esm/api/beta/memoryStores/index.d.ts +3 -0
  556. package/dist/esm/api/beta/memoryStores/index.d.ts.map +1 -0
  557. package/dist/esm/api/beta/memoryStores/index.js +22 -0
  558. package/dist/esm/api/beta/memoryStores/index.js.map +7 -0
  559. package/dist/esm/api/beta/memoryStores/operations.d.ts +43 -0
  560. package/dist/esm/api/beta/memoryStores/operations.d.ts.map +1 -0
  561. package/dist/esm/api/beta/memoryStores/operations.js +404 -0
  562. package/dist/esm/api/beta/memoryStores/operations.js.map +7 -0
  563. package/dist/esm/api/beta/memoryStores/options.d.ts +79 -0
  564. package/dist/esm/api/beta/memoryStores/options.d.ts.map +1 -0
  565. package/dist/esm/api/beta/memoryStores/options.js +0 -0
  566. package/dist/esm/api/beta/memoryStores/options.js.map +7 -0
  567. package/dist/esm/api/beta/redTeams/index.d.ts +3 -0
  568. package/dist/esm/api/beta/redTeams/index.d.ts.map +1 -0
  569. package/dist/esm/api/beta/redTeams/index.js +6 -0
  570. package/dist/esm/api/beta/redTeams/index.js.map +7 -0
  571. package/dist/esm/api/beta/redTeams/operations.d.ts +18 -0
  572. package/dist/esm/api/beta/redTeams/operations.d.ts.map +1 -0
  573. package/dist/esm/api/beta/redTeams/operations.js +134 -0
  574. package/dist/esm/api/beta/redTeams/operations.js.map +7 -0
  575. package/dist/esm/api/beta/redTeams/options.d.ts +15 -0
  576. package/dist/esm/api/beta/redTeams/options.d.ts.map +1 -0
  577. package/dist/esm/api/beta/redTeams/options.js +0 -0
  578. package/dist/esm/api/beta/redTeams/options.js.map +7 -0
  579. package/dist/esm/api/beta/schedules/index.d.ts +3 -0
  580. package/dist/esm/api/beta/schedules/index.d.ts.map +1 -0
  581. package/dist/esm/api/beta/schedules/index.js +9 -0
  582. package/dist/esm/api/beta/schedules/index.js.map +7 -0
  583. package/dist/esm/api/beta/schedules/operations.d.ts +30 -0
  584. package/dist/esm/api/beta/schedules/operations.d.ts.map +1 -0
  585. package/dist/esm/api/beta/schedules/operations.js +261 -0
  586. package/dist/esm/api/beta/schedules/operations.js.map +7 -0
  587. package/dist/esm/api/beta/schedules/options.d.ts +39 -0
  588. package/dist/esm/api/beta/schedules/options.d.ts.map +1 -0
  589. package/dist/esm/api/beta/schedules/options.js +0 -0
  590. package/dist/esm/api/beta/schedules/options.js.map +7 -0
  591. package/dist/esm/api/connections/index.d.ts +1 -1
  592. package/dist/esm/api/connections/index.d.ts.map +1 -1
  593. package/dist/esm/api/connections/index.js +6 -4
  594. package/dist/esm/api/connections/index.js.map +7 -1
  595. package/dist/esm/api/connections/operations.d.ts +8 -8
  596. package/dist/esm/api/connections/operations.d.ts.map +1 -1
  597. package/dist/esm/api/connections/operations.js +119 -112
  598. package/dist/esm/api/connections/operations.js.map +7 -1
  599. package/dist/esm/api/connections/options.d.ts +9 -2
  600. package/dist/esm/api/connections/options.d.ts.map +1 -1
  601. package/dist/esm/api/connections/options.js +0 -4
  602. package/dist/esm/api/connections/options.js.map +7 -1
  603. package/dist/esm/api/datasets/index.d.ts +1 -1
  604. package/dist/esm/api/datasets/index.d.ts.map +1 -1
  605. package/dist/esm/api/datasets/index.js +18 -4
  606. package/dist/esm/api/datasets/index.js.map +7 -1
  607. package/dist/esm/api/datasets/operations.d.ts +5 -5
  608. package/dist/esm/api/datasets/operations.d.ts.map +1 -1
  609. package/dist/esm/api/datasets/operations.js +357 -283
  610. package/dist/esm/api/datasets/operations.js.map +7 -1
  611. package/dist/esm/api/datasets/options.d.ts +1 -1
  612. package/dist/esm/api/datasets/options.d.ts.map +1 -1
  613. package/dist/esm/api/datasets/options.js +0 -4
  614. package/dist/esm/api/datasets/options.js.map +7 -1
  615. package/dist/esm/api/deployments/index.d.ts +1 -1
  616. package/dist/esm/api/deployments/index.d.ts.map +1 -1
  617. package/dist/esm/api/deployments/index.js +5 -4
  618. package/dist/esm/api/deployments/index.js.map +7 -1
  619. package/dist/esm/api/deployments/operations.d.ts +5 -5
  620. package/dist/esm/api/deployments/operations.d.ts.map +1 -1
  621. package/dist/esm/api/deployments/operations.js +73 -60
  622. package/dist/esm/api/deployments/operations.js.map +7 -1
  623. package/dist/esm/api/deployments/options.d.ts +2 -2
  624. package/dist/esm/api/deployments/options.d.ts.map +1 -1
  625. package/dist/esm/api/deployments/options.js +0 -4
  626. package/dist/esm/api/deployments/options.js.map +7 -1
  627. package/dist/esm/api/evaluationRules/index.d.ts +1 -1
  628. package/dist/esm/api/evaluationRules/index.d.ts.map +1 -1
  629. package/dist/esm/api/evaluationRules/index.js +7 -4
  630. package/dist/esm/api/evaluationRules/index.js.map +7 -1
  631. package/dist/esm/api/evaluationRules/operations.d.ts +5 -5
  632. package/dist/esm/api/evaluationRules/operations.d.ts.map +1 -1
  633. package/dist/esm/api/evaluationRules/operations.js +146 -109
  634. package/dist/esm/api/evaluationRules/operations.js.map +7 -1
  635. package/dist/esm/api/evaluationRules/options.d.ts +10 -8
  636. package/dist/esm/api/evaluationRules/options.d.ts.map +1 -1
  637. package/dist/esm/api/evaluationRules/options.js +0 -4
  638. package/dist/esm/api/evaluationRules/options.js.map +7 -1
  639. package/dist/esm/api/index.d.ts +6 -5
  640. package/dist/esm/api/index.d.ts.map +1 -1
  641. package/dist/esm/api/index.js +4 -4
  642. package/dist/esm/api/index.js.map +7 -1
  643. package/dist/esm/api/indexes/index.d.ts +1 -1
  644. package/dist/esm/api/indexes/index.d.ts.map +1 -1
  645. package/dist/esm/api/indexes/index.js +8 -4
  646. package/dist/esm/api/indexes/index.js.map +7 -1
  647. package/dist/esm/api/indexes/operations.d.ts +6 -6
  648. package/dist/esm/api/indexes/operations.d.ts.map +1 -1
  649. package/dist/esm/api/indexes/operations.js +163 -118
  650. package/dist/esm/api/indexes/operations.js.map +7 -1
  651. package/dist/esm/api/indexes/options.d.ts +1 -1
  652. package/dist/esm/api/indexes/options.d.ts.map +1 -1
  653. package/dist/esm/api/indexes/options.js +0 -4
  654. package/dist/esm/api/indexes/options.js.map +7 -1
  655. package/dist/esm/api/telemetry/index.d.ts +1 -1
  656. package/dist/esm/api/telemetry/index.d.ts.map +1 -1
  657. package/dist/esm/api/telemetry/index.js +4 -4
  658. package/dist/esm/api/telemetry/index.js.map +7 -1
  659. package/dist/esm/api/telemetry/operations.d.ts +2 -1
  660. package/dist/esm/api/telemetry/operations.d.ts.map +1 -1
  661. package/dist/esm/api/telemetry/operations.js +46 -53
  662. package/dist/esm/api/telemetry/operations.js.map +7 -1
  663. package/dist/esm/classic/agents/index.d.ts +20 -39
  664. package/dist/esm/classic/agents/index.d.ts.map +1 -1
  665. package/dist/esm/classic/agents/index.js +80 -42
  666. package/dist/esm/classic/agents/index.js.map +7 -1
  667. package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts +19 -0
  668. package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -0
  669. package/dist/esm/classic/beta/evaluationTaxonomies/index.js +24 -0
  670. package/dist/esm/classic/beta/evaluationTaxonomies/index.js.map +7 -0
  671. package/dist/esm/classic/beta/evaluators/index.d.ts +21 -0
  672. package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -0
  673. package/dist/esm/classic/beta/evaluators/index.js +26 -0
  674. package/dist/esm/classic/beta/evaluators/index.js.map +7 -0
  675. package/dist/esm/classic/beta/index.d.ts +24 -0
  676. package/dist/esm/classic/beta/index.d.ts.map +1 -0
  677. package/dist/esm/classic/beta/index.js +25 -0
  678. package/dist/esm/classic/beta/index.js.map +7 -0
  679. package/dist/esm/classic/beta/insights/index.d.ts +15 -0
  680. package/dist/esm/classic/beta/insights/index.d.ts.map +1 -0
  681. package/dist/esm/classic/beta/insights/index.js +16 -0
  682. package/dist/esm/classic/beta/insights/index.js.map +7 -0
  683. package/dist/esm/classic/beta/memoryStores/index.d.ts +28 -0
  684. package/dist/esm/classic/beta/memoryStores/index.d.ts.map +1 -0
  685. package/dist/esm/classic/beta/memoryStores/index.js +32 -0
  686. package/dist/esm/classic/beta/memoryStores/index.js.map +7 -0
  687. package/dist/esm/classic/beta/redTeams/index.d.ts +15 -0
  688. package/dist/esm/classic/beta/redTeams/index.d.ts.map +1 -0
  689. package/dist/esm/classic/beta/redTeams/index.js +16 -0
  690. package/dist/esm/classic/beta/redTeams/index.js.map +7 -0
  691. package/dist/esm/classic/beta/schedules/index.d.ts +21 -0
  692. package/dist/esm/classic/beta/schedules/index.d.ts.map +1 -0
  693. package/dist/esm/classic/beta/schedules/index.js +26 -0
  694. package/dist/esm/classic/beta/schedules/index.js.map +7 -0
  695. package/dist/esm/classic/connections/index.d.ts +6 -6
  696. package/dist/esm/classic/connections/index.d.ts.map +1 -1
  697. package/dist/esm/classic/connections/index.js +13 -13
  698. package/dist/esm/classic/connections/index.js.map +7 -1
  699. package/dist/esm/classic/datasets/index.d.ts +5 -5
  700. package/dist/esm/classic/datasets/index.d.ts.map +1 -1
  701. package/dist/esm/classic/datasets/index.js +29 -19
  702. package/dist/esm/classic/datasets/index.js.map +7 -1
  703. package/dist/esm/classic/deployments/index.d.ts +4 -4
  704. package/dist/esm/classic/deployments/index.d.ts.map +1 -1
  705. package/dist/esm/classic/deployments/index.js +11 -11
  706. package/dist/esm/classic/deployments/index.js.map +7 -1
  707. package/dist/esm/classic/evaluationRules/index.d.ts +4 -4
  708. package/dist/esm/classic/evaluationRules/index.d.ts.map +1 -1
  709. package/dist/esm/classic/evaluationRules/index.js +13 -13
  710. package/dist/esm/classic/evaluationRules/index.js.map +7 -1
  711. package/dist/esm/classic/index.d.ts +14 -13
  712. package/dist/esm/classic/index.d.ts.map +1 -1
  713. package/dist/esm/classic/index.js +0 -4
  714. package/dist/esm/classic/index.js.map +7 -1
  715. package/dist/esm/classic/indexes/index.d.ts +4 -4
  716. package/dist/esm/classic/indexes/index.d.ts.map +1 -1
  717. package/dist/esm/classic/indexes/index.js +14 -14
  718. package/dist/esm/classic/indexes/index.js.map +7 -1
  719. package/dist/esm/classic/telemetry/index.d.ts +2 -1
  720. package/dist/esm/classic/telemetry/index.d.ts.map +1 -1
  721. package/dist/esm/classic/telemetry/index.js +9 -9
  722. package/dist/esm/classic/telemetry/index.js.map +7 -1
  723. package/dist/esm/constants.d.ts +1 -1
  724. package/dist/esm/constants.d.ts.map +1 -1
  725. package/dist/esm/constants.js +6 -11
  726. package/dist/esm/constants.js.map +7 -1
  727. package/dist/esm/getCustomFetch.js +33 -40
  728. package/dist/esm/getCustomFetch.js.map +7 -1
  729. package/dist/esm/index.d.ts +18 -19
  730. package/dist/esm/index.d.ts.map +1 -1
  731. package/dist/esm/index.js +4 -6
  732. package/dist/esm/index.js.map +7 -1
  733. package/dist/esm/logger.js +4 -4
  734. package/dist/esm/logger.js.map +7 -1
  735. package/dist/esm/models/index.d.ts +1 -1
  736. package/dist/esm/models/index.d.ts.map +1 -1
  737. package/dist/esm/models/index.js +0 -4
  738. package/dist/esm/models/index.js.map +7 -1
  739. package/dist/esm/models/models.d.ts +1304 -2024
  740. package/dist/esm/models/models.d.ts.map +1 -1
  741. package/dist/esm/models/models.js +4160 -4251
  742. package/dist/esm/models/models.js.map +7 -1
  743. package/dist/esm/overwriteOpenAIClient.d.ts +1 -1
  744. package/dist/esm/overwriteOpenAIClient.d.ts.map +1 -1
  745. package/dist/esm/overwriteOpenAIClient.js +13 -13
  746. package/dist/esm/overwriteOpenAIClient.js.map +7 -1
  747. package/dist/esm/static-helpers/pagingHelpers.d.ts +5 -27
  748. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
  749. package/dist/esm/static-helpers/pagingHelpers.js +101 -102
  750. package/dist/esm/static-helpers/pagingHelpers.js.map +7 -1
  751. package/dist/esm/static-helpers/pollingHelpers.d.ts +8 -3
  752. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
  753. package/dist/esm/static-helpers/pollingHelpers.js +71 -73
  754. package/dist/esm/static-helpers/pollingHelpers.js.map +7 -1
  755. package/dist/esm/static-helpers/serialization/serialize-record.js +16 -18
  756. package/dist/esm/static-helpers/serialization/serialize-record.js.map +7 -1
  757. package/dist/esm/static-helpers/urlTemplate.js +142 -169
  758. package/dist/esm/static-helpers/urlTemplate.js.map +7 -1
  759. package/dist/esm/util.d.ts +11 -0
  760. package/dist/esm/util.d.ts.map +1 -0
  761. package/dist/esm/util.js +72 -0
  762. package/dist/esm/util.js.map +7 -0
  763. package/dist/react-native/aiProjectClient.d.ts +36 -36
  764. package/dist/react-native/aiProjectClient.d.ts.map +1 -1
  765. package/dist/react-native/aiProjectClient.js +38 -40
  766. package/dist/react-native/aiProjectClient.js.map +1 -1
  767. package/dist/react-native/api/agents/index.d.ts +2 -2
  768. package/dist/react-native/api/agents/index.d.ts.map +1 -1
  769. package/dist/react-native/api/agents/index.js +1 -1
  770. package/dist/react-native/api/agents/index.js.map +1 -1
  771. package/dist/react-native/api/agents/operations.d.ts +40 -61
  772. package/dist/react-native/api/agents/operations.d.ts.map +1 -1
  773. package/dist/react-native/api/agents/operations.js +121 -188
  774. package/dist/react-native/api/agents/operations.js.map +1 -1
  775. package/dist/react-native/api/agents/options.d.ts +29 -32
  776. package/dist/react-native/api/agents/options.d.ts.map +1 -1
  777. package/dist/react-native/api/agents/options.js.map +1 -1
  778. package/dist/react-native/api/aiProjectContext.d.ts +2 -2
  779. package/dist/react-native/api/aiProjectContext.d.ts.map +1 -1
  780. package/dist/react-native/api/aiProjectContext.js +4 -17
  781. package/dist/react-native/api/aiProjectContext.js.map +1 -1
  782. package/dist/react-native/api/beta/evaluationTaxonomies/index.d.ts +3 -0
  783. package/dist/react-native/api/beta/evaluationTaxonomies/index.d.ts.map +1 -0
  784. package/dist/react-native/api/beta/evaluationTaxonomies/index.js.map +1 -0
  785. package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts +26 -0
  786. package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -0
  787. package/dist/react-native/api/beta/evaluationTaxonomies/operations.js +173 -0
  788. package/dist/react-native/api/beta/evaluationTaxonomies/operations.js.map +1 -0
  789. package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts +27 -0
  790. package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts.map +1 -0
  791. package/dist/react-native/api/beta/evaluationTaxonomies/options.js.map +1 -0
  792. package/dist/react-native/api/beta/evaluators/index.d.ts +3 -0
  793. package/dist/react-native/api/beta/evaluators/index.d.ts.map +1 -0
  794. package/dist/react-native/api/beta/evaluators/index.js.map +1 -0
  795. package/dist/react-native/api/beta/evaluators/operations.d.ts +30 -0
  796. package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -0
  797. package/dist/react-native/api/beta/evaluators/operations.js +203 -0
  798. package/dist/react-native/api/beta/evaluators/operations.js.map +1 -0
  799. package/dist/react-native/api/beta/evaluators/options.d.ts +29 -0
  800. package/dist/react-native/api/beta/evaluators/options.d.ts.map +1 -0
  801. package/dist/react-native/api/beta/evaluators/options.js.map +1 -0
  802. package/dist/react-native/api/beta/insights/index.d.ts +3 -0
  803. package/dist/react-native/api/beta/insights/index.d.ts.map +1 -0
  804. package/dist/react-native/api/beta/insights/index.js.map +1 -0
  805. package/dist/react-native/api/beta/insights/operations.d.ts +18 -0
  806. package/dist/react-native/api/beta/insights/operations.d.ts.map +1 -0
  807. package/dist/react-native/api/beta/insights/operations.js +124 -0
  808. package/dist/react-native/api/beta/insights/operations.js.map +1 -0
  809. package/dist/react-native/api/beta/insights/options.d.ts +32 -0
  810. package/dist/react-native/api/beta/insights/options.d.ts.map +1 -0
  811. package/dist/react-native/api/beta/insights/options.js.map +1 -0
  812. package/dist/react-native/api/beta/memoryStores/index.d.ts +3 -0
  813. package/dist/react-native/api/beta/memoryStores/index.d.ts.map +1 -0
  814. package/dist/react-native/api/beta/memoryStores/index.js +4 -0
  815. package/dist/react-native/api/beta/memoryStores/index.js.map +1 -0
  816. package/dist/react-native/api/beta/memoryStores/operations.d.ts +43 -0
  817. package/dist/react-native/api/beta/memoryStores/operations.d.ts.map +1 -0
  818. package/dist/react-native/api/beta/memoryStores/operations.js +335 -0
  819. package/dist/react-native/api/beta/memoryStores/operations.js.map +1 -0
  820. package/dist/react-native/api/beta/memoryStores/options.d.ts +79 -0
  821. package/dist/react-native/api/beta/memoryStores/options.d.ts.map +1 -0
  822. package/dist/react-native/api/beta/memoryStores/options.js.map +1 -0
  823. package/dist/react-native/api/beta/redTeams/index.d.ts +3 -0
  824. package/dist/react-native/api/beta/redTeams/index.d.ts.map +1 -0
  825. package/dist/react-native/api/beta/redTeams/index.js.map +1 -0
  826. package/dist/react-native/api/beta/redTeams/operations.d.ts +18 -0
  827. package/dist/react-native/api/beta/redTeams/operations.d.ts.map +1 -0
  828. package/dist/react-native/api/beta/redTeams/operations.js +110 -0
  829. package/dist/react-native/api/beta/redTeams/operations.js.map +1 -0
  830. package/dist/react-native/api/beta/redTeams/options.d.ts +15 -0
  831. package/dist/react-native/api/beta/redTeams/options.d.ts.map +1 -0
  832. package/dist/react-native/api/beta/redTeams/options.js.map +1 -0
  833. package/dist/react-native/api/beta/schedules/index.d.ts +3 -0
  834. package/dist/react-native/api/beta/schedules/index.d.ts.map +1 -0
  835. package/dist/react-native/api/beta/schedules/index.js.map +1 -0
  836. package/dist/react-native/api/beta/schedules/operations.d.ts +30 -0
  837. package/dist/react-native/api/beta/schedules/operations.d.ts.map +1 -0
  838. package/dist/react-native/api/beta/schedules/operations.js +217 -0
  839. package/dist/react-native/api/beta/schedules/operations.js.map +1 -0
  840. package/dist/react-native/api/beta/schedules/options.d.ts +39 -0
  841. package/dist/react-native/api/beta/schedules/options.d.ts.map +1 -0
  842. package/dist/react-native/api/beta/schedules/options.js.map +1 -0
  843. package/dist/react-native/api/connections/index.d.ts +1 -1
  844. package/dist/react-native/api/connections/index.d.ts.map +1 -1
  845. package/dist/react-native/api/connections/index.js.map +1 -1
  846. package/dist/react-native/api/connections/operations.d.ts +8 -8
  847. package/dist/react-native/api/connections/operations.d.ts.map +1 -1
  848. package/dist/react-native/api/connections/operations.js +13 -13
  849. package/dist/react-native/api/connections/operations.js.map +1 -1
  850. package/dist/react-native/api/connections/options.d.ts +9 -2
  851. package/dist/react-native/api/connections/options.d.ts.map +1 -1
  852. package/dist/react-native/api/connections/options.js.map +1 -1
  853. package/dist/react-native/api/datasets/index.d.ts +1 -1
  854. package/dist/react-native/api/datasets/index.d.ts.map +1 -1
  855. package/dist/react-native/api/datasets/index.js.map +1 -1
  856. package/dist/react-native/api/datasets/operations.d.ts +5 -5
  857. package/dist/react-native/api/datasets/operations.d.ts.map +1 -1
  858. package/dist/react-native/api/datasets/operations.js +11 -5
  859. package/dist/react-native/api/datasets/operations.js.map +1 -1
  860. package/dist/react-native/api/datasets/options.d.ts +1 -1
  861. package/dist/react-native/api/datasets/options.d.ts.map +1 -1
  862. package/dist/react-native/api/datasets/options.js.map +1 -1
  863. package/dist/react-native/api/deployments/index.d.ts +1 -1
  864. package/dist/react-native/api/deployments/index.d.ts.map +1 -1
  865. package/dist/react-native/api/deployments/index.js.map +1 -1
  866. package/dist/react-native/api/deployments/operations.d.ts +5 -5
  867. package/dist/react-native/api/deployments/operations.d.ts.map +1 -1
  868. package/dist/react-native/api/deployments/operations.js +4 -4
  869. package/dist/react-native/api/deployments/operations.js.map +1 -1
  870. package/dist/react-native/api/deployments/options.d.ts +2 -2
  871. package/dist/react-native/api/deployments/options.d.ts.map +1 -1
  872. package/dist/react-native/api/deployments/options.js.map +1 -1
  873. package/dist/react-native/api/evaluationRules/index.d.ts +1 -1
  874. package/dist/react-native/api/evaluationRules/index.d.ts.map +1 -1
  875. package/dist/react-native/api/evaluationRules/index.js.map +1 -1
  876. package/dist/react-native/api/evaluationRules/operations.d.ts +5 -5
  877. package/dist/react-native/api/evaluationRules/operations.d.ts.map +1 -1
  878. package/dist/react-native/api/evaluationRules/operations.js +27 -13
  879. package/dist/react-native/api/evaluationRules/operations.js.map +1 -1
  880. package/dist/react-native/api/evaluationRules/options.d.ts +10 -8
  881. package/dist/react-native/api/evaluationRules/options.d.ts.map +1 -1
  882. package/dist/react-native/api/evaluationRules/options.js.map +1 -1
  883. package/dist/react-native/api/index.d.ts +6 -5
  884. package/dist/react-native/api/index.d.ts.map +1 -1
  885. package/dist/react-native/api/index.js.map +1 -1
  886. package/dist/react-native/api/indexes/index.d.ts +1 -1
  887. package/dist/react-native/api/indexes/index.d.ts.map +1 -1
  888. package/dist/react-native/api/indexes/index.js.map +1 -1
  889. package/dist/react-native/api/indexes/operations.d.ts +6 -6
  890. package/dist/react-native/api/indexes/operations.d.ts.map +1 -1
  891. package/dist/react-native/api/indexes/operations.js +5 -5
  892. package/dist/react-native/api/indexes/operations.js.map +1 -1
  893. package/dist/react-native/api/indexes/options.d.ts +1 -1
  894. package/dist/react-native/api/indexes/options.d.ts.map +1 -1
  895. package/dist/react-native/api/indexes/options.js.map +1 -1
  896. package/dist/react-native/api/telemetry/index.d.ts +1 -1
  897. package/dist/react-native/api/telemetry/index.d.ts.map +1 -1
  898. package/dist/react-native/api/telemetry/index.js.map +1 -1
  899. package/dist/react-native/api/telemetry/operations.d.ts +2 -1
  900. package/dist/react-native/api/telemetry/operations.d.ts.map +1 -1
  901. package/dist/react-native/api/telemetry/operations.js +3 -3
  902. package/dist/react-native/api/telemetry/operations.js.map +1 -1
  903. package/dist/react-native/classic/agents/index.d.ts +20 -39
  904. package/dist/react-native/classic/agents/index.d.ts.map +1 -1
  905. package/dist/react-native/classic/agents/index.js +10 -12
  906. package/dist/react-native/classic/agents/index.js.map +1 -1
  907. package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts +19 -0
  908. package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -0
  909. package/dist/react-native/classic/beta/evaluationTaxonomies/index.js +18 -0
  910. package/dist/react-native/classic/beta/evaluationTaxonomies/index.js.map +1 -0
  911. package/dist/react-native/classic/beta/evaluators/index.d.ts +21 -0
  912. package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -0
  913. package/dist/react-native/classic/beta/evaluators/index.js +19 -0
  914. package/dist/react-native/classic/beta/evaluators/index.js.map +1 -0
  915. package/dist/react-native/classic/beta/index.d.ts +24 -0
  916. package/dist/react-native/classic/beta/index.d.ts.map +1 -0
  917. package/dist/react-native/classic/beta/index.js +25 -0
  918. package/dist/react-native/classic/beta/index.js.map +1 -0
  919. package/dist/react-native/classic/beta/insights/index.d.ts +15 -0
  920. package/dist/react-native/classic/beta/insights/index.d.ts.map +1 -0
  921. package/dist/react-native/classic/beta/insights/index.js +16 -0
  922. package/dist/react-native/classic/beta/insights/index.js.map +1 -0
  923. package/dist/react-native/classic/beta/memoryStores/index.d.ts +28 -0
  924. package/dist/react-native/classic/beta/memoryStores/index.d.ts.map +1 -0
  925. package/dist/react-native/classic/beta/memoryStores/index.js +22 -0
  926. package/dist/react-native/classic/beta/memoryStores/index.js.map +1 -0
  927. package/dist/react-native/classic/beta/redTeams/index.d.ts +15 -0
  928. package/dist/react-native/classic/beta/redTeams/index.d.ts.map +1 -0
  929. package/dist/react-native/classic/beta/redTeams/index.js +16 -0
  930. package/dist/react-native/classic/beta/redTeams/index.js.map +1 -0
  931. package/dist/react-native/classic/beta/schedules/index.d.ts +21 -0
  932. package/dist/react-native/classic/beta/schedules/index.d.ts.map +1 -0
  933. package/dist/react-native/classic/beta/schedules/index.js +19 -0
  934. package/dist/react-native/classic/beta/schedules/index.js.map +1 -0
  935. package/dist/react-native/classic/connections/index.d.ts +6 -6
  936. package/dist/react-native/classic/connections/index.d.ts.map +1 -1
  937. package/dist/react-native/classic/connections/index.js +2 -2
  938. package/dist/react-native/classic/connections/index.js.map +1 -1
  939. package/dist/react-native/classic/datasets/index.d.ts +5 -5
  940. package/dist/react-native/classic/datasets/index.d.ts.map +1 -1
  941. package/dist/react-native/classic/datasets/index.js.map +1 -1
  942. package/dist/react-native/classic/deployments/index.d.ts +4 -4
  943. package/dist/react-native/classic/deployments/index.d.ts.map +1 -1
  944. package/dist/react-native/classic/deployments/index.js.map +1 -1
  945. package/dist/react-native/classic/evaluationRules/index.d.ts +4 -4
  946. package/dist/react-native/classic/evaluationRules/index.d.ts.map +1 -1
  947. package/dist/react-native/classic/evaluationRules/index.js.map +1 -1
  948. package/dist/react-native/classic/index.d.ts +14 -13
  949. package/dist/react-native/classic/index.d.ts.map +1 -1
  950. package/dist/react-native/classic/index.js.map +1 -1
  951. package/dist/react-native/classic/indexes/index.d.ts +4 -4
  952. package/dist/react-native/classic/indexes/index.d.ts.map +1 -1
  953. package/dist/react-native/classic/indexes/index.js +1 -1
  954. package/dist/react-native/classic/indexes/index.js.map +1 -1
  955. package/dist/react-native/classic/telemetry/index.d.ts +2 -1
  956. package/dist/react-native/classic/telemetry/index.d.ts.map +1 -1
  957. package/dist/react-native/classic/telemetry/index.js +1 -3
  958. package/dist/react-native/classic/telemetry/index.js.map +1 -1
  959. package/dist/react-native/constants.d.ts +1 -1
  960. package/dist/react-native/constants.d.ts.map +1 -1
  961. package/dist/react-native/constants.js +1 -1
  962. package/dist/react-native/constants.js.map +1 -1
  963. package/dist/react-native/index.d.ts +18 -19
  964. package/dist/react-native/index.d.ts.map +1 -1
  965. package/dist/react-native/index.js +0 -2
  966. package/dist/react-native/index.js.map +1 -1
  967. package/dist/react-native/models/index.d.ts +1 -1
  968. package/dist/react-native/models/index.d.ts.map +1 -1
  969. package/dist/react-native/models/index.js +1 -1
  970. package/dist/react-native/models/index.js.map +1 -1
  971. package/dist/react-native/models/models.d.ts +1304 -2024
  972. package/dist/react-native/models/models.d.ts.map +1 -1
  973. package/dist/react-native/models/models.js +1258 -1800
  974. package/dist/react-native/models/models.js.map +1 -1
  975. package/dist/react-native/overwriteOpenAIClient.d.ts +1 -1
  976. package/dist/react-native/overwriteOpenAIClient.d.ts.map +1 -1
  977. package/dist/react-native/overwriteOpenAIClient.js +1 -1
  978. package/dist/react-native/overwriteOpenAIClient.js.map +1 -1
  979. package/dist/react-native/static-helpers/pagingHelpers.d.ts +5 -27
  980. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
  981. package/dist/react-native/static-helpers/pagingHelpers.js +28 -5
  982. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  983. package/dist/react-native/static-helpers/pollingHelpers.d.ts +8 -3
  984. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
  985. package/dist/react-native/static-helpers/pollingHelpers.js +19 -3
  986. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
  987. package/dist/react-native/util.d.ts +11 -0
  988. package/dist/react-native/util.d.ts.map +1 -0
  989. package/dist/react-native/util.js +93 -0
  990. package/dist/react-native/util.js.map +1 -0
  991. package/package.json +5 -22
  992. package/dist/browser/api/evaluationTaxonomies/index.d.ts +0 -3
  993. package/dist/browser/api/evaluationTaxonomies/index.d.ts.map +0 -1
  994. package/dist/browser/api/evaluationTaxonomies/index.js.map +0 -1
  995. package/dist/browser/api/evaluationTaxonomies/operations.d.ts +0 -26
  996. package/dist/browser/api/evaluationTaxonomies/operations.d.ts.map +0 -1
  997. package/dist/browser/api/evaluationTaxonomies/operations.js +0 -154
  998. package/dist/browser/api/evaluationTaxonomies/operations.js.map +0 -1
  999. package/dist/browser/api/evaluationTaxonomies/options.d.ts +0 -27
  1000. package/dist/browser/api/evaluationTaxonomies/options.d.ts.map +0 -1
  1001. package/dist/browser/api/evaluationTaxonomies/options.js.map +0 -1
  1002. package/dist/browser/api/evaluators/index.d.ts +0 -3
  1003. package/dist/browser/api/evaluators/index.d.ts.map +0 -1
  1004. package/dist/browser/api/evaluators/index.js.map +0 -1
  1005. package/dist/browser/api/evaluators/operations.d.ts +0 -30
  1006. package/dist/browser/api/evaluators/operations.d.ts.map +0 -1
  1007. package/dist/browser/api/evaluators/operations.js +0 -171
  1008. package/dist/browser/api/evaluators/operations.js.map +0 -1
  1009. package/dist/browser/api/evaluators/options.d.ts +0 -29
  1010. package/dist/browser/api/evaluators/options.d.ts.map +0 -1
  1011. package/dist/browser/api/evaluators/options.js.map +0 -1
  1012. package/dist/browser/api/insights/index.d.ts +0 -3
  1013. package/dist/browser/api/insights/index.d.ts.map +0 -1
  1014. package/dist/browser/api/insights/index.js.map +0 -1
  1015. package/dist/browser/api/insights/operations.d.ts +0 -18
  1016. package/dist/browser/api/insights/operations.d.ts.map +0 -1
  1017. package/dist/browser/api/insights/operations.js +0 -109
  1018. package/dist/browser/api/insights/operations.js.map +0 -1
  1019. package/dist/browser/api/insights/options.d.ts +0 -32
  1020. package/dist/browser/api/insights/options.d.ts.map +0 -1
  1021. package/dist/browser/api/insights/options.js.map +0 -1
  1022. package/dist/browser/api/memoryStores/index.d.ts +0 -4
  1023. package/dist/browser/api/memoryStores/index.d.ts.map +0 -1
  1024. package/dist/browser/api/memoryStores/index.js +0 -4
  1025. package/dist/browser/api/memoryStores/index.js.map +0 -1
  1026. package/dist/browser/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts +0 -43
  1027. package/dist/browser/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts.map +0 -1
  1028. package/dist/browser/api/memoryStores/memoryStoreUpdateMemoriesPoller.js +0 -160
  1029. package/dist/browser/api/memoryStores/memoryStoreUpdateMemoriesPoller.js.map +0 -1
  1030. package/dist/browser/api/memoryStores/operations.d.ts +0 -43
  1031. package/dist/browser/api/memoryStores/operations.d.ts.map +0 -1
  1032. package/dist/browser/api/memoryStores/operations.js +0 -304
  1033. package/dist/browser/api/memoryStores/operations.js.map +0 -1
  1034. package/dist/browser/api/memoryStores/options.d.ts +0 -79
  1035. package/dist/browser/api/memoryStores/options.d.ts.map +0 -1
  1036. package/dist/browser/api/memoryStores/options.js.map +0 -1
  1037. package/dist/browser/api/redTeams/index.d.ts +0 -3
  1038. package/dist/browser/api/redTeams/index.d.ts.map +0 -1
  1039. package/dist/browser/api/redTeams/index.js.map +0 -1
  1040. package/dist/browser/api/redTeams/operations.d.ts +0 -18
  1041. package/dist/browser/api/redTeams/operations.d.ts.map +0 -1
  1042. package/dist/browser/api/redTeams/operations.js +0 -93
  1043. package/dist/browser/api/redTeams/operations.js.map +0 -1
  1044. package/dist/browser/api/redTeams/options.d.ts +0 -15
  1045. package/dist/browser/api/redTeams/options.d.ts.map +0 -1
  1046. package/dist/browser/api/redTeams/options.js.map +0 -1
  1047. package/dist/browser/api/schedules/index.d.ts +0 -3
  1048. package/dist/browser/api/schedules/index.d.ts.map +0 -1
  1049. package/dist/browser/api/schedules/index.js.map +0 -1
  1050. package/dist/browser/api/schedules/operations.d.ts +0 -30
  1051. package/dist/browser/api/schedules/operations.d.ts.map +0 -1
  1052. package/dist/browser/api/schedules/operations.js +0 -180
  1053. package/dist/browser/api/schedules/operations.js.map +0 -1
  1054. package/dist/browser/api/schedules/options.d.ts +0 -28
  1055. package/dist/browser/api/schedules/options.d.ts.map +0 -1
  1056. package/dist/browser/api/schedules/options.js.map +0 -1
  1057. package/dist/browser/classic/evaluationTaxonomies/index.d.ts +0 -19
  1058. package/dist/browser/classic/evaluationTaxonomies/index.d.ts.map +0 -1
  1059. package/dist/browser/classic/evaluationTaxonomies/index.js +0 -18
  1060. package/dist/browser/classic/evaluationTaxonomies/index.js.map +0 -1
  1061. package/dist/browser/classic/evaluators/index.d.ts +0 -21
  1062. package/dist/browser/classic/evaluators/index.d.ts.map +0 -1
  1063. package/dist/browser/classic/evaluators/index.js +0 -25
  1064. package/dist/browser/classic/evaluators/index.js.map +0 -1
  1065. package/dist/browser/classic/insights/index.d.ts +0 -15
  1066. package/dist/browser/classic/insights/index.d.ts.map +0 -1
  1067. package/dist/browser/classic/insights/index.js +0 -16
  1068. package/dist/browser/classic/insights/index.js.map +0 -1
  1069. package/dist/browser/classic/memoryStores/index.d.ts +0 -28
  1070. package/dist/browser/classic/memoryStores/index.d.ts.map +0 -1
  1071. package/dist/browser/classic/memoryStores/index.js +0 -22
  1072. package/dist/browser/classic/memoryStores/index.js.map +0 -1
  1073. package/dist/browser/classic/redTeams/index.d.ts +0 -15
  1074. package/dist/browser/classic/redTeams/index.d.ts.map +0 -1
  1075. package/dist/browser/classic/redTeams/index.js +0 -16
  1076. package/dist/browser/classic/redTeams/index.js.map +0 -1
  1077. package/dist/browser/classic/schedules/index.d.ts +0 -21
  1078. package/dist/browser/classic/schedules/index.d.ts.map +0 -1
  1079. package/dist/browser/classic/schedules/index.js +0 -19
  1080. package/dist/browser/classic/schedules/index.js.map +0 -1
  1081. package/dist/browser/getCustomFetch-browser.d.mts.map +0 -1
  1082. package/dist/browser/getCustomFetch-browser.mjs.map +0 -1
  1083. package/dist/browser/restorePollerHelpers.d.ts +0 -24
  1084. package/dist/browser/restorePollerHelpers.d.ts.map +0 -1
  1085. package/dist/browser/restorePollerHelpers.js +0 -99
  1086. package/dist/browser/restorePollerHelpers.js.map +0 -1
  1087. package/dist/commonjs/api/evaluationTaxonomies/index.d.ts +0 -3
  1088. package/dist/commonjs/api/evaluationTaxonomies/index.d.ts.map +0 -1
  1089. package/dist/commonjs/api/evaluationTaxonomies/index.js +0 -12
  1090. package/dist/commonjs/api/evaluationTaxonomies/index.js.map +0 -1
  1091. package/dist/commonjs/api/evaluationTaxonomies/operations.d.ts +0 -26
  1092. package/dist/commonjs/api/evaluationTaxonomies/operations.d.ts.map +0 -1
  1093. package/dist/commonjs/api/evaluationTaxonomies/operations.js +0 -171
  1094. package/dist/commonjs/api/evaluationTaxonomies/operations.js.map +0 -1
  1095. package/dist/commonjs/api/evaluationTaxonomies/options.d.ts +0 -27
  1096. package/dist/commonjs/api/evaluationTaxonomies/options.d.ts.map +0 -1
  1097. package/dist/commonjs/api/evaluationTaxonomies/options.js +0 -5
  1098. package/dist/commonjs/api/evaluationTaxonomies/options.js.map +0 -1
  1099. package/dist/commonjs/api/evaluators/index.d.ts +0 -3
  1100. package/dist/commonjs/api/evaluators/index.d.ts.map +0 -1
  1101. package/dist/commonjs/api/evaluators/index.js +0 -13
  1102. package/dist/commonjs/api/evaluators/index.js.map +0 -1
  1103. package/dist/commonjs/api/evaluators/operations.d.ts +0 -30
  1104. package/dist/commonjs/api/evaluators/operations.d.ts.map +0 -1
  1105. package/dist/commonjs/api/evaluators/operations.js +0 -191
  1106. package/dist/commonjs/api/evaluators/operations.js.map +0 -1
  1107. package/dist/commonjs/api/evaluators/options.d.ts +0 -29
  1108. package/dist/commonjs/api/evaluators/options.d.ts.map +0 -1
  1109. package/dist/commonjs/api/evaluators/options.js +0 -5
  1110. package/dist/commonjs/api/evaluators/options.js.map +0 -1
  1111. package/dist/commonjs/api/insights/index.d.ts +0 -3
  1112. package/dist/commonjs/api/insights/index.d.ts.map +0 -1
  1113. package/dist/commonjs/api/insights/index.js +0 -10
  1114. package/dist/commonjs/api/insights/index.js.map +0 -1
  1115. package/dist/commonjs/api/insights/operations.d.ts +0 -18
  1116. package/dist/commonjs/api/insights/operations.d.ts.map +0 -1
  1117. package/dist/commonjs/api/insights/operations.js +0 -120
  1118. package/dist/commonjs/api/insights/operations.js.map +0 -1
  1119. package/dist/commonjs/api/insights/options.d.ts +0 -32
  1120. package/dist/commonjs/api/insights/options.d.ts.map +0 -1
  1121. package/dist/commonjs/api/insights/options.js +0 -5
  1122. package/dist/commonjs/api/insights/options.js.map +0 -1
  1123. package/dist/commonjs/api/memoryStores/index.d.ts +0 -4
  1124. package/dist/commonjs/api/memoryStores/index.d.ts.map +0 -1
  1125. package/dist/commonjs/api/memoryStores/index.js +0 -16
  1126. package/dist/commonjs/api/memoryStores/index.js.map +0 -1
  1127. package/dist/commonjs/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts +0 -43
  1128. package/dist/commonjs/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts.map +0 -1
  1129. package/dist/commonjs/api/memoryStores/memoryStoreUpdateMemoriesPoller.js +0 -163
  1130. package/dist/commonjs/api/memoryStores/memoryStoreUpdateMemoriesPoller.js.map +0 -1
  1131. package/dist/commonjs/api/memoryStores/operations.d.ts +0 -43
  1132. package/dist/commonjs/api/memoryStores/operations.d.ts.map +0 -1
  1133. package/dist/commonjs/api/memoryStores/operations.js +0 -333
  1134. package/dist/commonjs/api/memoryStores/operations.js.map +0 -1
  1135. package/dist/commonjs/api/memoryStores/options.d.ts +0 -79
  1136. package/dist/commonjs/api/memoryStores/options.d.ts.map +0 -1
  1137. package/dist/commonjs/api/memoryStores/options.js +0 -5
  1138. package/dist/commonjs/api/memoryStores/options.js.map +0 -1
  1139. package/dist/commonjs/api/redTeams/index.d.ts +0 -3
  1140. package/dist/commonjs/api/redTeams/index.d.ts.map +0 -1
  1141. package/dist/commonjs/api/redTeams/index.js +0 -10
  1142. package/dist/commonjs/api/redTeams/index.js.map +0 -1
  1143. package/dist/commonjs/api/redTeams/operations.d.ts +0 -18
  1144. package/dist/commonjs/api/redTeams/operations.d.ts.map +0 -1
  1145. package/dist/commonjs/api/redTeams/operations.js +0 -104
  1146. package/dist/commonjs/api/redTeams/operations.js.map +0 -1
  1147. package/dist/commonjs/api/redTeams/options.d.ts +0 -15
  1148. package/dist/commonjs/api/redTeams/options.d.ts.map +0 -1
  1149. package/dist/commonjs/api/redTeams/options.js +0 -5
  1150. package/dist/commonjs/api/redTeams/options.js.map +0 -1
  1151. package/dist/commonjs/api/schedules/index.d.ts +0 -3
  1152. package/dist/commonjs/api/schedules/index.d.ts.map +0 -1
  1153. package/dist/commonjs/api/schedules/index.js +0 -13
  1154. package/dist/commonjs/api/schedules/index.js.map +0 -1
  1155. package/dist/commonjs/api/schedules/operations.d.ts +0 -30
  1156. package/dist/commonjs/api/schedules/operations.d.ts.map +0 -1
  1157. package/dist/commonjs/api/schedules/operations.js +0 -200
  1158. package/dist/commonjs/api/schedules/operations.js.map +0 -1
  1159. package/dist/commonjs/api/schedules/options.d.ts +0 -28
  1160. package/dist/commonjs/api/schedules/options.d.ts.map +0 -1
  1161. package/dist/commonjs/api/schedules/options.js +0 -5
  1162. package/dist/commonjs/api/schedules/options.js.map +0 -1
  1163. package/dist/commonjs/classic/evaluationTaxonomies/index.d.ts +0 -19
  1164. package/dist/commonjs/classic/evaluationTaxonomies/index.d.ts.map +0 -1
  1165. package/dist/commonjs/classic/evaluationTaxonomies/index.js +0 -21
  1166. package/dist/commonjs/classic/evaluationTaxonomies/index.js.map +0 -1
  1167. package/dist/commonjs/classic/evaluators/index.d.ts +0 -21
  1168. package/dist/commonjs/classic/evaluators/index.d.ts.map +0 -1
  1169. package/dist/commonjs/classic/evaluators/index.js +0 -28
  1170. package/dist/commonjs/classic/evaluators/index.js.map +0 -1
  1171. package/dist/commonjs/classic/insights/index.d.ts +0 -15
  1172. package/dist/commonjs/classic/insights/index.d.ts.map +0 -1
  1173. package/dist/commonjs/classic/insights/index.js +0 -19
  1174. package/dist/commonjs/classic/insights/index.js.map +0 -1
  1175. package/dist/commonjs/classic/memoryStores/index.d.ts +0 -28
  1176. package/dist/commonjs/classic/memoryStores/index.d.ts.map +0 -1
  1177. package/dist/commonjs/classic/memoryStores/index.js +0 -25
  1178. package/dist/commonjs/classic/memoryStores/index.js.map +0 -1
  1179. package/dist/commonjs/classic/redTeams/index.d.ts +0 -15
  1180. package/dist/commonjs/classic/redTeams/index.d.ts.map +0 -1
  1181. package/dist/commonjs/classic/redTeams/index.js +0 -19
  1182. package/dist/commonjs/classic/redTeams/index.js.map +0 -1
  1183. package/dist/commonjs/classic/schedules/index.d.ts +0 -21
  1184. package/dist/commonjs/classic/schedules/index.d.ts.map +0 -1
  1185. package/dist/commonjs/classic/schedules/index.js +0 -22
  1186. package/dist/commonjs/classic/schedules/index.js.map +0 -1
  1187. package/dist/commonjs/restorePollerHelpers.d.ts +0 -24
  1188. package/dist/commonjs/restorePollerHelpers.d.ts.map +0 -1
  1189. package/dist/commonjs/restorePollerHelpers.js +0 -102
  1190. package/dist/commonjs/restorePollerHelpers.js.map +0 -1
  1191. package/dist/esm/api/evaluationTaxonomies/index.d.ts +0 -3
  1192. package/dist/esm/api/evaluationTaxonomies/index.d.ts.map +0 -1
  1193. package/dist/esm/api/evaluationTaxonomies/index.js.map +0 -1
  1194. package/dist/esm/api/evaluationTaxonomies/operations.d.ts +0 -26
  1195. package/dist/esm/api/evaluationTaxonomies/operations.d.ts.map +0 -1
  1196. package/dist/esm/api/evaluationTaxonomies/operations.js +0 -154
  1197. package/dist/esm/api/evaluationTaxonomies/operations.js.map +0 -1
  1198. package/dist/esm/api/evaluationTaxonomies/options.d.ts +0 -27
  1199. package/dist/esm/api/evaluationTaxonomies/options.d.ts.map +0 -1
  1200. package/dist/esm/api/evaluationTaxonomies/options.js.map +0 -1
  1201. package/dist/esm/api/evaluators/index.d.ts +0 -3
  1202. package/dist/esm/api/evaluators/index.d.ts.map +0 -1
  1203. package/dist/esm/api/evaluators/index.js.map +0 -1
  1204. package/dist/esm/api/evaluators/operations.d.ts +0 -30
  1205. package/dist/esm/api/evaluators/operations.d.ts.map +0 -1
  1206. package/dist/esm/api/evaluators/operations.js +0 -171
  1207. package/dist/esm/api/evaluators/operations.js.map +0 -1
  1208. package/dist/esm/api/evaluators/options.d.ts +0 -29
  1209. package/dist/esm/api/evaluators/options.d.ts.map +0 -1
  1210. package/dist/esm/api/evaluators/options.js.map +0 -1
  1211. package/dist/esm/api/insights/index.d.ts +0 -3
  1212. package/dist/esm/api/insights/index.d.ts.map +0 -1
  1213. package/dist/esm/api/insights/index.js.map +0 -1
  1214. package/dist/esm/api/insights/operations.d.ts +0 -18
  1215. package/dist/esm/api/insights/operations.d.ts.map +0 -1
  1216. package/dist/esm/api/insights/operations.js +0 -109
  1217. package/dist/esm/api/insights/operations.js.map +0 -1
  1218. package/dist/esm/api/insights/options.d.ts +0 -32
  1219. package/dist/esm/api/insights/options.d.ts.map +0 -1
  1220. package/dist/esm/api/insights/options.js.map +0 -1
  1221. package/dist/esm/api/memoryStores/index.d.ts +0 -4
  1222. package/dist/esm/api/memoryStores/index.d.ts.map +0 -1
  1223. package/dist/esm/api/memoryStores/index.js +0 -4
  1224. package/dist/esm/api/memoryStores/index.js.map +0 -1
  1225. package/dist/esm/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts +0 -43
  1226. package/dist/esm/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts.map +0 -1
  1227. package/dist/esm/api/memoryStores/memoryStoreUpdateMemoriesPoller.js +0 -160
  1228. package/dist/esm/api/memoryStores/memoryStoreUpdateMemoriesPoller.js.map +0 -1
  1229. package/dist/esm/api/memoryStores/operations.d.ts +0 -43
  1230. package/dist/esm/api/memoryStores/operations.d.ts.map +0 -1
  1231. package/dist/esm/api/memoryStores/operations.js +0 -304
  1232. package/dist/esm/api/memoryStores/operations.js.map +0 -1
  1233. package/dist/esm/api/memoryStores/options.d.ts +0 -79
  1234. package/dist/esm/api/memoryStores/options.d.ts.map +0 -1
  1235. package/dist/esm/api/memoryStores/options.js.map +0 -1
  1236. package/dist/esm/api/redTeams/index.d.ts +0 -3
  1237. package/dist/esm/api/redTeams/index.d.ts.map +0 -1
  1238. package/dist/esm/api/redTeams/index.js.map +0 -1
  1239. package/dist/esm/api/redTeams/operations.d.ts +0 -18
  1240. package/dist/esm/api/redTeams/operations.d.ts.map +0 -1
  1241. package/dist/esm/api/redTeams/operations.js +0 -93
  1242. package/dist/esm/api/redTeams/operations.js.map +0 -1
  1243. package/dist/esm/api/redTeams/options.d.ts +0 -15
  1244. package/dist/esm/api/redTeams/options.d.ts.map +0 -1
  1245. package/dist/esm/api/redTeams/options.js.map +0 -1
  1246. package/dist/esm/api/schedules/index.d.ts +0 -3
  1247. package/dist/esm/api/schedules/index.d.ts.map +0 -1
  1248. package/dist/esm/api/schedules/index.js.map +0 -1
  1249. package/dist/esm/api/schedules/operations.d.ts +0 -30
  1250. package/dist/esm/api/schedules/operations.d.ts.map +0 -1
  1251. package/dist/esm/api/schedules/operations.js +0 -180
  1252. package/dist/esm/api/schedules/operations.js.map +0 -1
  1253. package/dist/esm/api/schedules/options.d.ts +0 -28
  1254. package/dist/esm/api/schedules/options.d.ts.map +0 -1
  1255. package/dist/esm/api/schedules/options.js.map +0 -1
  1256. package/dist/esm/classic/evaluationTaxonomies/index.d.ts +0 -19
  1257. package/dist/esm/classic/evaluationTaxonomies/index.d.ts.map +0 -1
  1258. package/dist/esm/classic/evaluationTaxonomies/index.js +0 -18
  1259. package/dist/esm/classic/evaluationTaxonomies/index.js.map +0 -1
  1260. package/dist/esm/classic/evaluators/index.d.ts +0 -21
  1261. package/dist/esm/classic/evaluators/index.d.ts.map +0 -1
  1262. package/dist/esm/classic/evaluators/index.js +0 -25
  1263. package/dist/esm/classic/evaluators/index.js.map +0 -1
  1264. package/dist/esm/classic/insights/index.d.ts +0 -15
  1265. package/dist/esm/classic/insights/index.d.ts.map +0 -1
  1266. package/dist/esm/classic/insights/index.js +0 -16
  1267. package/dist/esm/classic/insights/index.js.map +0 -1
  1268. package/dist/esm/classic/memoryStores/index.d.ts +0 -28
  1269. package/dist/esm/classic/memoryStores/index.d.ts.map +0 -1
  1270. package/dist/esm/classic/memoryStores/index.js +0 -22
  1271. package/dist/esm/classic/memoryStores/index.js.map +0 -1
  1272. package/dist/esm/classic/redTeams/index.d.ts +0 -15
  1273. package/dist/esm/classic/redTeams/index.d.ts.map +0 -1
  1274. package/dist/esm/classic/redTeams/index.js +0 -16
  1275. package/dist/esm/classic/redTeams/index.js.map +0 -1
  1276. package/dist/esm/classic/schedules/index.d.ts +0 -21
  1277. package/dist/esm/classic/schedules/index.d.ts.map +0 -1
  1278. package/dist/esm/classic/schedules/index.js +0 -19
  1279. package/dist/esm/classic/schedules/index.js.map +0 -1
  1280. package/dist/esm/restorePollerHelpers.d.ts +0 -24
  1281. package/dist/esm/restorePollerHelpers.d.ts.map +0 -1
  1282. package/dist/esm/restorePollerHelpers.js +0 -99
  1283. package/dist/esm/restorePollerHelpers.js.map +0 -1
  1284. package/dist/react-native/api/evaluationTaxonomies/index.d.ts +0 -3
  1285. package/dist/react-native/api/evaluationTaxonomies/index.d.ts.map +0 -1
  1286. package/dist/react-native/api/evaluationTaxonomies/index.js +0 -4
  1287. package/dist/react-native/api/evaluationTaxonomies/index.js.map +0 -1
  1288. package/dist/react-native/api/evaluationTaxonomies/operations.d.ts +0 -26
  1289. package/dist/react-native/api/evaluationTaxonomies/operations.d.ts.map +0 -1
  1290. package/dist/react-native/api/evaluationTaxonomies/operations.js +0 -154
  1291. package/dist/react-native/api/evaluationTaxonomies/operations.js.map +0 -1
  1292. package/dist/react-native/api/evaluationTaxonomies/options.d.ts +0 -27
  1293. package/dist/react-native/api/evaluationTaxonomies/options.d.ts.map +0 -1
  1294. package/dist/react-native/api/evaluationTaxonomies/options.js +0 -4
  1295. package/dist/react-native/api/evaluationTaxonomies/options.js.map +0 -1
  1296. package/dist/react-native/api/evaluators/index.d.ts +0 -3
  1297. package/dist/react-native/api/evaluators/index.d.ts.map +0 -1
  1298. package/dist/react-native/api/evaluators/index.js +0 -4
  1299. package/dist/react-native/api/evaluators/index.js.map +0 -1
  1300. package/dist/react-native/api/evaluators/operations.d.ts +0 -30
  1301. package/dist/react-native/api/evaluators/operations.d.ts.map +0 -1
  1302. package/dist/react-native/api/evaluators/operations.js +0 -171
  1303. package/dist/react-native/api/evaluators/operations.js.map +0 -1
  1304. package/dist/react-native/api/evaluators/options.d.ts +0 -29
  1305. package/dist/react-native/api/evaluators/options.d.ts.map +0 -1
  1306. package/dist/react-native/api/evaluators/options.js +0 -4
  1307. package/dist/react-native/api/evaluators/options.js.map +0 -1
  1308. package/dist/react-native/api/insights/index.d.ts +0 -3
  1309. package/dist/react-native/api/insights/index.d.ts.map +0 -1
  1310. package/dist/react-native/api/insights/index.js +0 -4
  1311. package/dist/react-native/api/insights/index.js.map +0 -1
  1312. package/dist/react-native/api/insights/operations.d.ts +0 -18
  1313. package/dist/react-native/api/insights/operations.d.ts.map +0 -1
  1314. package/dist/react-native/api/insights/operations.js +0 -109
  1315. package/dist/react-native/api/insights/operations.js.map +0 -1
  1316. package/dist/react-native/api/insights/options.d.ts +0 -32
  1317. package/dist/react-native/api/insights/options.d.ts.map +0 -1
  1318. package/dist/react-native/api/insights/options.js +0 -4
  1319. package/dist/react-native/api/insights/options.js.map +0 -1
  1320. package/dist/react-native/api/memoryStores/index.d.ts +0 -4
  1321. package/dist/react-native/api/memoryStores/index.d.ts.map +0 -1
  1322. package/dist/react-native/api/memoryStores/index.js +0 -4
  1323. package/dist/react-native/api/memoryStores/index.js.map +0 -1
  1324. package/dist/react-native/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts +0 -43
  1325. package/dist/react-native/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts.map +0 -1
  1326. package/dist/react-native/api/memoryStores/memoryStoreUpdateMemoriesPoller.js +0 -160
  1327. package/dist/react-native/api/memoryStores/memoryStoreUpdateMemoriesPoller.js.map +0 -1
  1328. package/dist/react-native/api/memoryStores/operations.d.ts +0 -43
  1329. package/dist/react-native/api/memoryStores/operations.d.ts.map +0 -1
  1330. package/dist/react-native/api/memoryStores/operations.js +0 -304
  1331. package/dist/react-native/api/memoryStores/operations.js.map +0 -1
  1332. package/dist/react-native/api/memoryStores/options.d.ts +0 -79
  1333. package/dist/react-native/api/memoryStores/options.d.ts.map +0 -1
  1334. package/dist/react-native/api/memoryStores/options.js +0 -4
  1335. package/dist/react-native/api/memoryStores/options.js.map +0 -1
  1336. package/dist/react-native/api/redTeams/index.d.ts +0 -3
  1337. package/dist/react-native/api/redTeams/index.d.ts.map +0 -1
  1338. package/dist/react-native/api/redTeams/index.js +0 -4
  1339. package/dist/react-native/api/redTeams/index.js.map +0 -1
  1340. package/dist/react-native/api/redTeams/operations.d.ts +0 -18
  1341. package/dist/react-native/api/redTeams/operations.d.ts.map +0 -1
  1342. package/dist/react-native/api/redTeams/operations.js +0 -93
  1343. package/dist/react-native/api/redTeams/operations.js.map +0 -1
  1344. package/dist/react-native/api/redTeams/options.d.ts +0 -15
  1345. package/dist/react-native/api/redTeams/options.d.ts.map +0 -1
  1346. package/dist/react-native/api/redTeams/options.js +0 -4
  1347. package/dist/react-native/api/redTeams/options.js.map +0 -1
  1348. package/dist/react-native/api/schedules/index.d.ts +0 -3
  1349. package/dist/react-native/api/schedules/index.d.ts.map +0 -1
  1350. package/dist/react-native/api/schedules/index.js +0 -4
  1351. package/dist/react-native/api/schedules/index.js.map +0 -1
  1352. package/dist/react-native/api/schedules/operations.d.ts +0 -30
  1353. package/dist/react-native/api/schedules/operations.d.ts.map +0 -1
  1354. package/dist/react-native/api/schedules/operations.js +0 -180
  1355. package/dist/react-native/api/schedules/operations.js.map +0 -1
  1356. package/dist/react-native/api/schedules/options.d.ts +0 -28
  1357. package/dist/react-native/api/schedules/options.d.ts.map +0 -1
  1358. package/dist/react-native/api/schedules/options.js +0 -4
  1359. package/dist/react-native/api/schedules/options.js.map +0 -1
  1360. package/dist/react-native/classic/evaluationTaxonomies/index.d.ts +0 -19
  1361. package/dist/react-native/classic/evaluationTaxonomies/index.d.ts.map +0 -1
  1362. package/dist/react-native/classic/evaluationTaxonomies/index.js +0 -18
  1363. package/dist/react-native/classic/evaluationTaxonomies/index.js.map +0 -1
  1364. package/dist/react-native/classic/evaluators/index.d.ts +0 -21
  1365. package/dist/react-native/classic/evaluators/index.d.ts.map +0 -1
  1366. package/dist/react-native/classic/evaluators/index.js +0 -25
  1367. package/dist/react-native/classic/evaluators/index.js.map +0 -1
  1368. package/dist/react-native/classic/insights/index.d.ts +0 -15
  1369. package/dist/react-native/classic/insights/index.d.ts.map +0 -1
  1370. package/dist/react-native/classic/insights/index.js +0 -16
  1371. package/dist/react-native/classic/insights/index.js.map +0 -1
  1372. package/dist/react-native/classic/memoryStores/index.d.ts +0 -28
  1373. package/dist/react-native/classic/memoryStores/index.d.ts.map +0 -1
  1374. package/dist/react-native/classic/memoryStores/index.js +0 -22
  1375. package/dist/react-native/classic/memoryStores/index.js.map +0 -1
  1376. package/dist/react-native/classic/redTeams/index.d.ts +0 -15
  1377. package/dist/react-native/classic/redTeams/index.d.ts.map +0 -1
  1378. package/dist/react-native/classic/redTeams/index.js +0 -16
  1379. package/dist/react-native/classic/redTeams/index.js.map +0 -1
  1380. package/dist/react-native/classic/schedules/index.d.ts +0 -21
  1381. package/dist/react-native/classic/schedules/index.d.ts.map +0 -1
  1382. package/dist/react-native/classic/schedules/index.js +0 -19
  1383. package/dist/react-native/classic/schedules/index.js.map +0 -1
  1384. package/dist/react-native/restorePollerHelpers.d.ts +0 -24
  1385. package/dist/react-native/restorePollerHelpers.d.ts.map +0 -1
  1386. package/dist/react-native/restorePollerHelpers.js +0 -99
  1387. package/dist/react-native/restorePollerHelpers.js.map +0 -1
  1388. /package/dist/browser/api/{evaluationTaxonomies → beta/evaluationTaxonomies}/index.js +0 -0
  1389. /package/dist/browser/api/{evaluationTaxonomies → beta/evaluationTaxonomies}/options.js +0 -0
  1390. /package/dist/browser/api/{evaluators → beta/evaluators}/index.js +0 -0
  1391. /package/dist/browser/api/{evaluators → beta/evaluators}/options.js +0 -0
  1392. /package/dist/browser/api/{insights → beta/insights}/index.js +0 -0
  1393. /package/dist/browser/api/{insights → beta/insights}/options.js +0 -0
  1394. /package/dist/browser/api/{memoryStores → beta/memoryStores}/options.js +0 -0
  1395. /package/dist/browser/api/{redTeams → beta/redTeams}/index.js +0 -0
  1396. /package/dist/browser/api/{redTeams → beta/redTeams}/options.js +0 -0
  1397. /package/dist/browser/api/{schedules → beta/schedules}/index.js +0 -0
  1398. /package/dist/browser/api/{schedules → beta/schedules}/options.js +0 -0
  1399. /package/dist/{esm/api → react-native/api/beta}/evaluationTaxonomies/index.js +0 -0
  1400. /package/dist/{esm/api → react-native/api/beta}/evaluationTaxonomies/options.js +0 -0
  1401. /package/dist/{esm/api → react-native/api/beta}/evaluators/index.js +0 -0
  1402. /package/dist/{esm/api → react-native/api/beta}/evaluators/options.js +0 -0
  1403. /package/dist/{esm/api → react-native/api/beta}/insights/index.js +0 -0
  1404. /package/dist/{esm/api → react-native/api/beta}/insights/options.js +0 -0
  1405. /package/dist/{esm/api → react-native/api/beta}/memoryStores/options.js +0 -0
  1406. /package/dist/{esm/api → react-native/api/beta}/redTeams/index.js +0 -0
  1407. /package/dist/{esm/api → react-native/api/beta}/redTeams/options.js +0 -0
  1408. /package/dist/{esm/api → react-native/api/beta}/schedules/index.js +0 -0
  1409. /package/dist/{esm/api → react-native/api/beta}/schedules/options.js +0 -0
@@ -1,7 +1,8 @@
1
1
  /**
2
- * Represents an agent object.
3
- * Contains the agent's unique identifier, name, and version information.
2
+ * This file contains only generated model types and their (de)serializers.
3
+ * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
4
4
  */
5
+ /** model interface Agent */
5
6
  export interface Agent {
6
7
  /** The object type, which is always 'agent'. */
7
8
  object: "agent";
@@ -14,14 +15,14 @@ export interface Agent {
14
15
  latest: AgentVersion;
15
16
  };
16
17
  }
17
- export declare function agentObjectDeserializer(item: any): Agent;
18
+ export declare function agentDeserializer(item: any): Agent;
18
19
  /**
19
20
  * Helper interface for agent version references.
20
21
  */
21
22
  export interface _AgentVersions {
22
23
  latest: AgentVersion;
23
24
  }
24
- export declare function _agentObjectVersionsDeserializer(item: any): _AgentVersions;
25
+ export declare function _agentVersionsDeserializer(item: any): _AgentVersions;
25
26
  /**
26
27
  * Represents a specific version of an agent.
27
28
  * Includes metadata, versioning, creation time, and agent definition.
@@ -51,7 +52,7 @@ export interface AgentVersion {
51
52
  /** The definition of the agent. */
52
53
  definition: AgentDefinitionUnion;
53
54
  }
54
- export declare function agentVersionObjectDeserializer(item: any): AgentVersion;
55
+ export declare function agentVersionDeserializer(item: any): AgentVersion;
55
56
  /**
56
57
  * Base definition interface for agents.
57
58
  * Contains the agent kind and optional RAI configuration.
@@ -68,14 +69,14 @@ export declare function agentDefinitionDeserializer(item: any): AgentDefinition;
68
69
  * Union type for all agent definition types.
69
70
  * Supports workflow, hosted, container app, and prompt agents.
70
71
  */
71
- export type AgentDefinitionUnion = WorkflowAgentDefinition | HostedAgentDefinitionUnion | ContainerAppAgentDefinition | PromptAgentDefinition | AgentDefinition;
72
+ export type AgentDefinitionUnion = PromptAgentDefinition | WorkflowAgentDefinition | HostedAgentDefinition | AgentDefinition;
72
73
  export declare function agentDefinitionUnionSerializer(item: AgentDefinitionUnion): any;
73
74
  export declare function agentDefinitionUnionDeserializer(item: any): AgentDefinitionUnion;
74
75
  /**
75
76
  * Defines the type/kind of agent.
76
77
  * Determines which agent definition structure is used.
77
78
  */
78
- export type AgentKind = "prompt" | "hosted" | "container_app" | "workflow";
79
+ export type AgentKind = "prompt" | "hosted" | "workflow";
79
80
  /** Configuration for Responsible AI (RAI) content filtering and safety features. */
80
81
  export interface RaiConfig {
81
82
  /** The name of the RAI policy to apply. */
@@ -83,54 +84,89 @@ export interface RaiConfig {
83
84
  }
84
85
  export declare function raiConfigSerializer(item: RaiConfig): any;
85
86
  export declare function raiConfigDeserializer(item: any): RaiConfig;
86
- /** The workflow agent definition. */
87
- export interface WorkflowAgentDefinition extends AgentDefinition {
88
- /** The kind of agent definition. */
89
- kind: "workflow";
90
- /** The CSDL YAML definition of the workflow. */
91
- workflow?: string;
92
- }
93
- export declare function workflowAgentDefinitionSerializer(item: WorkflowAgentDefinition): any;
94
- export declare function workflowAgentDefinitionDeserializer(item: any): WorkflowAgentDefinition;
95
- /** The hosted agent definition. */
96
- export interface HostedAgentDefinition extends AgentDefinition {
97
- /** The kind of agent definition. */
98
- kind: "hosted";
87
+ /** The prompt agent definition */
88
+ export interface PromptAgentDefinition extends AgentDefinition {
89
+ /** The kind discriminator, always 'prompt'. */
90
+ kind: "prompt";
91
+ /** The model deployment to use for this agent. */
92
+ model: string;
93
+ /** A system (or developer) message inserted into the model's context. */
94
+ instructions?: string;
99
95
  /**
100
- * An array of tools the hosted agent's model may call while generating a response. You
96
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
97
+ * We generally recommend altering this or `top_p` but not both.
98
+ */
99
+ temperature?: number;
100
+ /**
101
+ * An alternative to sampling with temperature, called nucleus sampling,
102
+ * where the model considers the results of the tokens with top_p probability
103
+ * mass. So 0.1 means only the tokens comprising the top 10% probability mass
104
+ * are considered.
105
+ *
106
+ * We generally recommend altering this or `temperature` but not both.
107
+ */
108
+ top_p?: number;
109
+ /** The reasoning configuration for the prompt agent. */
110
+ reasoning?: Reasoning;
111
+ /**
112
+ * An array of tools the model may call while generating a response. You
101
113
  * can specify which tool to use by setting the `tool_choice` parameter.
102
114
  */
103
115
  tools?: ToolUnion[];
104
- /** The protocols that the agent supports for ingress communication of the containers. */
105
- container_protocol_versions: ProtocolVersionRecord[];
106
- /** The CPU configuration for the hosted agent. */
107
- cpu: string;
108
- /** The memory configuration for the hosted agent. */
109
- memory: string;
110
- /** Environment variables to set in the hosted agent container. */
111
- environment_variables?: Record<string, string>;
116
+ /**
117
+ * How the model should select which tool (or tools) to use when generating a response.
118
+ * See the `tools` parameter to see how to specify which tools the model can call.
119
+ */
120
+ tool_choice?: string | ToolChoiceParamUnion;
121
+ /** Configuration options for a text response from the model. Can be plain text or structured JSON data. */
122
+ text?: PromptAgentDefinitionTextOptions;
123
+ /** Set of structured inputs that can participate in prompt template substitution or tool argument bindings. */
124
+ structured_inputs?: Record<string, StructuredInputDefinition>;
112
125
  }
113
- export declare function hostedAgentDefinitionSerializer(item: HostedAgentDefinition): any;
114
- export declare function hostedAgentDefinitionDeserializer(item: any): HostedAgentDefinition;
115
- /** Alias for HostedAgentDefinitionUnion */
116
- export type HostedAgentDefinitionUnion = ImageBasedHostedAgentDefinition | HostedAgentDefinition;
117
- export declare function hostedAgentDefinitionUnionSerializer(item: HostedAgentDefinitionUnion): any;
118
- export declare function hostedAgentDefinitionUnionDeserializer(item: any): HostedAgentDefinitionUnion;
126
+ export declare function promptAgentDefinitionSerializer(item: PromptAgentDefinition): any;
127
+ export declare function promptAgentDefinitionDeserializer(item: any): PromptAgentDefinition;
128
+ /**
129
+ * **gpt-5 and o-series models only**
130
+ * Configuration options for
131
+ * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
132
+ */
133
+ export interface Reasoning {
134
+ /** The reasoning effort level. */
135
+ effort?: ReasoningEffort;
136
+ /** The reasoning summary text. */
137
+ summary?: "auto" | "concise" | "detailed";
138
+ /** Whether to generate a summary of the reasoning process. */
139
+ generate_summary?: "auto" | "concise" | "detailed";
140
+ }
141
+ export declare function reasoningSerializer(item: Reasoning): any;
142
+ export declare function reasoningDeserializer(item: any): Reasoning;
143
+ /**
144
+ * Constrains effort on reasoning for
145
+ * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
146
+ * Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing
147
+ * reasoning effort can result in faster responses and fewer tokens used
148
+ * on reasoning in a response.
149
+ * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
150
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
151
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
152
+ * - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
153
+ */
154
+ export type ReasoningEffort = "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
119
155
  export declare function toolUnionArraySerializer(result: Array<ToolUnion>): any[];
120
156
  export declare function toolUnionArrayDeserializer(result: Array<ToolUnion>): any[];
121
157
  /** A tool that can be used to generate a response. */
122
158
  export interface Tool {
123
- /** The type of tool. */
159
+ /** The tool type identifier. */
124
160
  type: ToolType;
125
161
  }
126
162
  export declare function toolSerializer(item: Tool): any;
127
163
  export declare function toolDeserializer(item: any): Tool;
128
164
  /** Alias for ToolUnion */
129
- export type ToolUnion = BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | MemorySearchTool | CodeInterpreterTool | FunctionTool | FileSearchTool | ComputerUsePreviewTool | WebSearchTool | MCPTool | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | Tool;
165
+ export type ToolUnion = BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | MemorySearchPreviewTool | CodeInterpreterTool | FunctionTool | FileSearchTool | ComputerUsePreviewTool | WebSearchTool | MCPTool | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | Tool;
130
166
  export declare function toolUnionSerializer(item: ToolUnion): any;
131
167
  export declare function toolUnionDeserializer(item: any): ToolUnion;
132
- /** A tool that can be used to generate a response. */
133
- export type ToolType = "function" | "file_search" | "computer_use_preview" | "web_search" | "mcp" | "code_interpreter" | "image_generation" | "local_shell" | "shell" | "custom" | "web_search_preview" | "apply_patch" | "a2a_preview" | "bing_custom_search_preview" | "browser_automation_preview" | "fabric_dataagent_preview" | "sharepoint_grounding_preview" | "azure_ai_search" | "azure_function" | "bing_grounding" | "capture_structured_outputs" | "openapi" | "memory_search";
168
+ /** Type of ToolType */
169
+ export type ToolType = "function" | "file_search" | "computer_use_preview" | "web_search" | "mcp" | "code_interpreter" | "image_generation" | "local_shell" | "shell" | "custom" | "web_search_preview" | "apply_patch" | "a2a_preview" | "bing_custom_search_preview" | "browser_automation_preview" | "fabric_dataagent_preview" | "sharepoint_grounding_preview" | "memory_search_preview" | "azure_ai_search" | "azure_function" | "bing_grounding" | "capture_structured_outputs" | "openapi";
134
170
  /** The input definition information for a bing grounding search tool as used to configure an agent. */
135
171
  export interface BingGroundingTool extends Tool {
136
172
  /** The object type, which is always 'bing_grounding'. */
@@ -270,7 +306,7 @@ export interface OpenApiFunctionDefinition {
270
306
  /** A description of what the function does, used by the model to choose when and how to call the function. */
271
307
  description?: string;
272
308
  /** The openapi function shape, described as a JSON Schema object. */
273
- spec: any;
309
+ spec: unknown;
274
310
  /** Open API authentication details */
275
311
  auth: OpenApiAuthDetailsUnion;
276
312
  /** List of OpenAPI spec parameters that will use user-provided defaults */
@@ -279,7 +315,7 @@ export interface OpenApiFunctionDefinition {
279
315
  readonly functions?: {
280
316
  name: string;
281
317
  description?: string;
282
- parameters: any;
318
+ parameters: Record<string, unknown>;
283
319
  }[];
284
320
  }
285
321
  export declare function openApiFunctionDefinitionSerializer(item: OpenApiFunctionDefinition): any;
@@ -350,7 +386,7 @@ export interface _OpenApiFunctionDefinitionFunction {
350
386
  /** A description of what the function does, used by the model to choose when and how to call the function. */
351
387
  description?: string;
352
388
  /** The parameters the functions accepts, described as a JSON Schema object. */
353
- parameters: unknown;
389
+ parameters: Record<string, unknown>;
354
390
  }
355
391
  export declare function _openApiFunctionDefinitionFunctionDeserializer(item: any): _OpenApiFunctionDefinitionFunction;
356
392
  /** The input definition information for a Bing custom search tool as used to configure an agent. */
@@ -429,7 +465,7 @@ export interface AzureFunctionDefinition {
429
465
  function: {
430
466
  name: string;
431
467
  description?: string;
432
- parameters: unknown;
468
+ parameters: Record<string, unknown>;
433
469
  };
434
470
  /** Input storage queue. The queue storage trigger runs a function as messages are added to it. */
435
471
  input_binding: AzureFunctionBinding;
@@ -445,7 +481,7 @@ export interface _AzureFunctionDefinitionFunction {
445
481
  /** A description of what the function does, used by the model to choose when and how to call the function. */
446
482
  description?: string;
447
483
  /** The parameters the functions accepts, described as a JSON Schema object. */
448
- parameters: unknown;
484
+ parameters: Record<string, unknown>;
449
485
  }
450
486
  export declare function _azureFunctionDefinitionFunctionSerializer(item: _AzureFunctionDefinitionFunction): any;
451
487
  export declare function _azureFunctionDefinitionFunctionDeserializer(item: any): _AzureFunctionDefinitionFunction;
@@ -483,7 +519,7 @@ export interface StructuredOutputDefinition {
483
519
  /** A description of the output to emit. Used by the model to determine when to emit the output. */
484
520
  description: string;
485
521
  /** The JSON schema for the structured output. */
486
- schema: Record<string, any>;
522
+ schema: Record<string, unknown>;
487
523
  /** Whether to enforce strict validation. Default `true`. */
488
524
  strict: boolean;
489
525
  }
@@ -509,9 +545,9 @@ export interface A2APreviewTool extends Tool {
509
545
  export declare function a2APreviewToolSerializer(item: A2APreviewTool): any;
510
546
  export declare function a2APreviewToolDeserializer(item: any): A2APreviewTool;
511
547
  /** A tool for integrating memories into the agent. */
512
- export interface MemorySearchTool extends Tool {
513
- /** The type of the tool. Always `memory_search`. */
514
- type: "memory_search";
548
+ export interface MemorySearchPreviewTool extends Tool {
549
+ /** The type of the tool. Always `memory_search_preview`. */
550
+ type: "memory_search_preview";
515
551
  /** The name of the memory store to use. */
516
552
  memory_store_name: string;
517
553
  /**
@@ -525,8 +561,8 @@ export interface MemorySearchTool extends Tool {
525
561
  /** Time to wait before updating memories after inactivity (seconds). Default 300. */
526
562
  update_delay?: number;
527
563
  }
528
- export declare function memorySearchToolSerializer(item: MemorySearchTool): any;
529
- export declare function memorySearchToolDeserializer(item: any): MemorySearchTool;
564
+ export declare function memorySearchPreviewToolSerializer(item: MemorySearchPreviewTool): any;
565
+ export declare function memorySearchPreviewToolDeserializer(item: any): MemorySearchPreviewTool;
530
566
  /** Memory search options. */
531
567
  export interface MemorySearchOptions {
532
568
  /** Maximum number of memory items to return. */
@@ -540,37 +576,88 @@ export interface CodeInterpreterTool extends Tool {
540
576
  type: "code_interpreter";
541
577
  /**
542
578
  * The code interpreter container. Can be a container ID or an object that
543
- * specifies uploaded file IDs to make available to your code, along with an
544
- * optional `memory_limit` setting.
579
+ * specifies uploaded file IDs to make available to your code, along with an
580
+ * optional `memory_limit` setting.
581
+ * If not provided, the service assumes auto.
545
582
  */
546
- container: string | CodeInterpreterContainerAuto;
583
+ container?: string | AutoCodeInterpreterToolParam;
547
584
  }
548
585
  export declare function codeInterpreterToolSerializer(item: CodeInterpreterTool): any;
549
586
  export declare function codeInterpreterToolDeserializer(item: any): CodeInterpreterTool;
550
587
  /** Alias for _CodeInterpreterToolContainer */
551
- export type _CodeInterpreterToolContainer = string | CodeInterpreterContainerAuto;
588
+ export type _CodeInterpreterToolContainer = string | AutoCodeInterpreterToolParam;
552
589
  export declare function _codeInterpreterToolContainerSerializer(item: _CodeInterpreterToolContainer): any;
553
590
  export declare function _codeInterpreterToolContainerDeserializer(item: any): _CodeInterpreterToolContainer;
554
591
  /** Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on. */
555
- export interface CodeInterpreterContainerAuto {
592
+ export interface AutoCodeInterpreterToolParam {
556
593
  /** Always `auto`. */
557
594
  type: "auto";
558
595
  /** An optional list of uploaded files to make available to your code. */
559
596
  file_ids?: string[];
560
- memory_limit?: ContainerMemoryLimit | null;
597
+ /** The memory limit for the code interpreter container, in bytes. */
598
+ memory_limit?: ContainerMemoryLimit;
599
+ /** The network access policy for the code interpreter container. */
600
+ network_policy?: ContainerNetworkPolicyParamUnion;
561
601
  }
562
- export declare function codeInterpreterContainerAutoSerializer(item: CodeInterpreterContainerAuto): any;
563
- export declare function codeInterpreterContainerAutoDeserializer(item: any): CodeInterpreterContainerAuto;
602
+ export declare function autoCodeInterpreterToolParamSerializer(item: AutoCodeInterpreterToolParam): any;
603
+ export declare function autoCodeInterpreterToolParamDeserializer(item: any): AutoCodeInterpreterToolParam;
564
604
  /** Type of ContainerMemoryLimit */
565
605
  export type ContainerMemoryLimit = "1g" | "4g" | "16g" | "64g";
606
+ /** Network access policy for the container. */
607
+ export interface ContainerNetworkPolicyParam {
608
+ /** The network policy type. */
609
+ type: ContainerNetworkPolicyParamType;
610
+ }
611
+ export declare function containerNetworkPolicyParamSerializer(item: ContainerNetworkPolicyParam): any;
612
+ export declare function containerNetworkPolicyParamDeserializer(item: any): ContainerNetworkPolicyParam;
613
+ /** Alias for ContainerNetworkPolicyParamUnion */
614
+ export type ContainerNetworkPolicyParamUnion = ContainerNetworkPolicyDisabledParam | ContainerNetworkPolicyAllowlistParam | ContainerNetworkPolicyParam;
615
+ export declare function containerNetworkPolicyParamUnionSerializer(item: ContainerNetworkPolicyParamUnion): any;
616
+ export declare function containerNetworkPolicyParamUnionDeserializer(item: any): ContainerNetworkPolicyParamUnion;
617
+ /** Type of ContainerNetworkPolicyParamType */
618
+ export type ContainerNetworkPolicyParamType = "disabled" | "allowlist";
619
+ /** model interface ContainerNetworkPolicyDisabledParam */
620
+ export interface ContainerNetworkPolicyDisabledParam extends ContainerNetworkPolicyParam {
621
+ /** Disable outbound network access. Always `disabled`. */
622
+ type: "disabled";
623
+ }
624
+ export declare function containerNetworkPolicyDisabledParamSerializer(item: ContainerNetworkPolicyDisabledParam): any;
625
+ export declare function containerNetworkPolicyDisabledParamDeserializer(item: any): ContainerNetworkPolicyDisabledParam;
626
+ /** model interface ContainerNetworkPolicyAllowlistParam */
627
+ export interface ContainerNetworkPolicyAllowlistParam extends ContainerNetworkPolicyParam {
628
+ /** Allow outbound network access only to specified domains. Always `allowlist`. */
629
+ type: "allowlist";
630
+ /** A list of allowed domains when type is `allowlist`. */
631
+ allowed_domains: string[];
632
+ /** Optional domain-scoped secrets for allowlisted domains. */
633
+ domain_secrets?: ContainerNetworkPolicyDomainSecretParam[];
634
+ }
635
+ export declare function containerNetworkPolicyAllowlistParamSerializer(item: ContainerNetworkPolicyAllowlistParam): any;
636
+ export declare function containerNetworkPolicyAllowlistParamDeserializer(item: any): ContainerNetworkPolicyAllowlistParam;
637
+ export declare function containerNetworkPolicyDomainSecretParamArraySerializer(result: Array<ContainerNetworkPolicyDomainSecretParam>): any[];
638
+ export declare function containerNetworkPolicyDomainSecretParamArrayDeserializer(result: Array<ContainerNetworkPolicyDomainSecretParam>): any[];
639
+ /** model interface ContainerNetworkPolicyDomainSecretParam */
640
+ export interface ContainerNetworkPolicyDomainSecretParam {
641
+ /** The domain associated with the secret. */
642
+ domain: string;
643
+ /** The name of the secret to inject for the domain. */
644
+ name: string;
645
+ /** The secret value to inject for the domain. */
646
+ value: string;
647
+ }
648
+ export declare function containerNetworkPolicyDomainSecretParamSerializer(item: ContainerNetworkPolicyDomainSecretParam): any;
649
+ export declare function containerNetworkPolicyDomainSecretParamDeserializer(item: any): ContainerNetworkPolicyDomainSecretParam;
566
650
  /** Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling). */
567
651
  export interface FunctionTool extends Tool {
568
652
  /** The type of the function tool. Always `function`. */
569
653
  type: "function";
570
654
  /** The name of the function to call. */
571
655
  name: string;
656
+ /** A description of the function tool. */
572
657
  description?: string;
573
- parameters: Record<string, any>;
658
+ /** The parameters schema for the function. */
659
+ parameters: Record<string, unknown>;
660
+ /** Whether the function arguments must strictly match the parameters schema. */
574
661
  strict: boolean;
575
662
  }
576
663
  export declare function functionToolSerializer(item: FunctionTool): any;
@@ -585,6 +672,7 @@ export interface FileSearchTool extends Tool {
585
672
  max_num_results?: number;
586
673
  /** Ranking options for search. */
587
674
  ranking_options?: RankingOptions;
675
+ /** Filters to apply to the file search. */
588
676
  filters?: Filters;
589
677
  }
590
678
  export declare function fileSearchToolSerializer(item: FileSearchTool): any;
@@ -651,14 +739,14 @@ export interface CompoundFilter {
651
739
  /** Type of operation: `and` or `or`. */
652
740
  type: "and" | "or";
653
741
  /** Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`. */
654
- filters: (ComparisonFilter | any)[];
742
+ filters: (ComparisonFilter | CompoundFilter)[];
655
743
  }
656
744
  export declare function compoundFilterSerializer(item: CompoundFilter): any;
657
745
  export declare function compoundFilterDeserializer(item: any): CompoundFilter;
658
746
  export declare function _compoundFilterFilterArraySerializer(result: Array<_CompoundFilterFilter>): any[];
659
747
  export declare function _compoundFilterFilterArrayDeserializer(result: Array<_CompoundFilterFilter>): any[];
660
748
  /** Alias for _CompoundFilterFilter */
661
- export type _CompoundFilterFilter = ComparisonFilter | any;
749
+ export type _CompoundFilterFilter = ComparisonFilter | CompoundFilter;
662
750
  export declare function _compoundFilterFilterSerializer(item: _CompoundFilterFilter): any;
663
751
  export declare function _compoundFilterFilterDeserializer(item: any): _CompoundFilterFilter;
664
752
  /** A tool that controls a virtual computer. Learn more about the [computer tool](https://platform.openai.com/docs/guides/tools-computer-use). */
@@ -683,8 +771,10 @@ export type ComputerEnvironment = "windows" | "mac" | "linux" | "ubuntu" | "brow
683
771
  export interface WebSearchTool extends Tool {
684
772
  /** The type of the web search tool. One of `web_search` or `web_search_2025_08_26`. */
685
773
  type: "web_search";
686
- filters?: WebSearchToolFilters | null;
687
- user_location?: WebSearchApproximateLocation | null;
774
+ /** Filters to apply to web search results. */
775
+ filters?: WebSearchToolFilters;
776
+ /** The approximate location of the user for search relevance. */
777
+ user_location?: WebSearchApproximateLocation;
688
778
  /** High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. */
689
779
  search_context_size?: "low" | "medium" | "high";
690
780
  /**
@@ -697,7 +787,8 @@ export declare function webSearchToolSerializer(item: WebSearchTool): any;
697
787
  export declare function webSearchToolDeserializer(item: any): WebSearchTool;
698
788
  /** model interface WebSearchToolFilters */
699
789
  export interface WebSearchToolFilters {
700
- allowed_domains?: string[] | null;
790
+ /** The list of allowed domains for web search results. */
791
+ allowed_domains?: string[];
701
792
  }
702
793
  export declare function webSearchToolFiltersSerializer(item: WebSearchToolFilters): any;
703
794
  export declare function webSearchToolFiltersDeserializer(item: any): WebSearchToolFilters;
@@ -705,10 +796,14 @@ export declare function webSearchToolFiltersDeserializer(item: any): WebSearchTo
705
796
  export interface WebSearchApproximateLocation {
706
797
  /** The type of location approximation. Always `approximate`. */
707
798
  type?: "approximate";
708
- country?: string | null;
709
- region?: string | null;
710
- city?: string | null;
711
- timezone?: string | null;
799
+ /** The two-letter ISO country code. */
800
+ country?: string;
801
+ /** The region or state for the approximate location. */
802
+ region?: string;
803
+ /** The city for the approximate location. */
804
+ city?: string;
805
+ /** The IANA timezone identifier (e.g. 'America/New_York'). */
806
+ timezone?: string;
712
807
  }
713
808
  export declare function webSearchApproximateLocationSerializer(item: WebSearchApproximateLocation): any;
714
809
  export declare function webSearchApproximateLocationDeserializer(item: any): WebSearchApproximateLocation;
@@ -758,8 +853,11 @@ export interface MCPTool extends Tool {
758
853
  authorization?: string;
759
854
  /** Optional description of the MCP server, used to provide more context. */
760
855
  server_description?: string;
856
+ /** Custom headers to include in requests to the MCP server. */
761
857
  headers?: Record<string, string>;
858
+ /** The list of allowed tool names for the MCP server. */
762
859
  allowed_tools?: string[] | MCPToolFilter;
860
+ /** The approval requirements for the MCP tool. */
763
861
  require_approval?: MCPToolRequireApproval | "always" | "never";
764
862
  /** The connection ID in the project for the MCP server. The connection stores authentication and other connection details needed to connect to the MCP server. */
765
863
  project_connection_id?: string;
@@ -789,7 +887,9 @@ export declare function _mcpToolRequireApprovalSerializer(item: _MCPToolRequireA
789
887
  export declare function _mcpToolRequireApprovalDeserializer(item: any): _MCPToolRequireApproval;
790
888
  /** model interface MCPToolRequireApproval */
791
889
  export interface MCPToolRequireApproval {
890
+ /** Tools that always require approval before execution. */
792
891
  always?: MCPToolFilter;
892
+ /** Tools that never require approval before execution. */
793
893
  never?: MCPToolFilter;
794
894
  }
795
895
  export declare function mcpToolRequireApprovalSerializer(item: MCPToolRequireApproval): any;
@@ -798,6 +898,7 @@ export declare function mcpToolRequireApprovalDeserializer(item: any): MCPToolRe
798
898
  export interface ImageGenTool extends Tool {
799
899
  /** The type of the image generation tool. Always `image_generation`. */
800
900
  type: "image_generation";
901
+ /** The model to use for image generation. */
801
902
  model?: "gpt-image-1" | "gpt-image-1-mini";
802
903
  /**
803
904
  * The quality of the generated image. One of `low`, `medium`, `high`,
@@ -823,6 +924,7 @@ export interface ImageGenTool extends Tool {
823
924
  * `opaque`, or `auto`. Default: `auto`.
824
925
  */
825
926
  background?: "transparent" | "opaque" | "auto";
927
+ /** The fidelity level for input image processing. */
826
928
  input_fidelity?: InputFidelity;
827
929
  /**
828
930
  * Optional mask for inpainting. Contains `image_url`
@@ -831,6 +933,8 @@ export interface ImageGenTool extends Tool {
831
933
  input_image_mask?: ImageGenToolInputImageMask;
832
934
  /** Number of partial images to generate in streaming mode, from 0 (default value) to 3. */
833
935
  partial_images?: number;
936
+ /** Whether to generate a new image or edit an existing image. Default: `auto`. */
937
+ action?: ImageGenAction;
834
938
  }
835
939
  export declare function imageGenToolSerializer(item: ImageGenTool): any;
836
940
  export declare function imageGenToolDeserializer(item: any): ImageGenTool;
@@ -838,11 +942,15 @@ export declare function imageGenToolDeserializer(item: any): ImageGenTool;
838
942
  export type InputFidelity = "high" | "low";
839
943
  /** model interface ImageGenToolInputImageMask */
840
944
  export interface ImageGenToolInputImageMask {
945
+ /** The URL of the mask image. */
841
946
  image_url?: string;
947
+ /** The file identifier for the mask image. */
842
948
  file_id?: string;
843
949
  }
844
950
  export declare function imageGenToolInputImageMaskSerializer(item: ImageGenToolInputImageMask): any;
845
951
  export declare function imageGenToolInputImageMaskDeserializer(item: any): ImageGenToolInputImageMask;
952
+ /** Type of ImageGenAction */
953
+ export type ImageGenAction = "generate" | "edit" | "auto";
846
954
  /** A tool that allows the model to execute shell commands in a local environment. */
847
955
  export interface LocalShellToolParam extends Tool {
848
956
  /** The type of the local shell tool. Always `local_shell`. */
@@ -854,9 +962,120 @@ export declare function localShellToolParamDeserializer(item: any): LocalShellTo
854
962
  export interface FunctionShellToolParam extends Tool {
855
963
  /** The type of the shell tool. Always `shell`. */
856
964
  type: "shell";
965
+ /** The environment configuration for the function shell tool. */
966
+ environment?: FunctionShellToolParamEnvironmentUnion;
857
967
  }
858
968
  export declare function functionShellToolParamSerializer(item: FunctionShellToolParam): any;
859
969
  export declare function functionShellToolParamDeserializer(item: any): FunctionShellToolParam;
970
+ /** model interface FunctionShellToolParamEnvironment */
971
+ export interface FunctionShellToolParamEnvironment {
972
+ /** The environment type. */
973
+ type: FunctionShellToolParamEnvironmentType;
974
+ }
975
+ export declare function functionShellToolParamEnvironmentSerializer(item: FunctionShellToolParamEnvironment): any;
976
+ export declare function functionShellToolParamEnvironmentDeserializer(item: any): FunctionShellToolParamEnvironment;
977
+ /** Alias for FunctionShellToolParamEnvironmentUnion */
978
+ export type FunctionShellToolParamEnvironmentUnion = FunctionShellToolParamEnvironmentLocalEnvironmentParam | FunctionShellToolParamEnvironmentContainerReferenceParam | ContainerAutoParam | FunctionShellToolParamEnvironment;
979
+ export declare function functionShellToolParamEnvironmentUnionSerializer(item: FunctionShellToolParamEnvironmentUnion): any;
980
+ export declare function functionShellToolParamEnvironmentUnionDeserializer(item: any): FunctionShellToolParamEnvironmentUnion;
981
+ /** Type of FunctionShellToolParamEnvironmentType */
982
+ export type FunctionShellToolParamEnvironmentType = "container_auto" | "local" | "container_reference";
983
+ /** model interface FunctionShellToolParamEnvironmentLocalEnvironmentParam */
984
+ export interface FunctionShellToolParamEnvironmentLocalEnvironmentParam extends FunctionShellToolParamEnvironment {
985
+ /** Use a local computer environment. */
986
+ type: "local";
987
+ /** An optional list of skills. */
988
+ skills?: LocalSkillParam[];
989
+ }
990
+ export declare function functionShellToolParamEnvironmentLocalEnvironmentParamSerializer(item: FunctionShellToolParamEnvironmentLocalEnvironmentParam): any;
991
+ export declare function functionShellToolParamEnvironmentLocalEnvironmentParamDeserializer(item: any): FunctionShellToolParamEnvironmentLocalEnvironmentParam;
992
+ export declare function localSkillParamArraySerializer(result: Array<LocalSkillParam>): any[];
993
+ export declare function localSkillParamArrayDeserializer(result: Array<LocalSkillParam>): any[];
994
+ /** model interface LocalSkillParam */
995
+ export interface LocalSkillParam {
996
+ /** The name of the skill. */
997
+ name: string;
998
+ /** The description of the skill. */
999
+ description: string;
1000
+ /** The path to the directory containing the skill. */
1001
+ path: string;
1002
+ }
1003
+ export declare function localSkillParamSerializer(item: LocalSkillParam): any;
1004
+ export declare function localSkillParamDeserializer(item: any): LocalSkillParam;
1005
+ /** model interface FunctionShellToolParamEnvironmentContainerReferenceParam */
1006
+ export interface FunctionShellToolParamEnvironmentContainerReferenceParam extends FunctionShellToolParamEnvironment {
1007
+ /** References a container created with the /v1/containers endpoint */
1008
+ type: "container_reference";
1009
+ /** The ID of the referenced container. */
1010
+ container_id: string;
1011
+ }
1012
+ export declare function functionShellToolParamEnvironmentContainerReferenceParamSerializer(item: FunctionShellToolParamEnvironmentContainerReferenceParam): any;
1013
+ export declare function functionShellToolParamEnvironmentContainerReferenceParamDeserializer(item: any): FunctionShellToolParamEnvironmentContainerReferenceParam;
1014
+ /** model interface ContainerAutoParam */
1015
+ export interface ContainerAutoParam extends FunctionShellToolParamEnvironment {
1016
+ /** Automatically creates a container for this request */
1017
+ type: "container_auto";
1018
+ /** An optional list of uploaded files to make available to your code. */
1019
+ file_ids?: string[];
1020
+ /** The memory limit for the container, in bytes. */
1021
+ memory_limit?: ContainerMemoryLimit;
1022
+ /** An optional list of skills referenced by id or inline data. */
1023
+ skills?: ContainerSkillUnion[];
1024
+ /** The network access policy for the container. */
1025
+ network_policy?: ContainerNetworkPolicyParamUnion;
1026
+ }
1027
+ export declare function containerAutoParamSerializer(item: ContainerAutoParam): any;
1028
+ export declare function containerAutoParamDeserializer(item: any): ContainerAutoParam;
1029
+ export declare function containerSkillUnionArraySerializer(result: Array<ContainerSkillUnion>): any[];
1030
+ export declare function containerSkillUnionArrayDeserializer(result: Array<ContainerSkillUnion>): any[];
1031
+ /** model interface ContainerSkill */
1032
+ export interface ContainerSkill {
1033
+ /** The type discriminator, always 'container'. */
1034
+ type: ContainerSkillType;
1035
+ }
1036
+ export declare function containerSkillSerializer(item: ContainerSkill): any;
1037
+ export declare function containerSkillDeserializer(item: any): ContainerSkill;
1038
+ /** Alias for ContainerSkillUnion */
1039
+ export type ContainerSkillUnion = SkillReferenceParam | InlineSkillParam | ContainerSkill;
1040
+ export declare function containerSkillUnionSerializer(item: ContainerSkillUnion): any;
1041
+ export declare function containerSkillUnionDeserializer(item: any): ContainerSkillUnion;
1042
+ /** Type of ContainerSkillType */
1043
+ export type ContainerSkillType = "skill_reference" | "inline";
1044
+ /** model interface SkillReferenceParam */
1045
+ export interface SkillReferenceParam extends ContainerSkill {
1046
+ /** References a skill created with the /v1/skills endpoint. */
1047
+ type: "skill_reference";
1048
+ /** The ID of the referenced skill. */
1049
+ skill_id: string;
1050
+ /** Optional skill version. Use a positive integer or 'latest'. Omit for default. */
1051
+ version?: string;
1052
+ }
1053
+ export declare function skillReferenceParamSerializer(item: SkillReferenceParam): any;
1054
+ export declare function skillReferenceParamDeserializer(item: any): SkillReferenceParam;
1055
+ /** model interface InlineSkillParam */
1056
+ export interface InlineSkillParam extends ContainerSkill {
1057
+ /** Defines an inline skill for this request. */
1058
+ type: "inline";
1059
+ /** The name of the skill. */
1060
+ name: string;
1061
+ /** The description of the skill. */
1062
+ description: string;
1063
+ /** Inline skill payload */
1064
+ source: InlineSkillSourceParam;
1065
+ }
1066
+ export declare function inlineSkillParamSerializer(item: InlineSkillParam): any;
1067
+ export declare function inlineSkillParamDeserializer(item: any): InlineSkillParam;
1068
+ /** Inline skill payload */
1069
+ export interface InlineSkillSourceParam {
1070
+ /** The type of the inline skill source. Must be `base64`. */
1071
+ type: "base64";
1072
+ /** The media type of the inline skill payload. Must be `application/zip`. */
1073
+ media_type: "application/zip";
1074
+ /** Base64-encoded skill zip bundle. */
1075
+ data: string;
1076
+ }
1077
+ export declare function inlineSkillSourceParamSerializer(item: InlineSkillSourceParam): any;
1078
+ export declare function inlineSkillSourceParamDeserializer(item: any): InlineSkillSourceParam;
860
1079
  /** A custom tool that processes input using a specified format. Learn more about [custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools) */
861
1080
  export interface CustomToolParam extends Tool {
862
1081
  /** The type of the custom tool. Always `custom`. */
@@ -872,6 +1091,7 @@ export declare function customToolParamSerializer(item: CustomToolParam): any;
872
1091
  export declare function customToolParamDeserializer(item: any): CustomToolParam;
873
1092
  /** The input format for the custom tool. Default is unconstrained text. */
874
1093
  export interface CustomToolParamFormat {
1094
+ /** The custom tool parameter format type. */
875
1095
  type: CustomToolParamFormatType;
876
1096
  }
877
1097
  export declare function customToolParamFormatSerializer(item: CustomToolParamFormat): any;
@@ -894,19 +1114,20 @@ export interface CustomGrammarFormatParam extends CustomToolParamFormat {
894
1114
  /** Grammar format. Always `grammar`. */
895
1115
  type: "grammar";
896
1116
  /** The syntax of the grammar definition. One of `lark` or `regex`. */
897
- syntax: GrammarSyntax1;
1117
+ syntax: GrammarSyntax;
898
1118
  /** The grammar definition. */
899
1119
  definition: string;
900
1120
  }
901
1121
  export declare function customGrammarFormatParamSerializer(item: CustomGrammarFormatParam): any;
902
1122
  export declare function customGrammarFormatParamDeserializer(item: any): CustomGrammarFormatParam;
903
- /** Type of GrammarSyntax1 */
904
- export type GrammarSyntax1 = "lark" | "regex";
1123
+ /** Type of GrammarSyntax */
1124
+ export type GrammarSyntax = "lark" | "regex";
905
1125
  /** This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](https://platform.openai.com/docs/guides/tools-web-search). */
906
1126
  export interface WebSearchPreviewTool extends Tool {
907
1127
  /** The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`. */
908
1128
  type: "web_search_preview";
909
- user_location?: ApproximateLocation | null;
1129
+ /** The approximate location of the user for search relevance. */
1130
+ user_location?: ApproximateLocation;
910
1131
  /** High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. */
911
1132
  search_context_size?: SearchContextSize;
912
1133
  }
@@ -916,10 +1137,14 @@ export declare function webSearchPreviewToolDeserializer(item: any): WebSearchPr
916
1137
  export interface ApproximateLocation {
917
1138
  /** The type of location approximation. Always `approximate`. */
918
1139
  type: "approximate";
919
- country?: string | null;
920
- region?: string | null;
921
- city?: string | null;
922
- timezone?: string | null;
1140
+ /** The two-letter ISO country code. */
1141
+ country?: string;
1142
+ /** The region or state for the approximate location. */
1143
+ region?: string;
1144
+ /** The city for the approximate location. */
1145
+ city?: string;
1146
+ /** The IANA timezone identifier (e.g. 'America/New_York'). */
1147
+ timezone?: string;
923
1148
  }
924
1149
  export declare function approximateLocationSerializer(item: ApproximateLocation): any;
925
1150
  export declare function approximateLocationDeserializer(item: any): ApproximateLocation;
@@ -932,109 +1157,163 @@ export interface ApplyPatchToolParam extends Tool {
932
1157
  }
933
1158
  export declare function applyPatchToolParamSerializer(item: ApplyPatchToolParam): any;
934
1159
  export declare function applyPatchToolParamDeserializer(item: any): ApplyPatchToolParam;
935
- export declare function protocolVersionRecordArraySerializer(result: Array<ProtocolVersionRecord>): any[];
936
- export declare function protocolVersionRecordArrayDeserializer(result: Array<ProtocolVersionRecord>): any[];
937
- /** A record mapping for a single protocol and its version. */
938
- export interface ProtocolVersionRecord {
939
- /** The protocol type. */
940
- protocol: AgentProtocol;
941
- /** The version string for the protocol, e.g. 'v0.1.1'. */
942
- version: string;
943
- }
944
- export declare function protocolVersionRecordSerializer(item: ProtocolVersionRecord): any;
945
- export declare function protocolVersionRecordDeserializer(item: any): ProtocolVersionRecord;
946
- /** Type of AgentProtocol */
947
- export type AgentProtocol = "activity_protocol" | "responses";
948
- /** The image-based deployment definition for a hosted agent. */
949
- export interface ImageBasedHostedAgentDefinition extends HostedAgentDefinition {
950
- kind: "hosted";
951
- /** The image for the hosted agent. */
952
- image: string;
953
- }
954
- export declare function imageBasedHostedAgentDefinitionSerializer(item: ImageBasedHostedAgentDefinition): any;
955
- export declare function imageBasedHostedAgentDefinitionDeserializer(item: any): ImageBasedHostedAgentDefinition;
956
- /** The container app agent definition. */
957
- export interface ContainerAppAgentDefinition extends AgentDefinition {
958
- kind: "container_app";
959
- /** The protocols that the agent supports for ingress communication of the containers. */
960
- container_protocol_versions: ProtocolVersionRecord[];
961
- /** The resource ID of the Azure Container App that hosts this agent. Not mutable across versions. */
962
- container_app_resource_id: string;
963
- /** The suffix to apply to the app subdomain when sending ingress to the agent. This can be a label (e.g., '---current'), a specific revision (e.g., '--0000001'), or empty to use the default endpoint for the container app. */
964
- ingress_subdomain_suffix: string;
965
- }
966
- export declare function containerAppAgentDefinitionSerializer(item: ContainerAppAgentDefinition): any;
967
- export declare function containerAppAgentDefinitionDeserializer(item: any): ContainerAppAgentDefinition;
968
- /** The prompt agent definition */
969
- export interface PromptAgentDefinition extends AgentDefinition {
970
- /** The kind of agent, which is always 'prompt'. */
971
- kind: "prompt";
972
- /** The model deployment to use for this agent. */
973
- model: string;
974
- /** A system (or developer) message inserted into the model's context. */
975
- instructions?: string;
976
- /**
977
- * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
978
- * We generally recommend altering this or `top_p` but not both.
979
- */
980
- temperature?: number;
1160
+ /** Alias for _PromptAgentDefinitionToolChoice */
1161
+ export type _PromptAgentDefinitionToolChoice = string | ToolChoiceParamUnion;
1162
+ export declare function _promptAgentDefinitionToolChoiceSerializer(item: _PromptAgentDefinitionToolChoice): any;
1163
+ export declare function _promptAgentDefinitionToolChoiceDeserializer(item: any): _PromptAgentDefinitionToolChoice;
1164
+ /**
1165
+ * How the model should select which tool (or tools) to use when generating
1166
+ * a response. See the `tools` parameter to see how to specify which tools
1167
+ * the model can call.
1168
+ */
1169
+ export interface ToolChoiceParam {
1170
+ /** The type discriminator for the tool choice. */
1171
+ type: ToolChoiceParamType;
1172
+ }
1173
+ export declare function toolChoiceParamSerializer(item: ToolChoiceParam): any;
1174
+ export declare function toolChoiceParamDeserializer(item: any): ToolChoiceParam;
1175
+ /** Alias for ToolChoiceParamUnion */
1176
+ export type ToolChoiceParamUnion = ToolChoiceAllowed | ToolChoiceFunction | ToolChoiceMCP | ToolChoiceCustom | SpecificApplyPatchParam | SpecificFunctionShellParam | ToolChoiceFileSearch | ToolChoiceWebSearchPreview | ToolChoiceComputerUsePreview | ToolChoiceWebSearchPreview20250311 | ToolChoiceImageGeneration | ToolChoiceCodeInterpreter | ToolChoiceParam;
1177
+ export declare function toolChoiceParamUnionSerializer(item: ToolChoiceParamUnion): any;
1178
+ export declare function toolChoiceParamUnionDeserializer(item: any): ToolChoiceParamUnion;
1179
+ /** Type of ToolChoiceParamType */
1180
+ 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";
1181
+ /** Constrains the tools available to the model to a pre-defined set. */
1182
+ export interface ToolChoiceAllowed extends ToolChoiceParam {
1183
+ /** Allowed tool configuration type. Always `allowed_tools`. */
1184
+ type: "allowed_tools";
981
1185
  /**
982
- * An alternative to sampling with temperature, called nucleus sampling,
983
- * where the model considers the results of the tokens with top_p probability
984
- * mass. So 0.1 means only the tokens comprising the top 10% probability mass
985
- * are considered.
986
- *
987
- * We generally recommend altering this or `temperature` but not both.
1186
+ * Constrains the tools available to the model to a pre-defined set.
1187
+ * `auto` allows the model to pick from among the allowed tools and generate a
1188
+ * message.
1189
+ * `required` requires the model to call one or more of the allowed tools.
988
1190
  */
989
- top_p?: number;
990
- /** **gpt-5 and o-series models only** Configuration options for reasoning models. */
991
- reasoning?: Reasoning;
1191
+ mode: "auto" | "required";
992
1192
  /**
993
- * An array of tools the model may call while generating a response. You
994
- * can specify which tool to use by setting the `tool_choice` parameter.
1193
+ * A list of tool definitions that the model should be allowed to call.
1194
+ * For the Responses API, the list of tool definitions might look like:
1195
+ * ```json
1196
+ * [
1197
+ * { "type": "function", "name": "get_weather" },
1198
+ * { "type": "mcp", "server_label": "deepwiki" },
1199
+ * { "type": "image_generation" }
1200
+ * ]
1201
+ * ```
995
1202
  */
996
- tools?: ToolUnion[];
997
- /** Configuration options for a text response from the model. Can be plain text or structured JSON data. */
998
- text?: {
999
- format?: TextResponseFormatConfigurationUnion;
1000
- };
1001
- /** Set of structured inputs that can participate in prompt template substitution or tool argument bindings. */
1002
- structured_inputs?: Record<string, StructuredInputDefinition>;
1203
+ tools: Record<string, unknown>[];
1003
1204
  }
1004
- export declare function promptAgentDefinitionSerializer(item: PromptAgentDefinition): any;
1005
- export declare function promptAgentDefinitionDeserializer(item: any): PromptAgentDefinition;
1205
+ export declare function toolChoiceAllowedSerializer(item: ToolChoiceAllowed): any;
1206
+ export declare function toolChoiceAllowedDeserializer(item: any): ToolChoiceAllowed;
1207
+ /** Use this option to force the model to call a specific function. */
1208
+ export interface ToolChoiceFunction extends ToolChoiceParam {
1209
+ /** For function calling, the type is always `function`. */
1210
+ type: "function";
1211
+ /** The name of the function to call. */
1212
+ name: string;
1213
+ }
1214
+ export declare function toolChoiceFunctionSerializer(item: ToolChoiceFunction): any;
1215
+ export declare function toolChoiceFunctionDeserializer(item: any): ToolChoiceFunction;
1216
+ /** Use this option to force the model to call a specific tool on a remote MCP server. */
1217
+ export interface ToolChoiceMCP extends ToolChoiceParam {
1218
+ /** For MCP tools, the type is always `mcp`. */
1219
+ type: "mcp";
1220
+ /** The label of the MCP server to use. */
1221
+ server_label: string;
1222
+ /** The name of the MCP server to use. */
1223
+ name?: string;
1224
+ }
1225
+ export declare function toolChoiceMCPSerializer(item: ToolChoiceMCP): any;
1226
+ export declare function toolChoiceMCPDeserializer(item: any): ToolChoiceMCP;
1227
+ /** Use this option to force the model to call a specific custom tool. */
1228
+ export interface ToolChoiceCustom extends ToolChoiceParam {
1229
+ /** For custom tool calling, the type is always `custom`. */
1230
+ type: "custom";
1231
+ /** The name of the custom tool to call. */
1232
+ name: string;
1233
+ }
1234
+ export declare function toolChoiceCustomSerializer(item: ToolChoiceCustom): any;
1235
+ export declare function toolChoiceCustomDeserializer(item: any): ToolChoiceCustom;
1236
+ /** Forces the model to call the apply_patch tool when executing a tool call. */
1237
+ export interface SpecificApplyPatchParam extends ToolChoiceParam {
1238
+ /** The tool to call. Always `apply_patch`. */
1239
+ type: "apply_patch";
1240
+ }
1241
+ export declare function specificApplyPatchParamSerializer(item: SpecificApplyPatchParam): any;
1242
+ export declare function specificApplyPatchParamDeserializer(item: any): SpecificApplyPatchParam;
1243
+ /** Forces the model to call the shell tool when a tool call is required. */
1244
+ export interface SpecificFunctionShellParam extends ToolChoiceParam {
1245
+ /** The tool to call. Always `shell`. */
1246
+ type: "shell";
1247
+ }
1248
+ export declare function specificFunctionShellParamSerializer(item: SpecificFunctionShellParam): any;
1249
+ export declare function specificFunctionShellParamDeserializer(item: any): SpecificFunctionShellParam;
1006
1250
  /**
1007
- * **gpt-5 and o-series models only**
1008
- * Configuration options for
1009
- * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
1251
+ * Indicates that the model should use a built-in tool to generate a response.
1252
+ * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
1010
1253
  */
1011
- export interface Reasoning {
1012
- effort?: ReasoningEffort;
1013
- /** The level of detail for the reasoning summary. */
1014
- summary?: "auto" | "concise" | "detailed";
1015
- /** Whether to generate a reasoning summary. */
1016
- generate_summary?: "auto" | "concise" | "detailed";
1254
+ export interface ToolChoiceFileSearch extends ToolChoiceParam {
1255
+ /** The type discriminator, always 'file_search'. */
1256
+ type: "file_search";
1017
1257
  }
1018
- export declare function reasoningSerializer(item: Reasoning): any;
1019
- export declare function reasoningDeserializer(item: any): Reasoning;
1258
+ export declare function toolChoiceFileSearchSerializer(item: ToolChoiceFileSearch): any;
1259
+ export declare function toolChoiceFileSearchDeserializer(item: any): ToolChoiceFileSearch;
1020
1260
  /**
1021
- * Constrains effort on reasoning for
1022
- * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
1023
- * Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing
1024
- * reasoning effort can result in faster responses and fewer tokens used
1025
- * on reasoning in a response.
1026
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
1027
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1028
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1029
- * - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
1261
+ * Indicates that the model should use a built-in tool to generate a response.
1262
+ * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
1030
1263
  */
1031
- export type ReasoningEffort = "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
1032
- /** model interface _PromptAgentDefinitionText */
1033
- export interface _PromptAgentDefinitionText {
1264
+ export interface ToolChoiceWebSearchPreview extends ToolChoiceParam {
1265
+ /** The type discriminator, always 'web_search_preview'. */
1266
+ type: "web_search_preview";
1267
+ }
1268
+ export declare function toolChoiceWebSearchPreviewSerializer(item: ToolChoiceWebSearchPreview): any;
1269
+ export declare function toolChoiceWebSearchPreviewDeserializer(item: any): ToolChoiceWebSearchPreview;
1270
+ /**
1271
+ * Indicates that the model should use a built-in tool to generate a response.
1272
+ * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
1273
+ */
1274
+ export interface ToolChoiceComputerUsePreview extends ToolChoiceParam {
1275
+ /** The type discriminator, always 'computer_use_preview'. */
1276
+ type: "computer_use_preview";
1277
+ }
1278
+ export declare function toolChoiceComputerUsePreviewSerializer(item: ToolChoiceComputerUsePreview): any;
1279
+ export declare function toolChoiceComputerUsePreviewDeserializer(item: any): ToolChoiceComputerUsePreview;
1280
+ /**
1281
+ * Indicates that the model should use a built-in tool to generate a response.
1282
+ * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
1283
+ */
1284
+ export interface ToolChoiceWebSearchPreview20250311 extends ToolChoiceParam {
1285
+ /** The type discriminator, always 'web_search_preview_2025_03_11'. */
1286
+ type: "web_search_preview_2025_03_11";
1287
+ }
1288
+ export declare function toolChoiceWebSearchPreview20250311Serializer(item: ToolChoiceWebSearchPreview20250311): any;
1289
+ export declare function toolChoiceWebSearchPreview20250311Deserializer(item: any): ToolChoiceWebSearchPreview20250311;
1290
+ /**
1291
+ * Indicates that the model should use a built-in tool to generate a response.
1292
+ * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
1293
+ */
1294
+ export interface ToolChoiceImageGeneration extends ToolChoiceParam {
1295
+ /** The type discriminator, always 'image_generation'. */
1296
+ type: "image_generation";
1297
+ }
1298
+ export declare function toolChoiceImageGenerationSerializer(item: ToolChoiceImageGeneration): any;
1299
+ export declare function toolChoiceImageGenerationDeserializer(item: any): ToolChoiceImageGeneration;
1300
+ /**
1301
+ * Indicates that the model should use a built-in tool to generate a response.
1302
+ * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
1303
+ */
1304
+ export interface ToolChoiceCodeInterpreter extends ToolChoiceParam {
1305
+ /** The type discriminator, always 'code_interpreter'. */
1306
+ type: "code_interpreter";
1307
+ }
1308
+ export declare function toolChoiceCodeInterpreterSerializer(item: ToolChoiceCodeInterpreter): any;
1309
+ export declare function toolChoiceCodeInterpreterDeserializer(item: any): ToolChoiceCodeInterpreter;
1310
+ /** Configuration options for a text response from the model. Can be plain text or structured JSON data. */
1311
+ export interface PromptAgentDefinitionTextOptions {
1312
+ /** The text format options for the prompt agent. */
1034
1313
  format?: TextResponseFormatConfigurationUnion;
1035
1314
  }
1036
- export declare function _promptAgentDefinitionTextSerializer(item: _PromptAgentDefinitionText): any;
1037
- export declare function _promptAgentDefinitionTextDeserializer(item: any): _PromptAgentDefinitionText;
1315
+ export declare function promptAgentDefinitionTextOptionsSerializer(item: PromptAgentDefinitionTextOptions): any;
1316
+ export declare function promptAgentDefinitionTextOptionsDeserializer(item: any): PromptAgentDefinitionTextOptions;
1038
1317
  /**
1039
1318
  * An object specifying the format that the model must output.
1040
1319
  * Configuring `{ "type": "json_schema" }` enables Structured Outputs,
@@ -1047,6 +1326,7 @@ export declare function _promptAgentDefinitionTextDeserializer(item: any): _Prom
1047
1326
  * is preferred for models that support it.
1048
1327
  */
1049
1328
  export interface TextResponseFormatConfiguration {
1329
+ /** The type discriminator, always 'text'. */
1050
1330
  type: TextResponseFormatConfigurationType;
1051
1331
  }
1052
1332
  export declare function textResponseFormatConfigurationSerializer(item: TextResponseFormatConfiguration): any;
@@ -1074,9 +1354,9 @@ export interface TextResponseFormatJsonSchema extends TextResponseFormatConfigur
1074
1354
  * underscores and dashes, with a maximum length of 64.
1075
1355
  */
1076
1356
  name: string;
1077
- /** The JSON Schema describing the response format. */
1078
- schema: Record<string, any>;
1079
- /** Whether to enforce strict validation. */
1357
+ /** The JSON schema that the response must conform to. */
1358
+ schema: Record<string, unknown>;
1359
+ /** Whether the response must strictly conform to the schema. */
1080
1360
  strict?: boolean;
1081
1361
  }
1082
1362
  export declare function textResponseFormatJsonSchemaSerializer(item: TextResponseFormatJsonSchema): any;
@@ -1109,40 +1389,81 @@ export interface StructuredInputDefinition {
1109
1389
  /** The default value for the input if no run-time value is provided. */
1110
1390
  default_value?: unknown;
1111
1391
  /** The JSON schema for the structured input (optional). */
1112
- schema?: unknown;
1392
+ schema?: Record<string, unknown>;
1113
1393
  /** Whether the input property is required when the agent is invoked. */
1114
1394
  required?: boolean;
1115
1395
  }
1116
1396
  export declare function structuredInputDefinitionSerializer(item: StructuredInputDefinition): any;
1117
1397
  export declare function structuredInputDefinitionDeserializer(item: any): StructuredInputDefinition;
1398
+ /** The workflow agent definition. */
1399
+ export interface WorkflowAgentDefinition extends AgentDefinition {
1400
+ /** The kind discriminator, always 'workflow'. */
1401
+ kind: "workflow";
1402
+ /** The CSDL YAML definition of the workflow. */
1403
+ workflow?: string;
1404
+ }
1405
+ export declare function workflowAgentDefinitionSerializer(item: WorkflowAgentDefinition): any;
1406
+ export declare function workflowAgentDefinitionDeserializer(item: any): WorkflowAgentDefinition;
1407
+ /** The hosted agent definition. */
1408
+ export interface HostedAgentDefinition extends AgentDefinition {
1409
+ /** The kind discriminator, always 'hosted'. */
1410
+ kind: "hosted";
1411
+ /**
1412
+ * An array of tools the hosted agent's model may call while generating a response. You
1413
+ * can specify which tool to use by setting the `tool_choice` parameter.
1414
+ */
1415
+ tools?: ToolUnion[];
1416
+ /** The protocols that the agent supports for ingress communication of the containers. */
1417
+ container_protocol_versions: ProtocolVersionRecord[];
1418
+ /** The CPU configuration for the hosted agent. */
1419
+ cpu: string;
1420
+ /** The memory configuration for the hosted agent. */
1421
+ memory: string;
1422
+ /** Environment variables to set in the hosted agent container. */
1423
+ environment_variables?: Record<string, string>;
1424
+ /** The image ID for the agent, applicable to image-based hosted agents. */
1425
+ image?: string;
1426
+ }
1427
+ export declare function hostedAgentDefinitionSerializer(item: HostedAgentDefinition): any;
1428
+ export declare function hostedAgentDefinitionDeserializer(item: any): HostedAgentDefinition;
1429
+ export declare function protocolVersionRecordArraySerializer(result: Array<ProtocolVersionRecord>): any[];
1430
+ export declare function protocolVersionRecordArrayDeserializer(result: Array<ProtocolVersionRecord>): any[];
1431
+ /** A record mapping for a single protocol and its version. */
1432
+ export interface ProtocolVersionRecord {
1433
+ /** The protocol type. */
1434
+ protocol: AgentProtocol;
1435
+ /** The version string for the protocol, e.g. 'v0.1.1'. */
1436
+ version: string;
1437
+ }
1438
+ export declare function protocolVersionRecordSerializer(item: ProtocolVersionRecord): any;
1439
+ export declare function protocolVersionRecordDeserializer(item: any): ProtocolVersionRecord;
1440
+ /** Type of AgentProtocol */
1441
+ export type AgentProtocol = "activity_protocol" | "responses";
1118
1442
  /** Error response for API failures. */
1119
1443
  export interface ApiErrorResponse {
1120
- error: ApiError;
1444
+ /** The error details. */
1445
+ error: ErrorModel;
1121
1446
  }
1122
1447
  export declare function apiErrorResponseDeserializer(item: any): ApiErrorResponse;
1123
- /** model interface ApiError */
1124
- export interface ApiError {
1448
+ /** model interface ErrorModel */
1449
+ export interface ErrorModel {
1125
1450
  /** The error code. */
1126
1451
  code: string;
1127
- /** A human-readable description of the error. */
1452
+ /** The error message. */
1128
1453
  message: string;
1129
- /** The target of the error, if applicable. */
1130
- target?: string;
1131
- /** Additional details about the error. */
1132
- details: ApiError[];
1133
- /** The inner error, if any. */
1134
- innererror?: ApiInnerError;
1135
- }
1136
- export declare function apiErrorDeserializer(item: any): ApiError;
1137
- export declare function apiErrorArrayDeserializer(result: Array<ApiError>): any[];
1138
- /** model interface ApiInnerError */
1139
- export interface ApiInnerError {
1140
- /** The error code. */
1141
- code: string;
1142
- /** The inner error, if any. */
1143
- innererror?: ApiInnerError;
1144
- }
1145
- export declare function apiInnerErrorDeserializer(item: any): ApiInnerError;
1454
+ /** The parameter that caused the error. */
1455
+ param?: string;
1456
+ /** The error type. */
1457
+ type?: string;
1458
+ /** The error details. */
1459
+ details?: ErrorModel[];
1460
+ /** Additional information about the error. */
1461
+ additionalInfo?: Record<string, unknown>;
1462
+ /** Debug information for the error. */
1463
+ debugInfo?: Record<string, unknown>;
1464
+ }
1465
+ export declare function errorDeserializer(item: any): ErrorModel;
1466
+ export declare function errorArrayDeserializer(result: Array<ErrorModel>): any[];
1146
1467
  /** A deleted agent Object */
1147
1468
  export interface DeleteAgentResponse {
1148
1469
  /** The object type. Always 'agent.deleted'. */
@@ -1165,10 +1486,10 @@ export interface _AgentsPagedResultAgentObject {
1165
1486
  has_more: boolean;
1166
1487
  }
1167
1488
  export declare function _agentsPagedResultAgentObjectDeserializer(item: any): _AgentsPagedResultAgentObject;
1168
- export declare function agentObjectArrayDeserializer(result: Array<Agent>): any[];
1489
+ export declare function agentArrayDeserializer(result: Array<Agent>): any[];
1169
1490
  /** A deleted agent version Object */
1170
1491
  export interface DeleteAgentVersionResponse {
1171
- /** The object type. Always 'agent.deleted'. */
1492
+ /** The object type. Always 'agent.version.deleted'. */
1172
1493
  object: "agent.version.deleted";
1173
1494
  /** The name of the agent. */
1174
1495
  name: string;
@@ -1190,1346 +1511,161 @@ export interface _AgentsPagedResultAgentVersionObject {
1190
1511
  has_more: boolean;
1191
1512
  }
1192
1513
  export declare function _agentsPagedResultAgentVersionObjectDeserializer(item: any): _AgentsPagedResultAgentVersionObject;
1193
- export declare function agentVersionObjectArrayDeserializer(result: Array<AgentVersion>): any[];
1194
- /** Base definition for memory store configurations. */
1195
- export interface MemoryStoreDefinition {
1196
- /** The kind of the memory store. */
1197
- /** The discriminator possible values: default */
1198
- kind: MemoryStoreKind;
1199
- }
1200
- export declare function memoryStoreDefinitionSerializer(item: MemoryStoreDefinition): any;
1201
- export declare function memoryStoreDefinitionDeserializer(item: any): MemoryStoreDefinition;
1202
- /** Alias for MemoryStoreDefinitionUnion */
1203
- export type MemoryStoreDefinitionUnion = MemoryStoreDefaultDefinition | MemoryStoreDefinition;
1204
- export declare function memoryStoreDefinitionUnionSerializer(item: MemoryStoreDefinitionUnion): any;
1205
- export declare function memoryStoreDefinitionUnionDeserializer(item: any): MemoryStoreDefinitionUnion;
1206
- /** The type of memory store implementation to use. */
1207
- export type MemoryStoreKind = "default";
1208
- /** Default memory store implementation. */
1209
- export interface MemoryStoreDefaultDefinition extends MemoryStoreDefinition {
1210
- /** The kind of the memory store. */
1211
- kind: "default";
1212
- /** The name or identifier of the chat completion model deployment used for memory processing. */
1213
- chat_model: string;
1214
- /** The name or identifier of the embedding model deployment used for memory processing. */
1215
- embedding_model: string;
1216
- /** Default memory store options. */
1217
- options?: MemoryStoreDefaultOptions;
1218
- }
1219
- export declare function memoryStoreDefaultDefinitionSerializer(item: MemoryStoreDefaultDefinition): any;
1220
- export declare function memoryStoreDefaultDefinitionDeserializer(item: any): MemoryStoreDefaultDefinition;
1221
- /** Default memory store configurations. */
1222
- export interface MemoryStoreDefaultOptions {
1223
- /** Whether to enable user profile extraction and storage. Default is true. */
1224
- user_profile_enabled: boolean;
1225
- /** Specific categories or types of user profile information to extract and store. */
1226
- user_profile_details?: string;
1227
- /** Whether to enable chat summary extraction and storage. Default is true. */
1228
- chat_summary_enabled: boolean;
1229
- }
1230
- export declare function memoryStoreDefaultOptionsSerializer(item: MemoryStoreDefaultOptions): any;
1231
- export declare function memoryStoreDefaultOptionsDeserializer(item: any): MemoryStoreDefaultOptions;
1232
- /** A memory store that can store and retrieve user memories. */
1233
- export interface MemoryStore {
1234
- /** The object type, which is always 'memory_store'. */
1235
- object: "memory_store";
1236
- /** The unique identifier of the memory store. */
1237
- id: string;
1238
- /** The Unix timestamp (seconds) when the memory store was created. */
1239
- created_at: Date;
1240
- /** The Unix timestamp (seconds) when the memory store was last updated. */
1241
- updated_at: Date;
1242
- /** The name of the memory store. */
1243
- name: string;
1244
- /** A human-readable description of the memory store. */
1514
+ export declare function agentVersionArrayDeserializer(result: Array<AgentVersion>): any[];
1515
+ /** Evaluation rule model. */
1516
+ export interface EvaluationRule {
1517
+ /** Unique identifier for the evaluation rule. */
1518
+ readonly id: string;
1519
+ /** Display Name for the evaluation rule. */
1520
+ displayName?: string;
1521
+ /** Description for the evaluation rule. */
1245
1522
  description?: string;
1246
- /** Arbitrary key-value metadata to associate with the memory store. */
1247
- metadata?: Record<string, string>;
1248
- /** The definition of the memory store. */
1249
- definition: MemoryStoreDefinitionUnion;
1523
+ /** Definition of the evaluation rule action. */
1524
+ action: EvaluationRuleActionUnion;
1525
+ /** Filter condition of the evaluation rule. */
1526
+ filter?: EvaluationRuleFilter;
1527
+ /** Event type that the evaluation rule applies to. */
1528
+ eventType: EvaluationRuleEventType;
1529
+ /** Indicates whether the evaluation rule is enabled. Default is true. */
1530
+ enabled: boolean;
1531
+ /** System metadata for the evaluation rule. */
1532
+ readonly systemData: Record<string, string>;
1250
1533
  }
1251
- export declare function memoryStoreObjectDeserializer(item: any): MemoryStore;
1252
- /** The response data for a requested list of items. */
1253
- export interface _AgentsPagedResultMemoryStore {
1254
- /** The requested list of items. */
1255
- data: MemoryStore[];
1256
- /** The first ID represented in this list. */
1257
- first_id?: string;
1258
- /** The last ID represented in this list. */
1259
- last_id?: string;
1260
- /** A value indicating whether there are additional values available not captured in this list. */
1261
- has_more: boolean;
1534
+ export declare function evaluationRuleSerializer(item: EvaluationRule): any;
1535
+ export declare function evaluationRuleDeserializer(item: any): EvaluationRule;
1536
+ /** Evaluation action model. */
1537
+ export interface EvaluationRuleAction {
1538
+ /** Type of the evaluation action. */
1539
+ /** The discriminator possible values: continuousEvaluation, humanEvaluationPreview */
1540
+ type: EvaluationRuleActionType;
1262
1541
  }
1263
- export declare function _agentsPagedResultMemoryStoreObjectDeserializer(item: any): _AgentsPagedResultMemoryStore;
1264
- export declare function memoryStoreObjectArrayDeserializer(result: Array<MemoryStore>): any[];
1265
- /** model interface DeleteMemoryStoreResponse */
1266
- export interface DeleteMemoryStoreResponse {
1267
- /** The object type. Always 'memory_store.deleted'. */
1268
- object: "memory_store.deleted";
1269
- /** The name of the memory store. */
1270
- name: string;
1271
- /** Whether the memory store was successfully deleted. */
1272
- deleted: boolean;
1542
+ export declare function evaluationRuleActionSerializer(item: EvaluationRuleAction): any;
1543
+ export declare function evaluationRuleActionDeserializer(item: any): EvaluationRuleAction;
1544
+ /** Alias for EvaluationRuleActionUnion */
1545
+ export type EvaluationRuleActionUnion = ContinuousEvaluationRuleAction | HumanEvaluationPreviewRuleAction | EvaluationRuleAction;
1546
+ export declare function evaluationRuleActionUnionSerializer(item: EvaluationRuleActionUnion): any;
1547
+ export declare function evaluationRuleActionUnionDeserializer(item: any): EvaluationRuleActionUnion;
1548
+ /** Type of the evaluation action. */
1549
+ export type EvaluationRuleActionType = "continuousEvaluation" | "humanEvaluationPreview";
1550
+ /** Evaluation rule action for continuous evaluation. */
1551
+ export interface ContinuousEvaluationRuleAction extends EvaluationRuleAction {
1552
+ /** The type discriminator, always 'continuous_evaluation'. */
1553
+ type: "continuousEvaluation";
1554
+ /** Eval Id to add continuous evaluation runs to. */
1555
+ evalId: string;
1556
+ /** Maximum number of evaluation runs allowed per hour. */
1557
+ maxHourlyRuns?: number;
1273
1558
  }
1274
- export declare function deleteMemoryStoreResponseDeserializer(item: any): DeleteMemoryStoreResponse;
1275
- /** Content item used to generate a response. */
1276
- export interface Item {
1277
- type: ItemType;
1278
- }
1279
- export declare function itemSerializer(item: Item): any;
1280
- /** Alias for ItemUnion */
1281
- export type ItemUnion = MemorySearchToolCallItemParam | InputMessage | ComputerCallOutputItemParam | FunctionCallOutputItemParam | CompactionSummaryItemParam | FunctionShellCallItemParam | FunctionShellCallOutputItemParam | ApplyPatchToolCallItemParam | ApplyPatchToolCallOutputItemParam | MCPApprovalResponse | ItemOutputMessage | ItemFileSearchToolCall | ItemComputerToolCall | ItemWebSearchToolCall | ItemFunctionToolCall | ItemReasoningItem | ItemImageGenToolCall | ItemCodeInterpreterToolCall | ItemLocalShellToolCall | ItemLocalShellToolCallOutput | ItemMcpListTools | ItemMcpApprovalRequest | ItemMcpToolCall | ItemCustomToolCallOutput | ItemCustomToolCall | Item;
1282
- export declare function itemUnionSerializer(item: ItemUnion): any;
1283
- /** Type of ItemType */
1284
- export type ItemType = "message" | "output_message" | "file_search_call" | "computer_call" | "computer_call_output" | "web_search_call" | "function_call" | "function_call_output" | "reasoning" | "compaction" | "image_generation_call" | "code_interpreter_call" | "local_shell_call" | "local_shell_call_output" | "shell_call" | "shell_call_output" | "apply_patch_call" | "apply_patch_call_output" | "mcp_list_tools" | "mcp_approval_request" | "mcp_approval_response" | "mcp_call" | "custom_tool_call_output" | "custom_tool_call" | "structured_outputs" | "workflow_action" | "memory_search_call" | "oauth_consent_request";
1285
- /** model interface MemorySearchToolCallItemParam */
1286
- export interface MemorySearchToolCallItemParam extends Item {
1287
- type: "memory_search_call";
1288
- /** The results returned from the memory search. */
1289
- results?: MemorySearchItem[] | null;
1290
- }
1291
- export declare function memorySearchToolCallItemParamSerializer(item: MemorySearchToolCallItemParam): any;
1292
- export declare function memorySearchItemArraySerializer(result: Array<MemorySearchItem>): any[];
1293
- export declare function memorySearchItemArrayDeserializer(result: Array<MemorySearchItem>): any[];
1294
- /** A retrieved memory item from memory search. */
1295
- export interface MemorySearchItem {
1296
- /** Retrieved memory item. */
1297
- memory_item: MemoryItemUnion;
1559
+ export declare function continuousEvaluationRuleActionSerializer(item: ContinuousEvaluationRuleAction): any;
1560
+ export declare function continuousEvaluationRuleActionDeserializer(item: any): ContinuousEvaluationRuleAction;
1561
+ /** Evaluation rule action for human evaluation. */
1562
+ export interface HumanEvaluationPreviewRuleAction extends EvaluationRuleAction {
1563
+ /** The type discriminator, always 'human_evaluation_preview'. */
1564
+ type: "humanEvaluationPreview";
1565
+ /** Human evaluation template Id. */
1566
+ templateId: string;
1298
1567
  }
1299
- export declare function memorySearchItemSerializer(item: MemorySearchItem): any;
1300
- export declare function memorySearchItemDeserializer(item: any): MemorySearchItem;
1301
- /** A single memory item stored in the memory store, containing content and metadata. */
1302
- export interface MemoryItem {
1303
- /** The unique ID of the memory item. */
1304
- memory_id: string;
1305
- /** The last update time of the memory item. */
1306
- updated_at: Date;
1307
- /** The namespace that logically groups and isolates memories, such as a user ID. */
1308
- scope: string;
1309
- /** The content of the memory. */
1310
- content: string;
1311
- /** The kind of the memory item. */
1312
- /** The discriminator possible values: user_profile, chat_summary */
1313
- kind: MemoryItemKind;
1568
+ export declare function humanEvaluationPreviewRuleActionSerializer(item: HumanEvaluationPreviewRuleAction): any;
1569
+ export declare function humanEvaluationPreviewRuleActionDeserializer(item: any): HumanEvaluationPreviewRuleAction;
1570
+ /** Evaluation filter model. */
1571
+ export interface EvaluationRuleFilter {
1572
+ /** Filter by agent name. */
1573
+ agentName: string;
1314
1574
  }
1315
- export declare function memoryItemSerializer(item: MemoryItem): any;
1316
- export declare function memoryItemDeserializer(item: any): MemoryItem;
1317
- /** Alias for MemoryItemUnion */
1318
- export type MemoryItemUnion = UserProfileMemoryItem | ChatSummaryMemoryItem | MemoryItem;
1319
- export declare function memoryItemUnionSerializer(item: MemoryItemUnion): any;
1320
- export declare function memoryItemUnionDeserializer(item: any): MemoryItemUnion;
1321
- /** Memory item kind. */
1322
- export type MemoryItemKind = "user_profile" | "chat_summary";
1323
- /** A memory item specifically containing user profile information extracted from conversations, such as preferences, interests, and personal details. */
1324
- export interface UserProfileMemoryItem extends MemoryItem {
1325
- /** The kind of the memory item. */
1326
- kind: "user_profile";
1575
+ export declare function evaluationRuleFilterSerializer(item: EvaluationRuleFilter): any;
1576
+ export declare function evaluationRuleFilterDeserializer(item: any): EvaluationRuleFilter;
1577
+ /** Type of the evaluation rule event. */
1578
+ export type EvaluationRuleEventType = "responseCompleted" | "manual";
1579
+ /** Paged collection of EvaluationRule items */
1580
+ export interface _PagedEvaluationRule {
1581
+ /** The EvaluationRule items on this page */
1582
+ value: EvaluationRule[];
1583
+ /** The link to the next page of items */
1584
+ nextLink?: string;
1327
1585
  }
1328
- export declare function userProfileMemoryItemSerializer(item: UserProfileMemoryItem): any;
1329
- export declare function userProfileMemoryItemDeserializer(item: any): UserProfileMemoryItem;
1330
- /** A memory item containing a summary extracted from conversations. */
1331
- export interface ChatSummaryMemoryItem extends MemoryItem {
1332
- /** The kind of the memory item. */
1333
- kind: "chat_summary";
1586
+ export declare function _pagedEvaluationRuleDeserializer(item: any): _PagedEvaluationRule;
1587
+ export declare function evaluationRuleArraySerializer(result: Array<EvaluationRule>): any[];
1588
+ export declare function evaluationRuleArrayDeserializer(result: Array<EvaluationRule>): any[];
1589
+ /** Response from the list and get connections operations */
1590
+ export interface Connection {
1591
+ /** The friendly name of the connection, provided by the user. */
1592
+ readonly name: string;
1593
+ /** A unique identifier for the connection, generated by the service */
1594
+ readonly id: string;
1595
+ /** Category of the connection */
1596
+ readonly type: ConnectionType;
1597
+ /** The connection URL to be used for this service */
1598
+ readonly target: string;
1599
+ /** Whether the connection is tagged as the default connection of its type */
1600
+ readonly isDefault: boolean;
1601
+ /** The credentials used by the connection */
1602
+ readonly credentials: BaseCredentialsUnion;
1603
+ /** Metadata of the connection */
1604
+ readonly metadata: Record<string, string>;
1334
1605
  }
1335
- export declare function chatSummaryMemoryItemSerializer(item: ChatSummaryMemoryItem): any;
1336
- export declare function chatSummaryMemoryItemDeserializer(item: any): ChatSummaryMemoryItem;
1337
- /**
1338
- * A message input to the model with a role indicating instruction following
1339
- * hierarchy. Instructions given with the `developer` or `system` role take
1340
- * precedence over instructions given with the `user` role.
1341
- */
1342
- export interface InputMessage extends Item {
1343
- /** The type of the message input. Always set to `message`. */
1344
- type: "message";
1345
- /** The role of the message input. One of `user`, `system`, or `developer`. */
1346
- role: "user" | "system" | "developer";
1347
- /**
1348
- * The status of item. One of `in_progress`, `completed`, or
1349
- * `incomplete`. Populated when items are returned via API.
1350
- */
1351
- status?: "in_progress" | "completed" | "incomplete";
1352
- /** The content of the message input. */
1353
- content: InputContentUnion[];
1354
- }
1355
- export declare function inputMessageSerializer(item: InputMessage): any;
1356
- export declare function inputContentUnionArraySerializer(result: Array<InputContentUnion>): any[];
1357
- /** model interface InputContent */
1358
- export interface InputContent {
1359
- type: InputContentType;
1360
- }
1361
- export declare function inputContentSerializer(item: InputContent): any;
1362
- /** Alias for InputContentUnion */
1363
- export type InputContentUnion = InputContentInputTextContent | InputContentInputImageContent | InputContentInputFileContent | InputContent;
1364
- export declare function inputContentUnionSerializer(item: InputContentUnion): any;
1365
- /** Type of InputContentType */
1366
- export type InputContentType = "input_text" | "input_image" | "input_file";
1367
- /** A text input to the model. */
1368
- export interface InputContentInputTextContent extends InputContent {
1369
- /** The type of the input item. Always `input_text`. */
1370
- type: "input_text";
1371
- /** The text input to the model. */
1372
- text: string;
1373
- }
1374
- export declare function inputContentInputTextContentSerializer(item: InputContentInputTextContent): any;
1375
- /** An image input to the model. Learn about [image inputs](https://platform.openai.com/docs/guides/vision). */
1376
- export interface InputContentInputImageContent extends InputContent {
1377
- /** The type of the input item. Always `input_image`. */
1378
- type: "input_image";
1379
- /** The URL of the image to be sent to the model. */
1380
- image_url?: string;
1381
- /** The ID of the image file to be sent to the model. */
1382
- file_id?: string;
1383
- /** The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`. */
1384
- detail: ImageDetail;
1385
- }
1386
- export declare function inputContentInputImageContentSerializer(item: InputContentInputImageContent): any;
1387
- /** Type of ImageDetail */
1388
- export type ImageDetail = "low" | "high" | "auto";
1389
- /** A file input to the model. */
1390
- export interface InputContentInputFileContent extends InputContent {
1391
- /** The type of the input item. Always `input_file`. */
1392
- type: "input_file";
1393
- /** The ID of the file to be sent to the model. */
1394
- file_id?: string;
1395
- /** The name of the file to be sent to the model. */
1396
- filename?: string;
1397
- /** The URL of the file to be sent to the model. */
1398
- file_url?: string;
1399
- /** The content of the file to be sent to the model. */
1400
- file_data?: string;
1401
- }
1402
- export declare function inputContentInputFileContentSerializer(item: InputContentInputFileContent): any;
1403
- /** The output of a computer tool call. */
1404
- export interface ComputerCallOutputItemParam extends Item {
1405
- /** The unique ID of the computer tool call generated by the model. */
1406
- id?: string;
1407
- /** The ID of the computer tool call that produced the output. */
1408
- call_id: string;
1409
- /** The type of the computer tool call output. Always `computer_call_output`. */
1410
- type: "computer_call_output";
1411
- /** The screenshot image output of the computer tool call. */
1412
- output: ComputerScreenshotImage;
1413
- /** Acknowledged safety checks for the computer call. */
1414
- acknowledged_safety_checks?: ComputerCallSafetyCheckParam[];
1415
- /** The status of item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API. */
1416
- status?: FunctionCallItemStatus;
1417
- }
1418
- export declare function computerCallOutputItemParamSerializer(item: ComputerCallOutputItemParam): any;
1419
- /** A computer screenshot image used with the computer use tool. */
1420
- export interface ComputerScreenshotImage {
1421
- /**
1422
- * Specifies the event type. For a computer screenshot, this property is
1423
- * always set to `computer_screenshot`.
1424
- */
1425
- type: "computer_screenshot";
1426
- /** The URL of the screenshot image. */
1427
- image_url?: string;
1428
- /** The identifier of an uploaded file that contains the screenshot. */
1429
- file_id?: string;
1606
+ export declare function connectionDeserializer(item: any): Connection;
1607
+ /** The Type (or category) of the connection */
1608
+ export type ConnectionType = "AzureOpenAI" | "AzureBlob" | "AzureStorageAccount" | "CognitiveSearch" | "CosmosDB" | "ApiKey" | "AppConfig" | "AppInsights" | "CustomKeys" | "RemoteTool_Preview";
1609
+ /** A base class for connection credentials */
1610
+ export interface BaseCredentials {
1611
+ /** The type of credential used by the connection */
1612
+ /** The discriminator possible values: ApiKey, AAD, CustomKeys, SAS, None, AgenticIdentityToken_Preview */
1613
+ readonly type: CredentialType;
1430
1614
  }
1431
- export declare function computerScreenshotImageSerializer(item: ComputerScreenshotImage): any;
1432
- export declare function computerCallSafetyCheckParamArraySerializer(result: Array<ComputerCallSafetyCheckParam>): any[];
1433
- /** A pending safety check for the computer call. */
1434
- export interface ComputerCallSafetyCheckParam {
1435
- /** The ID of the pending safety check. */
1436
- id: string;
1437
- /** The code representing the safety check result. */
1438
- code?: string;
1439
- /** A human-readable message providing additional details about the safety check. */
1440
- message?: string;
1441
- }
1442
- export declare function computerCallSafetyCheckParamSerializer(item: ComputerCallSafetyCheckParam): any;
1443
- /** Type of FunctionCallItemStatus */
1444
- export type FunctionCallItemStatus = "in_progress" | "completed" | "incomplete";
1445
- /** The output of a function tool call. */
1446
- export interface FunctionCallOutputItemParam extends Item {
1447
- /** The unique ID of the function tool call output item. */
1448
- id?: string;
1449
- /** The unique ID of the function tool call generated by the model. */
1450
- call_id: string;
1451
- /** The type of the function tool call output. Always `function_call_output`. */
1452
- type: "function_call_output";
1453
- /** Text, image, or file output of the function tool call. */
1454
- output: string | (InputTextContentParam | InputImageContentParamAutoParam | InputFileContentParam)[];
1455
- /** The status of item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API. */
1456
- status?: FunctionCallItemStatus;
1457
- }
1458
- export declare function functionCallOutputItemParamSerializer(item: FunctionCallOutputItemParam): any;
1459
- /** Alias for _FunctionCallOutputItemParamOutput */
1460
- export type _FunctionCallOutputItemParamOutput = string | (InputTextContentParam | InputImageContentParamAutoParam | InputFileContentParam)[];
1461
- export declare function _functionCallOutputItemParamOutputSerializer(item: _FunctionCallOutputItemParamOutput): any;
1462
- export declare function _functionCallOutputItemParamOutput1ArraySerializer(result: Array<_FunctionCallOutputItemParamOutput1>): any[];
1463
- /** Alias for _FunctionCallOutputItemParamOutput1 */
1464
- export type _FunctionCallOutputItemParamOutput1 = InputTextContentParam | InputImageContentParamAutoParam | InputFileContentParam;
1465
- export declare function _functionCallOutputItemParamOutput1Serializer(item: _FunctionCallOutputItemParamOutput1): any;
1466
- /** A text input to the model. */
1467
- export interface InputTextContentParam {
1468
- /** The type of the input item. Always `input_text`. */
1469
- type: "input_text";
1470
- /** The text input to the model. */
1471
- text: string;
1472
- }
1473
- export declare function inputTextContentParamSerializer(item: InputTextContentParam): any;
1474
- /** An image input to the model. Learn about [image inputs](https://platform.openai.com/docs/guides/vision) */
1475
- export interface InputImageContentParamAutoParam {
1476
- /** The type of the input item. Always `input_image`. */
1477
- type: "input_image";
1478
- /** The URL of the image to be sent to the model. */
1479
- image_url?: string;
1480
- /** The ID of the image file to be sent to the model. */
1481
- file_id?: string;
1482
- /** The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`. */
1483
- detail?: DetailEnum;
1484
- }
1485
- export declare function inputImageContentParamAutoParamSerializer(item: InputImageContentParamAutoParam): any;
1486
- /** Type of DetailEnum */
1487
- export type DetailEnum = "low" | "high" | "auto";
1488
- /** A file input to the model. */
1489
- export interface InputFileContentParam {
1490
- /** The type of the input item. Always `input_file`. */
1491
- type: "input_file";
1492
- /** The ID of the file to be sent to the model. */
1493
- file_id?: string;
1494
- /** The name of the file to be sent to the model. */
1495
- filename?: string;
1496
- /** The content of the file to be sent to the model. */
1497
- file_data?: string;
1498
- /** The URL of the file to be sent to the model. */
1499
- file_url?: string;
1500
- }
1501
- export declare function inputFileContentParamSerializer(item: InputFileContentParam): any;
1502
- /** A compaction item generated by the [`v1/responses/compact` API](https://platform.openai.com/docs/api-reference/responses/compact). */
1503
- export interface CompactionSummaryItemParam extends Item {
1504
- /** The unique ID of the compaction item. */
1505
- id?: string;
1506
- /** The type of the item. Always `compaction`. */
1507
- type: "compaction";
1508
- encrypted_content: string;
1509
- }
1510
- export declare function compactionSummaryItemParamSerializer(item: CompactionSummaryItemParam): any;
1511
- /** A tool representing a request to execute one or more shell commands. */
1512
- export interface FunctionShellCallItemParam extends Item {
1513
- /** The unique ID of the shell tool call item. */
1514
- id?: string;
1515
- /** The unique ID of the shell tool call generated by the model. */
1516
- call_id: string;
1517
- /** The type of the item. Always `shell_call`. */
1518
- type: "shell_call";
1519
- /** The shell commands and limits that describe how to run the tool call. */
1520
- action: FunctionShellActionParam;
1521
- /** The status of item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API. */
1522
- status?: FunctionShellCallItemStatus;
1523
- }
1524
- export declare function functionShellCallItemParamSerializer(item: FunctionShellCallItemParam): any;
1525
- /** Commands and limits describing how to run the shell tool call. */
1526
- export interface FunctionShellActionParam {
1527
- /** Ordered shell commands for the execution environment to run. */
1528
- commands: string[];
1529
- /** The maximum execution time for the shell commands, in milliseconds. Defaults to 10000 (10 seconds). */
1530
- timeout_ms?: number;
1531
- /** The maximum length of combined stdout and stderr output to capture, in characters. Defaults to 1000. */
1532
- max_output_length?: number;
1533
- }
1534
- export declare function functionShellActionParamSerializer(item: FunctionShellActionParam): any;
1535
- /** Status values reported for shell tool calls. */
1536
- export type FunctionShellCallItemStatus = "in_progress" | "completed" | "incomplete";
1537
- /** The streamed output items emitted by a shell tool call. */
1538
- export interface FunctionShellCallOutputItemParam extends Item {
1539
- /** The unique ID of the shell tool call output item. */
1540
- id?: string;
1541
- /** The unique ID of the shell tool call generated by the model. */
1542
- call_id: string;
1543
- /** The type of the item. Always `shell_call_output`. */
1544
- type: "shell_call_output";
1545
- /** Captured chunks of stdout and stderr output, along with their associated outcomes. */
1546
- output: FunctionShellCallOutputContentParam[];
1547
- /** The maximum length of combined stdout and stderr output to capture, in characters. */
1548
- max_output_length?: number;
1549
- }
1550
- export declare function functionShellCallOutputItemParamSerializer(item: FunctionShellCallOutputItemParam): any;
1551
- export declare function functionShellCallOutputContentParamArraySerializer(result: Array<FunctionShellCallOutputContentParam>): any[];
1552
- /** Captured stdout and stderr for a portion of a shell tool call output. */
1553
- export interface FunctionShellCallOutputContentParam {
1554
- /** Captured stdout output for the shell call. */
1555
- stdout: string;
1556
- /** Captured stderr output for the shell call. */
1557
- stderr: string;
1558
- /** The exit or timeout outcome associated with this shell call. */
1559
- outcome: FunctionShellCallOutputOutcomeParamUnion;
1560
- }
1561
- export declare function functionShellCallOutputContentParamSerializer(item: FunctionShellCallOutputContentParam): any;
1562
- /** The exit or timeout outcome associated with this shell call. */
1563
- export interface FunctionShellCallOutputOutcomeParam {
1564
- type: FunctionShellCallOutputOutcomeParamType;
1565
- }
1566
- export declare function functionShellCallOutputOutcomeParamSerializer(item: FunctionShellCallOutputOutcomeParam): any;
1567
- /** Alias for FunctionShellCallOutputOutcomeParamUnion */
1568
- export type FunctionShellCallOutputOutcomeParamUnion = FunctionShellCallOutputTimeoutOutcomeParam | FunctionShellCallOutputExitOutcomeParam | FunctionShellCallOutputOutcomeParam;
1569
- export declare function functionShellCallOutputOutcomeParamUnionSerializer(item: FunctionShellCallOutputOutcomeParamUnion): any;
1570
- /** Type of FunctionShellCallOutputOutcomeParamType */
1571
- export type FunctionShellCallOutputOutcomeParamType = "timeout" | "exit";
1572
- /** Indicates that the shell call exceeded its configured time limit. */
1573
- export interface FunctionShellCallOutputTimeoutOutcomeParam extends FunctionShellCallOutputOutcomeParam {
1574
- /** The outcome type. Always `timeout`. */
1575
- type: "timeout";
1576
- }
1577
- export declare function functionShellCallOutputTimeoutOutcomeParamSerializer(item: FunctionShellCallOutputTimeoutOutcomeParam): any;
1578
- /** Indicates that the shell commands finished and returned an exit code. */
1579
- export interface FunctionShellCallOutputExitOutcomeParam extends FunctionShellCallOutputOutcomeParam {
1580
- /** The outcome type. Always `exit`. */
1581
- type: "exit";
1582
- /** The exit code returned by the shell process. */
1583
- exit_code: number;
1584
- }
1585
- export declare function functionShellCallOutputExitOutcomeParamSerializer(item: FunctionShellCallOutputExitOutcomeParam): any;
1586
- /** A tool call representing a request to create, delete, or update files using diff patches. */
1587
- export interface ApplyPatchToolCallItemParam extends Item {
1588
- /** The type of the item. Always `apply_patch_call`. */
1589
- type: "apply_patch_call";
1590
- /** The unique identifier for the item. */
1591
- id?: string;
1592
- /** The unique ID of the apply patch tool call generated by the model. */
1593
- call_id: string;
1594
- /** The status of the apply patch tool call. One of `in_progress` or `completed`. */
1595
- status: ApplyPatchCallStatusParam;
1596
- /** The specific create, delete, or update instruction for the apply_patch tool call. */
1597
- operation: ApplyPatchOperationParamUnion;
1598
- }
1599
- export declare function applyPatchToolCallItemParamSerializer(item: ApplyPatchToolCallItemParam): any;
1600
- /** Status values reported for apply_patch tool calls. */
1601
- export type ApplyPatchCallStatusParam = "in_progress" | "completed";
1602
- /** One of the create_file, delete_file, or update_file operations supplied to the apply_patch tool. */
1603
- export interface ApplyPatchOperationParam {
1604
- type: ApplyPatchOperationParamType;
1605
- }
1606
- export declare function applyPatchOperationParamSerializer(item: ApplyPatchOperationParam): any;
1607
- /** Alias for ApplyPatchOperationParamUnion */
1608
- export type ApplyPatchOperationParamUnion = ApplyPatchCreateFileOperationParam | ApplyPatchDeleteFileOperationParam | ApplyPatchUpdateFileOperationParam | ApplyPatchOperationParam;
1609
- export declare function applyPatchOperationParamUnionSerializer(item: ApplyPatchOperationParamUnion): any;
1610
- /** Type of ApplyPatchOperationParamType */
1611
- export type ApplyPatchOperationParamType = "create_file" | "delete_file" | "update_file";
1612
- /** Instruction for creating a new file via the apply_patch tool. */
1613
- export interface ApplyPatchCreateFileOperationParam extends ApplyPatchOperationParam {
1614
- /** The operation type. Always `create_file`. */
1615
- type: "create_file";
1616
- /** Path of the file to create relative to the workspace root. */
1617
- path: string;
1618
- /** Unified diff content to apply when creating the file. */
1619
- diff: string;
1620
- }
1621
- export declare function applyPatchCreateFileOperationParamSerializer(item: ApplyPatchCreateFileOperationParam): any;
1622
- /** Instruction for deleting an existing file via the apply_patch tool. */
1623
- export interface ApplyPatchDeleteFileOperationParam extends ApplyPatchOperationParam {
1624
- /** The operation type. Always `delete_file`. */
1625
- type: "delete_file";
1626
- /** Path of the file to delete relative to the workspace root. */
1627
- path: string;
1615
+ export declare function baseCredentialsDeserializer(item: any): BaseCredentials;
1616
+ /** Alias for BaseCredentialsUnion */
1617
+ export type BaseCredentialsUnion = ApiKeyCredentials | EntraIDCredentials | CustomCredential | SASTokenCredentials | NoAuthenticationCredentials | AgenticIdentityPreviewCredentials | BaseCredentials;
1618
+ export declare function baseCredentialsUnionDeserializer(item: any): BaseCredentialsUnion;
1619
+ /** The credential type used by the connection */
1620
+ export type CredentialType = "ApiKey" | "AAD" | "SAS" | "CustomKeys" | "None" | "AgenticIdentityToken_Preview";
1621
+ /** API Key Credential definition */
1622
+ export interface ApiKeyCredentials extends BaseCredentials {
1623
+ /** The credential type */
1624
+ readonly type: "ApiKey";
1625
+ /** API Key */
1626
+ readonly apiKey?: string;
1628
1627
  }
1629
- export declare function applyPatchDeleteFileOperationParamSerializer(item: ApplyPatchDeleteFileOperationParam): any;
1630
- /** Instruction for updating an existing file via the apply_patch tool. */
1631
- export interface ApplyPatchUpdateFileOperationParam extends ApplyPatchOperationParam {
1632
- /** The operation type. Always `update_file`. */
1633
- type: "update_file";
1634
- /** Path of the file to update relative to the workspace root. */
1635
- path: string;
1636
- /** Unified diff content to apply to the existing file. */
1637
- diff: string;
1638
- }
1639
- export declare function applyPatchUpdateFileOperationParamSerializer(item: ApplyPatchUpdateFileOperationParam): any;
1640
- /** The streamed output emitted by an apply patch tool call. */
1641
- export interface ApplyPatchToolCallOutputItemParam extends Item {
1642
- /** The type of the item. Always `apply_patch_call_output`. */
1643
- type: "apply_patch_call_output";
1644
- /** The unique identifier for the item. */
1645
- id?: string;
1646
- /** The unique ID of the apply patch tool call generated by the model. */
1647
- call_id: string;
1648
- /** The status of the apply patch tool call output. One of `completed` or `failed`. */
1649
- status: ApplyPatchCallOutputStatusParam;
1650
- /** The output message from the apply patch tool call. */
1651
- output?: string;
1652
- }
1653
- export declare function applyPatchToolCallOutputItemParamSerializer(item: ApplyPatchToolCallOutputItemParam): any;
1654
- /** Outcome values reported for apply_patch tool call outputs. */
1655
- export type ApplyPatchCallOutputStatusParam = "completed" | "failed";
1656
- /** A response to an MCP approval request. */
1657
- export interface MCPApprovalResponse extends Item {
1658
- /** The type of the item. Always `mcp_approval_response`. */
1659
- type: "mcp_approval_response";
1660
- /** The unique ID of the approval response item. */
1661
- id?: string;
1662
- /** The ID of the approval request being answered. */
1663
- approval_request_id: string;
1664
- /** Whether the request was approved. */
1665
- approve: boolean;
1666
- /** An optional reason for the approval or rejection. */
1667
- reason?: string;
1668
- }
1669
- export declare function mcpApprovalResponseSerializer(item: MCPApprovalResponse): any;
1670
- /** An output message from the model. */
1671
- export interface ItemOutputMessage extends Item {
1672
- /** The unique ID of the output message. */
1673
- id: string;
1674
- /** The type of the output message. Always `message`. */
1675
- type: "output_message";
1676
- /** The role of the output message. Always `assistant`. */
1677
- role: "assistant";
1678
- /** The content of the output message. */
1679
- content: OutputMessageContentUnion[];
1680
- /**
1681
- * The status of the message input. One of `in_progress`, `completed`, or
1682
- * `incomplete`. Populated when input items are returned via API.
1683
- */
1684
- status: "in_progress" | "completed" | "incomplete";
1685
- }
1686
- export declare function itemOutputMessageSerializer(item: ItemOutputMessage): any;
1687
- export declare function outputMessageContentUnionArraySerializer(result: Array<OutputMessageContentUnion>): any[];
1688
- /** model interface OutputMessageContent */
1689
- export interface OutputMessageContent {
1690
- type: OutputMessageContentType;
1691
- }
1692
- export declare function outputMessageContentSerializer(item: OutputMessageContent): any;
1693
- /** Alias for OutputMessageContentUnion */
1694
- export type OutputMessageContentUnion = OutputMessageContentOutputTextContent | OutputMessageContentRefusalContent | OutputMessageContent;
1695
- export declare function outputMessageContentUnionSerializer(item: OutputMessageContentUnion): any;
1696
- /** Type of OutputMessageContentType */
1697
- export type OutputMessageContentType = "output_text" | "refusal";
1698
- /** A text output from the model. */
1699
- export interface OutputMessageContentOutputTextContent extends OutputMessageContent {
1700
- /** The type of the output text. Always `output_text`. */
1701
- type: "output_text";
1702
- /** The text output from the model. */
1703
- text: string;
1704
- /** The annotations of the text output. */
1705
- annotations: AnnotationUnion[];
1706
- logprobs?: LogProb[];
1707
- }
1708
- export declare function outputMessageContentOutputTextContentSerializer(item: OutputMessageContentOutputTextContent): any;
1709
- export declare function annotationUnionArraySerializer(result: Array<AnnotationUnion>): any[];
1710
- /** model interface Annotation */
1711
- export interface Annotation {
1712
- type: AnnotationType;
1713
- }
1714
- export declare function annotationSerializer(item: Annotation): any;
1715
- /** Alias for AnnotationUnion */
1716
- export type AnnotationUnion = FileCitationBody | UrlCitationBody | ContainerFileCitationBody | FilePath | Annotation;
1717
- export declare function annotationUnionSerializer(item: AnnotationUnion): any;
1718
- /** Type of AnnotationType */
1719
- export type AnnotationType = "file_citation" | "url_citation" | "container_file_citation" | "file_path";
1720
- /** A citation to a file. */
1721
- export interface FileCitationBody extends Annotation {
1722
- /** The type of the file citation. Always `file_citation`. */
1723
- type: "file_citation";
1724
- /** The ID of the file. */
1725
- file_id: string;
1726
- /** The index of the file in the list of files. */
1727
- index: number;
1728
- /** The filename of the file cited. */
1729
- filename: string;
1730
- }
1731
- export declare function fileCitationBodySerializer(item: FileCitationBody): any;
1732
- /** A citation for a web resource used to generate a model response. */
1733
- export interface UrlCitationBody extends Annotation {
1734
- /** The type of the URL citation. Always `url_citation`. */
1735
- type: "url_citation";
1736
- /** The URL of the web resource. */
1737
- url: string;
1738
- /** The index of the first character of the URL citation in the message. */
1739
- start_index: number;
1740
- /** The index of the last character of the URL citation in the message. */
1741
- end_index: number;
1742
- /** The title of the web resource. */
1743
- title: string;
1744
- }
1745
- export declare function urlCitationBodySerializer(item: UrlCitationBody): any;
1746
- /** A citation for a container file used to generate a model response. */
1747
- export interface ContainerFileCitationBody extends Annotation {
1748
- /** The type of the container file citation. Always `container_file_citation`. */
1749
- type: "container_file_citation";
1750
- /** The ID of the container file. */
1751
- container_id: string;
1752
- /** The ID of the file. */
1753
- file_id: string;
1754
- /** The index of the first character of the container file citation in the message. */
1755
- start_index: number;
1756
- /** The index of the last character of the container file citation in the message. */
1757
- end_index: number;
1758
- /** The filename of the container file cited. */
1759
- filename: string;
1760
- }
1761
- export declare function containerFileCitationBodySerializer(item: ContainerFileCitationBody): any;
1762
- /** A path to a file. */
1763
- export interface FilePath extends Annotation {
1764
- /** The type of the file path. Always `file_path`. */
1765
- type: "file_path";
1766
- /** The ID of the file. */
1767
- file_id: string;
1768
- /** The index of the file in the list of files. */
1769
- index: number;
1770
- }
1771
- export declare function filePathSerializer(item: FilePath): any;
1772
- export declare function logProbArraySerializer(result: Array<LogProb>): any[];
1773
- /** The log probability of a token. */
1774
- export interface LogProb {
1775
- token: string;
1776
- logprob: number;
1777
- bytes: number[];
1778
- top_logprobs: TopLogProb[];
1779
- }
1780
- export declare function logProbSerializer(item: LogProb): any;
1781
- export declare function topLogProbArraySerializer(result: Array<TopLogProb>): any[];
1782
- /** The top log probability of a token. */
1783
- export interface TopLogProb {
1784
- token: string;
1785
- logprob: number;
1786
- bytes: number[];
1787
- }
1788
- export declare function topLogProbSerializer(item: TopLogProb): any;
1789
- /** A refusal from the model. */
1790
- export interface OutputMessageContentRefusalContent extends OutputMessageContent {
1791
- /** The type of the refusal. Always `refusal`. */
1792
- type: "refusal";
1793
- /** The refusal explanation from the model. */
1794
- refusal: string;
1795
- }
1796
- export declare function outputMessageContentRefusalContentSerializer(item: OutputMessageContentRefusalContent): any;
1797
- /**
1798
- * The results of a file search tool call. See the
1799
- * [file search guide](https://platform.openai.com/docs/guides/tools-file-search) for more information.
1800
- */
1801
- export interface ItemFileSearchToolCall extends Item {
1802
- /** The unique ID of the file search tool call. */
1803
- id: string;
1804
- /** The type of the file search tool call. Always `file_search_call`. */
1805
- type: "file_search_call";
1806
- /**
1807
- * The status of the file search tool call. One of `in_progress`,
1808
- * `searching`, `incomplete` or `failed`,
1809
- */
1810
- status: "in_progress" | "searching" | "completed" | "incomplete" | "failed";
1811
- /** The queries used to search for files. */
1812
- queries: string[];
1813
- /** The results of the file search tool call. */
1814
- results?: FileSearchToolCallResults[];
1815
- }
1816
- export declare function itemFileSearchToolCallSerializer(item: ItemFileSearchToolCall): any;
1817
- export declare function fileSearchToolCallResultsArraySerializer(result: Array<FileSearchToolCallResults>): any[];
1818
- /** model interface FileSearchToolCallResults */
1819
- export interface FileSearchToolCallResults {
1820
- /** The unique ID of the file. */
1821
- file_id?: string;
1822
- /** The text that was retrieved from the file. */
1823
- text?: string;
1824
- /** The name of the file. */
1825
- filename?: string;
1826
- /** Additional attributes of the file. */
1827
- attributes?: VectorStoreFileAttributes;
1828
- /** The relevance score of the file - a value between 0 and 1. */
1829
- score?: number;
1830
- }
1831
- export declare function fileSearchToolCallResultsSerializer(item: FileSearchToolCallResults): any;
1832
- /**
1833
- * Set of 16 key-value pairs that can be attached to an object. This can be
1834
- * useful for storing additional information about the object in a structured
1835
- * format, and querying for objects via API or the dashboard. Keys are strings
1836
- * with a maximum length of 64 characters. Values are strings with a maximum
1837
- * length of 512 characters, booleans, or numbers.
1838
- */
1839
- export interface VectorStoreFileAttributes {
1628
+ export declare function apiKeyCredentialsDeserializer(item: any): ApiKeyCredentials;
1629
+ /** Entra ID credential definition */
1630
+ export interface EntraIDCredentials extends BaseCredentials {
1631
+ /** The credential type */
1632
+ readonly type: "AAD";
1633
+ }
1634
+ export declare function entraIDCredentialsDeserializer(item: any): EntraIDCredentials;
1635
+ /** Custom credential definition */
1636
+ export interface CustomCredential extends BaseCredentials {
1637
+ /** The credential type */
1638
+ readonly type: "CustomKeys";
1840
1639
  /** Additional properties */
1841
- additionalProperties?: Record<string, string | number | boolean>;
1640
+ additionalProperties?: Record<string, string>;
1842
1641
  }
1843
- export declare function vectorStoreFileAttributesSerializer(item: VectorStoreFileAttributes): any;
1844
- /** Alias for _VectorStoreFileAttributesAdditionalProperty */
1845
- export type _VectorStoreFileAttributesAdditionalProperty = string | number | boolean;
1846
- export declare function _vectorStoreFileAttributesAdditionalPropertySerializer(item: _VectorStoreFileAttributesAdditionalProperty): any;
1847
- /**
1848
- * A tool call to a computer use tool. See the
1849
- * [computer use guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
1850
- */
1851
- export interface ItemComputerToolCall extends Item {
1852
- /** The type of the computer call. Always `computer_call`. */
1853
- type: "computer_call";
1854
- /** The unique ID of the computer call. */
1855
- id: string;
1856
- /** An identifier used when responding to the tool call with output. */
1857
- call_id: string;
1858
- action: ComputerActionUnion;
1859
- /** The pending safety checks for the computer call. */
1860
- pending_safety_checks: ComputerCallSafetyCheckParam[];
1861
- /**
1862
- * The status of the item. One of `in_progress`, `completed`, or
1863
- * `incomplete`. Populated when items are returned via API.
1864
- */
1865
- status: "in_progress" | "completed" | "incomplete";
1866
- }
1867
- export declare function itemComputerToolCallSerializer(item: ItemComputerToolCall): any;
1868
- /** model interface ComputerAction */
1869
- export interface ComputerAction {
1870
- type: ComputerActionType;
1871
- }
1872
- export declare function computerActionSerializer(item: ComputerAction): any;
1873
- /** Alias for ComputerActionUnion */
1874
- export type ComputerActionUnion = ClickParam | DoubleClickAction | Drag | KeyPressAction | Move | Screenshot | Scroll | Type | Wait | ComputerAction;
1875
- export declare function computerActionUnionSerializer(item: ComputerActionUnion): any;
1876
- /** Type of ComputerActionType */
1877
- export type ComputerActionType = "click" | "double_click" | "drag" | "keypress" | "move" | "screenshot" | "scroll" | "type" | "wait";
1878
- /** A click action. */
1879
- export interface ClickParam extends ComputerAction {
1880
- /** Specifies the event type. For a click action, this property is always `click`. */
1881
- type: "click";
1882
- /** Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`. */
1883
- button: ClickButtonType;
1884
- /** The x-coordinate where the click occurred. */
1885
- x: number;
1886
- /** The y-coordinate where the click occurred. */
1887
- y: number;
1642
+ export declare function customCredentialDeserializer(item: any): CustomCredential;
1643
+ /** Shared Access Signature (SAS) credential definition */
1644
+ export interface SASTokenCredentials extends BaseCredentials {
1645
+ /** The credential type */
1646
+ readonly type: "SAS";
1647
+ /** SAS token */
1648
+ readonly sasToken?: string;
1888
1649
  }
1889
- export declare function clickParamSerializer(item: ClickParam): any;
1890
- /** Type of ClickButtonType */
1891
- export type ClickButtonType = "left" | "right" | "wheel" | "back" | "forward";
1892
- /** A double click action. */
1893
- export interface DoubleClickAction extends ComputerAction {
1894
- /** Specifies the event type. For a double click action, this property is always set to `double_click`. */
1895
- type: "double_click";
1896
- /** The x-coordinate where the double click occurred. */
1897
- x: number;
1898
- /** The y-coordinate where the double click occurred. */
1899
- y: number;
1650
+ export declare function sasCredentialsDeserializer(item: any): SASTokenCredentials;
1651
+ /** Credentials that do not require authentication */
1652
+ export interface NoAuthenticationCredentials extends BaseCredentials {
1653
+ /** The credential type */
1654
+ readonly type: "None";
1900
1655
  }
1901
- export declare function doubleClickActionSerializer(item: DoubleClickAction): any;
1902
- /** A drag action. */
1903
- export interface Drag extends ComputerAction {
1904
- /**
1905
- * Specifies the event type. For a drag action, this property is
1906
- * always set to `drag`.
1907
- */
1908
- type: "drag";
1909
- /**
1910
- * An array of coordinates representing the path of the drag action. Coordinates will appear as an array
1911
- * of objects, eg
1912
- * ```
1913
- * [
1914
- * { x: 100, y: 200 },
1915
- * { x: 200, y: 300 }
1916
- * ]
1917
- * ```
1918
- */
1919
- path: DragPoint[];
1656
+ export declare function noAuthenticationCredentialsDeserializer(item: any): NoAuthenticationCredentials;
1657
+ /** Agentic identity credential definition */
1658
+ export interface AgenticIdentityPreviewCredentials extends BaseCredentials {
1659
+ /** The credential type */
1660
+ readonly type: "AgenticIdentityToken_Preview";
1920
1661
  }
1921
- export declare function dragSerializer(item: Drag): any;
1922
- export declare function dragPointArraySerializer(result: Array<DragPoint>): any[];
1923
- /** An x/y coordinate pair, e.g. `{ x: 100, y: 200 }`. */
1924
- export interface DragPoint {
1925
- /** The x-coordinate. */
1926
- x: number;
1927
- /** The y-coordinate. */
1928
- y: number;
1929
- }
1930
- export declare function dragPointSerializer(item: DragPoint): any;
1931
- /** A collection of keypresses the model would like to perform. */
1932
- export interface KeyPressAction extends ComputerAction {
1933
- /** Specifies the event type. For a keypress action, this property is always set to `keypress`. */
1934
- type: "keypress";
1935
- /** The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key. */
1936
- keys: string[];
1937
- }
1938
- export declare function keyPressActionSerializer(item: KeyPressAction): any;
1939
- /** A mouse move action. */
1940
- export interface Move extends ComputerAction {
1941
- /**
1942
- * Specifies the event type. For a move action, this property is
1943
- * always set to `move`.
1944
- */
1945
- type: "move";
1946
- /** The x-coordinate to move to. */
1947
- x: number;
1948
- /** The y-coordinate to move to. */
1949
- y: number;
1950
- }
1951
- export declare function moveSerializer(item: Move): any;
1952
- /** A screenshot action. */
1953
- export interface Screenshot extends ComputerAction {
1954
- /**
1955
- * Specifies the event type. For a screenshot action, this property is
1956
- * always set to `screenshot`.
1957
- */
1958
- type: "screenshot";
1959
- }
1960
- export declare function screenshotSerializer(item: Screenshot): any;
1961
- /** A scroll action. */
1962
- export interface Scroll extends ComputerAction {
1963
- /**
1964
- * Specifies the event type. For a scroll action, this property is
1965
- * always set to `scroll`.
1966
- */
1967
- type: "scroll";
1968
- /** The x-coordinate where the scroll occurred. */
1969
- x: number;
1970
- /** The y-coordinate where the scroll occurred. */
1971
- y: number;
1972
- /** The horizontal scroll distance. */
1973
- scroll_x: number;
1974
- /** The vertical scroll distance. */
1975
- scroll_y: number;
1976
- }
1977
- export declare function scrollSerializer(item: Scroll): any;
1978
- /** An action to type in text. */
1979
- export interface Type extends ComputerAction {
1980
- /**
1981
- * Specifies the event type. For a type action, this property is
1982
- * always set to `type`.
1983
- */
1984
- type: "type";
1985
- /** The text to type. */
1986
- text: string;
1987
- }
1988
- export declare function typeSerializer(item: Type): any;
1989
- /** A wait action. */
1990
- export interface Wait extends ComputerAction {
1991
- /**
1992
- * Specifies the event type. For a wait action, this property is
1993
- * always set to `wait`.
1994
- */
1995
- type: "wait";
1996
- }
1997
- export declare function waitSerializer(item: Wait): any;
1998
- /**
1999
- * The results of a web search tool call. See the
2000
- * [web search guide](https://platform.openai.com/docs/guides/tools-web-search) for more information.
2001
- */
2002
- export interface ItemWebSearchToolCall extends Item {
2003
- /** The unique ID of the web search tool call. */
2004
- id: string;
2005
- /** The type of the web search tool call. Always `web_search_call`. */
2006
- type: "web_search_call";
2007
- /** The status of the web search tool call. */
2008
- status: "in_progress" | "searching" | "completed" | "failed";
2009
- /**
2010
- * An object describing the specific action taken in this web search call.
2011
- * Includes details on how the model used the web (search, open_page, find).
2012
- */
2013
- action: WebSearchActionSearch | WebSearchActionOpenPage | WebSearchActionFind;
2014
- }
2015
- export declare function itemWebSearchToolCallSerializer(item: ItemWebSearchToolCall): any;
2016
- /** Alias for _OutputItemWebSearchToolCallAction */
2017
- export type _OutputItemWebSearchToolCallAction = WebSearchActionSearch | WebSearchActionOpenPage | WebSearchActionFind;
2018
- export declare function _outputItemWebSearchToolCallActionSerializer(item: _OutputItemWebSearchToolCallAction): any;
2019
- /** Action type "search" - Performs a web search query. */
2020
- export interface WebSearchActionSearch {
2021
- /** The action type. */
2022
- type: "search";
2023
- /** The search query. */
2024
- query: string;
2025
- /** The sources used in the search. */
2026
- sources?: WebSearchActionSearchSources[];
2027
- }
2028
- export declare function webSearchActionSearchSerializer(item: WebSearchActionSearch): any;
2029
- export declare function webSearchActionSearchSourcesArraySerializer(result: Array<WebSearchActionSearchSources>): any[];
2030
- /** model interface WebSearchActionSearchSources */
2031
- export interface WebSearchActionSearchSources {
2032
- /** The source type. Always `url`. */
2033
- type: "url";
2034
- /** The URL of the search source. */
2035
- url: string;
2036
- }
2037
- export declare function webSearchActionSearchSourcesSerializer(item: WebSearchActionSearchSources): any;
2038
- /** Action type "open_page" - Opens a specific URL from search results. */
2039
- export interface WebSearchActionOpenPage {
2040
- /** The action type. */
2041
- type: "open_page";
2042
- /** The URL opened by the model. */
2043
- url: string;
2044
- }
2045
- export declare function webSearchActionOpenPageSerializer(item: WebSearchActionOpenPage): any;
2046
- /** Action type "find": Searches for a pattern within a loaded page. */
2047
- export interface WebSearchActionFind {
2048
- /** The action type. */
2049
- type: "find";
2050
- /** The URL of the page searched for the pattern. */
2051
- url: string;
2052
- /** The pattern or text to search for within the page. */
2053
- pattern: string;
2054
- }
2055
- export declare function webSearchActionFindSerializer(item: WebSearchActionFind): any;
2056
- /**
2057
- * A tool call to run a function. See the
2058
- * [function calling guide](https://platform.openai.com/docs/guides/function-calling) for more information.
2059
- */
2060
- export interface ItemFunctionToolCall extends Item {
2061
- /** The unique ID of the function tool call. */
2062
- id?: string;
2063
- /** The type of the function tool call. Always `function_call`. */
2064
- type: "function_call";
2065
- /** The unique ID of the function tool call generated by the model. */
2066
- call_id: string;
2067
- /** The name of the function to run. */
2068
- name: string;
2069
- /** A JSON string of the arguments to pass to the function. */
2070
- arguments: string;
2071
- /**
2072
- * The status of the item. One of `in_progress`, `completed`, or
2073
- * `incomplete`. Populated when items are returned via API.
2074
- */
2075
- status?: "in_progress" | "completed" | "incomplete";
2076
- }
2077
- export declare function itemFunctionToolCallSerializer(item: ItemFunctionToolCall): any;
2078
- /**
2079
- * A description of the chain of thought used by a reasoning model while generating
2080
- * a response. Be sure to include these items in your `input` to the Responses API
2081
- * for subsequent turns of a conversation if you are manually
2082
- * [managing context](https://platform.openai.com/docs/guides/conversation-state).
2083
- */
2084
- export interface ItemReasoningItem extends Item {
2085
- /** The type of the object. Always `reasoning`. */
2086
- type: "reasoning";
2087
- /** The unique identifier of the reasoning content. */
2088
- id: string;
2089
- /** Encrypted reasoning content. */
2090
- encrypted_content?: string;
2091
- /** Reasoning summary content. */
2092
- summary: Summary[];
2093
- /** Reasoning text content. */
2094
- content?: ReasoningTextContent[];
2095
- /**
2096
- * The status of the item. One of `in_progress`, `completed`, or
2097
- * `incomplete`. Populated when items are returned via API.
2098
- */
2099
- status?: "in_progress" | "completed" | "incomplete";
2100
- }
2101
- export declare function itemReasoningItemSerializer(item: ItemReasoningItem): any;
2102
- export declare function summaryArraySerializer(result: Array<Summary>): any[];
2103
- /** A summary text from the model. */
2104
- export interface Summary {
2105
- /** The type of the object. Always `summary_text`. */
2106
- type: "summary_text";
2107
- /** A summary of the reasoning output from the model so far. */
2108
- text: string;
2109
- }
2110
- export declare function summarySerializer(item: Summary): any;
2111
- export declare function reasoningTextContentArraySerializer(result: Array<ReasoningTextContent>): any[];
2112
- /** Reasoning text from the model. */
2113
- export interface ReasoningTextContent extends OutputContent {
2114
- /** The type of the reasoning text. Always `reasoning_text`. */
2115
- type: "reasoning_text";
2116
- /** The reasoning text from the model. */
2117
- text: string;
2118
- }
2119
- export declare function reasoningTextContentSerializer(item: ReasoningTextContent): any;
2120
- /** An image generation request made by the model. */
2121
- export interface ItemImageGenToolCall extends Item {
2122
- /** The type of the image generation call. Always `image_generation_call`. */
2123
- type: "image_generation_call";
2124
- /** The unique ID of the image generation call. */
2125
- id: string;
2126
- /** The status of the image generation call. */
2127
- status: "in_progress" | "completed" | "generating" | "failed";
2128
- /** The result of the generated image. */
2129
- result?: string;
2130
- }
2131
- export declare function itemImageGenToolCallSerializer(item: ItemImageGenToolCall): any;
2132
- /** A tool call to run code. */
2133
- export interface ItemCodeInterpreterToolCall extends Item {
2134
- /** The type of the code interpreter tool call. Always `code_interpreter_call`. */
2135
- type: "code_interpreter_call";
2136
- /** The unique ID of the code interpreter tool call. */
2137
- id: string;
2138
- /** The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`. */
2139
- status: "in_progress" | "completed" | "incomplete" | "interpreting" | "failed";
2140
- /** The ID of the container used to run the code. */
2141
- container_id: string;
2142
- /** The code to be executed by the code interpreter. */
2143
- code?: string;
2144
- /** The outputs from the code interpreter. */
2145
- outputs?: (CodeInterpreterOutputLogs | CodeInterpreterOutputImage)[];
2146
- }
2147
- export declare function itemCodeInterpreterToolCallSerializer(item: ItemCodeInterpreterToolCall): any;
2148
- export declare function _outputItemCodeInterpreterToolCallOutputArraySerializer(result: Array<_OutputItemCodeInterpreterToolCallOutput>): any[];
2149
- /** Alias for _OutputItemCodeInterpreterToolCallOutput */
2150
- export type _OutputItemCodeInterpreterToolCallOutput = CodeInterpreterOutputLogs | CodeInterpreterOutputImage;
2151
- export declare function _outputItemCodeInterpreterToolCallOutputSerializer(item: _OutputItemCodeInterpreterToolCallOutput): any;
2152
- /** The logs output from the code interpreter. */
2153
- export interface CodeInterpreterOutputLogs {
2154
- /** The type of the output. Always `logs`. */
2155
- type: "logs";
2156
- /** The logs output from the code interpreter. */
2157
- logs: string;
2158
- }
2159
- export declare function codeInterpreterOutputLogsSerializer(item: CodeInterpreterOutputLogs): any;
2160
- /** The image output from the code interpreter. */
2161
- export interface CodeInterpreterOutputImage {
2162
- /** The type of the output. Always `image`. */
2163
- type: "image";
2164
- /** The URL of the image output from the code interpreter. */
2165
- url: string;
2166
- }
2167
- export declare function codeInterpreterOutputImageSerializer(item: CodeInterpreterOutputImage): any;
2168
- /** A tool call to run a command on the local shell. */
2169
- export interface ItemLocalShellToolCall extends Item {
2170
- /** The type of the local shell call. Always `local_shell_call`. */
2171
- type: "local_shell_call";
2172
- /** The unique ID of the local shell call. */
2173
- id: string;
2174
- /** The unique ID of the local shell tool call generated by the model. */
2175
- call_id: string;
2176
- action: LocalShellExecAction;
2177
- /** The status of the local shell call. */
2178
- status: "in_progress" | "completed" | "incomplete";
2179
- }
2180
- export declare function itemLocalShellToolCallSerializer(item: ItemLocalShellToolCall): any;
2181
- /** Execute a shell command on the server. */
2182
- export interface LocalShellExecAction {
2183
- /** The type of the local shell action. Always `exec`. */
2184
- type: "exec";
2185
- /** The command to run. */
2186
- command: string[];
2187
- /** The timeout for the command in milliseconds. */
2188
- timeout_ms?: number;
2189
- /** The working directory to run the command in. */
2190
- working_directory?: string;
2191
- /** Environment variables to set for the command. */
2192
- env: Record<string, string>;
2193
- /** The user to run the command as. */
2194
- user?: string;
2195
- }
2196
- export declare function localShellExecActionSerializer(item: LocalShellExecAction): any;
2197
- /** The output of a local shell tool call. */
2198
- export interface ItemLocalShellToolCallOutput extends Item {
2199
- /** The type of the local shell tool call output. Always `local_shell_call_output`. */
2200
- type: "local_shell_call_output";
2201
- /** The unique ID of the local shell tool call generated by the model. */
2202
- id: string;
2203
- /** A JSON string of the output of the local shell tool call. */
2204
- output: string;
2205
- /** The status of the local shell tool call. One of `in_progress`, `completed`, or `incomplete`. */
2206
- status?: "in_progress" | "completed" | "incomplete";
2207
- }
2208
- export declare function itemLocalShellToolCallOutputSerializer(item: ItemLocalShellToolCallOutput): any;
2209
- /** A list of tools available on an MCP server. */
2210
- export interface ItemMcpListTools extends Item {
2211
- /** The type of the item. Always `mcp_list_tools`. */
2212
- type: "mcp_list_tools";
2213
- /** The unique ID of the list. */
2214
- id: string;
2215
- /** The label of the MCP server. */
2216
- server_label: string;
2217
- /** The tools available on the server. */
2218
- tools: MCPListToolsTool[];
2219
- /** An error message, if any occurred while fetching the tool list. */
2220
- error?: string;
2221
- }
2222
- export declare function itemMcpListToolsSerializer(item: ItemMcpListTools): any;
2223
- export declare function mcpListToolsToolArraySerializer(result: Array<MCPListToolsTool>): any[];
2224
- /** A tool available on an MCP server. */
2225
- export interface MCPListToolsTool {
2226
- /** The name of the tool. */
2227
- name: string;
2228
- /** The description of the tool. */
2229
- description?: string;
2230
- /** The JSON schema describing the tool's input. */
2231
- input_schema: MCPListToolsToolInputSchema;
2232
- /** Additional annotations about the tool. */
2233
- annotations?: MCPListToolsToolAnnotations;
2234
- }
2235
- export declare function mcpListToolsToolSerializer(item: MCPListToolsTool): any;
2236
- /** model interface MCPListToolsToolInputSchema */
2237
- export interface MCPListToolsToolInputSchema {
2238
- }
2239
- export declare function mcpListToolsToolInputSchemaSerializer(item: MCPListToolsToolInputSchema): any;
2240
- /** model interface MCPListToolsToolAnnotations */
2241
- export interface MCPListToolsToolAnnotations {
2242
- }
2243
- export declare function mcpListToolsToolAnnotationsSerializer(item: MCPListToolsToolAnnotations): any;
2244
- /** A request for human approval of a tool invocation. */
2245
- export interface ItemMcpApprovalRequest extends Item {
2246
- /** The type of the item. Always `mcp_approval_request`. */
2247
- type: "mcp_approval_request";
2248
- /** The unique ID of the approval request. */
2249
- id: string;
2250
- /** The label of the MCP server making the request. */
2251
- server_label: string;
2252
- /** The name of the tool to run. */
2253
- name: string;
2254
- /** A JSON string of arguments for the tool. */
2255
- arguments: string;
2256
- }
2257
- export declare function itemMcpApprovalRequestSerializer(item: ItemMcpApprovalRequest): any;
2258
- /** An invocation of a tool on an MCP server. */
2259
- export interface ItemMcpToolCall extends Item {
2260
- /** The type of the item. Always `mcp_call`. */
2261
- type: "mcp_call";
2262
- /** The unique ID of the tool call. */
2263
- id: string;
2264
- /** The label of the MCP server running the tool. */
2265
- server_label: string;
2266
- /** The name of the tool that was run. */
2267
- name: string;
2268
- /** A JSON string of the arguments passed to the tool. */
2269
- arguments: string;
2270
- /** The output from the tool call. */
2271
- output?: string;
2272
- /** An error message, if any occurred during the tool call. */
2273
- error?: string;
2274
- /** The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`. */
2275
- status?: MCPToolCallStatus;
2276
- /** The ID of the approval request associated with this tool call, if any. */
2277
- approval_request_id?: string;
2278
- }
2279
- export declare function itemMcpToolCallSerializer(item: ItemMcpToolCall): any;
2280
- /** Type of MCPToolCallStatus */
2281
- export type MCPToolCallStatus = "in_progress" | "completed" | "incomplete" | "calling" | "failed";
2282
- /** The output of a custom tool call from your code, being sent back to the model. */
2283
- export interface ItemCustomToolCallOutput extends Item {
2284
- /** The type of the custom tool call output. Always `custom_tool_call_output`. */
2285
- type: "custom_tool_call_output";
2286
- /** The unique ID of the custom tool call output in the OpenAI platform. */
2287
- id?: string;
2288
- /** The call ID, used to map this custom tool call output to a custom tool call. */
2289
- call_id: string;
2290
- /**
2291
- * The output from the custom tool call generated by your code.
2292
- * Can be a string or an list of output content.
2293
- */
2294
- output: string | FunctionAndCustomToolCallOutputUnion[];
2295
- }
2296
- export declare function itemCustomToolCallOutputSerializer(item: ItemCustomToolCallOutput): any;
2297
- /** Alias for _ItemCustomToolCallOutputOutput */
2298
- export type _ItemCustomToolCallOutputOutput = string | FunctionAndCustomToolCallOutputUnion[];
2299
- export declare function _itemCustomToolCallOutputOutputSerializer(item: _ItemCustomToolCallOutputOutput): any;
2300
- export declare function functionAndCustomToolCallOutputUnionArraySerializer(result: Array<FunctionAndCustomToolCallOutputUnion>): any[];
2301
- /** model interface FunctionAndCustomToolCallOutput */
2302
- export interface FunctionAndCustomToolCallOutput {
2303
- type: FunctionAndCustomToolCallOutputType;
2304
- }
2305
- export declare function functionAndCustomToolCallOutputSerializer(item: FunctionAndCustomToolCallOutput): any;
2306
- /** Alias for FunctionAndCustomToolCallOutputUnion */
2307
- export type FunctionAndCustomToolCallOutputUnion = FunctionAndCustomToolCallOutputInputTextContent | FunctionAndCustomToolCallOutputInputImageContent | FunctionAndCustomToolCallOutputInputFileContent | FunctionAndCustomToolCallOutput;
2308
- export declare function functionAndCustomToolCallOutputUnionSerializer(item: FunctionAndCustomToolCallOutputUnion): any;
2309
- /** Type of FunctionAndCustomToolCallOutputType */
2310
- export type FunctionAndCustomToolCallOutputType = "input_text" | "input_image" | "input_file";
2311
- /** A text input to the model. */
2312
- export interface FunctionAndCustomToolCallOutputInputTextContent extends FunctionAndCustomToolCallOutput {
2313
- /** The type of the input item. Always `input_text`. */
2314
- type: "input_text";
2315
- /** The text input to the model. */
2316
- text: string;
2317
- }
2318
- export declare function functionAndCustomToolCallOutputInputTextContentSerializer(item: FunctionAndCustomToolCallOutputInputTextContent): any;
2319
- /** An image input to the model. Learn about [image inputs](https://platform.openai.com/docs/guides/vision). */
2320
- export interface FunctionAndCustomToolCallOutputInputImageContent extends FunctionAndCustomToolCallOutput {
2321
- /** The type of the input item. Always `input_image`. */
2322
- type: "input_image";
2323
- /** The URL of the image to be sent to the model. */
2324
- image_url?: string;
2325
- /** The ID of the image file to be sent to the model. */
2326
- file_id?: string;
2327
- /** The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`. */
2328
- detail: ImageDetail;
2329
- }
2330
- export declare function functionAndCustomToolCallOutputInputImageContentSerializer(item: FunctionAndCustomToolCallOutputInputImageContent): any;
2331
- /** A file input to the model. */
2332
- export interface FunctionAndCustomToolCallOutputInputFileContent extends FunctionAndCustomToolCallOutput {
2333
- /** The type of the input item. Always `input_file`. */
2334
- type: "input_file";
2335
- /** The ID of the file to be sent to the model. */
2336
- file_id?: string;
2337
- /** The name of the file to be sent to the model. */
2338
- filename?: string;
2339
- /** The URL of the file to be sent to the model. */
2340
- file_url?: string;
2341
- /** The content of the file to be sent to the model. */
2342
- file_data?: string;
2343
- }
2344
- export declare function functionAndCustomToolCallOutputInputFileContentSerializer(item: FunctionAndCustomToolCallOutputInputFileContent): any;
2345
- /** A call to a custom tool created by the model. */
2346
- export interface ItemCustomToolCall extends Item {
2347
- /** The type of the custom tool call. Always `custom_tool_call`. */
2348
- type: "custom_tool_call";
2349
- /** The unique ID of the custom tool call in the OpenAI platform. */
2350
- id?: string;
2351
- /** An identifier used to map this custom tool call to a tool call output. */
2352
- call_id: string;
2353
- /** The name of the custom tool being called. */
2354
- name: string;
2355
- /** The input for the custom tool call generated by the model. */
2356
- input: string;
2357
- }
2358
- export declare function itemCustomToolCallSerializer(item: ItemCustomToolCall): any;
2359
- /** model interface OutputContent */
2360
- export interface OutputContent {
2361
- type: OutputContentType;
2362
- }
2363
- export declare function outputContentSerializer(item: OutputContent): any;
2364
- /** Alias for OutputContentUnion */
2365
- export type OutputContentUnion = ReasoningTextContent | OutputContent;
2366
- export declare function outputContentUnionSerializer(item: OutputContentUnion): any;
2367
- /** Type of OutputContentType */
2368
- export type OutputContentType = "output_text" | "refusal" | "reasoning_text";
2369
- export declare function itemUnionArraySerializer(result: Array<ItemUnion>): any[];
2370
- /** Memory search response. */
2371
- export interface MemoryStoreSearchResponse {
2372
- /** The unique ID of this search request. Use this value as previous_search_id in subsequent requests to perform incremental searches. */
2373
- search_id: string;
2374
- /** Related memory items found during the search operation. */
2375
- memories: MemorySearchItem[];
2376
- /** Usage statistics associated with the memory search operation. */
2377
- usage: MemoryStoreOperationUsage;
2378
- }
2379
- export declare function memoryStoreSearchResponseDeserializer(item: any): MemoryStoreSearchResponse;
2380
- /** Usage statistics of a memory store operation. */
2381
- export interface MemoryStoreOperationUsage {
2382
- /** The number of embedding tokens. */
2383
- embedding_tokens: number;
2384
- /** The number of input tokens. */
2385
- input_tokens: number;
2386
- /** A detailed breakdown of the input tokens. */
2387
- input_tokens_details: ResponseUsageInputTokensDetails;
2388
- /** The number of output tokens. */
2389
- output_tokens: number;
2390
- /** A detailed breakdown of the output tokens. */
2391
- output_tokens_details: ResponseUsageOutputTokensDetails;
2392
- /** The total number of tokens used. */
2393
- total_tokens: number;
2394
- }
2395
- export declare function memoryStoreOperationUsageDeserializer(item: any): MemoryStoreOperationUsage;
2396
- /** model interface ResponseUsageInputTokensDetails */
2397
- export interface ResponseUsageInputTokensDetails {
2398
- cached_tokens: number;
2399
- }
2400
- export declare function responseUsageInputTokensDetailsDeserializer(item: any): ResponseUsageInputTokensDetails;
2401
- /** model interface ResponseUsageOutputTokensDetails */
2402
- export interface ResponseUsageOutputTokensDetails {
2403
- reasoning_tokens: number;
2404
- }
2405
- export declare function responseUsageOutputTokensDetailsDeserializer(item: any): ResponseUsageOutputTokensDetails;
2406
- /** Provides the status of a memory store update operation. */
2407
- export interface MemoryStoreUpdateResponse {
2408
- /** The unique ID of this update request. Use this value as previous_update_id in subsequent requests to perform incremental updates. */
2409
- update_id: string;
2410
- /** The status of the memory update operation. One of "queued", "in_progress", "completed", "failed", or "superseded". */
2411
- status: MemoryStoreUpdateStatus;
2412
- /** The update_id the operation was superseded by when status is "superseded". */
2413
- superseded_by?: string;
2414
- /** The result of memory store update operation when status is "completed". */
2415
- result?: MemoryStoreUpdateCompletedResult;
2416
- /** Error object that describes the error when status is "failed". */
2417
- error?: ApiError;
2418
- }
2419
- export declare function memoryStoreUpdateResponseDeserializer(item: any): MemoryStoreUpdateResponse;
2420
- /** Status of a memory store update operation. */
2421
- export type MemoryStoreUpdateStatus = "queued" | "in_progress" | "completed" | "failed" | "superseded";
2422
- /** Memory update result. */
2423
- export interface MemoryStoreUpdateCompletedResult {
2424
- /** A list of individual memory operations that were performed during the update. */
2425
- memory_operations: MemoryOperation[];
2426
- /** Usage statistics associated with the memory update operation. */
2427
- usage: MemoryStoreOperationUsage;
2428
- }
2429
- export declare function memoryStoreUpdateCompletedResultDeserializer(item: any): MemoryStoreUpdateCompletedResult;
2430
- export declare function memoryOperationArrayDeserializer(result: Array<MemoryOperation>): any[];
2431
- /** Represents a single memory operation (create, update, or delete) performed on a memory item. */
2432
- export interface MemoryOperation {
2433
- /** The type of memory operation being performed. */
2434
- kind: MemoryOperationKind;
2435
- /** The memory item to create, update, or delete. */
2436
- memory_item: MemoryItemUnion;
2437
- }
2438
- export declare function memoryOperationDeserializer(item: any): MemoryOperation;
2439
- /** Memory operation kind. */
2440
- export type MemoryOperationKind = "create" | "update" | "delete";
2441
- /** Response for deleting memories from a scope. */
2442
- export interface MemoryStoreDeleteScopeResponse {
2443
- /** The object type. Always 'memory_store.scope.deleted'. */
2444
- object: "memory_store.scope.deleted";
2445
- /** The name of the memory store. */
2446
- name: string;
2447
- /** The scope from which memories were deleted. */
2448
- scope: string;
2449
- /** Whether the deletion operation was successful. */
2450
- deleted: boolean;
2451
- }
2452
- export declare function memoryStoreDeleteScopeResponseDeserializer(item: any): MemoryStoreDeleteScopeResponse;
2453
- /** Response from the list and get connections operations */
2454
- export interface Connection {
2455
- /** The friendly name of the connection, provided by the user. */
2456
- readonly name: string;
2457
- /** A unique identifier for the connection, generated by the service */
2458
- readonly id: string;
2459
- /** Category of the connection */
2460
- readonly type: ConnectionType;
2461
- /** The connection URL to be used for this service */
2462
- readonly target: string;
2463
- /** Whether the connection is tagged as the default connection of its type */
2464
- readonly isDefault: boolean;
2465
- /** The credentials used by the connection */
2466
- readonly credentials: BaseCredentialsUnion;
2467
- /** Metadata of the connection */
2468
- readonly metadata: Record<string, string>;
2469
- }
2470
- export declare function connectionDeserializer(item: any): Connection;
2471
- /** The Type (or category) of the connection */
2472
- export type ConnectionType = "AzureOpenAI" | "AzureBlob" | "AzureStorageAccount" | "CognitiveSearch" | "CosmosDB" | "ApiKey" | "AppConfig" | "AppInsights" | "CustomKeys" | "RemoteTool";
2473
- /** A base class for connection credentials */
2474
- export interface BaseCredentials {
2475
- /** The type of credential used by the connection */
2476
- /** The discriminator possible values: ApiKey, AAD, CustomKeys, SAS, None, AgenticIdentityToken */
2477
- readonly type: CredentialType;
2478
- }
2479
- export declare function baseCredentialsDeserializer(item: any): BaseCredentials;
2480
- /** Alias for BaseCredentialsUnion */
2481
- export type BaseCredentialsUnion = ApiKeyCredentials | EntraIDCredentials | CustomCredential | SASTokenCredentials | NoAuthenticationCredentials | AgenticIdentityCredentials | BaseCredentials;
2482
- export declare function baseCredentialsUnionDeserializer(item: any): BaseCredentialsUnion;
2483
- /** The credential type used by the connection */
2484
- export type CredentialType = "ApiKey" | "AAD" | "SAS" | "CustomKeys" | "None" | "AgenticIdentityToken";
2485
- /** API Key Credential definition */
2486
- export interface ApiKeyCredentials extends BaseCredentials {
2487
- /** The credential type */
2488
- readonly type: "ApiKey";
2489
- /** API Key */
2490
- readonly apiKey: string;
2491
- }
2492
- export declare function apiKeyCredentialsDeserializer(item: any): ApiKeyCredentials;
2493
- /** Entra ID credential definition */
2494
- export interface EntraIDCredentials extends BaseCredentials {
2495
- /** The credential type */
2496
- readonly type: "AAD";
2497
- }
2498
- export declare function entraIDCredentialsDeserializer(item: any): EntraIDCredentials;
2499
- /** Custom credential definition */
2500
- export interface CustomCredential extends BaseCredentials {
2501
- /** The credential type */
2502
- readonly type: "CustomKeys";
2503
- /** Additional properties */
2504
- additionalProperties?: Record<string, string>;
2505
- }
2506
- export declare function customCredentialDeserializer(item: any): CustomCredential;
2507
- /** Shared Access Signature (SAS) credential definition */
2508
- export interface SASTokenCredentials extends BaseCredentials {
2509
- /** The credential type */
2510
- readonly type: "SAS";
2511
- /** SAS token */
2512
- readonly sasToken: string;
2513
- }
2514
- export declare function sasCredentialsDeserializer(item: any): SASTokenCredentials;
2515
- /** Credentials that do not require authentication */
2516
- export interface NoAuthenticationCredentials extends BaseCredentials {
2517
- /** The credential type */
2518
- readonly type: "None";
2519
- }
2520
- export declare function noAuthenticationCredentialsDeserializer(item: any): NoAuthenticationCredentials;
2521
- /** Agentic identity credential definition */
2522
- export interface AgenticIdentityCredentials extends BaseCredentials {
2523
- /** The credential type */
2524
- readonly type: "AgenticIdentityToken";
2525
- }
2526
- export declare function agenticIdentityCredentialsDeserializer(item: any): AgenticIdentityCredentials;
2527
- /** Paged collection of Connection items */
2528
- export interface _PagedConnection {
2529
- /** The Connection items on this page */
2530
- value: Connection[];
2531
- /** The link to the next page of items */
2532
- nextLink?: string;
1662
+ export declare function agenticIdentityPreviewCredentialsDeserializer(item: any): AgenticIdentityPreviewCredentials;
1663
+ /** Paged collection of Connection items */
1664
+ export interface _PagedConnection {
1665
+ /** The Connection items on this page */
1666
+ value: Connection[];
1667
+ /** The link to the next page of items */
1668
+ nextLink?: string;
2533
1669
  }
2534
1670
  export declare function _pagedConnectionDeserializer(item: any): _PagedConnection;
2535
1671
  export declare function connectionArrayDeserializer(result: Array<Connection>): any[];
@@ -2626,57 +1762,112 @@ export interface SasCredential {
2626
1762
  /** Type of credential */
2627
1763
  readonly type: "SAS";
2628
1764
  }
2629
- export declare function SasCredentialDeserializer(item: any): SasCredential;
1765
+ export declare function blobReferenceSasCredentialDeserializer(item: any): SasCredential;
2630
1766
  /** Represents a reference to a blob for consumption */
2631
1767
  export interface DatasetCredential {
2632
1768
  /** Credential info to access the storage account. */
2633
1769
  blobReference: BlobReference;
2634
1770
  }
2635
1771
  export declare function datasetCredentialDeserializer(item: any): DatasetCredential;
2636
- /** Paged collection of Index items */
2637
- export interface _PagedIndex {
2638
- /** The Index items on this page */
2639
- value: IndexUnion[];
2640
- /** The link to the next page of items */
2641
- nextLink?: string;
2642
- }
2643
- export declare function _pagedIndexDeserializer(item: any): _PagedIndex;
2644
- export declare function indexUnionArraySerializer(result: Array<IndexUnion>): any[];
2645
- export declare function indexUnionArrayDeserializer(result: Array<IndexUnion>): any[];
2646
- /** Index resource Definition */
2647
- export interface Index {
2648
- /** Type of index */
2649
- /** The discriminator possible values: AzureSearch, ManagedAzureSearch, CosmosDBNoSqlVectorStore */
2650
- type: IndexType;
2651
- /** Asset ID, a unique identifier for the asset */
2652
- readonly id?: string;
2653
- /** The name of the resource */
1772
+ /** Model Deployment Definition */
1773
+ export interface Deployment {
1774
+ /** The type of the deployment */
1775
+ /** The discriminator possible values: ModelDeployment */
1776
+ type: DeploymentType;
1777
+ /** Name of the deployment */
2654
1778
  readonly name: string;
2655
- /** The version of the resource */
2656
- readonly version: string;
2657
- /** The asset description text. */
2658
- description?: string;
2659
- /** Tag dictionary. Tags can be added, removed, and updated. */
2660
- tags?: Record<string, string>;
2661
1779
  }
2662
- export declare function indexSerializer(item: Index): any;
2663
- export declare function indexDeserializer(item: any): Index;
2664
- /** Alias for IndexUnion */
2665
- export type IndexUnion = AzureAISearchIndex | ManagedAzureAISearchIndex | CosmosDBIndex | Index;
2666
- export declare function indexUnionSerializer(item: IndexUnion): any;
2667
- export declare function indexUnionDeserializer(item: any): IndexUnion;
2668
- /** Type of IndexType */
2669
- export type IndexType = "AzureSearch" | "CosmosDBNoSqlVectorStore" | "ManagedAzureSearch";
2670
- /** Azure AI Search Index Definition */
2671
- export interface AzureAISearchIndex extends Index {
2672
- /** Type of index */
2673
- type: "AzureSearch";
2674
- /** Name of connection to Azure AI Search */
2675
- connectionName: string;
2676
- /** Name of index in Azure AI Search resource to attach */
2677
- indexName: string;
2678
- /** Field mapping configuration */
2679
- fieldMapping?: FieldMapping;
1780
+ export declare function deploymentDeserializer(item: any): Deployment;
1781
+ /** Alias for DeploymentUnion */
1782
+ export type DeploymentUnion = ModelDeployment | Deployment;
1783
+ export declare function deploymentUnionDeserializer(item: any): DeploymentUnion;
1784
+ /** Type of DeploymentType */
1785
+ export type DeploymentType = "ModelDeployment";
1786
+ /** Model Deployment Definition */
1787
+ export interface ModelDeployment extends Deployment {
1788
+ /** The type of the deployment */
1789
+ type: "ModelDeployment";
1790
+ /** Publisher-specific name of the deployed model */
1791
+ readonly modelName: string;
1792
+ /** Publisher-specific version of the deployed model */
1793
+ readonly modelVersion: string;
1794
+ /** Name of the deployed model's publisher */
1795
+ readonly modelPublisher: string;
1796
+ /** Capabilities of deployed model */
1797
+ readonly capabilities: Record<string, string>;
1798
+ /** Sku of the model deployment */
1799
+ readonly sku: ModelDeploymentSku;
1800
+ /** Name of the connection the deployment comes from */
1801
+ readonly connectionName?: string;
1802
+ }
1803
+ export declare function modelDeploymentDeserializer(item: any): ModelDeployment;
1804
+ /** Sku information */
1805
+ export interface ModelDeploymentSku {
1806
+ /** Sku capacity */
1807
+ capacity: number;
1808
+ /** Sku family */
1809
+ family: string;
1810
+ /** Sku name */
1811
+ name: string;
1812
+ /** Sku size */
1813
+ size: string;
1814
+ /** Sku tier */
1815
+ tier: string;
1816
+ }
1817
+ export declare function modelDeploymentSkuDeserializer(item: any): ModelDeploymentSku;
1818
+ /** Paged collection of Deployment items */
1819
+ export interface _PagedDeployment {
1820
+ /** The Deployment items on this page */
1821
+ value: DeploymentUnion[];
1822
+ /** The link to the next page of items */
1823
+ nextLink?: string;
1824
+ }
1825
+ export declare function _pagedDeploymentDeserializer(item: any): _PagedDeployment;
1826
+ export declare function deploymentUnionArrayDeserializer(result: Array<DeploymentUnion>): any[];
1827
+ /** Paged collection of Index items */
1828
+ export interface _PagedIndex {
1829
+ /** The Index items on this page */
1830
+ value: IndexUnion[];
1831
+ /** The link to the next page of items */
1832
+ nextLink?: string;
1833
+ }
1834
+ export declare function _pagedIndexDeserializer(item: any): _PagedIndex;
1835
+ export declare function indexUnionArraySerializer(result: Array<IndexUnion>): any[];
1836
+ export declare function indexUnionArrayDeserializer(result: Array<IndexUnion>): any[];
1837
+ /** Index resource Definition */
1838
+ export interface Index {
1839
+ /** Type of index */
1840
+ /** The discriminator possible values: AzureSearch, ManagedAzureSearch, CosmosDBNoSqlVectorStore */
1841
+ type: IndexType;
1842
+ /** Asset ID, a unique identifier for the asset */
1843
+ readonly id?: string;
1844
+ /** The name of the resource */
1845
+ readonly name: string;
1846
+ /** The version of the resource */
1847
+ readonly version: string;
1848
+ /** The asset description text. */
1849
+ description?: string;
1850
+ /** Tag dictionary. Tags can be added, removed, and updated. */
1851
+ tags?: Record<string, string>;
1852
+ }
1853
+ export declare function indexSerializer(item: Index): any;
1854
+ export declare function indexDeserializer(item: any): Index;
1855
+ /** Alias for IndexUnion */
1856
+ export type IndexUnion = AzureAISearchIndex | ManagedAzureAISearchIndex | CosmosDBIndex | Index;
1857
+ export declare function indexUnionSerializer(item: IndexUnion): any;
1858
+ export declare function indexUnionDeserializer(item: any): IndexUnion;
1859
+ /** Type of IndexType */
1860
+ export type IndexType = "AzureSearch" | "CosmosDBNoSqlVectorStore" | "ManagedAzureSearch";
1861
+ /** Azure AI Search Index Definition */
1862
+ export interface AzureAISearchIndex extends Index {
1863
+ /** Type of index */
1864
+ type: "AzureSearch";
1865
+ /** Name of connection to Azure AI Search */
1866
+ connectionName: string;
1867
+ /** Name of index in Azure AI Search resource to attach */
1868
+ indexName: string;
1869
+ /** Field mapping configuration */
1870
+ fieldMapping?: FieldMapping;
2680
1871
  }
2681
1872
  export declare function azureAISearchIndexSerializer(item: AzureAISearchIndex): any;
2682
1873
  export declare function azureAISearchIndexDeserializer(item: any): AzureAISearchIndex;
@@ -2732,264 +1923,114 @@ export interface EmbeddingConfiguration {
2732
1923
  }
2733
1924
  export declare function embeddingConfigurationSerializer(item: EmbeddingConfiguration): any;
2734
1925
  export declare function embeddingConfigurationDeserializer(item: any): EmbeddingConfiguration;
2735
- /** Model Deployment Definition */
2736
- export interface Deployment {
2737
- /** The type of the deployment */
2738
- /** The discriminator possible values: ModelDeployment */
2739
- type: DeploymentType;
2740
- /** Name of the deployment */
1926
+ /** Evaluation Taxonomy Definition */
1927
+ export interface EvaluationTaxonomy {
1928
+ /** Asset ID, a unique identifier for the asset */
1929
+ readonly id?: string;
1930
+ /** The name of the resource */
2741
1931
  readonly name: string;
1932
+ /** The version of the resource */
1933
+ readonly version: string;
1934
+ /** The asset description text. */
1935
+ description?: string;
1936
+ /** Tag dictionary. Tags can be added, removed, and updated. */
1937
+ tags?: Record<string, string>;
1938
+ /** Input configuration for the evaluation taxonomy. */
1939
+ taxonomyInput: EvaluationTaxonomyInputUnion;
1940
+ /** List of taxonomy categories. */
1941
+ taxonomyCategories?: TaxonomyCategory[];
1942
+ /** Additional properties for the evaluation taxonomy. */
1943
+ properties?: Record<string, string>;
2742
1944
  }
2743
- export declare function deploymentDeserializer(item: any): Deployment;
2744
- /** Alias for DeploymentUnion */
2745
- export type DeploymentUnion = ModelDeployment | Deployment;
2746
- export declare function deploymentUnionDeserializer(item: any): DeploymentUnion;
2747
- /** Type of DeploymentType */
2748
- export type DeploymentType = "ModelDeployment";
2749
- /** Model Deployment Definition */
2750
- export interface ModelDeployment extends Deployment {
2751
- /** The type of the deployment */
2752
- type: "ModelDeployment";
2753
- /** Publisher-specific name of the deployed model */
2754
- readonly modelName: string;
2755
- /** Publisher-specific version of the deployed model */
2756
- readonly modelVersion: string;
2757
- /** Name of the deployed model's publisher */
2758
- readonly modelPublisher: string;
2759
- /** Capabilities of deployed model */
2760
- readonly capabilities: Record<string, string>;
2761
- /** Sku of the model deployment */
2762
- readonly sku: ModelDeploymentSku;
2763
- /** Name of the connection the deployment comes from */
2764
- readonly connectionName?: string;
1945
+ export declare function evaluationTaxonomySerializer(item: EvaluationTaxonomy): any;
1946
+ export declare function evaluationTaxonomyDeserializer(item: any): EvaluationTaxonomy;
1947
+ /** Input configuration for the evaluation taxonomy. */
1948
+ export interface EvaluationTaxonomyInput {
1949
+ /** Input type of the evaluation taxonomy. */
1950
+ /** The discriminator possible values: agent */
1951
+ type: EvaluationTaxonomyInputType;
2765
1952
  }
2766
- export declare function modelDeploymentDeserializer(item: any): ModelDeployment;
2767
- /** Sku information */
2768
- export interface ModelDeploymentSku {
2769
- /** Sku capacity */
2770
- capacity: number;
2771
- /** Sku family */
2772
- family: string;
2773
- /** Sku name */
2774
- name: string;
2775
- /** Sku size */
2776
- size: string;
2777
- /** Sku tier */
2778
- tier: string;
1953
+ export declare function evaluationTaxonomyInputSerializer(item: EvaluationTaxonomyInput): any;
1954
+ export declare function evaluationTaxonomyInputDeserializer(item: any): EvaluationTaxonomyInput;
1955
+ /** Alias for EvaluationTaxonomyInputUnion */
1956
+ export type EvaluationTaxonomyInputUnion = AgentTaxonomyInput | EvaluationTaxonomyInput;
1957
+ export declare function evaluationTaxonomyInputUnionSerializer(item: EvaluationTaxonomyInputUnion): any;
1958
+ export declare function evaluationTaxonomyInputUnionDeserializer(item: any): EvaluationTaxonomyInputUnion;
1959
+ /** Type of the evaluation taxonomy input. */
1960
+ export type EvaluationTaxonomyInputType = "agent" | "policy";
1961
+ /** Input configuration for the evaluation taxonomy when the input type is agent. */
1962
+ export interface AgentTaxonomyInput extends EvaluationTaxonomyInput {
1963
+ /** Input type of the evaluation taxonomy. */
1964
+ type: "agent";
1965
+ /** Target configuration for the agent. */
1966
+ target: TargetUnion;
1967
+ /** List of risk categories to evaluate against. */
1968
+ riskCategories: RiskCategory[];
2779
1969
  }
2780
- export declare function modelDeploymentSkuDeserializer(item: any): ModelDeploymentSku;
2781
- /** Paged collection of Deployment items */
2782
- export interface _PagedDeployment {
2783
- /** The Deployment items on this page */
2784
- value: DeploymentUnion[];
2785
- /** The link to the next page of items */
2786
- nextLink?: string;
1970
+ export declare function agentTaxonomyInputSerializer(item: AgentTaxonomyInput): any;
1971
+ export declare function agentTaxonomyInputDeserializer(item: any): AgentTaxonomyInput;
1972
+ /** Base class for targets with discriminator support. */
1973
+ export interface Target {
1974
+ /** The type of target. */
1975
+ /** The discriminator possible values: azure_ai_model, azure_ai_agent */
1976
+ type: string;
2787
1977
  }
2788
- export declare function _pagedDeploymentDeserializer(item: any): _PagedDeployment;
2789
- export declare function deploymentUnionArrayDeserializer(result: Array<DeploymentUnion>): any[];
2790
- /** Red team details. */
2791
- export interface RedTeam {
2792
- /** Identifier of the red team run. */
2793
- readonly name: string;
2794
- /** Name of the red-team run. */
2795
- displayName?: string;
2796
- /** Number of simulation rounds. */
2797
- numTurns?: number;
2798
- /** List of attack strategies or nested lists of attack strategies. */
2799
- attackStrategies?: AttackStrategy[];
2800
- /** Simulation-only or Simulation + Evaluation. Default false, if true the scan outputs conversation not evaluation result. */
2801
- simulationOnly?: boolean;
2802
- /** List of risk categories to generate attack objectives for. */
2803
- riskCategories?: RiskCategory[];
2804
- /** Application scenario for the red team operation, to generate scenario specific attacks. */
2805
- applicationScenario?: string;
2806
- /** Red team's tags. Unlike properties, tags are fully mutable. */
2807
- tags?: Record<string, string>;
2808
- /** Red team's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */
2809
- properties?: Record<string, string>;
2810
- /** Status of the red-team. It is set by service and is read-only. */
2811
- readonly status?: string;
2812
- /** Target configuration for the red-team run. */
2813
- target: TargetConfigUnion;
1978
+ export declare function targetSerializer(item: Target): any;
1979
+ export declare function targetDeserializer(item: any): Target;
1980
+ /** Alias for TargetUnion */
1981
+ export type TargetUnion = AzureAIModelTarget | AzureAIAgentTarget | Target;
1982
+ export declare function targetUnionSerializer(item: TargetUnion): any;
1983
+ export declare function targetUnionDeserializer(item: any): TargetUnion;
1984
+ /** Represents a target specifying an Azure AI model for operations requiring model selection. */
1985
+ export interface AzureAIModelTarget extends Target {
1986
+ /** The type of target, always `azure_ai_model`. */
1987
+ type: "azure_ai_model";
1988
+ /** The unique identifier of the Azure AI model. */
1989
+ model?: string;
1990
+ /** The parameters used to control the sampling behavior of the model during text generation. */
1991
+ sampling_params?: ModelSamplingParams;
1992
+ }
1993
+ export declare function azureAIModelTargetSerializer(item: AzureAIModelTarget): any;
1994
+ export declare function azureAIModelTargetDeserializer(item: any): AzureAIModelTarget;
1995
+ /** Represents a set of parameters used to control the sampling behavior of a language model during text generation. */
1996
+ export interface ModelSamplingParams {
1997
+ /** The temperature parameter for sampling. */
1998
+ temperature: number;
1999
+ /** The top-p parameter for nucleus sampling. */
2000
+ top_p: number;
2001
+ /** The random seed for reproducibility. */
2002
+ seed: number;
2003
+ /** The maximum number of tokens allowed in the completion. */
2004
+ max_completion_tokens: number;
2005
+ }
2006
+ export declare function modelSamplingParamsSerializer(item: ModelSamplingParams): any;
2007
+ export declare function modelSamplingParamsDeserializer(item: any): ModelSamplingParams;
2008
+ /** Represents a target specifying an Azure AI agent. */
2009
+ export interface AzureAIAgentTarget extends Target {
2010
+ /** The type of target, always `azure_ai_agent`. */
2011
+ type: "azure_ai_agent";
2012
+ /** The unique identifier of the Azure AI agent. */
2013
+ name: string;
2014
+ /** The version of the Azure AI agent. */
2015
+ version?: string;
2016
+ /** The parameters used to control the sampling behavior of the agent during text generation. */
2017
+ tool_descriptions?: ToolDescription[];
2814
2018
  }
2815
- export declare function redTeamSerializer(item: RedTeam): any;
2816
- export declare function redTeamDeserializer(item: any): RedTeam;
2817
- /** Strategies for attacks. */
2818
- export type AttackStrategy = "easy" | "moderate" | "difficult" | "ascii_art" | "ascii_smuggler" | "atbash" | "base64" | "binary" | "caesar" | "character_space" | "jailbreak" | "ansii_attack" | "character_swap" | "suffix_append" | "string_join" | "unicode_confusable" | "unicode_substitution" | "diacritic" | "flip" | "leetspeak" | "rot13" | "morse" | "url" | "baseline" | "indirect_jailbreak" | "tense" | "multi_turn" | "crescendo";
2019
+ export declare function azureAIAgentTargetSerializer(item: AzureAIAgentTarget): any;
2020
+ export declare function azureAIAgentTargetDeserializer(item: any): AzureAIAgentTarget;
2021
+ export declare function toolDescriptionArraySerializer(result: Array<ToolDescription>): any[];
2022
+ export declare function toolDescriptionArrayDeserializer(result: Array<ToolDescription>): any[];
2023
+ /** Description of a tool that can be used by an agent. */
2024
+ export interface ToolDescription {
2025
+ /** The name of the tool. */
2026
+ name?: string;
2027
+ /** A brief description of the tool's purpose. */
2028
+ description?: string;
2029
+ }
2030
+ export declare function toolDescriptionSerializer(item: ToolDescription): any;
2031
+ export declare function toolDescriptionDeserializer(item: any): ToolDescription;
2819
2032
  /** Risk category for the attack objective. */
2820
2033
  export type RiskCategory = "HateUnfairness" | "Violence" | "Sexual" | "SelfHarm" | "ProtectedMaterial" | "CodeVulnerability" | "UngroundedAttributes" | "ProhibitedActions" | "SensitiveDataLeakage" | "TaskAdherence";
2821
- /** Abstract class for target configuration. */
2822
- export interface TargetConfig {
2823
- /** Type of the model configuration. */
2824
- /** The discriminator possible values: AzureOpenAIModel */
2825
- type: string;
2826
- }
2827
- export declare function targetConfigSerializer(item: TargetConfig): any;
2828
- export declare function targetConfigDeserializer(item: any): TargetConfig;
2829
- /** Alias for TargetConfigUnion */
2830
- export type TargetConfigUnion = AzureOpenAIModelConfiguration | TargetConfig;
2831
- export declare function targetConfigUnionSerializer(item: TargetConfigUnion): any;
2832
- export declare function targetConfigUnionDeserializer(item: any): TargetConfigUnion;
2833
- /** Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */
2834
- export interface AzureOpenAIModelConfiguration extends TargetConfig {
2835
- type: "AzureOpenAIModel";
2836
- /** Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (e.g. `my-aoai-connection/gpt-4o`). */
2837
- modelDeploymentName: string;
2838
- }
2839
- export declare function azureOpenAIModelConfigurationSerializer(item: AzureOpenAIModelConfiguration): any;
2840
- export declare function azureOpenAIModelConfigurationDeserializer(item: any): AzureOpenAIModelConfiguration;
2841
- /** Paged collection of RedTeam items */
2842
- export interface _PagedRedTeam {
2843
- /** The RedTeam items on this page */
2844
- value: RedTeam[];
2845
- /** The link to the next page of items */
2846
- nextLink?: string;
2847
- }
2848
- export declare function _pagedRedTeamDeserializer(item: any): _PagedRedTeam;
2849
- export declare function redTeamArraySerializer(result: Array<RedTeam>): any[];
2850
- export declare function redTeamArrayDeserializer(result: Array<RedTeam>): any[];
2851
- /** Evaluation rule model. */
2852
- export interface EvaluationRule {
2853
- /** Unique identifier for the evaluation rule. */
2854
- readonly id: string;
2855
- /** Display Name for the evaluation rule. */
2856
- displayName?: string;
2857
- /** Description for the evaluation rule. */
2858
- description?: string;
2859
- /** Definition of the evaluation rule action. */
2860
- action: EvaluationRuleActionUnion;
2861
- /** Filter condition of the evaluation rule. */
2862
- filter?: EvaluationRuleFilter;
2863
- /** Event type that the evaluation rule applies to. */
2864
- eventType: EvaluationRuleEventType;
2865
- /** Indicates whether the evaluation rule is enabled. Default is true. */
2866
- enabled: boolean;
2867
- /** System metadata for the evaluation rule. */
2868
- readonly systemData: Record<string, string>;
2869
- }
2870
- export declare function evaluationRuleSerializer(item: EvaluationRule): any;
2871
- export declare function evaluationRuleDeserializer(item: any): EvaluationRule;
2872
- /** Evaluation action model. */
2873
- export interface EvaluationRuleAction {
2874
- /** Type of the evaluation action. */
2875
- /** The discriminator possible values: continuousEvaluation, humanEvaluation */
2876
- type: EvaluationRuleActionType;
2877
- }
2878
- export declare function evaluationRuleActionSerializer(item: EvaluationRuleAction): any;
2879
- export declare function evaluationRuleActionDeserializer(item: any): EvaluationRuleAction;
2880
- /** Alias for EvaluationRuleActionUnion */
2881
- export type EvaluationRuleActionUnion = ContinuousEvaluationRuleAction | HumanEvaluationRuleAction | EvaluationRuleAction;
2882
- export declare function evaluationRuleActionUnionSerializer(item: EvaluationRuleActionUnion): any;
2883
- export declare function evaluationRuleActionUnionDeserializer(item: any): EvaluationRuleActionUnion;
2884
- /** Type of the evaluation action. */
2885
- export type EvaluationRuleActionType = "continuousEvaluation" | "humanEvaluation";
2886
- /** Evaluation rule action for continuous evaluation. */
2887
- export interface ContinuousEvaluationRuleAction extends EvaluationRuleAction {
2888
- type: "continuousEvaluation";
2889
- /** Eval Id to add continuous evaluation runs to. */
2890
- evalId: string;
2891
- /** Maximum number of evaluation runs allowed per hour. */
2892
- maxHourlyRuns?: number;
2893
- }
2894
- export declare function continuousEvaluationRuleActionSerializer(item: ContinuousEvaluationRuleAction): any;
2895
- export declare function continuousEvaluationRuleActionDeserializer(item: any): ContinuousEvaluationRuleAction;
2896
- /** Evaluation rule action for human evaluation. */
2897
- export interface HumanEvaluationRuleAction extends EvaluationRuleAction {
2898
- type: "humanEvaluation";
2899
- /** Human evaluation template Id. */
2900
- templateId: string;
2901
- }
2902
- export declare function humanEvaluationRuleActionSerializer(item: HumanEvaluationRuleAction): any;
2903
- export declare function humanEvaluationRuleActionDeserializer(item: any): HumanEvaluationRuleAction;
2904
- /** Evaluation filter model. */
2905
- export interface EvaluationRuleFilter {
2906
- /** Filter by agent name. */
2907
- agentName: string;
2908
- }
2909
- export declare function evaluationRuleFilterSerializer(item: EvaluationRuleFilter): any;
2910
- export declare function evaluationRuleFilterDeserializer(item: any): EvaluationRuleFilter;
2911
- /** Type of the evaluation rule event. */
2912
- export type EvaluationRuleEventType = "responseCompleted" | "manual";
2913
- /** Paged collection of EvaluationRule items */
2914
- export interface _PagedEvaluationRule {
2915
- /** The EvaluationRule items on this page */
2916
- value: EvaluationRule[];
2917
- /** The link to the next page of items */
2918
- nextLink?: string;
2919
- }
2920
- export declare function _pagedEvaluationRuleDeserializer(item: any): _PagedEvaluationRule;
2921
- export declare function evaluationRuleArraySerializer(result: Array<EvaluationRule>): any[];
2922
- export declare function evaluationRuleArrayDeserializer(result: Array<EvaluationRule>): any[];
2923
- /** Evaluation Taxonomy Definition */
2924
- export interface EvaluationTaxonomy {
2925
- /** Asset ID, a unique identifier for the asset */
2926
- readonly id?: string;
2927
- /** The name of the resource */
2928
- readonly name: string;
2929
- /** The version of the resource */
2930
- readonly version: string;
2931
- /** The asset description text. */
2932
- description?: string;
2933
- /** Tag dictionary. Tags can be added, removed, and updated. */
2934
- tags?: Record<string, string>;
2935
- /** Input configuration for the evaluation taxonomy. */
2936
- taxonomyInput: EvaluationTaxonomyInputUnion;
2937
- /** List of taxonomy categories. */
2938
- taxonomyCategories?: TaxonomyCategory[];
2939
- /** Additional properties for the evaluation taxonomy. */
2940
- properties?: Record<string, string>;
2941
- }
2942
- export declare function evaluationTaxonomySerializer(item: EvaluationTaxonomy): any;
2943
- export declare function evaluationTaxonomyDeserializer(item: any): EvaluationTaxonomy;
2944
- /** Input configuration for the evaluation taxonomy. */
2945
- export interface EvaluationTaxonomyInput {
2946
- /** Input type of the evaluation taxonomy. */
2947
- /** The discriminator possible values: agent */
2948
- type: EvaluationTaxonomyInputType;
2949
- }
2950
- export declare function evaluationTaxonomyInputSerializer(item: EvaluationTaxonomyInput): any;
2951
- export declare function evaluationTaxonomyInputDeserializer(item: any): EvaluationTaxonomyInput;
2952
- /** Alias for EvaluationTaxonomyInputUnion */
2953
- export type EvaluationTaxonomyInputUnion = AgentTaxonomyInput | EvaluationTaxonomyInput;
2954
- export declare function evaluationTaxonomyInputUnionSerializer(item: EvaluationTaxonomyInputUnion): any;
2955
- export declare function evaluationTaxonomyInputUnionDeserializer(item: any): EvaluationTaxonomyInputUnion;
2956
- /** Type of the evaluation taxonomy input. */
2957
- export type EvaluationTaxonomyInputType = "agent" | "policy";
2958
- /** Input configuration for the evaluation taxonomy when the input type is agent. */
2959
- export interface AgentTaxonomyInput extends EvaluationTaxonomyInput {
2960
- /** Input type of the evaluation taxonomy. */
2961
- type: "agent";
2962
- /** Target configuration for the agent. */
2963
- target: AzureAIAgentTarget;
2964
- /** List of risk categories to evaluate against. */
2965
- riskCategories: RiskCategory[];
2966
- }
2967
- export declare function agentTaxonomyInputSerializer(item: AgentTaxonomyInput): any;
2968
- export declare function agentTaxonomyInputDeserializer(item: any): AgentTaxonomyInput;
2969
- /** Represents a target specifying an Azure AI agent. */
2970
- export interface AzureAIAgentTarget extends Target {
2971
- /** The type of target, always `azure_ai_agent`. */
2972
- type: "azure_ai_agent";
2973
- /** The unique identifier of the Azure AI agent. */
2974
- name: string;
2975
- /** The version of the Azure AI agent. */
2976
- version?: string;
2977
- /** The parameters used to control the sampling behavior of the agent during text generation. */
2978
- tool_descriptions?: ToolDescription[];
2979
- }
2980
- export declare function azureAIAgentTargetSerializer(item: AzureAIAgentTarget): any;
2981
- export declare function azureAIAgentTargetDeserializer(item: any): AzureAIAgentTarget;
2982
- export declare function toolDescriptionArraySerializer(result: Array<ToolDescription>): any[];
2983
- export declare function toolDescriptionArrayDeserializer(result: Array<ToolDescription>): any[];
2984
- /** Description of a tool that can be used by an agent. */
2985
- export interface ToolDescription {
2986
- /** The name of the tool. */
2987
- name?: string;
2988
- /** A brief description of the tool's purpose. */
2989
- description?: string;
2990
- }
2991
- export declare function toolDescriptionSerializer(item: ToolDescription): any;
2992
- export declare function toolDescriptionDeserializer(item: any): ToolDescription;
2993
2034
  export declare function taxonomyCategoryArraySerializer(result: Array<TaxonomyCategory>): any[];
2994
2035
  export declare function taxonomyCategoryArrayDeserializer(result: Array<TaxonomyCategory>): any[];
2995
2036
  /** Taxonomy category definition. */
@@ -3026,18 +2067,6 @@ export interface TaxonomySubCategory {
3026
2067
  }
3027
2068
  export declare function taxonomySubCategorySerializer(item: TaxonomySubCategory): any;
3028
2069
  export declare function taxonomySubCategoryDeserializer(item: any): TaxonomySubCategory;
3029
- /** Base class for targets with discriminator support. */
3030
- export interface Target {
3031
- /** The type of target. */
3032
- /** The discriminator possible values: azure_ai_model, azure_ai_agent */
3033
- type: string;
3034
- }
3035
- export declare function targetSerializer(item: Target): any;
3036
- export declare function targetDeserializer(item: any): Target;
3037
- /** Alias for TargetUnion */
3038
- export type TargetUnion = AzureAIAgentTarget | Target;
3039
- export declare function targetUnionSerializer(item: TargetUnion): any;
3040
- export declare function targetUnionDeserializer(item: any): TargetUnion;
3041
2070
  /** Paged collection of EvaluationTaxonomy items */
3042
2071
  export interface _PagedEvaluationTaxonomy {
3043
2072
  /** The EvaluationTaxonomy items on this page */
@@ -3073,9 +2102,9 @@ export interface EvaluatorVersion {
3073
2102
  /** Creator of the evaluator */
3074
2103
  readonly created_by?: string;
3075
2104
  /** Creation date/time of the evaluator */
3076
- readonly created_at?: number;
2105
+ readonly created_at?: string;
3077
2106
  /** Last modified date/time of the evaluator */
3078
- readonly modified_at?: number;
2107
+ readonly modified_at?: string;
3079
2108
  /** Asset ID, a unique identifier for the asset */
3080
2109
  readonly id?: string;
3081
2110
  /** The name of the resource */
@@ -3099,9 +2128,9 @@ export interface EvaluatorDefinition {
3099
2128
  /** The discriminator possible values: code, prompt */
3100
2129
  type: EvaluatorDefinitionType;
3101
2130
  /** The JSON schema (Draft 2020-12) for the evaluator's input parameters. This includes parameters like type, properties, required. */
3102
- init_parameters?: unknown;
2131
+ init_parameters?: Record<string, unknown>;
3103
2132
  /** The JSON schema (Draft 2020-12) for the evaluator's input data. This includes parameters like type, properties, required. */
3104
- data_schema?: unknown;
2133
+ data_schema?: Record<string, unknown>;
3105
2134
  /** List of output metrics produced by this evaluator */
3106
2135
  metrics?: Record<string, EvaluatorMetric>;
3107
2136
  }
@@ -3136,6 +2165,7 @@ export type EvaluatorMetricType = "ordinal" | "continuous" | "boolean";
3136
2165
  export type EvaluatorMetricDirection = "increase" | "decrease" | "neutral";
3137
2166
  /** Code-based evaluator definition using python code */
3138
2167
  export interface CodeBasedEvaluatorDefinition extends EvaluatorDefinition {
2168
+ /** The type discriminator, always 'code_based'. */
3139
2169
  type: "code";
3140
2170
  /** Inline code text for the evaluator */
3141
2171
  code_text: string;
@@ -3144,6 +2174,7 @@ export declare function codeBasedEvaluatorDefinitionSerializer(item: CodeBasedEv
3144
2174
  export declare function codeBasedEvaluatorDefinitionDeserializer(item: any): CodeBasedEvaluatorDefinition;
3145
2175
  /** Prompt-based evaluator */
3146
2176
  export interface PromptBasedEvaluatorDefinition extends EvaluatorDefinition {
2177
+ /** The type discriminator, always 'prompt_based'. */
3147
2178
  type: "prompt";
3148
2179
  /** The prompt text used for evaluation */
3149
2180
  prompt_text: string;
@@ -3186,13 +2217,13 @@ export interface InsightRequest {
3186
2217
  export declare function insightRequestSerializer(item: InsightRequest): any;
3187
2218
  export declare function insightRequestDeserializer(item: any): InsightRequest;
3188
2219
  /** Alias for InsightRequestUnion */
3189
- export type InsightRequestUnion = EvaluationRunClusterInsightsRequest | AgentClusterInsightsRequest | EvaluationComparisonRequest | InsightRequest;
2220
+ export type InsightRequestUnion = EvaluationRunClusterInsightRequest | AgentClusterInsightRequest | EvaluationComparisonInsightRequest | InsightRequest;
3190
2221
  export declare function insightRequestUnionSerializer(item: InsightRequestUnion): any;
3191
2222
  export declare function insightRequestUnionDeserializer(item: any): InsightRequestUnion;
3192
2223
  /** The request of the insights. */
3193
2224
  export type InsightType = "EvaluationRunClusterInsight" | "AgentClusterInsight" | "EvaluationComparison";
3194
2225
  /** Insights on set of Evaluation Results */
3195
- export interface EvaluationRunClusterInsightsRequest extends InsightRequest {
2226
+ export interface EvaluationRunClusterInsightRequest extends InsightRequest {
3196
2227
  /** The type of insights request. */
3197
2228
  type: "EvaluationRunClusterInsight";
3198
2229
  /** Evaluation Id for the insights. */
@@ -3202,8 +2233,8 @@ export interface EvaluationRunClusterInsightsRequest extends InsightRequest {
3202
2233
  /** Configuration of the model used in the insight generation. */
3203
2234
  modelConfiguration?: InsightModelConfiguration;
3204
2235
  }
3205
- export declare function evaluationRunClusterInsightsRequestSerializer(item: EvaluationRunClusterInsightsRequest): any;
3206
- export declare function evaluationRunClusterInsightsRequestDeserializer(item: any): EvaluationRunClusterInsightsRequest;
2236
+ export declare function evaluationRunClusterInsightRequestSerializer(item: EvaluationRunClusterInsightRequest): any;
2237
+ export declare function evaluationRunClusterInsightRequestDeserializer(item: any): EvaluationRunClusterInsightRequest;
3207
2238
  /** Configuration of the model used in the insight generation. */
3208
2239
  export interface InsightModelConfiguration {
3209
2240
  /** The model deployment to be evaluated. Accepts either the deployment name alone or with the connection name as '{connectionName}/<modelDeploymentName>'. */
@@ -3212,7 +2243,7 @@ export interface InsightModelConfiguration {
3212
2243
  export declare function insightModelConfigurationSerializer(item: InsightModelConfiguration): any;
3213
2244
  export declare function insightModelConfigurationDeserializer(item: any): InsightModelConfiguration;
3214
2245
  /** Insights on set of Agent Evaluation Results */
3215
- export interface AgentClusterInsightsRequest extends InsightRequest {
2246
+ export interface AgentClusterInsightRequest extends InsightRequest {
3216
2247
  /** The type of request. */
3217
2248
  type: "AgentClusterInsight";
3218
2249
  /** Identifier for the agent. */
@@ -3220,10 +2251,10 @@ export interface AgentClusterInsightsRequest extends InsightRequest {
3220
2251
  /** Configuration of the model used in the insight generation. */
3221
2252
  modelConfiguration?: InsightModelConfiguration;
3222
2253
  }
3223
- export declare function agentClusterInsightsRequestSerializer(item: AgentClusterInsightsRequest): any;
3224
- export declare function agentClusterInsightsRequestDeserializer(item: any): AgentClusterInsightsRequest;
2254
+ export declare function agentClusterInsightRequestSerializer(item: AgentClusterInsightRequest): any;
2255
+ export declare function agentClusterInsightRequestDeserializer(item: any): AgentClusterInsightRequest;
3225
2256
  /** Evaluation Comparison Request */
3226
- export interface EvaluationComparisonRequest extends InsightRequest {
2257
+ export interface EvaluationComparisonInsightRequest extends InsightRequest {
3227
2258
  /** The type of request. */
3228
2259
  type: "EvaluationComparison";
3229
2260
  /** Identifier for the evaluation. */
@@ -3233,8 +2264,8 @@ export interface EvaluationComparisonRequest extends InsightRequest {
3233
2264
  /** List of treatment run IDs for comparison. */
3234
2265
  treatmentRunIds: string[];
3235
2266
  }
3236
- export declare function evaluationComparisonRequestSerializer(item: EvaluationComparisonRequest): any;
3237
- export declare function evaluationComparisonRequestDeserializer(item: any): EvaluationComparisonRequest;
2267
+ export declare function evaluationComparisonInsightRequestSerializer(item: EvaluationComparisonInsightRequest): any;
2268
+ export declare function evaluationComparisonInsightRequestDeserializer(item: any): EvaluationComparisonInsightRequest;
3238
2269
  /** The result of the insights. */
3239
2270
  export interface InsightResult {
3240
2271
  /** The type of insights result. */
@@ -3243,10 +2274,10 @@ export interface InsightResult {
3243
2274
  }
3244
2275
  export declare function insightResultDeserializer(item: any): InsightResult;
3245
2276
  /** Alias for InsightResultUnion */
3246
- export type InsightResultUnion = EvalCompareReport | EvaluationRunClusterInsightResult | AgentClusterInsightResult | InsightResult;
2277
+ export type InsightResultUnion = EvaluationComparisonInsightResult | EvaluationRunClusterInsightResult | AgentClusterInsightResult | InsightResult;
3247
2278
  export declare function insightResultUnionDeserializer(item: any): InsightResultUnion;
3248
2279
  /** Insights from the evaluation comparison. */
3249
- export interface EvalCompareReport extends InsightResult {
2280
+ export interface EvaluationComparisonInsightResult extends InsightResult {
3250
2281
  /** The type of insights result. */
3251
2282
  type: "EvaluationComparison";
3252
2283
  /** Comparison results for each treatment run against the baseline. */
@@ -3254,7 +2285,7 @@ export interface EvalCompareReport extends InsightResult {
3254
2285
  /** The statistical method used for comparison. */
3255
2286
  method: string;
3256
2287
  }
3257
- export declare function evalCompareReportDeserializer(item: any): EvalCompareReport;
2288
+ export declare function evaluationComparisonInsightResultDeserializer(item: any): EvaluationComparisonInsightResult;
3258
2289
  export declare function evalRunResultComparisonArrayDeserializer(result: Array<EvalRunResultComparison>): any[];
3259
2290
  /** Comparison results for treatment runs against the baseline. */
3260
2291
  export interface EvalRunResultComparison {
@@ -3296,157 +2327,424 @@ export interface EvalRunResultCompareItem {
3296
2327
  /** Type of treatment effect. */
3297
2328
  treatmentEffect: TreatmentEffectType;
3298
2329
  }
3299
- export declare function evalRunResultCompareItemDeserializer(item: any): EvalRunResultCompareItem;
3300
- /** Treatment Effect Type. */
3301
- export type TreatmentEffectType = "TooFewSamples" | "Inconclusive" | "Changed" | "Improved" | "Degraded";
3302
- /** Insights from the evaluation run cluster analysis. */
3303
- export interface EvaluationRunClusterInsightResult extends InsightResult {
3304
- /** The type of insights result. */
3305
- type: "EvaluationRunClusterInsight";
3306
- clusterInsight: ClusterInsightResult;
2330
+ export declare function evalRunResultCompareItemDeserializer(item: any): EvalRunResultCompareItem;
2331
+ /** Treatment Effect Type. */
2332
+ export type TreatmentEffectType = "TooFewSamples" | "Inconclusive" | "Changed" | "Improved" | "Degraded";
2333
+ /** Insights from the evaluation run cluster analysis. */
2334
+ export interface EvaluationRunClusterInsightResult extends InsightResult {
2335
+ /** The type of insights result. */
2336
+ type: "EvaluationRunClusterInsight";
2337
+ /** The cluster insight details. */
2338
+ clusterInsight: ClusterInsightResult;
2339
+ }
2340
+ export declare function evaluationRunClusterInsightResultDeserializer(item: any): EvaluationRunClusterInsightResult;
2341
+ /** Insights from the cluster analysis. */
2342
+ export interface ClusterInsightResult {
2343
+ /** Summary of the insights report. */
2344
+ summary: InsightSummary;
2345
+ /** List of clusters identified in the insights. */
2346
+ clusters: InsightCluster[];
2347
+ /**
2348
+ * Optional mapping of IDs to 2D coordinates used by the UX for visualization.
2349
+ *
2350
+ * The map keys are string identifiers (for example, a cluster id or a sample id)
2351
+ * and the values are the coordinates and visual size for rendering on a 2D chart.
2352
+ *
2353
+ * This property is omitted unless the client requests coordinates (for example,
2354
+ * by passing `includeCoordinates=true` as a query parameter).
2355
+ *
2356
+ * Example:
2357
+ * ```
2358
+ * {
2359
+ * "cluster-1": { "x": 12, "y": 34, "size": 8 },
2360
+ * "sample-123": { "x": 18, "y": 22, "size": 4 }
2361
+ * }
2362
+ * ```
2363
+ *
2364
+ * Coordinates are intended only for client-side visualization and do not
2365
+ * modify the canonical insights results.
2366
+ */
2367
+ coordinates?: Record<string, ChartCoordinate>;
2368
+ }
2369
+ export declare function clusterInsightResultDeserializer(item: any): ClusterInsightResult;
2370
+ /** Summary of the error cluster analysis. */
2371
+ export interface InsightSummary {
2372
+ /** Total number of samples analyzed. */
2373
+ sampleCount: number;
2374
+ /** Total number of unique subcluster labels. */
2375
+ uniqueSubclusterCount: number;
2376
+ /** Total number of unique clusters. */
2377
+ uniqueClusterCount: number;
2378
+ /** Method used for clustering. */
2379
+ method: string;
2380
+ /** Token usage while performing clustering analysis */
2381
+ usage: ClusterTokenUsage;
2382
+ }
2383
+ export declare function insightSummaryDeserializer(item: any): InsightSummary;
2384
+ /** Token usage for cluster analysis */
2385
+ export interface ClusterTokenUsage {
2386
+ /** input token usage */
2387
+ inputTokenUsage: number;
2388
+ /** output token usage */
2389
+ outputTokenUsage: number;
2390
+ /** total token usage */
2391
+ totalTokenUsage: number;
2392
+ }
2393
+ export declare function clusterTokenUsageDeserializer(item: any): ClusterTokenUsage;
2394
+ export declare function insightClusterArrayDeserializer(result: Array<InsightCluster>): any[];
2395
+ /** A cluster of analysis samples. */
2396
+ export interface InsightCluster {
2397
+ /** The id of the analysis cluster. */
2398
+ id: string;
2399
+ /** Label for the cluster */
2400
+ label: string;
2401
+ /** Suggestion for the cluster */
2402
+ suggestion: string;
2403
+ /** The title of the suggestion for the cluster */
2404
+ suggestionTitle: string;
2405
+ /** Description of the analysis cluster. */
2406
+ description: string;
2407
+ /** The weight of the analysis cluster. This indicate number of samples in the cluster. */
2408
+ weight: number;
2409
+ /** List of subclusters within this cluster. Empty if no subclusters exist. */
2410
+ subClusters?: InsightCluster[];
2411
+ /** List of samples that belong to this cluster. Empty if samples are part of subclusters. */
2412
+ samples?: InsightSampleUnion[];
2413
+ }
2414
+ export declare function insightClusterDeserializer(item: any): InsightCluster;
2415
+ export declare function insightSampleUnionArrayDeserializer(result: Array<InsightSampleUnion>): any[];
2416
+ /** A sample from the analysis. */
2417
+ export interface InsightSample {
2418
+ /** The unique identifier for the analysis sample. */
2419
+ id: string;
2420
+ /** Sample type */
2421
+ /** The discriminator possible values: EvaluationResultSample */
2422
+ type: SampleType;
2423
+ /** Features to help with additional filtering of data in UX. */
2424
+ features: Record<string, unknown>;
2425
+ /** Info about the correlation for the analysis sample. */
2426
+ correlationInfo: Record<string, unknown>;
2427
+ }
2428
+ export declare function insightSampleDeserializer(item: any): InsightSample;
2429
+ /** Alias for InsightSampleUnion */
2430
+ export type InsightSampleUnion = EvaluationResultSample | InsightSample;
2431
+ export declare function insightSampleUnionDeserializer(item: any): InsightSampleUnion;
2432
+ /** The type of sample used in the analysis. */
2433
+ export type SampleType = "EvaluationResultSample";
2434
+ /** A sample from the evaluation result. */
2435
+ export interface EvaluationResultSample extends InsightSample {
2436
+ /** Evaluation Result Sample Type */
2437
+ type: "EvaluationResultSample";
2438
+ /** Evaluation result for the analysis sample. */
2439
+ evaluationResult: EvalResult;
2440
+ }
2441
+ export declare function evaluationResultSampleDeserializer(item: any): EvaluationResultSample;
2442
+ /** Result of the evaluation. */
2443
+ export interface EvalResult {
2444
+ /** name of the check */
2445
+ name: string;
2446
+ /** type of the check */
2447
+ type: string;
2448
+ /** score */
2449
+ score: number;
2450
+ /** indicates if the check passed or failed */
2451
+ passed: boolean;
2452
+ }
2453
+ export declare function evalResultDeserializer(item: any): EvalResult;
2454
+ export declare function chartCoordinateRecordDeserializer(item: Record<string, any>): Record<string, ChartCoordinate>;
2455
+ /** Coordinates for the analysis chart. */
2456
+ export interface ChartCoordinate {
2457
+ /** X-axis coordinate. */
2458
+ x: number;
2459
+ /** Y-axis coordinate. */
2460
+ y: number;
2461
+ /** Size of the chart element. */
2462
+ size: number;
2463
+ }
2464
+ export declare function chartCoordinateDeserializer(item: any): ChartCoordinate;
2465
+ /** Insights from the agent cluster analysis. */
2466
+ export interface AgentClusterInsightResult extends InsightResult {
2467
+ /** The type of insights result. */
2468
+ type: "AgentClusterInsight";
2469
+ /** The cluster insight details. */
2470
+ clusterInsight: ClusterInsightResult;
2471
+ }
2472
+ export declare function agentClusterInsightResultDeserializer(item: any): AgentClusterInsightResult;
2473
+ /** Paged collection of Insight items */
2474
+ export interface _PagedInsight {
2475
+ /** The Insight items on this page */
2476
+ value: Insight[];
2477
+ /** The link to the next page of items */
2478
+ nextLink?: string;
2479
+ }
2480
+ export declare function _pagedInsightDeserializer(item: any): _PagedInsight;
2481
+ export declare function insightArraySerializer(result: Array<Insight>): any[];
2482
+ export declare function insightArrayDeserializer(result: Array<Insight>): any[];
2483
+ /** Base definition for memory store configurations. */
2484
+ export interface MemoryStoreDefinition {
2485
+ /** The kind of the memory store. */
2486
+ /** The discriminator possible values: default */
2487
+ kind: MemoryStoreKind;
2488
+ }
2489
+ export declare function memoryStoreDefinitionSerializer(item: MemoryStoreDefinition): any;
2490
+ export declare function memoryStoreDefinitionDeserializer(item: any): MemoryStoreDefinition;
2491
+ /** Alias for MemoryStoreDefinitionUnion */
2492
+ export type MemoryStoreDefinitionUnion = MemoryStoreDefaultDefinition | MemoryStoreDefinition;
2493
+ export declare function memoryStoreDefinitionUnionSerializer(item: MemoryStoreDefinitionUnion): any;
2494
+ export declare function memoryStoreDefinitionUnionDeserializer(item: any): MemoryStoreDefinitionUnion;
2495
+ /** The type of memory store implementation to use. */
2496
+ export type MemoryStoreKind = "default";
2497
+ /** Default memory store implementation. */
2498
+ export interface MemoryStoreDefaultDefinition extends MemoryStoreDefinition {
2499
+ /** The kind of the memory store. */
2500
+ kind: "default";
2501
+ /** The name or identifier of the chat completion model deployment used for memory processing. */
2502
+ chat_model: string;
2503
+ /** The name or identifier of the embedding model deployment used for memory processing. */
2504
+ embedding_model: string;
2505
+ /** Default memory store options. */
2506
+ options?: MemoryStoreDefaultOptions;
2507
+ }
2508
+ export declare function memoryStoreDefaultDefinitionSerializer(item: MemoryStoreDefaultDefinition): any;
2509
+ export declare function memoryStoreDefaultDefinitionDeserializer(item: any): MemoryStoreDefaultDefinition;
2510
+ /** Default memory store configurations. */
2511
+ export interface MemoryStoreDefaultOptions {
2512
+ /** Whether to enable user profile extraction and storage. Default is true. */
2513
+ user_profile_enabled: boolean;
2514
+ /** Specific categories or types of user profile information to extract and store. */
2515
+ user_profile_details?: string;
2516
+ /** Whether to enable chat summary extraction and storage. Default is true. */
2517
+ chat_summary_enabled: boolean;
2518
+ }
2519
+ export declare function memoryStoreDefaultOptionsSerializer(item: MemoryStoreDefaultOptions): any;
2520
+ export declare function memoryStoreDefaultOptionsDeserializer(item: any): MemoryStoreDefaultOptions;
2521
+ /** A memory store that can store and retrieve user memories. */
2522
+ export interface MemoryStore {
2523
+ /** The object type, which is always 'memory_store'. */
2524
+ object: "memory_store";
2525
+ /** The unique identifier of the memory store. */
2526
+ id: string;
2527
+ /** The Unix timestamp (seconds) when the memory store was created. */
2528
+ created_at: Date;
2529
+ /** The Unix timestamp (seconds) when the memory store was last updated. */
2530
+ updated_at: Date;
2531
+ /** The name of the memory store. */
2532
+ name: string;
2533
+ /** A human-readable description of the memory store. */
2534
+ description?: string;
2535
+ /** Arbitrary key-value metadata to associate with the memory store. */
2536
+ metadata?: Record<string, string>;
2537
+ /** The definition of the memory store. */
2538
+ definition: MemoryStoreDefinitionUnion;
2539
+ }
2540
+ export declare function memoryStoreDeserializer(item: any): MemoryStore;
2541
+ /** The response data for a requested list of items. */
2542
+ export interface _AgentsPagedResultMemoryStoreObject {
2543
+ /** The requested list of items. */
2544
+ data: MemoryStore[];
2545
+ /** The first ID represented in this list. */
2546
+ first_id?: string;
2547
+ /** The last ID represented in this list. */
2548
+ last_id?: string;
2549
+ /** A value indicating whether there are additional values available not captured in this list. */
2550
+ has_more: boolean;
2551
+ }
2552
+ export declare function _agentsPagedResultMemoryStoreObjectDeserializer(item: any): _AgentsPagedResultMemoryStoreObject;
2553
+ export declare function memoryStoreArrayDeserializer(result: Array<MemoryStore>): any[];
2554
+ /** model interface DeleteMemoryStoreResponse */
2555
+ export interface DeleteMemoryStoreResponse {
2556
+ /** The object type. Always 'memory_store.deleted'. */
2557
+ object: "memory_store.deleted";
2558
+ /** The name of the memory store. */
2559
+ name: string;
2560
+ /** Whether the memory store was successfully deleted. */
2561
+ deleted: boolean;
2562
+ }
2563
+ export declare function deleteMemoryStoreResponseDeserializer(item: any): DeleteMemoryStoreResponse;
2564
+ /** Memory search response. */
2565
+ export interface MemoryStoreSearchResponse {
2566
+ /** The unique ID of this search request. Use this value as previous_search_id in subsequent requests to perform incremental searches. */
2567
+ search_id: string;
2568
+ /** Related memory items found during the search operation. */
2569
+ memories: MemorySearchItem[];
2570
+ /** Usage statistics associated with the memory search operation. */
2571
+ usage: MemoryStoreOperationUsage;
2572
+ }
2573
+ export declare function memoryStoreSearchResponseDeserializer(item: any): MemoryStoreSearchResponse;
2574
+ export declare function memorySearchItemArrayDeserializer(result: Array<MemorySearchItem>): any[];
2575
+ /** A retrieved memory item from memory search. */
2576
+ export interface MemorySearchItem {
2577
+ /** Retrieved memory item. */
2578
+ memory_item: MemoryItemUnion;
2579
+ }
2580
+ export declare function memorySearchItemDeserializer(item: any): MemorySearchItem;
2581
+ /** A single memory item stored in the memory store, containing content and metadata. */
2582
+ export interface MemoryItem {
2583
+ /** The unique ID of the memory item. */
2584
+ memory_id: string;
2585
+ /** The last update time of the memory item. */
2586
+ updated_at: Date;
2587
+ /** The namespace that logically groups and isolates memories, such as a user ID. */
2588
+ scope: string;
2589
+ /** The content of the memory. */
2590
+ content: string;
2591
+ /** The kind of the memory item. */
2592
+ /** The discriminator possible values: user_profile, chat_summary */
2593
+ kind: MemoryItemKind;
2594
+ }
2595
+ export declare function memoryItemDeserializer(item: any): MemoryItem;
2596
+ /** Alias for MemoryItemUnion */
2597
+ export type MemoryItemUnion = UserProfileMemoryItem | ChatSummaryMemoryItem | MemoryItem;
2598
+ export declare function memoryItemUnionDeserializer(item: any): MemoryItemUnion;
2599
+ /** Memory item kind. */
2600
+ export type MemoryItemKind = "user_profile" | "chat_summary";
2601
+ /** A memory item specifically containing user profile information extracted from conversations, such as preferences, interests, and personal details. */
2602
+ export interface UserProfileMemoryItem extends MemoryItem {
2603
+ /** The kind of the memory item. */
2604
+ kind: "user_profile";
2605
+ }
2606
+ export declare function userProfileMemoryItemDeserializer(item: any): UserProfileMemoryItem;
2607
+ /** A memory item containing a summary extracted from conversations. */
2608
+ export interface ChatSummaryMemoryItem extends MemoryItem {
2609
+ /** The kind of the memory item. */
2610
+ kind: "chat_summary";
2611
+ }
2612
+ export declare function chatSummaryMemoryItemDeserializer(item: any): ChatSummaryMemoryItem;
2613
+ /** Usage statistics of a memory store operation. */
2614
+ export interface MemoryStoreOperationUsage {
2615
+ /** The number of embedding tokens. */
2616
+ embedding_tokens: number;
2617
+ /** The number of input tokens. */
2618
+ input_tokens: number;
2619
+ /** A detailed breakdown of the input tokens. */
2620
+ input_tokens_details: ResponseUsageInputTokensDetails;
2621
+ /** The number of output tokens. */
2622
+ output_tokens: number;
2623
+ /** A detailed breakdown of the output tokens. */
2624
+ output_tokens_details: ResponseUsageOutputTokensDetails;
2625
+ /** The total number of tokens used. */
2626
+ total_tokens: number;
2627
+ }
2628
+ export declare function memoryStoreOperationUsageDeserializer(item: any): MemoryStoreOperationUsage;
2629
+ /** model interface ResponseUsageInputTokensDetails */
2630
+ export interface ResponseUsageInputTokensDetails {
2631
+ /** The number of cached input tokens used. */
2632
+ cached_tokens: number;
3307
2633
  }
3308
- export declare function evaluationRunClusterInsightResultDeserializer(item: any): EvaluationRunClusterInsightResult;
3309
- /** Insights from the cluster analysis. */
3310
- export interface ClusterInsightResult {
3311
- /** Summary of the insights report. */
3312
- summary: InsightSummary;
3313
- /** List of clusters identified in the insights. */
3314
- clusters: InsightCluster[];
3315
- /**
3316
- * Optional mapping of IDs to 2D coordinates used by the UX for visualization.
3317
- *
3318
- * The map keys are string identifiers (for example, a cluster id or a sample id)
3319
- * and the values are the coordinates and visual size for rendering on a 2D chart.
3320
- *
3321
- * This property is omitted unless the client requests coordinates (for example,
3322
- * by passing `includeCoordinates=true` as a query parameter).
3323
- *
3324
- * Example:
3325
- * ```
3326
- * {
3327
- * "cluster-1": { "x": 12, "y": 34, "size": 8 },
3328
- * "sample-123": { "x": 18, "y": 22, "size": 4 }
3329
- * }
3330
- * ```
3331
- *
3332
- * Coordinates are intended only for client-side visualization and do not
3333
- * modify the canonical insights results.
3334
- */
3335
- coordinates?: Record<string, ChartCoordinate>;
2634
+ export declare function responseUsageInputTokensDetailsDeserializer(item: any): ResponseUsageInputTokensDetails;
2635
+ /** model interface ResponseUsageOutputTokensDetails */
2636
+ export interface ResponseUsageOutputTokensDetails {
2637
+ /** The number of output tokens used for reasoning. */
2638
+ reasoning_tokens: number;
3336
2639
  }
3337
- export declare function clusterInsightResultDeserializer(item: any): ClusterInsightResult;
3338
- /** Summary of the error cluster analysis. */
3339
- export interface InsightSummary {
3340
- /** Total number of samples analyzed. */
3341
- sampleCount: number;
3342
- /** Total number of unique subcluster labels. */
3343
- uniqueSubclusterCount: number;
3344
- /** Total number of unique clusters. */
3345
- uniqueClusterCount: number;
3346
- /** Method used for clustering. */
3347
- method: string;
3348
- /** Token usage while performing clustering analysis */
3349
- usage: ClusterTokenUsage;
2640
+ export declare function responseUsageOutputTokensDetailsDeserializer(item: any): ResponseUsageOutputTokensDetails;
2641
+ /** Provides the status of a memory store update operation. */
2642
+ export interface MemoryStoreUpdateResponse {
2643
+ /** The unique ID of this update request. Use this value as previous_update_id in subsequent requests to perform incremental updates. */
2644
+ update_id: string;
2645
+ /** The status of the memory update operation. One of "queued", "in_progress", "completed", "failed", or "superseded". */
2646
+ status: MemoryStoreUpdateStatus;
2647
+ /** The update_id the operation was superseded by when status is "superseded". */
2648
+ superseded_by?: string;
2649
+ /** The result of memory store update operation when status is "completed". */
2650
+ result?: MemoryStoreUpdateCompletedResult;
2651
+ /** Error object that describes the error when status is "failed". */
2652
+ error?: ErrorModel;
3350
2653
  }
3351
- export declare function insightSummaryDeserializer(item: any): InsightSummary;
3352
- /** Token usage for cluster analysis */
3353
- export interface ClusterTokenUsage {
3354
- /** input token usage */
3355
- inputTokenUsage: number;
3356
- /** output token usage */
3357
- outputTokenUsage: number;
3358
- /** total token usage */
3359
- totalTokenUsage: number;
2654
+ export declare function memoryStoreUpdateResponseDeserializer(item: any): MemoryStoreUpdateResponse;
2655
+ /** Status of a memory store update operation. */
2656
+ export type MemoryStoreUpdateStatus = "queued" | "in_progress" | "completed" | "failed" | "superseded";
2657
+ /** Memory update result. */
2658
+ export interface MemoryStoreUpdateCompletedResult {
2659
+ /** A list of individual memory operations that were performed during the update. */
2660
+ memory_operations: MemoryOperation[];
2661
+ /** Usage statistics associated with the memory update operation. */
2662
+ usage: MemoryStoreOperationUsage;
3360
2663
  }
3361
- export declare function clusterTokenUsageDeserializer(item: any): ClusterTokenUsage;
3362
- export declare function insightClusterArrayDeserializer(result: Array<InsightCluster>): any[];
3363
- /** A cluster of analysis samples. */
3364
- export interface InsightCluster {
3365
- /** The id of the analysis cluster. */
3366
- id: string;
3367
- /** Label for the cluster */
3368
- label: string;
3369
- /** Suggestion for the cluster */
3370
- suggestion: string;
3371
- /** The title of the suggestion for the cluster */
3372
- suggestionTitle: string;
3373
- /** Description of the analysis cluster. */
3374
- description: string;
3375
- /** The weight of the analysis cluster. This indicate number of samples in the cluster. */
3376
- weight: number;
3377
- /** List of subclusters within this cluster. Empty if no subclusters exist. */
3378
- subClusters?: InsightCluster[];
3379
- /** List of samples that belong to this cluster. Empty if samples are part of subclusters. */
3380
- samples?: InsightSampleUnion[];
2664
+ export declare function memoryStoreUpdateCompletedResultDeserializer(item: any): MemoryStoreUpdateCompletedResult;
2665
+ export declare function memoryOperationArrayDeserializer(result: Array<MemoryOperation>): any[];
2666
+ /** Represents a single memory operation (create, update, or delete) performed on a memory item. */
2667
+ export interface MemoryOperation {
2668
+ /** The type of memory operation being performed. */
2669
+ kind: MemoryOperationKind;
2670
+ /** The memory item to create, update, or delete. */
2671
+ memory_item: MemoryItemUnion;
3381
2672
  }
3382
- export declare function insightClusterDeserializer(item: any): InsightCluster;
3383
- export declare function insightSampleUnionArrayDeserializer(result: Array<InsightSampleUnion>): any[];
3384
- /** A sample from the analysis. */
3385
- export interface InsightSample {
3386
- /** The unique identifier for the analysis sample. */
3387
- id: string;
3388
- /** Sample type */
3389
- /** The discriminator possible values: EvaluationResultSample */
3390
- type: SampleType;
3391
- /** Features to help with additional filtering of data in UX. */
3392
- features: Record<string, any>;
3393
- /** Info about the correlation for the analysis sample. */
3394
- correlationInfo: Record<string, any>;
2673
+ export declare function memoryOperationDeserializer(item: any): MemoryOperation;
2674
+ /** Memory operation kind. */
2675
+ export type MemoryOperationKind = "create" | "update" | "delete";
2676
+ /** Response for deleting memories from a scope. */
2677
+ export interface MemoryStoreDeleteScopeResponse {
2678
+ /** The object type. Always 'memory_store.scope.deleted'. */
2679
+ object: "memory_store.scope.deleted";
2680
+ /** The name of the memory store. */
2681
+ name: string;
2682
+ /** The scope from which memories were deleted. */
2683
+ scope: string;
2684
+ /** Whether the deletion operation was successful. */
2685
+ deleted: boolean;
3395
2686
  }
3396
- export declare function insightSampleDeserializer(item: any): InsightSample;
3397
- /** Alias for InsightSampleUnion */
3398
- export type InsightSampleUnion = EvaluationResultSample | InsightSample;
3399
- export declare function insightSampleUnionDeserializer(item: any): InsightSampleUnion;
3400
- /** The type of sample used in the analysis. */
3401
- export type SampleType = "EvaluationResultSample";
3402
- /** A sample from the evaluation result. */
3403
- export interface EvaluationResultSample extends InsightSample {
3404
- /** Evaluation Result Sample Type */
3405
- type: "EvaluationResultSample";
3406
- /** Evaluation result for the analysis sample. */
3407
- evaluationResult: EvalResult;
2687
+ export declare function memoryStoreDeleteScopeResponseDeserializer(item: any): MemoryStoreDeleteScopeResponse;
2688
+ /** Red team details. */
2689
+ export interface RedTeam {
2690
+ /** Identifier of the red team run. */
2691
+ readonly name: string;
2692
+ /** Name of the red-team run. */
2693
+ displayName?: string;
2694
+ /** Number of simulation rounds. */
2695
+ numTurns?: number;
2696
+ /** List of attack strategies or nested lists of attack strategies. */
2697
+ attackStrategies?: AttackStrategy[];
2698
+ /** Simulation-only or Simulation + Evaluation. Default false, if true the scan outputs conversation not evaluation result. */
2699
+ simulationOnly?: boolean;
2700
+ /** List of risk categories to generate attack objectives for. */
2701
+ riskCategories?: RiskCategory[];
2702
+ /** Application scenario for the red team operation, to generate scenario specific attacks. */
2703
+ applicationScenario?: string;
2704
+ /** Red team's tags. Unlike properties, tags are fully mutable. */
2705
+ tags?: Record<string, string>;
2706
+ /** Red team's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */
2707
+ properties?: Record<string, string>;
2708
+ /** Status of the red-team. It is set by service and is read-only. */
2709
+ readonly status?: string;
2710
+ /** Target configuration for the red-team run. */
2711
+ target?: TargetConfigUnion;
3408
2712
  }
3409
- export declare function evaluationResultSampleDeserializer(item: any): EvaluationResultSample;
3410
- /** Result of the evaluation. */
3411
- export interface EvalResult {
3412
- /** name of the check */
3413
- name: string;
3414
- /** type of the check */
2713
+ export declare function redTeamSerializer(item: RedTeam): any;
2714
+ export declare function redTeamDeserializer(item: any): RedTeam;
2715
+ /** Strategies for attacks. */
2716
+ export type AttackStrategy = "easy" | "moderate" | "difficult" | "ascii_art" | "ascii_smuggler" | "atbash" | "base64" | "binary" | "caesar" | "character_space" | "jailbreak" | "ansi_attack" | "character_swap" | "suffix_append" | "string_join" | "unicode_confusable" | "unicode_substitution" | "diacritic" | "flip" | "leetspeak" | "rot13" | "morse" | "url" | "baseline" | "indirect_jailbreak" | "tense" | "multi_turn" | "crescendo";
2717
+ /** Abstract class for target configuration. */
2718
+ export interface TargetConfig {
2719
+ /** Type of the model configuration. */
2720
+ /** The discriminator possible values: AzureOpenAIModel */
3415
2721
  type: string;
3416
- /** score */
3417
- score: number;
3418
- /** indicates if the check passed or failed */
3419
- passed: boolean;
3420
- }
3421
- export declare function evalResultDeserializer(item: any): EvalResult;
3422
- export declare function chartCoordinateRecordDeserializer(item: Record<string, any>): Record<string, ChartCoordinate>;
3423
- /** Coordinates for the analysis chart. */
3424
- export interface ChartCoordinate {
3425
- /** X-axis coordinate. */
3426
- x: number;
3427
- /** Y-axis coordinate. */
3428
- y: number;
3429
- /** Size of the chart element. */
3430
- size: number;
3431
2722
  }
3432
- export declare function chartCoordinateDeserializer(item: any): ChartCoordinate;
3433
- /** Insights from the agent cluster analysis. */
3434
- export interface AgentClusterInsightResult extends InsightResult {
3435
- /** The type of insights result. */
3436
- type: "AgentClusterInsight";
3437
- clusterInsight: ClusterInsightResult;
2723
+ export declare function targetConfigSerializer(item: TargetConfig): any;
2724
+ export declare function targetConfigDeserializer(item: any): TargetConfig;
2725
+ /** Alias for TargetConfigUnion */
2726
+ export type TargetConfigUnion = AzureOpenAIModelConfiguration | TargetConfig;
2727
+ export declare function targetConfigUnionSerializer(item: TargetConfigUnion): any;
2728
+ export declare function targetConfigUnionDeserializer(item: any): TargetConfigUnion;
2729
+ /** Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */
2730
+ export interface AzureOpenAIModelConfiguration extends TargetConfig {
2731
+ /** The type discriminator, always 'azure_openai'. */
2732
+ type: "AzureOpenAIModel";
2733
+ /** Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (e.g. `my-aoai-connection/gpt-4o`). */
2734
+ modelDeploymentName: string;
3438
2735
  }
3439
- export declare function agentClusterInsightResultDeserializer(item: any): AgentClusterInsightResult;
3440
- /** Paged collection of Insight items */
3441
- export interface _PagedInsight {
3442
- /** The Insight items on this page */
3443
- value: Insight[];
2736
+ export declare function azureOpenAIModelConfigurationSerializer(item: AzureOpenAIModelConfiguration): any;
2737
+ export declare function azureOpenAIModelConfigurationDeserializer(item: any): AzureOpenAIModelConfiguration;
2738
+ /** Paged collection of RedTeam items */
2739
+ export interface _PagedRedTeam {
2740
+ /** The RedTeam items on this page */
2741
+ value: RedTeam[];
3444
2742
  /** The link to the next page of items */
3445
2743
  nextLink?: string;
3446
2744
  }
3447
- export declare function _pagedInsightDeserializer(item: any): _PagedInsight;
3448
- export declare function insightArraySerializer(result: Array<Insight>): any[];
3449
- export declare function insightArrayDeserializer(result: Array<Insight>): any[];
2745
+ export declare function _pagedRedTeamDeserializer(item: any): _PagedRedTeam;
2746
+ export declare function redTeamArraySerializer(result: Array<RedTeam>): any[];
2747
+ export declare function redTeamArrayDeserializer(result: Array<RedTeam>): any[];
3450
2748
  /** Schedule model. */
3451
2749
  export interface Schedule {
3452
2750
  /** Identifier of the schedule. */
@@ -3490,6 +2788,7 @@ export declare function triggerUnionDeserializer(item: any): TriggerUnion;
3490
2788
  export type TriggerType = "Cron" | "Recurrence" | "OneTime";
3491
2789
  /** Cron based trigger. */
3492
2790
  export interface CronTrigger extends Trigger {
2791
+ /** The type discriminator, always 'Cron'. */
3493
2792
  type: "Cron";
3494
2793
  /** Cron expression that defines the schedule frequency. */
3495
2794
  expression: string;
@@ -3535,6 +2834,7 @@ export declare function recurrenceScheduleUnionDeserializer(item: any): Recurren
3535
2834
  export type RecurrenceType = "Hourly" | "Daily" | "Weekly" | "Monthly";
3536
2835
  /** Hourly recurrence schedule. */
3537
2836
  export interface HourlyRecurrenceSchedule extends RecurrenceSchedule {
2837
+ /** The type discriminator, always 'HourlyRecurrence'. */
3538
2838
  type: "Hourly";
3539
2839
  }
3540
2840
  export declare function hourlyRecurrenceScheduleSerializer(item: HourlyRecurrenceSchedule): any;
@@ -3570,6 +2870,7 @@ export declare function monthlyRecurrenceScheduleSerializer(item: MonthlyRecurre
3570
2870
  export declare function monthlyRecurrenceScheduleDeserializer(item: any): MonthlyRecurrenceSchedule;
3571
2871
  /** One-time trigger. */
3572
2872
  export interface OneTimeTrigger extends Trigger {
2873
+ /** The type discriminator, always 'OneTime'. */
3573
2874
  type: "OneTime";
3574
2875
  /** Date and time for the one-time trigger in ISO 8601 format. */
3575
2876
  triggerAt: string;
@@ -3601,12 +2902,13 @@ export interface EvaluationScheduleTask extends ScheduleTask {
3601
2902
  /** Identifier of the evaluation group. */
3602
2903
  evalId: string;
3603
2904
  /** The evaluation run payload. */
3604
- evalRun: Record<string, any>;
2905
+ evalRun: Record<string, unknown>;
3605
2906
  }
3606
2907
  export declare function evaluationScheduleTaskSerializer(item: EvaluationScheduleTask): any;
3607
2908
  export declare function evaluationScheduleTaskDeserializer(item: any): EvaluationScheduleTask;
3608
2909
  /** model interface _EvaluationScheduleTaskEvalRun */
3609
2910
  export interface _EvaluationScheduleTaskEvalRun {
2911
+ [key: string]: unknown;
3610
2912
  }
3611
2913
  export declare function _evaluationScheduleTaskEvalRunSerializer(item: _EvaluationScheduleTaskEvalRun): any;
3612
2914
  export declare function _evaluationScheduleTaskEvalRunDeserializer(item: any): _EvaluationScheduleTaskEvalRun;
@@ -3646,63 +2948,41 @@ export interface ScheduleRun {
3646
2948
  }
3647
2949
  export declare function scheduleRunDeserializer(item: any): ScheduleRun;
3648
2950
  /** Paged collection of ScheduleRun items */
3649
- export interface PagedScheduleRun {
2951
+ export interface _PagedScheduleRun {
3650
2952
  /** The ScheduleRun items on this page */
3651
2953
  value: ScheduleRun[];
3652
2954
  /** The link to the next page of items */
3653
2955
  nextLink?: string;
3654
2956
  }
3655
- export declare function pagedScheduleRunDeserializer(item: any): PagedScheduleRun;
2957
+ export declare function _pagedScheduleRunDeserializer(item: any): _PagedScheduleRun;
3656
2958
  export declare function scheduleRunArrayDeserializer(result: Array<ScheduleRun>): any[];
3657
- /**
3658
- * Specifies the processing type used for serving the request.
3659
- * - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.
3660
- * - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.
3661
- * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or '[priority](https://openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier.
3662
- * - When not set, the default behavior is 'auto'.
3663
- * When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.
3664
- */
3665
- export type ServiceTier = "auto" | "default" | "flex" | "scale" | "priority";
3666
- /**
3667
- * Constrains the verbosity of the model's response. Lower values will result in
3668
- * more concise responses, while higher values will result in more verbose responses.
3669
- * Currently supported values are `low`, `medium`, and `high`.
3670
- */
3671
- export type Verbosity = "low" | "medium" | "high";
3672
- export declare function toolUnionArraySerializer_1(result: Array<ToolUnion>): any[];
3673
- export declare function toolUnionArrayDeserializer_1(result: Array<ToolUnion>): any[];
3674
- /** model interface AgentId */
3675
- export interface AgentId {
3676
- /** The type of agent identifier. */
3677
- type: "agent_id";
3678
- /** The name of the agent. */
3679
- name: string;
3680
- /** The version identifier of the agent. */
3681
- version: string;
3682
- }
3683
- export declare function agentIdDeserializer(item: any): AgentId;
3684
- /** model interface AgentReference */
3685
- export interface AgentReference {
3686
- /** The type of agent reference. */
3687
- type: "agent_reference";
3688
- /** The name of the agent. */
3689
- name: string;
3690
- /** The version identifier of the agent. */
3691
- version?: string;
3692
- }
3693
- export declare function agentReferenceSerializer(item: AgentReference): any;
2959
+ /** Alias for _CreateAgentRequestFoundryFeatures */
2960
+ export type _CreateAgentRequestFoundryFeatures = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview";
2961
+ export declare function _createAgentRequestFoundryFeaturesSerializer(item: _CreateAgentRequestFoundryFeatures): any;
2962
+ /** Alias for _UpdateAgentRequestFoundryFeatures */
2963
+ export type _UpdateAgentRequestFoundryFeatures = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview";
2964
+ export declare function _updateAgentRequestFoundryFeaturesSerializer(item: _UpdateAgentRequestFoundryFeatures): any;
2965
+ /** Alias for _CreateAgentVersionRequestFoundryFeatures */
2966
+ export type _CreateAgentVersionRequestFoundryFeatures = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview";
2967
+ export declare function _createAgentVersionRequestFoundryFeaturesSerializer(item: _CreateAgentVersionRequestFoundryFeatures): any;
3694
2968
  /** Alias for _ListVersionsRequestType */
3695
2969
  export type _ListVersionsRequestType = EvaluatorType | "all";
3696
2970
  export declare function _listVersionsRequestTypeSerializer(item: _ListVersionsRequestType): any;
2971
+ /** Type of AgentType */
2972
+ export type AgentType = "agent" | "agent.version" | "agent.deleted" | "agent.version.deleted" | "agent.container";
2973
+ /** Feature opt-in keys for agent definition operations supporting hosted or workflow agents. */
2974
+ export type AgentDefinitionOptInKeys = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview";
2975
+ /** Type of FoundryFeaturesOptInKeys */
2976
+ export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "MemoryStores=V1Preview";
3697
2977
  /** Type of PageOrder */
3698
2978
  export type PageOrder = "asc" | "desc";
3699
- /** The type of logs to stream from a container. */
3700
- export type ContainerLogKind = "console" | "system";
3701
2979
  /** The type of pending upload. */
3702
2980
  export type PendingUploadType = "None" | "BlobReference";
3703
- /** Azure AI Projects API versions */
2981
+ /** Type of MemoryStoreType */
2982
+ export type MemoryStoreType = "memory_store" | "memory_store.deleted" | "memory_store.scope.deleted";
2983
+ /** Microsoft Foundry API versions */
3704
2984
  export declare enum KnownApiVersions {
3705
- /** Azure AI API version 2025-11-15-preview. */
3706
- v2025_11_15_preview = "2025-11-15-preview"
2985
+ /** Microsoft Foundry API version v1. */
2986
+ v1 = "v1"
3707
2987
  }
3708
2988
  //# sourceMappingURL=models.d.ts.map