@azure/arm-healthdataaiservices 1.0.0-beta.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +10 -4
  3. package/dist/browser/api/deidServices/index.d.ts +16 -17
  4. package/dist/browser/api/deidServices/index.d.ts.map +1 -1
  5. package/dist/browser/api/deidServices/index.js +32 -424
  6. package/dist/browser/api/deidServices/index.js.map +1 -1
  7. package/dist/browser/api/healthDataAIServicesContext.d.ts +4 -4
  8. package/dist/browser/api/healthDataAIServicesContext.d.ts.map +1 -1
  9. package/dist/browser/api/healthDataAIServicesContext.js +29 -7
  10. package/dist/browser/api/healthDataAIServicesContext.js.map +1 -1
  11. package/dist/browser/api/index.d.ts +2 -1
  12. package/dist/browser/api/index.d.ts.map +1 -1
  13. package/dist/browser/api/index.js +1 -1
  14. package/dist/browser/api/index.js.map +1 -1
  15. package/dist/browser/api/operations/index.d.ts +6 -7
  16. package/dist/browser/api/operations/index.d.ts.map +1 -1
  17. package/dist/browser/api/operations/index.js +8 -26
  18. package/dist/browser/api/operations/index.js.map +1 -1
  19. package/dist/browser/api/options.d.ts.map +1 -0
  20. package/dist/browser/api/options.js +4 -0
  21. package/dist/browser/api/options.js.map +1 -0
  22. package/dist/browser/api/privateEndpointConnections/index.d.ts +12 -13
  23. package/dist/browser/api/privateEndpointConnections/index.d.ts.map +1 -1
  24. package/dist/browser/api/privateEndpointConnections/index.js +22 -126
  25. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -1
  26. package/dist/browser/api/privateLinks/index.d.ts +6 -7
  27. package/dist/browser/api/privateLinks/index.d.ts.map +1 -1
  28. package/dist/browser/api/privateLinks/index.js +8 -38
  29. package/dist/browser/api/privateLinks/index.js.map +1 -1
  30. package/dist/browser/classic/deidServices/index.d.ts +4 -4
  31. package/dist/browser/classic/deidServices/index.d.ts.map +1 -1
  32. package/dist/browser/classic/deidServices/index.js +1 -1
  33. package/dist/browser/classic/deidServices/index.js.map +1 -1
  34. package/dist/browser/classic/index.js +1 -1
  35. package/dist/browser/classic/index.js.map +1 -1
  36. package/dist/browser/classic/operations/index.d.ts +3 -3
  37. package/dist/browser/classic/operations/index.d.ts.map +1 -1
  38. package/dist/browser/classic/operations/index.js +1 -1
  39. package/dist/browser/classic/operations/index.js.map +1 -1
  40. package/dist/browser/classic/privateEndpointConnections/index.d.ts +3 -3
  41. package/dist/browser/classic/privateEndpointConnections/index.d.ts.map +1 -1
  42. package/dist/browser/classic/privateEndpointConnections/index.js +1 -1
  43. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
  44. package/dist/browser/classic/privateLinks/index.d.ts +3 -3
  45. package/dist/browser/classic/privateLinks/index.d.ts.map +1 -1
  46. package/dist/browser/classic/privateLinks/index.js +1 -1
  47. package/dist/browser/classic/privateLinks/index.js.map +1 -1
  48. package/dist/browser/healthDataAIServicesClient.d.ts +2 -2
  49. package/dist/browser/healthDataAIServicesClient.d.ts.map +1 -1
  50. package/dist/browser/healthDataAIServicesClient.js +2 -2
  51. package/dist/browser/healthDataAIServicesClient.js.map +1 -1
  52. package/dist/browser/helpers/serializerHelpers.js +1 -1
  53. package/dist/browser/helpers/serializerHelpers.js.map +1 -1
  54. package/dist/browser/index.d.ts +5 -2
  55. package/dist/browser/index.d.ts.map +1 -1
  56. package/dist/browser/index.js +3 -3
  57. package/dist/browser/index.js.map +1 -1
  58. package/dist/browser/logger.js +1 -1
  59. package/dist/browser/logger.js.map +1 -1
  60. package/dist/browser/models/index.d.ts +1 -3
  61. package/dist/browser/models/index.d.ts.map +1 -1
  62. package/dist/browser/models/index.js +2 -2
  63. package/dist/browser/models/index.js.map +1 -1
  64. package/dist/browser/models/models.d.ts +140 -125
  65. package/dist/browser/models/models.d.ts.map +1 -1
  66. package/dist/browser/models/models.js +319 -73
  67. package/dist/browser/models/models.js.map +1 -1
  68. package/dist/browser/restorePollerHelpers.d.ts +2 -2
  69. package/dist/browser/restorePollerHelpers.d.ts.map +1 -1
  70. package/dist/browser/restorePollerHelpers.js +27 -11
  71. package/dist/browser/restorePollerHelpers.js.map +1 -1
  72. package/dist/browser/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
  73. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
  74. package/dist/{esm/api → browser/static-helpers}/pagingHelpers.js +5 -6
  75. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  76. package/dist/{esm/api → browser/static-helpers}/pollingHelpers.d.ts +1 -1
  77. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
  78. package/dist/browser/{api → static-helpers}/pollingHelpers.js +7 -12
  79. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  80. package/dist/commonjs/api/deidServices/index.d.ts +16 -17
  81. package/dist/commonjs/api/deidServices/index.d.ts.map +1 -1
  82. package/dist/commonjs/api/deidServices/index.js +30 -422
  83. package/dist/commonjs/api/deidServices/index.js.map +1 -1
  84. package/dist/commonjs/api/healthDataAIServicesContext.d.ts +4 -4
  85. package/dist/commonjs/api/healthDataAIServicesContext.d.ts.map +1 -1
  86. package/dist/commonjs/api/healthDataAIServicesContext.js +28 -7
  87. package/dist/commonjs/api/healthDataAIServicesContext.js.map +1 -1
  88. package/dist/commonjs/api/index.d.ts +2 -1
  89. package/dist/commonjs/api/index.d.ts.map +1 -1
  90. package/dist/commonjs/api/index.js +1 -1
  91. package/dist/commonjs/api/index.js.map +1 -1
  92. package/dist/commonjs/api/operations/index.d.ts +6 -7
  93. package/dist/commonjs/api/operations/index.d.ts.map +1 -1
  94. package/dist/commonjs/api/operations/index.js +7 -25
  95. package/dist/commonjs/api/operations/index.js.map +1 -1
  96. package/dist/commonjs/api/options.d.ts.map +1 -0
  97. package/dist/commonjs/{models → api}/options.js +1 -1
  98. package/dist/commonjs/api/options.js.map +1 -0
  99. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +12 -13
  100. package/dist/commonjs/api/privateEndpointConnections/index.d.ts.map +1 -1
  101. package/dist/commonjs/api/privateEndpointConnections/index.js +20 -124
  102. package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -1
  103. package/dist/commonjs/api/privateLinks/index.d.ts +6 -7
  104. package/dist/commonjs/api/privateLinks/index.d.ts.map +1 -1
  105. package/dist/commonjs/api/privateLinks/index.js +7 -37
  106. package/dist/commonjs/api/privateLinks/index.js.map +1 -1
  107. package/dist/commonjs/classic/deidServices/index.d.ts +4 -4
  108. package/dist/commonjs/classic/deidServices/index.d.ts.map +1 -1
  109. package/dist/commonjs/classic/deidServices/index.js +1 -1
  110. package/dist/commonjs/classic/deidServices/index.js.map +1 -1
  111. package/dist/commonjs/classic/index.js +1 -1
  112. package/dist/commonjs/classic/index.js.map +1 -1
  113. package/dist/commonjs/classic/operations/index.d.ts +3 -3
  114. package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
  115. package/dist/commonjs/classic/operations/index.js +1 -1
  116. package/dist/commonjs/classic/operations/index.js.map +1 -1
  117. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +3 -3
  118. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts.map +1 -1
  119. package/dist/commonjs/classic/privateEndpointConnections/index.js +1 -1
  120. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -1
  121. package/dist/commonjs/classic/privateLinks/index.d.ts +3 -3
  122. package/dist/commonjs/classic/privateLinks/index.d.ts.map +1 -1
  123. package/dist/commonjs/classic/privateLinks/index.js +1 -1
  124. package/dist/commonjs/classic/privateLinks/index.js.map +1 -1
  125. package/dist/commonjs/healthDataAIServicesClient.d.ts +2 -2
  126. package/dist/commonjs/healthDataAIServicesClient.d.ts.map +1 -1
  127. package/dist/commonjs/healthDataAIServicesClient.js +2 -2
  128. package/dist/commonjs/healthDataAIServicesClient.js.map +1 -1
  129. package/dist/commonjs/helpers/serializerHelpers.js +1 -1
  130. package/dist/commonjs/helpers/serializerHelpers.js.map +1 -1
  131. package/dist/commonjs/index.d.ts +5 -2
  132. package/dist/commonjs/index.d.ts.map +1 -1
  133. package/dist/commonjs/index.js +4 -3
  134. package/dist/commonjs/index.js.map +1 -1
  135. package/dist/commonjs/logger.js +1 -1
  136. package/dist/commonjs/logger.js.map +1 -1
  137. package/dist/commonjs/models/index.d.ts +1 -3
  138. package/dist/commonjs/models/index.d.ts.map +1 -1
  139. package/dist/commonjs/models/index.js +4 -3
  140. package/dist/commonjs/models/index.js.map +1 -1
  141. package/dist/commonjs/models/models.d.ts +140 -125
  142. package/dist/commonjs/models/models.d.ts.map +1 -1
  143. package/dist/commonjs/models/models.js +350 -76
  144. package/dist/commonjs/models/models.js.map +1 -1
  145. package/dist/commonjs/restorePollerHelpers.d.ts +2 -2
  146. package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -1
  147. package/dist/commonjs/restorePollerHelpers.js +27 -11
  148. package/dist/commonjs/restorePollerHelpers.js.map +1 -1
  149. package/dist/commonjs/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
  150. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
  151. package/dist/commonjs/{api → static-helpers}/pagingHelpers.js +5 -6
  152. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  153. package/dist/{browser/api → commonjs/static-helpers}/pollingHelpers.d.ts +1 -1
  154. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
  155. package/dist/commonjs/{api → static-helpers}/pollingHelpers.js +7 -12
  156. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  157. package/dist/commonjs/tsdoc-metadata.json +1 -1
  158. package/dist/esm/api/deidServices/index.d.ts +16 -17
  159. package/dist/esm/api/deidServices/index.d.ts.map +1 -1
  160. package/dist/esm/api/deidServices/index.js +32 -424
  161. package/dist/esm/api/deidServices/index.js.map +1 -1
  162. package/dist/esm/api/healthDataAIServicesContext.d.ts +4 -4
  163. package/dist/esm/api/healthDataAIServicesContext.d.ts.map +1 -1
  164. package/dist/esm/api/healthDataAIServicesContext.js +29 -7
  165. package/dist/esm/api/healthDataAIServicesContext.js.map +1 -1
  166. package/dist/esm/api/index.d.ts +2 -1
  167. package/dist/esm/api/index.d.ts.map +1 -1
  168. package/dist/esm/api/index.js +1 -1
  169. package/dist/esm/api/index.js.map +1 -1
  170. package/dist/esm/api/operations/index.d.ts +6 -7
  171. package/dist/esm/api/operations/index.d.ts.map +1 -1
  172. package/dist/esm/api/operations/index.js +8 -26
  173. package/dist/esm/api/operations/index.js.map +1 -1
  174. package/dist/esm/api/options.d.ts.map +1 -0
  175. package/dist/esm/api/options.js +4 -0
  176. package/dist/esm/api/options.js.map +1 -0
  177. package/dist/esm/api/privateEndpointConnections/index.d.ts +12 -13
  178. package/dist/esm/api/privateEndpointConnections/index.d.ts.map +1 -1
  179. package/dist/esm/api/privateEndpointConnections/index.js +22 -126
  180. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -1
  181. package/dist/esm/api/privateLinks/index.d.ts +6 -7
  182. package/dist/esm/api/privateLinks/index.d.ts.map +1 -1
  183. package/dist/esm/api/privateLinks/index.js +8 -38
  184. package/dist/esm/api/privateLinks/index.js.map +1 -1
  185. package/dist/esm/classic/deidServices/index.d.ts +4 -4
  186. package/dist/esm/classic/deidServices/index.d.ts.map +1 -1
  187. package/dist/esm/classic/deidServices/index.js +1 -1
  188. package/dist/esm/classic/deidServices/index.js.map +1 -1
  189. package/dist/esm/classic/index.js +1 -1
  190. package/dist/esm/classic/index.js.map +1 -1
  191. package/dist/esm/classic/operations/index.d.ts +3 -3
  192. package/dist/esm/classic/operations/index.d.ts.map +1 -1
  193. package/dist/esm/classic/operations/index.js +1 -1
  194. package/dist/esm/classic/operations/index.js.map +1 -1
  195. package/dist/esm/classic/privateEndpointConnections/index.d.ts +3 -3
  196. package/dist/esm/classic/privateEndpointConnections/index.d.ts.map +1 -1
  197. package/dist/esm/classic/privateEndpointConnections/index.js +1 -1
  198. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
  199. package/dist/esm/classic/privateLinks/index.d.ts +3 -3
  200. package/dist/esm/classic/privateLinks/index.d.ts.map +1 -1
  201. package/dist/esm/classic/privateLinks/index.js +1 -1
  202. package/dist/esm/classic/privateLinks/index.js.map +1 -1
  203. package/dist/esm/healthDataAIServicesClient.d.ts +2 -2
  204. package/dist/esm/healthDataAIServicesClient.d.ts.map +1 -1
  205. package/dist/esm/healthDataAIServicesClient.js +2 -2
  206. package/dist/esm/healthDataAIServicesClient.js.map +1 -1
  207. package/dist/esm/helpers/serializerHelpers.js +1 -1
  208. package/dist/esm/helpers/serializerHelpers.js.map +1 -1
  209. package/dist/esm/index.d.ts +5 -2
  210. package/dist/esm/index.d.ts.map +1 -1
  211. package/dist/esm/index.js +3 -3
  212. package/dist/esm/index.js.map +1 -1
  213. package/dist/esm/logger.js +1 -1
  214. package/dist/esm/logger.js.map +1 -1
  215. package/dist/esm/models/index.d.ts +1 -3
  216. package/dist/esm/models/index.d.ts.map +1 -1
  217. package/dist/esm/models/index.js +2 -2
  218. package/dist/esm/models/index.js.map +1 -1
  219. package/dist/esm/models/models.d.ts +140 -125
  220. package/dist/esm/models/models.d.ts.map +1 -1
  221. package/dist/esm/models/models.js +319 -73
  222. package/dist/esm/models/models.js.map +1 -1
  223. package/dist/esm/restorePollerHelpers.d.ts +2 -2
  224. package/dist/esm/restorePollerHelpers.d.ts.map +1 -1
  225. package/dist/esm/restorePollerHelpers.js +27 -11
  226. package/dist/esm/restorePollerHelpers.js.map +1 -1
  227. package/dist/esm/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
  228. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
  229. package/dist/{react-native/api → esm/static-helpers}/pagingHelpers.js +5 -6
  230. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  231. package/dist/{commonjs/api → esm/static-helpers}/pollingHelpers.d.ts +1 -1
  232. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
  233. package/dist/{react-native/api → esm/static-helpers}/pollingHelpers.js +7 -12
  234. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  235. package/dist/react-native/api/deidServices/index.d.ts +16 -17
  236. package/dist/react-native/api/deidServices/index.d.ts.map +1 -1
  237. package/dist/react-native/api/deidServices/index.js +32 -424
  238. package/dist/react-native/api/deidServices/index.js.map +1 -1
  239. package/dist/react-native/api/healthDataAIServicesContext.d.ts +4 -4
  240. package/dist/react-native/api/healthDataAIServicesContext.d.ts.map +1 -1
  241. package/dist/react-native/api/healthDataAIServicesContext.js +29 -7
  242. package/dist/react-native/api/healthDataAIServicesContext.js.map +1 -1
  243. package/dist/react-native/api/index.d.ts +2 -1
  244. package/dist/react-native/api/index.d.ts.map +1 -1
  245. package/dist/react-native/api/index.js +1 -1
  246. package/dist/react-native/api/index.js.map +1 -1
  247. package/dist/react-native/api/operations/index.d.ts +6 -7
  248. package/dist/react-native/api/operations/index.d.ts.map +1 -1
  249. package/dist/react-native/api/operations/index.js +8 -26
  250. package/dist/react-native/api/operations/index.js.map +1 -1
  251. package/dist/react-native/api/options.d.ts.map +1 -0
  252. package/dist/react-native/api/options.js +4 -0
  253. package/dist/react-native/api/options.js.map +1 -0
  254. package/dist/react-native/api/privateEndpointConnections/index.d.ts +12 -13
  255. package/dist/react-native/api/privateEndpointConnections/index.d.ts.map +1 -1
  256. package/dist/react-native/api/privateEndpointConnections/index.js +22 -126
  257. package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -1
  258. package/dist/react-native/api/privateLinks/index.d.ts +6 -7
  259. package/dist/react-native/api/privateLinks/index.d.ts.map +1 -1
  260. package/dist/react-native/api/privateLinks/index.js +8 -38
  261. package/dist/react-native/api/privateLinks/index.js.map +1 -1
  262. package/dist/react-native/classic/deidServices/index.d.ts +4 -4
  263. package/dist/react-native/classic/deidServices/index.d.ts.map +1 -1
  264. package/dist/react-native/classic/deidServices/index.js +1 -1
  265. package/dist/react-native/classic/deidServices/index.js.map +1 -1
  266. package/dist/react-native/classic/index.js +1 -1
  267. package/dist/react-native/classic/index.js.map +1 -1
  268. package/dist/react-native/classic/operations/index.d.ts +3 -3
  269. package/dist/react-native/classic/operations/index.d.ts.map +1 -1
  270. package/dist/react-native/classic/operations/index.js +1 -1
  271. package/dist/react-native/classic/operations/index.js.map +1 -1
  272. package/dist/react-native/classic/privateEndpointConnections/index.d.ts +3 -3
  273. package/dist/react-native/classic/privateEndpointConnections/index.d.ts.map +1 -1
  274. package/dist/react-native/classic/privateEndpointConnections/index.js +1 -1
  275. package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -1
  276. package/dist/react-native/classic/privateLinks/index.d.ts +3 -3
  277. package/dist/react-native/classic/privateLinks/index.d.ts.map +1 -1
  278. package/dist/react-native/classic/privateLinks/index.js +1 -1
  279. package/dist/react-native/classic/privateLinks/index.js.map +1 -1
  280. package/dist/react-native/healthDataAIServicesClient.d.ts +2 -2
  281. package/dist/react-native/healthDataAIServicesClient.d.ts.map +1 -1
  282. package/dist/react-native/healthDataAIServicesClient.js +2 -2
  283. package/dist/react-native/healthDataAIServicesClient.js.map +1 -1
  284. package/dist/react-native/helpers/serializerHelpers.js +1 -1
  285. package/dist/react-native/helpers/serializerHelpers.js.map +1 -1
  286. package/dist/react-native/index.d.ts +5 -2
  287. package/dist/react-native/index.d.ts.map +1 -1
  288. package/dist/react-native/index.js +3 -3
  289. package/dist/react-native/index.js.map +1 -1
  290. package/dist/react-native/logger.js +1 -1
  291. package/dist/react-native/logger.js.map +1 -1
  292. package/dist/react-native/models/index.d.ts +1 -3
  293. package/dist/react-native/models/index.d.ts.map +1 -1
  294. package/dist/react-native/models/index.js +2 -2
  295. package/dist/react-native/models/index.js.map +1 -1
  296. package/dist/react-native/models/models.d.ts +140 -125
  297. package/dist/react-native/models/models.d.ts.map +1 -1
  298. package/dist/react-native/models/models.js +319 -73
  299. package/dist/react-native/models/models.js.map +1 -1
  300. package/dist/react-native/restorePollerHelpers.d.ts +2 -2
  301. package/dist/react-native/restorePollerHelpers.d.ts.map +1 -1
  302. package/dist/react-native/restorePollerHelpers.js +27 -11
  303. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  304. package/dist/react-native/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
  305. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
  306. package/dist/{browser/api → react-native/static-helpers}/pagingHelpers.js +5 -6
  307. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  308. package/dist/react-native/{api → static-helpers}/pollingHelpers.d.ts +1 -1
  309. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
  310. package/dist/{esm/api → react-native/static-helpers}/pollingHelpers.js +7 -12
  311. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  312. package/package.json +31 -58
  313. package/review/arm-healthdataaiservices-models.api.md +16 -105
  314. package/review/arm-healthdataaiservices.api.md +16 -33
  315. package/dist/browser/api/pagingHelpers.d.ts +0 -7
  316. package/dist/browser/api/pagingHelpers.d.ts.map +0 -1
  317. package/dist/browser/api/pagingHelpers.js.map +0 -1
  318. package/dist/browser/api/pollingHelpers.d.ts.map +0 -1
  319. package/dist/browser/api/pollingHelpers.js.map +0 -1
  320. package/dist/browser/models/options.d.ts.map +0 -1
  321. package/dist/browser/models/options.js +0 -4
  322. package/dist/browser/models/options.js.map +0 -1
  323. package/dist/browser/models/pagingTypes.d.ts.map +0 -1
  324. package/dist/browser/models/pagingTypes.js +0 -4
  325. package/dist/browser/models/pagingTypes.js.map +0 -1
  326. package/dist/browser/rest/clientDefinitions.d.ts +0 -61
  327. package/dist/browser/rest/clientDefinitions.d.ts.map +0 -1
  328. package/dist/browser/rest/clientDefinitions.js +0 -4
  329. package/dist/browser/rest/clientDefinitions.js.map +0 -1
  330. package/dist/browser/rest/healthDataAIServicesClient.d.ts +0 -15
  331. package/dist/browser/rest/healthDataAIServicesClient.d.ts.map +0 -1
  332. package/dist/browser/rest/healthDataAIServicesClient.js +0 -42
  333. package/dist/browser/rest/healthDataAIServicesClient.js.map +0 -1
  334. package/dist/browser/rest/index.d.ts +0 -12
  335. package/dist/browser/rest/index.d.ts.map +0 -1
  336. package/dist/browser/rest/index.js +0 -14
  337. package/dist/browser/rest/index.js.map +0 -1
  338. package/dist/browser/rest/isUnexpected.d.ts +0 -14
  339. package/dist/browser/rest/isUnexpected.d.ts.map +0 -1
  340. package/dist/browser/rest/isUnexpected.js +0 -83
  341. package/dist/browser/rest/isUnexpected.js.map +0 -1
  342. package/dist/browser/rest/models.d.ts +0 -213
  343. package/dist/browser/rest/models.d.ts.map +0 -1
  344. package/dist/browser/rest/models.js +0 -4
  345. package/dist/browser/rest/models.js.map +0 -1
  346. package/dist/browser/rest/outputModels.d.ts +0 -304
  347. package/dist/browser/rest/outputModels.d.ts.map +0 -1
  348. package/dist/browser/rest/outputModels.js +0 -4
  349. package/dist/browser/rest/outputModels.js.map +0 -1
  350. package/dist/browser/rest/paginateHelper.d.ts +0 -43
  351. package/dist/browser/rest/paginateHelper.d.ts.map +0 -1
  352. package/dist/browser/rest/paginateHelper.js +0 -70
  353. package/dist/browser/rest/paginateHelper.js.map +0 -1
  354. package/dist/browser/rest/parameters.d.ts +0 -27
  355. package/dist/browser/rest/parameters.d.ts.map +0 -1
  356. package/dist/browser/rest/parameters.js +0 -4
  357. package/dist/browser/rest/parameters.js.map +0 -1
  358. package/dist/browser/rest/pollingHelper.d.ts +0 -81
  359. package/dist/browser/rest/pollingHelper.d.ts.map +0 -1
  360. package/dist/browser/rest/pollingHelper.js +0 -97
  361. package/dist/browser/rest/pollingHelper.js.map +0 -1
  362. package/dist/browser/rest/responses.d.ts +0 -190
  363. package/dist/browser/rest/responses.d.ts.map +0 -1
  364. package/dist/browser/rest/responses.js +0 -4
  365. package/dist/browser/rest/responses.js.map +0 -1
  366. package/dist/commonjs/api/pagingHelpers.d.ts +0 -7
  367. package/dist/commonjs/api/pagingHelpers.d.ts.map +0 -1
  368. package/dist/commonjs/api/pagingHelpers.js.map +0 -1
  369. package/dist/commonjs/api/pollingHelpers.d.ts.map +0 -1
  370. package/dist/commonjs/api/pollingHelpers.js.map +0 -1
  371. package/dist/commonjs/models/options.d.ts.map +0 -1
  372. package/dist/commonjs/models/options.js.map +0 -1
  373. package/dist/commonjs/models/pagingTypes.d.ts.map +0 -1
  374. package/dist/commonjs/models/pagingTypes.js +0 -5
  375. package/dist/commonjs/models/pagingTypes.js.map +0 -1
  376. package/dist/commonjs/rest/clientDefinitions.d.ts +0 -61
  377. package/dist/commonjs/rest/clientDefinitions.d.ts.map +0 -1
  378. package/dist/commonjs/rest/clientDefinitions.js +0 -5
  379. package/dist/commonjs/rest/clientDefinitions.js.map +0 -1
  380. package/dist/commonjs/rest/healthDataAIServicesClient.d.ts +0 -15
  381. package/dist/commonjs/rest/healthDataAIServicesClient.d.ts.map +0 -1
  382. package/dist/commonjs/rest/healthDataAIServicesClient.js +0 -45
  383. package/dist/commonjs/rest/healthDataAIServicesClient.js.map +0 -1
  384. package/dist/commonjs/rest/index.d.ts +0 -12
  385. package/dist/commonjs/rest/index.d.ts.map +0 -1
  386. package/dist/commonjs/rest/index.js +0 -17
  387. package/dist/commonjs/rest/index.js.map +0 -1
  388. package/dist/commonjs/rest/isUnexpected.d.ts +0 -14
  389. package/dist/commonjs/rest/isUnexpected.d.ts.map +0 -1
  390. package/dist/commonjs/rest/isUnexpected.js +0 -86
  391. package/dist/commonjs/rest/isUnexpected.js.map +0 -1
  392. package/dist/commonjs/rest/models.d.ts +0 -213
  393. package/dist/commonjs/rest/models.d.ts.map +0 -1
  394. package/dist/commonjs/rest/models.js +0 -5
  395. package/dist/commonjs/rest/models.js.map +0 -1
  396. package/dist/commonjs/rest/outputModels.d.ts +0 -304
  397. package/dist/commonjs/rest/outputModels.d.ts.map +0 -1
  398. package/dist/commonjs/rest/outputModels.js +0 -5
  399. package/dist/commonjs/rest/outputModels.js.map +0 -1
  400. package/dist/commonjs/rest/paginateHelper.d.ts +0 -43
  401. package/dist/commonjs/rest/paginateHelper.d.ts.map +0 -1
  402. package/dist/commonjs/rest/paginateHelper.js +0 -73
  403. package/dist/commonjs/rest/paginateHelper.js.map +0 -1
  404. package/dist/commonjs/rest/parameters.d.ts +0 -27
  405. package/dist/commonjs/rest/parameters.d.ts.map +0 -1
  406. package/dist/commonjs/rest/parameters.js +0 -5
  407. package/dist/commonjs/rest/parameters.js.map +0 -1
  408. package/dist/commonjs/rest/pollingHelper.d.ts +0 -81
  409. package/dist/commonjs/rest/pollingHelper.d.ts.map +0 -1
  410. package/dist/commonjs/rest/pollingHelper.js +0 -100
  411. package/dist/commonjs/rest/pollingHelper.js.map +0 -1
  412. package/dist/commonjs/rest/responses.d.ts +0 -190
  413. package/dist/commonjs/rest/responses.d.ts.map +0 -1
  414. package/dist/commonjs/rest/responses.js +0 -5
  415. package/dist/commonjs/rest/responses.js.map +0 -1
  416. package/dist/esm/api/pagingHelpers.d.ts +0 -7
  417. package/dist/esm/api/pagingHelpers.d.ts.map +0 -1
  418. package/dist/esm/api/pagingHelpers.js.map +0 -1
  419. package/dist/esm/api/pollingHelpers.d.ts.map +0 -1
  420. package/dist/esm/api/pollingHelpers.js.map +0 -1
  421. package/dist/esm/models/options.d.ts.map +0 -1
  422. package/dist/esm/models/options.js +0 -4
  423. package/dist/esm/models/options.js.map +0 -1
  424. package/dist/esm/models/pagingTypes.d.ts.map +0 -1
  425. package/dist/esm/models/pagingTypes.js +0 -4
  426. package/dist/esm/models/pagingTypes.js.map +0 -1
  427. package/dist/esm/rest/clientDefinitions.d.ts +0 -61
  428. package/dist/esm/rest/clientDefinitions.d.ts.map +0 -1
  429. package/dist/esm/rest/clientDefinitions.js +0 -4
  430. package/dist/esm/rest/clientDefinitions.js.map +0 -1
  431. package/dist/esm/rest/healthDataAIServicesClient.d.ts +0 -15
  432. package/dist/esm/rest/healthDataAIServicesClient.d.ts.map +0 -1
  433. package/dist/esm/rest/healthDataAIServicesClient.js +0 -42
  434. package/dist/esm/rest/healthDataAIServicesClient.js.map +0 -1
  435. package/dist/esm/rest/index.d.ts +0 -12
  436. package/dist/esm/rest/index.d.ts.map +0 -1
  437. package/dist/esm/rest/index.js +0 -14
  438. package/dist/esm/rest/index.js.map +0 -1
  439. package/dist/esm/rest/isUnexpected.d.ts +0 -14
  440. package/dist/esm/rest/isUnexpected.d.ts.map +0 -1
  441. package/dist/esm/rest/isUnexpected.js +0 -83
  442. package/dist/esm/rest/isUnexpected.js.map +0 -1
  443. package/dist/esm/rest/models.d.ts +0 -213
  444. package/dist/esm/rest/models.d.ts.map +0 -1
  445. package/dist/esm/rest/models.js +0 -4
  446. package/dist/esm/rest/models.js.map +0 -1
  447. package/dist/esm/rest/outputModels.d.ts +0 -304
  448. package/dist/esm/rest/outputModels.d.ts.map +0 -1
  449. package/dist/esm/rest/outputModels.js +0 -4
  450. package/dist/esm/rest/outputModels.js.map +0 -1
  451. package/dist/esm/rest/paginateHelper.d.ts +0 -43
  452. package/dist/esm/rest/paginateHelper.d.ts.map +0 -1
  453. package/dist/esm/rest/paginateHelper.js +0 -70
  454. package/dist/esm/rest/paginateHelper.js.map +0 -1
  455. package/dist/esm/rest/parameters.d.ts +0 -27
  456. package/dist/esm/rest/parameters.d.ts.map +0 -1
  457. package/dist/esm/rest/parameters.js +0 -4
  458. package/dist/esm/rest/parameters.js.map +0 -1
  459. package/dist/esm/rest/pollingHelper.d.ts +0 -81
  460. package/dist/esm/rest/pollingHelper.d.ts.map +0 -1
  461. package/dist/esm/rest/pollingHelper.js +0 -97
  462. package/dist/esm/rest/pollingHelper.js.map +0 -1
  463. package/dist/esm/rest/responses.d.ts +0 -190
  464. package/dist/esm/rest/responses.d.ts.map +0 -1
  465. package/dist/esm/rest/responses.js +0 -4
  466. package/dist/esm/rest/responses.js.map +0 -1
  467. package/dist/react-native/api/pagingHelpers.d.ts +0 -7
  468. package/dist/react-native/api/pagingHelpers.d.ts.map +0 -1
  469. package/dist/react-native/api/pagingHelpers.js.map +0 -1
  470. package/dist/react-native/api/pollingHelpers.d.ts.map +0 -1
  471. package/dist/react-native/api/pollingHelpers.js.map +0 -1
  472. package/dist/react-native/models/options.d.ts.map +0 -1
  473. package/dist/react-native/models/options.js +0 -4
  474. package/dist/react-native/models/options.js.map +0 -1
  475. package/dist/react-native/models/pagingTypes.d.ts.map +0 -1
  476. package/dist/react-native/models/pagingTypes.js +0 -4
  477. package/dist/react-native/models/pagingTypes.js.map +0 -1
  478. package/dist/react-native/rest/clientDefinitions.d.ts +0 -61
  479. package/dist/react-native/rest/clientDefinitions.d.ts.map +0 -1
  480. package/dist/react-native/rest/clientDefinitions.js +0 -4
  481. package/dist/react-native/rest/clientDefinitions.js.map +0 -1
  482. package/dist/react-native/rest/healthDataAIServicesClient.d.ts +0 -15
  483. package/dist/react-native/rest/healthDataAIServicesClient.d.ts.map +0 -1
  484. package/dist/react-native/rest/healthDataAIServicesClient.js +0 -42
  485. package/dist/react-native/rest/healthDataAIServicesClient.js.map +0 -1
  486. package/dist/react-native/rest/index.d.ts +0 -12
  487. package/dist/react-native/rest/index.d.ts.map +0 -1
  488. package/dist/react-native/rest/index.js +0 -14
  489. package/dist/react-native/rest/index.js.map +0 -1
  490. package/dist/react-native/rest/isUnexpected.d.ts +0 -14
  491. package/dist/react-native/rest/isUnexpected.d.ts.map +0 -1
  492. package/dist/react-native/rest/isUnexpected.js +0 -83
  493. package/dist/react-native/rest/isUnexpected.js.map +0 -1
  494. package/dist/react-native/rest/models.d.ts +0 -213
  495. package/dist/react-native/rest/models.d.ts.map +0 -1
  496. package/dist/react-native/rest/models.js +0 -4
  497. package/dist/react-native/rest/models.js.map +0 -1
  498. package/dist/react-native/rest/outputModels.d.ts +0 -304
  499. package/dist/react-native/rest/outputModels.d.ts.map +0 -1
  500. package/dist/react-native/rest/outputModels.js +0 -4
  501. package/dist/react-native/rest/outputModels.js.map +0 -1
  502. package/dist/react-native/rest/paginateHelper.d.ts +0 -43
  503. package/dist/react-native/rest/paginateHelper.d.ts.map +0 -1
  504. package/dist/react-native/rest/paginateHelper.js +0 -70
  505. package/dist/react-native/rest/paginateHelper.js.map +0 -1
  506. package/dist/react-native/rest/parameters.d.ts +0 -27
  507. package/dist/react-native/rest/parameters.d.ts.map +0 -1
  508. package/dist/react-native/rest/parameters.js +0 -4
  509. package/dist/react-native/rest/parameters.js.map +0 -1
  510. package/dist/react-native/rest/pollingHelper.d.ts +0 -81
  511. package/dist/react-native/rest/pollingHelper.d.ts.map +0 -1
  512. package/dist/react-native/rest/pollingHelper.js +0 -97
  513. package/dist/react-native/rest/pollingHelper.js.map +0 -1
  514. package/dist/react-native/rest/responses.d.ts +0 -190
  515. package/dist/react-native/rest/responses.d.ts.map +0 -1
  516. package/dist/react-native/rest/responses.js +0 -4
  517. package/dist/react-native/rest/responses.js.map +0 -1
  518. /package/dist/browser/{models → api}/options.d.ts +0 -0
  519. /package/dist/commonjs/{models → api}/options.d.ts +0 -0
  520. /package/dist/esm/{models → api}/options.d.ts +0 -0
  521. /package/dist/react-native/{models → api}/options.d.ts +0 -0
