@azure/ai-projects 2.7.1 → 2.9.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 (589) hide show
  1. package/README.md +101 -5
  2. package/dist/browser/aiProjectClient.d.ts +4 -0
  3. package/dist/browser/aiProjectClient.d.ts.map +1 -1
  4. package/dist/browser/aiProjectClient.js +6 -1
  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 +41 -4
  11. package/dist/browser/api/agents/operations.d.ts.map +1 -1
  12. package/dist/browser/api/agents/operations.js +322 -21
  13. package/dist/browser/api/agents/operations.js.map +1 -1
  14. package/dist/browser/api/agents/options.d.ts +163 -93
  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/beta/agents/index.d.ts +2 -2
  18. package/dist/browser/api/beta/agents/index.d.ts.map +1 -1
  19. package/dist/browser/api/beta/agents/index.js +1 -1
  20. package/dist/browser/api/beta/agents/index.js.map +1 -1
  21. package/dist/browser/api/beta/agents/operations.d.ts +2 -24
  22. package/dist/browser/api/beta/agents/operations.d.ts.map +1 -1
  23. package/dist/browser/api/beta/agents/operations.js +3 -185
  24. package/dist/browser/api/beta/agents/operations.js.map +1 -1
  25. package/dist/browser/api/beta/agents/options.d.ts +0 -56
  26. package/dist/browser/api/beta/agents/options.d.ts.map +1 -1
  27. package/dist/browser/api/beta/agents/options.js.map +1 -1
  28. package/dist/browser/api/beta/evaluators/index.d.ts +2 -2
  29. package/dist/browser/api/beta/evaluators/index.d.ts.map +1 -1
  30. package/dist/browser/api/beta/evaluators/index.js +1 -1
  31. package/dist/browser/api/beta/evaluators/index.js.map +1 -1
  32. package/dist/browser/api/beta/evaluators/operations.d.ts +2 -59
  33. package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -1
  34. package/dist/browser/api/beta/evaluators/operations.js +1 -388
  35. package/dist/browser/api/beta/evaluators/operations.js.map +1 -1
  36. package/dist/browser/api/beta/evaluators/options.d.ts +0 -84
  37. package/dist/browser/api/beta/evaluators/options.d.ts.map +1 -1
  38. package/dist/browser/api/beta/evaluators/options.js.map +1 -1
  39. package/dist/browser/api/datasets/index.d.ts +2 -2
  40. package/dist/browser/api/datasets/index.d.ts.map +1 -1
  41. package/dist/browser/api/datasets/index.js +1 -1
  42. package/dist/browser/api/datasets/index.js.map +1 -1
  43. package/dist/browser/api/datasets/operations.d.ts +23 -2
  44. package/dist/browser/api/datasets/operations.d.ts.map +1 -1
  45. package/dist/browser/api/datasets/operations.js +193 -1
  46. package/dist/browser/api/datasets/operations.js.map +1 -1
  47. package/dist/browser/api/datasets/options.d.ts +52 -0
  48. package/dist/browser/api/datasets/options.d.ts.map +1 -1
  49. package/dist/browser/api/datasets/options.js.map +1 -1
  50. package/dist/browser/api/evaluators/index.d.ts +3 -0
  51. package/dist/browser/api/evaluators/index.d.ts.map +1 -0
  52. package/dist/browser/api/evaluators/index.js +4 -0
  53. package/dist/browser/api/evaluators/index.js.map +1 -0
  54. package/dist/browser/api/evaluators/operations.d.ts +62 -0
  55. package/dist/browser/api/evaluators/operations.d.ts.map +1 -0
  56. package/dist/browser/api/evaluators/operations.js +373 -0
  57. package/dist/browser/api/evaluators/operations.js.map +1 -0
  58. package/dist/browser/api/evaluators/options.d.ts +70 -0
  59. package/dist/browser/api/evaluators/options.d.ts.map +1 -0
  60. package/dist/browser/api/evaluators/options.js.map +1 -0
  61. package/dist/browser/classic/agents/index.d.ts +21 -2
  62. package/dist/browser/classic/agents/index.d.ts.map +1 -1
  63. package/dist/browser/classic/agents/index.js +10 -1
  64. package/dist/browser/classic/agents/index.js.map +1 -1
  65. package/dist/browser/classic/beta/agents/index.d.ts +4 -15
  66. package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
  67. package/dist/browser/classic/beta/agents/index.js +4 -11
  68. package/dist/browser/classic/beta/agents/index.js.map +1 -1
  69. package/dist/browser/classic/beta/evaluators/index.d.ts +3 -38
  70. package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -1
  71. package/dist/browser/classic/beta/evaluators/index.js +2 -18
  72. package/dist/browser/classic/beta/evaluators/index.js.map +1 -1
  73. package/dist/browser/classic/beta/index.d.ts +2 -4
  74. package/dist/browser/classic/beta/index.d.ts.map +1 -1
  75. package/dist/browser/classic/beta/index.js +3 -6
  76. package/dist/browser/classic/beta/index.js.map +1 -1
  77. package/dist/browser/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
  78. package/dist/browser/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
  79. package/dist/browser/classic/beta/voiceAgents/conversations/index.js +5 -4
  80. package/dist/browser/classic/beta/voiceAgents/conversations/index.js.map +1 -1
  81. package/dist/browser/classic/beta/voiceAgents/index.d.ts +3 -2
  82. package/dist/browser/classic/beta/voiceAgents/index.d.ts.map +1 -1
  83. package/dist/browser/classic/beta/voiceAgents/index.js +5 -5
  84. package/dist/browser/classic/beta/voiceAgents/index.js.map +1 -1
  85. package/dist/browser/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
  86. package/dist/browser/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
  87. package/dist/browser/classic/beta/voiceAgents/telephony/index.js +16 -11
  88. package/dist/browser/classic/beta/voiceAgents/telephony/index.js.map +1 -1
  89. package/dist/browser/classic/datasets/index.d.ts +13 -2
  90. package/dist/browser/classic/datasets/index.d.ts.map +1 -1
  91. package/dist/browser/classic/datasets/index.js +6 -1
  92. package/dist/browser/classic/datasets/index.js.map +1 -1
  93. package/dist/browser/classic/evaluators/index.d.ts +43 -0
  94. package/dist/browser/classic/evaluators/index.d.ts.map +1 -0
  95. package/dist/browser/classic/evaluators/index.js +19 -0
  96. package/dist/browser/classic/evaluators/index.js.map +1 -0
  97. package/dist/browser/classic/index.d.ts +1 -1
  98. package/dist/browser/classic/index.d.ts.map +1 -1
  99. package/dist/browser/classic/index.js.map +1 -1
  100. package/dist/browser/constants.d.ts +1 -1
  101. package/dist/browser/constants.js +1 -1
  102. package/dist/browser/constants.js.map +1 -1
  103. package/dist/browser/index.d.ts +10 -17
  104. package/dist/browser/index.d.ts.map +1 -1
  105. package/dist/browser/index.js +1 -2
  106. package/dist/browser/index.js.map +1 -1
  107. package/dist/browser/models/index.d.ts +1 -3
  108. package/dist/browser/models/index.d.ts.map +1 -1
  109. package/dist/browser/models/index.js.map +1 -1
  110. package/dist/browser/models/models.d.ts +1081 -536
  111. package/dist/browser/models/models.d.ts.map +1 -1
  112. package/dist/browser/models/models.js +1554 -655
  113. package/dist/browser/models/models.js.map +1 -1
  114. package/dist/browser/package.json +1 -1
  115. package/dist/browser/realtime/voiceAgentRealtimeClient.d.ts +27 -2
  116. package/dist/browser/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
  117. package/dist/browser/realtime/voiceAgentRealtimeClient.js +97 -17
  118. package/dist/browser/realtime/voiceAgentRealtimeClient.js.map +1 -1
  119. package/dist/browser/tracing/configuration.d.ts +3 -5
  120. package/dist/browser/tracing/configuration.d.ts.map +1 -1
  121. package/dist/browser/tracing/configuration.js +8 -6
  122. package/dist/browser/tracing/configuration.js.map +1 -1
  123. package/dist/browser/tracing/tracingClient.d.ts +1 -1
  124. package/dist/browser/tracing/tracingClient.d.ts.map +1 -1
  125. package/dist/browser/tracing/tracingClient.js +2 -2
  126. package/dist/browser/tracing/tracingClient.js.map +1 -1
  127. package/dist/browser/tracing/voiceAgentTracing.d.ts +63 -0
  128. package/dist/browser/tracing/voiceAgentTracing.d.ts.map +1 -0
  129. package/dist/browser/tracing/voiceAgentTracing.js +740 -0
  130. package/dist/browser/tracing/voiceAgentTracing.js.map +1 -0
  131. package/dist/browser/webSocketTransport.d.ts +1 -0
  132. package/dist/browser/webSocketTransport.d.ts.map +1 -1
  133. package/dist/browser/webSocketTransport.js +5 -13
  134. package/dist/browser/webSocketTransport.js.map +1 -1
  135. package/dist/commonjs/aiProjectClient.d.ts +4 -0
  136. package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
  137. package/dist/commonjs/aiProjectClient.js +6 -1
  138. package/dist/commonjs/aiProjectClient.js.map +2 -2
  139. package/dist/commonjs/api/agents/index.d.ts +2 -2
  140. package/dist/commonjs/api/agents/index.d.ts.map +1 -1
  141. package/dist/commonjs/api/agents/index.js +18 -0
  142. package/dist/commonjs/api/agents/index.js.map +2 -2
  143. package/dist/commonjs/api/agents/operations.d.ts +41 -4
  144. package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
  145. package/dist/commonjs/api/agents/operations.js +415 -19
  146. package/dist/commonjs/api/agents/operations.js.map +2 -2
  147. package/dist/commonjs/api/agents/options.d.ts +163 -93
  148. package/dist/commonjs/api/agents/options.d.ts.map +1 -1
  149. package/dist/commonjs/api/agents/options.js.map +1 -1
  150. package/dist/commonjs/api/beta/agents/index.d.ts +2 -2
  151. package/dist/commonjs/api/beta/agents/index.d.ts.map +1 -1
  152. package/dist/commonjs/api/beta/agents/index.js +2 -12
  153. package/dist/commonjs/api/beta/agents/index.js.map +2 -2
  154. package/dist/commonjs/api/beta/agents/operations.d.ts +2 -24
  155. package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -1
  156. package/dist/commonjs/api/beta/agents/operations.js +4 -239
  157. package/dist/commonjs/api/beta/agents/operations.js.map +2 -2
  158. package/dist/commonjs/api/beta/agents/options.d.ts +0 -56
  159. package/dist/commonjs/api/beta/agents/options.d.ts.map +1 -1
  160. package/dist/commonjs/api/beta/agents/options.js.map +1 -1
  161. package/dist/commonjs/api/beta/evaluators/index.d.ts +2 -2
  162. package/dist/commonjs/api/beta/evaluators/index.d.ts.map +1 -1
  163. package/dist/commonjs/api/beta/evaluators/index.js +2 -24
  164. package/dist/commonjs/api/beta/evaluators/index.js.map +2 -2
  165. package/dist/commonjs/api/beta/evaluators/operations.d.ts +2 -59
  166. package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -1
  167. package/dist/commonjs/api/beta/evaluators/operations.js +2 -497
  168. package/dist/commonjs/api/beta/evaluators/operations.js.map +2 -2
  169. package/dist/commonjs/api/beta/evaluators/options.d.ts +0 -84
  170. package/dist/commonjs/api/beta/evaluators/options.d.ts.map +1 -1
  171. package/dist/commonjs/api/beta/evaluators/options.js.map +1 -1
  172. package/dist/commonjs/api/datasets/index.d.ts +2 -2
  173. package/dist/commonjs/api/datasets/index.d.ts.map +1 -1
  174. package/dist/commonjs/api/datasets/index.js +10 -0
  175. package/dist/commonjs/api/datasets/index.js.map +2 -2
  176. package/dist/commonjs/api/datasets/operations.d.ts +23 -2
  177. package/dist/commonjs/api/datasets/operations.d.ts.map +1 -1
  178. package/dist/commonjs/api/datasets/operations.js +245 -0
  179. package/dist/commonjs/api/datasets/operations.js.map +2 -2
  180. package/dist/commonjs/api/datasets/options.d.ts +52 -0
  181. package/dist/commonjs/api/datasets/options.d.ts.map +1 -1
  182. package/dist/commonjs/api/datasets/options.js.map +1 -1
  183. package/dist/commonjs/api/evaluators/index.d.ts +3 -0
  184. package/dist/commonjs/api/evaluators/index.d.ts.map +1 -0
  185. package/dist/commonjs/api/{beta/datasets → evaluators}/index.js +17 -5
  186. package/dist/commonjs/api/evaluators/index.js.map +7 -0
  187. package/dist/commonjs/api/evaluators/operations.d.ts +62 -0
  188. package/dist/commonjs/api/evaluators/operations.d.ts.map +1 -0
  189. package/dist/commonjs/api/evaluators/operations.js +505 -0
  190. package/dist/commonjs/api/evaluators/operations.js.map +7 -0
  191. package/dist/commonjs/api/evaluators/options.d.ts +70 -0
  192. package/dist/commonjs/api/evaluators/options.d.ts.map +1 -0
  193. package/dist/commonjs/api/evaluators/options.js.map +7 -0
  194. package/dist/commonjs/classic/agents/index.d.ts +21 -2
  195. package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
  196. package/dist/commonjs/classic/agents/index.js +9 -0
  197. package/dist/commonjs/classic/agents/index.js.map +2 -2
  198. package/dist/commonjs/classic/beta/agents/index.d.ts +4 -15
  199. package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
  200. package/dist/commonjs/classic/beta/agents/index.js +9 -10
  201. package/dist/commonjs/classic/beta/agents/index.js.map +2 -2
  202. package/dist/commonjs/classic/beta/evaluators/index.d.ts +3 -38
  203. package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -1
  204. package/dist/commonjs/classic/beta/evaluators/index.js +2 -18
  205. package/dist/commonjs/classic/beta/evaluators/index.js.map +2 -2
  206. package/dist/commonjs/classic/beta/index.d.ts +2 -4
  207. package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
  208. package/dist/commonjs/classic/beta/index.js +9 -6
  209. package/dist/commonjs/classic/beta/index.js.map +2 -2
  210. package/dist/commonjs/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
  211. package/dist/commonjs/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
  212. package/dist/commonjs/classic/beta/voiceAgents/conversations/index.js +10 -4
  213. package/dist/commonjs/classic/beta/voiceAgents/conversations/index.js.map +2 -2
  214. package/dist/commonjs/classic/beta/voiceAgents/index.d.ts +3 -2
  215. package/dist/commonjs/classic/beta/voiceAgents/index.d.ts.map +1 -1
  216. package/dist/commonjs/classic/beta/voiceAgents/index.js +4 -4
  217. package/dist/commonjs/classic/beta/voiceAgents/index.js.map +2 -2
  218. package/dist/commonjs/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
  219. package/dist/commonjs/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
  220. package/dist/commonjs/classic/beta/voiceAgents/telephony/index.js +33 -11
  221. package/dist/commonjs/classic/beta/voiceAgents/telephony/index.js.map +2 -2
  222. package/dist/commonjs/classic/datasets/index.d.ts +13 -2
  223. package/dist/commonjs/classic/datasets/index.d.ts.map +1 -1
  224. package/dist/commonjs/classic/datasets/index.js +5 -0
  225. package/dist/commonjs/classic/datasets/index.js.map +2 -2
  226. package/dist/commonjs/classic/evaluators/index.d.ts +43 -0
  227. package/dist/commonjs/classic/evaluators/index.d.ts.map +1 -0
  228. package/dist/commonjs/classic/{beta/datasets → evaluators}/index.js +15 -14
  229. package/dist/commonjs/classic/evaluators/index.js.map +7 -0
  230. package/dist/commonjs/classic/index.d.ts +1 -1
  231. package/dist/commonjs/classic/index.d.ts.map +1 -1
  232. package/dist/commonjs/classic/index.js.map +1 -1
  233. package/dist/commonjs/constants.d.ts +1 -1
  234. package/dist/commonjs/constants.js +1 -1
  235. package/dist/commonjs/constants.js.map +1 -1
  236. package/dist/commonjs/index.d.ts +10 -17
  237. package/dist/commonjs/index.d.ts.map +1 -1
  238. package/dist/commonjs/index.js +1 -2
  239. package/dist/commonjs/index.js.map +3 -3
  240. package/dist/commonjs/models/index.d.ts +1 -3
  241. package/dist/commonjs/models/index.d.ts.map +1 -1
  242. package/dist/commonjs/models/index.js.map +1 -1
  243. package/dist/commonjs/models/models.d.ts +1081 -536
  244. package/dist/commonjs/models/models.d.ts.map +1 -1
  245. package/dist/commonjs/models/models.js +1803 -722
  246. package/dist/commonjs/models/models.js.map +2 -2
  247. package/dist/commonjs/package.json +1 -1
  248. package/dist/commonjs/realtime/voiceAgentRealtimeClient.d.ts +27 -2
  249. package/dist/commonjs/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
  250. package/dist/commonjs/realtime/voiceAgentRealtimeClient.js +98 -27
  251. package/dist/commonjs/realtime/voiceAgentRealtimeClient.js.map +2 -2
  252. package/dist/commonjs/tracing/configuration.d.ts +3 -5
  253. package/dist/commonjs/tracing/configuration.d.ts.map +1 -1
  254. package/dist/commonjs/tracing/configuration.js +5 -1
  255. package/dist/commonjs/tracing/configuration.js.map +2 -2
  256. package/dist/commonjs/tracing/tracingClient.d.ts +1 -1
  257. package/dist/commonjs/tracing/tracingClient.d.ts.map +1 -1
  258. package/dist/commonjs/tracing/tracingClient.js +2 -2
  259. package/dist/commonjs/tracing/tracingClient.js.map +2 -2
  260. package/dist/commonjs/tracing/voiceAgentTracing.d.ts +63 -0
  261. package/dist/commonjs/tracing/voiceAgentTracing.d.ts.map +1 -0
  262. package/dist/commonjs/tracing/voiceAgentTracing.js +705 -0
  263. package/dist/commonjs/tracing/voiceAgentTracing.js.map +7 -0
  264. package/dist/commonjs/tsdoc-metadata.json +1 -1
  265. package/dist/esm/aiProjectClient.d.ts +4 -0
  266. package/dist/esm/aiProjectClient.d.ts.map +1 -1
  267. package/dist/esm/aiProjectClient.js +6 -1
  268. package/dist/esm/aiProjectClient.js.map +1 -1
  269. package/dist/esm/api/agents/index.d.ts +2 -2
  270. package/dist/esm/api/agents/index.d.ts.map +1 -1
  271. package/dist/esm/api/agents/index.js +1 -1
  272. package/dist/esm/api/agents/index.js.map +1 -1
  273. package/dist/esm/api/agents/operations.d.ts +41 -4
  274. package/dist/esm/api/agents/operations.d.ts.map +1 -1
  275. package/dist/esm/api/agents/operations.js +322 -21
  276. package/dist/esm/api/agents/operations.js.map +1 -1
  277. package/dist/esm/api/agents/options.d.ts +163 -93
  278. package/dist/esm/api/agents/options.d.ts.map +1 -1
  279. package/dist/esm/api/agents/options.js.map +1 -1
  280. package/dist/esm/api/beta/agents/index.d.ts +2 -2
  281. package/dist/esm/api/beta/agents/index.d.ts.map +1 -1
  282. package/dist/esm/api/beta/agents/index.js +1 -1
  283. package/dist/esm/api/beta/agents/index.js.map +1 -1
  284. package/dist/esm/api/beta/agents/operations.d.ts +2 -24
  285. package/dist/esm/api/beta/agents/operations.d.ts.map +1 -1
  286. package/dist/esm/api/beta/agents/operations.js +3 -185
  287. package/dist/esm/api/beta/agents/operations.js.map +1 -1
  288. package/dist/esm/api/beta/agents/options.d.ts +0 -56
  289. package/dist/esm/api/beta/agents/options.d.ts.map +1 -1
  290. package/dist/esm/api/beta/agents/options.js.map +1 -1
  291. package/dist/esm/api/beta/evaluators/index.d.ts +2 -2
  292. package/dist/esm/api/beta/evaluators/index.d.ts.map +1 -1
  293. package/dist/esm/api/beta/evaluators/index.js +1 -1
  294. package/dist/esm/api/beta/evaluators/index.js.map +1 -1
  295. package/dist/esm/api/beta/evaluators/operations.d.ts +2 -59
  296. package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -1
  297. package/dist/esm/api/beta/evaluators/operations.js +1 -388
  298. package/dist/esm/api/beta/evaluators/operations.js.map +1 -1
  299. package/dist/esm/api/beta/evaluators/options.d.ts +0 -84
  300. package/dist/esm/api/beta/evaluators/options.d.ts.map +1 -1
  301. package/dist/esm/api/beta/evaluators/options.js.map +1 -1
  302. package/dist/esm/api/datasets/index.d.ts +2 -2
  303. package/dist/esm/api/datasets/index.d.ts.map +1 -1
  304. package/dist/esm/api/datasets/index.js +1 -1
  305. package/dist/esm/api/datasets/index.js.map +1 -1
  306. package/dist/esm/api/datasets/operations.d.ts +23 -2
  307. package/dist/esm/api/datasets/operations.d.ts.map +1 -1
  308. package/dist/esm/api/datasets/operations.js +193 -1
  309. package/dist/esm/api/datasets/operations.js.map +1 -1
  310. package/dist/esm/api/datasets/options.d.ts +52 -0
  311. package/dist/esm/api/datasets/options.d.ts.map +1 -1
  312. package/dist/esm/api/datasets/options.js.map +1 -1
  313. package/dist/esm/api/evaluators/index.d.ts +3 -0
  314. package/dist/esm/api/evaluators/index.d.ts.map +1 -0
  315. package/dist/esm/api/evaluators/index.js +4 -0
  316. package/dist/esm/api/evaluators/index.js.map +1 -0
  317. package/dist/esm/api/evaluators/operations.d.ts +62 -0
  318. package/dist/esm/api/evaluators/operations.d.ts.map +1 -0
  319. package/dist/esm/api/evaluators/operations.js +373 -0
  320. package/dist/esm/api/evaluators/operations.js.map +1 -0
  321. package/dist/esm/api/evaluators/options.d.ts +70 -0
  322. package/dist/esm/api/evaluators/options.d.ts.map +1 -0
  323. package/dist/esm/api/evaluators/options.js.map +1 -0
  324. package/dist/esm/classic/agents/index.d.ts +21 -2
  325. package/dist/esm/classic/agents/index.d.ts.map +1 -1
  326. package/dist/esm/classic/agents/index.js +10 -1
  327. package/dist/esm/classic/agents/index.js.map +1 -1
  328. package/dist/esm/classic/beta/agents/index.d.ts +4 -15
  329. package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
  330. package/dist/esm/classic/beta/agents/index.js +4 -11
  331. package/dist/esm/classic/beta/agents/index.js.map +1 -1
  332. package/dist/esm/classic/beta/evaluators/index.d.ts +3 -38
  333. package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -1
  334. package/dist/esm/classic/beta/evaluators/index.js +2 -18
  335. package/dist/esm/classic/beta/evaluators/index.js.map +1 -1
  336. package/dist/esm/classic/beta/index.d.ts +2 -4
  337. package/dist/esm/classic/beta/index.d.ts.map +1 -1
  338. package/dist/esm/classic/beta/index.js +3 -6
  339. package/dist/esm/classic/beta/index.js.map +1 -1
  340. package/dist/esm/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
  341. package/dist/esm/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
  342. package/dist/esm/classic/beta/voiceAgents/conversations/index.js +5 -4
  343. package/dist/esm/classic/beta/voiceAgents/conversations/index.js.map +1 -1
  344. package/dist/esm/classic/beta/voiceAgents/index.d.ts +3 -2
  345. package/dist/esm/classic/beta/voiceAgents/index.d.ts.map +1 -1
  346. package/dist/esm/classic/beta/voiceAgents/index.js +5 -5
  347. package/dist/esm/classic/beta/voiceAgents/index.js.map +1 -1
  348. package/dist/esm/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
  349. package/dist/esm/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
  350. package/dist/esm/classic/beta/voiceAgents/telephony/index.js +16 -11
  351. package/dist/esm/classic/beta/voiceAgents/telephony/index.js.map +1 -1
  352. package/dist/esm/classic/datasets/index.d.ts +13 -2
  353. package/dist/esm/classic/datasets/index.d.ts.map +1 -1
  354. package/dist/esm/classic/datasets/index.js +6 -1
  355. package/dist/esm/classic/datasets/index.js.map +1 -1
  356. package/dist/esm/classic/evaluators/index.d.ts +43 -0
  357. package/dist/esm/classic/evaluators/index.d.ts.map +1 -0
  358. package/dist/esm/classic/evaluators/index.js +19 -0
  359. package/dist/esm/classic/evaluators/index.js.map +1 -0
  360. package/dist/esm/classic/index.d.ts +1 -1
  361. package/dist/esm/classic/index.d.ts.map +1 -1
  362. package/dist/esm/classic/index.js.map +1 -1
  363. package/dist/esm/constants.d.ts +1 -1
  364. package/dist/esm/constants.js +1 -1
  365. package/dist/esm/constants.js.map +1 -1
  366. package/dist/esm/index.d.ts +10 -17
  367. package/dist/esm/index.d.ts.map +1 -1
  368. package/dist/esm/index.js +1 -2
  369. package/dist/esm/index.js.map +1 -1
  370. package/dist/esm/models/index.d.ts +1 -3
  371. package/dist/esm/models/index.d.ts.map +1 -1
  372. package/dist/esm/models/index.js.map +1 -1
  373. package/dist/esm/models/models.d.ts +1081 -536
  374. package/dist/esm/models/models.d.ts.map +1 -1
  375. package/dist/esm/models/models.js +1554 -655
  376. package/dist/esm/models/models.js.map +1 -1
  377. package/dist/esm/package.json +1 -1
  378. package/dist/esm/realtime/voiceAgentRealtimeClient.d.ts +27 -2
  379. package/dist/esm/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
  380. package/dist/esm/realtime/voiceAgentRealtimeClient.js +97 -17
  381. package/dist/esm/realtime/voiceAgentRealtimeClient.js.map +1 -1
  382. package/dist/esm/tracing/configuration.d.ts +3 -5
  383. package/dist/esm/tracing/configuration.d.ts.map +1 -1
  384. package/dist/esm/tracing/configuration.js +8 -6
  385. package/dist/esm/tracing/configuration.js.map +1 -1
  386. package/dist/esm/tracing/tracingClient.d.ts +1 -1
  387. package/dist/esm/tracing/tracingClient.d.ts.map +1 -1
  388. package/dist/esm/tracing/tracingClient.js +2 -2
  389. package/dist/esm/tracing/tracingClient.js.map +1 -1
  390. package/dist/esm/tracing/voiceAgentTracing.d.ts +63 -0
  391. package/dist/esm/tracing/voiceAgentTracing.d.ts.map +1 -0
  392. package/dist/esm/tracing/voiceAgentTracing.js +740 -0
  393. package/dist/esm/tracing/voiceAgentTracing.js.map +1 -0
  394. package/dist/react-native/aiProjectClient.d.ts +4 -0
  395. package/dist/react-native/aiProjectClient.d.ts.map +1 -1
  396. package/dist/react-native/aiProjectClient.js +6 -1
  397. package/dist/react-native/aiProjectClient.js.map +1 -1
  398. package/dist/react-native/api/agents/index.d.ts +2 -2
  399. package/dist/react-native/api/agents/index.d.ts.map +1 -1
  400. package/dist/react-native/api/agents/index.js +1 -1
  401. package/dist/react-native/api/agents/index.js.map +1 -1
  402. package/dist/react-native/api/agents/operations.d.ts +41 -4
  403. package/dist/react-native/api/agents/operations.d.ts.map +1 -1
  404. package/dist/react-native/api/agents/operations.js +322 -21
  405. package/dist/react-native/api/agents/operations.js.map +1 -1
  406. package/dist/react-native/api/agents/options.d.ts +163 -93
  407. package/dist/react-native/api/agents/options.d.ts.map +1 -1
  408. package/dist/react-native/api/agents/options.js.map +1 -1
  409. package/dist/react-native/api/beta/agents/index.d.ts +2 -2
  410. package/dist/react-native/api/beta/agents/index.d.ts.map +1 -1
  411. package/dist/react-native/api/beta/agents/index.js +1 -1
  412. package/dist/react-native/api/beta/agents/index.js.map +1 -1
  413. package/dist/react-native/api/beta/agents/operations.d.ts +2 -24
  414. package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -1
  415. package/dist/react-native/api/beta/agents/operations.js +3 -185
  416. package/dist/react-native/api/beta/agents/operations.js.map +1 -1
  417. package/dist/react-native/api/beta/agents/options.d.ts +0 -56
  418. package/dist/react-native/api/beta/agents/options.d.ts.map +1 -1
  419. package/dist/react-native/api/beta/agents/options.js.map +1 -1
  420. package/dist/react-native/api/beta/evaluators/index.d.ts +2 -2
  421. package/dist/react-native/api/beta/evaluators/index.d.ts.map +1 -1
  422. package/dist/react-native/api/beta/evaluators/index.js +1 -1
  423. package/dist/react-native/api/beta/evaluators/index.js.map +1 -1
  424. package/dist/react-native/api/beta/evaluators/operations.d.ts +2 -59
  425. package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -1
  426. package/dist/react-native/api/beta/evaluators/operations.js +1 -388
  427. package/dist/react-native/api/beta/evaluators/operations.js.map +1 -1
  428. package/dist/react-native/api/beta/evaluators/options.d.ts +0 -84
  429. package/dist/react-native/api/beta/evaluators/options.d.ts.map +1 -1
  430. package/dist/react-native/api/beta/evaluators/options.js.map +1 -1
  431. package/dist/react-native/api/datasets/index.d.ts +2 -2
  432. package/dist/react-native/api/datasets/index.d.ts.map +1 -1
  433. package/dist/react-native/api/datasets/index.js +1 -1
  434. package/dist/react-native/api/datasets/index.js.map +1 -1
  435. package/dist/react-native/api/datasets/operations.d.ts +23 -2
  436. package/dist/react-native/api/datasets/operations.d.ts.map +1 -1
  437. package/dist/react-native/api/datasets/operations.js +193 -1
  438. package/dist/react-native/api/datasets/operations.js.map +1 -1
  439. package/dist/react-native/api/datasets/options.d.ts +52 -0
  440. package/dist/react-native/api/datasets/options.d.ts.map +1 -1
  441. package/dist/react-native/api/datasets/options.js.map +1 -1
  442. package/dist/react-native/api/evaluators/index.d.ts +3 -0
  443. package/dist/react-native/api/evaluators/index.d.ts.map +1 -0
  444. package/dist/react-native/api/evaluators/index.js +4 -0
  445. package/dist/react-native/api/evaluators/index.js.map +1 -0
  446. package/dist/react-native/api/evaluators/operations.d.ts +62 -0
  447. package/dist/react-native/api/evaluators/operations.d.ts.map +1 -0
  448. package/dist/react-native/api/evaluators/operations.js +373 -0
  449. package/dist/react-native/api/evaluators/operations.js.map +1 -0
  450. package/dist/react-native/api/evaluators/options.d.ts +70 -0
  451. package/dist/react-native/api/evaluators/options.d.ts.map +1 -0
  452. package/dist/react-native/api/evaluators/options.js.map +1 -0
  453. package/dist/react-native/classic/agents/index.d.ts +21 -2
  454. package/dist/react-native/classic/agents/index.d.ts.map +1 -1
  455. package/dist/react-native/classic/agents/index.js +10 -1
  456. package/dist/react-native/classic/agents/index.js.map +1 -1
  457. package/dist/react-native/classic/beta/agents/index.d.ts +4 -15
  458. package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
  459. package/dist/react-native/classic/beta/agents/index.js +4 -11
  460. package/dist/react-native/classic/beta/agents/index.js.map +1 -1
  461. package/dist/react-native/classic/beta/evaluators/index.d.ts +3 -38
  462. package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -1
  463. package/dist/react-native/classic/beta/evaluators/index.js +2 -18
  464. package/dist/react-native/classic/beta/evaluators/index.js.map +1 -1
  465. package/dist/react-native/classic/beta/index.d.ts +2 -4
  466. package/dist/react-native/classic/beta/index.d.ts.map +1 -1
  467. package/dist/react-native/classic/beta/index.js +3 -6
  468. package/dist/react-native/classic/beta/index.js.map +1 -1
  469. package/dist/react-native/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
  470. package/dist/react-native/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
  471. package/dist/react-native/classic/beta/voiceAgents/conversations/index.js +5 -4
  472. package/dist/react-native/classic/beta/voiceAgents/conversations/index.js.map +1 -1
  473. package/dist/react-native/classic/beta/voiceAgents/index.d.ts +3 -2
  474. package/dist/react-native/classic/beta/voiceAgents/index.d.ts.map +1 -1
  475. package/dist/react-native/classic/beta/voiceAgents/index.js +5 -5
  476. package/dist/react-native/classic/beta/voiceAgents/index.js.map +1 -1
  477. package/dist/react-native/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
  478. package/dist/react-native/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
  479. package/dist/react-native/classic/beta/voiceAgents/telephony/index.js +16 -11
  480. package/dist/react-native/classic/beta/voiceAgents/telephony/index.js.map +1 -1
  481. package/dist/react-native/classic/datasets/index.d.ts +13 -2
  482. package/dist/react-native/classic/datasets/index.d.ts.map +1 -1
  483. package/dist/react-native/classic/datasets/index.js +6 -1
  484. package/dist/react-native/classic/datasets/index.js.map +1 -1
  485. package/dist/react-native/classic/evaluators/index.d.ts +43 -0
  486. package/dist/react-native/classic/evaluators/index.d.ts.map +1 -0
  487. package/dist/react-native/classic/evaluators/index.js +19 -0
  488. package/dist/react-native/classic/evaluators/index.js.map +1 -0
  489. package/dist/react-native/classic/index.d.ts +1 -1
  490. package/dist/react-native/classic/index.d.ts.map +1 -1
  491. package/dist/react-native/classic/index.js.map +1 -1
  492. package/dist/react-native/constants.d.ts +1 -1
  493. package/dist/react-native/constants.js +1 -1
  494. package/dist/react-native/constants.js.map +1 -1
  495. package/dist/react-native/index.d.ts +10 -17
  496. package/dist/react-native/index.d.ts.map +1 -1
  497. package/dist/react-native/index.js +1 -2
  498. package/dist/react-native/index.js.map +1 -1
  499. package/dist/react-native/models/index.d.ts +1 -3
  500. package/dist/react-native/models/index.d.ts.map +1 -1
  501. package/dist/react-native/models/index.js.map +1 -1
  502. package/dist/react-native/models/models.d.ts +1081 -536
  503. package/dist/react-native/models/models.d.ts.map +1 -1
  504. package/dist/react-native/models/models.js +1554 -655
  505. package/dist/react-native/models/models.js.map +1 -1
  506. package/dist/react-native/package.json +1 -1
  507. package/dist/react-native/realtime/voiceAgentRealtimeClient.d.ts +27 -2
  508. package/dist/react-native/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
  509. package/dist/react-native/realtime/voiceAgentRealtimeClient.js +97 -17
  510. package/dist/react-native/realtime/voiceAgentRealtimeClient.js.map +1 -1
  511. package/dist/react-native/tracing/configuration.d.ts +3 -5
  512. package/dist/react-native/tracing/configuration.d.ts.map +1 -1
  513. package/dist/react-native/tracing/configuration.js +8 -6
  514. package/dist/react-native/tracing/configuration.js.map +1 -1
  515. package/dist/react-native/tracing/tracingClient.d.ts +1 -1
  516. package/dist/react-native/tracing/tracingClient.d.ts.map +1 -1
  517. package/dist/react-native/tracing/tracingClient.js +2 -2
  518. package/dist/react-native/tracing/tracingClient.js.map +1 -1
  519. package/dist/react-native/tracing/voiceAgentTracing.d.ts +63 -0
  520. package/dist/react-native/tracing/voiceAgentTracing.d.ts.map +1 -0
  521. package/dist/react-native/tracing/voiceAgentTracing.js +740 -0
  522. package/dist/react-native/tracing/voiceAgentTracing.js.map +1 -0
  523. package/dist/react-native/webSocketTransport-browser.d.mts +1 -0
  524. package/dist/react-native/webSocketTransport-browser.d.mts.map +1 -1
  525. package/dist/react-native/webSocketTransport-browser.mjs +5 -13
  526. package/dist/react-native/webSocketTransport-browser.mjs.map +1 -1
  527. package/package.json +9 -9
  528. package/dist/browser/api/beta/datasets/index.d.ts +0 -3
  529. package/dist/browser/api/beta/datasets/index.d.ts.map +0 -1
  530. package/dist/browser/api/beta/datasets/index.js +0 -4
  531. package/dist/browser/api/beta/datasets/index.js.map +0 -1
  532. package/dist/browser/api/beta/datasets/operations.d.ts +0 -27
  533. package/dist/browser/api/beta/datasets/operations.d.ts.map +0 -1
  534. package/dist/browser/api/beta/datasets/operations.js +0 -184
  535. package/dist/browser/api/beta/datasets/operations.js.map +0 -1
  536. package/dist/browser/api/beta/datasets/options.d.ts +0 -58
  537. package/dist/browser/api/beta/datasets/options.d.ts.map +0 -1
  538. package/dist/browser/api/beta/datasets/options.js.map +0 -1
  539. package/dist/browser/classic/beta/datasets/index.d.ts +0 -20
  540. package/dist/browser/classic/beta/datasets/index.d.ts.map +0 -1
  541. package/dist/browser/classic/beta/datasets/index.js +0 -18
  542. package/dist/browser/classic/beta/datasets/index.js.map +0 -1
  543. package/dist/commonjs/api/beta/datasets/index.d.ts +0 -3
  544. package/dist/commonjs/api/beta/datasets/index.d.ts.map +0 -1
  545. package/dist/commonjs/api/beta/datasets/index.js.map +0 -7
  546. package/dist/commonjs/api/beta/datasets/operations.d.ts +0 -27
  547. package/dist/commonjs/api/beta/datasets/operations.d.ts.map +0 -1
  548. package/dist/commonjs/api/beta/datasets/operations.js +0 -259
  549. package/dist/commonjs/api/beta/datasets/operations.js.map +0 -7
  550. package/dist/commonjs/api/beta/datasets/options.d.ts +0 -58
  551. package/dist/commonjs/api/beta/datasets/options.d.ts.map +0 -1
  552. package/dist/commonjs/api/beta/datasets/options.js.map +0 -7
  553. package/dist/commonjs/classic/beta/datasets/index.d.ts +0 -20
  554. package/dist/commonjs/classic/beta/datasets/index.d.ts.map +0 -1
  555. package/dist/commonjs/classic/beta/datasets/index.js.map +0 -7
  556. package/dist/esm/api/beta/datasets/index.d.ts +0 -3
  557. package/dist/esm/api/beta/datasets/index.d.ts.map +0 -1
  558. package/dist/esm/api/beta/datasets/index.js +0 -4
  559. package/dist/esm/api/beta/datasets/index.js.map +0 -1
  560. package/dist/esm/api/beta/datasets/operations.d.ts +0 -27
  561. package/dist/esm/api/beta/datasets/operations.d.ts.map +0 -1
  562. package/dist/esm/api/beta/datasets/operations.js +0 -184
  563. package/dist/esm/api/beta/datasets/operations.js.map +0 -1
  564. package/dist/esm/api/beta/datasets/options.d.ts +0 -58
  565. package/dist/esm/api/beta/datasets/options.d.ts.map +0 -1
  566. package/dist/esm/api/beta/datasets/options.js.map +0 -1
  567. package/dist/esm/classic/beta/datasets/index.d.ts +0 -20
  568. package/dist/esm/classic/beta/datasets/index.d.ts.map +0 -1
  569. package/dist/esm/classic/beta/datasets/index.js +0 -18
  570. package/dist/esm/classic/beta/datasets/index.js.map +0 -1
  571. package/dist/react-native/api/beta/datasets/index.d.ts +0 -3
  572. package/dist/react-native/api/beta/datasets/index.d.ts.map +0 -1
  573. package/dist/react-native/api/beta/datasets/index.js +0 -4
  574. package/dist/react-native/api/beta/datasets/index.js.map +0 -1
  575. package/dist/react-native/api/beta/datasets/operations.d.ts +0 -27
  576. package/dist/react-native/api/beta/datasets/operations.d.ts.map +0 -1
  577. package/dist/react-native/api/beta/datasets/operations.js +0 -184
  578. package/dist/react-native/api/beta/datasets/operations.js.map +0 -1
  579. package/dist/react-native/api/beta/datasets/options.d.ts +0 -58
  580. package/dist/react-native/api/beta/datasets/options.d.ts.map +0 -1
  581. package/dist/react-native/api/beta/datasets/options.js.map +0 -1
  582. package/dist/react-native/classic/beta/datasets/index.d.ts +0 -20
  583. package/dist/react-native/classic/beta/datasets/index.d.ts.map +0 -1
  584. package/dist/react-native/classic/beta/datasets/index.js +0 -18
  585. package/dist/react-native/classic/beta/datasets/index.js.map +0 -1
  586. /package/dist/browser/api/{beta/datasets → evaluators}/options.js +0 -0
  587. /package/dist/commonjs/api/{beta/datasets → evaluators}/options.js +0 -0
  588. /package/dist/esm/api/{beta/datasets → evaluators}/options.js +0 -0
  589. /package/dist/react-native/api/{beta/datasets → evaluators}/options.js +0 -0
