@azure/arm-healthdataaiservices 1.0.0-beta.1

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 (524) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +100 -0
  4. package/dist/browser/api/deidServices/index.d.ts +31 -0
  5. package/dist/browser/api/deidServices/index.d.ts.map +1 -0
  6. package/dist/browser/api/deidServices/index.js +519 -0
  7. package/dist/browser/api/deidServices/index.js.map +1 -0
  8. package/dist/browser/api/healthDataAIServicesContext.d.ts +12 -0
  9. package/dist/browser/api/healthDataAIServicesContext.d.ts.map +1 -0
  10. package/dist/browser/api/healthDataAIServicesContext.js +12 -0
  11. package/dist/browser/api/healthDataAIServicesContext.js.map +1 -0
  12. package/dist/browser/api/index.d.ts +6 -0
  13. package/dist/browser/api/index.d.ts.map +1 -0
  14. package/dist/browser/api/index.js +8 -0
  15. package/dist/browser/api/index.js.map +1 -0
  16. package/dist/browser/api/operations/index.d.ts +10 -0
  17. package/dist/browser/api/operations/index.d.ts.map +1 -0
  18. package/dist/browser/api/operations/index.js +40 -0
  19. package/dist/browser/api/operations/index.js.map +1 -0
  20. package/dist/browser/api/pagingHelpers.d.ts +7 -0
  21. package/dist/browser/api/pagingHelpers.d.ts.map +1 -0
  22. package/dist/browser/api/pagingHelpers.js +138 -0
  23. package/dist/browser/api/pagingHelpers.js.map +1 -0
  24. package/dist/browser/api/pollingHelpers.d.ts +30 -0
  25. package/dist/browser/api/pollingHelpers.d.ts.map +1 -0
  26. package/dist/browser/api/pollingHelpers.js +81 -0
  27. package/dist/browser/api/pollingHelpers.js.map +1 -0
  28. package/dist/browser/api/privateEndpointConnections/index.d.ts +23 -0
  29. package/dist/browser/api/privateEndpointConnections/index.d.ts.map +1 -0
  30. package/dist/browser/api/privateEndpointConnections/index.js +198 -0
  31. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
  32. package/dist/browser/api/privateLinks/index.d.ts +10 -0
  33. package/dist/browser/api/privateLinks/index.d.ts.map +1 -0
  34. package/dist/browser/api/privateLinks/index.js +52 -0
  35. package/dist/browser/api/privateLinks/index.js.map +1 -0
  36. package/dist/browser/classic/deidServices/index.d.ts +30 -0
  37. package/dist/browser/classic/deidServices/index.d.ts.map +1 -0
  38. package/dist/browser/classic/deidServices/index.js +17 -0
  39. package/dist/browser/classic/deidServices/index.js.map +1 -0
  40. package/dist/browser/classic/index.d.ts +5 -0
  41. package/dist/browser/classic/index.d.ts.map +1 -0
  42. package/dist/browser/classic/index.js +4 -0
  43. package/dist/browser/classic/index.js.map +1 -0
  44. package/dist/browser/classic/operations/index.d.ts +14 -0
  45. package/dist/browser/classic/operations/index.d.ts.map +1 -0
  46. package/dist/browser/classic/operations/index.js +12 -0
  47. package/dist/browser/classic/operations/index.js.map +1 -0
  48. package/dist/browser/classic/privateEndpointConnections/index.d.ts +24 -0
  49. package/dist/browser/classic/privateEndpointConnections/index.d.ts.map +1 -0
  50. package/dist/browser/classic/privateEndpointConnections/index.js +15 -0
  51. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
  52. package/dist/browser/classic/privateLinks/index.d.ts +14 -0
  53. package/dist/browser/classic/privateLinks/index.d.ts.map +1 -0
  54. package/dist/browser/classic/privateLinks/index.js +12 -0
  55. package/dist/browser/classic/privateLinks/index.js.map +1 -0
  56. package/dist/browser/healthDataAIServicesClient.d.ts +23 -0
  57. package/dist/browser/healthDataAIServicesClient.d.ts.map +1 -0
  58. package/dist/browser/healthDataAIServicesClient.js +23 -0
  59. package/dist/browser/healthDataAIServicesClient.js.map +1 -0
  60. package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
  61. package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
  62. package/dist/browser/helpers/serializerHelpers.js +24 -0
  63. package/dist/browser/helpers/serializerHelpers.js.map +1 -0
  64. package/dist/browser/index.d.ts +5 -0
  65. package/dist/browser/index.d.ts.map +1 -0
  66. package/dist/browser/index.js +6 -0
  67. package/dist/browser/index.js.map +1 -0
  68. package/dist/browser/logger.d.ts +2 -0
  69. package/dist/browser/logger.d.ts.map +1 -0
  70. package/dist/browser/logger.js +5 -0
  71. package/dist/browser/logger.js.map +1 -0
  72. package/dist/browser/models/index.d.ts +4 -0
  73. package/dist/browser/models/index.d.ts.map +1 -0
  74. package/dist/browser/models/index.js +4 -0
  75. package/dist/browser/models/index.js.map +1 -0
  76. package/dist/browser/models/models.d.ts +377 -0
  77. package/dist/browser/models/models.d.ts.map +1 -0
  78. package/dist/browser/models/models.js +163 -0
  79. package/dist/browser/models/models.js.map +1 -0
  80. package/dist/browser/models/options.d.ts +48 -0
  81. package/dist/browser/models/options.d.ts.map +1 -0
  82. package/dist/browser/models/options.js +4 -0
  83. package/dist/browser/models/options.js.map +1 -0
  84. package/dist/browser/models/pagingTypes.d.ts +67 -0
  85. package/dist/browser/models/pagingTypes.d.ts.map +1 -0
  86. package/dist/browser/models/pagingTypes.js +4 -0
  87. package/dist/browser/models/pagingTypes.js.map +1 -0
  88. package/dist/browser/package.json +3 -0
  89. package/dist/browser/rest/clientDefinitions.d.ts +61 -0
  90. package/dist/browser/rest/clientDefinitions.d.ts.map +1 -0
  91. package/dist/browser/rest/clientDefinitions.js +4 -0
  92. package/dist/browser/rest/clientDefinitions.js.map +1 -0
  93. package/dist/browser/rest/healthDataAIServicesClient.d.ts +15 -0
  94. package/dist/browser/rest/healthDataAIServicesClient.d.ts.map +1 -0
  95. package/dist/browser/rest/healthDataAIServicesClient.js +42 -0
  96. package/dist/browser/rest/healthDataAIServicesClient.js.map +1 -0
  97. package/dist/browser/rest/index.d.ts +12 -0
  98. package/dist/browser/rest/index.d.ts.map +1 -0
  99. package/dist/browser/rest/index.js +14 -0
  100. package/dist/browser/rest/index.js.map +1 -0
  101. package/dist/browser/rest/isUnexpected.d.ts +14 -0
  102. package/dist/browser/rest/isUnexpected.d.ts.map +1 -0
  103. package/dist/browser/rest/isUnexpected.js +83 -0
  104. package/dist/browser/rest/isUnexpected.js.map +1 -0
  105. package/dist/browser/rest/models.d.ts +213 -0
  106. package/dist/browser/rest/models.d.ts.map +1 -0
  107. package/dist/browser/rest/models.js +4 -0
  108. package/dist/browser/rest/models.js.map +1 -0
  109. package/dist/browser/rest/outputModels.d.ts +304 -0
  110. package/dist/browser/rest/outputModels.d.ts.map +1 -0
  111. package/dist/browser/rest/outputModels.js +4 -0
  112. package/dist/browser/rest/outputModels.js.map +1 -0
  113. package/dist/browser/rest/paginateHelper.d.ts +43 -0
  114. package/dist/browser/rest/paginateHelper.d.ts.map +1 -0
  115. package/dist/browser/rest/paginateHelper.js +70 -0
  116. package/dist/browser/rest/paginateHelper.js.map +1 -0
  117. package/dist/browser/rest/parameters.d.ts +27 -0
  118. package/dist/browser/rest/parameters.d.ts.map +1 -0
  119. package/dist/browser/rest/parameters.js +4 -0
  120. package/dist/browser/rest/parameters.js.map +1 -0
  121. package/dist/browser/rest/pollingHelper.d.ts +81 -0
  122. package/dist/browser/rest/pollingHelper.d.ts.map +1 -0
  123. package/dist/browser/rest/pollingHelper.js +97 -0
  124. package/dist/browser/rest/pollingHelper.js.map +1 -0
  125. package/dist/browser/rest/responses.d.ts +190 -0
  126. package/dist/browser/rest/responses.d.ts.map +1 -0
  127. package/dist/browser/rest/responses.js +4 -0
  128. package/dist/browser/rest/responses.js.map +1 -0
  129. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  130. package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
  131. package/dist/browser/restorePollerHelpers.js +94 -0
  132. package/dist/browser/restorePollerHelpers.js.map +1 -0
  133. package/dist/commonjs/api/deidServices/index.d.ts +31 -0
  134. package/dist/commonjs/api/deidServices/index.d.ts.map +1 -0
  135. package/dist/commonjs/api/deidServices/index.js +539 -0
  136. package/dist/commonjs/api/deidServices/index.js.map +1 -0
  137. package/dist/commonjs/api/healthDataAIServicesContext.d.ts +12 -0
  138. package/dist/commonjs/api/healthDataAIServicesContext.d.ts.map +1 -0
  139. package/dist/commonjs/api/healthDataAIServicesContext.js +16 -0
  140. package/dist/commonjs/api/healthDataAIServicesContext.js.map +1 -0
  141. package/dist/commonjs/api/index.d.ts +6 -0
  142. package/dist/commonjs/api/index.d.ts.map +1 -0
  143. package/dist/commonjs/api/index.js +24 -0
  144. package/dist/commonjs/api/index.js.map +1 -0
  145. package/dist/commonjs/api/operations/index.d.ts +10 -0
  146. package/dist/commonjs/api/operations/index.d.ts.map +1 -0
  147. package/dist/commonjs/api/operations/index.js +45 -0
  148. package/dist/commonjs/api/operations/index.js.map +1 -0
  149. package/dist/commonjs/api/pagingHelpers.d.ts +7 -0
  150. package/dist/commonjs/api/pagingHelpers.d.ts.map +1 -0
  151. package/dist/commonjs/api/pagingHelpers.js +141 -0
  152. package/dist/commonjs/api/pagingHelpers.js.map +1 -0
  153. package/dist/commonjs/api/pollingHelpers.d.ts +30 -0
  154. package/dist/commonjs/api/pollingHelpers.d.ts.map +1 -0
  155. package/dist/commonjs/api/pollingHelpers.js +84 -0
  156. package/dist/commonjs/api/pollingHelpers.js.map +1 -0
  157. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +23 -0
  158. package/dist/commonjs/api/privateEndpointConnections/index.d.ts.map +1 -0
  159. package/dist/commonjs/api/privateEndpointConnections/index.js +212 -0
  160. package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -0
  161. package/dist/commonjs/api/privateLinks/index.d.ts +10 -0
  162. package/dist/commonjs/api/privateLinks/index.d.ts.map +1 -0
  163. package/dist/commonjs/api/privateLinks/index.js +57 -0
  164. package/dist/commonjs/api/privateLinks/index.js.map +1 -0
  165. package/dist/commonjs/classic/deidServices/index.d.ts +30 -0
  166. package/dist/commonjs/classic/deidServices/index.d.ts.map +1 -0
  167. package/dist/commonjs/classic/deidServices/index.js +21 -0
  168. package/dist/commonjs/classic/deidServices/index.js.map +1 -0
  169. package/dist/commonjs/classic/index.d.ts +5 -0
  170. package/dist/commonjs/classic/index.d.ts.map +1 -0
  171. package/dist/commonjs/classic/index.js +5 -0
  172. package/dist/commonjs/classic/index.js.map +1 -0
  173. package/dist/commonjs/classic/operations/index.d.ts +14 -0
  174. package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
  175. package/dist/commonjs/classic/operations/index.js +16 -0
  176. package/dist/commonjs/classic/operations/index.js.map +1 -0
  177. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +24 -0
  178. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts.map +1 -0
  179. package/dist/commonjs/classic/privateEndpointConnections/index.js +19 -0
  180. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -0
  181. package/dist/commonjs/classic/privateLinks/index.d.ts +14 -0
  182. package/dist/commonjs/classic/privateLinks/index.d.ts.map +1 -0
  183. package/dist/commonjs/classic/privateLinks/index.js +16 -0
  184. package/dist/commonjs/classic/privateLinks/index.js.map +1 -0
  185. package/dist/commonjs/healthDataAIServicesClient.d.ts +23 -0
  186. package/dist/commonjs/healthDataAIServicesClient.d.ts.map +1 -0
  187. package/dist/commonjs/healthDataAIServicesClient.js +27 -0
  188. package/dist/commonjs/healthDataAIServicesClient.js.map +1 -0
  189. package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
  190. package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
  191. package/dist/commonjs/helpers/serializerHelpers.js +27 -0
  192. package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
  193. package/dist/commonjs/index.d.ts +5 -0
  194. package/dist/commonjs/index.d.ts.map +1 -0
  195. package/dist/commonjs/index.js +18 -0
  196. package/dist/commonjs/index.js.map +1 -0
  197. package/dist/commonjs/logger.d.ts +2 -0
  198. package/dist/commonjs/logger.d.ts.map +1 -0
  199. package/dist/commonjs/logger.js +8 -0
  200. package/dist/commonjs/logger.js.map +1 -0
  201. package/dist/commonjs/models/index.d.ts +4 -0
  202. package/dist/commonjs/models/index.d.ts.map +1 -0
  203. package/dist/commonjs/models/index.js +14 -0
  204. package/dist/commonjs/models/index.js.map +1 -0
  205. package/dist/commonjs/models/models.d.ts +377 -0
  206. package/dist/commonjs/models/models.d.ts.map +1 -0
  207. package/dist/commonjs/models/models.js +180 -0
  208. package/dist/commonjs/models/models.js.map +1 -0
  209. package/dist/commonjs/models/options.d.ts +48 -0
  210. package/dist/commonjs/models/options.d.ts.map +1 -0
  211. package/dist/commonjs/models/options.js +5 -0
  212. package/dist/commonjs/models/options.js.map +1 -0
  213. package/dist/commonjs/models/pagingTypes.d.ts +67 -0
  214. package/dist/commonjs/models/pagingTypes.d.ts.map +1 -0
  215. package/dist/commonjs/models/pagingTypes.js +5 -0
  216. package/dist/commonjs/models/pagingTypes.js.map +1 -0
  217. package/dist/commonjs/package.json +3 -0
  218. package/dist/commonjs/rest/clientDefinitions.d.ts +61 -0
  219. package/dist/commonjs/rest/clientDefinitions.d.ts.map +1 -0
  220. package/dist/commonjs/rest/clientDefinitions.js +5 -0
  221. package/dist/commonjs/rest/clientDefinitions.js.map +1 -0
  222. package/dist/commonjs/rest/healthDataAIServicesClient.d.ts +15 -0
  223. package/dist/commonjs/rest/healthDataAIServicesClient.d.ts.map +1 -0
  224. package/dist/commonjs/rest/healthDataAIServicesClient.js +45 -0
  225. package/dist/commonjs/rest/healthDataAIServicesClient.js.map +1 -0
  226. package/dist/commonjs/rest/index.d.ts +12 -0
  227. package/dist/commonjs/rest/index.d.ts.map +1 -0
  228. package/dist/commonjs/rest/index.js +17 -0
  229. package/dist/commonjs/rest/index.js.map +1 -0
  230. package/dist/commonjs/rest/isUnexpected.d.ts +14 -0
  231. package/dist/commonjs/rest/isUnexpected.d.ts.map +1 -0
  232. package/dist/commonjs/rest/isUnexpected.js +86 -0
  233. package/dist/commonjs/rest/isUnexpected.js.map +1 -0
  234. package/dist/commonjs/rest/models.d.ts +213 -0
  235. package/dist/commonjs/rest/models.d.ts.map +1 -0
  236. package/dist/commonjs/rest/models.js +5 -0
  237. package/dist/commonjs/rest/models.js.map +1 -0
  238. package/dist/commonjs/rest/outputModels.d.ts +304 -0
  239. package/dist/commonjs/rest/outputModels.d.ts.map +1 -0
  240. package/dist/commonjs/rest/outputModels.js +5 -0
  241. package/dist/commonjs/rest/outputModels.js.map +1 -0
  242. package/dist/commonjs/rest/paginateHelper.d.ts +43 -0
  243. package/dist/commonjs/rest/paginateHelper.d.ts.map +1 -0
  244. package/dist/commonjs/rest/paginateHelper.js +73 -0
  245. package/dist/commonjs/rest/paginateHelper.js.map +1 -0
  246. package/dist/commonjs/rest/parameters.d.ts +27 -0
  247. package/dist/commonjs/rest/parameters.d.ts.map +1 -0
  248. package/dist/commonjs/rest/parameters.js +5 -0
  249. package/dist/commonjs/rest/parameters.js.map +1 -0
  250. package/dist/commonjs/rest/pollingHelper.d.ts +81 -0
  251. package/dist/commonjs/rest/pollingHelper.d.ts.map +1 -0
  252. package/dist/commonjs/rest/pollingHelper.js +100 -0
  253. package/dist/commonjs/rest/pollingHelper.js.map +1 -0
  254. package/dist/commonjs/rest/responses.d.ts +190 -0
  255. package/dist/commonjs/rest/responses.d.ts.map +1 -0
  256. package/dist/commonjs/rest/responses.js +5 -0
  257. package/dist/commonjs/rest/responses.js.map +1 -0
  258. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  259. package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
  260. package/dist/commonjs/restorePollerHelpers.js +97 -0
  261. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  262. package/dist/commonjs/tsdoc-metadata.json +11 -0
  263. package/dist/esm/api/deidServices/index.d.ts +31 -0
  264. package/dist/esm/api/deidServices/index.d.ts.map +1 -0
  265. package/dist/esm/api/deidServices/index.js +519 -0
  266. package/dist/esm/api/deidServices/index.js.map +1 -0
  267. package/dist/esm/api/healthDataAIServicesContext.d.ts +12 -0
  268. package/dist/esm/api/healthDataAIServicesContext.d.ts.map +1 -0
  269. package/dist/esm/api/healthDataAIServicesContext.js +12 -0
  270. package/dist/esm/api/healthDataAIServicesContext.js.map +1 -0
  271. package/dist/esm/api/index.d.ts +6 -0
  272. package/dist/esm/api/index.d.ts.map +1 -0
  273. package/dist/esm/api/index.js +8 -0
  274. package/dist/esm/api/index.js.map +1 -0
  275. package/dist/esm/api/operations/index.d.ts +10 -0
  276. package/dist/esm/api/operations/index.d.ts.map +1 -0
  277. package/dist/esm/api/operations/index.js +40 -0
  278. package/dist/esm/api/operations/index.js.map +1 -0
  279. package/dist/esm/api/pagingHelpers.d.ts +7 -0
  280. package/dist/esm/api/pagingHelpers.d.ts.map +1 -0
  281. package/dist/esm/api/pagingHelpers.js +138 -0
  282. package/dist/esm/api/pagingHelpers.js.map +1 -0
  283. package/dist/esm/api/pollingHelpers.d.ts +30 -0
  284. package/dist/esm/api/pollingHelpers.d.ts.map +1 -0
  285. package/dist/esm/api/pollingHelpers.js +81 -0
  286. package/dist/esm/api/pollingHelpers.js.map +1 -0
  287. package/dist/esm/api/privateEndpointConnections/index.d.ts +23 -0
  288. package/dist/esm/api/privateEndpointConnections/index.d.ts.map +1 -0
  289. package/dist/esm/api/privateEndpointConnections/index.js +198 -0
  290. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
  291. package/dist/esm/api/privateLinks/index.d.ts +10 -0
  292. package/dist/esm/api/privateLinks/index.d.ts.map +1 -0
  293. package/dist/esm/api/privateLinks/index.js +52 -0
  294. package/dist/esm/api/privateLinks/index.js.map +1 -0
  295. package/dist/esm/classic/deidServices/index.d.ts +30 -0
  296. package/dist/esm/classic/deidServices/index.d.ts.map +1 -0
  297. package/dist/esm/classic/deidServices/index.js +17 -0
  298. package/dist/esm/classic/deidServices/index.js.map +1 -0
  299. package/dist/esm/classic/index.d.ts +5 -0
  300. package/dist/esm/classic/index.d.ts.map +1 -0
  301. package/dist/esm/classic/index.js +4 -0
  302. package/dist/esm/classic/index.js.map +1 -0
  303. package/dist/esm/classic/operations/index.d.ts +14 -0
  304. package/dist/esm/classic/operations/index.d.ts.map +1 -0
  305. package/dist/esm/classic/operations/index.js +12 -0
  306. package/dist/esm/classic/operations/index.js.map +1 -0
  307. package/dist/esm/classic/privateEndpointConnections/index.d.ts +24 -0
  308. package/dist/esm/classic/privateEndpointConnections/index.d.ts.map +1 -0
  309. package/dist/esm/classic/privateEndpointConnections/index.js +15 -0
  310. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
  311. package/dist/esm/classic/privateLinks/index.d.ts +14 -0
  312. package/dist/esm/classic/privateLinks/index.d.ts.map +1 -0
  313. package/dist/esm/classic/privateLinks/index.js +12 -0
  314. package/dist/esm/classic/privateLinks/index.js.map +1 -0
  315. package/dist/esm/healthDataAIServicesClient.d.ts +23 -0
  316. package/dist/esm/healthDataAIServicesClient.d.ts.map +1 -0
  317. package/dist/esm/healthDataAIServicesClient.js +23 -0
  318. package/dist/esm/healthDataAIServicesClient.js.map +1 -0
  319. package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
  320. package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
  321. package/dist/esm/helpers/serializerHelpers.js +24 -0
  322. package/dist/esm/helpers/serializerHelpers.js.map +1 -0
  323. package/dist/esm/index.d.ts +5 -0
  324. package/dist/esm/index.d.ts.map +1 -0
  325. package/dist/esm/index.js +6 -0
  326. package/dist/esm/index.js.map +1 -0
  327. package/dist/esm/logger.d.ts +2 -0
  328. package/dist/esm/logger.d.ts.map +1 -0
  329. package/dist/esm/logger.js +5 -0
  330. package/dist/esm/logger.js.map +1 -0
  331. package/dist/esm/models/index.d.ts +4 -0
  332. package/dist/esm/models/index.d.ts.map +1 -0
  333. package/dist/esm/models/index.js +4 -0
  334. package/dist/esm/models/index.js.map +1 -0
  335. package/dist/esm/models/models.d.ts +377 -0
  336. package/dist/esm/models/models.d.ts.map +1 -0
  337. package/dist/esm/models/models.js +163 -0
  338. package/dist/esm/models/models.js.map +1 -0
  339. package/dist/esm/models/options.d.ts +48 -0
  340. package/dist/esm/models/options.d.ts.map +1 -0
  341. package/dist/esm/models/options.js +4 -0
  342. package/dist/esm/models/options.js.map +1 -0
  343. package/dist/esm/models/pagingTypes.d.ts +67 -0
  344. package/dist/esm/models/pagingTypes.d.ts.map +1 -0
  345. package/dist/esm/models/pagingTypes.js +4 -0
  346. package/dist/esm/models/pagingTypes.js.map +1 -0
  347. package/dist/esm/package.json +3 -0
  348. package/dist/esm/rest/clientDefinitions.d.ts +61 -0
  349. package/dist/esm/rest/clientDefinitions.d.ts.map +1 -0
  350. package/dist/esm/rest/clientDefinitions.js +4 -0
  351. package/dist/esm/rest/clientDefinitions.js.map +1 -0
  352. package/dist/esm/rest/healthDataAIServicesClient.d.ts +15 -0
  353. package/dist/esm/rest/healthDataAIServicesClient.d.ts.map +1 -0
  354. package/dist/esm/rest/healthDataAIServicesClient.js +42 -0
  355. package/dist/esm/rest/healthDataAIServicesClient.js.map +1 -0
  356. package/dist/esm/rest/index.d.ts +12 -0
  357. package/dist/esm/rest/index.d.ts.map +1 -0
  358. package/dist/esm/rest/index.js +14 -0
  359. package/dist/esm/rest/index.js.map +1 -0
  360. package/dist/esm/rest/isUnexpected.d.ts +14 -0
  361. package/dist/esm/rest/isUnexpected.d.ts.map +1 -0
  362. package/dist/esm/rest/isUnexpected.js +83 -0
  363. package/dist/esm/rest/isUnexpected.js.map +1 -0
  364. package/dist/esm/rest/models.d.ts +213 -0
  365. package/dist/esm/rest/models.d.ts.map +1 -0
  366. package/dist/esm/rest/models.js +4 -0
  367. package/dist/esm/rest/models.js.map +1 -0
  368. package/dist/esm/rest/outputModels.d.ts +304 -0
  369. package/dist/esm/rest/outputModels.d.ts.map +1 -0
  370. package/dist/esm/rest/outputModels.js +4 -0
  371. package/dist/esm/rest/outputModels.js.map +1 -0
  372. package/dist/esm/rest/paginateHelper.d.ts +43 -0
  373. package/dist/esm/rest/paginateHelper.d.ts.map +1 -0
  374. package/dist/esm/rest/paginateHelper.js +70 -0
  375. package/dist/esm/rest/paginateHelper.js.map +1 -0
  376. package/dist/esm/rest/parameters.d.ts +27 -0
  377. package/dist/esm/rest/parameters.d.ts.map +1 -0
  378. package/dist/esm/rest/parameters.js +4 -0
  379. package/dist/esm/rest/parameters.js.map +1 -0
  380. package/dist/esm/rest/pollingHelper.d.ts +81 -0
  381. package/dist/esm/rest/pollingHelper.d.ts.map +1 -0
  382. package/dist/esm/rest/pollingHelper.js +97 -0
  383. package/dist/esm/rest/pollingHelper.js.map +1 -0
  384. package/dist/esm/rest/responses.d.ts +190 -0
  385. package/dist/esm/rest/responses.d.ts.map +1 -0
  386. package/dist/esm/rest/responses.js +4 -0
  387. package/dist/esm/rest/responses.js.map +1 -0
  388. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  389. package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
  390. package/dist/esm/restorePollerHelpers.js +94 -0
  391. package/dist/esm/restorePollerHelpers.js.map +1 -0
  392. package/dist/react-native/api/deidServices/index.d.ts +31 -0
  393. package/dist/react-native/api/deidServices/index.d.ts.map +1 -0
  394. package/dist/react-native/api/deidServices/index.js +519 -0
  395. package/dist/react-native/api/deidServices/index.js.map +1 -0
  396. package/dist/react-native/api/healthDataAIServicesContext.d.ts +12 -0
  397. package/dist/react-native/api/healthDataAIServicesContext.d.ts.map +1 -0
  398. package/dist/react-native/api/healthDataAIServicesContext.js +12 -0
  399. package/dist/react-native/api/healthDataAIServicesContext.js.map +1 -0
  400. package/dist/react-native/api/index.d.ts +6 -0
  401. package/dist/react-native/api/index.d.ts.map +1 -0
  402. package/dist/react-native/api/index.js +8 -0
  403. package/dist/react-native/api/index.js.map +1 -0
  404. package/dist/react-native/api/operations/index.d.ts +10 -0
  405. package/dist/react-native/api/operations/index.d.ts.map +1 -0
  406. package/dist/react-native/api/operations/index.js +40 -0
  407. package/dist/react-native/api/operations/index.js.map +1 -0
  408. package/dist/react-native/api/pagingHelpers.d.ts +7 -0
  409. package/dist/react-native/api/pagingHelpers.d.ts.map +1 -0
  410. package/dist/react-native/api/pagingHelpers.js +138 -0
  411. package/dist/react-native/api/pagingHelpers.js.map +1 -0
  412. package/dist/react-native/api/pollingHelpers.d.ts +30 -0
  413. package/dist/react-native/api/pollingHelpers.d.ts.map +1 -0
  414. package/dist/react-native/api/pollingHelpers.js +81 -0
  415. package/dist/react-native/api/pollingHelpers.js.map +1 -0
  416. package/dist/react-native/api/privateEndpointConnections/index.d.ts +23 -0
  417. package/dist/react-native/api/privateEndpointConnections/index.d.ts.map +1 -0
  418. package/dist/react-native/api/privateEndpointConnections/index.js +198 -0
  419. package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -0
  420. package/dist/react-native/api/privateLinks/index.d.ts +10 -0
  421. package/dist/react-native/api/privateLinks/index.d.ts.map +1 -0
  422. package/dist/react-native/api/privateLinks/index.js +52 -0
  423. package/dist/react-native/api/privateLinks/index.js.map +1 -0
  424. package/dist/react-native/classic/deidServices/index.d.ts +30 -0
  425. package/dist/react-native/classic/deidServices/index.d.ts.map +1 -0
  426. package/dist/react-native/classic/deidServices/index.js +17 -0
  427. package/dist/react-native/classic/deidServices/index.js.map +1 -0
  428. package/dist/react-native/classic/index.d.ts +5 -0
  429. package/dist/react-native/classic/index.d.ts.map +1 -0
  430. package/dist/react-native/classic/index.js +4 -0
  431. package/dist/react-native/classic/index.js.map +1 -0
  432. package/dist/react-native/classic/operations/index.d.ts +14 -0
  433. package/dist/react-native/classic/operations/index.d.ts.map +1 -0
  434. package/dist/react-native/classic/operations/index.js +12 -0
  435. package/dist/react-native/classic/operations/index.js.map +1 -0
  436. package/dist/react-native/classic/privateEndpointConnections/index.d.ts +24 -0
  437. package/dist/react-native/classic/privateEndpointConnections/index.d.ts.map +1 -0
  438. package/dist/react-native/classic/privateEndpointConnections/index.js +15 -0
  439. package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -0
  440. package/dist/react-native/classic/privateLinks/index.d.ts +14 -0
  441. package/dist/react-native/classic/privateLinks/index.d.ts.map +1 -0
  442. package/dist/react-native/classic/privateLinks/index.js +12 -0
  443. package/dist/react-native/classic/privateLinks/index.js.map +1 -0
  444. package/dist/react-native/healthDataAIServicesClient.d.ts +23 -0
  445. package/dist/react-native/healthDataAIServicesClient.d.ts.map +1 -0
  446. package/dist/react-native/healthDataAIServicesClient.js +23 -0
  447. package/dist/react-native/healthDataAIServicesClient.js.map +1 -0
  448. package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
  449. package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
  450. package/dist/react-native/helpers/serializerHelpers.js +24 -0
  451. package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
  452. package/dist/react-native/index.d.ts +5 -0
  453. package/dist/react-native/index.d.ts.map +1 -0
  454. package/dist/react-native/index.js +6 -0
  455. package/dist/react-native/index.js.map +1 -0
  456. package/dist/react-native/logger.d.ts +2 -0
  457. package/dist/react-native/logger.d.ts.map +1 -0
  458. package/dist/react-native/logger.js +5 -0
  459. package/dist/react-native/logger.js.map +1 -0
  460. package/dist/react-native/models/index.d.ts +4 -0
  461. package/dist/react-native/models/index.d.ts.map +1 -0
  462. package/dist/react-native/models/index.js +4 -0
  463. package/dist/react-native/models/index.js.map +1 -0
  464. package/dist/react-native/models/models.d.ts +377 -0
  465. package/dist/react-native/models/models.d.ts.map +1 -0
  466. package/dist/react-native/models/models.js +163 -0
  467. package/dist/react-native/models/models.js.map +1 -0
  468. package/dist/react-native/models/options.d.ts +48 -0
  469. package/dist/react-native/models/options.d.ts.map +1 -0
  470. package/dist/react-native/models/options.js +4 -0
  471. package/dist/react-native/models/options.js.map +1 -0
  472. package/dist/react-native/models/pagingTypes.d.ts +67 -0
  473. package/dist/react-native/models/pagingTypes.d.ts.map +1 -0
  474. package/dist/react-native/models/pagingTypes.js +4 -0
  475. package/dist/react-native/models/pagingTypes.js.map +1 -0
  476. package/dist/react-native/package.json +3 -0
  477. package/dist/react-native/rest/clientDefinitions.d.ts +61 -0
  478. package/dist/react-native/rest/clientDefinitions.d.ts.map +1 -0
  479. package/dist/react-native/rest/clientDefinitions.js +4 -0
  480. package/dist/react-native/rest/clientDefinitions.js.map +1 -0
  481. package/dist/react-native/rest/healthDataAIServicesClient.d.ts +15 -0
  482. package/dist/react-native/rest/healthDataAIServicesClient.d.ts.map +1 -0
  483. package/dist/react-native/rest/healthDataAIServicesClient.js +42 -0
  484. package/dist/react-native/rest/healthDataAIServicesClient.js.map +1 -0
  485. package/dist/react-native/rest/index.d.ts +12 -0
  486. package/dist/react-native/rest/index.d.ts.map +1 -0
  487. package/dist/react-native/rest/index.js +14 -0
  488. package/dist/react-native/rest/index.js.map +1 -0
  489. package/dist/react-native/rest/isUnexpected.d.ts +14 -0
  490. package/dist/react-native/rest/isUnexpected.d.ts.map +1 -0
  491. package/dist/react-native/rest/isUnexpected.js +83 -0
  492. package/dist/react-native/rest/isUnexpected.js.map +1 -0
  493. package/dist/react-native/rest/models.d.ts +213 -0
  494. package/dist/react-native/rest/models.d.ts.map +1 -0
  495. package/dist/react-native/rest/models.js +4 -0
  496. package/dist/react-native/rest/models.js.map +1 -0
  497. package/dist/react-native/rest/outputModels.d.ts +304 -0
  498. package/dist/react-native/rest/outputModels.d.ts.map +1 -0
  499. package/dist/react-native/rest/outputModels.js +4 -0
  500. package/dist/react-native/rest/outputModels.js.map +1 -0
  501. package/dist/react-native/rest/paginateHelper.d.ts +43 -0
  502. package/dist/react-native/rest/paginateHelper.d.ts.map +1 -0
  503. package/dist/react-native/rest/paginateHelper.js +70 -0
  504. package/dist/react-native/rest/paginateHelper.js.map +1 -0
  505. package/dist/react-native/rest/parameters.d.ts +27 -0
  506. package/dist/react-native/rest/parameters.d.ts.map +1 -0
  507. package/dist/react-native/rest/parameters.js +4 -0
  508. package/dist/react-native/rest/parameters.js.map +1 -0
  509. package/dist/react-native/rest/pollingHelper.d.ts +81 -0
  510. package/dist/react-native/rest/pollingHelper.d.ts.map +1 -0
  511. package/dist/react-native/rest/pollingHelper.js +97 -0
  512. package/dist/react-native/rest/pollingHelper.js.map +1 -0
  513. package/dist/react-native/rest/responses.d.ts +190 -0
  514. package/dist/react-native/rest/responses.d.ts.map +1 -0
  515. package/dist/react-native/rest/responses.js +4 -0
  516. package/dist/react-native/rest/responses.js.map +1 -0
  517. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  518. package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
  519. package/dist/react-native/restorePollerHelpers.js +94 -0
  520. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  521. package/package.json +188 -0
  522. package/review/arm-healthdataaiservices-api.api.md +70 -0
  523. package/review/arm-healthdataaiservices-models.api.md +314 -0
  524. package/review/arm-healthdataaiservices.api.md +374 -0
