@azure/ai-projects 1.0.0-beta.6 → 1.0.0-beta.8

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 (302) hide show
  1. package/dist/browser/api/aiProjectContext.js +1 -1
  2. package/dist/browser/api/aiProjectContext.js.map +1 -1
  3. package/dist/browser/api/connections/operations.d.ts.map +1 -1
  4. package/dist/browser/api/connections/operations.js +1 -4
  5. package/dist/browser/api/connections/operations.js.map +1 -1
  6. package/dist/browser/api/connections/options.d.ts +0 -6
  7. package/dist/browser/api/connections/options.d.ts.map +1 -1
  8. package/dist/browser/api/connections/options.js.map +1 -1
  9. package/dist/browser/api/datasets/operations.d.ts +4 -4
  10. package/dist/browser/api/datasets/operations.d.ts.map +1 -1
  11. package/dist/browser/api/datasets/operations.js +18 -17
  12. package/dist/browser/api/datasets/operations.js.map +1 -1
  13. package/dist/browser/api/datasets/options.d.ts +0 -4
  14. package/dist/browser/api/datasets/options.d.ts.map +1 -1
  15. package/dist/browser/api/datasets/options.js +2 -0
  16. package/dist/browser/api/datasets/options.js.map +1 -1
  17. package/dist/browser/api/deployments/operations.d.ts.map +1 -1
  18. package/dist/browser/api/deployments/operations.js +1 -4
  19. package/dist/browser/api/deployments/operations.js.map +1 -1
  20. package/dist/browser/api/deployments/options.d.ts +0 -6
  21. package/dist/browser/api/deployments/options.d.ts.map +1 -1
  22. package/dist/browser/api/deployments/options.js.map +1 -1
  23. package/dist/browser/api/evaluations/index.d.ts +2 -2
  24. package/dist/browser/api/evaluations/index.d.ts.map +1 -1
  25. package/dist/browser/api/evaluations/index.js +1 -1
  26. package/dist/browser/api/evaluations/index.js.map +1 -1
  27. package/dist/browser/api/evaluations/operations.d.ts +4 -4
  28. package/dist/browser/api/evaluations/operations.d.ts.map +1 -1
  29. package/dist/browser/api/evaluations/operations.js +6 -9
  30. package/dist/browser/api/evaluations/operations.js.map +1 -1
  31. package/dist/browser/api/evaluations/options.d.ts +1 -7
  32. package/dist/browser/api/evaluations/options.d.ts.map +1 -1
  33. package/dist/browser/api/evaluations/options.js.map +1 -1
  34. package/dist/browser/api/indexes/operations.d.ts.map +1 -1
  35. package/dist/browser/api/indexes/operations.js +3 -5
  36. package/dist/browser/api/indexes/operations.js.map +1 -1
  37. package/dist/browser/api/indexes/options.d.ts +0 -4
  38. package/dist/browser/api/indexes/options.d.ts.map +1 -1
  39. package/dist/browser/api/indexes/options.js.map +1 -1
  40. package/dist/browser/api/redTeams/index.d.ts +2 -2
  41. package/dist/browser/api/redTeams/index.d.ts.map +1 -1
  42. package/dist/browser/api/redTeams/index.js +1 -1
  43. package/dist/browser/api/redTeams/index.js.map +1 -1
  44. package/dist/browser/api/redTeams/operations.d.ts +4 -4
  45. package/dist/browser/api/redTeams/operations.d.ts.map +1 -1
  46. package/dist/browser/api/redTeams/operations.js +7 -10
  47. package/dist/browser/api/redTeams/operations.js.map +1 -1
  48. package/dist/browser/api/redTeams/options.d.ts +1 -7
  49. package/dist/browser/api/redTeams/options.d.ts.map +1 -1
  50. package/dist/browser/api/redTeams/options.js.map +1 -1
  51. package/dist/browser/classic/datasets/index.d.ts +3 -3
  52. package/dist/browser/classic/datasets/index.d.ts.map +1 -1
  53. package/dist/browser/classic/datasets/index.js +3 -3
  54. package/dist/browser/classic/datasets/index.js.map +1 -1
  55. package/dist/browser/classic/evaluations/index.d.ts +2 -2
  56. package/dist/browser/classic/evaluations/index.d.ts.map +1 -1
  57. package/dist/browser/classic/evaluations/index.js +2 -2
  58. package/dist/browser/classic/evaluations/index.js.map +1 -1
  59. package/dist/browser/classic/redTeams/index.d.ts +2 -2
  60. package/dist/browser/classic/redTeams/index.d.ts.map +1 -1
  61. package/dist/browser/classic/redTeams/index.js +2 -2
  62. package/dist/browser/classic/redTeams/index.js.map +1 -1
  63. package/dist/browser/constants.d.ts +1 -1
  64. package/dist/browser/constants.js +1 -1
  65. package/dist/browser/constants.js.map +1 -1
  66. package/dist/browser/index.d.ts +3 -3
  67. package/dist/browser/index.d.ts.map +1 -1
  68. package/dist/browser/index.js.map +1 -1
  69. package/dist/browser/models/index.d.ts +1 -1
  70. package/dist/browser/models/index.d.ts.map +1 -1
  71. package/dist/browser/models/index.js.map +1 -1
  72. package/dist/browser/models/models.d.ts +39 -16
  73. package/dist/browser/models/models.d.ts.map +1 -1
  74. package/dist/browser/models/models.js +81 -20
  75. package/dist/browser/models/models.js.map +1 -1
  76. package/dist/commonjs/api/aiProjectContext.js +1 -1
  77. package/dist/commonjs/api/aiProjectContext.js.map +1 -1
  78. package/dist/commonjs/api/connections/operations.d.ts.map +1 -1
  79. package/dist/commonjs/api/connections/operations.js +1 -4
  80. package/dist/commonjs/api/connections/operations.js.map +1 -1
  81. package/dist/commonjs/api/connections/options.d.ts +0 -6
  82. package/dist/commonjs/api/connections/options.d.ts.map +1 -1
  83. package/dist/commonjs/api/connections/options.js.map +1 -1
  84. package/dist/commonjs/api/datasets/operations.d.ts +4 -4
  85. package/dist/commonjs/api/datasets/operations.d.ts.map +1 -1
  86. package/dist/commonjs/api/datasets/operations.js +17 -16
  87. package/dist/commonjs/api/datasets/operations.js.map +1 -1
  88. package/dist/commonjs/api/datasets/options.d.ts +0 -4
  89. package/dist/commonjs/api/datasets/options.d.ts.map +1 -1
  90. package/dist/commonjs/api/datasets/options.js +2 -0
  91. package/dist/commonjs/api/datasets/options.js.map +1 -1
  92. package/dist/commonjs/api/deployments/operations.d.ts.map +1 -1
  93. package/dist/commonjs/api/deployments/operations.js +1 -4
  94. package/dist/commonjs/api/deployments/operations.js.map +1 -1
  95. package/dist/commonjs/api/deployments/options.d.ts +0 -6
  96. package/dist/commonjs/api/deployments/options.d.ts.map +1 -1
  97. package/dist/commonjs/api/deployments/options.js.map +1 -1
  98. package/dist/commonjs/api/evaluations/index.d.ts +2 -2
  99. package/dist/commonjs/api/evaluations/index.d.ts.map +1 -1
  100. package/dist/commonjs/api/evaluations/index.js +2 -2
  101. package/dist/commonjs/api/evaluations/index.js.map +1 -1
  102. package/dist/commonjs/api/evaluations/operations.d.ts +4 -4
  103. package/dist/commonjs/api/evaluations/operations.d.ts.map +1 -1
  104. package/dist/commonjs/api/evaluations/operations.js +9 -12
  105. package/dist/commonjs/api/evaluations/operations.js.map +1 -1
  106. package/dist/commonjs/api/evaluations/options.d.ts +1 -7
  107. package/dist/commonjs/api/evaluations/options.d.ts.map +1 -1
  108. package/dist/commonjs/api/evaluations/options.js.map +1 -1
  109. package/dist/commonjs/api/indexes/operations.d.ts.map +1 -1
  110. package/dist/commonjs/api/indexes/operations.js +3 -5
  111. package/dist/commonjs/api/indexes/operations.js.map +1 -1
  112. package/dist/commonjs/api/indexes/options.d.ts +0 -4
  113. package/dist/commonjs/api/indexes/options.d.ts.map +1 -1
  114. package/dist/commonjs/api/indexes/options.js.map +1 -1
  115. package/dist/commonjs/api/redTeams/index.d.ts +2 -2
  116. package/dist/commonjs/api/redTeams/index.d.ts.map +1 -1
  117. package/dist/commonjs/api/redTeams/index.js +2 -2
  118. package/dist/commonjs/api/redTeams/index.js.map +1 -1
  119. package/dist/commonjs/api/redTeams/operations.d.ts +4 -4
  120. package/dist/commonjs/api/redTeams/operations.d.ts.map +1 -1
  121. package/dist/commonjs/api/redTeams/operations.js +10 -13
  122. package/dist/commonjs/api/redTeams/operations.js.map +1 -1
  123. package/dist/commonjs/api/redTeams/options.d.ts +1 -7
  124. package/dist/commonjs/api/redTeams/options.d.ts.map +1 -1
  125. package/dist/commonjs/api/redTeams/options.js.map +1 -1
  126. package/dist/commonjs/classic/datasets/index.d.ts +3 -3
  127. package/dist/commonjs/classic/datasets/index.d.ts.map +1 -1
  128. package/dist/commonjs/classic/datasets/index.js +3 -3
  129. package/dist/commonjs/classic/datasets/index.js.map +1 -1
  130. package/dist/commonjs/classic/evaluations/index.d.ts +2 -2
  131. package/dist/commonjs/classic/evaluations/index.d.ts.map +1 -1
  132. package/dist/commonjs/classic/evaluations/index.js +1 -1
  133. package/dist/commonjs/classic/evaluations/index.js.map +1 -1
  134. package/dist/commonjs/classic/redTeams/index.d.ts +2 -2
  135. package/dist/commonjs/classic/redTeams/index.d.ts.map +1 -1
  136. package/dist/commonjs/classic/redTeams/index.js +1 -1
  137. package/dist/commonjs/classic/redTeams/index.js.map +1 -1
  138. package/dist/commonjs/constants.d.ts +1 -1
  139. package/dist/commonjs/constants.js +1 -1
  140. package/dist/commonjs/constants.js.map +1 -1
  141. package/dist/commonjs/index.d.ts +3 -3
  142. package/dist/commonjs/index.d.ts.map +1 -1
  143. package/dist/commonjs/index.js.map +1 -1
  144. package/dist/commonjs/models/index.d.ts +1 -1
  145. package/dist/commonjs/models/index.d.ts.map +1 -1
  146. package/dist/commonjs/models/index.js.map +1 -1
  147. package/dist/commonjs/models/models.d.ts +39 -16
  148. package/dist/commonjs/models/models.d.ts.map +1 -1
  149. package/dist/commonjs/models/models.js +83 -21
  150. package/dist/commonjs/models/models.js.map +1 -1
  151. package/dist/commonjs/tsdoc-metadata.json +1 -1
  152. package/dist/esm/api/aiProjectContext.js +1 -1
  153. package/dist/esm/api/aiProjectContext.js.map +1 -1
  154. package/dist/esm/api/connections/operations.d.ts.map +1 -1
  155. package/dist/esm/api/connections/operations.js +1 -4
  156. package/dist/esm/api/connections/operations.js.map +1 -1
  157. package/dist/esm/api/connections/options.d.ts +0 -6
  158. package/dist/esm/api/connections/options.d.ts.map +1 -1
  159. package/dist/esm/api/connections/options.js.map +1 -1
  160. package/dist/esm/api/datasets/operations.d.ts +4 -4
  161. package/dist/esm/api/datasets/operations.d.ts.map +1 -1
  162. package/dist/esm/api/datasets/operations.js +18 -17
  163. package/dist/esm/api/datasets/operations.js.map +1 -1
  164. package/dist/esm/api/datasets/options.d.ts +0 -4
  165. package/dist/esm/api/datasets/options.d.ts.map +1 -1
  166. package/dist/esm/api/datasets/options.js +2 -0
  167. package/dist/esm/api/datasets/options.js.map +1 -1
  168. package/dist/esm/api/deployments/operations.d.ts.map +1 -1
  169. package/dist/esm/api/deployments/operations.js +1 -4
  170. package/dist/esm/api/deployments/operations.js.map +1 -1
  171. package/dist/esm/api/deployments/options.d.ts +0 -6
  172. package/dist/esm/api/deployments/options.d.ts.map +1 -1
  173. package/dist/esm/api/deployments/options.js.map +1 -1
  174. package/dist/esm/api/evaluations/index.d.ts +2 -2
  175. package/dist/esm/api/evaluations/index.d.ts.map +1 -1
  176. package/dist/esm/api/evaluations/index.js +1 -1
  177. package/dist/esm/api/evaluations/index.js.map +1 -1
  178. package/dist/esm/api/evaluations/operations.d.ts +4 -4
  179. package/dist/esm/api/evaluations/operations.d.ts.map +1 -1
  180. package/dist/esm/api/evaluations/operations.js +6 -9
  181. package/dist/esm/api/evaluations/operations.js.map +1 -1
  182. package/dist/esm/api/evaluations/options.d.ts +1 -7
  183. package/dist/esm/api/evaluations/options.d.ts.map +1 -1
  184. package/dist/esm/api/evaluations/options.js.map +1 -1
  185. package/dist/esm/api/indexes/operations.d.ts.map +1 -1
  186. package/dist/esm/api/indexes/operations.js +3 -5
  187. package/dist/esm/api/indexes/operations.js.map +1 -1
  188. package/dist/esm/api/indexes/options.d.ts +0 -4
  189. package/dist/esm/api/indexes/options.d.ts.map +1 -1
  190. package/dist/esm/api/indexes/options.js.map +1 -1
  191. package/dist/esm/api/redTeams/index.d.ts +2 -2
  192. package/dist/esm/api/redTeams/index.d.ts.map +1 -1
  193. package/dist/esm/api/redTeams/index.js +1 -1
  194. package/dist/esm/api/redTeams/index.js.map +1 -1
  195. package/dist/esm/api/redTeams/operations.d.ts +4 -4
  196. package/dist/esm/api/redTeams/operations.d.ts.map +1 -1
  197. package/dist/esm/api/redTeams/operations.js +7 -10
  198. package/dist/esm/api/redTeams/operations.js.map +1 -1
  199. package/dist/esm/api/redTeams/options.d.ts +1 -7
  200. package/dist/esm/api/redTeams/options.d.ts.map +1 -1
  201. package/dist/esm/api/redTeams/options.js.map +1 -1
  202. package/dist/esm/classic/datasets/index.d.ts +3 -3
  203. package/dist/esm/classic/datasets/index.d.ts.map +1 -1
  204. package/dist/esm/classic/datasets/index.js +3 -3
  205. package/dist/esm/classic/datasets/index.js.map +1 -1
  206. package/dist/esm/classic/evaluations/index.d.ts +2 -2
  207. package/dist/esm/classic/evaluations/index.d.ts.map +1 -1
  208. package/dist/esm/classic/evaluations/index.js +2 -2
  209. package/dist/esm/classic/evaluations/index.js.map +1 -1
  210. package/dist/esm/classic/redTeams/index.d.ts +2 -2
  211. package/dist/esm/classic/redTeams/index.d.ts.map +1 -1
  212. package/dist/esm/classic/redTeams/index.js +2 -2
  213. package/dist/esm/classic/redTeams/index.js.map +1 -1
  214. package/dist/esm/constants.d.ts +1 -1
  215. package/dist/esm/constants.js +1 -1
  216. package/dist/esm/constants.js.map +1 -1
  217. package/dist/esm/index.d.ts +3 -3
  218. package/dist/esm/index.d.ts.map +1 -1
  219. package/dist/esm/index.js.map +1 -1
  220. package/dist/esm/models/index.d.ts +1 -1
  221. package/dist/esm/models/index.d.ts.map +1 -1
  222. package/dist/esm/models/index.js.map +1 -1
  223. package/dist/esm/models/models.d.ts +39 -16
  224. package/dist/esm/models/models.d.ts.map +1 -1
  225. package/dist/esm/models/models.js +81 -20
  226. package/dist/esm/models/models.js.map +1 -1
  227. package/dist/react-native/api/aiProjectContext.js +1 -1
  228. package/dist/react-native/api/aiProjectContext.js.map +1 -1
  229. package/dist/react-native/api/connections/operations.d.ts.map +1 -1
  230. package/dist/react-native/api/connections/operations.js +1 -4
  231. package/dist/react-native/api/connections/operations.js.map +1 -1
  232. package/dist/react-native/api/connections/options.d.ts +0 -6
  233. package/dist/react-native/api/connections/options.d.ts.map +1 -1
  234. package/dist/react-native/api/connections/options.js.map +1 -1
  235. package/dist/react-native/api/datasets/operations.d.ts +4 -4
  236. package/dist/react-native/api/datasets/operations.d.ts.map +1 -1
  237. package/dist/react-native/api/datasets/operations.js +18 -17
  238. package/dist/react-native/api/datasets/operations.js.map +1 -1
  239. package/dist/react-native/api/datasets/options.d.ts +0 -4
  240. package/dist/react-native/api/datasets/options.d.ts.map +1 -1
  241. package/dist/react-native/api/datasets/options.js +2 -0
  242. package/dist/react-native/api/datasets/options.js.map +1 -1
  243. package/dist/react-native/api/deployments/operations.d.ts.map +1 -1
  244. package/dist/react-native/api/deployments/operations.js +1 -4
  245. package/dist/react-native/api/deployments/operations.js.map +1 -1
  246. package/dist/react-native/api/deployments/options.d.ts +0 -6
  247. package/dist/react-native/api/deployments/options.d.ts.map +1 -1
  248. package/dist/react-native/api/deployments/options.js.map +1 -1
  249. package/dist/react-native/api/evaluations/index.d.ts +2 -2
  250. package/dist/react-native/api/evaluations/index.d.ts.map +1 -1
  251. package/dist/react-native/api/evaluations/index.js +1 -1
  252. package/dist/react-native/api/evaluations/index.js.map +1 -1
  253. package/dist/react-native/api/evaluations/operations.d.ts +4 -4
  254. package/dist/react-native/api/evaluations/operations.d.ts.map +1 -1
  255. package/dist/react-native/api/evaluations/operations.js +6 -9
  256. package/dist/react-native/api/evaluations/operations.js.map +1 -1
  257. package/dist/react-native/api/evaluations/options.d.ts +1 -7
  258. package/dist/react-native/api/evaluations/options.d.ts.map +1 -1
  259. package/dist/react-native/api/evaluations/options.js.map +1 -1
  260. package/dist/react-native/api/indexes/operations.d.ts.map +1 -1
  261. package/dist/react-native/api/indexes/operations.js +3 -5
  262. package/dist/react-native/api/indexes/operations.js.map +1 -1
  263. package/dist/react-native/api/indexes/options.d.ts +0 -4
  264. package/dist/react-native/api/indexes/options.d.ts.map +1 -1
  265. package/dist/react-native/api/indexes/options.js.map +1 -1
  266. package/dist/react-native/api/redTeams/index.d.ts +2 -2
  267. package/dist/react-native/api/redTeams/index.d.ts.map +1 -1
  268. package/dist/react-native/api/redTeams/index.js +1 -1
  269. package/dist/react-native/api/redTeams/index.js.map +1 -1
  270. package/dist/react-native/api/redTeams/operations.d.ts +4 -4
  271. package/dist/react-native/api/redTeams/operations.d.ts.map +1 -1
  272. package/dist/react-native/api/redTeams/operations.js +7 -10
  273. package/dist/react-native/api/redTeams/operations.js.map +1 -1
  274. package/dist/react-native/api/redTeams/options.d.ts +1 -7
  275. package/dist/react-native/api/redTeams/options.d.ts.map +1 -1
  276. package/dist/react-native/api/redTeams/options.js.map +1 -1
  277. package/dist/react-native/classic/datasets/index.d.ts +3 -3
  278. package/dist/react-native/classic/datasets/index.d.ts.map +1 -1
  279. package/dist/react-native/classic/datasets/index.js +3 -3
  280. package/dist/react-native/classic/datasets/index.js.map +1 -1
  281. package/dist/react-native/classic/evaluations/index.d.ts +2 -2
  282. package/dist/react-native/classic/evaluations/index.d.ts.map +1 -1
  283. package/dist/react-native/classic/evaluations/index.js +2 -2
  284. package/dist/react-native/classic/evaluations/index.js.map +1 -1
  285. package/dist/react-native/classic/redTeams/index.d.ts +2 -2
  286. package/dist/react-native/classic/redTeams/index.d.ts.map +1 -1
  287. package/dist/react-native/classic/redTeams/index.js +2 -2
  288. package/dist/react-native/classic/redTeams/index.js.map +1 -1
  289. package/dist/react-native/constants.d.ts +1 -1
  290. package/dist/react-native/constants.js +1 -1
  291. package/dist/react-native/constants.js.map +1 -1
  292. package/dist/react-native/index.d.ts +3 -3
  293. package/dist/react-native/index.d.ts.map +1 -1
  294. package/dist/react-native/index.js.map +1 -1
  295. package/dist/react-native/models/index.d.ts +1 -1
  296. package/dist/react-native/models/index.d.ts.map +1 -1
  297. package/dist/react-native/models/index.js.map +1 -1
  298. package/dist/react-native/models/models.d.ts +39 -16
  299. package/dist/react-native/models/models.d.ts.map +1 -1
  300. package/dist/react-native/models/models.js +81 -20
  301. package/dist/react-native/models/models.js.map +1 -1
  302. package/package.json +2 -2
