@azure/arm-maps 3.1.2-alpha.20260310.1 → 4.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 (698) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +11 -12
  3. package/dist/browser/api/accounts/index.d.ts +3 -0
  4. package/dist/browser/api/accounts/index.js +4 -0
  5. package/dist/browser/api/accounts/index.js.map +1 -0
  6. package/dist/browser/api/accounts/operations.d.ts +53 -0
  7. package/dist/browser/api/accounts/operations.js +278 -0
  8. package/dist/browser/api/accounts/operations.js.map +1 -0
  9. package/dist/browser/api/accounts/options.d.ts +29 -0
  10. package/dist/browser/api/accounts/options.js +4 -0
  11. package/dist/browser/api/accounts/options.js.map +1 -0
  12. package/dist/browser/api/azureMapsManagementContext.d.ts +22 -0
  13. package/dist/browser/api/azureMapsManagementContext.js +24 -0
  14. package/dist/browser/api/azureMapsManagementContext.js.map +1 -0
  15. package/dist/browser/api/creators/index.d.ts +3 -0
  16. package/dist/browser/api/creators/index.js +4 -0
  17. package/dist/browser/api/creators/index.js.map +1 -0
  18. package/dist/browser/api/creators/operations.d.ts +31 -0
  19. package/dist/browser/api/creators/operations.js +160 -0
  20. package/dist/browser/api/creators/operations.js.map +1 -0
  21. package/dist/browser/api/creators/options.d.ts +17 -0
  22. package/dist/browser/api/creators/options.js +4 -0
  23. package/dist/browser/api/creators/options.js.map +1 -0
  24. package/dist/browser/api/index.d.ts +3 -0
  25. package/dist/browser/api/index.js +4 -0
  26. package/dist/browser/api/index.js.map +1 -0
  27. package/dist/browser/api/maps/index.d.ts +3 -0
  28. package/dist/browser/api/maps/index.js +4 -0
  29. package/dist/browser/api/maps/index.js.map +1 -0
  30. package/dist/browser/api/maps/operations.d.ts +10 -0
  31. package/dist/browser/api/maps/operations.js +35 -0
  32. package/dist/browser/api/maps/operations.js.map +1 -0
  33. package/dist/browser/api/maps/options.d.ts +5 -0
  34. package/dist/browser/api/maps/options.js +4 -0
  35. package/dist/browser/api/maps/options.js.map +1 -0
  36. package/dist/browser/api/operationResult/index.d.ts +3 -0
  37. package/dist/browser/api/operationResult/index.js +4 -0
  38. package/dist/browser/api/operationResult/index.js.map +1 -0
  39. package/dist/browser/api/operationResult/operations.d.ts +9 -0
  40. package/dist/browser/api/operationResult/operations.js +37 -0
  41. package/dist/browser/api/operationResult/operations.js.map +1 -0
  42. package/dist/browser/api/operationResult/options.d.ts +7 -0
  43. package/dist/browser/api/operationResult/options.js +4 -0
  44. package/dist/browser/api/operationResult/options.js.map +1 -0
  45. package/dist/browser/api/operationStatus/index.d.ts +3 -0
  46. package/dist/browser/api/operationStatus/index.js +4 -0
  47. package/dist/browser/api/operationStatus/index.js.map +1 -0
  48. package/dist/browser/api/operationStatus/operations.d.ts +9 -0
  49. package/dist/browser/api/operationStatus/operations.js +34 -0
  50. package/dist/browser/api/operationStatus/operations.js.map +1 -0
  51. package/dist/browser/api/operationStatus/options.d.ts +5 -0
  52. package/dist/browser/api/operationStatus/options.js +4 -0
  53. package/dist/browser/api/operationStatus/options.js.map +1 -0
  54. package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
  55. package/dist/browser/api/privateEndpointConnections/index.js +4 -0
  56. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
  57. package/dist/browser/api/privateEndpointConnections/operations.d.ts +28 -0
  58. package/dist/browser/api/privateEndpointConnections/operations.js +140 -0
  59. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
  60. package/dist/browser/api/privateEndpointConnections/options.d.ts +18 -0
  61. package/dist/browser/api/privateEndpointConnections/options.js +4 -0
  62. package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
  63. package/dist/browser/api/privateLinkResources/index.d.ts +3 -0
  64. package/dist/browser/api/privateLinkResources/index.js +4 -0
  65. package/dist/browser/api/privateLinkResources/index.js.map +1 -0
  66. package/dist/browser/api/privateLinkResources/operations.d.ts +14 -0
  67. package/dist/browser/api/privateLinkResources/operations.js +67 -0
  68. package/dist/browser/api/privateLinkResources/operations.js.map +1 -0
  69. package/dist/browser/api/privateLinkResources/options.d.ts +8 -0
  70. package/dist/browser/api/privateLinkResources/options.js +4 -0
  71. package/dist/browser/api/privateLinkResources/options.js.map +1 -0
  72. package/dist/browser/azureMapsManagementClient.d.ts +31 -21
  73. package/dist/browser/azureMapsManagementClient.js +43 -102
  74. package/dist/browser/azureMapsManagementClient.js.map +1 -1
  75. package/dist/browser/classic/accounts/index.d.ts +38 -0
  76. package/dist/browser/classic/accounts/index.js +22 -0
  77. package/dist/browser/classic/accounts/index.js.map +1 -0
  78. package/dist/browser/classic/creators/index.d.ts +24 -0
  79. package/dist/browser/classic/creators/index.js +18 -0
  80. package/dist/browser/classic/creators/index.js.map +1 -0
  81. package/dist/browser/classic/index.d.ts +8 -0
  82. package/dist/browser/classic/index.js +4 -0
  83. package/dist/browser/classic/index.js.map +1 -0
  84. package/dist/browser/classic/maps/index.d.ts +11 -0
  85. package/dist/browser/classic/maps/index.js +14 -0
  86. package/dist/browser/classic/maps/index.js.map +1 -0
  87. package/dist/browser/classic/operationResult/index.d.ts +15 -0
  88. package/dist/browser/classic/operationResult/index.js +23 -0
  89. package/dist/browser/classic/operationResult/index.js.map +1 -0
  90. package/dist/browser/classic/operationStatus/index.d.ts +10 -0
  91. package/dist/browser/classic/operationStatus/index.js +14 -0
  92. package/dist/browser/classic/operationStatus/index.js.map +1 -0
  93. package/dist/browser/classic/privateEndpointConnections/index.d.ts +32 -0
  94. package/dist/browser/classic/privateEndpointConnections/index.js +34 -0
  95. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
  96. package/dist/browser/classic/privateLinkResources/index.d.ts +13 -0
  97. package/dist/browser/classic/privateLinkResources/index.js +15 -0
  98. package/dist/browser/classic/privateLinkResources/index.js.map +1 -0
  99. package/dist/browser/index.d.ts +20 -3
  100. package/dist/browser/index.js +6 -11
  101. package/dist/browser/index.js.map +1 -1
  102. package/dist/browser/logger.d.ts +2 -0
  103. package/dist/browser/logger.js +5 -0
  104. package/dist/browser/logger.js.map +1 -0
  105. package/dist/browser/models/index.d.ts +2 -697
  106. package/dist/browser/models/index.js +3 -85
  107. package/dist/browser/models/index.js.map +1 -1
  108. package/dist/browser/models/models.d.ts +741 -0
  109. package/dist/browser/models/models.js +827 -0
  110. package/dist/browser/models/models.js.map +1 -0
  111. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  112. package/dist/browser/restorePollerHelpers.js +97 -0
  113. package/dist/browser/restorePollerHelpers.js.map +1 -0
  114. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  115. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  116. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  117. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  118. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  119. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  120. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  121. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  122. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  123. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  124. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  125. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  126. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  127. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  128. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  129. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  130. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  131. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  132. package/dist/commonjs/api/accounts/index.d.ts +3 -0
  133. package/dist/commonjs/api/accounts/index.js +43 -0
  134. package/dist/commonjs/api/accounts/index.js.map +7 -0
  135. package/dist/commonjs/api/accounts/operations.d.ts +53 -0
  136. package/dist/commonjs/api/accounts/operations.js +405 -0
  137. package/dist/commonjs/api/accounts/operations.js.map +7 -0
  138. package/dist/commonjs/api/accounts/options.d.ts +29 -0
  139. package/dist/commonjs/{operationsInterfaces/maps.js → api/accounts/options.js} +2 -2
  140. package/dist/commonjs/api/accounts/options.js.map +7 -0
  141. package/dist/commonjs/api/azureMapsManagementContext.d.ts +22 -0
  142. package/dist/commonjs/api/azureMapsManagementContext.js +44 -0
  143. package/dist/commonjs/api/azureMapsManagementContext.js.map +7 -0
  144. package/dist/commonjs/api/creators/index.d.ts +3 -0
  145. package/dist/commonjs/api/creators/index.js +35 -0
  146. package/dist/commonjs/api/creators/index.js.map +7 -0
  147. package/dist/commonjs/api/creators/operations.d.ts +31 -0
  148. package/dist/commonjs/api/creators/operations.js +241 -0
  149. package/dist/commonjs/api/creators/operations.js.map +7 -0
  150. package/dist/commonjs/api/creators/options.d.ts +17 -0
  151. package/dist/commonjs/{operationsInterfaces/accounts.js → api/creators/options.js} +2 -2
  152. package/dist/commonjs/api/creators/options.js.map +7 -0
  153. package/dist/commonjs/api/index.d.ts +3 -0
  154. package/dist/commonjs/{operations → api}/index.js +11 -9
  155. package/dist/commonjs/api/index.js.map +7 -0
  156. package/dist/commonjs/api/maps/index.d.ts +3 -0
  157. package/dist/commonjs/api/maps/index.js +27 -0
  158. package/dist/commonjs/api/maps/index.js.map +7 -0
  159. package/dist/commonjs/api/maps/operations.d.ts +10 -0
  160. package/dist/commonjs/api/maps/operations.js +71 -0
  161. package/dist/commonjs/api/maps/operations.js.map +7 -0
  162. package/dist/commonjs/api/maps/options.d.ts +5 -0
  163. package/dist/commonjs/{operationsInterfaces/creators.js → api/maps/options.js} +2 -2
  164. package/dist/commonjs/api/maps/options.js.map +7 -0
  165. package/dist/commonjs/api/operationResult/index.d.ts +3 -0
  166. package/dist/commonjs/api/operationResult/index.js +27 -0
  167. package/dist/commonjs/api/operationResult/index.js.map +7 -0
  168. package/dist/commonjs/api/operationResult/operations.d.ts +9 -0
  169. package/dist/commonjs/api/operationResult/operations.js +67 -0
  170. package/dist/commonjs/api/operationResult/operations.js.map +7 -0
  171. package/dist/commonjs/api/operationResult/options.d.ts +7 -0
  172. package/dist/commonjs/api/operationResult/options.js +15 -0
  173. package/dist/commonjs/api/operationResult/options.js.map +7 -0
  174. package/dist/commonjs/api/operationStatus/index.d.ts +3 -0
  175. package/dist/commonjs/api/operationStatus/index.js +27 -0
  176. package/dist/commonjs/api/operationStatus/index.js.map +7 -0
  177. package/dist/commonjs/api/operationStatus/operations.d.ts +9 -0
  178. package/dist/commonjs/api/operationStatus/operations.js +64 -0
  179. package/dist/commonjs/api/operationStatus/operations.js.map +7 -0
  180. package/dist/commonjs/api/operationStatus/options.d.ts +5 -0
  181. package/dist/commonjs/api/operationStatus/options.js +15 -0
  182. package/dist/commonjs/api/operationStatus/options.js.map +7 -0
  183. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
  184. package/dist/commonjs/{operationsInterfaces → api/privateEndpointConnections}/index.js +17 -9
  185. package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -0
  186. package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +28 -0
  187. package/dist/commonjs/api/privateEndpointConnections/operations.js +211 -0
  188. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -0
  189. package/dist/commonjs/api/privateEndpointConnections/options.d.ts +18 -0
  190. package/dist/commonjs/api/privateEndpointConnections/options.js +15 -0
  191. package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -0
  192. package/dist/commonjs/api/privateLinkResources/index.d.ts +3 -0
  193. package/dist/commonjs/api/privateLinkResources/index.js +29 -0
  194. package/dist/commonjs/api/privateLinkResources/index.js.map +7 -0
  195. package/dist/commonjs/api/privateLinkResources/operations.d.ts +14 -0
  196. package/dist/commonjs/api/privateLinkResources/operations.js +118 -0
  197. package/dist/commonjs/api/privateLinkResources/operations.js.map +7 -0
  198. package/dist/commonjs/api/privateLinkResources/options.d.ts +8 -0
  199. package/dist/commonjs/api/privateLinkResources/options.js +15 -0
  200. package/dist/commonjs/api/privateLinkResources/options.js.map +7 -0
  201. package/dist/commonjs/azureMapsManagementClient.d.ts +31 -21
  202. package/dist/commonjs/azureMapsManagementClient.js +39 -97
  203. package/dist/commonjs/azureMapsManagementClient.js.map +2 -2
  204. package/dist/commonjs/classic/accounts/index.d.ts +38 -0
  205. package/dist/commonjs/classic/accounts/index.js +45 -0
  206. package/dist/commonjs/classic/accounts/index.js.map +7 -0
  207. package/dist/commonjs/classic/creators/index.d.ts +24 -0
  208. package/dist/commonjs/classic/creators/index.js +55 -0
  209. package/dist/commonjs/classic/creators/index.js.map +7 -0
  210. package/dist/commonjs/classic/index.d.ts +8 -0
  211. package/dist/commonjs/classic/index.js +15 -0
  212. package/dist/commonjs/classic/index.js.map +7 -0
  213. package/dist/commonjs/classic/maps/index.d.ts +11 -0
  214. package/dist/commonjs/classic/maps/index.js +37 -0
  215. package/dist/commonjs/classic/maps/index.js.map +7 -0
  216. package/dist/commonjs/classic/operationResult/index.d.ts +15 -0
  217. package/dist/commonjs/classic/operationResult/index.js +46 -0
  218. package/dist/commonjs/classic/operationResult/index.js.map +7 -0
  219. package/dist/commonjs/classic/operationStatus/index.d.ts +10 -0
  220. package/dist/commonjs/classic/operationStatus/index.js +37 -0
  221. package/dist/commonjs/classic/operationStatus/index.js.map +7 -0
  222. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +32 -0
  223. package/dist/commonjs/classic/privateEndpointConnections/index.js +90 -0
  224. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -0
  225. package/dist/commonjs/classic/privateLinkResources/index.d.ts +13 -0
  226. package/dist/commonjs/classic/privateLinkResources/index.js +38 -0
  227. package/dist/commonjs/classic/privateLinkResources/index.js.map +7 -0
  228. package/dist/commonjs/index.d.ts +20 -3
  229. package/dist/commonjs/index.js +35 -8
  230. package/dist/commonjs/index.js.map +2 -2
  231. package/dist/commonjs/logger.d.ts +2 -0
  232. package/dist/commonjs/logger.js +28 -0
  233. package/dist/commonjs/logger.js.map +7 -0
  234. package/dist/commonjs/models/index.d.ts +2 -697
  235. package/dist/commonjs/models/index.js +22 -56
  236. package/dist/commonjs/models/index.js.map +3 -3
  237. package/dist/commonjs/models/models.d.ts +741 -0
  238. package/dist/commonjs/models/models.js +896 -0
  239. package/dist/commonjs/models/models.js.map +7 -0
  240. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  241. package/dist/commonjs/restorePollerHelpers.js +109 -0
  242. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  243. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  244. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +51 -0
  245. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  246. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  247. package/dist/commonjs/static-helpers/pagingHelpers.js +142 -0
  248. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  249. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  250. package/dist/commonjs/static-helpers/pollingHelpers.js +100 -0
  251. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  252. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  253. package/dist/commonjs/{pagingHelper.js → static-helpers/serialization/check-prop-undefined.js} +11 -20
  254. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  255. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  256. package/dist/commonjs/static-helpers/simplePollerHelpers.js +66 -0
  257. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  258. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  259. package/dist/commonjs/static-helpers/urlTemplate.js +196 -0
  260. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  261. package/dist/commonjs/tsdoc-metadata.json +1 -1
  262. package/dist/esm/api/accounts/index.d.ts +3 -0
  263. package/dist/esm/api/accounts/index.js +22 -0
  264. package/dist/esm/api/accounts/index.js.map +7 -0
  265. package/dist/esm/api/accounts/operations.d.ts +53 -0
  266. package/dist/esm/api/accounts/operations.js +366 -0
  267. package/dist/esm/api/accounts/operations.js.map +7 -0
  268. package/dist/esm/api/accounts/options.d.ts +29 -0
  269. package/dist/esm/api/azureMapsManagementContext.d.ts +22 -0
  270. package/dist/esm/api/azureMapsManagementContext.js +21 -0
  271. package/dist/esm/api/azureMapsManagementContext.js.map +7 -0
  272. package/dist/esm/api/creators/index.d.ts +3 -0
  273. package/dist/esm/api/creators/index.js +8 -0
  274. package/dist/esm/api/creators/index.js.map +7 -0
  275. package/dist/esm/api/creators/operations.d.ts +31 -0
  276. package/dist/esm/api/creators/operations.js +210 -0
  277. package/dist/esm/api/creators/operations.js.map +7 -0
  278. package/dist/esm/api/creators/options.d.ts +17 -0
  279. package/dist/esm/api/index.d.ts +3 -0
  280. package/dist/esm/api/index.js +4 -0
  281. package/dist/esm/api/index.js.map +7 -0
  282. package/dist/esm/api/maps/index.d.ts +3 -0
  283. package/dist/esm/api/maps/index.js +4 -0
  284. package/dist/esm/api/maps/index.js.map +7 -0
  285. package/dist/esm/api/maps/operations.d.ts +10 -0
  286. package/dist/esm/api/maps/operations.js +49 -0
  287. package/dist/esm/api/maps/operations.js.map +7 -0
  288. package/dist/esm/api/maps/options.d.ts +5 -0
  289. package/dist/esm/api/operationResult/index.d.ts +3 -0
  290. package/dist/esm/api/operationResult/index.js +4 -0
  291. package/dist/esm/api/operationResult/index.js.map +7 -0
  292. package/dist/esm/api/operationResult/operations.d.ts +9 -0
  293. package/dist/esm/api/operationResult/operations.js +42 -0
  294. package/dist/esm/api/operationResult/operations.js.map +7 -0
  295. package/dist/esm/api/operationResult/options.d.ts +7 -0
  296. package/dist/esm/api/operationResult/options.js +0 -0
  297. package/dist/esm/api/operationResult/options.js.map +7 -0
  298. package/dist/esm/api/operationStatus/index.d.ts +3 -0
  299. package/dist/esm/api/operationStatus/index.js +4 -0
  300. package/dist/esm/api/operationStatus/index.js.map +7 -0
  301. package/dist/esm/api/operationStatus/operations.d.ts +9 -0
  302. package/dist/esm/api/operationStatus/operations.js +42 -0
  303. package/dist/esm/api/operationStatus/operations.js.map +7 -0
  304. package/dist/esm/api/operationStatus/options.d.ts +5 -0
  305. package/dist/esm/api/operationStatus/options.js +0 -0
  306. package/dist/esm/api/operationStatus/options.js.map +7 -0
  307. package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
  308. package/dist/esm/api/privateEndpointConnections/index.js +7 -0
  309. package/dist/esm/api/privateEndpointConnections/index.js.map +7 -0
  310. package/dist/esm/api/privateEndpointConnections/operations.d.ts +28 -0
  311. package/dist/esm/api/privateEndpointConnections/operations.js +182 -0
  312. package/dist/esm/api/privateEndpointConnections/operations.js.map +7 -0
  313. package/dist/esm/api/privateEndpointConnections/options.d.ts +18 -0
  314. package/dist/esm/api/privateEndpointConnections/options.js +0 -0
  315. package/dist/esm/api/privateEndpointConnections/options.js.map +7 -0
  316. package/dist/esm/api/privateLinkResources/index.d.ts +3 -0
  317. package/dist/esm/api/privateLinkResources/index.js +5 -0
  318. package/dist/esm/api/privateLinkResources/index.js.map +7 -0
  319. package/dist/esm/api/privateLinkResources/operations.d.ts +14 -0
  320. package/dist/esm/api/privateLinkResources/operations.js +94 -0
  321. package/dist/esm/api/privateLinkResources/operations.js.map +7 -0
  322. package/dist/esm/api/privateLinkResources/options.d.ts +8 -0
  323. package/dist/esm/api/privateLinkResources/options.js +0 -0
  324. package/dist/esm/api/privateLinkResources/options.js.map +7 -0
  325. package/dist/esm/azureMapsManagementClient.d.ts +31 -21
  326. package/dist/esm/azureMapsManagementClient.js +39 -87
  327. package/dist/esm/azureMapsManagementClient.js.map +2 -2
  328. package/dist/esm/classic/accounts/index.d.ts +38 -0
  329. package/dist/esm/classic/accounts/index.js +32 -0
  330. package/dist/esm/classic/accounts/index.js.map +7 -0
  331. package/dist/esm/classic/creators/index.d.ts +24 -0
  332. package/dist/esm/classic/creators/index.js +38 -0
  333. package/dist/esm/classic/creators/index.js.map +7 -0
  334. package/dist/esm/classic/index.d.ts +8 -0
  335. package/dist/esm/classic/index.js +0 -0
  336. package/dist/esm/classic/index.js.map +7 -0
  337. package/dist/esm/classic/maps/index.d.ts +11 -0
  338. package/dist/esm/classic/maps/index.js +14 -0
  339. package/dist/esm/classic/maps/index.js.map +7 -0
  340. package/dist/esm/classic/operationResult/index.d.ts +15 -0
  341. package/dist/esm/classic/operationResult/index.js +23 -0
  342. package/dist/esm/classic/operationResult/index.js.map +7 -0
  343. package/dist/esm/classic/operationStatus/index.d.ts +10 -0
  344. package/dist/esm/classic/operationStatus/index.js +14 -0
  345. package/dist/esm/classic/operationStatus/index.js.map +7 -0
  346. package/dist/esm/classic/privateEndpointConnections/index.d.ts +32 -0
  347. package/dist/esm/classic/privateEndpointConnections/index.js +72 -0
  348. package/dist/esm/classic/privateEndpointConnections/index.js.map +7 -0
  349. package/dist/esm/classic/privateLinkResources/index.d.ts +13 -0
  350. package/dist/esm/classic/privateLinkResources/index.js +15 -0
  351. package/dist/esm/classic/privateLinkResources/index.js.map +7 -0
  352. package/dist/esm/index.d.ts +20 -3
  353. package/dist/esm/index.js +34 -4
  354. package/dist/esm/index.js.map +2 -2
  355. package/dist/esm/logger.d.ts +2 -0
  356. package/dist/esm/logger.js +5 -0
  357. package/dist/esm/logger.js.map +7 -0
  358. package/dist/esm/models/index.d.ts +2 -697
  359. package/dist/esm/models/index.js +23 -48
  360. package/dist/esm/models/index.js.map +3 -3
  361. package/dist/esm/models/models.d.ts +741 -0
  362. package/dist/esm/models/models.js +775 -0
  363. package/dist/esm/models/models.js.map +7 -0
  364. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  365. package/dist/esm/restorePollerHelpers.js +89 -0
  366. package/dist/esm/restorePollerHelpers.js.map +7 -0
  367. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  368. package/dist/esm/static-helpers/cloudSettingHelpers.js +27 -0
  369. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +7 -0
  370. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  371. package/dist/esm/static-helpers/pagingHelpers.js +119 -0
  372. package/dist/esm/static-helpers/pagingHelpers.js.map +7 -0
  373. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  374. package/dist/esm/static-helpers/pollingHelpers.js +77 -0
  375. package/dist/esm/static-helpers/pollingHelpers.js.map +7 -0
  376. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  377. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +11 -0
  378. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  379. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  380. package/dist/esm/static-helpers/simplePollerHelpers.js +43 -0
  381. package/dist/esm/static-helpers/simplePollerHelpers.js.map +7 -0
  382. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  383. package/dist/esm/static-helpers/urlTemplate.js +173 -0
  384. package/dist/esm/static-helpers/urlTemplate.js.map +7 -0
  385. package/dist/react-native/api/accounts/index.d.ts +3 -0
  386. package/dist/react-native/api/accounts/index.js +4 -0
  387. package/dist/react-native/api/accounts/index.js.map +1 -0
  388. package/dist/react-native/api/accounts/operations.d.ts +53 -0
  389. package/dist/react-native/api/accounts/operations.js +278 -0
  390. package/dist/react-native/api/accounts/operations.js.map +1 -0
  391. package/dist/react-native/api/accounts/options.d.ts +29 -0
  392. package/dist/react-native/api/accounts/options.js +4 -0
  393. package/dist/react-native/api/accounts/options.js.map +1 -0
  394. package/dist/react-native/api/azureMapsManagementContext.d.ts +22 -0
  395. package/dist/react-native/api/azureMapsManagementContext.js +24 -0
  396. package/dist/react-native/api/azureMapsManagementContext.js.map +1 -0
  397. package/dist/react-native/api/creators/index.d.ts +3 -0
  398. package/dist/react-native/api/creators/index.js +4 -0
  399. package/dist/react-native/api/creators/index.js.map +1 -0
  400. package/dist/react-native/api/creators/operations.d.ts +31 -0
  401. package/dist/react-native/api/creators/operations.js +160 -0
  402. package/dist/react-native/api/creators/operations.js.map +1 -0
  403. package/dist/react-native/api/creators/options.d.ts +17 -0
  404. package/dist/react-native/api/creators/options.js +4 -0
  405. package/dist/react-native/api/creators/options.js.map +1 -0
  406. package/dist/react-native/api/index.d.ts +3 -0
  407. package/dist/react-native/api/index.js +4 -0
  408. package/dist/react-native/api/index.js.map +1 -0
  409. package/dist/react-native/api/maps/index.d.ts +3 -0
  410. package/dist/react-native/api/maps/index.js +4 -0
  411. package/dist/react-native/api/maps/index.js.map +1 -0
  412. package/dist/react-native/api/maps/operations.d.ts +10 -0
  413. package/dist/react-native/api/maps/operations.js +35 -0
  414. package/dist/react-native/api/maps/operations.js.map +1 -0
  415. package/dist/react-native/api/maps/options.d.ts +5 -0
  416. package/dist/react-native/api/maps/options.js +4 -0
  417. package/dist/react-native/api/maps/options.js.map +1 -0
  418. package/dist/react-native/api/operationResult/index.d.ts +3 -0
  419. package/dist/react-native/api/operationResult/index.js +4 -0
  420. package/dist/react-native/api/operationResult/index.js.map +1 -0
  421. package/dist/react-native/api/operationResult/operations.d.ts +9 -0
  422. package/dist/react-native/api/operationResult/operations.js +37 -0
  423. package/dist/react-native/api/operationResult/operations.js.map +1 -0
  424. package/dist/react-native/api/operationResult/options.d.ts +7 -0
  425. package/dist/react-native/api/operationResult/options.js +4 -0
  426. package/dist/react-native/api/operationResult/options.js.map +1 -0
  427. package/dist/react-native/api/operationStatus/index.d.ts +3 -0
  428. package/dist/react-native/api/operationStatus/index.js +4 -0
  429. package/dist/react-native/api/operationStatus/index.js.map +1 -0
  430. package/dist/react-native/api/operationStatus/operations.d.ts +9 -0
  431. package/dist/react-native/api/operationStatus/operations.js +34 -0
  432. package/dist/react-native/api/operationStatus/operations.js.map +1 -0
  433. package/dist/react-native/api/operationStatus/options.d.ts +5 -0
  434. package/dist/react-native/api/operationStatus/options.js +4 -0
  435. package/dist/react-native/api/operationStatus/options.js.map +1 -0
  436. package/dist/react-native/api/privateEndpointConnections/index.d.ts +3 -0
  437. package/dist/react-native/api/privateEndpointConnections/index.js +4 -0
  438. package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -0
  439. package/dist/react-native/api/privateEndpointConnections/operations.d.ts +28 -0
  440. package/dist/react-native/api/privateEndpointConnections/operations.js +140 -0
  441. package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -0
  442. package/dist/react-native/api/privateEndpointConnections/options.d.ts +18 -0
  443. package/dist/react-native/api/privateEndpointConnections/options.js +4 -0
  444. package/dist/react-native/api/privateEndpointConnections/options.js.map +1 -0
  445. package/dist/react-native/api/privateLinkResources/index.d.ts +3 -0
  446. package/dist/react-native/api/privateLinkResources/index.js +4 -0
  447. package/dist/react-native/api/privateLinkResources/index.js.map +1 -0
  448. package/dist/react-native/api/privateLinkResources/operations.d.ts +14 -0
  449. package/dist/react-native/api/privateLinkResources/operations.js +67 -0
  450. package/dist/react-native/api/privateLinkResources/operations.js.map +1 -0
  451. package/dist/react-native/api/privateLinkResources/options.d.ts +8 -0
  452. package/dist/react-native/api/privateLinkResources/options.js +4 -0
  453. package/dist/react-native/api/privateLinkResources/options.js.map +1 -0
  454. package/dist/react-native/azureMapsManagementClient.d.ts +31 -21
  455. package/dist/react-native/azureMapsManagementClient.js +43 -102
  456. package/dist/react-native/azureMapsManagementClient.js.map +1 -1
  457. package/dist/react-native/classic/accounts/index.d.ts +38 -0
  458. package/dist/react-native/classic/accounts/index.js +22 -0
  459. package/dist/react-native/classic/accounts/index.js.map +1 -0
  460. package/dist/react-native/classic/creators/index.d.ts +24 -0
  461. package/dist/react-native/classic/creators/index.js +18 -0
  462. package/dist/react-native/classic/creators/index.js.map +1 -0
  463. package/dist/react-native/classic/index.d.ts +8 -0
  464. package/dist/react-native/classic/index.js +4 -0
  465. package/dist/react-native/classic/index.js.map +1 -0
  466. package/dist/react-native/classic/maps/index.d.ts +11 -0
  467. package/dist/react-native/classic/maps/index.js +14 -0
  468. package/dist/react-native/classic/maps/index.js.map +1 -0
  469. package/dist/react-native/classic/operationResult/index.d.ts +15 -0
  470. package/dist/react-native/classic/operationResult/index.js +23 -0
  471. package/dist/react-native/classic/operationResult/index.js.map +1 -0
  472. package/dist/react-native/classic/operationStatus/index.d.ts +10 -0
  473. package/dist/react-native/classic/operationStatus/index.js +14 -0
  474. package/dist/react-native/classic/operationStatus/index.js.map +1 -0
  475. package/dist/react-native/classic/privateEndpointConnections/index.d.ts +32 -0
  476. package/dist/react-native/classic/privateEndpointConnections/index.js +34 -0
  477. package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -0
  478. package/dist/react-native/classic/privateLinkResources/index.d.ts +13 -0
  479. package/dist/react-native/classic/privateLinkResources/index.js +15 -0
  480. package/dist/react-native/classic/privateLinkResources/index.js.map +1 -0
  481. package/dist/react-native/index.d.ts +20 -3
  482. package/dist/react-native/index.js +6 -11
  483. package/dist/react-native/index.js.map +1 -1
  484. package/dist/react-native/logger.d.ts +2 -0
  485. package/dist/react-native/logger.js +5 -0
  486. package/dist/react-native/logger.js.map +1 -0
  487. package/dist/react-native/models/index.d.ts +2 -697
  488. package/dist/react-native/models/index.js +3 -85
  489. package/dist/react-native/models/index.js.map +1 -1
  490. package/dist/react-native/models/models.d.ts +741 -0
  491. package/dist/react-native/models/models.js +827 -0
  492. package/dist/react-native/models/models.js.map +1 -0
  493. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  494. package/dist/react-native/restorePollerHelpers.js +97 -0
  495. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  496. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
  497. package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
  498. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
  499. package/dist/react-native/static-helpers/pagingHelpers.d.ts +74 -0
  500. package/dist/react-native/static-helpers/pagingHelpers.js +143 -0
  501. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  502. package/dist/react-native/static-helpers/pollingHelpers.d.ts +34 -0
  503. package/dist/react-native/static-helpers/pollingHelpers.js +95 -0
  504. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  505. package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  506. package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +17 -0
  507. package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  508. package/dist/react-native/static-helpers/simplePollerHelpers.d.ts +73 -0
  509. package/dist/react-native/static-helpers/simplePollerHelpers.js +44 -0
  510. package/dist/react-native/static-helpers/simplePollerHelpers.js.map +1 -0
  511. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  512. package/dist/react-native/static-helpers/urlTemplate.js +200 -0
  513. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  514. package/package.json +245 -75
  515. package/CHANGELOG.md +0 -70
  516. package/dist/browser/azureMapsManagementClient.d.ts.map +0 -1
  517. package/dist/browser/index.d.ts.map +0 -1
  518. package/dist/browser/models/index.d.ts.map +0 -1
  519. package/dist/browser/models/mappers.d.ts +0 -35
  520. package/dist/browser/models/mappers.d.ts.map +0 -1
  521. package/dist/browser/models/mappers.js +0 -1121
  522. package/dist/browser/models/mappers.js.map +0 -1
  523. package/dist/browser/models/parameters.d.ts +0 -17
  524. package/dist/browser/models/parameters.d.ts.map +0 -1
  525. package/dist/browser/models/parameters.js +0 -135
  526. package/dist/browser/models/parameters.js.map +0 -1
  527. package/dist/browser/operations/accounts.d.ts +0 -118
  528. package/dist/browser/operations/accounts.d.ts.map +0 -1
  529. package/dist/browser/operations/accounts.js +0 -458
  530. package/dist/browser/operations/accounts.js.map +0 -1
  531. package/dist/browser/operations/creators.d.ts +0 -74
  532. package/dist/browser/operations/creators.d.ts.map +0 -1
  533. package/dist/browser/operations/creators.js +0 -277
  534. package/dist/browser/operations/creators.js.map +0 -1
  535. package/dist/browser/operations/index.d.ts +0 -4
  536. package/dist/browser/operations/index.d.ts.map +0 -1
  537. package/dist/browser/operations/index.js +0 -11
  538. package/dist/browser/operations/index.js.map +0 -1
  539. package/dist/browser/operations/maps.d.ts +0 -51
  540. package/dist/browser/operations/maps.d.ts.map +0 -1
  541. package/dist/browser/operations/maps.js +0 -211
  542. package/dist/browser/operations/maps.js.map +0 -1
  543. package/dist/browser/operationsInterfaces/accounts.d.ts +0 -82
  544. package/dist/browser/operationsInterfaces/accounts.d.ts.map +0 -1
  545. package/dist/browser/operationsInterfaces/accounts.js +0 -9
  546. package/dist/browser/operationsInterfaces/accounts.js.map +0 -1
  547. package/dist/browser/operationsInterfaces/creators.d.ts +0 -49
  548. package/dist/browser/operationsInterfaces/creators.d.ts.map +0 -1
  549. package/dist/browser/operationsInterfaces/creators.js +0 -9
  550. package/dist/browser/operationsInterfaces/creators.js.map +0 -1
  551. package/dist/browser/operationsInterfaces/index.d.ts +0 -4
  552. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  553. package/dist/browser/operationsInterfaces/index.js +0 -11
  554. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  555. package/dist/browser/operationsInterfaces/maps.d.ts +0 -16
  556. package/dist/browser/operationsInterfaces/maps.d.ts.map +0 -1
  557. package/dist/browser/operationsInterfaces/maps.js +0 -9
  558. package/dist/browser/operationsInterfaces/maps.js.map +0 -1
  559. package/dist/browser/pagingHelper.d.ts +0 -13
  560. package/dist/browser/pagingHelper.d.ts.map +0 -1
  561. package/dist/browser/pagingHelper.js +0 -30
  562. package/dist/browser/pagingHelper.js.map +0 -1
  563. package/dist/commonjs/azureMapsManagementClient.d.ts.map +0 -1
  564. package/dist/commonjs/index.d.ts.map +0 -1
  565. package/dist/commonjs/models/index.d.ts.map +0 -1
  566. package/dist/commonjs/models/mappers.d.ts +0 -35
  567. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  568. package/dist/commonjs/models/mappers.js +0 -1203
  569. package/dist/commonjs/models/mappers.js.map +0 -7
  570. package/dist/commonjs/models/parameters.d.ts +0 -17
  571. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  572. package/dist/commonjs/models/parameters.js +0 -181
  573. package/dist/commonjs/models/parameters.js.map +0 -7
  574. package/dist/commonjs/operations/accounts.d.ts +0 -118
  575. package/dist/commonjs/operations/accounts.d.ts.map +0 -1
  576. package/dist/commonjs/operations/accounts.js +0 -531
  577. package/dist/commonjs/operations/accounts.js.map +0 -7
  578. package/dist/commonjs/operations/creators.d.ts +0 -74
  579. package/dist/commonjs/operations/creators.d.ts.map +0 -1
  580. package/dist/commonjs/operations/creators.js +0 -346
  581. package/dist/commonjs/operations/creators.js.map +0 -7
  582. package/dist/commonjs/operations/index.d.ts +0 -4
  583. package/dist/commonjs/operations/index.d.ts.map +0 -1
  584. package/dist/commonjs/operations/index.js.map +0 -7
  585. package/dist/commonjs/operations/maps.d.ts +0 -51
  586. package/dist/commonjs/operations/maps.d.ts.map +0 -1
  587. package/dist/commonjs/operations/maps.js +0 -257
  588. package/dist/commonjs/operations/maps.js.map +0 -7
  589. package/dist/commonjs/operationsInterfaces/accounts.d.ts +0 -82
  590. package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +0 -1
  591. package/dist/commonjs/operationsInterfaces/accounts.js.map +0 -7
  592. package/dist/commonjs/operationsInterfaces/creators.d.ts +0 -49
  593. package/dist/commonjs/operationsInterfaces/creators.d.ts.map +0 -1
  594. package/dist/commonjs/operationsInterfaces/creators.js.map +0 -7
  595. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -4
  596. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  597. package/dist/commonjs/operationsInterfaces/index.js.map +0 -7
  598. package/dist/commonjs/operationsInterfaces/maps.d.ts +0 -16
  599. package/dist/commonjs/operationsInterfaces/maps.d.ts.map +0 -1
  600. package/dist/commonjs/operationsInterfaces/maps.js.map +0 -7
  601. package/dist/commonjs/pagingHelper.d.ts +0 -13
  602. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  603. package/dist/commonjs/pagingHelper.js.map +0 -7
  604. package/dist/esm/azureMapsManagementClient.d.ts.map +0 -1
  605. package/dist/esm/index.d.ts.map +0 -1
  606. package/dist/esm/models/index.d.ts.map +0 -1
  607. package/dist/esm/models/mappers.d.ts +0 -35
  608. package/dist/esm/models/mappers.d.ts.map +0 -1
  609. package/dist/esm/models/mappers.js +0 -1148
  610. package/dist/esm/models/mappers.js.map +0 -7
  611. package/dist/esm/models/parameters.d.ts +0 -17
  612. package/dist/esm/models/parameters.d.ts.map +0 -1
  613. package/dist/esm/models/parameters.js +0 -151
  614. package/dist/esm/models/parameters.js.map +0 -7
  615. package/dist/esm/operations/accounts.d.ts +0 -118
  616. package/dist/esm/operations/accounts.d.ts.map +0 -1
  617. package/dist/esm/operations/accounts.js +0 -498
  618. package/dist/esm/operations/accounts.js.map +0 -7
  619. package/dist/esm/operations/creators.d.ts +0 -74
  620. package/dist/esm/operations/creators.d.ts.map +0 -1
  621. package/dist/esm/operations/creators.js +0 -313
  622. package/dist/esm/operations/creators.js.map +0 -7
  623. package/dist/esm/operations/index.d.ts +0 -4
  624. package/dist/esm/operations/index.d.ts.map +0 -1
  625. package/dist/esm/operations/index.js +0 -3
  626. package/dist/esm/operations/index.js.map +0 -7
  627. package/dist/esm/operations/maps.d.ts +0 -51
  628. package/dist/esm/operations/maps.d.ts.map +0 -1
  629. package/dist/esm/operations/maps.js +0 -224
  630. package/dist/esm/operations/maps.js.map +0 -7
  631. package/dist/esm/operationsInterfaces/accounts.d.ts +0 -82
  632. package/dist/esm/operationsInterfaces/accounts.d.ts.map +0 -1
  633. package/dist/esm/operationsInterfaces/creators.d.ts +0 -49
  634. package/dist/esm/operationsInterfaces/creators.d.ts.map +0 -1
  635. package/dist/esm/operationsInterfaces/index.d.ts +0 -4
  636. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  637. package/dist/esm/operationsInterfaces/index.js +0 -3
  638. package/dist/esm/operationsInterfaces/index.js.map +0 -7
  639. package/dist/esm/operationsInterfaces/maps.d.ts +0 -16
  640. package/dist/esm/operationsInterfaces/maps.d.ts.map +0 -1
  641. package/dist/esm/pagingHelper.d.ts +0 -13
  642. package/dist/esm/pagingHelper.d.ts.map +0 -1
  643. package/dist/esm/pagingHelper.js +0 -19
  644. package/dist/esm/pagingHelper.js.map +0 -7
  645. package/dist/react-native/azureMapsManagementClient.d.ts.map +0 -1
  646. package/dist/react-native/index.d.ts.map +0 -1
  647. package/dist/react-native/models/index.d.ts.map +0 -1
  648. package/dist/react-native/models/mappers.d.ts +0 -35
  649. package/dist/react-native/models/mappers.d.ts.map +0 -1
  650. package/dist/react-native/models/mappers.js +0 -1121
  651. package/dist/react-native/models/mappers.js.map +0 -1
  652. package/dist/react-native/models/parameters.d.ts +0 -17
  653. package/dist/react-native/models/parameters.d.ts.map +0 -1
  654. package/dist/react-native/models/parameters.js +0 -135
  655. package/dist/react-native/models/parameters.js.map +0 -1
  656. package/dist/react-native/operations/accounts.d.ts +0 -118
  657. package/dist/react-native/operations/accounts.d.ts.map +0 -1
  658. package/dist/react-native/operations/accounts.js +0 -458
  659. package/dist/react-native/operations/accounts.js.map +0 -1
  660. package/dist/react-native/operations/creators.d.ts +0 -74
  661. package/dist/react-native/operations/creators.d.ts.map +0 -1
  662. package/dist/react-native/operations/creators.js +0 -277
  663. package/dist/react-native/operations/creators.js.map +0 -1
  664. package/dist/react-native/operations/index.d.ts +0 -4
  665. package/dist/react-native/operations/index.d.ts.map +0 -1
  666. package/dist/react-native/operations/index.js +0 -11
  667. package/dist/react-native/operations/index.js.map +0 -1
  668. package/dist/react-native/operations/maps.d.ts +0 -51
  669. package/dist/react-native/operations/maps.d.ts.map +0 -1
  670. package/dist/react-native/operations/maps.js +0 -211
  671. package/dist/react-native/operations/maps.js.map +0 -1
  672. package/dist/react-native/operationsInterfaces/accounts.d.ts +0 -82
  673. package/dist/react-native/operationsInterfaces/accounts.d.ts.map +0 -1
  674. package/dist/react-native/operationsInterfaces/accounts.js +0 -9
  675. package/dist/react-native/operationsInterfaces/accounts.js.map +0 -1
  676. package/dist/react-native/operationsInterfaces/creators.d.ts +0 -49
  677. package/dist/react-native/operationsInterfaces/creators.d.ts.map +0 -1
  678. package/dist/react-native/operationsInterfaces/creators.js +0 -9
  679. package/dist/react-native/operationsInterfaces/creators.js.map +0 -1
  680. package/dist/react-native/operationsInterfaces/index.d.ts +0 -4
  681. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  682. package/dist/react-native/operationsInterfaces/index.js +0 -11
  683. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  684. package/dist/react-native/operationsInterfaces/maps.d.ts +0 -16
  685. package/dist/react-native/operationsInterfaces/maps.d.ts.map +0 -1
  686. package/dist/react-native/operationsInterfaces/maps.js +0 -9
  687. package/dist/react-native/operationsInterfaces/maps.js.map +0 -1
  688. package/dist/react-native/pagingHelper.d.ts +0 -13
  689. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  690. package/dist/react-native/pagingHelper.js +0 -30
  691. package/dist/react-native/pagingHelper.js.map +0 -1
  692. package/review/arm-maps-node.api.md +0 -543
  693. /package/dist/esm/{operationsInterfaces/accounts.js → api/accounts/options.js} +0 -0
  694. /package/dist/esm/{operationsInterfaces/accounts.js.map → api/accounts/options.js.map} +0 -0
  695. /package/dist/esm/{operationsInterfaces/creators.js → api/creators/options.js} +0 -0
  696. /package/dist/esm/{operationsInterfaces/creators.js.map → api/creators/options.js.map} +0 -0
  697. /package/dist/esm/{operationsInterfaces/maps.js → api/maps/options.js} +0 -0
  698. /package/dist/esm/{operationsInterfaces/maps.js.map → api/maps/options.js.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/maps/arm-maps/src/models/models.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { areAllPropsUndefined } from \"../static-helpers/serialization/check-prop-undefined.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** An Azure resource which represents access to a suite of Maps REST APIs. */\nexport interface MapsAccount extends TrackedResource {\n /** The map account properties. */\n properties?: MapsAccountProperties;\n /** The SKU of this account. */\n sku: Sku;\n /** Get or Set Kind property. */\n kind?: Kind;\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n}\n\nexport function mapsAccountSerializer(item: MapsAccount): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : mapsAccountPropertiesSerializer(item[\"properties\"]),\n sku: skuSerializer(item[\"sku\"]),\n kind: item[\"kind\"],\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n };\n}\n\nexport function mapsAccountDeserializer(item: any): MapsAccount {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : mapsAccountPropertiesDeserializer(item[\"properties\"]),\n sku: skuDeserializer(item[\"sku\"]),\n kind: item[\"kind\"],\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentityDeserializer(item[\"identity\"]),\n };\n}\n\n/** Additional Maps account properties */\nexport interface MapsAccountProperties {\n /** A unique identifier for the Maps Account */\n readonly uniqueId?: string;\n /** Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys and Shared Access Signature Token authentication from any usage. */\n disableLocalAuth?: boolean;\n /** The provisioning state of the Maps account resource, Account updates can only be performed on terminal states. Terminal states: `Succeeded` and `Failed` */\n readonly provisioningState?: string;\n /** The array of associated resources to the Maps account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Maps Account Managed Identity(s) permissions to those resource(s). */\n linkedResources?: LinkedResource[];\n /** Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. */\n cors?: CorsRules;\n /** All encryption configuration for a resource. */\n encryption?: Encryption;\n /** List of additional data processing regions for the Maps Account, which may result in requests being processed in another geography. Some features or results may be restricted to specific regions. By default, Maps REST APIs process requests according to the account location or the [geographic scope](https://learn.microsoft.com/azure/azure-maps/geographic-scope). */\n locations?: LocationsItem[];\n /** List of private endpoint connections associated with the Maps Account. */\n readonly privateEndpointConnections?: PrivateEndpointConnection[];\n /** Property to specify whether the Maps Account will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. */\n publicNetworkAccess?: PublicNetworkAccess;\n}\n\nexport function mapsAccountPropertiesSerializer(item: MapsAccountProperties): any {\n return {\n disableLocalAuth: item[\"disableLocalAuth\"],\n linkedResources: !item[\"linkedResources\"]\n ? item[\"linkedResources\"]\n : linkedResourceArraySerializer(item[\"linkedResources\"]),\n cors: !item[\"cors\"] ? item[\"cors\"] : corsRulesSerializer(item[\"cors\"]),\n encryption: !item[\"encryption\"] ? item[\"encryption\"] : encryptionSerializer(item[\"encryption\"]),\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : locationsItemArraySerializer(item[\"locations\"]),\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n };\n}\n\nexport function mapsAccountPropertiesDeserializer(item: any): MapsAccountProperties {\n return {\n uniqueId: item[\"uniqueId\"],\n disableLocalAuth: item[\"disableLocalAuth\"],\n provisioningState: item[\"provisioningState\"],\n linkedResources: !item[\"linkedResources\"]\n ? item[\"linkedResources\"]\n : linkedResourceArrayDeserializer(item[\"linkedResources\"]),\n cors: !item[\"cors\"] ? item[\"cors\"] : corsRulesDeserializer(item[\"cors\"]),\n encryption: !item[\"encryption\"]\n ? item[\"encryption\"]\n : encryptionDeserializer(item[\"encryption\"]),\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : locationsItemArrayDeserializer(item[\"locations\"]),\n privateEndpointConnections: !item[\"privateEndpointConnections\"]\n ? item[\"privateEndpointConnections\"]\n : privateEndpointConnectionArrayDeserializer(item[\"privateEndpointConnections\"]),\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n };\n}\n\nexport function linkedResourceArraySerializer(result: Array<LinkedResource>): any[] {\n return result.map((item) => {\n return linkedResourceSerializer(item);\n });\n}\n\nexport function linkedResourceArrayDeserializer(result: Array<LinkedResource>): any[] {\n return result.map((item) => {\n return linkedResourceDeserializer(item);\n });\n}\n\n/** Linked resource is reference to a resource deployed in an Azure subscription, add the linked resource `uniqueName` value as an optional parameter for operations on Azure Maps Geospatial REST APIs. */\nexport interface LinkedResource {\n /** A provided name which uniquely identifies the linked resource. */\n uniqueName: string;\n /** ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'. */\n id: string;\n}\n\nexport function linkedResourceSerializer(item: LinkedResource): any {\n return { uniqueName: item[\"uniqueName\"], id: item[\"id\"] };\n}\n\nexport function linkedResourceDeserializer(item: any): LinkedResource {\n return {\n uniqueName: item[\"uniqueName\"],\n id: item[\"id\"],\n };\n}\n\n/** Sets the CORS rules. You can include up to five CorsRule elements in the request. */\nexport interface CorsRules {\n /** The list of CORS rules. You can include up to five CorsRule elements in the request. */\n corsRules?: CorsRule[];\n}\n\nexport function corsRulesSerializer(item: CorsRules): any {\n return {\n corsRules: !item[\"corsRules\"] ? item[\"corsRules\"] : corsRuleArraySerializer(item[\"corsRules\"]),\n };\n}\n\nexport function corsRulesDeserializer(item: any): CorsRules {\n return {\n corsRules: !item[\"corsRules\"]\n ? item[\"corsRules\"]\n : corsRuleArrayDeserializer(item[\"corsRules\"]),\n };\n}\n\nexport function corsRuleArraySerializer(result: Array<CorsRule>): any[] {\n return result.map((item) => {\n return corsRuleSerializer(item);\n });\n}\n\nexport function corsRuleArrayDeserializer(result: Array<CorsRule>): any[] {\n return result.map((item) => {\n return corsRuleDeserializer(item);\n });\n}\n\n/** Specifies a CORS rule for the Map Account. */\nexport interface CorsRule {\n /** Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains */\n allowedOrigins: string[];\n}\n\nexport function corsRuleSerializer(item: CorsRule): any {\n return {\n allowedOrigins: item[\"allowedOrigins\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function corsRuleDeserializer(item: any): CorsRule {\n return {\n allowedOrigins: item[\"allowedOrigins\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** (Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled. */\nexport interface Encryption {\n /** Values are enabled and disabled. */\n infrastructureEncryption?: InfrastructureEncryption;\n /** All Customer-managed key encryption properties for the resource. */\n customerManagedKeyEncryption?: CustomerManagedKeyEncryption;\n}\n\nexport function encryptionSerializer(item: Encryption): any {\n return {\n infrastructureEncryption: item[\"infrastructureEncryption\"],\n customerManagedKeyEncryption: !item[\"customerManagedKeyEncryption\"]\n ? item[\"customerManagedKeyEncryption\"]\n : customerManagedKeyEncryptionSerializer(item[\"customerManagedKeyEncryption\"]),\n };\n}\n\nexport function encryptionDeserializer(item: any): Encryption {\n return {\n infrastructureEncryption: item[\"infrastructureEncryption\"],\n customerManagedKeyEncryption: !item[\"customerManagedKeyEncryption\"]\n ? item[\"customerManagedKeyEncryption\"]\n : customerManagedKeyEncryptionDeserializer(item[\"customerManagedKeyEncryption\"]),\n };\n}\n\n/** (Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled. */\nexport enum KnownInfrastructureEncryption {\n /** Encryption is enabled */\n Enabled = \"enabled\",\n /** Encryption is disabled */\n Disabled = \"disabled\",\n}\n\n/**\n * (Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled. \\\n * {@link KnownInfrastructureEncryption} can be used interchangeably with InfrastructureEncryption,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **enabled**: Encryption is enabled \\\n * **disabled**: Encryption is disabled\n */\nexport type InfrastructureEncryption = string;\n\n/** Customer-managed key encryption properties for the resource. */\nexport interface CustomerManagedKeyEncryption {\n /** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */\n keyEncryptionKeyIdentity?: CustomerManagedKeyEncryptionKeyIdentity;\n /** key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. */\n keyEncryptionKeyUrl?: string;\n}\n\nexport function customerManagedKeyEncryptionSerializer(item: CustomerManagedKeyEncryption): any {\n return {\n keyEncryptionKeyIdentity: !item[\"keyEncryptionKeyIdentity\"]\n ? item[\"keyEncryptionKeyIdentity\"]\n : customerManagedKeyEncryptionKeyIdentitySerializer(item[\"keyEncryptionKeyIdentity\"]),\n keyEncryptionKeyUrl: item[\"keyEncryptionKeyUrl\"],\n };\n}\n\nexport function customerManagedKeyEncryptionDeserializer(item: any): CustomerManagedKeyEncryption {\n return {\n keyEncryptionKeyIdentity: !item[\"keyEncryptionKeyIdentity\"]\n ? item[\"keyEncryptionKeyIdentity\"]\n : customerManagedKeyEncryptionKeyIdentityDeserializer(item[\"keyEncryptionKeyIdentity\"]),\n keyEncryptionKeyUrl: item[\"keyEncryptionKeyUrl\"],\n };\n}\n\n/** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */\nexport interface CustomerManagedKeyEncryptionKeyIdentity {\n /** The type of identity to use. Values can be systemAssignedIdentity, userAssignedIdentity, or delegatedResourceIdentity. */\n identityType?: IdentityType;\n /** User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity. */\n userAssignedIdentityResourceId?: string;\n /** application client identity to use for accessing key encryption key Url in a different tenant. Ex: f83c6b1b-4d34-47e4-bb34-9d83df58b540 */\n federatedClientId?: string;\n /** delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. */\n delegatedIdentityClientId?: string;\n}\n\nexport function customerManagedKeyEncryptionKeyIdentitySerializer(\n item: CustomerManagedKeyEncryptionKeyIdentity,\n): any {\n return {\n identityType: item[\"identityType\"],\n userAssignedIdentityResourceId: item[\"userAssignedIdentityResourceId\"],\n federatedClientId: item[\"federatedClientId\"],\n delegatedIdentityClientId: item[\"delegatedIdentityClientId\"],\n };\n}\n\nexport function customerManagedKeyEncryptionKeyIdentityDeserializer(\n item: any,\n): CustomerManagedKeyEncryptionKeyIdentity {\n return {\n identityType: item[\"identityType\"],\n userAssignedIdentityResourceId: item[\"userAssignedIdentityResourceId\"],\n federatedClientId: item[\"federatedClientId\"],\n delegatedIdentityClientId: item[\"delegatedIdentityClientId\"],\n };\n}\n\n/** The type of identity to use. */\nexport enum KnownIdentityType {\n /** System assigned identity */\n SystemAssignedIdentity = \"systemAssignedIdentity\",\n /** User assigned identity */\n UserAssignedIdentity = \"userAssignedIdentity\",\n /** Delegated identity */\n DelegatedResourceIdentity = \"delegatedResourceIdentity\",\n}\n\n/**\n * The type of identity to use. \\\n * {@link KnownIdentityType} can be used interchangeably with IdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **systemAssignedIdentity**: System assigned identity \\\n * **userAssignedIdentity**: User assigned identity \\\n * **delegatedResourceIdentity**: Delegated identity\n */\nexport type IdentityType = string;\n\nexport function locationsItemArraySerializer(result: Array<LocationsItem>): any[] {\n return result.map((item) => {\n return locationsItemSerializer(item);\n });\n}\n\nexport function locationsItemArrayDeserializer(result: Array<LocationsItem>): any[] {\n return result.map((item) => {\n return locationsItemDeserializer(item);\n });\n}\n\n/** Data processing location. */\nexport interface LocationsItem {\n /** The location name. */\n locationName: string;\n}\n\nexport function locationsItemSerializer(item: LocationsItem): any {\n return { locationName: item[\"locationName\"] };\n}\n\nexport function locationsItemDeserializer(item: any): LocationsItem {\n return {\n locationName: item[\"locationName\"],\n };\n}\n\nexport function privateEndpointConnectionArraySerializer(\n result: Array<PrivateEndpointConnection>,\n): any[] {\n return result.map((item) => {\n return privateEndpointConnectionSerializer(item);\n });\n}\n\nexport function privateEndpointConnectionArrayDeserializer(\n result: Array<PrivateEndpointConnection>,\n): any[] {\n return result.map((item) => {\n return privateEndpointConnectionDeserializer(item);\n });\n}\n\n/** The private endpoint connection resource. */\nexport interface PrivateEndpointConnection extends Resource {\n /** The group ids for the private endpoint resource. */\n readonly groupIds?: string[];\n /** The private endpoint resource. */\n privateEndpoint?: PrivateEndpoint;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;\n /** The provisioning state of the private endpoint connection resource. */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningState;\n}\n\nexport function privateEndpointConnectionSerializer(item: PrivateEndpointConnection): any {\n return {\n properties: areAllPropsUndefined(item, [\"privateEndpoint\", \"privateLinkServiceConnectionState\"])\n ? undefined\n : _privateEndpointConnectionPropertiesSerializer(item),\n };\n}\n\nexport function privateEndpointConnectionDeserializer(item: any): PrivateEndpointConnection {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _privateEndpointConnectionPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** Properties of the private endpoint connection. */\nexport interface PrivateEndpointConnectionProperties {\n /** The group ids for the private endpoint resource. */\n readonly groupIds?: string[];\n /** The private endpoint resource. */\n privateEndpoint?: PrivateEndpoint;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;\n /** The provisioning state of the private endpoint connection resource. */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningState;\n}\n\nexport function privateEndpointConnectionPropertiesSerializer(\n item: PrivateEndpointConnectionProperties,\n): any {\n return {\n privateEndpoint: !item[\"privateEndpoint\"]\n ? item[\"privateEndpoint\"]\n : privateEndpointSerializer(item[\"privateEndpoint\"]),\n privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer(\n item[\"privateLinkServiceConnectionState\"],\n ),\n };\n}\n\nexport function privateEndpointConnectionPropertiesDeserializer(\n item: any,\n): PrivateEndpointConnectionProperties {\n return {\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n privateEndpoint: !item[\"privateEndpoint\"]\n ? item[\"privateEndpoint\"]\n : privateEndpointDeserializer(item[\"privateEndpoint\"]),\n privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(\n item[\"privateLinkServiceConnectionState\"],\n ),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The private endpoint resource. */\nexport interface PrivateEndpoint {\n /** The resource identifier of the private endpoint */\n readonly id?: string;\n}\n\nexport function privateEndpointSerializer(item: PrivateEndpoint): any {\n return item;\n}\n\nexport function privateEndpointDeserializer(item: any): PrivateEndpoint {\n return {\n id: item[\"id\"],\n };\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionState {\n /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */\n status?: PrivateEndpointServiceConnectionStatus;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: string;\n}\n\nexport function privateLinkServiceConnectionStateSerializer(\n item: PrivateLinkServiceConnectionState,\n): any {\n return {\n status: item[\"status\"],\n description: item[\"description\"],\n actionsRequired: item[\"actionsRequired\"],\n };\n}\n\nexport function privateLinkServiceConnectionStateDeserializer(\n item: any,\n): PrivateLinkServiceConnectionState {\n return {\n status: item[\"status\"],\n description: item[\"description\"],\n actionsRequired: item[\"actionsRequired\"],\n };\n}\n\n/** The private endpoint connection status. */\nexport enum KnownPrivateEndpointServiceConnectionStatus {\n /** Connection waiting for approval or rejection */\n Pending = \"Pending\",\n /** Connection approved */\n Approved = \"Approved\",\n /** Connection Rejected */\n Rejected = \"Rejected\",\n}\n\n/**\n * The private endpoint connection status. \\\n * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending**: Connection waiting for approval or rejection \\\n * **Approved**: Connection approved \\\n * **Rejected**: Connection Rejected\n */\nexport type PrivateEndpointServiceConnectionStatus = string;\n\n/** The current provisioning state. */\nexport enum KnownPrivateEndpointConnectionProvisioningState {\n /** Connection has been provisioned */\n Succeeded = \"Succeeded\",\n /** Connection is being created */\n Creating = \"Creating\",\n /** Connection is being deleted */\n Deleting = \"Deleting\",\n /** Connection provisioning has failed */\n Failed = \"Failed\",\n}\n\n/**\n * The current provisioning state. \\\n * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Connection has been provisioned \\\n * **Creating**: Connection is being created \\\n * **Deleting**: Connection is being deleted \\\n * **Failed**: Connection provisioning has failed\n */\nexport type PrivateEndpointConnectionProvisioningState = string;\n\n/** Property to specify whether the Maps Account will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. */\nexport enum KnownPublicNetworkAccess {\n /** enabled */\n Enabled = \"enabled\",\n /** disabled */\n Disabled = \"disabled\",\n}\n\n/**\n * Property to specify whether the Maps Account will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. \\\n * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **enabled**: enabled \\\n * **disabled**: disabled\n */\nexport type PublicNetworkAccess = string;\n\n/** The SKU of the Maps Account. */\nexport interface Sku {\n /** The name of the SKU, in standard format (such as G2). */\n name: Name;\n /** Gets the sku tier. This is based on the SKU name. */\n readonly tier?: string;\n}\n\nexport function skuSerializer(item: Sku): any {\n return { name: item[\"name\"] };\n}\n\nexport function skuDeserializer(item: any): Sku {\n return {\n name: item[\"name\"],\n tier: item[\"tier\"],\n };\n}\n\n/** The name of the SKU, in standard format (such as G2). */\nexport enum KnownName {\n /** G2 */\n G2 = \"G2\",\n}\n\n/**\n * The name of the SKU, in standard format (such as G2). \\\n * {@link KnownName} can be used interchangeably with Name,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **G2**: G2\n */\nexport type Name = string;\n\n/** The Kind of the Maps Account. */\nexport enum KnownKind {\n /** Gen2 */\n Gen2 = \"Gen2\",\n}\n\n/**\n * The Kind of the Maps Account. \\\n * {@link KnownKind} can be used interchangeably with Kind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Gen2**: Gen2\n */\nexport type Kind = string;\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentity {\n /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly principalId?: string;\n /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly tenantId?: string;\n /** The type of managed identity assigned to this resource. */\n type: ManagedServiceIdentityType;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity>;\n}\n\nexport function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any {\n return { type: item[\"type\"], userAssignedIdentities: item[\"userAssignedIdentities\"] };\n}\n\nexport function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : Object.fromEntries(\n Object.entries(item[\"userAssignedIdentities\"]).map(([k, p]: [string, any]) => [\n k,\n !p ? p : userAssignedIdentityDeserializer(p),\n ]),\n ),\n };\n}\n\n/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */\nexport enum KnownManagedServiceIdentityType {\n /** No managed identity. */\n None = \"None\",\n /** System assigned managed identity. */\n SystemAssigned = \"SystemAssigned\",\n /** User assigned managed identity. */\n UserAssigned = \"UserAssigned\",\n /** System and user assigned managed identity. */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \\\n * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: No managed identity. \\\n * **SystemAssigned**: System assigned managed identity. \\\n * **UserAssigned**: User assigned managed identity. \\\n * **SystemAssigned,UserAssigned**: System and user assigned managed identity.\n */\nexport type ManagedServiceIdentityType = string;\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitySerializer(item: UserAssignedIdentity): any {\n return item;\n}\n\nexport function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n };\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Parameters used to update an existing Maps Account. */\nexport interface MapsAccountUpdateParameters {\n /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. */\n tags?: Record<string, string>;\n /** Get or Set Kind property. */\n kind?: Kind;\n /** The SKU of this account. */\n sku?: Sku;\n /** Managed service identity (system assigned and/or user assigned identities) */\n identity?: ManagedServiceIdentity;\n /** A unique identifier for the Maps Account */\n readonly uniqueId?: string;\n /** Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys and Shared Access Signature Token authentication from any usage. */\n disableLocalAuth?: boolean;\n /** The provisioning state of the Maps account resource, Account updates can only be performed on terminal states. Terminal states: `Succeeded` and `Failed` */\n readonly provisioningState?: string;\n /** The array of associated resources to the Maps account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Maps Account Managed Identity(s) permissions to those resource(s). */\n linkedResources?: LinkedResource[];\n /** Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. */\n cors?: CorsRules;\n /** All encryption configuration for a resource. */\n encryption?: Encryption;\n /** List of additional data processing regions for the Maps Account, which may result in requests being processed in another geography. Some features or results may be restricted to specific regions. By default, Maps REST APIs process requests according to the account location or the [geographic scope](https://learn.microsoft.com/azure/azure-maps/geographic-scope). */\n locations?: LocationsItem[];\n /** List of private endpoint connections associated with the Maps Account. */\n readonly privateEndpointConnections?: PrivateEndpointConnection[];\n /** Property to specify whether the Maps Account will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. */\n publicNetworkAccess?: PublicNetworkAccess;\n}\n\nexport function mapsAccountUpdateParametersSerializer(item: MapsAccountUpdateParameters): any {\n return {\n tags: item[\"tags\"],\n kind: item[\"kind\"],\n sku: !item[\"sku\"] ? item[\"sku\"] : skuSerializer(item[\"sku\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n properties: areAllPropsUndefined(item, [\n \"disableLocalAuth\",\n \"linkedResources\",\n \"cors\",\n \"encryption\",\n \"locations\",\n \"publicNetworkAccess\",\n ])\n ? undefined\n : _mapsAccountUpdateParametersPropertiesSerializer(item),\n };\n}\n\n/** A list of Maps Accounts. */\nexport interface _MapsAccounts {\n /** The MapsAccount items on this page */\n value: MapsAccount[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _mapsAccountsDeserializer(item: any): _MapsAccounts {\n return {\n value: mapsAccountArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function mapsAccountArraySerializer(result: Array<MapsAccount>): any[] {\n return result.map((item) => {\n return mapsAccountSerializer(item);\n });\n}\n\nexport function mapsAccountArrayDeserializer(result: Array<MapsAccount>): any[] {\n return result.map((item) => {\n return mapsAccountDeserializer(item);\n });\n}\n\n/** Parameters used to create an account Shared Access Signature (SAS) token. The REST API access control is provided by Azure Maps Role Based Access (RBAC) identity and access. */\nexport interface AccountSasParameters {\n /** The Maps account key to use for signing. Picking `primaryKey` or `secondaryKey` will use the Maps account Shared Keys, and using `managedIdentity` will use the auto-renewed private key to sign the SAS. */\n signingKey: SigningKey;\n /** The principal Id also known as the object Id of a User Assigned Managed Identity currently assigned to the Maps Account. To assign a Managed Identity of the account, use operation Create or Update an assign a User Assigned Identity resource Id. */\n principalId: string;\n /** Optional, allows control of which region locations are permitted access to Azure Maps REST APIs with the SAS token. Example: \"eastus\", \"westus2\". Omitting this parameter will allow all region locations to be accessible. */\n regions?: string[];\n /** Required parameter which represents the desired maximum request per second to allowed for the given SAS token. This does not guarantee perfect accuracy in measurements but provides application safe guards of abuse with eventual enforcement. */\n maxRatePerSecond: number;\n /** The date time offset of when the token validity begins. For example \"2017-05-24T10:42:03.1567373Z\". Maximum duration allowed is 24 hours between `start` and `expiry`. */\n start: string;\n /** The date time offset of when the token validity expires. For example \"2017-05-24T10:42:03.1567373Z\". Maximum duration allowed is 24 hours between `start` and `expiry`. */\n expiry: string;\n}\n\nexport function accountSasParametersSerializer(item: AccountSasParameters): any {\n return {\n signingKey: item[\"signingKey\"],\n principalId: item[\"principalId\"],\n regions: !item[\"regions\"]\n ? item[\"regions\"]\n : item[\"regions\"].map((p: any) => {\n return p;\n }),\n maxRatePerSecond: item[\"maxRatePerSecond\"],\n start: item[\"start\"],\n expiry: item[\"expiry\"],\n };\n}\n\n/** The Maps account key to use for signing. Picking `primaryKey` or `secondaryKey` will use the Maps account Shared Keys, and using `managedIdentity` will use the auto-renewed private key to sign the SAS. */\nexport enum KnownSigningKey {\n /** primaryKey */\n PrimaryKey = \"primaryKey\",\n /** secondaryKey */\n SecondaryKey = \"secondaryKey\",\n /** managedIdentity */\n ManagedIdentity = \"managedIdentity\",\n}\n\n/**\n * The Maps account key to use for signing. Picking `primaryKey` or `secondaryKey` will use the Maps account Shared Keys, and using `managedIdentity` will use the auto-renewed private key to sign the SAS. \\\n * {@link KnownSigningKey} can be used interchangeably with SigningKey,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **primaryKey**: primaryKey \\\n * **secondaryKey**: secondaryKey \\\n * **managedIdentity**: managedIdentity\n */\nexport type SigningKey = string;\n\n/** A new Sas token which can be used to access the Maps REST APIs and is controlled by the specified Managed identity permissions on Azure (IAM) Role Based Access Control. */\nexport interface MapsAccountSasToken {\n /** The shared access signature access token. */\n readonly accountSasToken?: string;\n}\n\nexport function mapsAccountSasTokenDeserializer(item: any): MapsAccountSasToken {\n return {\n accountSasToken: item[\"accountSasToken\"],\n };\n}\n\n/** The set of keys which can be used to access the Maps REST APIs. Two keys are provided for key rotation without interruption. */\nexport interface MapsAccountKeys {\n /** The last updated date and time of the primary key. */\n readonly primaryKeyLastUpdated?: string;\n /** The primary key for accessing the Maps REST APIs. */\n readonly primaryKey?: string;\n /** The secondary key for accessing the Maps REST APIs. */\n readonly secondaryKey?: string;\n /** The last updated date and time of the secondary key. */\n readonly secondaryKeyLastUpdated?: string;\n}\n\nexport function mapsAccountKeysDeserializer(item: any): MapsAccountKeys {\n return {\n primaryKeyLastUpdated: item[\"primaryKeyLastUpdated\"],\n primaryKey: item[\"primaryKey\"],\n secondaryKey: item[\"secondaryKey\"],\n secondaryKeyLastUpdated: item[\"secondaryKeyLastUpdated\"],\n };\n}\n\n/** Whether the operation refers to the primary or secondary key. */\nexport interface MapsKeySpecification {\n /** Whether the operation refers to the primary or secondary key. */\n keyType: KeyType;\n}\n\nexport function mapsKeySpecificationSerializer(item: MapsKeySpecification): any {\n return { keyType: item[\"keyType\"] };\n}\n\n/** Whether the operation refers to the primary or secondary key. */\nexport enum KnownKeyType {\n /** primary */\n Primary = \"primary\",\n /** secondary */\n Secondary = \"secondary\",\n}\n\n/**\n * Whether the operation refers to the primary or secondary key. \\\n * {@link KnownKeyType} can be used interchangeably with KeyType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **primary**: primary \\\n * **secondary**: secondary\n */\nexport type KeyType = string;\n\n/** An Azure resource which represents Maps Creator product and provides ability to manage private location data. */\nexport interface Creator extends TrackedResource {\n /** The Creator resource properties. */\n properties: CreatorProperties;\n}\n\nexport function creatorSerializer(item: Creator): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: creatorPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function creatorDeserializer(item: any): Creator {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: creatorPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Creator resource properties */\nexport interface CreatorProperties {\n /** The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled */\n readonly provisioningState?: string;\n /** The storage units to be allocated. Integer values from 1 to 100, inclusive. */\n storageUnits: number;\n /** The total allocated storage unit size in bytes for the creator resource. */\n totalStorageUnitSizeInBytes?: number;\n /** The consumed storage unit size in bytes for the creator resource. */\n consumedStorageUnitSizeInBytes?: number;\n}\n\nexport function creatorPropertiesSerializer(item: CreatorProperties): any {\n return {\n storageUnits: item[\"storageUnits\"],\n totalStorageUnitSizeInBytes: item[\"totalStorageUnitSizeInBytes\"],\n consumedStorageUnitSizeInBytes: item[\"consumedStorageUnitSizeInBytes\"],\n };\n}\n\nexport function creatorPropertiesDeserializer(item: any): CreatorProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n storageUnits: item[\"storageUnits\"],\n totalStorageUnitSizeInBytes: item[\"totalStorageUnitSizeInBytes\"],\n consumedStorageUnitSizeInBytes: item[\"consumedStorageUnitSizeInBytes\"],\n };\n}\n\n/** Parameters used to update an existing Creator resource. */\nexport interface CreatorUpdateParameters {\n /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. */\n tags?: Record<string, string>;\n /** The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled */\n readonly provisioningState?: string;\n /** The storage units to be allocated. Integer values from 1 to 100, inclusive. */\n storageUnits?: number;\n /** The total allocated storage unit size in bytes for the creator resource. */\n totalStorageUnitSizeInBytes?: number;\n /** The consumed storage unit size in bytes for the creator resource. */\n consumedStorageUnitSizeInBytes?: number;\n}\n\nexport function creatorUpdateParametersSerializer(item: CreatorUpdateParameters): any {\n return {\n tags: item[\"tags\"],\n properties: areAllPropsUndefined(item, [\n \"storageUnits\",\n \"totalStorageUnitSizeInBytes\",\n \"consumedStorageUnitSizeInBytes\",\n ])\n ? undefined\n : _creatorUpdateParametersPropertiesSerializer(item),\n };\n}\n\n/** A list of Creator resources. */\nexport interface _CreatorList {\n /** The Creator items on this page */\n value: Creator[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _creatorListDeserializer(item: any): _CreatorList {\n return {\n value: creatorArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function creatorArraySerializer(result: Array<Creator>): any[] {\n return result.map((item) => {\n return creatorSerializer(item);\n });\n}\n\nexport function creatorArrayDeserializer(result: Array<Creator>): any[] {\n return result.map((item) => {\n return creatorDeserializer(item);\n });\n}\n\n/** A private link resource. */\nexport interface PrivateLinkResource extends ProxyResource {\n /** The private link resource group id. */\n readonly groupId?: string;\n /** The private link resource required member names. */\n readonly requiredMembers?: string[];\n /** The private link resource private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\nexport function privateLinkResourceDeserializer(item: any): PrivateLinkResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _privateLinkResourcePropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** Properties of a private link resource. */\nexport interface PrivateLinkResourceProperties {\n /** The private link resource group id. */\n readonly groupId?: string;\n /** The private link resource required member names. */\n readonly requiredMembers?: string[];\n /** The private link resource private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\nexport function privateLinkResourcePropertiesDeserializer(\n item: any,\n): PrivateLinkResourceProperties {\n return {\n groupId: item[\"groupId\"],\n requiredMembers: !item[\"requiredMembers\"]\n ? item[\"requiredMembers\"]\n : item[\"requiredMembers\"].map((p: any) => {\n return p;\n }),\n requiredZoneNames: !item[\"requiredZoneNames\"]\n ? item[\"requiredZoneNames\"]\n : item[\"requiredZoneNames\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** A list of private link resources for a Maps Account resource type. */\nexport interface _PrivateLinkResourceList {\n /** The PrivateLinkResource items on this page */\n value: PrivateLinkResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _privateLinkResourceListDeserializer(item: any): _PrivateLinkResourceList {\n return {\n value: privateLinkResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function privateLinkResourceArrayDeserializer(result: Array<PrivateLinkResource>): any[] {\n return result.map((item) => {\n return privateLinkResourceDeserializer(item);\n });\n}\n\n/** A list of private endpoint connections */\nexport interface _PrivateEndpointConnectionList {\n /** The PrivateEndpointConnection items on this page */\n value: PrivateEndpointConnection[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _privateEndpointConnectionListDeserializer(\n item: any,\n): _PrivateEndpointConnectionList {\n return {\n value: privateEndpointConnectionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for an operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** The current status of an async operation. */\nexport interface OperationStatusResult {\n /** Fully qualified ID for the async operation. */\n id?: string;\n /** Name of the async operation. */\n name?: string;\n /** Operation status. */\n status: string;\n /** Percent of the operation that is complete. */\n percentComplete?: number;\n /** The start time of the operation. */\n startTime?: Date;\n /** The end time of the operation. */\n endTime?: Date;\n /** The operations list. */\n operations?: OperationStatusResult[];\n /** If present, details of the operation error. */\n error?: ErrorDetail;\n /** Fully qualified ID of the resource against which the original async operation was started. */\n readonly resourceId?: string;\n}\n\nexport function operationStatusResultDeserializer(item: any): OperationStatusResult {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n status: item[\"status\"],\n percentComplete: item[\"percentComplete\"],\n startTime: !item[\"startTime\"] ? item[\"startTime\"] : new Date(item[\"startTime\"]),\n endTime: !item[\"endTime\"] ? item[\"endTime\"] : new Date(item[\"endTime\"]),\n operations: !item[\"operations\"]\n ? item[\"operations\"]\n : operationStatusResultArrayDeserializer(item[\"operations\"]),\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n resourceId: item[\"resourceId\"],\n };\n}\n\nexport function operationStatusResultArrayDeserializer(\n result: Array<OperationStatusResult>,\n): any[] {\n return result.map((item) => {\n return operationStatusResultDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-10-01-preview API version. */\n V20251001Preview = \"2025-10-01-preview\",\n}\n\nexport function _privateEndpointConnectionPropertiesSerializer(\n item: PrivateEndpointConnection,\n): any {\n return {\n privateEndpoint: !item[\"privateEndpoint\"]\n ? item[\"privateEndpoint\"]\n : privateEndpointSerializer(item[\"privateEndpoint\"]),\n privateLinkServiceConnectionState: !item[\"privateLinkServiceConnectionState\"]\n ? item[\"privateLinkServiceConnectionState\"]\n : privateLinkServiceConnectionStateSerializer(item[\"privateLinkServiceConnectionState\"]),\n };\n}\n\nexport function _privateEndpointConnectionPropertiesDeserializer(item: any) {\n return {\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n privateEndpoint: !item[\"privateEndpoint\"]\n ? item[\"privateEndpoint\"]\n : privateEndpointDeserializer(item[\"privateEndpoint\"]),\n privateLinkServiceConnectionState: !item[\"privateLinkServiceConnectionState\"]\n ? item[\"privateLinkServiceConnectionState\"]\n : privateLinkServiceConnectionStateDeserializer(item[\"privateLinkServiceConnectionState\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\nexport function _mapsAccountUpdateParametersPropertiesSerializer(\n item: MapsAccountUpdateParameters,\n): any {\n return {\n disableLocalAuth: item[\"disableLocalAuth\"],\n linkedResources: !item[\"linkedResources\"]\n ? item[\"linkedResources\"]\n : linkedResourceArraySerializer(item[\"linkedResources\"]),\n cors: !item[\"cors\"] ? item[\"cors\"] : corsRulesSerializer(item[\"cors\"]),\n encryption: !item[\"encryption\"] ? item[\"encryption\"] : encryptionSerializer(item[\"encryption\"]),\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : locationsItemArraySerializer(item[\"locations\"]),\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n };\n}\n\nexport function _mapsAccountUpdateParametersPropertiesDeserializer(item: any) {\n return {\n uniqueId: item[\"uniqueId\"],\n disableLocalAuth: item[\"disableLocalAuth\"],\n provisioningState: item[\"provisioningState\"],\n linkedResources: !item[\"linkedResources\"]\n ? item[\"linkedResources\"]\n : linkedResourceArrayDeserializer(item[\"linkedResources\"]),\n cors: !item[\"cors\"] ? item[\"cors\"] : corsRulesDeserializer(item[\"cors\"]),\n encryption: !item[\"encryption\"]\n ? item[\"encryption\"]\n : encryptionDeserializer(item[\"encryption\"]),\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : locationsItemArrayDeserializer(item[\"locations\"]),\n privateEndpointConnections: !item[\"privateEndpointConnections\"]\n ? item[\"privateEndpointConnections\"]\n : privateEndpointConnectionArrayDeserializer(item[\"privateEndpointConnections\"]),\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n };\n}\n\nexport function _creatorUpdateParametersPropertiesSerializer(item: CreatorUpdateParameters): any {\n return {\n storageUnits: item[\"storageUnits\"],\n totalStorageUnitSizeInBytes: item[\"totalStorageUnitSizeInBytes\"],\n consumedStorageUnitSizeInBytes: item[\"consumedStorageUnitSizeInBytes\"],\n };\n}\n\nexport function _creatorUpdateParametersPropertiesDeserializer(item: any) {\n return {\n provisioningState: item[\"provisioningState\"],\n storageUnits: item[\"storageUnits\"],\n totalStorageUnitSizeInBytes: item[\"totalStorageUnitSizeInBytes\"],\n consumedStorageUnitSizeInBytes: item[\"consumedStorageUnitSizeInBytes\"],\n };\n}\n\nexport function _privateLinkResourcePropertiesDeserializer(item: any) {\n return {\n groupId: item[\"groupId\"],\n requiredMembers: !item[\"requiredMembers\"]\n ? item[\"requiredMembers\"]\n : item[\"requiredMembers\"].map((p: any) => {\n return p;\n }),\n requiredZoneNames: !item[\"requiredZoneNames\"]\n ? item[\"requiredZoneNames\"]\n : item[\"requiredZoneNames\"].map((p: any) => {\n return p;\n }),\n };\n}\n"],