@@ -0,0 +1,539 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports._deidServicesGetSend = _deidServicesGetSend;
6
+ exports._deidServicesGetDeserialize = _deidServicesGetDeserialize;
7
+ exports.deidServicesGet = deidServicesGet;
8
+ exports._deidServicesListByResourceGroupSend = _deidServicesListByResourceGroupSend;
9
+ exports._deidServicesListByResourceGroupDeserialize = _deidServicesListByResourceGroupDeserialize;
10
+ exports.deidServicesListByResourceGroup = deidServicesListByResourceGroup;
11
+ exports._deidServicesListBySubscriptionSend = _deidServicesListBySubscriptionSend;
12
+ exports._deidServicesListBySubscriptionDeserialize = _deidServicesListBySubscriptionDeserialize;
13
+ exports.deidServicesListBySubscription = deidServicesListBySubscription;
14
+ exports._deidServicesCreateSend = _deidServicesCreateSend;
15
+ exports._deidServicesCreateDeserialize = _deidServicesCreateDeserialize;
16
+ exports.deidServicesCreate = deidServicesCreate;
17
+ exports._deidServicesUpdateSend = _deidServicesUpdateSend;
18
+ exports._deidServicesUpdateDeserialize = _deidServicesUpdateDeserialize;
19
+ exports.deidServicesUpdate = deidServicesUpdate;
20
+ exports._deidServicesDeleteSend = _deidServicesDeleteSend;
21
+ exports._deidServicesDeleteDeserialize = _deidServicesDeleteDeserialize;
22
+ exports.deidServicesDelete = deidServicesDelete;
23
+ const pollingHelpers_js_1 = require("../pollingHelpers.js");
24
+ const models_js_1 = require("../../models/models.js");
25
+ const pagingHelpers_js_1 = require("../pagingHelpers.js");
26
+ const index_js_1 = require("../../rest/index.js");
27
+ const core_client_1 = require("@azure-rest/core-client");
28
+ const serializerHelpers_js_1 = require("../../helpers/serializerHelpers.js");
29
+ function _deidServicesGetSend(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
30
+ return context
31
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", subscriptionId, resourceGroupName, deidServiceName)
32
+ .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
33
+ }
34
+ async function _deidServicesGetDeserialize(result) {
35
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
36
+ if ((0, index_js_1.isUnexpected)(result)) {
37
+ throw (0, core_client_1.createRestError)(result);
38
+ }
39
+ return {
40
+ tags: result.body["tags"],
41
+ location: result.body["location"],
42
+ id: result.body["id"],
43
+ name: result.body["name"],
44
+ type: result.body["type"],
45
+ systemData: !result.body.systemData
46
+ ? undefined
47
+ : {
48
+ createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
49
+ createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
50
+ createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
51
+ ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
52
+ : undefined,
53
+ lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
54
+ lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
55
+ lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
56
+ ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
57
+ : undefined,
58
+ },
59
+ properties: !result.body.properties
60
+ ? undefined
61
+ : {
62
+ provisioningState: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
63
+ serviceUrl: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
64
+ privateEndpointConnections: ((_l = result.body.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
65
+ ? (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
66
+ : (_o = result.body.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
67
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
68
+ return {
69
+ id: p["id"],
70
+ name: p["name"],
71
+ type: p["type"],
72
+ systemData: !p.systemData
73
+ ? undefined
74
+ : {
75
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
76
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
77
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
78
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
79
+ : undefined,
80
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
81
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
82
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
83
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
84
+ : undefined,
85
+ },
86
+ properties: !p.properties
87
+ ? undefined
88
+ : {
89
+ groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
90
+ privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
91
+ ? undefined
92
+ : { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
93
+ privateLinkServiceConnectionState: {
94
+ status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
95
+ description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
96
+ actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
97
+ },
98
+ provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
99
+ },
100
+ };
101
+ }),
102
+ publicNetworkAccess: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
103
+ },
104
+ identity: !result.body.identity
105
+ ? undefined
106
+ : {
107
+ principalId: (_q = result.body.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
108
+ tenantId: (_r = result.body.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
109
+ type: (_s = result.body.identity) === null || _s === void 0 ? void 0 : _s["type"],
110
+ userAssignedIdentities: (_t = result.body.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
111
+ },
112
+ };
113
+ }
114
+ /** Get a DeidService */
115
+ async function deidServicesGet(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
116
+ const result = await _deidServicesGetSend(context, subscriptionId, resourceGroupName, deidServiceName, options);
117
+ return _deidServicesGetDeserialize(result);
118
+ }
119
+ function _deidServicesListByResourceGroupSend(context, subscriptionId, resourceGroupName, options = {
120
+ requestOptions: {},
121
+ }) {
122
+ return context
123
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices", subscriptionId, resourceGroupName)
124
+ .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
125
+ }
126
+ async function _deidServicesListByResourceGroupDeserialize(result) {
127
+ if ((0, index_js_1.isUnexpected)(result)) {
128
+ throw (0, core_client_1.createRestError)(result);
129
+ }
130
+ return {
131
+ value: result.body["value"].map((p) => {
132
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
133
+ return {
134
+ tags: p["tags"],
135
+ location: p["location"],
136
+ id: p["id"],
137
+ name: p["name"],
138
+ type: p["type"],
139
+ systemData: !p.systemData
140
+ ? undefined
141
+ : {
142
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
143
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
144
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
145
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
146
+ : undefined,
147
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
148
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
149
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
150
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
151
+ : undefined,
152
+ },
153
+ properties: !p.properties
154
+ ? undefined
155
+ : {
156
+ provisioningState: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
157
+ serviceUrl: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
158
+ privateEndpointConnections: ((_l = p.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
159
+ ? (_m = p.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
160
+ : (_o = p.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
161
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
162
+ return {
163
+ id: p["id"],
164
+ name: p["name"],
165
+ type: p["type"],
166
+ systemData: !p.systemData
167
+ ? undefined
168
+ : {
169
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
170
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
171
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
172
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
173
+ : undefined,
174
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
175
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
176
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
177
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
178
+ : undefined,
179
+ },
180
+ properties: !p.properties
181
+ ? undefined
182
+ : {
183
+ groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
184
+ privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
185
+ ? undefined
186
+ : { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
187
+ privateLinkServiceConnectionState: {
188
+ status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
189
+ description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
190
+ actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
191
+ },
192
+ provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
193
+ },
194
+ };
195
+ }),
196
+ publicNetworkAccess: (_p = p.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
197
+ },
198
+ identity: !p.identity
199
+ ? undefined
200
+ : {
201
+ principalId: (_q = p.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
202
+ tenantId: (_r = p.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
203
+ type: (_s = p.identity) === null || _s === void 0 ? void 0 : _s["type"],
204
+ userAssignedIdentities: (_t = p.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
205
+ },
206
+ };
207
+ }),
208
+ nextLink: result.body["nextLink"],
209
+ };
210
+ }
211
+ /** List DeidService resources by resource group */
212
+ function deidServicesListByResourceGroup(context, subscriptionId, resourceGroupName, options = {
213
+ requestOptions: {},
214
+ }) {
215
+ return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _deidServicesListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _deidServicesListByResourceGroupDeserialize, { itemName: "value", nextLinkName: "nextLink" });
216
+ }
217
+ function _deidServicesListBySubscriptionSend(context, subscriptionId, options = {
218
+ requestOptions: {},
219
+ }) {
220
+ return context
221
+ .path("/subscriptions/{subscriptionId}/providers/Microsoft.HealthDataAIServices/deidServices", subscriptionId)
222
+ .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
223
+ }
224
+ async function _deidServicesListBySubscriptionDeserialize(result) {
225
+ if ((0, index_js_1.isUnexpected)(result)) {
226
+ throw (0, core_client_1.createRestError)(result);
227
+ }
228
+ return {
229
+ value: result.body["value"].map((p) => {
230
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
231
+ return {
232
+ tags: p["tags"],
233
+ location: p["location"],
234
+ id: p["id"],
235
+ name: p["name"],
236
+ type: p["type"],
237
+ systemData: !p.systemData
238
+ ? undefined
239
+ : {
240
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
241
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
242
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
243
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
244
+ : undefined,
245
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
246
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
247
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
248
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
249
+ : undefined,
250
+ },
251
+ properties: !p.properties
252
+ ? undefined
253
+ : {
254
+ provisioningState: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
255
+ serviceUrl: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
256
+ privateEndpointConnections: ((_l = p.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
257
+ ? (_m = p.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
258
+ : (_o = p.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
259
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
260
+ return {
261
+ id: p["id"],
262
+ name: p["name"],
263
+ type: p["type"],
264
+ systemData: !p.systemData
265
+ ? undefined
266
+ : {
267
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
268
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
269
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
270
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
271
+ : undefined,
272
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
273
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
274
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
275
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
276
+ : undefined,
277
+ },
278
+ properties: !p.properties
279
+ ? undefined
280
+ : {
281
+ groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
282
+ privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
283
+ ? undefined
284
+ : { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
285
+ privateLinkServiceConnectionState: {
286
+ status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
287
+ description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
288
+ actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
289
+ },
290
+ provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
291
+ },
292
+ };
293
+ }),
294
+ publicNetworkAccess: (_p = p.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
295
+ },
296
+ identity: !p.identity
297
+ ? undefined
298
+ : {
299
+ principalId: (_q = p.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
300
+ tenantId: (_r = p.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
301
+ type: (_s = p.identity) === null || _s === void 0 ? void 0 : _s["type"],
302
+ userAssignedIdentities: (_t = p.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
303
+ },
304
+ };
305
+ }),
306
+ nextLink: result.body["nextLink"],
307
+ };
308
+ }
309
+ /** List DeidService resources by subscription ID */
310
+ function deidServicesListBySubscription(context, subscriptionId, options = {
311
+ requestOptions: {},
312
+ }) {
313
+ return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _deidServicesListBySubscriptionSend(context, subscriptionId, options), _deidServicesListBySubscriptionDeserialize, { itemName: "value", nextLinkName: "nextLink" });
314
+ }
315
+ function _deidServicesCreateSend(context, subscriptionId, resourceGroupName, deidServiceName, resource, options = { requestOptions: {} }) {
316
+ return context
317
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", subscriptionId, resourceGroupName, deidServiceName)
318
+ .put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: {
319
+ tags: !resource.tags ? resource.tags : (0, serializerHelpers_js_1.serializeRecord)(resource.tags),
320
+ location: resource["location"],
321
+ properties: !resource.properties
322
+ ? resource.properties
323
+ : (0, models_js_1.deidServicePropertiesSerializer)(resource.properties),
324
+ identity: !resource.identity
325
+ ? resource.identity
326
+ : (0, models_js_1.managedServiceIdentitySerializer)(resource.identity),
327
+ } }));
328
+ }
329
+ async function _deidServicesCreateDeserialize(result) {
330
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
331
+ if ((0, index_js_1.isUnexpected)(result)) {
332
+ throw (0, core_client_1.createRestError)(result);
333
+ }
334
+ const res = result;
335
+ return {
336
+ tags: res.body["tags"],
337
+ location: res.body["location"],
338
+ id: res.body["id"],
339
+ name: res.body["name"],
340
+ type: res.body["type"],
341
+ systemData: !res.body.systemData
342
+ ? undefined
343
+ : {
344
+ createdBy: (_a = res.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
345
+ createdByType: (_b = res.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
346
+ createdAt: ((_c = res.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
347
+ ? new Date((_d = res.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
348
+ : undefined,
349
+ lastModifiedBy: (_e = res.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
350
+ lastModifiedByType: (_f = res.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
351
+ lastModifiedAt: ((_g = res.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
352
+ ? new Date((_h = res.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
353
+ : undefined,
354
+ },
355
+ properties: !res.body.properties
356
+ ? undefined
357
+ : {
358
+ provisioningState: (_j = res.body.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
359
+ serviceUrl: (_k = res.body.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
360
+ privateEndpointConnections: ((_l = res.body.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
361
+ ? (_m = res.body.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
362
+ : (_o = res.body.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
363
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
364
+ return {
365
+ id: p["id"],
366
+ name: p["name"],
367
+ type: p["type"],
368
+ systemData: !p.systemData
369
+ ? undefined
370
+ : {
371
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
372
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
373
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
374
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
375
+ : undefined,
376
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
377
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
378
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
379
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
380
+ : undefined,
381
+ },
382
+ properties: !p.properties
383
+ ? undefined
384
+ : {
385
+ groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
386
+ privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
387
+ ? undefined
388
+ : { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
389
+ privateLinkServiceConnectionState: {
390
+ status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
391
+ description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
392
+ actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
393
+ },
394
+ provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
395
+ },
396
+ };
397
+ }),
398
+ publicNetworkAccess: (_p = res.body.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
399
+ },
400
+ identity: !res.body.identity
401
+ ? undefined
402
+ : {
403
+ principalId: (_q = res.body.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
404
+ tenantId: (_r = res.body.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
405
+ type: (_s = res.body.identity) === null || _s === void 0 ? void 0 : _s["type"],
406
+ userAssignedIdentities: (_t = res.body.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
407
+ },
408
+ };
409
+ }
410
+ /** Create a DeidService */
411
+ function deidServicesCreate(context, subscriptionId, resourceGroupName, deidServiceName, resource, options = { requestOptions: {} }) {
412
+ return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _deidServicesCreateDeserialize, {
413
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
414
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
415
+ getInitialResponse: () => _deidServicesCreateSend(context, subscriptionId, resourceGroupName, deidServiceName, resource, options),
416
+ });
417
+ }
418
+ function _deidServicesUpdateSend(context, subscriptionId, resourceGroupName, deidServiceName, properties, options = { requestOptions: {} }) {
419
+ return context
420
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", subscriptionId, resourceGroupName, deidServiceName)
421
+ .patch(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: {
422
+ tags: !properties.tags ? properties.tags : (0, serializerHelpers_js_1.serializeRecord)(properties.tags),
423
+ identity: !properties.identity
424
+ ? properties.identity
425
+ : (0, models_js_1.managedServiceIdentityUpdateSerializer)(properties.identity),
426
+ properties: !properties.properties
427
+ ? properties.properties
428
+ : (0, models_js_1.deidPropertiesUpdateSerializer)(properties.properties),
429
+ } }));
430
+ }
431
+ async function _deidServicesUpdateDeserialize(result) {
432
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
433
+ if ((0, index_js_1.isUnexpected)(result)) {
434
+ throw (0, core_client_1.createRestError)(result);
435
+ }
436
+ const res = result;
437
+ return {
438
+ tags: res.body["tags"],
439
+ location: res.body["location"],
440
+ id: res.body["id"],
441
+ name: res.body["name"],
442
+ type: res.body["type"],
443
+ systemData: !res.body.systemData
444
+ ? undefined
445
+ : {
446
+ createdBy: (_a = res.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
447
+ createdByType: (_b = res.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
448
+ createdAt: ((_c = res.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
449
+ ? new Date((_d = res.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
450
+ : undefined,
451
+ lastModifiedBy: (_e = res.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
452
+ lastModifiedByType: (_f = res.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
453
+ lastModifiedAt: ((_g = res.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
454
+ ? new Date((_h = res.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
455
+ : undefined,
456
+ },
457
+ properties: !res.body.properties
458
+ ? undefined
459
+ : {
460
+ provisioningState: (_j = res.body.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
461
+ serviceUrl: (_k = res.body.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
462
+ privateEndpointConnections: ((_l = res.body.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
463
+ ? (_m = res.body.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
464
+ : (_o = res.body.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
465
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
466
+ return {
467
+ id: p["id"],
468
+ name: p["name"],
469
+ type: p["type"],
470
+ systemData: !p.systemData
471
+ ? undefined
472
+ : {
473
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
474
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
475
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
476
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
477
+ : undefined,
478
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
479
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
480
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
481
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
482
+ : undefined,
483
+ },
484
+ properties: !p.properties
485
+ ? undefined
486
+ : {
487
+ groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
488
+ privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
489
+ ? undefined
490
+ : { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
491
+ privateLinkServiceConnectionState: {
492
+ status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
493
+ description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
494
+ actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
495
+ },
496
+ provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
497
+ },
498
+ };
499
+ }),
500
+ publicNetworkAccess: (_p = res.body.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
501
+ },
502
+ identity: !res.body.identity
503
+ ? undefined
504
+ : {
505
+ principalId: (_q = res.body.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
506
+ tenantId: (_r = res.body.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
507
+ type: (_s = res.body.identity) === null || _s === void 0 ? void 0 : _s["type"],
508
+ userAssignedIdentities: (_t = res.body.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
509
+ },
510
+ };
511
+ }
512
+ /** Update a DeidService */
513
+ function deidServicesUpdate(context, subscriptionId, resourceGroupName, deidServiceName, properties, options = { requestOptions: {} }) {
514
+ return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _deidServicesUpdateDeserialize, {
515
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
516
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
517
+ getInitialResponse: () => _deidServicesUpdateSend(context, subscriptionId, resourceGroupName, deidServiceName, properties, options),
518
+ });
519
+ }
520
+ function _deidServicesDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
521
+ return context
522
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", subscriptionId, resourceGroupName, deidServiceName)
523
+ .delete(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
524
+ }
525
+ async function _deidServicesDeleteDeserialize(result) {
526
+ if ((0, index_js_1.isUnexpected)(result)) {
527
+ throw (0, core_client_1.createRestError)(result);
528
+ }
529
+ return;
530
+ }
531
+ /** Delete a DeidService */
532
+ function deidServicesDelete(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
533
+ return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _deidServicesDeleteDeserialize, {
534
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
535
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
536
+ getInitialResponse: () => _deidServicesDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, options),
537
+ });
538
+ }
539
+ //# sourceMappingURL=index.js.map