@@ -51,7 +51,6 @@ exports.pendingUploadRequestSerializer = pendingUploadRequestSerializer;
51
51
  exports.pendingUploadResponseDeserializer = pendingUploadResponseDeserializer;
52
52
  exports.blobReferenceDeserializer = blobReferenceDeserializer;
53
53
  exports.sasCredentialDeserializer = sasCredentialDeserializer;
54
- exports._getCredentialsRequestSerializer = _getCredentialsRequestSerializer;
55
54
  exports.assetCredentialResponseDeserializer = assetCredentialResponseDeserializer;
56
55
  exports._pagedIndexDeserializer = _pagedIndexDeserializer;
57
56
  exports.indexUnionArraySerializer = indexUnionArraySerializer;
@@ -62,6 +61,8 @@ exports.indexUnionSerializer = indexUnionSerializer;
62
61
  exports.indexUnionDeserializer = indexUnionDeserializer;
63
62
  exports.azureAISearchIndexSerializer = azureAISearchIndexSerializer;
64
63
  exports.azureAISearchIndexDeserializer = azureAISearchIndexDeserializer;
64
+ exports.fieldMappingSerializer = fieldMappingSerializer;
65
+ exports.fieldMappingDeserializer = fieldMappingDeserializer;
65
66
  exports.managedAzureAISearchIndexSerializer = managedAzureAISearchIndexSerializer;
66
67
  exports.managedAzureAISearchIndexDeserializer = managedAzureAISearchIndexDeserializer;
67
68
  exports.cosmosDBIndexSerializer = cosmosDBIndexSerializer;