@@ -1,53 +1,20 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
3
- import { getLongRunningPoller } from "../pollingHelpers.js";
4
- import { privateEndpointConnectionPropertiesSerializer, } from "../../models/models.js";
5
- import { buildPagedAsyncIterator } from "../pagingHelpers.js";
6
- import { isUnexpected, } from "../../rest/index.js";
7
- import { operationOptionsToRequestParameters, createRestError, } from "@azure-rest/core-client";
2
+ // Licensed under the MIT License.
3
+ import { privateEndpointConnectionResourceSerializer, privateEndpointConnectionResourceDeserializer, _privateEndpointConnectionResourceListResultDeserializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
8
7
  export function _privateEndpointConnectionsGetSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = { requestOptions: {} }) {
9
8
  return context
10
9
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName)
11
10
  .get(Object.assign({}, operationOptionsToRequestParameters(options)));
12
11
  }
13
12
  export async function _privateEndpointConnectionsGetDeserialize(result) {
14
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
15
- if (isUnexpected(result)) {
13
+ const expectedStatuses = ["200"];
14
+ if (!expectedStatuses.includes(result.status)) {
16
15
  throw createRestError(result);
17
16
  }
18
- return {
19
- id: result.body["id"],
20
- name: result.body["name"],
21
- type: result.body["type"],
22
- systemData: !result.body.systemData
23
- ? undefined
24
- : {
25
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
26
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
27
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
28
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
29
- : undefined,
30
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
31
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
32
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
33
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
34
- : undefined,
35
- },
36
- properties: !result.body.properties
37
- ? undefined
38
- : {
39
- groupIds: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
40
- privateEndpoint: !((_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
41
- ? undefined
42
- : { id: (_m = (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
43
- privateLinkServiceConnectionState: {
44
- status: (_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
45
- description: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
46
- actionsRequired: (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
47
- },
48
- provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
49
- },
50
- };
17
+ return privateEndpointConnectionResourceDeserializer(result.body);
51
18
  }
52
19
  /** Get a specific private connection */
53
20
  export async function privateEndpointConnectionsGet(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = { requestOptions: {} }) {
@@ -59,60 +26,24 @@ export function _privateEndpointConnectionsCreateSend(context, subscriptionId, r
59
26
  }) {
60
27
  return context
61
28
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName)
62
- .put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: {
63
- properties: !resource.properties
64
- ? resource.properties
65
- : privateEndpointConnectionPropertiesSerializer(resource.properties),
66
- } }));
29
+ .put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: privateEndpointConnectionResourceSerializer(resource) }));
67
30
  }
68
31
  export async function _privateEndpointConnectionsCreateDeserialize(result) {
69
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
70
- if (isUnexpected(result)) {
32
+ const expectedStatuses = ["200", "201"];
33
+ if (!expectedStatuses.includes(result.status)) {
71
34
  throw createRestError(result);
72
35
  }
73
- const res = result;
74
- return {
75
- id: res.body["id"],
76
- name: res.body["name"],
77
- type: res.body["type"],
78
- systemData: !res.body.systemData
79
- ? undefined
80
- : {
81
- createdBy: (_a = res.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
82
- createdByType: (_b = res.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
83
- createdAt: ((_c = res.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
84
- ? new Date((_d = res.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
85
- : undefined,
86
- lastModifiedBy: (_e = res.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
87
- lastModifiedByType: (_f = res.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
88
- lastModifiedAt: ((_g = res.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
89
- ? new Date((_h = res.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
90
- : undefined,
91
- },
92
- properties: !res.body.properties
93
- ? undefined
94
- : {
95
- groupIds: (_j = res.body.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
96
- privateEndpoint: !((_k = res.body.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
97
- ? undefined
98
- : { id: (_m = (_l = res.body.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
99
- privateLinkServiceConnectionState: {
100
- status: (_o = res.body.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
101
- description: (_p = res.body.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
102
- actionsRequired: (_q = res.body.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
103
- },
104
- provisioningState: (_r = res.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
105
- },
106
- };
36
+ return privateEndpointConnectionResourceDeserializer(result.body);
107
37
  }
108
38
  /** Create a Private endpoint connection */
109
39
  export function privateEndpointConnectionsCreate(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, resource, options = {
110
40
  requestOptions: {},
111
41
  }) {
112
- return getLongRunningPoller(context, _privateEndpointConnectionsCreateDeserialize, {
42
+ return getLongRunningPoller(context, _privateEndpointConnectionsCreateDeserialize, ["200", "201"], {
113
43
  updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
114
44
  abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
115
45
  getInitialResponse: () => _privateEndpointConnectionsCreateSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, resource, options),
46
+ resourceLocationConfig: "azure-async-operation",
116
47
  });
117
48
  }
118
49
  export function _privateEndpointConnectionsDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = {
@@ -123,7 +54,8 @@ export function _privateEndpointConnectionsDeleteSend(context, subscriptionId, r
123
54
  .delete(Object.assign({}, operationOptionsToRequestParameters(options)));
124
55
  }
125
56
  export async function _privateEndpointConnectionsDeleteDeserialize(result) {
126
- if (isUnexpected(result)) {
57
+ const expectedStatuses = ["202", "204", "200"];
58
+ if (!expectedStatuses.includes(result.status)) {
127
59
  throw createRestError(result);
128
60
  }
129
61
  return;
@@ -132,10 +64,11 @@ export async function _privateEndpointConnectionsDeleteDeserialize(result) {
132
64
  export function privateEndpointConnectionsDelete(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = {
133
65
  requestOptions: {},
134
66
  }) {
135
- return getLongRunningPoller(context, _privateEndpointConnectionsDeleteDeserialize, {
67
+ return getLongRunningPoller(context, _privateEndpointConnectionsDeleteDeserialize, ["202", "204", "200"], {
136
68
  updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
137
69
  abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
138
70
  getInitialResponse: () => _privateEndpointConnectionsDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options),
71
+ resourceLocationConfig: "location",
139
72
  });
140
73
  }
141
74
  export function _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options = {
@@ -146,53 +79,16 @@ export function _privateEndpointConnectionsListByDeidServiceSend(context, subscr
146
79
  .get(Object.assign({}, operationOptionsToRequestParameters(options)));
147
80
  }
148
81
  export async function _privateEndpointConnectionsListByDeidServiceDeserialize(result) {
149
- if (isUnexpected(result)) {
82
+ const expectedStatuses = ["200"];
83
+ if (!expectedStatuses.includes(result.status)) {
150
84
  throw createRestError(result);
151
85
  }
152
- return {
153
- value: result.body["value"].map((p) => {
154
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
155
- return {
156
- id: p["id"],
157
- name: p["name"],
158
- type: p["type"],
159
- systemData: !p.systemData
160
- ? undefined
161
- : {
162
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
163
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
164
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
165
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
166
- : undefined,
167
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
168
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
169
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
170
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
171
- : undefined,
172
- },
173
- properties: !p.properties
174
- ? undefined
175
- : {
176
- groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
177
- privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
178
- ? undefined
179
- : { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
180
- privateLinkServiceConnectionState: {
181
- status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
182
- description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
183
- actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
184
- },
185
- provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
186
- },
187
- };
188
- }),
189
- nextLink: result.body["nextLink"],
190
- };
86
+ return _privateEndpointConnectionResourceListResultDeserializer(result.body);
191
87
  }
192
88
  /** List private endpoint connections on the given resource */
193
89
  export function privateEndpointConnectionsListByDeidService(context, subscriptionId, resourceGroupName, deidServiceName, options = {
194
90
  requestOptions: {},
195
91
  }) {
196
- return buildPagedAsyncIterator(context, () => _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateEndpointConnectionsListByDeidServiceDeserialize, { itemName: "value", nextLinkName: "nextLink" });
92
+ return buildPagedAsyncIterator(context, () => _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateEndpointConnectionsListByDeidServiceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
197
93
  }
198
94
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EACL,6CAA6C,GAG9C,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,YAAY,GAcb,MAAM,qBAAqB,CAAC;AAC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BAC3E,eAAe,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAE,iCAAiC,CAAC,iBAAiB,CAAC;yBACpF;wBACD,iBAAiB,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAG,mBAAmB,CAAC;qBACvD;aACN,CAAC;QACJ,CAAC,CAAC;QACF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KAClC,CAAC;AACJ,CAAC;AAED,8DAA8D;AAC9D,MAAM,UAAU,2CAA2C,CACzD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAqE;IACnE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,gDAAgD,CAC9C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,uDAAuD,EACvD,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { getLongRunningPoller } from \"../pollingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n privateEndpointConnectionPropertiesSerializer,\n PrivateEndpointConnectionResource,\n _PrivateEndpointConnectionResourceListResult,\n} from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { buildPagedAsyncIterator } from \"../pagingHelpers.js\";\nimport {\n isUnexpected,\n HealthDataAIServicesContext as Client,\n PrivateEndpointConnectionsCreate200Response,\n PrivateEndpointConnectionsCreate201Response,\n PrivateEndpointConnectionsCreateDefaultResponse,\n PrivateEndpointConnectionsCreateLogicalResponse,\n PrivateEndpointConnectionsDelete202Response,\n PrivateEndpointConnectionsDelete204Response,\n PrivateEndpointConnectionsDeleteDefaultResponse,\n PrivateEndpointConnectionsDeleteLogicalResponse,\n PrivateEndpointConnectionsGet200Response,\n PrivateEndpointConnectionsGetDefaultResponse,\n PrivateEndpointConnectionsListByDeidService200Response,\n PrivateEndpointConnectionsListByDeidServiceDefaultResponse,\n} from \"../../rest/index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport {\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _privateEndpointConnectionsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod<\n PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsGetDeserialize(\n result: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse,\n): Promise<PrivateEndpointConnectionResource> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n groupIds: result.body.properties?.[\"groupIds\"],\n privateEndpoint: !result.body.properties?.privateEndpoint\n ? undefined\n : { id: result.body.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: result.body.properties?.privateLinkServiceConnectionState[\"status\"],\n description: result.body.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired:\n result.body.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a specific private connection */\nexport async function privateEndpointConnectionsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnectionResource> {\n const result = await _privateEndpointConnectionsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n );\n return _privateEndpointConnectionsGetDeserialize(result);\n}\n\nexport function _privateEndpointConnectionsCreateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsCreate200Response\n | PrivateEndpointConnectionsCreate201Response\n | PrivateEndpointConnectionsCreateDefaultResponse\n | PrivateEndpointConnectionsCreateLogicalResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: {\n properties: !resource.properties\n ? resource.properties\n : privateEndpointConnectionPropertiesSerializer(resource.properties),\n },\n });\n}\n\nexport async function _privateEndpointConnectionsCreateDeserialize(\n result:\n | PrivateEndpointConnectionsCreate200Response\n | PrivateEndpointConnectionsCreate201Response\n | PrivateEndpointConnectionsCreateDefaultResponse\n | PrivateEndpointConnectionsCreateLogicalResponse,\n): Promise<PrivateEndpointConnectionResource> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n const res = result as unknown as PrivateEndpointConnectionsCreateLogicalResponse;\n return {\n id: res.body[\"id\"],\n name: res.body[\"name\"],\n type: res.body[\"type\"],\n systemData: !res.body.systemData\n ? undefined\n : {\n createdBy: res.body.systemData?.[\"createdBy\"],\n createdByType: res.body.systemData?.[\"createdByType\"],\n createdAt:\n res.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(res.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: res.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: res.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n res.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(res.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !res.body.properties\n ? undefined\n : {\n groupIds: res.body.properties?.[\"groupIds\"],\n privateEndpoint: !res.body.properties?.privateEndpoint\n ? undefined\n : { id: res.body.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: res.body.properties?.privateLinkServiceConnectionState[\"status\"],\n description: res.body.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired:\n res.body.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: res.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Create a Private endpoint connection */\nexport function privateEndpointConnectionsCreate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n> {\n return getLongRunningPoller(context, _privateEndpointConnectionsCreateDeserialize, {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsCreateSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n }) as PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n}\n\nexport function _privateEndpointConnectionsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsDelete202Response\n | PrivateEndpointConnectionsDelete204Response\n | PrivateEndpointConnectionsDeleteDefaultResponse\n | PrivateEndpointConnectionsDeleteLogicalResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsDeleteDeserialize(\n result:\n | PrivateEndpointConnectionsDelete202Response\n | PrivateEndpointConnectionsDelete204Response\n | PrivateEndpointConnectionsDeleteDefaultResponse\n | PrivateEndpointConnectionsDeleteLogicalResponse,\n): Promise<void> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete the private endpoint connection */\nexport function privateEndpointConnectionsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _privateEndpointConnectionsDeleteDeserialize, {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _privateEndpointConnectionsListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsListByDeidService200Response\n | PrivateEndpointConnectionsListByDeidServiceDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsListByDeidServiceDeserialize(\n result:\n | PrivateEndpointConnectionsListByDeidService200Response\n | PrivateEndpointConnectionsListByDeidServiceDefaultResponse,\n): Promise<_PrivateEndpointConnectionResourceListResult> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n groupIds: p.properties?.[\"groupIds\"],\n privateEndpoint: !p.properties?.privateEndpoint\n ? undefined\n : { id: p.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: p.properties?.privateLinkServiceConnectionState[\"status\"],\n description: p.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired: p.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List private endpoint connections on the given resource */\nexport function privateEndpointConnectionsListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateEndpointConnectionsListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateEndpointConnectionsListByDeidServiceDeserialize,\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,OAAO,EAEL,2CAA2C,EAC3C,6CAA6C,EAE7C,wDAAwD,GACzD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACv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QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,wDAAwD,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC/E,CAAC;AAED,8DAA8D;AAC9D,MAAM,UAAU,2CAA2C,CACzD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAqE;IACnE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,gDAAgD,CAC9C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,uDAAuD,EACvD,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n HealthDataAIServicesContext as Client,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../index.js\";\nimport {\n PrivateEndpointConnectionResource,\n privateEndpointConnectionResourceSerializer,\n privateEndpointConnectionResourceDeserializer,\n _PrivateEndpointConnectionResourceListResult,\n _privateEndpointConnectionResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _privateEndpointConnectionsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnectionResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return privateEndpointConnectionResourceDeserializer(result.body);\n}\n\n/** Get a specific private connection */\nexport async function privateEndpointConnectionsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnectionResource> {\n const result = await _privateEndpointConnectionsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n );\n return _privateEndpointConnectionsGetDeserialize(result);\n}\n\nexport function _privateEndpointConnectionsCreateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: privateEndpointConnectionResourceSerializer(resource),\n });\n}\n\nexport async function _privateEndpointConnectionsCreateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnectionResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return privateEndpointConnectionResourceDeserializer(result.body);\n}\n\n/** Create a Private endpoint connection */\nexport function privateEndpointConnectionsCreate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n> {\n return getLongRunningPoller(\n context,\n _privateEndpointConnectionsCreateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsCreateSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n}\n\nexport function _privateEndpointConnectionsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete the private endpoint connection */\nexport function privateEndpointConnectionsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _privateEndpointConnectionsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _privateEndpointConnectionsListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsListByDeidServiceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateEndpointConnectionResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _privateEndpointConnectionResourceListResultDeserializer(result.body);\n}\n\n/** List private endpoint connections on the given resource */\nexport function privateEndpointConnectionsListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateEndpointConnectionsListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateEndpointConnectionsListByDeidServiceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -1,10 +1,9 @@
1
- import { PrivateLinkResource, _PrivateLinkResourceListResult } from "../../models/models.js";
2
- import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
3
- import { HealthDataAIServicesContext as Client, PrivateLinksListByDeidService200Response, PrivateLinksListByDeidServiceDefaultResponse } from "../../rest/index.js";
4
- import { StreamableMethod } from "@azure-rest/core-client";
5
- import { PrivateLinksListByDeidServiceOptionalParams } from "../../models/options.js";
6
- export declare function _privateLinksListByDeidServiceSend(context: Client, subscriptionId: string, resourceGroupName: string, deidServiceName: string, options?: PrivateLinksListByDeidServiceOptionalParams): StreamableMethod<PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse>;
7
- export declare function _privateLinksListByDeidServiceDeserialize(result: PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse): Promise<_PrivateLinkResourceListResult>;
1
+ import { HealthDataAIServicesContext as Client, PrivateLinksListByDeidServiceOptionalParams } from "../index.js";
2
+ import { _PrivateLinkResourceListResult, PrivateLinkResource } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ export declare function _privateLinksListByDeidServiceSend(context: Client, subscriptionId: string, resourceGroupName: string, deidServiceName: string, options?: PrivateLinksListByDeidServiceOptionalParams): StreamableMethod;
6
+ export declare function _privateLinksListByDeidServiceDeserialize(result: PathUncheckedResponse): Promise<_PrivateLinkResourceListResult>;
8
7
  /** List private links on the given resource */
9
8
  export declare function privateLinksListByDeidService(context: Client, subscriptionId: string, resourceGroupName: string, deidServiceName: string, options?: PrivateLinksListByDeidServiceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
10
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE,OAAO,EAEL,2BAA2B,IAAI,MAAM,EACrC,wCAAwC,EACxC,4CAA4C,EAC7C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAGjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,2CAA2C,EAAE,MAAM,yBAAyB,CAAC;AAEtF,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,gBAAgB,CACjB,wCAAwC,GAAG,4CAA4C,CACxF,CASA;AAED,wBAAsB,yCAAyC,CAC7D,MAAM,EAAE,wCAAwC,GAAG,4CAA4C,GAC9F,OAAO,CAAC,8BAA8B,CAAC,CAsCzC;AAED,+CAA+C;AAC/C,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,0BAA0B,CAAC,mBAAmB,CAAC,CAcjD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2BAA2B,IAAI,MAAM,EACrC,2CAA2C,EAC5C,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,8BAA8B,EAE9B,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,gBAAgB,CASlB;AAED,wBAAsB,yCAAyC,CAC7D,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CAOzC;AAED,+CAA+C;AAC/C,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,0BAA0B,CAAC,mBAAmB,CAAC,CAejD"}
@@ -1,52 +1,22 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
3
- import { buildPagedAsyncIterator } from "../pagingHelpers.js";
4
- import { isUnexpected, } from "../../rest/index.js";
5
- import { operationOptionsToRequestParameters, createRestError, } from "@azure-rest/core-client";
2
+ // Licensed under the MIT License.
3
+ import { _privateLinkResourceListResultDeserializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
6
6
  export function _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
7
7
  return context
8
8
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources", subscriptionId, resourceGroupName, deidServiceName)
9
9
  .get(Object.assign({}, operationOptionsToRequestParameters(options)));
10
10
  }
11
11
  export async function _privateLinksListByDeidServiceDeserialize(result) {
12
- if (isUnexpected(result)) {
12
+ const expectedStatuses = ["200"];
13
+ if (!expectedStatuses.includes(result.status)) {
13
14
  throw createRestError(result);
14
15
  }
15
- return {
16
- value: result.body["value"].map((p) => {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
18
- return {
19
- id: p["id"],
20
- name: p["name"],
21
- type: p["type"],
22
- systemData: !p.systemData
23
- ? undefined
24
- : {
25
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
26
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
27
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
28
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
29
- : undefined,
30
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
31
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
32
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
33
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
34
- : undefined,
35
- },
36
- properties: !p.properties
37
- ? undefined
38
- : {
39
- groupId: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupId"],
40
- requiredMembers: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["requiredMembers"],
41
- requiredZoneNames: (_l = p.properties) === null || _l === void 0 ? void 0 : _l["requiredZoneNames"],
42
- },
43
- };
44
- }),
45
- nextLink: result.body["nextLink"],
46
- };
16
+ return _privateLinkResourceListResultDeserializer(result.body);
47
17
  }
48
18
  /** List private links on the given resource */
49
19
  export function privateLinksListByDeidService(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
50
- return buildPagedAsyncIterator(context, () => _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateLinksListByDeidServiceDeserialize, { itemName: "value", nextLinkName: "nextLink" });
20
+ return buildPagedAsyncIterator(context, () => _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateLinksListByDeidServiceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
51
21
  }
52
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,YAAY,GAIb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,mCAAmC,EACnC,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAI7E,OAAO,OAAO;SACX,IAAI,CACH,iKAAiK,EACjK,cAAc,EACd,iBAAiB,EACjB,eAAe,CAChB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yCAAyC,CAC7D,MAA+F;IAE/F,IAAI,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO;QACL,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;;YACpC,OAAO;gBACL,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC;gBACX,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;gBACf,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;gBACf,UA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EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,yCAAyC,EACzC,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PrivateLinkResource, _PrivateLinkResourceListResult } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { buildPagedAsyncIterator } from \"../pagingHelpers.js\";\nimport {\n isUnexpected,\n HealthDataAIServicesContext as Client,\n PrivateLinksListByDeidService200Response,\n PrivateLinksListByDeidServiceDefaultResponse,\n} from \"../../rest/index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport { PrivateLinksListByDeidServiceOptionalParams } from \"../../models/options.js\";\n\nexport function _privateLinksListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): StreamableMethod<\n PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateLinksListByDeidServiceDeserialize(\n result: PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse,\n): Promise<_PrivateLinkResourceListResult> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n groupId: p.properties?.[\"groupId\"],\n requiredMembers: p.properties?.[\"requiredMembers\"],\n requiredZoneNames: p.properties?.[\"requiredZoneNames\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List private links on the given resource */\nexport function privateLinksListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PrivateLinkResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateLinksListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateLinksListByDeidServiceDeserialize,\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAEL,0CAA0C,GAE3C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,OAAO;SACX,IAAI,CACH,iKAAiK,EACjK,cAAc,EACd,iBAAiB,EACjB,eAAe,CAChB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yCAAyC,CAC7D,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,0CAA0C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AAED,+CAA+C;AAC/C,MAAM,UAAU,6BAA6B,CAC3C,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,yCAAyC,EACzC,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n HealthDataAIServicesContext as Client,\n PrivateLinksListByDeidServiceOptionalParams,\n} from \"../index.js\";\nimport {\n _PrivateLinkResourceListResult,\n _privateLinkResourceListResultDeserializer,\n PrivateLinkResource,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _privateLinksListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateLinksListByDeidServiceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateLinkResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _privateLinkResourceListResultDeserializer(result.body);\n}\n\n/** List private links on the given resource */\nexport function privateLinksListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PrivateLinkResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateLinksListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateLinksListByDeidServiceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
2
2
  import { DeidService, DeidUpdate } from "../../models/models.js";
3
- import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
4
  import { PollerLike, OperationState } from "@azure/core-lro";
5
- import { DeidServicesGetOptionalParams, DeidServicesListByResourceGroupOptionalParams, DeidServicesListBySubscriptionOptionalParams, DeidServicesCreateOptionalParams, DeidServicesUpdateOptionalParams, DeidServicesDeleteOptionalParams } from "../../models/options.js";
5
+ import { DeidServicesGetOptionalParams, DeidServicesListByResourceGroupOptionalParams, DeidServicesListBySubscriptionOptionalParams, DeidServicesCreateOptionalParams, DeidServicesUpdateOptionalParams, DeidServicesDeleteOptionalParams } from "../../api/options.js";
6
6
  /** Interface representing a DeidServices operations. */
7
7
  export interface DeidServicesOperations {
8
8
  /** Get a DeidService */
@@ -20,8 +20,8 @@ export interface DeidServicesOperations {
20
20
  }
21
21
  export declare function getDeidServices(context: HealthDataAIServicesContext, subscriptionId: string): {
22
22
  get: (resourceGroupName: string, deidServiceName: string, options?: DeidServicesGetOptionalParams) => Promise<DeidService>;
23
- listByResourceGroup: (resourceGroupName: string, options?: DeidServicesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../models/pagingTypes.js").PageSettings>;
24
- listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../models/pagingTypes.js").PageSettings>;
23
+ listByResourceGroup: (resourceGroupName: string, options?: DeidServicesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
24
+ listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
25
25
  create: (resourceGroupName: string, deidServiceName: string, resource: DeidService, options?: DeidServicesCreateOptionalParams) => PollerLike<OperationState<DeidService>, DeidService>;
26
26
  update: (resourceGroupName: string, deidServiceName: string, properties: DeidUpdate, options?: DeidServicesUpdateOptionalParams) => PollerLike<OperationState<DeidService>, DeidService>;
27
27
  delete: (resourceGroupName: string, deidServiceName: string, options?: DeidServicesDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EA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,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,KACvC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;CAC7C;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,2BAA2B,EAAE,cAAc,EAAE,MAAM;6BAGnE,MAAM,mBACR,MAAM,YACb,6BAA6B;6CAGpB,MAAM,YACf,6CAA6C;mCAE1B,4CAA4C;gCAGtD,MAAM,mBACR,MAAM,YACb,WAAW,YACX,gCAAgC;gCAWvB,MAAM,mBACR,MAAM,cACX,UAAU,YACZ,gCAAgC;gCAWvB,MAAM,mBACR,MAAM,YACb,gCAAgC;EAG/C;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM,GACrB,sBAAsB,CAIxB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AASvF,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,6BAA6B,EAC7B,6CAA6C,EAC7C,4CAA4C,EAC5C,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EACjC,MAAM,sBAAsB,CAAC;AAE9B,wDAAwD;AACxD,MAAM,WAAW,sBAAsB;IACrC,wBAAwB;IACxB,GAAG,EAAE,CACH,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,KACpC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1B,mDAAmD;IACnD,mBAAmB,EAAE,CACnB,iBAAiB,EAAE,MAAM,EAC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// Licensed under the MIT license.
2
+ // Licensed under the MIT License.
3
3
  import { deidServicesGet, deidServicesListByResourceGroup, deidServicesListBySubscription, deidServicesCreate, deidServicesUpdate, deidServicesDelete, } from "../../api/deidServices/index.js";
4
4
  export function getDeidServices(context, subscriptionId) {
5
5
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EACL,eAAe,EACf,+BAA+B,EAC/B,8BAA8B,EAC9B,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AAmDzC,MAAM,UAAU,eAAe,CAAC,OAAoC,EAAE,cAAsB;IAC1F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,OAAuC,EACvC,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;QAC1F,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAuD,EACvD,EAAE,CAAC,+BAA+B,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QACzF,kBAAkB,EAAE,CAAC,OAAsD,EAAE,EAAE,CAC7E,8BAA8B,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QAClE,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,QAAqB,EACrB,OAA0C,EAC1C,EAAE,CACF,kBAAkB,CAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,UAAsB,EACtB,OAA0C,EAC1C,EAAE,CACF,kBAAkB,CAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,OAA0C,EAC1C,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;KAC9F,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,OAAoC,EACpC,cAAsB;IAEtB,yBACK,eAAe,CAAC,OAAO,EAAE,cAAc,CAAC,EAC3C;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport { DeidService, DeidUpdate } from \"../../models/models.js\";\nimport {\n deidServicesGet,\n deidServicesListByResourceGroup,\n deidServicesListBySubscription,\n deidServicesCreate,\n deidServicesUpdate,\n deidServicesDelete,\n} from \"../../api/deidServices/index.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DeidServicesGetOptionalParams,\n DeidServicesListByResourceGroupOptionalParams,\n DeidServicesListBySubscriptionOptionalParams,\n DeidServicesCreateOptionalParams,\n DeidServicesUpdateOptionalParams,\n DeidServicesDeleteOptionalParams,\n} from \"../../models/options.js\";\n\n/** Interface representing a DeidServices operations. */\nexport interface DeidServicesOperations {\n /** Get a DeidService */\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => Promise<DeidService>;\n /** List DeidService resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** List DeidService resources by subscription ID */\n listBySubscription: (\n options?: DeidServicesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** Create a DeidService */\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Update a DeidService */\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Delete a DeidService */\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n}\n\nexport function getDeidServices(context: HealthDataAIServicesContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => deidServicesGet(context, subscriptionId, resourceGroupName, deidServiceName, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => deidServicesListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) =>\n deidServicesListBySubscription(context, subscriptionId, options),\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) =>\n deidServicesCreate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) =>\n deidServicesUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => deidServicesDelete(context, subscriptionId, resourceGroupName, deidServiceName, options),\n };\n}\n\nexport function getDeidServicesOperations(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n): DeidServicesOperations {\n return {\n ...getDeidServices(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,eAAe,EAC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the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport {\n deidServicesGet,\n deidServicesListByResourceGroup,\n deidServicesListBySubscription,\n deidServicesCreate,\n deidServicesUpdate,\n deidServicesDelete,\n} from \"../../api/deidServices/index.js\";\nimport { DeidService, DeidUpdate } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DeidServicesGetOptionalParams,\n DeidServicesListByResourceGroupOptionalParams,\n DeidServicesListBySubscriptionOptionalParams,\n DeidServicesCreateOptionalParams,\n DeidServicesUpdateOptionalParams,\n DeidServicesDeleteOptionalParams,\n} from \"../../api/options.js\";\n\n/** Interface representing a DeidServices operations. */\nexport interface DeidServicesOperations {\n /** Get a DeidService */\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => Promise<DeidService>;\n /** List DeidService resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** List DeidService resources by subscription ID */\n listBySubscription: (\n options?: DeidServicesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** Create a DeidService */\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Update a DeidService */\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Delete a DeidService */\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n}\n\nexport function getDeidServices(context: HealthDataAIServicesContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => deidServicesGet(context, subscriptionId, resourceGroupName, deidServiceName, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => deidServicesListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) =>\n deidServicesListBySubscription(context, subscriptionId, options),\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) =>\n deidServicesCreate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) =>\n deidServicesUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => deidServicesDelete(context, subscriptionId, resourceGroupName, deidServiceName, options),\n };\n}\n\nexport function getDeidServicesOperations(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n): DeidServicesOperations {\n return {\n ...getDeidServices(context, subscriptionId),\n };\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
2
+ // Licensed under the MIT License.
3
3
  export {};
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport { DeidServicesOperations } from \"./deidServices/index.js\";\nexport { OperationsOperations } from \"./operations/index.js\";\nexport { PrivateEndpointConnectionsOperations } from \"./privateEndpointConnections/index.js\";\nexport { PrivateLinksOperations } from \"./privateLinks/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { DeidServicesOperations } from \"./deidServices/index.js\";\nexport { OperationsOperations } from \"./operations/index.js\";\nexport { PrivateEndpointConnectionsOperations } from \"./privateEndpointConnections/index.js\";\nexport { PrivateLinksOperations } from \"./privateLinks/index.js\";\n"]}
@@ -1,14 +1,14 @@
1
1
  import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
2
+ import { OperationsListOptionalParams } from "../../api/options.js";
2
3
  import { Operation } from "../../models/models.js";
3
- import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
4
- import { OperationsListOptionalParams } from "../../models/options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
5
  /** Interface representing a Operations operations. */
6
6
  export interface OperationsOperations {
7
7
  /** List the operations for the provider */
8
8
  list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;
9
9
  }
10
10
  export declare function getOperations(context: HealthDataAIServicesContext): {
11
- list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation, Operation[], import("../../models/pagingTypes.js").PageSettings>;
11
+ list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation, Operation[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
12
12
  };
13
13
  export declare function getOperationsOperations(context: HealthDataAIServicesContext): OperationsOperations;
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAEvE,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,4BAA4B,KAAK,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACzF;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,2BAA2B;qBAE7C,4BAA4B;EAEhD;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,2BAA2B,GACnC,oBAAoB,CAItB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,4BAA4B,KAAK,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACzF;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,2BAA2B;qBAE7C,4BAA4B;EAEhD;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,2BAA2B,GACnC,oBAAoB,CAItB"}
@@ -1,5 +1,5 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
2
+ // Licensed under the MIT License.
3
3
  import { operationsList } from "../../api/operations/index.js";
4
4
  export function getOperations(context) {
5
5
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAU/D,MAAM,UAAU,aAAa,CAAC,OAAoC;IAChE,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,OAAoC;IAEpC,yBACK,aAAa,CAAC,OAAO,CAAC,EACzB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { OperationsListOptionalParams } from \"../../models/options.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: HealthDataAIServicesContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(\n context: HealthDataAIServicesContext,\n): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAW/D,MAAM,UAAU,aAAa,CAAC,OAAoC;IAChE,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,OAAoC;IAEpC,yBACK,aAAa,CAAC,OAAO,CAAC,EACzB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { OperationsListOptionalParams } from \"../../api/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: HealthDataAIServicesContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(\n context: HealthDataAIServicesContext,\n): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
2
+ import { PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByDeidServiceOptionalParams } from "../../api/options.js";
2
3
  import { PrivateEndpointConnectionResource } from "../../models/models.js";
3
- import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
5
  import { PollerLike, OperationState } from "@azure/core-lro";
5
- import { PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByDeidServiceOptionalParams } from "../../models/options.js";
6
6
  /** Interface representing a PrivateEndpointConnections operations. */
7
7
  export interface PrivateEndpointConnectionsOperations {
8
8
  /** Get a specific private connection */
@@ -18,7 +18,7 @@ export declare function getPrivateEndpointConnections(context: HealthDataAIServi
18
18
  get: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams) => Promise<PrivateEndpointConnectionResource>;
19
19
  create: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, resource: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsCreateOptionalParams) => PollerLike<OperationState<PrivateEndpointConnectionResource>, PrivateEndpointConnectionResource>;
20
20
  delete: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
21
- listByDeidService: (resourceGroupName: string, deidServiceName: string, options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource, PrivateEndpointConnectionResource[], import("../../models/pagingTypes.js").PageSettings>;
21
+ listByDeidService: (resourceGroupName: string, deidServiceName: string, options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource, PrivateEndpointConnectionResource[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
22
22
  };
23
23
  export declare function getPrivateEndpointConnectionsOperations(context: HealthDataAIServicesContext, subscriptionId: string): PrivateEndpointConnectionsOperations;
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAO3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,2CAA2C,EAC3C,8CAA8C,EAC9C,8CAA8C,EAC9C,yDAAyD,EAC1D,MAAM,yBAAyB,CAAC;AAEjC,sEAAsE;AACtE,MAAM,WAAW,oCAAoC;IACnD,wCAAwC;IACxC,GAAG,EAAE,CACH,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,KAClD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAChD,2CAA2C;IAC3C,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,QAAQ,EAAE,iCAAiC,EAC3C,OAAO,CAAC,EAAE,8CAA8C,KACrD,UAAU,CACb,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CAAC;IACF,6CAA6C;IAC7C,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,KACrD,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAC5C,8DAA8D;IAC9D,iBAAiB,EAAE,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,yDAAyD,KAChE,0BAA0B,CAAC,iCAAiC,CAAC,CAAC;CACpE;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM;6BAIC,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,2CAA2C;gCAWlC,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,iCAAiC,YACjC,8CAA8C;gCAYrC,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,8CAA8C;2CAWrC,MAAM,mBACR,MAAM,YACb,yDAAyD;EAUxE;AAED,wBAAgB,uCAAuC,CACrD,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM,GACrB,oCAAoC,CAItC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CA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