5
+ "mappings": "AAGA,SAAS,4BAA4B;AAoB9B,SAAS,sBAAsB,MAAwB;AAC5D,SAAO;AAAA,IACL,MAAM,KAAK,MAAM;AAAA,IACjB,UAAU,KAAK,UAAU;AAAA,IACzB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,gCAAgC,KAAK,YAAY,CAAC;AAAA,IACtD,KAAK,cAAc,KAAK,KAAK,CAAC;AAAA,IAC9B,MAAM,KAAK,MAAM;AAAA,IACjB,UAAU,CAAC,KAAK,UAAU,IACtB,KAAK,UAAU,IACf,iCAAiC,KAAK,UAAU,CAAC;AAAA,EACvD;AACF;AAEO,SAAS,wBAAwB,MAAwB;AAC9D,SAAO;AAAA,IACL,MAAM,CAAC,KAAK,MAAM,IACd,KAAK,MAAM,IACX,OAAO,YAAY,OAAO,QAAQ,KAAK,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAqB,CAAC,GAAG,CAAC,CAAC,CAAC;AAAA,IAC1F,UAAU,KAAK,UAAU;AAAA,IACzB,IAAI,KAAK,IAAI;AAAA,IACb,MAAM,KAAK,MAAM;AAAA,IACjB,MAAM,KAAK,MAAM;AAAA,IACjB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,uBAAuB,KAAK,YAAY,CAAC;AAAA,IAC7C,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,kCAAkC,KAAK,YAAY,CAAC;AAAA,IACxD,KAAK,gBAAgB,KAAK,KAAK,CAAC;AAAA,IAChC,MAAM,KAAK,MA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,CAAC;AAAA,EACP;AACF;",
6
+ "names": ["KnownInfrastructureEncryption", "KnownIdentityType", "KnownPrivateEndpointServiceConnectionStatus", "KnownPrivateEndpointConnectionProvisioningState", "KnownPublicNetworkAccess", "KnownName", "KnownKind", "KnownManagedServiceIdentityType", "KnownCreatedByType", "KnownSigningKey", "KnownKeyType", "KnownOrigin", "KnownActionType", "KnownVersions"]
7
+ }
@@ -0,0 +1,21 @@
1
+ import type { AzureMapsManagementClient } from "./azureMapsManagementClient.js";
2
+ import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ import type { AbortSignalLike } from "@azure/abort-controller";
4
+ import type { PollerLike, OperationState } from "@azure/core-lro";
5
+ export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
6
+ /** Delay to wait until next poll, in milliseconds. */
7
+ updateIntervalInMs?: number;
8
+ /**
9
+ * The signal which can be used to abort requests.
10
+ */
11
+ abortSignal?: AbortSignalLike;
12
+ /** Deserialization function for raw response body */
13
+ processResponseBody?: (result: TResponse) => Promise<TResult>;
14
+ }
15
+ /**
16
+ * Creates a poller from the serialized state of another poller. This can be
17
+ * useful when you want to create pollers on a different host or a poller
18
+ * needs to be constructed after the original one is not in scope.
19
+ */
20
+ export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: AzureMapsManagementClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
21
+ //# sourceMappingURL=restorePollerHelpers.d.ts.map
@@ -0,0 +1,89 @@
1
+ import { _getDeserialize } from "./api/operationResult/operations.js";
2
+ import {
3
+ _$deleteDeserialize,
4
+ _createDeserialize
5
+ } from "./api/privateEndpointConnections/operations.js";
6
+ import { getLongRunningPoller } from "./static-helpers/pollingHelpers.js";
7
+ import { deserializeState } from "@azure/core-lro";
8
+ function restorePoller(client, serializedState, sourceOperation, options) {
9
+ const pollerConfig = deserializeState(serializedState).config;
10
+ const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
11
+ if (!initialRequestUrl || !requestMethod) {
12
+ throw new Error(
13
+ `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`
14
+ );
15
+ }
16
+ const resourceLocationConfig = metadata?.["resourceLocationConfig"];
17
+ const { deserializer, expectedStatuses = [] } = getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};
18
+ const deserializeHelper = options?.processResponseBody ?? deserializer;
19
+ if (!deserializeHelper) {
20
+ throw new Error(
21
+ `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`
22
+ );
23
+ }
24
+ const apiVersion = getApiVersionFromUrl(initialRequestUrl);
25
+ return getLongRunningPoller(
26
+ client["_client"] ?? client,
27
+ deserializeHelper,
28
+ expectedStatuses,
29
+ {
30
+ updateIntervalInMs: options?.updateIntervalInMs,
31
+ abortSignal: options?.abortSignal,
32
+ resourceLocationConfig,
33
+ restoreFrom: serializedState,
34
+ initialRequestUrl,
35
+ apiVersion
36
+ }
37
+ );
38
+ }
39
+ const deserializeMap = {
40
+ "GET /subscriptions/{subscriptionId}/providers/Microsoft.Maps/locations/{location}/operationResults/{operationId}": { deserializer: _getDeserialize, expectedStatuses: ["200", "202"] },
41
+ "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}": { deserializer: _$deleteDeserialize, expectedStatuses: ["202", "204", "200"] },
42
+ "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}": { deserializer: _createDeserialize, expectedStatuses: ["200", "201", "202"] }
43
+ };
44
+ function getDeserializationHelper(urlStr, method) {
45
+ const path = new URL(urlStr).pathname;
46
+ const pathParts = path.split("/");
47
+ let matchedLen = -1, matchedValue;
48
+ for (const [key, value] of Object.entries(deserializeMap)) {
49
+ if (!key.startsWith(method)) {
50
+ continue;
51
+ }
52
+ const candidatePath = getPathFromMapKey(key);
53
+ const candidateParts = candidatePath.split("/");
54
+ let found = true;
55
+ for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
56
+ if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) {
57
+ const start = candidateParts[i].indexOf("}") + 1, end = candidateParts[i]?.length;
58
+ const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(
59
+ pathParts[j] || ""
60
+ );
61
+ if (!isMatched) {
62
+ found = false;
63
+ break;
64
+ }
65
+ continue;
66
+ }
67
+ if (candidateParts[i] !== pathParts[j]) {
68
+ found = false;
69
+ break;
70
+ }
71
+ }
72
+ if (found && candidatePath.length > matchedLen) {
73
+ matchedLen = candidatePath.length;
74
+ matchedValue = value;
75
+ }
76
+ }
77
+ return matchedValue;
78
+ }
79
+ function getPathFromMapKey(mapKey) {
80
+ const pathStart = mapKey.indexOf("/");
81
+ return mapKey.slice(pathStart);
82
+ }
83
+ function getApiVersionFromUrl(urlStr) {
84
+ const url = new URL(urlStr);
85
+ return url.searchParams.get("api-version") ?? void 0;
86
+ }
87
+ export {
88
+ restorePoller
89
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/maps/arm-maps/src/restorePollerHelpers.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureMapsManagementClient } from \"./azureMapsManagementClient.js\";\nimport { _getDeserialize } from \"./api/operationResult/operations.js\";\nimport {\n _$deleteDeserialize,\n _createDeserialize,\n} from \"./api/privateEndpointConnections/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport type { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { PollerLike, OperationState, ResourceLocationConfig } from \"@azure/core-lro\";\nimport { deserializeState } from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: AzureMapsManagementClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n const apiVersion = getApiVersionFromUrl(initialRequestUrl);\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n apiVersion,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: (result: PathUncheckedResponse) => Promise<any>;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"GET /subscriptions/{subscriptionId}/providers/Microsoft.Maps/locations/{location}/operationResults/{operationId}\":\n { deserializer: _getDeserialize, expectedStatuses: [\"200\", \"202\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}\":\n { deserializer: _$deleteDeserialize, expectedStatuses: [\"202\", \"204\", \"200\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}\":\n { deserializer: _createDeserialize, expectedStatuses: [\"200\", \"201\", \"202\"] },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n\nfunction getApiVersionFromUrl(urlStr: string): string | undefined {\n const url = new URL(urlStr);\n return url.searchParams.get(\"api-version\") ?? undefined;\n}\n"],
5
+ "mappings": "AAIA,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,OACK;AACP,SAAS,4BAA4B;AAIrC,SAAS,wBAAwB;AAqB1B,SAAS,cACd,QACA,iBACA,iBACA,SAC8C;AAC9C,QAAM,eAAe,iBAAiB,eAAe,EAAE;AACvD,QAAM,EAAE,mBAAmB,eAAe,SAAS,IAAI;AACvD,MAAI,CAAC,qBAAqB,CAAC,eAAe;AACxC,UAAM,IAAI;AAAA,MACR,6BAA6B,eAAe,wBAAwB,iBAAiB,IAAI;AAAA,IAC3F;AAAA,EACF;AACA,QAAM,yBAAyB,WAAW,wBAAwB;AAGlE,QAAM,EAAE,cAAc,mBAAmB,CAAC,EAAE,IAC1C,yBAAyB,mBAAmB,aAAa,KAAK,CAAC;AACjE,QAAM,oBAAoB,SAAS,uBAAuB;AAC1D,MAAI,CAAC,mBAAmB;AACtB,UAAM,IAAI;AAAA,MACR,0FAA0F,iBAAiB,IAAI;AAAA,IACjH;AAAA,EACF;AACA,QAAM,aAAa,qBAAqB,iBAAiB;AACzD,SAAO;AAAA,IACJ,OAAe,SAAS,KAAK;AAAA,IAC9B;AAAA,IACA;AAAA,IACA;AAAA,MACE,oBAAoB,SAAS;AAAA,MA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AAQ;AACR;AAAA,MACF;AAAA,IACF;AAIA,QAAI,SAAS,cAAc,SAAS,YAAY;AAC9C,mBAAa,cAAc;AAC3B,qBAAe;AAAA,IACjB;AAAA,EACF;AAEA,SAAO;AACT;AAEA,SAAS,kBAAkB,QAAwB;AACjD,QAAM,YAAY,OAAO,QAAQ,GAAG;AACpC,SAAO,OAAO,MAAM,SAAS;AAC/B;AAEA,SAAS,qBAAqB,QAAoC;AAChE,QAAM,MAAM,IAAI,IAAI,MAAM;AAC1B,SAAO,IAAI,aAAa,IAAI,aAAa,KAAK;AAChD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * An enum to describe Azure Cloud environments.
3
+ * @enum {string}
4
+ */
5
+ export declare enum AzureClouds {
6
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
7
+ AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
8
+ /** Azure China cloud */
9
+ AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
10
+ /** Azure US government cloud */
11
+ AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
12
+ }
13
+ /** The supported values for cloud setting as a string literal type */
14
+ export type AzureSupportedClouds = `${AzureClouds}`;
15
+ /**
16
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
17
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
18
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
19
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
20
+ */
21
+ export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
22
+ //# sourceMappingURL=cloudSettingHelpers.d.ts.map
@@ -0,0 +1,27 @@
1
+ var AzureClouds = /* @__PURE__ */ ((AzureClouds2) => {
2
+ AzureClouds2["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
3
+ AzureClouds2["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
4
+ AzureClouds2["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
5
+ return AzureClouds2;
6
+ })(AzureClouds || {});
7
+ function getArmEndpoint(cloudSetting) {
8
+ if (cloudSetting === void 0) {
9
+ return void 0;
10
+ }
11
+ const cloudEndpoints = {
12
+ AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
13
+ AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
14
+ AZURE_PUBLIC_CLOUD: "https://management.azure.com/"
15
+ };
16
+ if (cloudSetting in cloudEndpoints) {
17
+ return cloudEndpoints[cloudSetting];
18
+ } else {
19
+ throw new Error(
20
+ `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`
21
+ );
22
+ }
23
+ }
24
+ export {
25
+ AzureClouds,
26
+ getArmEndpoint
27
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/maps/arm-maps/src/static-helpers/cloudSettingHelpers.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * An enum to describe Azure Cloud environments.\n * @enum {string}\n */\nexport enum AzureClouds {\n /** Azure public cloud, which is the default cloud for Azure SDKs. */\n AZURE_PUBLIC_CLOUD = \"AZURE_PUBLIC_CLOUD\",\n /** Azure China cloud */\n AZURE_CHINA_CLOUD = \"AZURE_CHINA_CLOUD\",\n /** Azure US government cloud */\n AZURE_US_GOVERNMENT = \"AZURE_US_GOVERNMENT\",\n}\n\n/** The supported values for cloud setting as a string literal type */\nexport type AzureSupportedClouds = `${AzureClouds}`;\n\n/**\n * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.\n * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.\n * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.\n * @throws {Error} Throws an error if an unknown cloud setting is provided.\n */\nexport function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined {\n if (cloudSetting === undefined) {\n return undefined;\n }\n const cloudEndpoints: Record<keyof typeof AzureClouds, string> = {\n AZURE_CHINA_CLOUD: \"https://management.chinacloudapi.cn/\",\n AZURE_US_GOVERNMENT: \"https://management.usgovcloudapi.net/\",\n AZURE_PUBLIC_CLOUD: \"https://management.azure.com/\",\n };\n if (cloudSetting in cloudEndpoints) {\n return cloudEndpoints[cloudSetting];\n } else {\n throw new Error(\n `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`,\n );\n }\n}\n"],
5
+ "mappings": "AAOO,IAAK,cAAL,kBAAKA,iBAAL;AAEL,EAAAA,aAAA,wBAAqB;AAErB,EAAAA,aAAA,uBAAoB;AAEpB,EAAAA,aAAA,yBAAsB;AANZ,SAAAA;AAAA,GAAA;AAkBL,SAAS,eAAe,cAAyD;AACtF,MAAI,iBAAiB,QAAW;AAC9B,WAAO;AAAA,EACT;AACA,QAAM,iBAA2D;AAAA,IAC/D,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,oBAAoB;AAAA,EACtB;AACA,MAAI,gBAAgB,gBAAgB;AAClC,WAAO,eAAe,YAAY;AAAA,EACpC,OAAO;AACL,UAAM,IAAI;AAAA,MACR,0BAA0B,YAAY;AAAA,IACxC;AAAA,EACF;AACF;",
6
+ "names": ["AzureClouds"]
7
+ }
@@ -0,0 +1,74 @@
1
+ import type { Client, PathUncheckedResponse } from "@azure-rest/core-client";
2
+ /**
3
+ * Options for the byPage method
4
+ */
5
+ export interface PageSettings {
6
+ /**
7
+ * A reference to a specific page to start iterating from.
8
+ */
9
+ continuationToken?: string;
10
+ }
11
+ /**
12
+ * An interface that describes a page of results.
13
+ */
14
+ export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
15
+ /**
16
+ * The token that keeps track of where to continue the iterator
17
+ */
18
+ continuationToken?: string;
19
+ };
20
+ /**
21
+ * An interface that allows async iterable iteration both to completion and by page.
22
+ */
23
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
24
+ /**
25
+ * The next method, part of the iteration protocol
26
+ */
27
+ next(): Promise<IteratorResult<TElement>>;
28
+ /**
29
+ * The connection to the async iterator, part of the iteration protocol
30
+ */
31
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
32
+ /**
33
+ * Return an AsyncIterableIterator that works a page at a time
34
+ */
35
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
36
+ }
37
+ /**
38
+ * An interface that describes how to communicate with the service.
39
+ */
40
+ export interface PagedResult<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
41
+ /**
42
+ * Link to the first page of results.
43
+ */
44
+ firstPageLink?: string;
45
+ /**
46
+ * A method that returns a page of results.
47
+ */
48
+ getPage: (pageLink?: string) => Promise<{
49
+ page: TPage;
50
+ nextPageLink?: string;
51
+ } | undefined>;
52
+ /**
53
+ * a function to implement the `byPage` method on the paged async iterator.
54
+ */
55
+ byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
56
+ /**
57
+ * A function to extract elements from a page.
58
+ */
59
+ toElements?: (page: TPage) => TElement[];
60
+ }
61
+ /**
62
+ * Options for the paging helper
63
+ */
64
+ export interface BuildPagedAsyncIteratorOptions {
65
+ itemName?: string;
66
+ nextLinkName?: string;
67
+ nextLinkMethod?: "GET" | "POST";
68
+ apiVersion?: string;
69
+ }
70
+ /**
71
+ * Helper to paginate results in a generic way and return a PagedAsyncIterableIterator
72
+ */
73
+ export declare function buildPagedAsyncIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings, TResponse extends PathUncheckedResponse = PathUncheckedResponse>(client: Client, getInitialResponse: () => PromiseLike<TResponse>, processResponseBody: (result: TResponse) => PromiseLike<unknown>, expectedStatuses: string[], options?: BuildPagedAsyncIteratorOptions): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
74
+ //# sourceMappingURL=pagingHelpers.d.ts.map
@@ -0,0 +1,119 @@
1
+ import { createRestError } from "@azure-rest/core-client";
2
+ import { RestError } from "@azure/core-rest-pipeline";
3
+ function buildPagedAsyncIterator(client, getInitialResponse, processResponseBody, expectedStatuses, options = {}) {
4
+ const itemName = options.itemName ?? "value";
5
+ const nextLinkName = options.nextLinkName ?? "nextLink";
6
+ const nextLinkMethod = options.nextLinkMethod ?? "GET";
7
+ const apiVersion = options.apiVersion;
8
+ const pagedResult = {
9
+ getPage: async (pageLink) => {
10
+ let result;
11
+ if (pageLink === void 0) {
12
+ result = await getInitialResponse();
13
+ } else {
14
+ const resolvedPageLink = apiVersion ? addApiVersionToUrl(pageLink, apiVersion) : pageLink;
15
+ result = nextLinkMethod === "POST" ? await client.pathUnchecked(resolvedPageLink).post() : await client.pathUnchecked(resolvedPageLink).get();
16
+ }
17
+ checkPagingRequest(result, expectedStatuses);
18
+ const results = await processResponseBody(result);
19
+ const nextLink = getNextLink(results, nextLinkName);
20
+ const values = getElements(results, itemName);
21
+ return {
22
+ page: values,
23
+ nextPageLink: nextLink
24
+ };
25
+ },
26
+ byPage: (settings) => {
27
+ const { continuationToken } = settings ?? {};
28
+ return getPageAsyncIterator(pagedResult, {
29
+ pageLink: continuationToken
30
+ });
31
+ }
32
+ };
33
+ return getPagedAsyncIterator(pagedResult);
34
+ }
35
+ function getPagedAsyncIterator(pagedResult) {
36
+ const iter = getItemAsyncIterator(pagedResult);
37
+ return {
38
+ next() {
39
+ return iter.next();
40
+ },
41
+ [Symbol.asyncIterator]() {
42
+ return this;
43
+ },
44
+ byPage: pagedResult?.byPage ?? ((settings) => {
45
+ const { continuationToken } = settings ?? {};
46
+ return getPageAsyncIterator(pagedResult, {
47
+ pageLink: continuationToken
48
+ });
49
+ })
50
+ };
51
+ }
52
+ async function* getItemAsyncIterator(pagedResult) {
53
+ const pages = getPageAsyncIterator(pagedResult);
54
+ for await (const page of pages) {
55
+ yield* page;
56
+ }
57
+ }
58
+ async function* getPageAsyncIterator(pagedResult, options = {}) {
59
+ const { pageLink } = options;
60
+ let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink);
61
+ if (!response) {
62
+ return;
63
+ }
64
+ let result = response.page;
65
+ result.continuationToken = response.nextPageLink;
66
+ yield result;
67
+ while (response.nextPageLink) {
68
+ response = await pagedResult.getPage(response.nextPageLink);
69
+ if (!response) {
70
+ return;
71
+ }
72
+ result = response.page;
73
+ result.continuationToken = response.nextPageLink;
74
+ yield result;
75
+ }
76
+ }
77
+ function getNextLink(body, nextLinkName) {
78
+ if (!nextLinkName) {
79
+ return void 0;
80
+ }
81
+ const nextLink = body[nextLinkName];
82
+ if (typeof nextLink !== "string" && typeof nextLink !== "undefined" && nextLink !== null) {
83
+ throw new RestError(
84
+ `Body Property ${nextLinkName} should be a string or undefined or null but got ${typeof nextLink}`
85
+ );
86
+ }
87
+ if (nextLink === null) {
88
+ return void 0;
89
+ }
90
+ return nextLink;
91
+ }
92
+ function getElements(body, itemName) {
93
+ const value = body[itemName];
94
+ if (!Array.isArray(value)) {
95
+ throw new RestError(
96
+ `Couldn't paginate response
97
+ Body doesn't contain an array property with name: ${itemName}`
98
+ );
99
+ }
100
+ return value ?? [];
101
+ }
102
+ function checkPagingRequest(response, expectedStatuses) {
103
+ if (!expectedStatuses.includes(response.status)) {
104
+ throw createRestError(
105
+ `Pagination failed with unexpected statusCode ${response.status}`,
106
+ response
107
+ );
108
+ }
109
+ }
110
+ function addApiVersionToUrl(url, apiVersion) {
111
+ const urlObj = new URL(url, "https://microsoft.com");
112
+ if (!urlObj.searchParams.get("api-version")) {
113
+ return `${url}${Array.from(urlObj.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
114
+ }
115
+ return url;
116
+ }
117
+ export {
118
+ buildPagedAsyncIterator
119
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/maps/arm-maps/src/static-helpers/pagingHelpers.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { Client, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError } from \"@azure-rest/core-client\";\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\n/**\n * Options for the byPage method\n */\nexport interface PageSettings {\n /**\n * A reference to a specific page to start iterating from.\n */\n continuationToken?: string;\n}\n\n/**\n * An interface that describes a page of results.\n */\nexport type ContinuablePage<TElement, TPage = TElement[]> = TPage & {\n /**\n * The token that keeps track of where to continue the iterator\n */\n continuationToken?: string;\n};\n\n/**\n * An interface that allows async iterable iteration both to completion and by page.\n */\nexport interface PagedAsyncIterableIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n> {\n /**\n * The next method, part of the iteration protocol\n */\n next(): Promise<IteratorResult<TElement>>;\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;\n}\n\n/**\n * An interface that describes how to communicate with the service.\n */\nexport interface PagedResult<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n> {\n /**\n * Link to the first page of results.\n */\n firstPageLink?: string;\n /**\n * A method that returns a page of results.\n */\n getPage: (pageLink?: string) => Promise<{ page: TPage; nextPageLink?: string } | undefined>;\n /**\n * a function to implement the `byPage` method on the paged async iterator.\n */\n byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;\n\n /**\n * A function to extract elements from a page.\n */\n toElements?: (page: TPage) => TElement[];\n}\n\n/**\n * Options for the paging helper\n */\nexport interface BuildPagedAsyncIteratorOptions {\n itemName?: string;\n nextLinkName?: string;\n nextLinkMethod?: \"GET\" | \"POST\";\n apiVersion?: string;\n}\n\n/**\n * Helper to paginate results in a generic way and return a PagedAsyncIterableIterator\n */\nexport function buildPagedAsyncIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n>(\n client: Client,\n getInitialResponse: () => PromiseLike<TResponse>,\n processResponseBody: (result: TResponse) => PromiseLike<unknown>,\n expectedStatuses: string[],\n options: BuildPagedAsyncIteratorOptions = {},\n): PagedAsyncIterableIterator<TElement, TPage, TPageSettings> {\n const itemName = options.itemName ?? \"value\";\n const nextLinkName = options.nextLinkName ?? \"nextLink\";\n const nextLinkMethod = options.nextLinkMethod ?? \"GET\";\n const apiVersion = options.apiVersion;\n const pagedResult: PagedResult<TElement, TPage, TPageSettings> = {\n getPage: async (pageLink?: string) => {\n let result;\n if (pageLink === undefined) {\n result = await getInitialResponse();\n } else {\n const resolvedPageLink = apiVersion ? addApiVersionToUrl(pageLink, apiVersion) : pageLink;\n result =\n nextLinkMethod === \"POST\"\n ? await client.pathUnchecked(resolvedPageLink).post()\n : await client.pathUnchecked(resolvedPageLink).get();\n }\n checkPagingRequest(result, expectedStatuses);\n const results = await processResponseBody(result as TResponse);\n const nextLink = getNextLink(results, nextLinkName);\n const values = getElements<TElement>(results, itemName) as TPage;\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n byPage: (settings?: TPageSettings) => {\n const { continuationToken } = settings ?? {};\n return getPageAsyncIterator(pagedResult, {\n pageLink: continuationToken,\n });\n },\n };\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * returns an async iterator that iterates over results. It also has a `byPage`\n * method that returns pages of items at once.\n *\n * @param pagedResult - an object that specifies how to get pages.\n * @returns a paged async iterator that iterates over results.\n */\n\nfunction getPagedAsyncIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n): PagedAsyncIterableIterator<TElement, TPage, TPageSettings> {\n const iter = getItemAsyncIterator<TElement, TPage, TPageSettings>(pagedResult);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage:\n pagedResult?.byPage ??\n ((settings?: TPageSettings) => {\n const { continuationToken } = settings ?? {};\n return getPageAsyncIterator(pagedResult, {\n pageLink: continuationToken,\n });\n }),\n };\n}\n\nasync function* getItemAsyncIterator<TElement, TPage, TPageSettings extends PageSettings>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n): AsyncIterableIterator<TElement> {\n const pages = getPageAsyncIterator(pagedResult);\n for await (const page of pages) {\n yield* page as unknown as TElement[];\n }\n}\n\nasync function* getPageAsyncIterator<TElement, TPage, TPageSettings extends PageSettings>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n options: {\n pageLink?: string;\n } = {},\n): AsyncIterableIterator<ContinuablePage<TElement, TPage>> {\n const { pageLink } = options;\n let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink);\n if (!response) {\n return;\n }\n let result = response.page as ContinuablePage<TElement, TPage>;\n result.continuationToken = response.nextPageLink;\n yield result;\n while (response.nextPageLink) {\n response = await pagedResult.getPage(response.nextPageLink);\n if (!response) {\n return;\n }\n result = response.page as ContinuablePage<TElement, TPage>;\n result.continuationToken = response.nextPageLink;\n yield result;\n }\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\" && nextLink !== null) {\n throw new RestError(\n `Body Property ${nextLinkName} should be a string or undefined or null but got ${typeof nextLink}`,\n );\n }\n\n if (nextLink === null) {\n return undefined;\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n if (!Array.isArray(value)) {\n throw new RestError(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`,\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse, expectedStatuses: string[]): void {\n if (!expectedStatuses.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response,\n );\n }\n}\n\n/**\n * Adds the api-version query parameter on a URL if it's not present.\n * @param url - the URL to modify\n * @param apiVersion - the API version to set\n * @returns - the URL with the api-version query parameter set\n */\nfunction addApiVersionToUrl(url: string, apiVersion: string): string {\n // The base URL is only used for parsing and won't appear in the returned URL\n const urlObj = new URL(url, \"https://microsoft.com\");\n if (!urlObj.searchParams.get(\"api-version\")) {\n // Append one if there is no apiVersion\n return `${url}${\n Array.from(urlObj.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n return url;\n}\n"],
5
+ "mappings": "AAIA,SAAS,uBAAuB;AAChC,SAAS,iBAAiB;AAoFnB,SAAS,wBAMd,QACA,oBACA,qBACA,kBACA,UAA0C,CAAC,GACiB;AAC5D,QAAM,WAAW,QAAQ,YAAY;AACrC,QAAM,eAAe,QAAQ,gBAAgB;AAC7C,QAAM,iBAAiB,QAAQ,kBAAkB;AACjD,QAAM,aAAa,QAAQ;AAC3B,QAAM,cAA2D;AAAA,IAC/D,SAAS,OAAO,aAAsB;AACpC,UAAI;AACJ,UAAI,aAAa,QAAW;AAC1B,iBAAS,MAAM,mBAAmB;AAAA,MACpC,OAAO;AACL,cAAM,mBAAmB,aAAa,mBAAmB,UAAU,UAAU,IAAI;AACjF,iBACE,mBAAmB,SACf,MAAM,OAAO,cAAc,gBAAgB,EAAE,KAAK,IAClD,MAAM,OAAO,cAAc,gBAAgB,EAAE,IAAI;AAAA,MACzD;AACA,yBAAmB,QAAQ,gBAAgB;AAC3C,YAAM,UAAU,MAAM,oBAAoB,MAAmB;AAC7D,YAAM,WAAW,YAAY,SAAS,YA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