@@ -2,6 +2,7 @@ import type { AIProjectContext } from "../../../../api/aiProjectContext.js";
2
2
  import type { BetaVoiceAgentsConversationsDownloadAudioOptionalParams, BetaVoiceAgentsConversationsGetAudioOptionalParams, BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams, BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams, BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams, BetaVoiceAgentsConversationsGetAudioItemOptionalParams, BetaVoiceAgentsConversationsGetItemOptionalParams, BetaVoiceAgentsConversationsListItemsOptionalParams, BetaVoiceAgentsConversationsListResponseItemsOptionalParams, BetaVoiceAgentsConversationsGetResponseOptionalParams, BetaVoiceAgentsConversationsListResponsesOptionalParams, BetaVoiceAgentsConversationsDeleteOptionalParams, BetaVoiceAgentsConversationsGetOptionalParams, BetaVoiceAgentsConversationsListOptionalParams } from "../../../../api/beta/voiceAgents/conversations/options.js";
3
3
  import type { VoiceConversation, VoiceResponse, RealtimeConversationItemUnion, VoiceAudioItem, VoiceGeneratedAudioItem, VoiceRecording, BetaVoiceAgentsConversationsDownloadAudioResponse, BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse, BetaVoiceAgentsConversationsDownloadAudioItemResponse } from "../../../../models/models.js";