@@ -88,6 +89,7 @@ exports.redTeamArrayDeserializer = redTeamArrayDeserializer;
88
89
  function connectionDeserializer(item) {
89
90
  return {
90
91
  name: item["name"],
92
+ id: item["id"],
91
93
  type: item["type"],
92
94
  target: item["target"],
93
95
  metadata: item["metadata"],
@@ -300,6 +302,7 @@ function agentEvaluationResultArrayDeserializer(result) {
300
302
  function agentEvaluationResultDeserializer(item) {
301
303
  return {
302
304
  evaluator: item["evaluator"],
305
+ evaluatorId: item["evaluatorId"],
303
306
  score: item["score"],
304
307
  status: item["status"],
305
308
  reason: item["reason"],
@@ -330,6 +333,7 @@ function datasetVersionSerializer(item) {
330
333
  return {
331
334
  dataUri: item["dataUri"],
332
335
  type: item["type"],
336
+ connectionName: item["connectionName"],
333
337
  description: item["description"],
334
338
  tags: item["tags"],
335
339
  };
@@ -339,6 +343,7 @@ function datasetVersionDeserializer(item) {
339
343
  dataUri: item["dataUri"],
340
344
  type: item["type"],
341
345
  isReference: item["isReference"],
346
+ connectionName: item["connectionName"],
342
347
  id: item["id"],
343
348
  name: item["name"],
344
349
  version: item["version"],
@@ -370,6 +375,7 @@ function fileDatasetVersionSerializer(item) {
370
375
  return {
371
376
  dataUri: item["dataUri"],
372
377
  type: item["type"],
378
+ connectionName: item["connectionName"],
373
379
  description: item["description"],
374
380
  tags: item["tags"],
375
381
  };
@@ -379,6 +385,7 @@ function fileDatasetVersionDeserializer(item) {
379
385
  dataUri: item["dataUri"],
380
386
  type: item["type"],
381
387
  isReference: item["isReference"],
388
+ connectionName: item["connectionName"],
382
389
  id: item["id"],
383
390
  name: item["name"],
384
391
  version: item["version"],
@@ -390,6 +397,7 @@ function folderDatasetVersionSerializer(item) {
390
397
  return {
391
398
  dataUri: item["dataUri"],
392
399
  type: item["type"],
400
+ connectionName: item["connectionName"],
393
401
  description: item["description"],
394
402
  tags: item["tags"],
395
403
  };
@@ -399,6 +407,7 @@ function folderDatasetVersionDeserializer(item) {
399
407
  dataUri: item["dataUri"],
400
408
  type: item["type"],
401
409
  isReference: item["isReference"],
410
+ connectionName: item["connectionName"],
402
411
  id: item["id"],
403
412
  name: item["name"],
404
413
  version: item["version"],
@@ -434,9 +443,6 @@ function sasCredentialDeserializer(item) {
434
443
  type: item["type"],
435
444
  };
436
445
  }
437
- function _getCredentialsRequestSerializer(item) {
438
- return item;
439
- }
440
446
  function assetCredentialResponseDeserializer(item) {
441
447
  return {
442
448
  blobReference: blobReferenceDeserializer(item["blobReference"]),
@@ -506,6 +512,9 @@ function azureAISearchIndexSerializer(item) {
506
512
  tags: item["tags"],
507
513
  connectionName: item["connectionName"],
508
514
  indexName: item["indexName"],
515
+ fieldMapping: !item["fieldMapping"]
516
+ ? item["fieldMapping"]
517
+ : fieldMappingSerializer(item["fieldMapping"]),
509
518
  };
510
519
  }
511
520
  function azureAISearchIndexDeserializer(item) {
@@ -518,6 +527,49 @@ function azureAISearchIndexDeserializer(item) {
518
527
  tags: item["tags"],
519
528
  connectionName: item["connectionName"],
520
529
  indexName: item["indexName"],
530
+ fieldMapping: !item["fieldMapping"]
531
+ ? item["fieldMapping"]
532
+ : fieldMappingDeserializer(item["fieldMapping"]),
533
+ };
534
+ }
535
+ function fieldMappingSerializer(item) {
536
+ return {
537
+ contentFields: item["contentFields"].map((p) => {
538
+ return p;
539
+ }),
540
+ filepathField: item["filepathField"],
541
+ titleField: item["titleField"],
542
+ urlField: item["urlField"],
543
+ vectorFields: !item["vectorFields"]
544
+ ? item["vectorFields"]
545
+ : item["vectorFields"].map((p) => {
546
+ return p;
547
+ }),
548
+ metadataFields: !item["metadataFields"]
549
+ ? item["metadataFields"]
550
+ : item["metadataFields"].map((p) => {
551
+ return p;
552
+ }),
553
+ };
554
+ }
555
+ function fieldMappingDeserializer(item) {
556
+ return {
557
+ contentFields: item["contentFields"].map((p) => {
558
+ return p;
559
+ }),
560
+ filepathField: item["filepathField"],
561
+ titleField: item["titleField"],
562
+ urlField: item["urlField"],
563
+ vectorFields: !item["vectorFields"]
564
+ ? item["vectorFields"]
565
+ : item["vectorFields"].map((p) => {
566
+ return p;
567
+ }),
568
+ metadataFields: !item["metadataFields"]
569
+ ? item["metadataFields"]
570
+ : item["metadataFields"].map((p) => {
571
+ return p;
572
+ }),
521
573
  };
522
574
  }
523
575
  function managedAzureAISearchIndexSerializer(item) {
@@ -548,6 +600,7 @@ function cosmosDBIndexSerializer(item) {
548
600
  databaseName: item["databaseName"],
549
601
  containerName: item["containerName"],
550
602
  embeddingConfiguration: embeddingConfigurationSerializer(item["embeddingConfiguration"]),
603
+ fieldMapping: fieldMappingSerializer(item["fieldMapping"]),
551
604
  };
552
605
  }
553
606
  function cosmosDBIndexDeserializer(item) {
@@ -562,6 +615,7 @@ function cosmosDBIndexDeserializer(item) {
562
615
  databaseName: item["databaseName"],
563
616
  containerName: item["containerName"],
564
617
  embeddingConfiguration: embeddingConfigurationDeserializer(item["embeddingConfiguration"]),
618
+ fieldMapping: fieldMappingDeserializer(item["fieldMapping"]),
565
619
  };
566
620
  }
567
621
  function embeddingConfigurationSerializer(item) {
@@ -624,38 +678,46 @@ function deploymentUnionArrayDeserializer(result) {
624
678
  }
625
679
  function redTeamSerializer(item) {
626
680
  return {
627
- scanName: item["scanName"],
681
+ displayName: item["displayName"],
628
682
  numTurns: item["numTurns"],
629
- attackStrategies: item["attackStrategies"].map((p) => {
630
- return p;
631
- }),
683
+ attackStrategies: !item["attackStrategies"]
684
+ ? item["attackStrategies"]
685
+ : item["attackStrategies"].map((p) => {
686
+ return p;
687
+ }),
632
688
  simulationOnly: item["simulationOnly"],
633
- riskCategories: item["riskCategories"].map((p) => {
634
- return p;
635
- }),
689
+ riskCategories: !item["riskCategories"]
690
+ ? item["riskCategories"]
691
+ : item["riskCategories"].map((p) => {
692
+ return p;
693
+ }),
636
694
  applicationScenario: item["applicationScenario"],
637
695
  tags: item["tags"],
638
696
  properties: item["properties"],
639
- targetConfig: targetConfigUnionSerializer(item["targetConfig"]),
697
+ target: targetConfigUnionSerializer(item["target"]),
640
698
  };
641
699
  }
642
700
  function redTeamDeserializer(item) {
643
701
  return {
644
- id: item["id"],
645
- scanName: item["scanName"],
702
+ name: item["id"],
703
+ displayName: item["displayName"],
646
704
  numTurns: item["numTurns"],
647
- attackStrategies: item["attackStrategies"].map((p) => {
648
- return p;
649
- }),
705
+ attackStrategies: !item["attackStrategies"]
706
+ ? item["attackStrategies"]
707
+ : item["attackStrategies"].map((p) => {
708
+ return p;
709
+ }),
650
710
  simulationOnly: item["simulationOnly"],
651
- riskCategories: item["riskCategories"].map((p) => {
652
- return p;
653
- }),
711
+ riskCategories: !item["riskCategories"]
712
+ ? item["riskCategories"]
713
+ : item["riskCategories"].map((p) => {
714
+ return p;
715
+ }),
654
716
  applicationScenario: item["applicationScenario"],
655
717
  tags: item["tags"],
656
718
  properties: item["properties"],
657
719
  status: item["status"],
658
- targetConfig: targetConfigUnionDeserializer(item["targetConfig"]),
720
+ target: targetConfigUnionDeserializer(item["target"]),
659
721
  };
660
722
  }
661
723
  function targetConfigSerializer(item) {
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,sEAAsE;AACtE,yDAAyD;;;AAqCz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,SAAgB,wBAAwB,CAAC,MAAsB;IAC7D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC;AAKD,qCAAqC;AACrC,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,uCAAuC;IACvC,yCAAwB,CAAA;IACxB,+CAA+C;IAC/C,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/** Response from the list and get connections operations */\nexport interface Connection {\n /** The name of the resource */\n readonly name: string;\n /** Category of the connection */\n readonly type: ConnectionType;\n /** The connection URL to be used for this service */\n readonly target: string;\n /** Whether the connection is tagged as the default connection of its type */\n readonly isDefault: boolean;\n /** The credentials used by the connection */\n readonly credentials: BaseCredentialsUnion;\n /** Metadata of the connection */\n readonly metadata: Record<string, string>;\n}\n\n/** The Type (or category) of the connection */\nexport type ConnectionType =\n | \"AzureOpenAI\"\n | \"AzureBlob\"\n | \"AzureStorageAccount\"\n | \"CognitiveSearch\"\n | \"CosmosDB\"\n | \"ApiKey\"\n | \"AppConfig\"\n | \"AppInsights\"\n | \"CustomKeys\";\n\n/** A base class for connection credentials */\nexport interface BaseCredentials {\n /** The type of credential used by the connection */\n /** The discriminator possible values: ApiKey, AAD, CustomKeys, SAS, None */\n readonly type: CredentialType;\n}\n\nexport function connectionDeserializer(item: any): Connection {\n return {\n name: item[\"name\"],\n type: item[\"type\"],\n target: item[\"target\"],\n metadata: item[\"metadata\"],\n isDefault: item[\"isDefault\"],\n credentials: item[\"credentials\"]\n ? baseCredentialsUnionDeserializer(item[\"credentials\"])\n : { type: \"None\" },\n };\n}\n\nexport function baseCredentialsDeserializer(item: any): BaseCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for BaseCredentialsUnion */\nexport type BaseCredentialsUnion =\n | ApiKeyCredentials\n | EntraIDCredentials\n | CustomCredential\n | SASCredentials\n | NoAuthenticationCredentials\n | BaseCredentials;\n\nexport function baseCredentialsUnionDeserializer(item: any): BaseCredentialsUnion {\n switch (item.type) {\n case \"ApiKey\":\n return apiKeyCredentialsDeserializer(item as ApiKeyCredentials);\n\n case \"AAD\":\n return entraIDCredentialsDeserializer(item as EntraIDCredentials);\n\n case \"CustomKeys\":\n return customCredentialDeserializer(item as CustomCredential);\n\n case \"SAS\":\n return sasCredentialsDeserializer(item as SASCredentials);\n\n case \"None\":\n return noAuthenticationCredentialsDeserializer(item as NoAuthenticationCredentials);\n\n default:\n return baseCredentialsDeserializer(item);\n }\n}\n\n/** The credential type used by the connection */\nexport type CredentialType = \"ApiKey\" | \"AAD\" | \"SAS\" | \"CustomKeys\" | \"None\";\n\n/** API Key Credential definition */\nexport interface ApiKeyCredentials extends BaseCredentials {\n /** The credentail type */\n readonly type: \"ApiKey\";\n /** API Key */\n readonly apiKey?: string;\n}\n\nexport function apiKeyCredentialsDeserializer(item: any): ApiKeyCredentials {\n return {\n type: item[\"type\"],\n apiKey: item[\"key\"],\n };\n}\n\n/** Entra ID credential definition */\nexport interface EntraIDCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"AAD\";\n}\n\nexport function entraIDCredentialsDeserializer(item: any): EntraIDCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Custom credential definition */\nexport interface CustomCredential extends BaseCredentials {\n /** The credential type */\n readonly type: \"CustomKeys\";\n /** The credential type */\n readonly keys: Record<string, string>;\n}\n\nexport function customCredentialDeserializer(item: any): CustomCredential {\n return {\n type: item[\"type\"],\n keys: item[\"keys\"],\n };\n}\n\n/** Shared Access Signature (SAS) credential definition */\nexport interface SASCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"SAS\";\n /** SAS token */\n readonly sasToken?: string;\n}\n\nexport function sasCredentialsDeserializer(item: any): SASCredentials {\n return {\n type: item[\"type\"],\n sasToken: item[\"SAS\"],\n };\n}\n\n/** Credentials that do not require authentication */\nexport interface NoAuthenticationCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"None\";\n}\n\nexport function noAuthenticationCredentialsDeserializer(item: any): NoAuthenticationCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Paged collection of Connection items */\nexport interface _PagedConnection {\n /** The Connection items on this page */\n value: Connection[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedConnectionDeserializer(item: any): _PagedConnection {\n return {\n value: connectionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function connectionArrayDeserializer(result: Array<Connection>): any[] {\n return result.map((item) => {\n return connectionDeserializer(item);\n });\n}\n\n/** Evaluation Definition */\nexport interface Evaluation {\n /** Identifier of the evaluation. */\n readonly name: string;\n /** Data for evaluation. */\n data: InputDataUnion;\n /** Display Name for evaluation. It helps to find the evaluation easily in AI Foundry. It does not need to be unique. */\n displayName?: string;\n /** Description of the evaluation. It can be used to store additional information about the evaluation and is mutable. */\n description?: string;\n /** Status of the evaluation. It is set by service and is read-only. */\n readonly status?: string;\n /** Evaluation's tags. Unlike properties, tags are fully mutable. */\n tags?: Record<string, string>;\n /** Evaluation's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */\n properties?: Record<string, string>;\n /** Evaluators to be used for the evaluation. */\n evaluators: Record<string, EvaluatorConfiguration>;\n}\n\n/** optional id property for Evaluation, which shouldbe used for create operation */\nexport type EvaluationWithOptionalName = Omit<Evaluation, \"name\"> & { name?: string };\n\n// optional name property\nexport function evaluationSerializer(item: EvaluationWithOptionalName): any {\n return {\n data: inputDataUnionSerializer(item[\"data\"]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n evaluators: evaluatorConfigurationRecordSerializer(item[\"evaluators\"]),\n };\n}\n\nexport function evaluationDeserializer(item: any): Evaluation {\n return {\n name: item[\"id\"],\n data: inputDataUnionDeserializer(item[\"data\"]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n status: item[\"status\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n evaluators: evaluatorConfigurationRecordDeserializer(item[\"evaluators\"]),\n };\n}\n\n/** Abstract data class. */\nexport interface InputData {\n /** Type of the data */\n /** The discriminator possible values: dataset */\n type: string;\n}\n\nexport function inputDataSerializer(item: InputData): any {\n return { type: item[\"type\"] };\n}\n\nexport function inputDataDeserializer(item: any): InputData {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for InputDataUnion */\nexport type InputDataUnion = InputDataset | InputData;\n\nexport function inputDataUnionSerializer(item: InputDataUnion): any {\n switch (item.type) {\n case \"dataset\":\n return inputDatasetSerializer(item as InputDataset);\n\n default:\n return inputDataSerializer(item);\n }\n}\n\nexport function inputDataUnionDeserializer(_item: any): InputDataUnion {\n const item = _item || {};\n\n switch (item.type) {\n case \"dataset\":\n return inputDatasetDeserializer(item as InputDataset);\n\n default:\n return inputDataDeserializer(item);\n }\n}\n\n/** Dataset as source for evaluation. */\nexport interface InputDataset extends InputData {\n /** Type of the data */\n type: \"dataset\";\n /** Evaluation input data */\n id: string;\n}\n\nexport function inputDatasetSerializer(item: InputDataset): any {\n return { type: item[\"type\"], id: item[\"id\"] };\n}\n\nexport function inputDatasetDeserializer(item: any): InputDataset {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n };\n}\n\nexport function evaluatorConfigurationRecordSerializer(\n item: Record<string, EvaluatorConfiguration>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : evaluatorConfigurationSerializer(item[key]);\n });\n return result;\n}\n\nexport function evaluatorConfigurationRecordDeserializer(\n item: Record<string, any>,\n): Record<string, EvaluatorConfiguration> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : evaluatorConfigurationDeserializer(item[key]);\n });\n return result;\n}\n\n/** Evaluator Configuration */\nexport interface EvaluatorConfiguration {\n /** Identifier of the evaluator. */\n id: string;\n /** Initialization parameters of the evaluator. */\n initParams?: Record<string, any>;\n /** Data parameters of the evaluator. */\n dataMapping?: Record<string, string>;\n}\n\nexport function evaluatorConfigurationSerializer(item: EvaluatorConfiguration): any {\n return {\n id: item[\"id\"],\n initParams: item[\"initParams\"],\n dataMapping: item[\"dataMapping\"],\n };\n}\n\nexport function evaluatorConfigurationDeserializer(item: any): EvaluatorConfiguration {\n return {\n id: item[\"id\"],\n initParams: item[\"initParams\"],\n dataMapping: item[\"dataMapping\"],\n };\n}\n\n/** Paged collection of Evaluation items */\nexport interface _PagedEvaluation {\n /** The Evaluation items on this page */\n value: Evaluation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedEvaluationDeserializer(item: any): _PagedEvaluation {\n return {\n value: evaluationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function evaluationArraySerializer(result: Array<Evaluation>): any[] {\n return result.map((item) => {\n return evaluationSerializer(item);\n });\n}\n\nexport function evaluationArrayDeserializer(result: Array<Evaluation>): any[] {\n return result.map((item) => {\n return evaluationDeserializer(item);\n });\n}\n\n/** Evaluation request for agent run. */\nexport interface AgentEvaluationRequest {\n /** Identifier of the agent run. */\n runId: string;\n /** Identifier of the agent thread. This field is mandatory currently, but it will be optional in the future. */\n threadId?: string;\n /** Evaluators to be used for the evaluation. */\n evaluators: Record<string, EvaluatorConfiguration>;\n /** Sampling configuration for the evaluation. */\n samplingConfiguration?: AgentEvaluationSamplingConfiguration;\n /** Redaction configuration for the evaluation. */\n redactionConfiguration?: AgentEvaluationRedactionConfiguration;\n /** Pass the AppInsights connection string to the agent evaluation for the evaluation results and the errors logs. */\n appInsightsConnectionString: string;\n}\n\nexport function agentEvaluationRequestSerializer(item: AgentEvaluationRequest): any {\n return {\n runId: item[\"runId\"],\n threadId: item[\"threadId\"],\n evaluators: evaluatorConfigurationRecordSerializer(item[\"evaluators\"]),\n samplingConfiguration: !item[\"samplingConfiguration\"]\n ? item[\"samplingConfiguration\"]\n : agentEvaluationSamplingConfigurationSerializer(item[\"samplingConfiguration\"]),\n redactionConfiguration: !item[\"redactionConfiguration\"]\n ? item[\"redactionConfiguration\"]\n : agentEvaluationRedactionConfigurationSerializer(item[\"redactionConfiguration\"]),\n appInsightsConnectionString: item[\"appInsightsConnectionString\"],\n };\n}\n\n/** Definition for sampling strategy. */\nexport interface AgentEvaluationSamplingConfiguration {\n /** Name of the sampling strategy. */\n name: string;\n /** Percentage of sampling per hour (0-100). */\n samplingPercent: number;\n /** Maximum request rate per hour (0 to 1000). */\n maxRequestRate: number;\n}\n\nexport function agentEvaluationSamplingConfigurationSerializer(\n item: AgentEvaluationSamplingConfiguration,\n): any {\n return {\n name: item[\"name\"],\n samplingPercent: item[\"samplingPercent\"],\n maxRequestRate: item[\"maxRequestRate\"],\n };\n}\n\n/** The redaction configuration will allow the user to control what is redacted. */\nexport interface AgentEvaluationRedactionConfiguration {\n /** Redact score properties. If not specified, the default is to redact in production. */\n redactScoreProperties?: boolean;\n}\n\nexport function agentEvaluationRedactionConfigurationSerializer(\n item: AgentEvaluationRedactionConfiguration,\n): any {\n return { redactScoreProperties: item[\"redactScoreProperties\"] };\n}\n\n/** Evaluation response for agent evaluation run. */\nexport interface AgentEvaluation {\n /** Identifier of the agent evaluation run. */\n id: string;\n /** Status of the agent evaluation. Options: Running, Completed, Failed. */\n status: string;\n /** The reason of the request failure for the long running process, if applicable. */\n error?: string;\n /** The agent evaluation result. */\n result?: AgentEvaluationResult[];\n}\n\nexport function agentEvaluationDeserializer(item: any): AgentEvaluation {\n return {\n id: item[\"id\"],\n status: item[\"status\"],\n error: item[\"error\"],\n result: !item[\"result\"]\n ? item[\"result\"]\n : agentEvaluationResultArrayDeserializer(item[\"result\"]),\n };\n}\n\nexport function agentEvaluationResultArrayDeserializer(\n result: Array<AgentEvaluationResult>,\n): any[] {\n return result.map((item) => {\n return agentEvaluationResultDeserializer(item);\n });\n}\n\n/** Result for the agent evaluation evaluator run. */\nexport interface AgentEvaluationResult {\n /** Evaluator's name. This is the name of the evaluator that was used to evaluate the agent's completion. */\n evaluator: string;\n /** Score of the given evaluator. No restriction on range. */\n score: number;\n /** Status of the evaluator result. Options: Running, Completed, Failed, NotApplicable. */\n status: string;\n /** Reasoning for the evaluation result. */\n reason?: string;\n /** Version of the evaluator that was used to evaluate the agent's completion. */\n version?: string;\n /** The unique identifier of the thread. */\n threadId?: string;\n /** The unique identifier of the run. */\n runId: string;\n /** A string explaining why there was an error, if applicable. */\n error?: string;\n /** Additional properties relevant to the evaluator. These will differ between evaluators. */\n additionalDetails?: Record<string, string>;\n}\n\nexport function agentEvaluationResultDeserializer(item: any): AgentEvaluationResult {\n return {\n evaluator: item[\"evaluator\"],\n score: item[\"score\"],\n status: item[\"status\"],\n reason: item[\"reason\"],\n version: item[\"version\"],\n threadId: item[\"threadId\"],\n runId: item[\"runId\"],\n error: item[\"error\"],\n additionalDetails: item[\"additionalDetails\"],\n };\n}\n\n/** Paged collection of DatasetVersion items */\nexport interface _PagedDatasetVersion {\n /** The DatasetVersion items on this page */\n value: DatasetVersionUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedDatasetVersionDeserializer(item: any): _PagedDatasetVersion {\n return {\n value: datasetVersionUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function datasetVersionUnionArraySerializer(result: Array<DatasetVersionUnion>): any[] {\n return result.map((item) => {\n return datasetVersionUnionSerializer(item);\n });\n}\n\nexport function datasetVersionUnionArrayDeserializer(result: Array<DatasetVersionUnion>): any[] {\n return result.map((item) => {\n return datasetVersionUnionDeserializer(item);\n });\n}\n\n/** DatasetVersion Definition */\nexport interface DatasetVersion {\n /** URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */\n dataUri: string;\n /** Dataset type */\n /** The discriminator possible values: uri_file, uri_folder */\n type: DatasetType;\n /** Indicates if dataset is reference only or managed by dataset service. If true, the underlying data will be deleted when the dataset version is deleted */\n readonly isReference?: boolean;\n /** Asset ID, a unique identifier for the asset */\n readonly id?: string;\n /** The name of the resource */\n readonly name: string;\n /** The version of the resource */\n readonly version: string;\n /** The asset description text. */\n description?: string;\n /** Tag dictionary. Tags can be added, removed, and updated. */\n tags?: Record<string, string>;\n}\n\nexport function datasetVersionSerializer(item: DatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function datasetVersionDeserializer(item: any): DatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Alias for DatasetVersionUnion */\nexport type DatasetVersionUnion = FileDatasetVersion | FolderDatasetVersion | DatasetVersion;\n\nexport function datasetVersionUnionSerializer(item: DatasetVersionUnion): any {\n switch (item.type) {\n case \"uri_file\":\n return fileDatasetVersionSerializer(item as FileDatasetVersion);\n\n case \"uri_folder\":\n return folderDatasetVersionSerializer(item as FolderDatasetVersion);\n\n default:\n return datasetVersionSerializer(item);\n }\n}\n\nexport function datasetVersionUnionDeserializer(item: any): DatasetVersionUnion {\n switch (item.type) {\n case \"uri_file\":\n return fileDatasetVersionDeserializer(item as FileDatasetVersion);\n\n case \"uri_folder\":\n return folderDatasetVersionDeserializer(item as FolderDatasetVersion);\n\n default:\n return datasetVersionDeserializer(item);\n }\n}\n\n/** Enum to determine the type of data. */\nexport type DatasetType = \"uri_file\" | \"uri_folder\";\n\n/** FileDatasetVersion Definition */\nexport interface FileDatasetVersion extends DatasetVersion {\n /** Dataset type */\n type: \"uri_file\";\n}\n\nexport function fileDatasetVersionSerializer(item: FileDatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function fileDatasetVersionDeserializer(item: any): FileDatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** FileDatasetVersion Definition */\nexport interface FolderDatasetVersion extends DatasetVersion {\n /** Dataset type */\n type: \"uri_folder\";\n}\n\nexport function folderDatasetVersionSerializer(item: FolderDatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function folderDatasetVersionDeserializer(item: any): FolderDatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Represents a request for a pending upload. */\nexport interface PendingUploadRequest {\n /** If PendingUploadId is not provided, a random GUID will be used. */\n pendingUploadId?: string;\n /** Name of Azure blob storage connection to use for generating temporary SAS token */\n connectionName?: string;\n /** BlobReference is the only supported type. */\n pendingUploadType: \"BlobReference\";\n}\n\nexport function pendingUploadRequestSerializer(item: PendingUploadRequest): any {\n return {\n pendingUploadId: item[\"pendingUploadId\"],\n connectionName: item[\"connectionName\"],\n pendingUploadType: item[\"pendingUploadType\"],\n };\n}\n\n/** Represents the response for a pending upload request */\nexport interface PendingUploadResponse {\n /** Container-level read, write, list SAS. */\n blobReference: BlobReference;\n /** ID for this upload request. */\n pendingUploadId: string;\n /** Version of asset to be created if user did not specify version when initially creating upload */\n version?: string;\n /** BlobReference is the only supported type */\n pendingUploadType: \"BlobReference\";\n}\n\nexport function pendingUploadResponseDeserializer(item: any): PendingUploadResponse {\n return {\n blobReference: blobReferenceDeserializer(item[\"blobReference\"]),\n pendingUploadId: item[\"pendingUploadId\"],\n version: item[\"version\"],\n pendingUploadType: item[\"pendingUploadType\"],\n };\n}\n\n/** Blob reference details. */\nexport interface BlobReference {\n /** Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path */\n blobUri: string;\n /** ARM ID of the storage account to use. */\n storageAccountArmId: string;\n /** Credential info to access the storage account. */\n credential: SasCredential;\n}\n\nexport function blobReferenceDeserializer(item: any): BlobReference {\n return {\n blobUri: item[\"blobUri\"],\n storageAccountArmId: item[\"storageAccountArmId\"],\n credential: sasCredentialDeserializer(item[\"credential\"]),\n };\n}\n\n/** SAS Credential definition */\nexport interface SasCredential {\n /** SAS uri */\n readonly sasUri: string;\n /** Type of credential */\n readonly type: \"SAS\";\n}\n\nexport function sasCredentialDeserializer(item: any): SasCredential {\n return {\n sasUri: item[\"sasUri\"],\n type: item[\"type\"],\n };\n}\n\n/** model interface _GetCredentialsRequest */\nexport interface _GetCredentialsRequest {}\n\nexport function _getCredentialsRequestSerializer(item: _GetCredentialsRequest): any {\n return item;\n}\n\n/** Represents a reference to a blob for consumption */\nexport interface AssetCredentialResponse {\n /** Credential info to access the storage account. */\n blobReference: BlobReference;\n}\n\nexport function assetCredentialResponseDeserializer(item: any): AssetCredentialResponse {\n return {\n blobReference: blobReferenceDeserializer(item[\"blobReference\"]),\n };\n}\n\n/** Paged collection of Index items */\nexport interface _PagedIndex {\n /** The Index items on this page */\n value: IndexUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedIndexDeserializer(item: any): _PagedIndex {\n return {\n value: indexUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function indexUnionArraySerializer(result: Array<IndexUnion>): any[] {\n return result.map((item) => {\n return indexUnionSerializer(item);\n });\n}\n\nexport function indexUnionArrayDeserializer(result: Array<IndexUnion>): any[] {\n return result.map((item) => {\n return indexUnionDeserializer(item);\n });\n}\n\n/** Index resource Definition */\nexport interface Index {\n /** Type of index */\n /** The discriminator possible values: AzureSearch, ManagedAzureSearch, CosmosDBNoSqlVectorStore */\n type: IndexType;\n /** Asset ID, a unique identifier for the asset */\n readonly id?: string;\n /** The name of the resource */\n readonly name: string;\n /** The version of the resource */\n readonly version: string;\n /** The asset description text. */\n description?: string;\n /** Tag dictionary. Tags can be added, removed, and updated. */\n tags?: Record<string, string>;\n}\n\nexport function indexSerializer(item: Index): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function indexDeserializer(item: any): Index {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Alias for IndexUnion */\nexport type IndexUnion = AzureAISearchIndex | ManagedAzureAISearchIndex | CosmosDBIndex | Index;\n\nexport function indexUnionSerializer(item: IndexUnion): any {\n switch (item.type) {\n case \"AzureSearch\":\n return azureAISearchIndexSerializer(item as AzureAISearchIndex);\n\n case \"ManagedAzureSearch\":\n return managedAzureAISearchIndexSerializer(item as ManagedAzureAISearchIndex);\n\n case \"CosmosDBNoSqlVectorStore\":\n return cosmosDBIndexSerializer(item as CosmosDBIndex);\n\n default:\n return indexSerializer(item);\n }\n}\n\nexport function indexUnionDeserializer(item: any): IndexUnion {\n switch (item.type) {\n case \"AzureSearch\":\n return azureAISearchIndexDeserializer(item as AzureAISearchIndex);\n\n case \"ManagedAzureSearch\":\n return managedAzureAISearchIndexDeserializer(item as ManagedAzureAISearchIndex);\n\n case \"CosmosDBNoSqlVectorStore\":\n return cosmosDBIndexDeserializer(item as CosmosDBIndex);\n\n default:\n return indexDeserializer(item);\n }\n}\n\n/** Type of IndexType */\nexport type IndexType = \"AzureSearch\" | \"CosmosDBNoSqlVectorStore\" | \"ManagedAzureSearch\";\n\n/** Azure AI Search Index Definition */\nexport interface AzureAISearchIndex extends Index {\n /** Type of index */\n type: \"AzureSearch\";\n /** Name of connection to Azure AI Search */\n connectionName: string;\n /** Name of index in Azure AI Search resource to attach */\n indexName: string;\n}\n\nexport function azureAISearchIndexSerializer(item: AzureAISearchIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n indexName: item[\"indexName\"],\n };\n}\n\nexport function azureAISearchIndexDeserializer(item: any): AzureAISearchIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n indexName: item[\"indexName\"],\n };\n}\n\n/** Managed Azure AI Search Index Definition */\nexport interface ManagedAzureAISearchIndex extends Index {\n /** Type of index */\n type: \"ManagedAzureSearch\";\n /** Vector store id of managed index */\n vectorStoreId: string;\n}\n\nexport function managedAzureAISearchIndexSerializer(item: ManagedAzureAISearchIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n vectorStoreId: item[\"vectorStoreId\"],\n };\n}\n\nexport function managedAzureAISearchIndexDeserializer(item: any): ManagedAzureAISearchIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n vectorStoreId: item[\"vectorStoreId\"],\n };\n}\n\n/** CosmosDB Vector Store Index Definition */\nexport interface CosmosDBIndex extends Index {\n /** Type of index */\n type: \"CosmosDBNoSqlVectorStore\";\n /** Name of connection to CosmosDB */\n connectionName: string;\n /** Name of the CosmosDB Database */\n databaseName: string;\n /** Name of CosmosDB Container */\n containerName: string;\n /** Embedding model configuration */\n embeddingConfiguration: EmbeddingConfiguration;\n}\n\nexport function cosmosDBIndexSerializer(item: CosmosDBIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n databaseName: item[\"databaseName\"],\n containerName: item[\"containerName\"],\n embeddingConfiguration: embeddingConfigurationSerializer(item[\"embeddingConfiguration\"]),\n };\n}\n\nexport function cosmosDBIndexDeserializer(item: any): CosmosDBIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n databaseName: item[\"databaseName\"],\n containerName: item[\"containerName\"],\n embeddingConfiguration: embeddingConfigurationDeserializer(item[\"embeddingConfiguration\"]),\n };\n}\n\n/** Embedding configuration class */\nexport interface EmbeddingConfiguration {\n /** Deployment name of embedding model. It can point to a model deployment either in the parent AIServices or a connection. */\n modelDeploymentName: string;\n /** Embedding field */\n embeddingField: string;\n}\n\nexport function embeddingConfigurationSerializer(item: EmbeddingConfiguration): any {\n return {\n modelDeploymentName: item[\"modelDeploymentName\"],\n embeddingField: item[\"embeddingField\"],\n };\n}\n\nexport function embeddingConfigurationDeserializer(item: any): EmbeddingConfiguration {\n return {\n modelDeploymentName: item[\"modelDeploymentName\"],\n embeddingField: item[\"embeddingField\"],\n };\n}\n\n/** Model Deployment Definition */\nexport interface Deployment {\n /** The type of the deployment */\n /** The discriminator possible values: ModelDeployment */\n type: DeploymentType;\n /** Name of the deployment */\n readonly name: string;\n}\n\nexport function deploymentDeserializer(item: any): Deployment {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n };\n}\n\n/** Alias for DeploymentUnion */\nexport type DeploymentUnion = ModelDeployment | Deployment;\n\nexport function deploymentUnionDeserializer(item: any): DeploymentUnion {\n switch (item.type) {\n case \"ModelDeployment\":\n return modelDeploymentDeserializer(item as ModelDeployment);\n\n default:\n return deploymentDeserializer(item);\n }\n}\n\n/** Type of DeploymentType */\nexport type DeploymentType = \"ModelDeployment\";\n\n/** Model Deployment Definition */\nexport interface ModelDeployment extends Deployment {\n /** The type of the deployment */\n type: \"ModelDeployment\";\n /** Publisher-specific name of the deployed model */\n readonly modelName: string;\n /** Publisher-specific version of the deployed model */\n readonly modelVersion: string;\n /** Name of the deployed model's publisher */\n readonly modelPublisher: string;\n /** Capabilities of deployed model */\n readonly capabilities: Record<string, string>;\n /** Sku of the model deployment */\n readonly sku: Sku;\n /** Name of the connection the deployment comes from */\n readonly connectionName?: string;\n}\n\nexport function modelDeploymentDeserializer(item: any): ModelDeployment {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n modelName: item[\"modelName\"],\n modelVersion: item[\"modelVersion\"],\n modelPublisher: item[\"modelPublisher\"],\n capabilities: item[\"capabilities\"],\n sku: skuDeserializer(item[\"sku\"]),\n connectionName: item[\"connectionName\"],\n };\n}\n\n/** Sku information */\nexport interface Sku {\n /** Sku capacity */\n capacity: number;\n /** Sku family */\n family: string;\n /** Sku name */\n name: string;\n /** Sku size */\n size: string;\n /** Sku tier */\n tier: string;\n}\n\nexport function skuDeserializer(item: any): Sku {\n return {\n capacity: item[\"capacity\"],\n family: item[\"family\"],\n name: item[\"name\"],\n size: item[\"size\"],\n tier: item[\"tier\"],\n };\n}\n\n/** Paged collection of Deployment items */\nexport interface _PagedDeployment {\n /** The Deployment items on this page */\n value: DeploymentUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedDeploymentDeserializer(item: any): _PagedDeployment {\n return {\n value: deploymentUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function deploymentUnionArrayDeserializer(result: Array<DeploymentUnion>): any[] {\n return result.map((item) => {\n return deploymentUnionDeserializer(item);\n });\n}\n\n/** Red team details. */\nexport interface RedTeam {\n /** Identifier of the red team. */\n readonly id: string;\n /** Name of the red-team scan. */\n scanName?: string;\n /** Number of simulation rounds. */\n numTurns: number;\n /** List of attack strategies or nested lists of attack strategies. */\n attackStrategies: AttackStrategy[];\n /** Simulation-only or Simulation + Evaluation. Default false, if true the scan outputs conversation not evaluation result. */\n simulationOnly: boolean;\n /** List of risk categories to generate attack objectives for. */\n riskCategories: RiskCategory[];\n /** Application scenario for the red team operation, to generate scenario specific attacks. */\n applicationScenario?: string;\n /** Red team's tags. Unlike properties, tags are fully mutable. */\n tags?: Record<string, string>;\n /** Red team's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */\n properties?: Record<string, string>;\n /** Status of the red-team. It is set by service and is read-only. */\n readonly status?: string;\n /** Target configuration for the red-team run. */\n targetConfig: TargetConfigUnion;\n}\n\nexport function redTeamSerializer(item: RedTeam): any {\n return {\n scanName: item[\"scanName\"],\n numTurns: item[\"numTurns\"],\n attackStrategies: item[\"attackStrategies\"].map((p: any) => {\n return p;\n }),\n simulationOnly: item[\"simulationOnly\"],\n riskCategories: item[\"riskCategories\"].map((p: any) => {\n return p;\n }),\n applicationScenario: item[\"applicationScenario\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n targetConfig: targetConfigUnionSerializer(item[\"targetConfig\"]),\n };\n}\n\nexport function redTeamDeserializer(item: any): RedTeam {\n return {\n id: item[\"id\"],\n scanName: item[\"scanName\"],\n numTurns: item[\"numTurns\"],\n attackStrategies: item[\"attackStrategies\"].map((p: any) => {\n return p;\n }),\n simulationOnly: item[\"simulationOnly\"],\n riskCategories: item[\"riskCategories\"].map((p: any) => {\n return p;\n }),\n applicationScenario: item[\"applicationScenario\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n status: item[\"status\"],\n targetConfig: targetConfigUnionDeserializer(item[\"targetConfig\"]),\n };\n}\n\n/** Strategies for attacks. */\nexport type AttackStrategy =\n | \"easy\"\n | \"moderate\"\n | \"difficult\"\n | \"ascii_art\"\n | \"ascii_smuggler\"\n | \"atbash\"\n | \"base64\"\n | \"binary\"\n | \"caesar\"\n | \"character_space\"\n | \"jailbreak\"\n | \"ansii_attack\"\n | \"character_swap\"\n | \"suffix_append\"\n | \"string_join\"\n | \"unicode_confusable\"\n | \"unicode_substitution\"\n | \"diacritic\"\n | \"flip\"\n | \"leetspeak\"\n | \"rot13\"\n | \"morse\"\n | \"url\"\n | \"baseline\";\n/** Risk category for the attack objective. */\nexport type RiskCategory = \"HateUnfairness\" | \"Violence\" | \"Sexual\" | \"SelfHarm\";\n\n/** Abstract class for target configuration. */\nexport interface TargetConfig {\n /** Type of the model configuration. */\n /** The discriminator possible values: AzureOpenAIModel */\n type: string;\n}\n\nexport function targetConfigSerializer(item: TargetConfig): any {\n return { type: item[\"type\"] };\n}\n\nexport function targetConfigDeserializer(item: any): TargetConfig {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for TargetConfigUnion */\nexport type TargetConfigUnion = AzureOpenAIModelConfiguration | TargetConfig;\n\nexport function targetConfigUnionSerializer(item: TargetConfigUnion): any {\n switch (item.type) {\n case \"AzureOpenAIModel\":\n return azureOpenAIModelConfigurationSerializer(item as AzureOpenAIModelConfiguration);\n\n default:\n return targetConfigSerializer(item);\n }\n}\n\nexport function targetConfigUnionDeserializer(item: any): TargetConfigUnion {\n switch (item.type) {\n case \"AzureOpenAIModel\":\n return azureOpenAIModelConfigurationDeserializer(item as AzureOpenAIModelConfiguration);\n\n default:\n return targetConfigDeserializer(item);\n }\n}\n\n/** Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */\nexport interface AzureOpenAIModelConfiguration extends TargetConfig {\n /** Type of the model configuration. */\n readonly type: \"AzureOpenAIModel\";\n /** Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (i.e. `my-aoai-connection/gpt-4o`. */\n modelDeploymentName: string;\n}\n\nexport function azureOpenAIModelConfigurationSerializer(item: AzureOpenAIModelConfiguration): any {\n return { modelDeploymentName: item[\"modelDeploymentName\"] };\n}\n\nexport function azureOpenAIModelConfigurationDeserializer(\n item: any,\n): AzureOpenAIModelConfiguration {\n return {\n type: item[\"type\"],\n modelDeploymentName: item[\"modelDeploymentName\"],\n };\n}\n\n/** Paged collection of RedTeam items */\nexport interface _PagedRedTeam {\n /** The RedTeam items on this page */\n value: RedTeam[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedRedTeamDeserializer(item: any): _PagedRedTeam {\n return {\n value: redTeamArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function redTeamArraySerializer(result: Array<RedTeam>): any[] {\n return result.map((item) => {\n return redTeamSerializer(item);\n });\n}\n\nexport function redTeamArrayDeserializer(result: Array<RedTeam>): any[] {\n return result.map((item) => {\n return redTeamDeserializer(item);\n });\n}\n\n/** The type of pending upload. */\nexport type PendingUploadType = \"None\" | \"BlobReference\";\n\n/** Azure AI Projects API versions */\nexport enum KnownVersions {\n /** Azure AI API version 2025-05-01. */\n V20250501 = \"2025-05-01\",\n /** Azure AI API version 2025-05-15-preview. */\n V20250515Preview = \"2025-05-15-preview\",\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,sEAAsE;AACtE,yDAAyD;;;AAuCzD,wDAYC;AAED,kEAIC;AAWD,4EAoBC;AAaD,sEAKC;AAQD,wEAIC;AAUD,oEAKC;AAUD,gEAKC;AAQD,0FAIC;AAUD,oEAKC;AAED,kEAIC;AA0BD,oDASC;AAED,wDAWC;AASD,kDAEC;AAED,sDAIC;AAKD,4DAQC;AAED,gEAUC;AAUD,wDAEC;AAED,4DAKC;AAED,wFAQC;AAED,4FAQC;AAYD,4EAMC;AAED,gFAMC;AAUD,oEAKC;AAED,8DAIC;AAED,kEAIC;AAkBD,4EAaC;AAYD,wGAQC;AAQD,0GAIC;AAcD,kEASC;AAED,wFAMC;AA0BD,8EAaC;AAUD,4EAKC;AAED,gFAIC;AAED,oFAIC;AAyBD,4DAQC;AAED,gEAYC;AAKD,sEAWC;AAED,0EAWC;AAWD,oEAQC;AAED,wEAYC;AAQD,wEAQC;AAED,4EAYC;AAYD,wEAMC;AAcD,8EAOC;AAYD,8DAMC;AAUD,8DAKC;AAQD,kFAIC;AAUD,0DAKC;AAED,8DAIC;AAED,kEAIC;AAmBD,0CAMC;AAED,8CAS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B,OAAO,yCAAyC,CAAC,IAAqC,CAAC,CAAC;QAE1F;YACE,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;AACH,CAAC;AAUD,SAAgB,uCAAuC,CAAC,IAAmC;IACzF,OAAO,EAAE,mBAAmB,EAAE,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAC;AAC9D,CAAC;AAED,SAAgB,yCAAyC,CACvD,IAAS;IAET,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,mBAAmB,EAAE,IAAI,CAAC,qBAAqB,CAAC;KACjD,CAAC;AACJ,CAAC;AAUD,SAAgB,yBAAyB,CAAC,IAAS;IACjD,OAAO;QACL,KAAK,EAAE,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9C,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,SAAgB,sBAAsB,CAAC,MAAsB;IAC3D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,wBAAwB,CAAC,MAAsB;IAC7D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC;AAKD,qCAAqC;AACrC,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,uCAAuC;IACvC,yCAAwB,CAAA;IACxB,+CAA+C;IAC/C,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/** Response from the list and get connections operations */\nexport interface Connection {\n /** The friendly name of the connection, provided by the user. */\n readonly name: string;\n /** A unique identifier for the connection, generated by the service */\n readonly id: string;\n /** Category of the connection */\n readonly type: ConnectionType;\n /** The connection URL to be used for this service */\n readonly target: string;\n /** Whether the connection is tagged as the default connection of its type */\n readonly isDefault: boolean;\n /** The credentials used by the connection */\n readonly credentials: BaseCredentialsUnion;\n /** Metadata of the connection */\n readonly metadata: Record<string, string>;\n}\n\n/** The Type (or category) of the connection */\nexport type ConnectionType =\n | \"AzureOpenAI\"\n | \"AzureBlob\"\n | \"AzureStorageAccount\"\n | \"CognitiveSearch\"\n | \"CosmosDB\"\n | \"ApiKey\"\n | \"AppConfig\"\n | \"AppInsights\"\n | \"CustomKeys\";\n\n/** A base class for connection credentials */\nexport interface BaseCredentials {\n /** The type of credential used by the connection */\n /** The discriminator possible values: ApiKey, AAD, CustomKeys, SAS, None */\n readonly type: CredentialType;\n}\n\nexport function connectionDeserializer(item: any): Connection {\n return {\n name: item[\"name\"],\n id: item[\"id\"],\n type: item[\"type\"],\n target: item[\"target\"],\n metadata: item[\"metadata\"],\n isDefault: item[\"isDefault\"],\n credentials: item[\"credentials\"]\n ? baseCredentialsUnionDeserializer(item[\"credentials\"])\n : { type: \"None\" },\n };\n}\n\nexport function baseCredentialsDeserializer(item: any): BaseCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for BaseCredentialsUnion */\nexport type BaseCredentialsUnion =\n | ApiKeyCredentials\n | EntraIDCredentials\n | CustomCredential\n | SASCredentials\n | NoAuthenticationCredentials\n | BaseCredentials;\n\nexport function baseCredentialsUnionDeserializer(item: any): BaseCredentialsUnion {\n switch (item.type) {\n case \"ApiKey\":\n return apiKeyCredentialsDeserializer(item as ApiKeyCredentials);\n\n case \"AAD\":\n return entraIDCredentialsDeserializer(item as EntraIDCredentials);\n\n case \"CustomKeys\":\n return customCredentialDeserializer(item as CustomCredential);\n\n case \"SAS\":\n return sasCredentialsDeserializer(item as SASCredentials);\n\n case \"None\":\n return noAuthenticationCredentialsDeserializer(item as NoAuthenticationCredentials);\n\n default:\n return baseCredentialsDeserializer(item);\n }\n}\n\n/** The credential type used by the connection */\nexport type CredentialType = \"ApiKey\" | \"AAD\" | \"SAS\" | \"CustomKeys\" | \"None\";\n\n/** API Key Credential definition */\nexport interface ApiKeyCredentials extends BaseCredentials {\n /** The credentail type */\n readonly type: \"ApiKey\";\n /** API Key */\n readonly apiKey?: string;\n}\n\nexport function apiKeyCredentialsDeserializer(item: any): ApiKeyCredentials {\n return {\n type: item[\"type\"],\n apiKey: item[\"key\"],\n };\n}\n\n/** Entra ID credential definition */\nexport interface EntraIDCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"AAD\";\n}\n\nexport function entraIDCredentialsDeserializer(item: any): EntraIDCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Custom credential definition */\nexport interface CustomCredential extends BaseCredentials {\n /** The credential type */\n readonly type: \"CustomKeys\";\n /** The credential type */\n readonly keys: Record<string, string>;\n}\n\nexport function customCredentialDeserializer(item: any): CustomCredential {\n return {\n type: item[\"type\"],\n keys: item[\"keys\"],\n };\n}\n\n/** Shared Access Signature (SAS) credential definition */\nexport interface SASCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"SAS\";\n /** SAS token */\n readonly sasToken?: string;\n}\n\nexport function sasCredentialsDeserializer(item: any): SASCredentials {\n return {\n type: item[\"type\"],\n sasToken: item[\"SAS\"],\n };\n}\n\n/** Credentials that do not require authentication */\nexport interface NoAuthenticationCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"None\";\n}\n\nexport function noAuthenticationCredentialsDeserializer(item: any): NoAuthenticationCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Paged collection of Connection items */\nexport interface _PagedConnection {\n /** The Connection items on this page */\n value: Connection[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedConnectionDeserializer(item: any): _PagedConnection {\n return {\n value: connectionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function connectionArrayDeserializer(result: Array<Connection>): any[] {\n return result.map((item) => {\n return connectionDeserializer(item);\n });\n}\n\n/** Evaluation Definition */\nexport interface Evaluation {\n /** Identifier of the evaluation. */\n readonly name: string;\n /** Data for evaluation. */\n data: InputDataUnion;\n /** Display Name for evaluation. It helps to find the evaluation easily in AI Foundry. It does not need to be unique. */\n displayName?: string;\n /** Description of the evaluation. It can be used to store additional information about the evaluation and is mutable. */\n description?: string;\n /** Status of the evaluation. It is set by service and is read-only. */\n readonly status?: string;\n /** Evaluation's tags. Unlike properties, tags are fully mutable. */\n tags?: Record<string, string>;\n /** Evaluation's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */\n properties?: Record<string, string>;\n /** Evaluators to be used for the evaluation. */\n evaluators: Record<string, EvaluatorConfiguration>;\n}\n\n/** optional id property for Evaluation, which shouldbe used for create operation */\nexport type EvaluationWithOptionalName = Omit<Evaluation, \"name\"> & { name?: string };\n\n// optional name property\nexport function evaluationSerializer(item: EvaluationWithOptionalName): any {\n return {\n data: inputDataUnionSerializer(item[\"data\"]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n evaluators: evaluatorConfigurationRecordSerializer(item[\"evaluators\"]),\n };\n}\n\nexport function evaluationDeserializer(item: any): Evaluation {\n return {\n name: item[\"id\"],\n data: inputDataUnionDeserializer(item[\"data\"]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n status: item[\"status\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n evaluators: evaluatorConfigurationRecordDeserializer(item[\"evaluators\"]),\n };\n}\n\n/** Abstract data class. */\nexport interface InputData {\n /** Type of the data */\n /** The discriminator possible values: dataset */\n type: string;\n}\n\nexport function inputDataSerializer(item: InputData): any {\n return { type: item[\"type\"] };\n}\n\nexport function inputDataDeserializer(item: any): InputData {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for InputDataUnion */\nexport type InputDataUnion = InputDataset | InputData;\n\nexport function inputDataUnionSerializer(item: InputDataUnion): any {\n switch (item.type) {\n case \"dataset\":\n return inputDatasetSerializer(item as InputDataset);\n\n default:\n return inputDataSerializer(item);\n }\n}\n\nexport function inputDataUnionDeserializer(_item: any): InputDataUnion {\n const item = _item || {};\n\n switch (item.type) {\n case \"dataset\":\n return inputDatasetDeserializer(item as InputDataset);\n\n default:\n return inputDataDeserializer(item);\n }\n}\n\n/** Dataset as source for evaluation. */\nexport interface InputDataset extends InputData {\n /** Type of the data */\n type: \"dataset\";\n /** Evaluation input data */\n id: string;\n}\n\nexport function inputDatasetSerializer(item: InputDataset): any {\n return { type: item[\"type\"], id: item[\"id\"] };\n}\n\nexport function inputDatasetDeserializer(item: any): InputDataset {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n };\n}\n\nexport function evaluatorConfigurationRecordSerializer(\n item: Record<string, EvaluatorConfiguration>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : evaluatorConfigurationSerializer(item[key]);\n });\n return result;\n}\n\nexport function evaluatorConfigurationRecordDeserializer(\n item: Record<string, any>,\n): Record<string, EvaluatorConfiguration> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : evaluatorConfigurationDeserializer(item[key]);\n });\n return result;\n}\n\n/** Evaluator Configuration */\nexport interface EvaluatorConfiguration {\n /** Identifier of the evaluator. */\n id: string;\n /** Initialization parameters of the evaluator. */\n initParams?: Record<string, any>;\n /** Data parameters of the evaluator. */\n dataMapping?: Record<string, string>;\n}\n\nexport function evaluatorConfigurationSerializer(item: EvaluatorConfiguration): any {\n return {\n id: item[\"id\"],\n initParams: item[\"initParams\"],\n dataMapping: item[\"dataMapping\"],\n };\n}\n\nexport function evaluatorConfigurationDeserializer(item: any): EvaluatorConfiguration {\n return {\n id: item[\"id\"],\n initParams: item[\"initParams\"],\n dataMapping: item[\"dataMapping\"],\n };\n}\n\n/** Paged collection of Evaluation items */\nexport interface _PagedEvaluation {\n /** The Evaluation items on this page */\n value: Evaluation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedEvaluationDeserializer(item: any): _PagedEvaluation {\n return {\n value: evaluationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function evaluationArraySerializer(result: Array<Evaluation>): any[] {\n return result.map((item) => {\n return evaluationSerializer(item);\n });\n}\n\nexport function evaluationArrayDeserializer(result: Array<Evaluation>): any[] {\n return result.map((item) => {\n return evaluationDeserializer(item);\n });\n}\n\n/** Evaluation request for agent run. */\nexport interface AgentEvaluationRequest {\n /** Identifier of the agent run. */\n runId: string;\n /** Identifier of the agent thread. This field is mandatory currently, but it will be optional in the future. */\n threadId?: string;\n /** Evaluators to be used for the evaluation. */\n evaluators: Record<string, EvaluatorConfiguration>;\n /** Sampling configuration for the evaluation. */\n samplingConfiguration?: AgentEvaluationSamplingConfiguration;\n /** Redaction configuration for the evaluation. */\n redactionConfiguration?: AgentEvaluationRedactionConfiguration;\n /** Pass the AppInsights connection string to the agent evaluation for the evaluation results and the errors logs. */\n appInsightsConnectionString: string;\n}\n\nexport function agentEvaluationRequestSerializer(item: AgentEvaluationRequest): any {\n return {\n runId: item[\"runId\"],\n threadId: item[\"threadId\"],\n evaluators: evaluatorConfigurationRecordSerializer(item[\"evaluators\"]),\n samplingConfiguration: !item[\"samplingConfiguration\"]\n ? item[\"samplingConfiguration\"]\n : agentEvaluationSamplingConfigurationSerializer(item[\"samplingConfiguration\"]),\n redactionConfiguration: !item[\"redactionConfiguration\"]\n ? item[\"redactionConfiguration\"]\n : agentEvaluationRedactionConfigurationSerializer(item[\"redactionConfiguration\"]),\n appInsightsConnectionString: item[\"appInsightsConnectionString\"],\n };\n}\n\n/** Definition for sampling strategy. */\nexport interface AgentEvaluationSamplingConfiguration {\n /** Name of the sampling strategy. */\n name: string;\n /** Percentage of sampling per hour (0-100). */\n samplingPercent: number;\n /** Maximum request rate per hour (0 to 1000). */\n maxRequestRate: number;\n}\n\nexport function agentEvaluationSamplingConfigurationSerializer(\n item: AgentEvaluationSamplingConfiguration,\n): any {\n return {\n name: item[\"name\"],\n samplingPercent: item[\"samplingPercent\"],\n maxRequestRate: item[\"maxRequestRate\"],\n };\n}\n\n/** The redaction configuration will allow the user to control what is redacted. */\nexport interface AgentEvaluationRedactionConfiguration {\n /** Redact score properties. If not specified, the default is to redact in production. */\n redactScoreProperties?: boolean;\n}\n\nexport function agentEvaluationRedactionConfigurationSerializer(\n item: AgentEvaluationRedactionConfiguration,\n): any {\n return { redactScoreProperties: item[\"redactScoreProperties\"] };\n}\n\n/** Evaluation response for agent evaluation run. */\nexport interface AgentEvaluation {\n /** Identifier of the agent evaluation run. */\n id: string;\n /** Status of the agent evaluation. Options: Running, Completed, Failed. */\n status: string;\n /** The reason of the request failure for the long running process, if applicable. */\n error?: string;\n /** The agent evaluation result. */\n result?: AgentEvaluationResult[];\n}\n\nexport function agentEvaluationDeserializer(item: any): AgentEvaluation {\n return {\n id: item[\"id\"],\n status: item[\"status\"],\n error: item[\"error\"],\n result: !item[\"result\"]\n ? item[\"result\"]\n : agentEvaluationResultArrayDeserializer(item[\"result\"]),\n };\n}\n\nexport function agentEvaluationResultArrayDeserializer(\n result: Array<AgentEvaluationResult>,\n): any[] {\n return result.map((item) => {\n return agentEvaluationResultDeserializer(item);\n });\n}\n\n/** Result for the agent evaluation evaluator run. */\nexport interface AgentEvaluationResult {\n /** Evaluator's name. This is the name of the evaluator that was used to evaluate the agent's completion. */\n evaluator: string;\n /** Identifier of the evaluator. */\n evaluatorId: string;\n /** Score of the given evaluator. No restriction on range. */\n score: number;\n /** Status of the evaluator result. Options: Running, Completed, Failed, NotApplicable. */\n status: string;\n /** Reasoning for the evaluation result. */\n reason?: string;\n /** Version of the evaluator that was used to evaluate the agent's completion. */\n version?: string;\n /** The unique identifier of the thread. */\n threadId?: string;\n /** The unique identifier of the run. */\n runId: string;\n /** A string explaining why there was an error, if applicable. */\n error?: string;\n /** Additional properties relevant to the evaluator. These will differ between evaluators. */\n additionalDetails?: Record<string, string>;\n}\n\nexport function agentEvaluationResultDeserializer(item: any): AgentEvaluationResult {\n return {\n evaluator: item[\"evaluator\"],\n evaluatorId: item[\"evaluatorId\"],\n score: item[\"score\"],\n status: item[\"status\"],\n reason: item[\"reason\"],\n version: item[\"version\"],\n threadId: item[\"threadId\"],\n runId: item[\"runId\"],\n error: item[\"error\"],\n additionalDetails: item[\"additionalDetails\"],\n };\n}\n\n/** Paged collection of DatasetVersion items */\nexport interface _PagedDatasetVersion {\n /** The DatasetVersion items on this page */\n value: DatasetVersionUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedDatasetVersionDeserializer(item: any): _PagedDatasetVersion {\n return {\n value: datasetVersionUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function datasetVersionUnionArraySerializer(result: Array<DatasetVersionUnion>): any[] {\n return result.map((item) => {\n return datasetVersionUnionSerializer(item);\n });\n}\n\nexport function datasetVersionUnionArrayDeserializer(result: Array<DatasetVersionUnion>): any[] {\n return result.map((item) => {\n return datasetVersionUnionDeserializer(item);\n });\n}\n\n/** DatasetVersion Definition */\nexport interface DatasetVersion {\n /** URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */\n dataUri: string;\n /** Dataset type */\n /** The discriminator possible values: uri_file, uri_folder */\n type: DatasetType;\n /** Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted */\n readonly isReference?: boolean;\n /** The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset */\n connectionName?: string;\n /** Asset ID, a unique identifier for the asset */\n readonly id?: string;\n /** The name of the resource */\n readonly name: string;\n /** The version of the resource */\n readonly version: string;\n /** The asset description text. */\n description?: string;\n /** Tag dictionary. Tags can be added, removed, and updated. */\n tags?: Record<string, string>;\n}\n\nexport function datasetVersionSerializer(item: DatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n connectionName: item[\"connectionName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function datasetVersionDeserializer(item: any): DatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n connectionName: item[\"connectionName\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Alias for DatasetVersionUnion */\nexport type DatasetVersionUnion = FileDatasetVersion | FolderDatasetVersion | DatasetVersion;\n\nexport function datasetVersionUnionSerializer(item: DatasetVersionUnion): any {\n switch (item.type) {\n case \"uri_file\":\n return fileDatasetVersionSerializer(item as FileDatasetVersion);\n\n case \"uri_folder\":\n return folderDatasetVersionSerializer(item as FolderDatasetVersion);\n\n default:\n return datasetVersionSerializer(item);\n }\n}\n\nexport function datasetVersionUnionDeserializer(item: any): DatasetVersionUnion {\n switch (item.type) {\n case \"uri_file\":\n return fileDatasetVersionDeserializer(item as FileDatasetVersion);\n\n case \"uri_folder\":\n return folderDatasetVersionDeserializer(item as FolderDatasetVersion);\n\n default:\n return datasetVersionDeserializer(item);\n }\n}\n\n/** Enum to determine the type of data. */\nexport type DatasetType = \"uri_file\" | \"uri_folder\";\n\n/** FileDatasetVersion Definition */\nexport interface FileDatasetVersion extends DatasetVersion {\n /** Dataset type */\n type: \"uri_file\";\n}\n\nexport function fileDatasetVersionSerializer(item: FileDatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n connectionName: item[\"connectionName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function fileDatasetVersionDeserializer(item: any): FileDatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n connectionName: item[\"connectionName\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** FileDatasetVersion Definition */\nexport interface FolderDatasetVersion extends DatasetVersion {\n /** Dataset type */\n type: \"uri_folder\";\n}\n\nexport function folderDatasetVersionSerializer(item: FolderDatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n connectionName: item[\"connectionName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function folderDatasetVersionDeserializer(item: any): FolderDatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n connectionName: item[\"connectionName\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Represents a request for a pending upload. */\nexport interface PendingUploadRequest {\n /** If PendingUploadId is not provided, a random GUID will be used. */\n pendingUploadId?: string;\n /** Azure Storage Account connection name to use for generating temporary SAS token */\n connectionName?: string;\n /** BlobReference is the only supported type. */\n pendingUploadType: \"BlobReference\";\n}\n\nexport function pendingUploadRequestSerializer(item: PendingUploadRequest): any {\n return {\n pendingUploadId: item[\"pendingUploadId\"],\n connectionName: item[\"connectionName\"],\n pendingUploadType: item[\"pendingUploadType\"],\n };\n}\n\n/** Represents the response for a pending upload request */\nexport interface PendingUploadResponse {\n /** Container-level read, write, list SAS. */\n blobReference: BlobReference;\n /** ID for this upload request. */\n pendingUploadId: string;\n /** Version of asset to be created if user did not specify version when initially creating upload */\n version?: string;\n /** BlobReference is the only supported type */\n pendingUploadType: \"BlobReference\";\n}\n\nexport function pendingUploadResponseDeserializer(item: any): PendingUploadResponse {\n return {\n blobReference: blobReferenceDeserializer(item[\"blobReference\"]),\n pendingUploadId: item[\"pendingUploadId\"],\n version: item[\"version\"],\n pendingUploadType: item[\"pendingUploadType\"],\n };\n}\n\n/** Blob reference details. */\nexport interface BlobReference {\n /** Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path */\n blobUri: string;\n /** ARM ID of the storage account to use. */\n storageAccountArmId: string;\n /** Credential info to access the storage account. */\n credential: SasCredential;\n}\n\nexport function blobReferenceDeserializer(item: any): BlobReference {\n return {\n blobUri: item[\"blobUri\"],\n storageAccountArmId: item[\"storageAccountArmId\"],\n credential: sasCredentialDeserializer(item[\"credential\"]),\n };\n}\n\n/** SAS Credential definition */\nexport interface SasCredential {\n /** SAS uri */\n readonly sasUri: string;\n /** Type of credential */\n readonly type: \"SAS\";\n}\n\nexport function sasCredentialDeserializer(item: any): SasCredential {\n return {\n sasUri: item[\"sasUri\"],\n type: item[\"type\"],\n };\n}\n\n/** Represents a reference to a blob for consumption */\nexport interface AssetCredentialResponse {\n /** Credential info to access the storage account. */\n blobReference: BlobReference;\n}\n\nexport function assetCredentialResponseDeserializer(item: any): AssetCredentialResponse {\n return {\n blobReference: blobReferenceDeserializer(item[\"blobReference\"]),\n };\n}\n\n/** Paged collection of Index items */\nexport interface _PagedIndex {\n /** The Index items on this page */\n value: IndexUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedIndexDeserializer(item: any): _PagedIndex {\n return {\n value: indexUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function indexUnionArraySerializer(result: Array<IndexUnion>): any[] {\n return result.map((item) => {\n return indexUnionSerializer(item);\n });\n}\n\nexport function indexUnionArrayDeserializer(result: Array<IndexUnion>): any[] {\n return result.map((item) => {\n return indexUnionDeserializer(item);\n });\n}\n\n/** Index resource Definition */\nexport interface Index {\n /** Type of index */\n /** The discriminator possible values: AzureSearch, ManagedAzureSearch, CosmosDBNoSqlVectorStore */\n type: IndexType;\n /** Asset ID, a unique identifier for the asset */\n readonly id?: string;\n /** The name of the resource */\n readonly name: string;\n /** The version of the resource */\n readonly version: string;\n /** The asset description text. */\n description?: string;\n /** Tag dictionary. Tags can be added, removed, and updated. */\n tags?: Record<string, string>;\n}\n\nexport function indexSerializer(item: Index): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function indexDeserializer(item: any): Index {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Alias for IndexUnion */\nexport type IndexUnion = AzureAISearchIndex | ManagedAzureAISearchIndex | CosmosDBIndex | Index;\n\nexport function indexUnionSerializer(item: IndexUnion): any {\n switch (item.type) {\n case \"AzureSearch\":\n return azureAISearchIndexSerializer(item as AzureAISearchIndex);\n\n case \"ManagedAzureSearch\":\n return managedAzureAISearchIndexSerializer(item as ManagedAzureAISearchIndex);\n\n case \"CosmosDBNoSqlVectorStore\":\n return cosmosDBIndexSerializer(item as CosmosDBIndex);\n\n default:\n return indexSerializer(item);\n }\n}\n\nexport function indexUnionDeserializer(item: any): IndexUnion {\n switch (item.type) {\n case \"AzureSearch\":\n return azureAISearchIndexDeserializer(item as AzureAISearchIndex);\n\n case \"ManagedAzureSearch\":\n return managedAzureAISearchIndexDeserializer(item as ManagedAzureAISearchIndex);\n\n case \"CosmosDBNoSqlVectorStore\":\n return cosmosDBIndexDeserializer(item as CosmosDBIndex);\n\n default:\n return indexDeserializer(item);\n }\n}\n\n/** Type of IndexType */\nexport type IndexType = \"AzureSearch\" | \"CosmosDBNoSqlVectorStore\" | \"ManagedAzureSearch\";\n\n/** Azure AI Search Index Definition */\nexport interface AzureAISearchIndex extends Index {\n /** Type of index */\n type: \"AzureSearch\";\n /** Name of connection to Azure AI Search */\n connectionName: string;\n /** Name of index in Azure AI Search resource to attach */\n indexName: string;\n /** Field mapping configuration */\n fieldMapping?: FieldMapping;\n}\n\nexport function azureAISearchIndexSerializer(item: AzureAISearchIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n indexName: item[\"indexName\"],\n fieldMapping: !item[\"fieldMapping\"]\n ? item[\"fieldMapping\"]\n : fieldMappingSerializer(item[\"fieldMapping\"]),\n };\n}\n\nexport function azureAISearchIndexDeserializer(item: any): AzureAISearchIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n indexName: item[\"indexName\"],\n fieldMapping: !item[\"fieldMapping\"]\n ? item[\"fieldMapping\"]\n : fieldMappingDeserializer(item[\"fieldMapping\"]),\n };\n}\n\n/** Field mapping configuration class */\nexport interface FieldMapping {\n /** List of fields with text content */\n contentFields: string[];\n /** Path of file to be used as a source of text content */\n filepathField?: string;\n /** Field containing the title of the document */\n titleField?: string;\n /** Field containing the url of the document */\n urlField?: string;\n /** List of fields with vector content */\n vectorFields?: string[];\n /** List of fields with metadata content */\n metadataFields?: string[];\n}\n\nexport function fieldMappingSerializer(item: FieldMapping): any {\n return {\n contentFields: item[\"contentFields\"].map((p: any) => {\n return p;\n }),\n filepathField: item[\"filepathField\"],\n titleField: item[\"titleField\"],\n urlField: item[\"urlField\"],\n vectorFields: !item[\"vectorFields\"]\n ? item[\"vectorFields\"]\n : item[\"vectorFields\"].map((p: any) => {\n return p;\n }),\n metadataFields: !item[\"metadataFields\"]\n ? item[\"metadataFields\"]\n : item[\"metadataFields\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function fieldMappingDeserializer(item: any): FieldMapping {\n return {\n contentFields: item[\"contentFields\"].map((p: any) => {\n return p;\n }),\n filepathField: item[\"filepathField\"],\n titleField: item[\"titleField\"],\n urlField: item[\"urlField\"],\n vectorFields: !item[\"vectorFields\"]\n ? item[\"vectorFields\"]\n : item[\"vectorFields\"].map((p: any) => {\n return p;\n }),\n metadataFields: !item[\"metadataFields\"]\n ? item[\"metadataFields\"]\n : item[\"metadataFields\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Managed Azure AI Search Index Definition */\nexport interface ManagedAzureAISearchIndex extends Index {\n /** Type of index */\n type: \"ManagedAzureSearch\";\n /** Vector store id of managed index */\n vectorStoreId: string;\n}\n\nexport function managedAzureAISearchIndexSerializer(item: ManagedAzureAISearchIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n vectorStoreId: item[\"vectorStoreId\"],\n };\n}\n\nexport function managedAzureAISearchIndexDeserializer(item: any): ManagedAzureAISearchIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n vectorStoreId: item[\"vectorStoreId\"],\n };\n}\n\n/** CosmosDB Vector Store Index Definition */\nexport interface CosmosDBIndex extends Index {\n /** Type of index */\n type: \"CosmosDBNoSqlVectorStore\";\n /** Name of connection to CosmosDB */\n connectionName: string;\n /** Name of the CosmosDB Database */\n databaseName: string;\n /** Name of CosmosDB Container */\n containerName: string;\n /** Embedding model configuration */\n embeddingConfiguration: EmbeddingConfiguration;\n /** Field mapping configuration */\n fieldMapping: FieldMapping;\n}\n\nexport function cosmosDBIndexSerializer(item: CosmosDBIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n databaseName: item[\"databaseName\"],\n containerName: item[\"containerName\"],\n embeddingConfiguration: embeddingConfigurationSerializer(item[\"embeddingConfiguration\"]),\n fieldMapping: fieldMappingSerializer(item[\"fieldMapping\"]),\n };\n}\n\nexport function cosmosDBIndexDeserializer(item: any): CosmosDBIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n databaseName: item[\"databaseName\"],\n containerName: item[\"containerName\"],\n embeddingConfiguration: embeddingConfigurationDeserializer(item[\"embeddingConfiguration\"]),\n fieldMapping: fieldMappingDeserializer(item[\"fieldMapping\"]),\n };\n}\n\n/** Embedding configuration class */\nexport interface EmbeddingConfiguration {\n /** Deployment name of embedding model. It can point to a model deployment either in the parent AIServices or a connection. */\n modelDeploymentName: string;\n /** Embedding field */\n embeddingField: string;\n}\n\nexport function embeddingConfigurationSerializer(item: EmbeddingConfiguration): any {\n return {\n modelDeploymentName: item[\"modelDeploymentName\"],\n embeddingField: item[\"embeddingField\"],\n };\n}\n\nexport function embeddingConfigurationDeserializer(item: any): EmbeddingConfiguration {\n return {\n modelDeploymentName: item[\"modelDeploymentName\"],\n embeddingField: item[\"embeddingField\"],\n };\n}\n\n/** Model Deployment Definition */\nexport interface Deployment {\n /** The type of the deployment */\n /** The discriminator possible values: ModelDeployment */\n type: DeploymentType;\n /** Name of the deployment */\n readonly name: string;\n}\n\nexport function deploymentDeserializer(item: any): Deployment {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n };\n}\n\n/** Alias for DeploymentUnion */\nexport type DeploymentUnion = ModelDeployment | Deployment;\n\nexport function deploymentUnionDeserializer(item: any): DeploymentUnion {\n switch (item.type) {\n case \"ModelDeployment\":\n return modelDeploymentDeserializer(item as ModelDeployment);\n\n default:\n return deploymentDeserializer(item);\n }\n}\n\n/** Type of DeploymentType */\nexport type DeploymentType = \"ModelDeployment\";\n\n/** Model Deployment Definition */\nexport interface ModelDeployment extends Deployment {\n /** The type of the deployment */\n type: \"ModelDeployment\";\n /** Publisher-specific name of the deployed model */\n readonly modelName: string;\n /** Publisher-specific version of the deployed model */\n readonly modelVersion: string;\n /** Name of the deployed model's publisher */\n readonly modelPublisher: string;\n /** Capabilities of deployed model */\n readonly capabilities: Record<string, string>;\n /** Sku of the model deployment */\n readonly sku: Sku;\n /** Name of the connection the deployment comes from */\n readonly connectionName?: string;\n}\n\nexport function modelDeploymentDeserializer(item: any): ModelDeployment {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n modelName: item[\"modelName\"],\n modelVersion: item[\"modelVersion\"],\n modelPublisher: item[\"modelPublisher\"],\n capabilities: item[\"capabilities\"],\n sku: skuDeserializer(item[\"sku\"]),\n connectionName: item[\"connectionName\"],\n };\n}\n\n/** Sku information */\nexport interface Sku {\n /** Sku capacity */\n capacity: number;\n /** Sku family */\n family: string;\n /** Sku name */\n name: string;\n /** Sku size */\n size: string;\n /** Sku tier */\n tier: string;\n}\n\nexport function skuDeserializer(item: any): Sku {\n return {\n capacity: item[\"capacity\"],\n family: item[\"family\"],\n name: item[\"name\"],\n size: item[\"size\"],\n tier: item[\"tier\"],\n };\n}\n\n/** Paged collection of Deployment items */\nexport interface _PagedDeployment {\n /** The Deployment items on this page */\n value: DeploymentUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedDeploymentDeserializer(item: any): _PagedDeployment {\n return {\n value: deploymentUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function deploymentUnionArrayDeserializer(result: Array<DeploymentUnion>): any[] {\n return result.map((item) => {\n return deploymentUnionDeserializer(item);\n });\n}\n\n/** Red team details. */\nexport interface RedTeam {\n /** Identifier of the red team run. */\n readonly name: string;\n /** Name of the red-team run. */\n displayName?: string;\n /** Number of simulation rounds. */\n numTurns?: number;\n /** List of attack strategies or nested lists of attack strategies. */\n attackStrategies?: AttackStrategy[];\n /** Simulation-only or Simulation + Evaluation. Default false, if true the scan outputs conversation not evaluation result. */\n simulationOnly?: boolean;\n /** List of risk categories to generate attack objectives for. */\n riskCategories?: RiskCategory[];\n /** Application scenario for the red team operation, to generate scenario specific attacks. */\n applicationScenario?: string;\n /** Red team's tags. Unlike properties, tags are fully mutable. */\n tags?: Record<string, string>;\n /** Red team's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */\n properties?: Record<string, string>;\n /** Status of the red-team. It is set by service and is read-only. */\n readonly status?: string;\n /** Target configuration for the red-team run. */\n target: TargetConfigUnion;\n}\n\nexport function redTeamSerializer(item: RedTeam): any {\n return {\n displayName: item[\"displayName\"],\n numTurns: item[\"numTurns\"],\n attackStrategies: !item[\"attackStrategies\"]\n ? item[\"attackStrategies\"]\n : item[\"attackStrategies\"].map((p: any) => {\n return p;\n }),\n simulationOnly: item[\"simulationOnly\"],\n riskCategories: !item[\"riskCategories\"]\n ? item[\"riskCategories\"]\n : item[\"riskCategories\"].map((p: any) => {\n return p;\n }),\n applicationScenario: item[\"applicationScenario\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n target: targetConfigUnionSerializer(item[\"target\"]),\n };\n}\n\nexport function redTeamDeserializer(item: any): RedTeam {\n return {\n name: item[\"id\"],\n displayName: item[\"displayName\"],\n numTurns: item[\"numTurns\"],\n attackStrategies: !item[\"attackStrategies\"]\n ? item[\"attackStrategies\"]\n : item[\"attackStrategies\"].map((p: any) => {\n return p;\n }),\n simulationOnly: item[\"simulationOnly\"],\n riskCategories: !item[\"riskCategories\"]\n ? item[\"riskCategories\"]\n : item[\"riskCategories\"].map((p: any) => {\n return p;\n }),\n applicationScenario: item[\"applicationScenario\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n status: item[\"status\"],\n target: targetConfigUnionDeserializer(item[\"target\"]),\n };\n}\n\n/** Strategies for attacks. */\nexport type AttackStrategy =\n | \"easy\"\n | \"moderate\"\n | \"difficult\"\n | \"ascii_art\"\n | \"ascii_smuggler\"\n | \"atbash\"\n | \"base64\"\n | \"binary\"\n | \"caesar\"\n | \"character_space\"\n | \"jailbreak\"\n | \"ansii_attack\"\n | \"character_swap\"\n | \"suffix_append\"\n | \"string_join\"\n | \"unicode_confusable\"\n | \"unicode_substitution\"\n | \"diacritic\"\n | \"flip\"\n | \"leetspeak\"\n | \"rot13\"\n | \"morse\"\n | \"url\"\n | \"baseline\";\n/** Risk category for the attack objective. */\nexport type RiskCategory = \"HateUnfairness\" | \"Violence\" | \"Sexual\" | \"SelfHarm\";\n\n/** Abstract class for target configuration. */\nexport interface TargetConfig {\n /** Type of the model configuration. */\n /** The discriminator possible values: AzureOpenAIModel */\n type: string;\n}\n\nexport function targetConfigSerializer(item: TargetConfig): any {\n return { type: item[\"type\"] };\n}\n\nexport function targetConfigDeserializer(item: any): TargetConfig {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for TargetConfigUnion */\nexport type TargetConfigUnion = AzureOpenAIModelConfiguration | TargetConfig;\n\nexport function targetConfigUnionSerializer(item: TargetConfigUnion): any {\n switch (item.type) {\n case \"AzureOpenAIModel\":\n return azureOpenAIModelConfigurationSerializer(item as AzureOpenAIModelConfiguration);\n\n default:\n return targetConfigSerializer(item);\n }\n}\n\nexport function targetConfigUnionDeserializer(item: any): TargetConfigUnion {\n switch (item.type) {\n case \"AzureOpenAIModel\":\n return azureOpenAIModelConfigurationDeserializer(item as AzureOpenAIModelConfiguration);\n\n default:\n return targetConfigDeserializer(item);\n }\n}\n\n/** Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */\nexport interface AzureOpenAIModelConfiguration extends TargetConfig {\n /** Type of the model configuration. */\n readonly type: \"AzureOpenAIModel\";\n /** Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (i.e. `my-aoai-connection/gpt-4o`. */\n modelDeploymentName: string;\n}\n\nexport function azureOpenAIModelConfigurationSerializer(item: AzureOpenAIModelConfiguration): any {\n return { modelDeploymentName: item[\"modelDeploymentName\"] };\n}\n\nexport function azureOpenAIModelConfigurationDeserializer(\n item: any,\n): AzureOpenAIModelConfiguration {\n return {\n type: item[\"type\"],\n modelDeploymentName: item[\"modelDeploymentName\"],\n };\n}\n\n/** Paged collection of RedTeam items */\nexport interface _PagedRedTeam {\n /** The RedTeam items on this page */\n value: RedTeam[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedRedTeamDeserializer(item: any): _PagedRedTeam {\n return {\n value: redTeamArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function redTeamArraySerializer(result: Array<RedTeam>): any[] {\n return result.map((item) => {\n return redTeamSerializer(item);\n });\n}\n\nexport function redTeamArrayDeserializer(result: Array<RedTeam>): any[] {\n return result.map((item) => {\n return redTeamDeserializer(item);\n });\n}\n\n/** The type of pending upload. */\nexport type PendingUploadType = \"None\" | \"BlobReference\";\n\n/** Azure AI Projects API versions */\nexport enum KnownVersions {\n /** Azure AI API version 2025-05-01. */\n V20250501 = \"2025-05-01\",\n /** Azure AI API version 2025-05-15-preview. */\n V20250515Preview = \"2025-05-15-preview\",\n}\n"]}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.7"
8
+ "packageVersion": "7.52.8"
9
9
  }
10
10
  ]
11
11
  }
@@ -7,7 +7,7 @@ export function createAIProject(endpointParam, credential, options = {}) {
7
7
  var _a, _b, _c, _d, _e, _f, _g, _h;
8
8
  const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : String(endpointParam);
9
9
  const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
10
- const userAgentInfo = `azsdk-js-ai-projects/1.0.0-beta.6`;
10
+ const userAgentInfo = `azsdk-js-ai-projects/1.0.0-beta.8`;
11
11
  const userAgentPrefix = prefixFromOptions
12
12
  ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
13
13
  : `azsdk-js-api ${userAgentInfo}`;
@@ -1 +1 @@
1
- {"version":3,"file":"aiProjectContext.js","sourceRoot":"","sources":["../../../src/api/aiProjectContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAsB3E,MAAM,UAAU,eAAe,CAC7B,aAAqB,EACrB,UAA2B,EAC3B,UAAyC,EAAE;;IAE3C,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAA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CAAC,mCAAI,UAAU,CAAC;YAC5E,8BAA8B;YAC9B,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;YACvC,yBAAyB;YACzB,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,QAAQ,EAAE,GACzB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,iBAAiB,EAAE,CAAC;YACnC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,gCACF,aAAa,KAChB,UAAU,EACV,cAAc,EAAE,GAAG,EAAE,CAAC,WAAW,EACjC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,EACzC,aAAa,EAAE,GAAG,EAAE,CAAC,UAAU,GACZ,CAAC;AACxB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport interface AIProjectContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The endpoint URL used to construct AIProjectClient. */\n getEndpointUrl(): string;\n /** The user agent string used to construct AIProjectClient. */\n getUserAgent(): { userAgentPrefix: string };\n /** The credential used to construct AIProjectClient. */\n getCredential(): TokenCredential;\n}\n\n/** Optional parameters for the client. */\nexport interface AIProjectClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\nexport function createAIProject(\n endpointParam: string,\n credential: TokenCredential,\n options: AIProjectClientOptionalParams = {},\n): AIProjectContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-ai-projects/1.0.0-beta.6`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://cognitiveservices.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-05-15-preview\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n const defaultApiVersion = url.searchParams.get(\"api-version\") ?? apiVersion;\n // remove api-version from url\n url.searchParams.delete(\"api-version\");\n // add api-version to url\n req.url = `${url.toString()}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${defaultApiVersion}`;\n return next(req);\n },\n });\n return {\n ...clientContext,\n apiVersion,\n getEndpointUrl: () => endpointUrl,\n getUserAgent: () => ({ userAgentPrefix }),\n getCredential: () => credential,\n } as AIProjectContext;\n}\n"]}
1
+ {"version":3,"file":"aiProjectContext.js","sourceRoot":"","sources":["../../../src/api/aiProjectContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAsB3E,MAAM,UAAU,eAAe,CAC7B,aAAqB,EACrB,UAA2B,EAC3B,UAAyC,EAAE;;IAE3C,M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AAG,MAAA,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,mCAAI,UAAU,CAAC;YAC5E,8BAA8B;YAC9B,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;YACvC,yBAAyB;YACzB,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,QAAQ,EAAE,GACzB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,iBAAiB,EAAE,CAAC;YACnC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,gCACF,aAAa,KAChB,UAAU,EACV,cAAc,EAAE,GAAG,EAAE,CAAC,WAAW,EACjC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,EACzC,aAAa,EAAE,GAAG,EAAE,CAAC,UAAU,GACZ,CAAC;AACxB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport interface AIProjectContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The endpoint URL used to construct AIProjectClient. */\n getEndpointUrl(): string;\n /** The user agent string used to construct AIProjectClient. */\n getUserAgent(): { userAgentPrefix: string };\n /** The credential used to construct AIProjectClient. */\n getCredential(): TokenCredential;\n}\n\n/** Optional parameters for the client. */\nexport interface AIProjectClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\nexport function createAIProject(\n endpointParam: string,\n credential: TokenCredential,\n options: AIProjectClientOptionalParams = {},\n): AIProjectContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-ai-projects/1.0.0-beta.8`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://cognitiveservices.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-05-15-preview\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n const defaultApiVersion = url.searchParams.get(\"api-version\") ?? apiVersion;\n // remove api-version from url\n url.searchParams.delete(\"api-version\");\n // add api-version to url\n req.url = `${url.toString()}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${defaultApiVersion}`;\n return next(req);\n },\n });\n return {\n ...clientContext,\n apiVersion,\n getEndpointUrl: () => endpointUrl,\n getUserAgent: () => ({ userAgentPrefix }),\n getCredential: () => credential,\n } as AIProjectContext;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/connections/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EACL,UAAU,EAEV,gBAAgB,EAEhB,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAC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AAED;;;;;;;;GAQG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,cAAc,EAC9B,kBAAkB,GAAE,OAAe,GAClC,OAAO,CAAC,UAAU,CAAC,CAmBrB"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/connections/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EACL,UAAU,EAEV,gBAAgB,EAEhB,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,6BAA6B,EAC7B,2CAA2C,EAC3C,4BAA4B,EAC7B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,SAAS,CACvB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,6BAAsD,GAC9D,gBAAgB,CAsBlB;AAED,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAO/F;AAED,qFAAqF;AACrF,wBAAgB,IAAI,CAClB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,6BAAsD,GAC9D,0BAA0B,CAAC,UAAU,CAAC,CAQxC;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,2CAAoE,GAC5E,gBAAgB,CAqBlB;AAED,wBAAsB,8BAA8B,CAClD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,UAAU,CAAC,CAOrB;AAED,gEAAgE;AAChE,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,2CAAoE,GAC5E,OAAO,CAAC,UAAU,CAAC,CAGrB;AAED,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,4BAAqD,GAC7D,gBAAgB,CAqBlB;AAED,wBAAsB,eAAe,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,CAOxF;AAED,0EAA0E;AAC1E,wBAAsB,GAAG,CACvB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,kBAAkB,CAAC,EAAE,OAAO,EAC5B,OAAO,GAAE,4BAAqD,GAC7D,OAAO,CAAC,UAAU,CAAC,CAMrB;AAED;;;;;;;;GAQG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,cAAc,EAC9B,kBAAkB,GAAE,OAAe,GAClC,OAAO,CAAC,UAAU,CAAC,CAmBrB"}
@@ -7,13 +7,10 @@ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js"
7
7
  import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
8
8
  export function _listSend(context, options = { requestOptions: {} }) {
9
9
  var _a, _b;
10
- const path = expandUrlTemplate("/connections{?api-version,connectionType,defaultConnection,top,skip,maxpagesize}", {
10
+ const path = expandUrlTemplate("/connections{?api-version,connectionType,defaultConnection}", {
11
11
  "api-version": context.apiVersion,
12
12
  connectionType: options === null || options === void 0 ? void 0 : options.connectionType,
13
13
  defaultConnection: options === null || options === void 0 ? void 0 : options.defaultConnection,
14
- top: options === null || options === void 0 ? void 0 : options.top,
15
- skip: options === null || options === void 0 ? void 0 : options.skip,
16
- maxpagesize: options === null || options === void 0 ? void 0 : options.maxpagesize,
17
14
  }, {
18
15
  allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
19
16
  });