4
4
  import type { PagedAsyncIterableIterator } from "@azure/core-paging";
5
+ import type { ResolvedTracingConfig } from "../../../../tracing/configuration.js";
5
6
  /** Operations for managing voice agent conversations. */
6
7
  export interface BetaVoiceAgentsConversationsOperations {
7
8
  /**
@@ -111,5 +112,5 @@ export interface BetaVoiceAgentsConversationsOperations {
111
112
  */
112
113
  list: (agentName: string, options?: BetaVoiceAgentsConversationsListOptionalParams) => PagedAsyncIterableIterator<VoiceConversation>;
113
114
  }
114
- export declare function _getBetaVoiceAgentsConversationsOperations(context: AIProjectContext): BetaVoiceAgentsConversationsOperations;
115
+ export declare function _getBetaVoiceAgentsConversationsOperations(context: AIProjectContext, tracingConfig?: ResolvedTracingConfig): BetaVoiceAgentsConversationsOperations;
115
116
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/classic/beta/voiceAgents/conversations/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAiB5E,OAAO,KAAK,EACV,uDAAuD,EACvD,kDAAkD,EAClD,oEAAoE,EACpE,+DAA+D,EAC/D,2DAA2D,EAC3D,sDAAsD,EACtD,iDAAiD,EACjD,mDAAmD,EACnD,2DAA2D,EAC3D,qDAAqD,EACrD,uDAAuD,EACvD,gDAAgD,EAChD,6CAA6C,EAC7C,8CAA8C,EAC/C,MAAM,2DAA2D,CAAC;AACnE,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,6BAA6B,EAC7B,cAAc,EACd,uBAAuB,EACvB,cAAc,EACd,iDAAiD,EACjD,8DAA8D,EAC9D,qDAAqD,EACtD,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,yDAAyD;AACzD,MAAM,WAAW,sCAAsC;IACrD;;;;;;;;;;OAUG;IACH,aAAa,EAAE,CACb,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,uDAAuD,KAC9D,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAChE;;;;;;;;;;;OAWG;IACH,QAAQ,EAAE,CACR,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kDAAkD,KACzD,OAAO,CAAC,cAAc,CAAC,CAAC;IAC7B;;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;;;OAGG;IACH,WAAW,EAAE,CACX,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,qDAAqD,KAC5D,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5B;;;;OAIG;IACH,aAAa,EAAE,CACb,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,uDAAuD,KAC9D,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC/C;;;OAGG;IACH,MAAM,EAAE,CACN,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gDAAgD,KACvD,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB;;;OAGG;IACH,GAAG,EAAE,CACH,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C,KACpD,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChC;;;;OAIG;IACH,IAAI,EAAE,CACJ,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,8CAA8C,KACrD,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;CACpD;AAmFD,wBAAgB,0CAA0C,CACxD,OAAO,EAAE,gBAAgB,GACxB,sCAAsC,CAExC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/classic/beta/voiceAgents/conversations/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAiB5E,OAAO,KAAK,EACV,uDAAuD,EACvD,kDAAkD,EAClD,oEAAoE,EACpE,+DAA+D,EAC/D,2DAA2D,EAC3D,sDAAsD,EACtD,iDAAiD,EACjD,mDAAmD,EACnD,2DAA2D,EAC3D,qDAAqD,EACrD,uDAAuD,EACvD,gDAAgD,EAChD,6CAA6C,EAC7C,8CAA8C,EAC/C,MAAM,2DAA2D,CAAC;A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,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChC;;;;OAIG;IACH,IAAI,EAAE,CACJ,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,8CAA8C,KACrD,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;CACpD;AA0FD,wBAAgB,0CAA0C,CACxD,OAAO,EAAE,gBAAgB,EACzB,aAAa,CAAC,EAAE,qBAAqB,GACpC,sCAAsC,CAExC"}
@@ -21,7 +21,8 @@ __export(conversations_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(conversations_exports);
23
23
  var import_operations = require("../../../../api/beta/voiceAgents/conversations/operations.js");
24
- function _getBetaVoiceAgentsConversations(context) {
24
+ var import_voiceAgentTracing = require("../../../../tracing/voiceAgentTracing.js");
25
+ function _getBetaVoiceAgentsConversations(context, tracingConfig) {
25
26
  return {
26
27
  downloadAudio: (agentName, conversationId, options) => (0, import_operations.downloadAudio)(context, agentName, conversationId, options),
27
28
  getAudio: (agentName, conversationId, options) => (0, import_operations.getAudio)(context, agentName, conversationId, options),
@@ -34,13 +35,18 @@ function _getBetaVoiceAgentsConversations(context) {
34
35
  listResponseItems: (agentName, conversationId, responseId, options) => (0, import_operations.listResponseItems)(context, agentName, conversationId, responseId, options),
35
36
  getResponse: (agentName, conversationId, responseId, options) => (0, import_operations.getResponse)(context, agentName, conversationId, responseId, options),
36
37
  listResponses: (agentName, conversationId, options) => (0, import_operations.listResponses)(context, agentName, conversationId, options),
37
- delete: (agentName, conversationId, options) => (0, import_operations.$delete)(context, agentName, conversationId, options),
38
+ delete: (agentName, conversationId, options) => (0, import_voiceAgentTracing.traceVoiceAgentOperation)(
39
+ "voice_agents.conversations.delete",
40
+ context.endpoint,
41
+ tracingConfig,
42
+ () => (0, import_operations.$delete)(context, agentName, conversationId, options)
43
+ ),
38
44
  get: (agentName, conversationId, options) => (0, import_operations.get)(context, agentName, conversationId, options),
39
45
  list: (agentName, options) => (0, import_operations.list)(context, agentName, options)
40
46
  };
41
47
  }
42
- function _getBetaVoiceAgentsConversationsOperations(context) {
43
- return { ..._getBetaVoiceAgentsConversations(context) };
48
+ function _getBetaVoiceAgentsConversationsOperations(context, tracingConfig) {
49
+ return { ..._getBetaVoiceAgentsConversations(context, tracingConfig) };
44
50
  }
45
51
  // Annotate the CommonJS export names for ESM import in node:
46
52
  0 && (module.exports = {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/classic/beta/voiceAgents/conversations/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../../api/aiProjectContext.js\";\nimport {\n downloadAudio,\n getAudio,\n downloadGeneratedAudioItem,\n getGeneratedAudioItem,\n downloadAudioItem,\n getAudioItem,\n getItem,\n listItems,\n listResponseItems,\n getResponse,\n listResponses,\n $delete,\n get,\n list,\n} from \"../../../../api/beta/voiceAgents/conversations/operations.js\";\nimport type {\n BetaVoiceAgentsConversationsDownloadAudioOptionalParams,\n BetaVoiceAgentsConversationsGetAudioOptionalParams,\n BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams,\n BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetItemOptionalParams,\n BetaVoiceAgentsConversationsListItemsOptionalParams,\n BetaVoiceAgentsConversationsListResponseItemsOptionalParams,\n BetaVoiceAgentsConversationsGetResponseOptionalParams,\n BetaVoiceAgentsConversationsListResponsesOptionalParams,\n BetaVoiceAgentsConversationsDeleteOptionalParams,\n BetaVoiceAgentsConversationsGetOptionalParams,\n BetaVoiceAgentsConversationsListOptionalParams,\n} from \"../../../../api/beta/voiceAgents/conversations/options.js\";\nimport type {\n VoiceConversation,\n VoiceResponse,\n RealtimeConversationItemUnion,\n VoiceAudioItem,\n VoiceGeneratedAudioItem,\n VoiceRecording,\n BetaVoiceAgentsConversationsDownloadAudioResponse,\n BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse,\n BetaVoiceAgentsConversationsDownloadAudioItemResponse,\n} from \"../../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Operations for managing voice agent conversations. */\nexport interface BetaVoiceAgentsConversationsOperations {\n /**\n * Streams the whole-call merged stereo recording as a WAV (`audio/wav`) byte stream through the service\n * (no SAS URL). This route serves Foundry-managed storage only. For bring-your-own-storage (BYOS)\n * recordings the bytes are not proxied \u2014 the caller must download directly from customer storage using the\n * `blob_uri` returned by the metadata route \u2014 so this route returns `409 Conflict` for BYOS recordings.\n * While the conversation is `in_progress`, this route returns retriable `409 Conflict` with\n * `error.code = recording_not_ready` and a `Retry-After` header when retry guidance is available. When the\n * conversation is `failed`, it returns terminal `409 Conflict` with `error.code = recording_unavailable`.\n * For a `completed` conversation, content is available subject to the existing BYOS behavior. A conversation\n * without persisted audio (`store = false`) returns `404`.\n */\n downloadAudio: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsDownloadAudioOptionalParams,\n ) => Promise<BetaVoiceAgentsConversationsDownloadAudioResponse>;\n /**\n * Returns metadata for the whole-call merged stereo recording (user audio on the left channel, agent audio\n * on the right). The common metadata (format, sample rate, channels, channel layout, duration) is returned\n * for both Foundry-managed and bring-your-own-storage (BYOS) recordings; for BYOS the response additionally\n * includes `blob_uri`, the URI of the recording in the customer's own storage (no SAS) that the customer downloads\n * with their own credentials. The recording is built once from the per-turn segments after persistence\n * finalization succeeds. While the conversation is `in_progress`, this route returns retriable `409 Conflict`\n * with `error.code = recording_not_ready` and a `Retry-After` header when retry guidance is available. When the\n * conversation is `failed`, it returns terminal `409 Conflict` with `error.code = recording_unavailable`.\n * For a `completed` conversation, metadata is available subject to the existing BYOS behavior. Requires the\n * conversation to have persisted audio (`store = true`); otherwise returns `404`.\n */\n getAudio: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsGetAudioOptionalParams,\n ) => Promise<VoiceRecording>;\n /**\n * Streams a conversation item's generated audio as a WAV (`audio/wav`) byte stream through the service. This\n * subordinate artifact exists only when playback was interrupted and the service rendered more audio than the\n * listener heard, including when the response ends as cancelled. This route serves Foundry-managed storage only.\n * For bring-your-own-storage (BYOS) recordings the bytes are not proxied, so this route returns `409 Conflict`.\n * Returns `404` when the conversation or item was not persisted, or when no generated audio exists beyond the\n * heard segment.\n */\n downloadGeneratedAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams,\n ) => Promise<BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse>;\n /**\n * Returns metadata for a conversation item's generated audio. This subordinate artifact is separate from the\n * canonical heard-audio segment and exists only when playback was interrupted and the service rendered more audio\n * than the listener heard, including when the response ends as cancelled. Returns `404` when the conversation or\n * item was not persisted, or when no generated audio exists beyond the heard segment.\n */\n getGeneratedAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams,\n ) => Promise<VoiceGeneratedAudioItem>;\n /**\n * Streams a single conversation item's audio as a WAV (`audio/wav`) byte stream through the service (no SAS\n * URL). This route serves Foundry-managed storage only. For bring-your-own-storage (BYOS) recordings the\n * bytes are not proxied \u2014 the caller must download directly from customer storage using the `blob_uri`\n * returned by the item's `/audio` metadata route \u2014 so this route returns `409 Conflict` for BYOS recordings.\n * Returns `404` when the conversation, item, or its audio was not persisted (`store = false`).\n */\n downloadAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams,\n ) => Promise<BetaVoiceAgentsConversationsDownloadAudioItemResponse>;\n /**\n * Returns metadata for a single conversation item's audio segment, including the common playback facts\n * (role, format/codec, sample rate, channels, offset, duration) for both Foundry-managed and\n * bring-your-own-storage (BYOS) recordings; for BYOS the response additionally includes `blob_uri`, the URI\n * of the recording in the customer's own storage (no SAS) that the customer downloads with their own credentials.\n * Requires the conversation to have persisted audio (`store = true`); returns `404` when the conversation,\n * item, or its audio was not persisted.\n */\n getAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetAudioItemOptionalParams,\n ) => Promise<VoiceAudioItem>;\n /**\n * Retrieves a single item from the specified conversation by its id, including its transcript. An\n * `input_audio`/`output_audio` content part indicates that audio is available for the item; the canonical per-item\n * audio metadata is the `/items/{item_id}/audio` resource, and the bytes are streamed by\n * `/items/{item_id}/audio/content`. Returns `404` when the conversation or item was not persisted\n * (`store = false`).\n */\n getItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetItemOptionalParams,\n ) => Promise<RealtimeConversationItemUnion>;\n /**\n * Returns a paged collection of items \u2014 the complete ordered conversation history, including user input,\n * assistant output, and client-created tool outputs (transcripts + tool events). Returns `404` when the\n * conversation was not persisted (`store = false`).\n */\n listItems: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsListItemsOptionalParams,\n ) => PagedAsyncIterableIterator<RealtimeConversationItemUnion>;\n /**\n * Returns a paged collection of the output items produced by a specific response (the response's output\n * projection). For the complete ordered conversation history \u2014 including user input and client-created\n * tool outputs \u2014 use the conversation items route instead. Returns `404` when the conversation or\n * response was not persisted (`store = false`).\n */\n listResponseItems: (\n agentName: string,\n conversationId: string,\n responseId: string,\n options?: BetaVoiceAgentsConversationsListResponseItemsOptionalParams,\n ) => PagedAsyncIterableIterator<RealtimeConversationItemUnion>;\n /**\n * Retrieves a single response from the specified conversation by its id, including its `output` items,\n * `usage`, and status. Returns `404` when the conversation or response was not persisted (`store = false`).\n */\n getResponse: (\n agentName: string,\n conversationId: string,\n responseId: string,\n options?: BetaVoiceAgentsConversationsGetResponseOptionalParams,\n ) => Promise<VoiceResponse>;\n /**\n * Returns a paged collection of the responses (model inference turns) recorded for the specified\n * conversation. The per-response `output` projection may be omitted here; use the response-items route\n * for the canonical paged output. Returns `404` when the conversation was not persisted (`store = false`).\n */\n listResponses: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsListResponsesOptionalParams,\n ) => PagedAsyncIterableIterator<VoiceResponse>;\n /**\n * Deletes a conversation and all of its stored data \u2014 responses, items, and any audio (cascade). This is\n * the customer's explicit data-deletion control for voice conversations.\n */\n delete: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsDeleteOptionalParams,\n ) => Promise<void>;\n /**\n * Retrieves a single conversation recorded for the specified voice agent endpoint by its id.\n * Returns `404` when the conversation was not persisted (`store = false`) or does not exist.\n */\n get: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsGetOptionalParams,\n ) => Promise<VoiceConversation>;\n /**\n * Returns the conversations persisted for the specified voice agent endpoint.\n * Conversations are present when the session's effective `store` setting is `true`, whether inherited from the\n * agent definition or enabled by the WebSocket session override.\n */\n list: (\n agentName: string,\n options?: BetaVoiceAgentsConversationsListOptionalParams,\n ) => PagedAsyncIterableIterator<VoiceConversation>;\n}\n\nfunction _getBetaVoiceAgentsConversations(\n context: AIProjectContext,\n): BetaVoiceAgentsConversationsOperations {\n return {\n downloadAudio: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsDownloadAudioOptionalParams,\n ) => downloadAudio(context, agentName, conversationId, options),\n getAudio: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsGetAudioOptionalParams,\n ) => getAudio(context, agentName, conversationId, options),\n downloadGeneratedAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams,\n ) => downloadGeneratedAudioItem(context, agentName, conversationId, itemId, options),\n getGeneratedAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams,\n ) => getGeneratedAudioItem(context, agentName, conversationId, itemId, options),\n downloadAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams,\n ) => downloadAudioItem(context, agentName, conversationId, itemId, options),\n getAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetAudioItemOptionalParams,\n ) => getAudioItem(context, agentName, conversationId, itemId, options),\n getItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetItemOptionalParams,\n ) => getItem(context, agentName, conversationId, itemId, options),\n listItems: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsListItemsOptionalParams,\n ) => listItems(context, agentName, conversationId, options),\n listResponseItems: (\n agentName: string,\n conversationId: string,\n responseId: string,\n options?: BetaVoiceAgentsConversationsListResponseItemsOptionalParams,\n ) => listResponseItems(context, agentName, conversationId, responseId, options),\n getResponse: (\n agentName: string,\n conversationId: string,\n responseId: string,\n options?: BetaVoiceAgentsConversationsGetResponseOptionalParams,\n ) => getResponse(context, agentName, conversationId, responseId, options),\n listResponses: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsListResponsesOptionalParams,\n ) => listResponses(context, agentName, conversationId, options),\n delete: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsDeleteOptionalParams,\n ) => $delete(context, agentName, conversationId, options),\n get: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsGetOptionalParams,\n ) => get(context, agentName, conversationId, options),\n list: (agentName: string, options?: BetaVoiceAgentsConversationsListOptionalParams) =>\n list(context, agentName, options),\n };\n}\n\nexport function _getBetaVoiceAgentsConversationsOperations(\n context: AIProjectContext,\n): BetaVoiceAgentsConversationsOperations {\n return { ..._getBetaVoiceAgentsConversations(context) };\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBA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AAG,iCAAiC,OAAO,EAAE;AACxD;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../../api/aiProjectContext.js\";\nimport {\n downloadAudio,\n getAudio,\n downloadGeneratedAudioItem,\n getGeneratedAudioItem,\n downloadAudioItem,\n getAudioItem,\n getItem,\n listItems,\n listResponseItems,\n getResponse,\n listResponses,\n $delete,\n get,\n list,\n} from \"../../../../api/beta/voiceAgents/conversations/operations.js\";\nimport type {\n BetaVoiceAgentsConversationsDownloadAudioOptionalParams,\n BetaVoiceAgentsConversationsGetAudioOptionalParams,\n BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams,\n BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetItemOptionalParams,\n BetaVoiceAgentsConversationsListItemsOptionalParams,\n BetaVoiceAgentsConversationsListResponseItemsOptionalParams,\n BetaVoiceAgentsConversationsGetResponseOptionalParams,\n BetaVoiceAgentsConversationsListResponsesOptionalParams,\n BetaVoiceAgentsConversationsDeleteOptionalParams,\n BetaVoiceAgentsConversationsGetOptionalParams,\n BetaVoiceAgentsConversationsListOptionalParams,\n} from \"../../../../api/beta/voiceAgents/conversations/options.js\";\nimport type {\n VoiceConversation,\n VoiceResponse,\n RealtimeConversationItemUnion,\n VoiceAudioItem,\n VoiceGeneratedAudioItem,\n VoiceRecording,\n BetaVoiceAgentsConversationsDownloadAudioResponse,\n BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse,\n BetaVoiceAgentsConversationsDownloadAudioItemResponse,\n} from \"../../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { ResolvedTracingConfig } from \"../../../../tracing/configuration.js\";\nimport { traceVoiceAgentOperation } from \"../../../../tracing/voiceAgentTracing.js\";\n\n/** Operations for managing voice agent conversations. */\nexport interface BetaVoiceAgentsConversationsOperations {\n /**\n * Streams the whole-call merged stereo recording as a WAV (`audio/wav`) byte stream through the service\n * (no SAS URL). This route serves Foundry-managed storage only. For bring-your-own-storage (BYOS)\n * recordings the bytes are not proxied \u2014 the caller must download directly from customer storage using the\n * `blob_uri` returned by the metadata route \u2014 so this route returns `409 Conflict` for BYOS recordings.\n * While the conversation is `in_progress`, this route returns retriable `409 Conflict` with\n * `error.code = recording_not_ready` and a `Retry-After` header when retry guidance is available. When the\n * conversation is `failed`, it returns terminal `409 Conflict` with `error.code = recording_unavailable`.\n * For a `completed` conversation, content is available subject to the existing BYOS behavior. A conversation\n * without persisted audio (`store = false`) returns `404`.\n */\n downloadAudio: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsDownloadAudioOptionalParams,\n ) => Promise<BetaVoiceAgentsConversationsDownloadAudioResponse>;\n /**\n * Returns metadata for the whole-call merged stereo recording (user audio on the left channel, agent audio\n * on the right). The common metadata (format, sample rate, channels, channel layout, duration) is returned\n * for both Foundry-managed and bring-your-own-storage (BYOS) recordings; for BYOS the response additionally\n * includes `blob_uri`, the URI of the recording in the customer's own storage (no SAS) that the customer downloads\n * with their own credentials. The recording is built once from the per-turn segments after persistence\n * finalization succeeds. While the conversation is `in_progress`, this route returns retriable `409 Conflict`\n * with `error.code = recording_not_ready` and a `Retry-After` header when retry guidance is available. When the\n * conversation is `failed`, it returns terminal `409 Conflict` with `error.code = recording_unavailable`.\n * For a `completed` conversation, metadata is available subject to the existing BYOS behavior. Requires the\n * conversation to have persisted audio (`store = true`); otherwise returns `404`.\n */\n getAudio: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsGetAudioOptionalParams,\n ) => Promise<VoiceRecording>;\n /**\n * Streams a conversation item's generated audio as a WAV (`audio/wav`) byte stream through the service. This\n * subordinate artifact exists only when playback was interrupted and the service rendered more audio than the\n * listener heard, including when the response ends as cancelled. This route serves Foundry-managed storage only.\n * For bring-your-own-storage (BYOS) recordings the bytes are not proxied, so this route returns `409 Conflict`.\n * Returns `404` when the conversation or item was not persisted, or when no generated audio exists beyond the\n * heard segment.\n */\n downloadGeneratedAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams,\n ) => Promise<BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse>;\n /**\n * Returns metadata for a conversation item's generated audio. This subordinate artifact is separate from the\n * canonical heard-audio segment and exists only when playback was interrupted and the service rendered more audio\n * than the listener heard, including when the response ends as cancelled. Returns `404` when the conversation or\n * item was not persisted, or when no generated audio exists beyond the heard segment.\n */\n getGeneratedAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams,\n ) => Promise<VoiceGeneratedAudioItem>;\n /**\n * Streams a single conversation item's audio as a WAV (`audio/wav`) byte stream through the service (no SAS\n * URL). This route serves Foundry-managed storage only. For bring-your-own-storage (BYOS) recordings the\n * bytes are not proxied \u2014 the caller must download directly from customer storage using the `blob_uri`\n * returned by the item's `/audio` metadata route \u2014 so this route returns `409 Conflict` for BYOS recordings.\n * Returns `404` when the conversation, item, or its audio was not persisted (`store = false`).\n */\n downloadAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams,\n ) => Promise<BetaVoiceAgentsConversationsDownloadAudioItemResponse>;\n /**\n * Returns metadata for a single conversation item's audio segment, including the common playback facts\n * (role, format/codec, sample rate, channels, offset, duration) for both Foundry-managed and\n * bring-your-own-storage (BYOS) recordings; for BYOS the response additionally includes `blob_uri`, the URI\n * of the recording in the customer's own storage (no SAS) that the customer downloads with their own credentials.\n * Requires the conversation to have persisted audio (`store = true`); returns `404` when the conversation,\n * item, or its audio was not persisted.\n */\n getAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetAudioItemOptionalParams,\n ) => Promise<VoiceAudioItem>;\n /**\n * Retrieves a single item from the specified conversation by its id, including its transcript. An\n * `input_audio`/`output_audio` content part indicates that audio is available for the item; the canonical per-item\n * audio metadata is the `/items/{item_id}/audio` resource, and the bytes are streamed by\n * `/items/{item_id}/audio/content`. Returns `404` when the conversation or item was not persisted\n * (`store = false`).\n */\n getItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetItemOptionalParams,\n ) => Promise<RealtimeConversationItemUnion>;\n /**\n * Returns a paged collection of items \u2014 the complete ordered conversation history, including user input,\n * assistant output, and client-created tool outputs (transcripts + tool events). Returns `404` when the\n * conversation was not persisted (`store = false`).\n */\n listItems: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsListItemsOptionalParams,\n ) => PagedAsyncIterableIterator<RealtimeConversationItemUnion>;\n /**\n * Returns a paged collection of the output items produced by a specific response (the response's output\n * projection). For the complete ordered conversation history \u2014 including user input and client-created\n * tool outputs \u2014 use the conversation items route instead. Returns `404` when the conversation or\n * response was not persisted (`store = false`).\n */\n listResponseItems: (\n agentName: string,\n conversationId: string,\n responseId: string,\n options?: BetaVoiceAgentsConversationsListResponseItemsOptionalParams,\n ) => PagedAsyncIterableIterator<RealtimeConversationItemUnion>;\n /**\n * Retrieves a single response from the specified conversation by its id, including its `output` items,\n * `usage`, and status. Returns `404` when the conversation or response was not persisted (`store = false`).\n */\n getResponse: (\n agentName: string,\n conversationId: string,\n responseId: string,\n options?: BetaVoiceAgentsConversationsGetResponseOptionalParams,\n ) => Promise<VoiceResponse>;\n /**\n * Returns a paged collection of the responses (model inference turns) recorded for the specified\n * conversation. The per-response `output` projection may be omitted here; use the response-items route\n * for the canonical paged output. Returns `404` when the conversation was not persisted (`store = false`).\n */\n listResponses: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsListResponsesOptionalParams,\n ) => PagedAsyncIterableIterator<VoiceResponse>;\n /**\n * Deletes a conversation and all of its stored data \u2014 responses, items, and any audio (cascade). This is\n * the customer's explicit data-deletion control for voice conversations.\n */\n delete: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsDeleteOptionalParams,\n ) => Promise<void>;\n /**\n * Retrieves a single conversation recorded for the specified voice agent endpoint by its id.\n * Returns `404` when the conversation was not persisted (`store = false`) or does not exist.\n */\n get: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsGetOptionalParams,\n ) => Promise<VoiceConversation>;\n /**\n * Returns the conversations persisted for the specified voice agent endpoint.\n * Conversations are present when the session's effective `store` setting is `true`, whether inherited from the\n * agent definition or enabled by the WebSocket session override.\n */\n list: (\n agentName: string,\n options?: BetaVoiceAgentsConversationsListOptionalParams,\n ) => PagedAsyncIterableIterator<VoiceConversation>;\n}\n\nfunction _getBetaVoiceAgentsConversations(\n context: AIProjectContext,\n tracingConfig?: ResolvedTracingConfig,\n): BetaVoiceAgentsConversationsOperations {\n return {\n downloadAudio: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsDownloadAudioOptionalParams,\n ) => downloadAudio(context, agentName, conversationId, options),\n getAudio: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsGetAudioOptionalParams,\n ) => getAudio(context, agentName, conversationId, options),\n downloadGeneratedAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams,\n ) => downloadGeneratedAudioItem(context, agentName, conversationId, itemId, options),\n getGeneratedAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams,\n ) => getGeneratedAudioItem(context, agentName, conversationId, itemId, options),\n downloadAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams,\n ) => downloadAudioItem(context, agentName, conversationId, itemId, options),\n getAudioItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetAudioItemOptionalParams,\n ) => getAudioItem(context, agentName, conversationId, itemId, options),\n getItem: (\n agentName: string,\n conversationId: string,\n itemId: string,\n options?: BetaVoiceAgentsConversationsGetItemOptionalParams,\n ) => getItem(context, agentName, conversationId, itemId, options),\n listItems: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsListItemsOptionalParams,\n ) => listItems(context, agentName, conversationId, options),\n listResponseItems: (\n agentName: string,\n conversationId: string,\n responseId: string,\n options?: BetaVoiceAgentsConversationsListResponseItemsOptionalParams,\n ) => listResponseItems(context, agentName, conversationId, responseId, options),\n getResponse: (\n agentName: string,\n conversationId: string,\n responseId: string,\n options?: BetaVoiceAgentsConversationsGetResponseOptionalParams,\n ) => getResponse(context, agentName, conversationId, responseId, options),\n listResponses: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsListResponsesOptionalParams,\n ) => listResponses(context, agentName, conversationId, options),\n delete: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsDeleteOptionalParams,\n ) =>\n traceVoiceAgentOperation(\n \"voice_agents.conversations.delete\",\n context.endpoint,\n tracingConfig,\n () => $delete(context, agentName, conversationId, options),\n ),\n get: (\n agentName: string,\n conversationId: string,\n options?: BetaVoiceAgentsConversationsGetOptionalParams,\n ) => get(context, agentName, conversationId, options),\n list: (agentName: string, options?: BetaVoiceAgentsConversationsListOptionalParams) =>\n list(context, agentName, options),\n };\n}\n\nexport function _getBetaVoiceAgentsConversationsOperations(\n context: AIProjectContext,\n tracingConfig?: ResolvedTracingConfig,\n): BetaVoiceAgentsConversationsOperations {\n return { ..._getBetaVoiceAgentsConversations(context, tracingConfig) };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAeO;AA8BP,+BAAyC;AA8KzC,SAAS,iCACP,SACA,eACw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AAEO,SAAS,2CACd,SACA,eACwC;AACxC,SAAO,EAAE,GAAG,iCAAiC,SAAS,aAAa,EAAE;AACvE;",
6
6
  "names": []
7
7
  }
@@ -2,7 +2,8 @@ import type { AIProjectContext } from "../../../api/aiProjectContext.js";
2
2
  import type { TokenCredential } from "@azure/core-auth";
3
3
  import type { BetaVoiceAgentsConversationsOperations } from "./conversations/index.js";
4
4
  import type { BetaVoiceAgentsTelephonyOperations } from "./telephony/index.js";
5
- import { VoiceAgentRealtimeClient, type VoiceAgentRealtimeClientOptions } from "../../../realtime/voiceAgentRealtimeClient.js";
5
+ import type { VoiceAgentRealtimeClient, VoiceAgentRealtimeClientOptions } from "../../../realtime/voiceAgentRealtimeClient.js";
6
+ import type { ResolvedTracingConfig } from "../../../tracing/configuration.js";
6
7
  /** Operations for managing voice agent conversations and telephony. */
7
8
  export interface BetaVoiceAgentsOperations {
8
9
  /** Operations for managing telephony bindings and calls. */
@@ -12,5 +13,5 @@ export interface BetaVoiceAgentsOperations {
12
13
  /** Realtime voice-agent connections. */
13
14
  realtime: VoiceAgentRealtimeClient;
14
15
  }
15
- export declare function _getBetaVoiceAgentsOperations(context: AIProjectContext, credential: TokenCredential, endpoint: string, realtimeOptions?: VoiceAgentRealtimeClientOptions): BetaVoiceAgentsOperations;
16
+ export declare function _getBetaVoiceAgentsOperations(context: AIProjectContext, credential: TokenCredential, endpoint: string, realtimeOptions?: VoiceAgentRealtimeClientOptions, tracingConfig?: ResolvedTracingConfig): BetaVoiceAgentsOperations;
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/classic/beta/voiceAgents/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0BAA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MAAM,EAChB,eAAe,CAAC,EAAE,+BAA+B,EACjD,aAAa,CAAC,EAAE,qBAAqB,GACpC,yBAAyB,CAS3B"}
@@ -23,14 +23,14 @@ module.exports = __toCommonJS(voiceAgents_exports);
23
23
  var import_conversations = require("./conversations/index.js");
24
24
  var import_telephony = require("./telephony/index.js");
25
25
  var import_voiceAgentRealtimeClient = require("../../../realtime/voiceAgentRealtimeClient.js");
26
- function _getBetaVoiceAgentsOperations(context, credential, endpoint, realtimeOptions) {
26
+ function _getBetaVoiceAgentsOperations(context, credential, endpoint, realtimeOptions, tracingConfig) {
27
27
  return {
28
- telephony: (0, import_telephony._getBetaVoiceAgentsTelephonyOperations)(context),
29
- conversations: (0, import_conversations._getBetaVoiceAgentsConversationsOperations)(context),
28
+ telephony: (0, import_telephony._getBetaVoiceAgentsTelephonyOperations)(context, tracingConfig),
29
+ conversations: (0, import_conversations._getBetaVoiceAgentsConversationsOperations)(context, tracingConfig),
30
30
  // VoiceAgentRealtimeClient defers https-only endpoint validation to connect() (not its
31
31
  // constructor), so eagerly constructing it here doesn't reject callers who intentionally use an
32
32
  // insecure local endpoint for the REST surface and never touch realtime connections.
33
- realtime: new import_voiceAgentRealtimeClient.VoiceAgentRealtimeClient(endpoint, credential, realtimeOptions)
33
+ realtime: (0, import_voiceAgentRealtimeClient.createVoiceAgentRealtimeClient)(endpoint, credential, realtimeOptions, tracingConfig)
34
34
  };
35
35
  }
36
36
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/classic/beta/voiceAgents/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../api/aiProjectContext.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { BetaVoiceAgentsConversationsOperations } from \"./conversations/index.js\";\nimport { _getBetaVoiceAgentsConversationsOperations } from \"./conversations/index.js\";\nimport type { BetaVoiceAgentsTelephonyOperations } from \"./telephony/index.js\";\nimport { _getBetaVoiceAgentsTelephonyOperations } from \"./telephony/index.js\";\nimport {\n VoiceAgentRealtimeClient,\n type VoiceAgentRealtimeClientOptions,\n} from \"../../../realtime/voiceAgentRealtimeClient.js\";\n\n/** Operations for managing voice agent conversations and telephony. */\nexport interface BetaVoiceAgentsOperations {\n /** Operations for managing telephony bindings and calls. */\n telephony: BetaVoiceAgentsTelephonyOperations;\n /** Operations for reading persisted voice conversations and audio. */\n conversations: BetaVoiceAgentsConversationsOperations;\n /** Realtime voice-agent connections. */\n realtime: VoiceAgentRealtimeClient;\n}\n\nexport function _getBetaVoiceAgentsOperations(\n context: AIProjectContext,\n credential: TokenCredential,\n endpoint: string,\n realtimeOptions?: VoiceAgentRealtimeClientOptions,\n): BetaVoiceAgentsOperations {\n return {\n telephony: _getBetaVoiceAgentsTelephonyOperations(context),\n conversations: _getBetaVoiceAgentsConversationsOperations(context),\n // VoiceAgentRealtimeClient defers https-only endpoint validation to connect() (not its\n // constructor), so eagerly constructing it here doesn't reject callers who intentionally use an\n // insecure local endpoint for the REST surface and never touch realtime connections.\n realtime: new VoiceAgentRealtimeClient(endpoint, credential, realtimeOptions),\n };\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,2BAA2D;AAE3D,uBAAuD;AACvD,sCAGO;AAYA,SAAS,8BACd,SACA,YACA,UACA,iBAC2B;AAC3B,SAAO;AAAA,IACL,eAAW,yDAAuC,OAAO;AAAA,IACzD,mBAAe,iEAA2C,OAAO;AAAA;AAAA;AAAA;AAAA,IAIjE,UAAU,IAAI,yDAAyB,UAAU,YAAY,eAAe;AAAA,EAC9E;AACF;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../api/aiProjectContext.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { BetaVoiceAgentsConversationsOperations } from \"./conversations/index.js\";\nimport { _getBetaVoiceAgentsConversationsOperations } from \"./conversations/index.js\";\nimport type { BetaVoiceAgentsTelephonyOperations } from \"./telephony/index.js\";\nimport { _getBetaVoiceAgentsTelephonyOperations } from \"./telephony/index.js\";\nimport type {\n VoiceAgentRealtimeClient,\n VoiceAgentRealtimeClientOptions,\n} from \"../../../realtime/voiceAgentRealtimeClient.js\";\nimport { createVoiceAgentRealtimeClient } from \"../../../realtime/voiceAgentRealtimeClient.js\";\nimport type { ResolvedTracingConfig } from \"../../../tracing/configuration.js\";\n\n/** Operations for managing voice agent conversations and telephony. */\nexport interface BetaVoiceAgentsOperations {\n /** Operations for managing telephony bindings and calls. */\n telephony: BetaVoiceAgentsTelephonyOperations;\n /** Operations for reading persisted voice conversations and audio. */\n conversations: BetaVoiceAgentsConversationsOperations;\n /** Realtime voice-agent connections. */\n realtime: VoiceAgentRealtimeClient;\n}\n\nexport function _getBetaVoiceAgentsOperations(\n context: AIProjectContext,\n credential: TokenCredential,\n endpoint: string,\n realtimeOptions?: VoiceAgentRealtimeClientOptions,\n tracingConfig?: ResolvedTracingConfig,\n): BetaVoiceAgentsOperations {\n return {\n telephony: _getBetaVoiceAgentsTelephonyOperations(context, tracingConfig),\n conversations: _getBetaVoiceAgentsConversationsOperations(context, tracingConfig),\n // VoiceAgentRealtimeClient defers https-only endpoint validation to connect() (not its\n // constructor), so eagerly constructing it here doesn't reject callers who intentionally use an\n // insecure local endpoint for the REST surface and never touch realtime connections.\n realtime: createVoiceAgentRealtimeClient(endpoint, credential, realtimeOptions, tracingConfig),\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,2BAA2D;AAE3D,uBAAuD;AAKvD,sCAA+C;AAaxC,SAAS,8BACd,SACA,YACA,UACA,iBACA,eAC2B;AAC3B,SAAO;AAAA,IACL,eAAW,yDAAuC,SAAS,aAAa;AAAA,IACxE,mBAAe,iEAA2C,SAAS,aAAa;AAAA;AAAA;AAAA;AAAA,IAIhF,cAAU,gEAA+B,UAAU,YAAY,iBAAiB,aAAa;AAAA,EAC/F;AACF;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,7 @@ import type { AIProjectContext } from "../../../../api/aiProjectContext.js";
2
2
  import type { BetaVoiceAgentsTelephonyCancelCallJobOptionalParams, BetaVoiceAgentsTelephonyGetCallJobOptionalParams, BetaVoiceAgentsTelephonyCreateCallJobOptionalParams, BetaVoiceAgentsTelephonyCreateBindingOptionalParams, BetaVoiceAgentsTelephonyDeleteBindingOptionalParams, BetaVoiceAgentsTelephonyEndCallOptionalParams, BetaVoiceAgentsTelephonyGetBindingOptionalParams, BetaVoiceAgentsTelephonyGetCallOptionalParams, BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams, BetaVoiceAgentsTelephonyListBindingsOptionalParams, BetaVoiceAgentsTelephonyListCallsOptionalParams, BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams, BetaVoiceAgentsTelephonyTransferCallOptionalParams, BetaVoiceAgentsTelephonyUpdateBindingOptionalParams } from "../../../../api/beta/voiceAgents/telephony/options.js";
3
3
  import type { CreateTelephonyCallJobRequest, TelephonyCallJob, CreateTelephonyBindingRequestUnion, TelephonyBindingListItemUnion, TelephonyBindingUnion, TelephonyCallRecord, TelephonyCallSummary, TelephonyTransferTarget, TelephonyTransferTargets, UpdateTelephonyBindingRequest } from "../../../../models/models.js";
4
4
  import type { PagedAsyncIterableIterator } from "@azure/core-paging";
5
+ import type { ResolvedTracingConfig } from "../../../../tracing/configuration.js";
5
6
  /** Operations for managing voice agent telephony. */
6
7
  export interface BetaVoiceAgentsTelephonyOperations {
7
8
  /** Requests cancellation of a durable outbound call job. A connected call is allowed to finish. */
@@ -33,5 +34,5 @@ export interface BetaVoiceAgentsTelephonyOperations {
33
34
  /** Creates a telephony binding for the voice agent named in the path. */
34
35
  createBinding: (agentName: string, telephonyBinding: CreateTelephonyBindingRequestUnion, options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>;
35
36
  }
36
- export declare function _getBetaVoiceAgentsTelephonyOperations(context: AIProjectContext): BetaVoiceAgentsTelephonyOperations;
37
+ export declare function _getBetaVoiceAgentsTelephonyOperations(context: AIProjectContext, tracingConfig?: ResolvedTracingConfig): BetaVoiceAgentsTelephonyOperations;
37
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/classic/beta/voiceAgents/telephony/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAiB5E,OAAO,KAAK,EACV,mDAAmD,EACnD,gDAAgD,EAChD,mDAAmD,EACnD,mDAAmD,EACnD,mDAAmD,EACnD,6CAA6C,EAC7C,gDAAgD,EAChD,6CAA6C,EAC7C,wDAAwD,EACxD,kDAAkD,EAClD,+CAA+C,EAC/C,4DAA4D,EAC5D,kDAAkD,EAClD,mDAAmD,EACpD,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EACV,6BAA6B,EAC7B,gBAAgB,EAChB,kCAAkC,EAClC,6BAA6B,EAC7B,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,qDAAqD;AACrD,MAAM,WAAW,kCAAkC;IACjD,mGAAmG;IACnG,aAAa,EAAE,CACb,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,mDAAmD,KAC1D,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC/B,wEAAwE;IACxE,UAAU,EAAE,CACV,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACj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AAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,mDAAmD,KAC1D,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,8EAA8E;IAC9E,aAAa,EAAE,CACb,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,mDAAmD,KAC1D,OAAO,CAAC,qBAAqB,CAAC,CAAC;IACpC,gFAAgF;IAChF,UAAU,EAAE,CACV,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,gDAAgD,KACvD,OAAO,CAAC,qBAAqB,CAAC,CAAC;IACpC,iFAAiF;IACjF,YAAY,EAAE,CACZ,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,kDAAkD,KACzD,0BAA0B,CAAC,6BAA6B,CAAC,CAAC;IAC/D,yEAAyE;IACzE,aAAa,EAAE,CACb,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,kCAAkC,EACpD,OAAO,CAAC,EAAE,mDAAmD,KAC1D,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACrC;AAiFD,wBAAgB,sCAAsC,CACpD,OAAO,EAAE,gBAAgB,GACxB,kCAAkC,CAEpC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/classic/beta/voiceAgents/telephony/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAiB5E,OAAO,KAAK,EACV,mDAAmD,EACnD,gDAAgD,EAChD,mDAAmD,EACnD,mDAAmD,EACnD,mDAAmD,EACnD,6CAA6C,EAC7C,gDAAgD,EAChD,6CAA6C,EAC7C,wDAAwD,EACxD,kDAAkD,EAClD,+CAA+C,EAC/C,4DAA4D,EAC5D,kDAAkD,EAClD,mDAAmD,EACpD,MAAM,uDAAuD,CAAC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,EAAE,CACb,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,kCAAkC,EACpD,OAAO,CAAC,EAAE,mDAAmD,KAC1D,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACrC;AA2GD,wBAAgB,sCAAsC,CACpD,OAAO,EAAE,gBAAgB,EACzB,aAAa,CAAC,EAAE,qBAAqB,GACpC,kCAAkC,CAEpC"}
@@ -21,26 +21,48 @@ __export(telephony_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(telephony_exports);
23
23
  var import_operations = require("../../../../api/beta/voiceAgents/telephony/operations.js");
24
- function _getBetaVoiceAgentsTelephony(context) {
24
+ var import_voiceAgentTracing = require("../../../../tracing/voiceAgentTracing.js");
25
+ function _getBetaVoiceAgentsTelephony(context, tracingConfig) {
26
+ const run = (name, operation) => (0, import_voiceAgentTracing.traceVoiceAgentOperation)(
27
+ `voice_agents.telephony.${name}`,
28
+ context.endpoint,
29
+ tracingConfig,
30
+ operation
31
+ );
25
32
  return {
26
- cancelCallJob: (agentName, callJobId, ifMatch, options) => (0, import_operations.cancelCallJob)(context, agentName, callJobId, ifMatch, options),
33
+ cancelCallJob: (agentName, callJobId, ifMatch, options) => run("cancel_call_job", () => (0, import_operations.cancelCallJob)(context, agentName, callJobId, ifMatch, options)),
27
34
  getCallJob: (agentName, callJobId, options) => (0, import_operations.getCallJob)(context, agentName, callJobId, options),
28
- createCallJob: (agentName, idempotencyKey, body, options) => (0, import_operations.createCallJob)(context, agentName, idempotencyKey, body, options),
29
- replaceTransferTargets: (agentName, ifMatch, transferTargets, options) => (0, import_operations.replaceTransferTargets)(context, agentName, ifMatch, transferTargets, options),
35
+ createCallJob: (agentName, idempotencyKey, body, options) => (0, import_voiceAgentTracing.traceVoiceAgentOperation)(
36
+ "voice_agents.telephony.create_call_job",
37
+ context.endpoint,
38
+ tracingConfig,
39
+ () => (0, import_operations.createCallJob)(context, agentName, idempotencyKey, body, options),
40
+ (job) => ({
41
+ "az.ai.voice_agents.telephony.call_job.id": job.id,
42
+ "az.ai.voice_agents.call_job.status": job.status
43
+ })
44
+ ),
45
+ replaceTransferTargets: (agentName, ifMatch, transferTargets, options) => run(
46
+ "replace_transfer_targets",
47
+ () => (0, import_operations.replaceTransferTargets)(context, agentName, ifMatch, transferTargets, options)
48
+ ),
30
49
  getTransferTargets: (agentName, options) => (0, import_operations.getTransferTargets)(context, agentName, options),
31
- endCall: (agentName, callId, options) => (0, import_operations.endCall)(context, agentName, callId, options),
32
- transferCall: (agentName, callId, target, options) => (0, import_operations.transferCall)(context, agentName, callId, target, options),
50
+ endCall: (agentName, callId, options) => run("end_call", () => (0, import_operations.endCall)(context, agentName, callId, options)),
51
+ transferCall: (agentName, callId, target, options) => run("transfer_call", () => (0, import_operations.transferCall)(context, agentName, callId, target, options)),
33
52
  getCall: (agentName, callId, options) => (0, import_operations.getCall)(context, agentName, callId, options),
34
53
  listCalls: (agentName, options) => (0, import_operations.listCalls)(context, agentName, options),
35
- deleteBinding: (agentName, bindingId, ifMatch, options) => (0, import_operations.deleteBinding)(context, agentName, bindingId, ifMatch, options),
36
- updateBinding: (agentName, bindingId, ifMatch, body, options) => (0, import_operations.updateBinding)(context, agentName, bindingId, ifMatch, body, options),
54
+ deleteBinding: (agentName, bindingId, ifMatch, options) => run("delete_binding", () => (0, import_operations.deleteBinding)(context, agentName, bindingId, ifMatch, options)),
55
+ updateBinding: (agentName, bindingId, ifMatch, body, options) => run(
56
+ "update_binding",
57
+ () => (0, import_operations.updateBinding)(context, agentName, bindingId, ifMatch, body, options)
58
+ ),
37
59
  getBinding: (agentName, bindingId, options) => (0, import_operations.getBinding)(context, agentName, bindingId, options),
38
60
  listBindings: (agentName, options) => (0, import_operations.listBindings)(context, agentName, options),
39
- createBinding: (agentName, telephonyBinding, options) => (0, import_operations.createBinding)(context, agentName, telephonyBinding, options)
61
+ createBinding: (agentName, telephonyBinding, options) => run("create_binding", () => (0, import_operations.createBinding)(context, agentName, telephonyBinding, options))
40
62
  };
41
63
  }
42
- function _getBetaVoiceAgentsTelephonyOperations(context) {
43
- return { ..._getBetaVoiceAgentsTelephony(context) };
64
+ function _getBetaVoiceAgentsTelephonyOperations(context, tracingConfig) {
65
+ return { ..._getBetaVoiceAgentsTelephony(context, tracingConfig) };
44
66
  }
45
67
  // Annotate the CommonJS export names for ESM import in node:
46
68
  0 && (module.exports = {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/classic/beta/voiceAgents/telephony/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../../api/aiProjectContext.js\";\nimport {\n cancelCallJob,\n getCallJob,\n createCallJob,\n createBinding,\n deleteBinding,\n endCall,\n getBinding,\n getCall,\n getTransferTargets,\n listBindings,\n listCalls,\n replaceTransferTargets,\n transferCall,\n updateBinding,\n} from \"../../../../api/beta/voiceAgents/telephony/operations.js\";\nimport type {\n BetaVoiceAgentsTelephonyCancelCallJobOptionalParams,\n BetaVoiceAgentsTelephonyGetCallJobOptionalParams,\n BetaVoiceAgentsTelephonyCreateCallJobOptionalParams,\n BetaVoiceAgentsTelephonyCreateBindingOptionalParams,\n BetaVoiceAgentsTelephonyDeleteBindingOptionalParams,\n BetaVoiceAgentsTelephonyEndCallOptionalParams,\n BetaVoiceAgentsTelephonyGetBindingOptionalParams,\n BetaVoiceAgentsTelephonyGetCallOptionalParams,\n BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams,\n BetaVoiceAgentsTelephonyListBindingsOptionalParams,\n BetaVoiceAgentsTelephonyListCallsOptionalParams,\n BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams,\n BetaVoiceAgentsTelephonyTransferCallOptionalParams,\n BetaVoiceAgentsTelephonyUpdateBindingOptionalParams,\n} from \"../../../../api/beta/voiceAgents/telephony/options.js\";\nimport type {\n CreateTelephonyCallJobRequest,\n TelephonyCallJob,\n CreateTelephonyBindingRequestUnion,\n TelephonyBindingListItemUnion,\n TelephonyBindingUnion,\n TelephonyCallRecord,\n TelephonyCallSummary,\n TelephonyTransferTarget,\n TelephonyTransferTargets,\n UpdateTelephonyBindingRequest,\n} from \"../../../../models/models.js\";\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Operations for managing voice agent telephony. */\nexport interface BetaVoiceAgentsTelephonyOperations {\n /** Requests cancellation of a durable outbound call job. A connected call is allowed to finish. */\n cancelCallJob: (\n agentName: string,\n callJobId: string,\n ifMatch: string,\n options?: BetaVoiceAgentsTelephonyCancelCallJobOptionalParams,\n ) => Promise<TelephonyCallJob>;\n /** Retrieves a durable direct or campaign-created outbound call job. */\n getCallJob: (\n agentName: string,\n callJobId: string,\n options?: BetaVoiceAgentsTelephonyGetCallJobOptionalParams,\n ) => Promise<TelephonyCallJob>;\n /** Creates one durable direct outbound call job. The latest agent definition is resolved when each attempt executes. */\n createCallJob: (\n agentName: string,\n idempotencyKey: string,\n body: CreateTelephonyCallJobRequest,\n options?: BetaVoiceAgentsTelephonyCreateCallJobOptionalParams,\n ) => Promise<TelephonyCallJob>;\n /** Replaces all transfer targets configured for the voice agent named in the path. */\n replaceTransferTargets: (\n agentName: string,\n ifMatch: string,\n transferTargets: TelephonyTransferTarget[],\n options?: BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams,\n ) => Promise<TelephonyTransferTargets>;\n /** Returns all transfer targets configured for the voice agent named in the path. */\n getTransferTargets: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams,\n ) => Promise<TelephonyTransferTargets>;\n /** Ends an active inbound call owned by the voice agent named in the path. */\n endCall: (\n agentName: string,\n callId: string,\n options?: BetaVoiceAgentsTelephonyEndCallOptionalParams,\n ) => Promise<TelephonyCallRecord>;\n /** Transfers an active inbound call to a configured target for the voice agent named in the path. */\n transferCall: (\n agentName: string,\n callId: string,\n target: string,\n options?: BetaVoiceAgentsTelephonyTransferCallOptionalParams,\n ) => Promise<TelephonyCallRecord>;\n /** Retrieves a durable inbound call record owned by the voice agent named in the path. */\n getCall: (\n agentName: string,\n callId: string,\n options?: BetaVoiceAgentsTelephonyGetCallOptionalParams,\n ) => Promise<TelephonyCallRecord>;\n /** Returns the durable inbound call history for the voice agent named in the path. */\n listCalls: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyListCallsOptionalParams,\n ) => PagedAsyncIterableIterator<TelephonyCallSummary>;\n /** Deletes a telephony binding owned by the voice agent named in the path. */\n deleteBinding: (\n agentName: string,\n bindingId: string,\n ifMatch: string,\n options?: BetaVoiceAgentsTelephonyDeleteBindingOptionalParams,\n ) => Promise<void>;\n /** Updates a telephony binding owned by the voice agent named in the path. */\n updateBinding: (\n agentName: string,\n bindingId: string,\n ifMatch: string,\n body: UpdateTelephonyBindingRequest,\n options?: BetaVoiceAgentsTelephonyUpdateBindingOptionalParams,\n ) => Promise<TelephonyBindingUnion>;\n /** Retrieves a telephony binding owned by the voice agent named in the path. */\n getBinding: (\n agentName: string,\n bindingId: string,\n options?: BetaVoiceAgentsTelephonyGetBindingOptionalParams,\n ) => Promise<TelephonyBindingUnion>;\n /** Returns the telephony bindings owned by the voice agent named in the path. */\n listBindings: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyListBindingsOptionalParams,\n ) => PagedAsyncIterableIterator<TelephonyBindingListItemUnion>;\n /** Creates a telephony binding for the voice agent named in the path. */\n createBinding: (\n agentName: string,\n telephonyBinding: CreateTelephonyBindingRequestUnion,\n options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams,\n ) => Promise<TelephonyBindingUnion>;\n}\n\nfunction _getBetaVoiceAgentsTelephony(\n context: AIProjectContext,\n): BetaVoiceAgentsTelephonyOperations {\n return {\n cancelCallJob: (\n agentName: string,\n callJobId: string,\n ifMatch: string,\n options?: BetaVoiceAgentsTelephonyCancelCallJobOptionalParams,\n ) => cancelCallJob(context, agentName, callJobId, ifMatch, options),\n getCallJob: (\n agentName: string,\n callJobId: string,\n options?: BetaVoiceAgentsTelephonyGetCallJobOptionalParams,\n ) => getCallJob(context, agentName, callJobId, options),\n createCallJob: (\n agentName: string,\n idempotencyKey: string,\n body: CreateTelephonyCallJobRequest,\n options?: BetaVoiceAgentsTelephonyCreateCallJobOptionalParams,\n ) => createCallJob(context, agentName, idempotencyKey, body, options),\n replaceTransferTargets: (\n agentName: string,\n ifMatch: string,\n transferTargets: TelephonyTransferTarget[],\n options?: BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams,\n ) => replaceTransferTargets(context, agentName, ifMatch, transferTargets, options),\n getTransferTargets: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams,\n ) => getTransferTargets(context, agentName, options),\n endCall: (\n agentName: string,\n callId: string,\n options?: BetaVoiceAgentsTelephonyEndCallOptionalParams,\n ) => endCall(context, agentName, callId, options),\n transferCall: (\n agentName: string,\n callId: string,\n target: string,\n options?: BetaVoiceAgentsTelephonyTransferCallOptionalParams,\n ) => transferCall(context, agentName, callId, target, options),\n getCall: (\n agentName: string,\n callId: string,\n options?: BetaVoiceAgentsTelephonyGetCallOptionalParams,\n ) => getCall(context, agentName, callId, options),\n listCalls: (agentName: string, options?: BetaVoiceAgentsTelephonyListCallsOptionalParams) =>\n listCalls(context, agentName, options),\n deleteBinding: (\n agentName: string,\n bindingId: string,\n ifMatch: string,\n options?: BetaVoiceAgentsTelephonyDeleteBindingOptionalParams,\n ) => deleteBinding(context, agentName, bindingId, ifMatch, options),\n updateBinding: (\n agentName: string,\n bindingId: string,\n ifMatch: string,\n body: UpdateTelephonyBindingRequest,\n options?: BetaVoiceAgentsTelephonyUpdateBindingOptionalParams,\n ) => updateBinding(context, agentName, bindingId, ifMatch, body, options),\n getBinding: (\n agentName: string,\n bindingId: string,\n options?: BetaVoiceAgentsTelephonyGetBindingOptionalParams,\n ) => getBinding(context, agentName, bindingId, options),\n listBindings: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyListBindingsOptionalParams,\n ) => listBindings(context, agentName, options),\n createBinding: (\n agentName: string,\n telephonyBinding: CreateTelephonyBindingRequestUnion,\n options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams,\n ) => createBinding(context, agentName, telephonyBinding, options),\n };\n}\n\nexport function _getBetaVoiceAgentsTelephonyOperations(\n context: AIProjectContext,\n): BetaVoiceAgentsTelephonyOperations {\n return { ..._getBetaVoiceAgentsTelephony(context) };\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAeO;AA4HP,SAAS,6BACP,SACoC;AACpC,SAAO;AAAA,IACL,eAAe,CACb,WACA,WACA,SACA,gBACG,iCAAc,SAAS,WAAW,WAAW,SAAS,OAAO;AAAA,IAClE,YAAY,CACV,WACA,WACA,gBACG,8BAAW,SAAS,WAAW,WAAW,OAAO;AAAA,IACtD,eAAe,CACb,WACA,gBACA,MACA,gBACG,iCAAc,SAAS,WAAW,gBAAgB,MAAM,OAAO;AAAA,IACpE,wBAAwB,CACtB,WACA,SACA,iBACA,gBACG,0CAAuB,SAAS,WAAW,SAAS,iBAAiB,OAAO;AAAA,IACjF,oBAAoB,CAClB,WACA,gBACG,sCAAmB,SAAS,WAAW,OAAO;AAAA,IACnD,SAAS,CACP,WACA,QACA,gBACG,2BAAQ,SAAS,WAAW,QAAQ,OAAO;AAAA,IAChD,cAAc,CACZ,WACA,QACA,QACA,gBACG,gCAAa,SAAS,WAAW,QAAQ,QAAQ,OAAO;AAAA,IAC7D,SAAS,CACP,WACA,QACA,gBACG,2BAAQ,SAAS,WAAW,QAAQ,OAAO;AAAA,IAChD,WAAW,CAAC,WAAmB,gBAC7B,6BAAU,SAAS,WAAW,OAAO;AAAA,IACvC,eAAe,CACb,WACA,WACA,SACA,gBACG,iCAAc,SAAS,WAAW,WAAW,SAAS,OAAO;AAAA,IAClE,eAAe,CACb,WACA,WACA,SACA,MACA,gBACG,iCAAc,SAAS,WAAW,WAAW,SAAS,MAAM,OAAO;AAAA,IACxE,YAAY,CACV,WACA,WACA,gBACG,8BAAW,SAAS,WAAW,WAAW,OAAO;AAAA,IACtD,cAAc,CACZ,WACA,gBACG,gCAAa,SAAS,WAAW,OAAO;AAAA,IAC7C,eAAe,CACb,WACA,kBACA,gBACG,iCAAc,SAAS,WAAW,kBAAkB,OAAO;AAAA,EAClE;AACF;AAEO,SAAS,uCACd,SACoC;AACpC,SAAO,EAAE,GAAG,6BAA6B,OAAO,EAAE;AACpD;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../../api/aiProjectContext.js\";\nimport {\n cancelCallJob,\n getCallJob,\n createCallJob,\n createBinding,\n deleteBinding,\n endCall,\n getBinding,\n getCall,\n getTransferTargets,\n listBindings,\n listCalls,\n replaceTransferTargets,\n transferCall,\n updateBinding,\n} from \"../../../../api/beta/voiceAgents/telephony/operations.js\";\nimport type {\n BetaVoiceAgentsTelephonyCancelCallJobOptionalParams,\n BetaVoiceAgentsTelephonyGetCallJobOptionalParams,\n BetaVoiceAgentsTelephonyCreateCallJobOptionalParams,\n BetaVoiceAgentsTelephonyCreateBindingOptionalParams,\n BetaVoiceAgentsTelephonyDeleteBindingOptionalParams,\n BetaVoiceAgentsTelephonyEndCallOptionalParams,\n BetaVoiceAgentsTelephonyGetBindingOptionalParams,\n BetaVoiceAgentsTelephonyGetCallOptionalParams,\n BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams,\n BetaVoiceAgentsTelephonyListBindingsOptionalParams,\n BetaVoiceAgentsTelephonyListCallsOptionalParams,\n BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams,\n BetaVoiceAgentsTelephonyTransferCallOptionalParams,\n BetaVoiceAgentsTelephonyUpdateBindingOptionalParams,\n} from \"../../../../api/beta/voiceAgents/telephony/options.js\";\nimport type {\n CreateTelephonyCallJobRequest,\n TelephonyCallJob,\n CreateTelephonyBindingRequestUnion,\n TelephonyBindingListItemUnion,\n TelephonyBindingUnion,\n TelephonyCallRecord,\n TelephonyCallSummary,\n TelephonyTransferTarget,\n TelephonyTransferTargets,\n UpdateTelephonyBindingRequest,\n} from \"../../../../models/models.js\";\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { ResolvedTracingConfig } from \"../../../../tracing/configuration.js\";\nimport { traceVoiceAgentOperation } from \"../../../../tracing/voiceAgentTracing.js\";\n\n/** Operations for managing voice agent telephony. */\nexport interface BetaVoiceAgentsTelephonyOperations {\n /** Requests cancellation of a durable outbound call job. A connected call is allowed to finish. */\n cancelCallJob: (\n agentName: string,\n callJobId: string,\n ifMatch: string,\n options?: BetaVoiceAgentsTelephonyCancelCallJobOptionalParams,\n ) => Promise<TelephonyCallJob>;\n /** Retrieves a durable direct or campaign-created outbound call job. */\n getCallJob: (\n agentName: string,\n callJobId: string,\n options?: BetaVoiceAgentsTelephonyGetCallJobOptionalParams,\n ) => Promise<TelephonyCallJob>;\n /** Creates one durable direct outbound call job. The latest agent definition is resolved when each attempt executes. */\n createCallJob: (\n agentName: string,\n idempotencyKey: string,\n body: CreateTelephonyCallJobRequest,\n options?: BetaVoiceAgentsTelephonyCreateCallJobOptionalParams,\n ) => Promise<TelephonyCallJob>;\n /** Replaces all transfer targets configured for the voice agent named in the path. */\n replaceTransferTargets: (\n agentName: string,\n ifMatch: string,\n transferTargets: TelephonyTransferTarget[],\n options?: BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams,\n ) => Promise<TelephonyTransferTargets>;\n /** Returns all transfer targets configured for the voice agent named in the path. */\n getTransferTargets: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams,\n ) => Promise<TelephonyTransferTargets>;\n /** Ends an active inbound call owned by the voice agent named in the path. */\n endCall: (\n agentName: string,\n callId: string,\n options?: BetaVoiceAgentsTelephonyEndCallOptionalParams,\n ) => Promise<TelephonyCallRecord>;\n /** Transfers an active inbound call to a configured target for the voice agent named in the path. */\n transferCall: (\n agentName: string,\n callId: string,\n target: string,\n options?: BetaVoiceAgentsTelephonyTransferCallOptionalParams,\n ) => Promise<TelephonyCallRecord>;\n /** Retrieves a durable inbound call record owned by the voice agent named in the path. */\n getCall: (\n agentName: string,\n callId: string,\n options?: BetaVoiceAgentsTelephonyGetCallOptionalParams,\n ) => Promise<TelephonyCallRecord>;\n /** Returns the durable inbound call history for the voice agent named in the path. */\n listCalls: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyListCallsOptionalParams,\n ) => PagedAsyncIterableIterator<TelephonyCallSummary>;\n /** Deletes a telephony binding owned by the voice agent named in the path. */\n deleteBinding: (\n agentName: string,\n bindingId: string,\n ifMatch: string,\n options?: BetaVoiceAgentsTelephonyDeleteBindingOptionalParams,\n ) => Promise<void>;\n /** Updates a telephony binding owned by the voice agent named in the path. */\n updateBinding: (\n agentName: string,\n bindingId: string,\n ifMatch: string,\n body: UpdateTelephonyBindingRequest,\n options?: BetaVoiceAgentsTelephonyUpdateBindingOptionalParams,\n ) => Promise<TelephonyBindingUnion>;\n /** Retrieves a telephony binding owned by the voice agent named in the path. */\n getBinding: (\n agentName: string,\n bindingId: string,\n options?: BetaVoiceAgentsTelephonyGetBindingOptionalParams,\n ) => Promise<TelephonyBindingUnion>;\n /** Returns the telephony bindings owned by the voice agent named in the path. */\n listBindings: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyListBindingsOptionalParams,\n ) => PagedAsyncIterableIterator<TelephonyBindingListItemUnion>;\n /** Creates a telephony binding for the voice agent named in the path. */\n createBinding: (\n agentName: string,\n telephonyBinding: CreateTelephonyBindingRequestUnion,\n options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams,\n ) => Promise<TelephonyBindingUnion>;\n}\n\nfunction _getBetaVoiceAgentsTelephony(\n context: AIProjectContext,\n tracingConfig?: ResolvedTracingConfig,\n): BetaVoiceAgentsTelephonyOperations {\n const run = <T>(name: string, operation: () => Promise<T>): Promise<T> =>\n traceVoiceAgentOperation(\n `voice_agents.telephony.${name}`,\n context.endpoint,\n tracingConfig,\n operation,\n );\n return {\n cancelCallJob: (\n agentName: string,\n callJobId: string,\n ifMatch: string,\n options?: BetaVoiceAgentsTelephonyCancelCallJobOptionalParams,\n ) =>\n run(\"cancel_call_job\", () => cancelCallJob(context, agentName, callJobId, ifMatch, options)),\n getCallJob: (\n agentName: string,\n callJobId: string,\n options?: BetaVoiceAgentsTelephonyGetCallJobOptionalParams,\n ) => getCallJob(context, agentName, callJobId, options),\n createCallJob: (\n agentName: string,\n idempotencyKey: string,\n body: CreateTelephonyCallJobRequest,\n options?: BetaVoiceAgentsTelephonyCreateCallJobOptionalParams,\n ) =>\n traceVoiceAgentOperation(\n \"voice_agents.telephony.create_call_job\",\n context.endpoint,\n tracingConfig,\n () => createCallJob(context, agentName, idempotencyKey, body, options),\n (job) => ({\n \"az.ai.voice_agents.telephony.call_job.id\": job.id,\n \"az.ai.voice_agents.call_job.status\": job.status,\n }),\n ),\n replaceTransferTargets: (\n agentName: string,\n ifMatch: string,\n transferTargets: TelephonyTransferTarget[],\n options?: BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams,\n ) =>\n run(\"replace_transfer_targets\", () =>\n replaceTransferTargets(context, agentName, ifMatch, transferTargets, options),\n ),\n getTransferTargets: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams,\n ) => getTransferTargets(context, agentName, options),\n endCall: (\n agentName: string,\n callId: string,\n options?: BetaVoiceAgentsTelephonyEndCallOptionalParams,\n ) => run(\"end_call\", () => endCall(context, agentName, callId, options)),\n transferCall: (\n agentName: string,\n callId: string,\n target: string,\n options?: BetaVoiceAgentsTelephonyTransferCallOptionalParams,\n ) => run(\"transfer_call\", () => transferCall(context, agentName, callId, target, options)),\n getCall: (\n agentName: string,\n callId: string,\n options?: BetaVoiceAgentsTelephonyGetCallOptionalParams,\n ) => getCall(context, agentName, callId, options),\n listCalls: (agentName: string, options?: BetaVoiceAgentsTelephonyListCallsOptionalParams) =>\n listCalls(context, agentName, options),\n deleteBinding: (\n agentName: string,\n bindingId: string,\n ifMatch: string,\n options?: BetaVoiceAgentsTelephonyDeleteBindingOptionalParams,\n ) =>\n run(\"delete_binding\", () => deleteBinding(context, agentName, bindingId, ifMatch, options)),\n updateBinding: (\n agentName: string,\n bindingId: string,\n ifMatch: string,\n body: UpdateTelephonyBindingRequest,\n options?: BetaVoiceAgentsTelephonyUpdateBindingOptionalParams,\n ) =>\n run(\"update_binding\", () =>\n updateBinding(context, agentName, bindingId, ifMatch, body, options),\n ),\n getBinding: (\n agentName: string,\n bindingId: string,\n options?: BetaVoiceAgentsTelephonyGetBindingOptionalParams,\n ) => getBinding(context, agentName, bindingId, options),\n listBindings: (\n agentName: string,\n options?: BetaVoiceAgentsTelephonyListBindingsOptionalParams,\n ) => listBindings(context, agentName, options),\n createBinding: (\n agentName: string,\n telephonyBinding: CreateTelephonyBindingRequestUnion,\n options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams,\n ) => run(\"create_binding\", () => createBinding(context, agentName, telephonyBinding, options)),\n };\n}\n\nexport function _getBetaVoiceAgentsTelephonyOperations(\n context: AIProjectContext,\n tracingConfig?: ResolvedTracingConfig,\n): BetaVoiceAgentsTelephonyOperations {\n return { ..._getBetaVoiceAgentsTelephony(context, tracingConfig) };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAeO;AAgCP,+BAAyC;AA8FzC,SAAS,6BACP,SACA,eACoC;AACpC,QAAM,MAAM,CAAI,MAAc,kBAC5B;AAAA,IACE,0BAA0B,IAAI;AAAA,IAC9B,QAAQ;AAAA,IACR;AAAA,IACA;AAAA,EACF;AACF,SAAO;AAAA,IACL,eAAe,CACb,WACA,WACA,SACA,YAEA,IAAI,mBAAmB,UAAM,iCAAc,SAAS,WAAW,WAAW,SAAS,OAAO,CAAC;AAAA,IAC7F,YAAY,CACV,WACA,WACA,gBACG,8BAA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UAAM,iCAAc,SAAS,WAAW,kBAAkB,OAAO,CAAC;AAAA,EAC/F;AACF;AAEO,SAAS,uCACd,SACA,eACoC;AACpC,SAAO,EAAE,GAAG,6BAA6B,SAAS,aAAa,EAAE;AACnE;",
6
6
  "names": []
7
7
  }
@@ -1,10 +1,21 @@
1
1
  import type { AIProjectClientOptionalParams, AIProjectContext } from "../../api/aiProjectContext.js";
2
- import type { DatasetsGetCredentialsOptionalParams, DatasetsPendingUploadOptionalParams, DatasetsCreateOrUpdateOptionalParams, DatasetsDeleteOptionalParams, DatasetsGetOptionalParams, DatasetsListOptionalParams, DatasetsListVersionsOptionalParams } from "../../api/datasets/options.js";
3
- import type { DatasetVersionUnion, PendingUploadRequest, PendingUploadResponse, DatasetCredential } from "../../models/models.js";
2
+ import type { DatasetsGetCredentialsOptionalParams, DatasetsPendingUploadOptionalParams, DatasetsCreateOrUpdateOptionalParams, DatasetsDeleteOptionalParams, DatasetsGetOptionalParams, DatasetsListOptionalParams, DatasetsListVersionsOptionalParams, DatasetsDeleteGenerationJobOptionalParams, DatasetsCancelGenerationJobOptionalParams, DatasetsCreateGenerationJobOptionalParams, DatasetsListGenerationJobsOptionalParams, DatasetsGetGenerationJobOptionalParams } from "../../api/datasets/options.js";
3
+ import type { DatasetVersionUnion, PendingUploadRequest, PendingUploadResponse, DatasetCredential, DataGenerationJobUnion, DataGenerationJobResult, DataGenerationJobInputsUnion } from "../../models/models.js";
4
4
  import type { DatasetUploadOptions } from "../../api/index.js";
5
5
  import type { PagedAsyncIterableIterator } from "@azure/core-paging";
6
+ import type { JobPoller } from "../../static-helpers/pollingHelpers.js";
6
7
  /** Interface representing a Datasets operations. */
7
8
  export interface DatasetsOperations {
9
+ /** Removes the specified data generation job and its associated output. */
10
+ deleteGenerationJob: (jobId: string, options?: DatasetsDeleteGenerationJobOptionalParams) => Promise<void>;
11
+ /** Cancels the specified data generation job if it is still in progress. */
12
+ cancelGenerationJob: (jobId: string, options?: DatasetsCancelGenerationJobOptionalParams) => Promise<DataGenerationJobUnion>;
13
+ /** Submits a new data generation job for asynchronous execution. */
14
+ createGenerationJob: (job: DataGenerationJobInputsUnion, options?: DatasetsCreateGenerationJobOptionalParams) => JobPoller<DataGenerationJobResult>;
15
+ /** Returns a list of data generation jobs. */
16
+ listGenerationJobs: (options?: DatasetsListGenerationJobsOptionalParams) => PagedAsyncIterableIterator<DataGenerationJobUnion>;
17
+ /** Retrieves the specified data generation job and its current status. */
18
+ getGenerationJob: (jobId: string, options?: DatasetsGetGenerationJobOptionalParams) => Promise<DataGenerationJobUnion>;
8
19
  /** Get the SAS credential to access the storage account associated with a Dataset version. */
9
20
  getCredentials: (name: string, version: string, options?: DatasetsGetCredentialsOptionalParams) => Promise<DatasetCredential>;
10
21
  /** Start a new or get an existing pending upload of a dataset for a specific version. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/datasets/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,6BAA6B,EAC7B,gBAAgB,EACjB,MAAM,+BAA+B,CAAC;AAWvC,OAAO,KAAK,EACV,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,kCAAkC,EACnC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,oDAAoD;AACpD,MAAM,WAAW,kBAAkB;IACjC,8FAA8F;IAC9F,cAAc,EAAE,CACd,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,oCAAoC,KAC3C,OAAO,CAAC,iBAAiB,CAAC,CAAC;IA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C,CAAC;CACnC;AA0CD,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,gBAAgB,EACzB,cAAc,GAAE,6BAAkC,GACjD,kBAAkB,CAIpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/datasets/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,6BAA6B,EAC7B,gBAAgB,EACjB,MAAM,+BAA+B,CAAC;AAgBvC,OAAO,KAAK,EACV,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,kCAAkC,EAClC,yCAAyC,EACzC,yCAAyC,EACzC,yCAAyC,EACzC,wCAAwC,EACxC,sCAAsC,EACvC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAExE,oDAAoD;AACpD,MAAM,WAAW,kBAAkB;IACjC,2EAA2E;IAC3E,mBAAmB,EAAE,CACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,yCAAyC,KAChD,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,4EAA4E;IAC5E,mBAAmB,EAAE,CACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,yCAAyC,KAChD,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACrC,oEAAoE;IACpE,mBAAmB,EAAE,CACnB,GAAG,EAAE,4BAA4B,EACjC,OAAO,CAAC,EAAE,yCAAyC,KAChD,SAAS,CAAC,uBAAuB,CAAC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AAC,EAAE,kCAAkC,KACzC,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;IACrD,sEAAsE;IACtE,UAAU,EAAE,CACV,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,oBAAoB,KAC3B,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAClC,wEAAwE;IACxE,YAAY,EAAE,CACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,oBAAoB,KAC3B,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACnC;AAsDD,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,gBAAgB,EACzB,cAAc,GAAE,6BAAkC,GACjD,kBAAkB,CAIpB"}
@@ -24,6 +24,11 @@ var import_operations = require("../../api/datasets/operations.js");
24
24
  var import_uploads = require("../../api/datasets/uploads.js");
25
25
  function _getDatasets(context, projectOptions = {}) {
26
26
  return {
27
+ deleteGenerationJob: (jobId, options) => (0, import_operations.deleteGenerationJob)(context, jobId, options),
28
+ cancelGenerationJob: (jobId, options) => (0, import_operations.cancelGenerationJob)(context, jobId, options),
29
+ createGenerationJob: (job, options) => (0, import_operations.createGenerationJob)(context, job, options),
30
+ listGenerationJobs: (options) => (0, import_operations.listGenerationJobs)(context, options),
31
+ getGenerationJob: (jobId, options) => (0, import_operations.getGenerationJob)(context, jobId, options),
27
32
  getCredentials: (name, version, options) => (0, import_operations.getCredentials)(context, name, version, options),
28
33
  pendingUpload: (name, version, pendingUploadRequest, options) => (0, import_operations.pendingUpload)(context, name, version, pendingUploadRequest, options),
29
34
  createOrUpdate: (name, version, datasetVersion, options) => (0, import_operations.createOrUpdate)(context, name, version, datasetVersion, options),
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/classic/datasets/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n AIProjectClientOptionalParams,\n AIProjectContext,\n} from \"../../api/aiProjectContext.js\";\nimport {\n getCredentials,\n pendingUpload,\n createOrUpdate,\n $delete,\n get,\n list,\n listVersions,\n} from \"../../api/datasets/operations.js\";\nimport { uploadFile, uploadFolder } from \"#platform/api/datasets/uploads\";\nimport type {\n DatasetsGetCredentialsOptionalParams,\n DatasetsPendingUploadOptionalParams,\n DatasetsCreateOrUpdateOptionalParams,\n DatasetsDeleteOptionalParams,\n DatasetsGetOptionalParams,\n DatasetsListOptionalParams,\n DatasetsListVersionsOptionalParams,\n} from \"../../api/datasets/options.js\";\nimport type {\n DatasetVersionUnion,\n PendingUploadRequest,\n PendingUploadResponse,\n DatasetCredential,\n} from \"../../models/models.js\";\nimport type { DatasetUploadOptions } from \"../../api/index.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a Datasets operations. */\nexport interface DatasetsOperations {\n /** Get the SAS credential to access the storage account associated with a Dataset version. */\n getCredentials: (\n name: string,\n version: string,\n options?: DatasetsGetCredentialsOptionalParams,\n ) => Promise<DatasetCredential>;\n /** Start a new or get an existing pending upload of a dataset for a specific version. */\n pendingUpload: (\n name: string,\n version: string,\n pendingUploadRequest: PendingUploadRequest,\n options?: DatasetsPendingUploadOptionalParams,\n ) => Promise<PendingUploadResponse>;\n /** Create a new or update an existing DatasetVersion with the given version id */\n createOrUpdate: (\n name: string,\n version: string,\n datasetVersion: DatasetVersionUnion,\n options?: DatasetsCreateOrUpdateOptionalParams,\n ) => Promise<DatasetVersionUnion>;\n /** Delete the specific version of the DatasetVersion. The service returns 204 No Content if the DatasetVersion was deleted successfully or if the DatasetVersion does not exist. */\n delete: (name: string, version: string, options?: DatasetsDeleteOptionalParams) => Promise<void>;\n /** Get the specific version of the DatasetVersion. The service returns 404 Not Found error if the DatasetVersion does not exist. */\n get: (\n name: string,\n version: string,\n options?: DatasetsGetOptionalParams,\n ) => Promise<DatasetVersionUnion>;\n /** List the latest version of each DatasetVersion */\n list: (options?: DatasetsListOptionalParams) => PagedAsyncIterableIterator<DatasetVersionUnion>;\n /** List all versions of the given DatasetVersion */\n listVersions: (\n name: string,\n options?: DatasetsListVersionsOptionalParams,\n ) => PagedAsyncIterableIterator<DatasetVersionUnion>;\n /** Upload a file to the DatasetVersion. Only supported in Node.js. */\n uploadFile: (\n name: string,\n version: string,\n filePath: string,\n options?: DatasetUploadOptions,\n ) => Promise<DatasetVersionUnion>;\n /** Upload a folder to the DatasetVersion. Only supported in Node.js. */\n uploadFolder: (\n name: string,\n version: string,\n folderPath: string,\n options?: DatasetUploadOptions,\n ) => Promise<DatasetVersionUnion>;\n}\n\nfunction _getDatasets(\n context: AIProjectContext,\n projectOptions: AIProjectClientOptionalParams = {},\n) {\n return {\n getCredentials: (\n name: string,\n version: string,\n options?: DatasetsGetCredentialsOptionalParams,\n ) => getCredentials(context, name, version, options),\n pendingUpload: (\n name: string,\n version: string,\n pendingUploadRequest: PendingUploadRequest,\n options?: DatasetsPendingUploadOptionalParams,\n ) => pendingUpload(context, name, version, pendingUploadRequest, options),\n createOrUpdate: (\n name: string,\n version: string,\n datasetVersion: DatasetVersionUnion,\n options?: DatasetsCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, name, version, datasetVersion, options),\n delete: (name: string, version: string, options?: DatasetsDeleteOptionalParams) =>\n $delete(context, name, version, options),\n get: (name: string, version: string, options?: DatasetsGetOptionalParams) =>\n get(context, name, version, options),\n list: (options?: DatasetsListOptionalParams) => list(context, options),\n listVersions: (name: string, options?: DatasetsListVersionsOptionalParams) =>\n listVersions(context, name, options),\n uploadFile: (name: string, version: string, filePath: string, options?: DatasetUploadOptions) =>\n uploadFile(context, name, version, filePath, { ...options, projectOptions }),\n uploadFolder: (\n name: string,\n version: string,\n folderPath: string,\n options?: DatasetUploadOptions,\n ) => uploadFolder(context, name, version, folderPath, { ...options, projectOptions }),\n };\n}\n\nexport function _getDatasetsOperations(\n context: AIProjectContext,\n projectOptions: AIProjectClientOptionalParams = {},\n): DatasetsOperations {\n return {\n ..._getDatasets(context, projectOptions),\n };\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,wBAQO;AACP,qBAAyC;AAwEzC,SAAS,aACP,SACA,iBAAgD,CAAC,GACjD;AACA,SAAO;AAAA,IACL,gBAAgB,CACd,MACA,SACA,gBACG,kCAAe,SAAS,MAAM,SAAS,OAAO;AAAA,IACnD,eAAe,CACb,MACA,SACA,sBACA,gBACG,iCAAc,SAAS,MAAM,SAAS,sBAAsB,OAAO;AAAA,IACxE,gBAAgB,CACd,MACA,SACA,gBACA,gBACG,kCAAe,SAAS,MAAM,SAAS,gBAAgB,OAAO;AAAA,IACnE,QAAQ,CAAC,MAAc,SAAiB,gBACtC,2BAAQ,SAAS,MAAM,SAAS,OAAO;AAAA,IACzC,KAAK,CAAC,MAAc,SAAiB,gBACnC,uBAAI,SAAS,MAAM,SAAS,OAAO;AAAA,IACrC,MAAM,CAAC,gBAAyC,wBAAK,SAAS,OAAO;AAAA,IACrE,cAAc,CAAC,MAAc,gBAC3B,gCAAa,SAAS,MAAM,OAAO;AAAA,IACrC,YAAY,CAAC,MAAc,SAAiB,UAAkB,gBAC5D,2BAAW,SAAS,MAAM,SAAS,UAAU,EAAE,GAAG,SAAS,eAAe,CAAC;AAAA,IAC7E,cAAc,CACZ,MACA,SACA,YACA,gBACG,6BAAa,SAAS,MAAM,SAAS,YAAY,EAAE,GAAG,SAAS,eAAe,CAAC;AAAA,EACtF;AACF;AAEO,SAAS,uBACd,SACA,iBAAgD,CAAC,GAC7B;AACpB,SAAO;AAAA,IACL,GAAG,aAAa,SAAS,cAAc;AAAA,EACzC;AACF;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n AIProjectClientOptionalParams,\n AIProjectContext,\n} from \"../../api/aiProjectContext.js\";\nimport {\n getCredentials,\n pendingUpload,\n createOrUpdate,\n $delete,\n get,\n list,\n listVersions,\n deleteGenerationJob,\n cancelGenerationJob,\n createGenerationJob,\n listGenerationJobs,\n getGenerationJob,\n} from \"../../api/datasets/operations.js\";\nimport { uploadFile, uploadFolder } from \"#platform/api/datasets/uploads\";\nimport type {\n DatasetsGetCredentialsOptionalParams,\n DatasetsPendingUploadOptionalParams,\n DatasetsCreateOrUpdateOptionalParams,\n DatasetsDeleteOptionalParams,\n DatasetsGetOptionalParams,\n DatasetsListOptionalParams,\n DatasetsListVersionsOptionalParams,\n DatasetsDeleteGenerationJobOptionalParams,\n DatasetsCancelGenerationJobOptionalParams,\n DatasetsCreateGenerationJobOptionalParams,\n DatasetsListGenerationJobsOptionalParams,\n DatasetsGetGenerationJobOptionalParams,\n} from \"../../api/datasets/options.js\";\nimport type {\n DatasetVersionUnion,\n PendingUploadRequest,\n PendingUploadResponse,\n DatasetCredential,\n DataGenerationJobUnion,\n DataGenerationJobResult,\n DataGenerationJobInputsUnion,\n} from \"../../models/models.js\";\nimport type { DatasetUploadOptions } from \"../../api/index.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { JobPoller } from \"../../static-helpers/pollingHelpers.js\";\n\n/** Interface representing a Datasets operations. */\nexport interface DatasetsOperations {\n /** Removes the specified data generation job and its associated output. */\n deleteGenerationJob: (\n jobId: string,\n options?: DatasetsDeleteGenerationJobOptionalParams,\n ) => Promise<void>;\n /** Cancels the specified data generation job if it is still in progress. */\n cancelGenerationJob: (\n jobId: string,\n options?: DatasetsCancelGenerationJobOptionalParams,\n ) => Promise<DataGenerationJobUnion>;\n /** Submits a new data generation job for asynchronous execution. */\n createGenerationJob: (\n job: DataGenerationJobInputsUnion,\n options?: DatasetsCreateGenerationJobOptionalParams,\n ) => JobPoller<DataGenerationJobResult>;\n /** Returns a list of data generation jobs. */\n listGenerationJobs: (\n options?: DatasetsListGenerationJobsOptionalParams,\n ) => PagedAsyncIterableIterator<DataGenerationJobUnion>;\n /** Retrieves the specified data generation job and its current status. */\n getGenerationJob: (\n jobId: string,\n options?: DatasetsGetGenerationJobOptionalParams,\n ) => Promise<DataGenerationJobUnion>;\n /** Get the SAS credential to access the storage account associated with a Dataset version. */\n getCredentials: (\n name: string,\n version: string,\n options?: DatasetsGetCredentialsOptionalParams,\n ) => Promise<DatasetCredential>;\n /** Start a new or get an existing pending upload of a dataset for a specific version. */\n pendingUpload: (\n name: string,\n version: string,\n pendingUploadRequest: PendingUploadRequest,\n options?: DatasetsPendingUploadOptionalParams,\n ) => Promise<PendingUploadResponse>;\n /** Create a new or update an existing DatasetVersion with the given version id */\n createOrUpdate: (\n name: string,\n version: string,\n datasetVersion: DatasetVersionUnion,\n options?: DatasetsCreateOrUpdateOptionalParams,\n ) => Promise<DatasetVersionUnion>;\n /** Delete the specific version of the DatasetVersion. The service returns 204 No Content if the DatasetVersion was deleted successfully or if the DatasetVersion does not exist. */\n delete: (name: string, version: string, options?: DatasetsDeleteOptionalParams) => Promise<void>;\n /** Get the specific version of the DatasetVersion. The service returns 404 Not Found error if the DatasetVersion does not exist. */\n get: (\n name: string,\n version: string,\n options?: DatasetsGetOptionalParams,\n ) => Promise<DatasetVersionUnion>;\n /** List the latest version of each DatasetVersion */\n list: (options?: DatasetsListOptionalParams) => PagedAsyncIterableIterator<DatasetVersionUnion>;\n /** List all versions of the given DatasetVersion */\n listVersions: (\n name: string,\n options?: DatasetsListVersionsOptionalParams,\n ) => PagedAsyncIterableIterator<DatasetVersionUnion>;\n /** Upload a file to the DatasetVersion. Only supported in Node.js. */\n uploadFile: (\n name: string,\n version: string,\n filePath: string,\n options?: DatasetUploadOptions,\n ) => Promise<DatasetVersionUnion>;\n /** Upload a folder to the DatasetVersion. Only supported in Node.js. */\n uploadFolder: (\n name: string,\n version: string,\n folderPath: string,\n options?: DatasetUploadOptions,\n ) => Promise<DatasetVersionUnion>;\n}\n\nfunction _getDatasets(\n context: AIProjectContext,\n projectOptions: AIProjectClientOptionalParams = {},\n) {\n return {\n deleteGenerationJob: (jobId: string, options?: DatasetsDeleteGenerationJobOptionalParams) =>\n deleteGenerationJob(context, jobId, options),\n cancelGenerationJob: (jobId: string, options?: DatasetsCancelGenerationJobOptionalParams) =>\n cancelGenerationJob(context, jobId, options),\n createGenerationJob: (\n job: DataGenerationJobInputsUnion,\n options?: DatasetsCreateGenerationJobOptionalParams,\n ) => createGenerationJob(context, job, options),\n listGenerationJobs: (options?: DatasetsListGenerationJobsOptionalParams) =>\n listGenerationJobs(context, options),\n getGenerationJob: (jobId: string, options?: DatasetsGetGenerationJobOptionalParams) =>\n getGenerationJob(context, jobId, options),\n getCredentials: (\n name: string,\n version: string,\n options?: DatasetsGetCredentialsOptionalParams,\n ) => getCredentials(context, name, version, options),\n pendingUpload: (\n name: string,\n version: string,\n pendingUploadRequest: PendingUploadRequest,\n options?: DatasetsPendingUploadOptionalParams,\n ) => pendingUpload(context, name, version, pendingUploadRequest, options),\n createOrUpdate: (\n name: string,\n version: string,\n datasetVersion: DatasetVersionUnion,\n options?: DatasetsCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, name, version, datasetVersion, options),\n delete: (name: string, version: string, options?: DatasetsDeleteOptionalParams) =>\n $delete(context, name, version, options),\n get: (name: string, version: string, options?: DatasetsGetOptionalParams) =>\n get(context, name, version, options),\n list: (options?: DatasetsListOptionalParams) => list(context, options),\n listVersions: (name: string, options?: DatasetsListVersionsOptionalParams) =>\n listVersions(context, name, options),\n uploadFile: (name: string, version: string, filePath: string, options?: DatasetUploadOptions) =>\n uploadFile(context, name, version, filePath, { ...options, projectOptions }),\n uploadFolder: (\n name: string,\n version: string,\n folderPath: string,\n options?: DatasetUploadOptions,\n ) => uploadFolder(context, name, version, folderPath, { ...options, projectOptions }),\n };\n}\n\nexport function _getDatasetsOperations(\n context: AIProjectContext,\n projectOptions: AIProjectClientOptionalParams = {},\n): DatasetsOperations {\n return {\n ..._getDatasets(context, projectOptions),\n };\n}\n"],
5
+ "mappings": ";;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CAAC,GAC7B;AACpB,SAAO;AAAA,IACL,GAAG,aAAa,SAAS,cAAc;AAAA,EACzC;AACF;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,43 @@
1
+ import type { AIProjectContext } from "../../api/aiProjectContext.js";
2
+ import type { EvaluatorVersion, EvaluatorGenerationJob, EvaluatorGenerationInputs } from "../../models/models.js";
3
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
4
+ import type { EvaluatorsDeleteGenerationJobOptionalParams, EvaluatorsCancelGenerationJobOptionalParams, EvaluatorsListGenerationJobsOptionalParams, EvaluatorsGetGenerationJobOptionalParams, EvaluatorsCreateGenerationJobOptionalParams, EvaluatorsUpdateVersionOptionalParams, EvaluatorsCreateVersionOptionalParams, EvaluatorsDeleteVersionOptionalParams, EvaluatorsGetVersionOptionalParams, EvaluatorsListOptionalParams, EvaluatorsListVersionsOptionalParams } from "../../api/evaluators/options.js";
5
+ import type { JobPoller } from "../../static-helpers/pollingHelpers.js";
6
+ /** Operations for EvaluatorsOperations. */
7
+ export interface EvaluatorsOperations {
8
+ /**
9
+ * Deletes an evaluator generation job by its ID. Deletes the job record only;
10
+ * the generated evaluator (if any) is preserved.
11
+ */
12
+ deleteGenerationJob: (jobId: string, options?: EvaluatorsDeleteGenerationJobOptionalParams) => Promise<void>;
13
+ /** Cancels an evaluator generation job by its ID. */
14
+ cancelGenerationJob: (jobId: string, options?: EvaluatorsCancelGenerationJobOptionalParams) => Promise<EvaluatorGenerationJob>;
15
+ /**
16
+ * Returns a list of evaluator generation jobs. The List API has up to a few
17
+ * seconds of propagation delay, so a recently created job may not appear
18
+ * immediately; use the Get evaluator generation job API with the job ID to
19
+ * retrieve a specific job without delay.
20
+ */
21
+ listGenerationJobs: (options?: EvaluatorsListGenerationJobsOptionalParams) => PagedAsyncIterableIterator<EvaluatorGenerationJob>;
22
+ /** Gets the details of an evaluator generation job by its ID. */
23
+ getGenerationJob: (jobId: string, options?: EvaluatorsGetGenerationJobOptionalParams) => Promise<EvaluatorGenerationJob>;
24
+ /**
25
+ * Creates an evaluator generation job. The service generates rubric-based evaluator
26
+ * definitions from the provided source materials asynchronously.
27
+ */
28
+ createGenerationJob: (job: EvaluatorGenerationInputs, options?: EvaluatorsCreateGenerationJobOptionalParams) => JobPoller<EvaluatorVersion>;
29
+ /** Updates the specified evaluator version in place. */
30
+ updateVersion: (name: string, version: string, evaluatorVersion: EvaluatorVersion, options?: EvaluatorsUpdateVersionOptionalParams) => Promise<EvaluatorVersion>;
31
+ /** Creates a new evaluator version with an auto-incremented version identifier. */
32
+ createVersion: (name: string, evaluatorVersion: EvaluatorVersion, options?: EvaluatorsCreateVersionOptionalParams) => Promise<EvaluatorVersion>;
33
+ /** Removes the specified evaluator version. Returns 204 whether the version existed or not. */
34
+ deleteVersion: (name: string, version: string, options?: EvaluatorsDeleteVersionOptionalParams) => Promise<void>;
35
+ /** Retrieves the specified evaluator version, returning 404 if it does not exist. */
36
+ getVersion: (name: string, version: string, options?: EvaluatorsGetVersionOptionalParams) => Promise<EvaluatorVersion>;
37
+ /** Lists the latest version of each evaluator. */
38
+ list: (options?: EvaluatorsListOptionalParams) => PagedAsyncIterableIterator<EvaluatorVersion>;
39
+ /** Returns the available versions for the specified evaluator. */
40
+ listVersions: (name: string, options?: EvaluatorsListVersionsOptionalParams) => PagedAsyncIterableIterator<EvaluatorVersion>;
41
+ }
42
+ export declare function _getEvaluatorsOperations(context: AIProjectContext): EvaluatorsOperations;
43
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/evaluators/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC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C,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC/B,+FAA+F;IAC/F,aAAa,EAAE,CACb,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,qCAAqC,KAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,qFAAqF;IACrF,UAAU,EAAE,CACV,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,kCAAkC,KACzC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC/B,kDAAkD;IAClD,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,4BAA4B,KAAK,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;IAC/F,kEAAkE;IAClE,YAAY,EAAE,CACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,oCAAoC,KAC3C,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;CACnD;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,gBAAgB,GAAG,oBAAoB,CAoCxF"}
@@ -15,28 +15,29 @@ var __copyProps = (to, from, except, desc) => {
15
15
  return to;
16
16
  };
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var datasets_exports = {};
19
- __export(datasets_exports, {
20
- _getBetaDatasetsOperations: () => _getBetaDatasetsOperations
18
+ var evaluators_exports = {};
19
+ __export(evaluators_exports, {
20
+ _getEvaluatorsOperations: () => _getEvaluatorsOperations
21
21
  });
22
- module.exports = __toCommonJS(datasets_exports);
23
- var import_operations = require("../../../api/beta/datasets/operations.js");
24
- function _getBetaDatasets(context) {
22
+ module.exports = __toCommonJS(evaluators_exports);
23
+ var import_operations = require("../../api/evaluators/operations.js");
24
+ function _getEvaluatorsOperations(context) {
25
25
  return {
26
26
  deleteGenerationJob: (jobId, options) => (0, import_operations.deleteGenerationJob)(context, jobId, options),
27
27
  cancelGenerationJob: (jobId, options) => (0, import_operations.cancelGenerationJob)(context, jobId, options),
28
- createGenerationJob: (job, options) => (0, import_operations.createGenerationJob)(context, job, options),
29
28
  listGenerationJobs: (options) => (0, import_operations.listGenerationJobs)(context, options),
30
- getGenerationJob: (jobId, options) => (0, import_operations.getGenerationJob)(context, jobId, options)
31
- };
32
- }
33
- function _getBetaDatasetsOperations(context) {
34
- return {
35
- ..._getBetaDatasets(context)
29
+ getGenerationJob: (jobId, options) => (0, import_operations.getGenerationJob)(context, jobId, options),
30
+ createGenerationJob: (job, options) => (0, import_operations.createGenerationJob)(context, job, options),
31
+ updateVersion: (name, version, evaluatorVersion, options) => (0, import_operations.updateVersion)(context, name, version, evaluatorVersion, options),
32
+ createVersion: (name, evaluatorVersion, options) => (0, import_operations.createVersion)(context, name, evaluatorVersion, options),
33
+ deleteVersion: (name, version, options) => (0, import_operations.deleteVersion)(context, name, version, options),
34
+ getVersion: (name, version, options) => (0, import_operations.getVersion)(context, name, version, options),
35
+ list: (options) => (0, import_operations.list)(context, options),
36
+ listVersions: (name, options) => (0, import_operations.listVersions)(context, name, options)
36
37
  };
37
38
  }
38
39
  // Annotate the CommonJS export names for ESM import in node:
39
40
  0 && (module.exports = {
40
- _getBetaDatasetsOperations
41
+ _getEvaluatorsOperations
41
42
  });
42
43
  //# sourceMappingURL=index.js.map