@azure/arm-oep 1.0.0-beta.2 → 1.0.0-beta.4

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 (361) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/LICENSE +4 -4
  3. package/README.md +30 -20
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -3
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/index.d.ts +33 -16
  11. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  12. package/{dist-esm/src → dist/browser}/models/index.js +17 -0
  13. package/dist/browser/models/index.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/mappers.js +9 -4
  15. package/dist/browser/models/mappers.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  17. package/dist/browser/models/parameters.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/openEnergyPlatformManagementServiceAPIs.d.ts +4 -2
  19. package/dist/browser/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
  20. package/dist/browser/openEnergyPlatformManagementServiceAPIs.js +110 -0
  21. package/dist/browser/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/energyServices.d.ts +3 -3
  23. package/dist/browser/operations/energyServices.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/energyServices.js +132 -137
  25. package/dist/browser/operations/energyServices.js.map +1 -0
  26. package/dist/browser/operations/index.d.ts +4 -0
  27. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  28. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
  29. package/dist/browser/operations/index.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/locations.d.ts +3 -3
  31. package/dist/browser/operations/locations.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/locations.js +3 -2
  33. package/dist/browser/operations/locations.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  35. package/dist/browser/operations/operations.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
  37. package/dist/browser/operations/operations.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/energyServices.d.ts +1 -1
  39. package/dist/browser/operationsInterfaces/energyServices.d.ts.map +1 -0
  40. package/dist/browser/operationsInterfaces/energyServices.js.map +1 -0
  41. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  43. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
  44. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts +1 -1
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts.map +1 -1
  47. package/dist/browser/operationsInterfaces/locations.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  49. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  51. package/dist/browser/package.json +3 -0
  52. package/dist/browser/pagingHelper.d.ts +13 -0
  53. package/dist/browser/pagingHelper.d.ts.map +1 -0
  54. package/dist/browser/pagingHelper.js +30 -0
  55. package/dist/browser/pagingHelper.js.map +1 -0
  56. package/dist/commonjs/index.d.ts +5 -0
  57. package/dist/commonjs/index.d.ts.map +1 -0
  58. package/dist/commonjs/index.js +19 -0
  59. package/dist/commonjs/index.js.map +1 -0
  60. package/dist/commonjs/lroImpl.d.ts +16 -0
  61. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  62. package/dist/commonjs/lroImpl.js +37 -0
  63. package/dist/commonjs/lroImpl.js.map +1 -0
  64. package/{types/arm-oep.d.ts → dist/commonjs/models/index.d.ts} +368 -492
  65. package/dist/commonjs/models/index.d.ts.map +1 -0
  66. package/dist/commonjs/models/index.js +65 -0
  67. package/dist/commonjs/models/index.js.map +1 -0
  68. package/dist/commonjs/models/mappers.d.ts +17 -0
  69. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  70. package/dist/commonjs/models/mappers.js +462 -0
  71. package/dist/commonjs/models/mappers.js.map +1 -0
  72. package/dist/commonjs/models/parameters.d.ts +13 -0
  73. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  74. package/dist/commonjs/models/parameters.js +116 -0
  75. package/dist/commonjs/models/parameters.js.map +1 -0
  76. package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
  77. package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
  78. package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.js +115 -0
  79. package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
  80. package/dist/commonjs/operations/energyServices.d.ts +95 -0
  81. package/dist/commonjs/operations/energyServices.d.ts.map +1 -0
  82. package/dist/commonjs/operations/energyServices.js +429 -0
  83. package/dist/commonjs/operations/energyServices.js.map +1 -0
  84. package/dist/commonjs/operations/index.d.ts +4 -0
  85. package/dist/commonjs/operations/index.d.ts.map +1 -0
  86. package/dist/commonjs/operations/index.js +14 -0
  87. package/dist/commonjs/operations/index.js.map +1 -0
  88. package/dist/commonjs/operations/locations.d.ts +19 -0
  89. package/dist/commonjs/operations/locations.d.ts.map +1 -0
  90. package/dist/commonjs/operations/locations.js +54 -0
  91. package/dist/commonjs/operations/locations.js.map +1 -0
  92. package/dist/commonjs/operations/operations.d.ts +18 -0
  93. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  94. package/dist/commonjs/operations/operations.js +52 -0
  95. package/dist/commonjs/operations/operations.js.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/energyServices.d.ts +59 -0
  97. package/dist/commonjs/operationsInterfaces/energyServices.d.ts.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/energyServices.js +10 -0
  99. package/dist/commonjs/operationsInterfaces/energyServices.js.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  101. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  103. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/locations.d.ts +11 -0
  105. package/dist/commonjs/operationsInterfaces/locations.d.ts.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/locations.js +10 -0
  107. package/dist/commonjs/operationsInterfaces/locations.js.map +1 -0
  108. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  109. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  111. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  112. package/dist/commonjs/package.json +3 -0
  113. package/dist/commonjs/pagingHelper.d.ts +13 -0
  114. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  115. package/dist/commonjs/pagingHelper.js +34 -0
  116. package/dist/commonjs/pagingHelper.js.map +1 -0
  117. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  118. package/dist/esm/index.d.ts +5 -0
  119. package/dist/esm/index.d.ts.map +1 -0
  120. package/{src/index.ts → dist/esm/index.js} +5 -4
  121. package/dist/esm/index.js.map +1 -0
  122. package/dist/esm/lroImpl.d.ts +16 -0
  123. package/dist/esm/lroImpl.d.ts.map +1 -0
  124. package/dist/esm/lroImpl.js +33 -0
  125. package/dist/esm/lroImpl.js.map +1 -0
  126. package/dist/esm/models/index.d.ts +368 -0
  127. package/dist/esm/models/index.d.ts.map +1 -0
  128. package/dist/esm/models/index.js +62 -0
  129. package/dist/esm/models/index.js.map +1 -0
  130. package/dist/esm/models/mappers.d.ts +17 -0
  131. package/dist/esm/models/mappers.d.ts.map +1 -0
  132. package/dist/esm/models/mappers.js +459 -0
  133. package/dist/esm/models/mappers.js.map +1 -0
  134. package/dist/esm/models/parameters.d.ts +13 -0
  135. package/dist/esm/models/parameters.d.ts.map +1 -0
  136. package/dist/esm/models/parameters.js +113 -0
  137. package/dist/esm/models/parameters.js.map +1 -0
  138. package/dist/esm/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
  139. package/dist/esm/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
  140. package/dist/esm/openEnergyPlatformManagementServiceAPIs.js +110 -0
  141. package/dist/esm/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
  142. package/dist/esm/operations/energyServices.d.ts +95 -0
  143. package/dist/esm/operations/energyServices.d.ts.map +1 -0
  144. package/dist/esm/operations/energyServices.js +424 -0
  145. package/dist/esm/operations/energyServices.js.map +1 -0
  146. package/dist/esm/operations/index.d.ts +4 -0
  147. package/dist/esm/operations/index.d.ts.map +1 -0
  148. package/dist/esm/operations/index.js +11 -0
  149. package/dist/esm/operations/index.js.map +1 -0
  150. package/dist/esm/operations/locations.d.ts +19 -0
  151. package/dist/esm/operations/locations.d.ts.map +1 -0
  152. package/dist/esm/operations/locations.js +49 -0
  153. package/dist/esm/operations/locations.js.map +1 -0
  154. package/dist/esm/operations/operations.d.ts +18 -0
  155. package/dist/esm/operations/operations.d.ts.map +1 -0
  156. package/dist/esm/operations/operations.js +47 -0
  157. package/dist/esm/operations/operations.js.map +1 -0
  158. package/dist/esm/operationsInterfaces/energyServices.d.ts +59 -0
  159. package/dist/esm/operationsInterfaces/energyServices.d.ts.map +1 -0
  160. package/{src/operations/index.ts → dist/esm/operationsInterfaces/energyServices.js} +2 -4
  161. package/dist/esm/operationsInterfaces/energyServices.js.map +1 -0
  162. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  163. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  164. package/dist/esm/operationsInterfaces/index.js +11 -0
  165. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  166. package/dist/esm/operationsInterfaces/locations.d.ts +11 -0
  167. package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
  168. package/dist/esm/operationsInterfaces/locations.js +9 -0
  169. package/dist/esm/operationsInterfaces/locations.js.map +1 -0
  170. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  171. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  172. package/dist/esm/operationsInterfaces/operations.js +9 -0
  173. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  174. package/dist/esm/package.json +3 -0
  175. package/dist/esm/pagingHelper.d.ts +13 -0
  176. package/dist/esm/pagingHelper.d.ts.map +1 -0
  177. package/dist/esm/pagingHelper.js +30 -0
  178. package/dist/esm/pagingHelper.js.map +1 -0
  179. package/dist/react-native/index.d.ts +5 -0
  180. package/dist/react-native/index.d.ts.map +1 -0
  181. package/dist/react-native/index.js +13 -0
  182. package/dist/react-native/index.js.map +1 -0
  183. package/dist/react-native/lroImpl.d.ts +16 -0
  184. package/dist/react-native/lroImpl.d.ts.map +1 -0
  185. package/dist/react-native/lroImpl.js +33 -0
  186. package/dist/react-native/lroImpl.js.map +1 -0
  187. package/dist/react-native/models/index.d.ts +368 -0
  188. package/dist/react-native/models/index.d.ts.map +1 -0
  189. package/dist/react-native/models/index.js +62 -0
  190. package/dist/react-native/models/index.js.map +1 -0
  191. package/dist/react-native/models/mappers.d.ts +17 -0
  192. package/dist/react-native/models/mappers.d.ts.map +1 -0
  193. package/dist/react-native/models/mappers.js +459 -0
  194. package/dist/react-native/models/mappers.js.map +1 -0
  195. package/dist/react-native/models/parameters.d.ts +13 -0
  196. package/dist/react-native/models/parameters.d.ts.map +1 -0
  197. package/dist/react-native/models/parameters.js +113 -0
  198. package/dist/react-native/models/parameters.js.map +1 -0
  199. package/dist/react-native/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
  200. package/dist/react-native/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
  201. package/dist/react-native/openEnergyPlatformManagementServiceAPIs.js +110 -0
  202. package/dist/react-native/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
  203. package/dist/react-native/operations/energyServices.d.ts +95 -0
  204. package/dist/react-native/operations/energyServices.d.ts.map +1 -0
  205. package/dist/react-native/operations/energyServices.js +424 -0
  206. package/dist/react-native/operations/energyServices.js.map +1 -0
  207. package/dist/react-native/operations/index.d.ts +4 -0
  208. package/dist/react-native/operations/index.d.ts.map +1 -0
  209. package/dist/react-native/operations/index.js +11 -0
  210. package/dist/react-native/operations/index.js.map +1 -0
  211. package/dist/react-native/operations/locations.d.ts +19 -0
  212. package/dist/react-native/operations/locations.d.ts.map +1 -0
  213. package/dist/react-native/operations/locations.js +49 -0
  214. package/dist/react-native/operations/locations.js.map +1 -0
  215. package/dist/react-native/operations/operations.d.ts +18 -0
  216. package/dist/react-native/operations/operations.d.ts.map +1 -0
  217. package/dist/react-native/operations/operations.js +47 -0
  218. package/dist/react-native/operations/operations.js.map +1 -0
  219. package/dist/react-native/operationsInterfaces/energyServices.d.ts +59 -0
  220. package/dist/react-native/operationsInterfaces/energyServices.d.ts.map +1 -0
  221. package/dist/react-native/operationsInterfaces/energyServices.js +9 -0
  222. package/dist/react-native/operationsInterfaces/energyServices.js.map +1 -0
  223. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  224. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  225. package/dist/react-native/operationsInterfaces/index.js +11 -0
  226. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  227. package/dist/react-native/operationsInterfaces/locations.d.ts +11 -0
  228. package/dist/react-native/operationsInterfaces/locations.d.ts.map +1 -0
  229. package/dist/react-native/operationsInterfaces/locations.js +9 -0
  230. package/dist/react-native/operationsInterfaces/locations.js.map +1 -0
  231. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  232. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  233. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  234. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  235. package/dist/react-native/package.json +3 -0
  236. package/dist/react-native/pagingHelper.d.ts +13 -0
  237. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  238. package/dist/react-native/pagingHelper.js +30 -0
  239. package/dist/react-native/pagingHelper.js.map +1 -0
  240. package/package.json +87 -74
  241. package/review/{arm-oep.api.md → arm-oep-node.api.md} +7 -20
  242. package/dist/index.js +0 -1269
  243. package/dist/index.js.map +0 -1
  244. package/dist/index.min.js +0 -1
  245. package/dist/index.min.js.map +0 -1
  246. package/dist-esm/samples-dev/energyServicesCreateSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/energyServicesCreateSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/energyServicesCreateSample.js +0 -31
  249. package/dist-esm/samples-dev/energyServicesCreateSample.js.map +0 -1
  250. package/dist-esm/samples-dev/energyServicesDeleteSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/energyServicesDeleteSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/energyServicesDeleteSample.js +0 -31
  253. package/dist-esm/samples-dev/energyServicesDeleteSample.js.map +0 -1
  254. package/dist-esm/samples-dev/energyServicesGetSample.d.ts +0 -2
  255. package/dist-esm/samples-dev/energyServicesGetSample.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/energyServicesGetSample.js +0 -31
  257. package/dist-esm/samples-dev/energyServicesGetSample.js.map +0 -1
  258. package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.d.ts +0 -2
  259. package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.d.ts.map +0 -1
  260. package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.js +0 -44
  261. package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.js.map +0 -1
  262. package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.d.ts +0 -2
  263. package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.d.ts.map +0 -1
  264. package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.js +0 -43
  265. package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.js.map +0 -1
  266. package/dist-esm/samples-dev/energyServicesUpdateSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/energyServicesUpdateSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/energyServicesUpdateSample.js +0 -31
  269. package/dist-esm/samples-dev/energyServicesUpdateSample.js.map +0 -1
  270. package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts +0 -2
  271. package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/locationsCheckNameAvailability.js +0 -33
  273. package/dist-esm/samples-dev/locationsCheckNameAvailability.js.map +0 -1
  274. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts +0 -2
  275. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts.map +0 -1
  276. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +0 -33
  277. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +0 -1
  278. package/dist-esm/samples-dev/oepResourceCreate.d.ts +0 -2
  279. package/dist-esm/samples-dev/oepResourceCreate.d.ts.map +0 -1
  280. package/dist-esm/samples-dev/oepResourceCreate.js +0 -31
  281. package/dist-esm/samples-dev/oepResourceCreate.js.map +0 -1
  282. package/dist-esm/samples-dev/oepResourceDelete.d.ts +0 -2
  283. package/dist-esm/samples-dev/oepResourceDelete.d.ts.map +0 -1
  284. package/dist-esm/samples-dev/oepResourceDelete.js +0 -31
  285. package/dist-esm/samples-dev/oepResourceDelete.js.map +0 -1
  286. package/dist-esm/samples-dev/oepResourceGet.d.ts +0 -2
  287. package/dist-esm/samples-dev/oepResourceGet.d.ts.map +0 -1
  288. package/dist-esm/samples-dev/oepResourceGet.js +0 -31
  289. package/dist-esm/samples-dev/oepResourceGet.js.map +0 -1
  290. package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts +0 -2
  291. package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts.map +0 -1
  292. package/dist-esm/samples-dev/oepResourceListByResourceGroup.js +0 -44
  293. package/dist-esm/samples-dev/oepResourceListByResourceGroup.js.map +0 -1
  294. package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts +0 -2
  295. package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts.map +0 -1
  296. package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js +0 -43
  297. package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js.map +0 -1
  298. package/dist-esm/samples-dev/oepResourceUpdate.d.ts +0 -2
  299. package/dist-esm/samples-dev/oepResourceUpdate.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/oepResourceUpdate.js +0 -31
  301. package/dist-esm/samples-dev/oepResourceUpdate.js.map +0 -1
  302. package/dist-esm/samples-dev/operationsList.d.ts +0 -2
  303. package/dist-esm/samples-dev/operationsList.d.ts.map +0 -1
  304. package/dist-esm/samples-dev/operationsList.js +0 -29
  305. package/dist-esm/samples-dev/operationsList.js.map +0 -1
  306. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  307. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  308. package/dist-esm/samples-dev/operationsListSample.js +0 -29
  309. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  310. package/dist-esm/src/index.d.ts +0 -5
  311. package/dist-esm/src/index.d.ts.map +0 -1
  312. package/dist-esm/src/index.js.map +0 -1
  313. package/dist-esm/src/lroImpl.js.map +0 -1
  314. package/dist-esm/src/models/index.js.map +0 -1
  315. package/dist-esm/src/models/mappers.js.map +0 -1
  316. package/dist-esm/src/models/parameters.js.map +0 -1
  317. package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.d.ts.map +0 -1
  318. package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js +0 -71
  319. package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js.map +0 -1
  320. package/dist-esm/src/operations/energyServices.d.ts.map +0 -1
  321. package/dist-esm/src/operations/energyServices.js.map +0 -1
  322. package/dist-esm/src/operations/index.d.ts +0 -4
  323. package/dist-esm/src/operations/index.js.map +0 -1
  324. package/dist-esm/src/operations/locations.d.ts.map +0 -1
  325. package/dist-esm/src/operations/locations.js.map +0 -1
  326. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  327. package/dist-esm/src/operations/operations.js.map +0 -1
  328. package/dist-esm/src/operationsInterfaces/energyServices.d.ts.map +0 -1
  329. package/dist-esm/src/operationsInterfaces/energyServices.js.map +0 -1
  330. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  331. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  332. package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
  333. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  334. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  335. package/dist-esm/test/sampleTest.d.ts +0 -2
  336. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  337. package/dist-esm/test/sampleTest.js +0 -40
  338. package/dist-esm/test/sampleTest.js.map +0 -1
  339. package/rollup.config.js +0 -122
  340. package/src/lroImpl.ts +0 -34
  341. package/src/models/index.ts +0 -403
  342. package/src/models/mappers.ts +0 -475
  343. package/src/models/parameters.ts +0 -133
  344. package/src/openEnergyPlatformManagementServiceAPIs.ts +0 -108
  345. package/src/operations/energyServices.ts +0 -568
  346. package/src/operations/locations.ts +0 -67
  347. package/src/operations/operations.ts +0 -59
  348. package/src/operationsInterfaces/energyServices.ts +0 -113
  349. package/src/operationsInterfaces/index.ts +0 -11
  350. package/src/operationsInterfaces/locations.ts +0 -26
  351. package/src/operationsInterfaces/operations.ts +0 -21
  352. package/tsconfig.json +0 -33
  353. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  354. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  355. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  356. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  357. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  358. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  359. /package/{dist-esm/src → dist/browser}/operationsInterfaces/energyServices.js +0 -0
  360. /package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.js +0 -0
  361. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,11 +1,27 @@
1
1
  # Release History
2
2
 
3
+ ## 1.0.0-beta.4 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
13
+ ## 1.0.0-beta.3 (2022-12-01)
14
+
15
+ ### Features Added
16
+
17
+ - Added Interface EnergyService
18
+
3
19
  ## 1.0.0-beta.2 (2022-04-27)
4
20
 
5
- **Features**
21
+ ### Features Added
6
22
 
7
23
  - Bug fix
8
24
 
9
25
  ## 1.0.0-beta.1 (2022-01-19)
10
26
 
11
- The package of @azure/arm-oep is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
27
+ The package of @azure/arm-oep is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2022 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,14 +6,14 @@ Open Energy Platform Management Service APIs
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/oep/arm-oep) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-oep) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-oep?view=azure-node-preview) |
9
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-oep?view=azure-node-preview) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
13
13
 
14
14
  ### Currently supported environments
15
15
 
16
- - [LTS versions of Node.js](https://nodejs.org/about/releases/)
16
+ - [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
17
17
  - Latest versions of Safari, Chrome, Edge and Firefox.
18
18
 
19
19
  See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
@@ -46,26 +46,37 @@ npm install @azure/identity
46
46
  You will also need to **register a new AAD application and grant access to Azure Open Energy Platform Management** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
47
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
48
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
49
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
50
 
51
- ```javascript
52
- const { OpenEnergyPlatformManagementServiceAPIs } = require("@azure/arm-oep");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:ReadmeSampleCreateClient_Node
54
+ import { OpenEnergyPlatformManagementServiceAPIs } from "@azure/arm-oep";
55
+ import { DefaultAzureCredential } from "@azure/identity";
55
56
 
56
57
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
- const client = new OpenEnergyPlatformManagementServiceAPIs(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new OpenEnergyPlatformManagementServiceAPIs(credential, subscriptionId);
58
+ const client = new OpenEnergyPlatformManagementServiceAPIs(
59
+ new DefaultAzureCredential(),
60
+ subscriptionId,
61
+ );
65
62
  ```
66
63
 
64
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
65
+
66
+ ```ts snippet:ReadmeSampleCreateClient_Browser
67
+ import { InteractiveBrowserCredential } from "@azure/identity";
68
+ import { OpenEnergyPlatformManagementServiceAPIs } from "@azure/arm-oep";
69
+
70
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
71
+ const credential = new InteractiveBrowserCredential({
72
+ tenantId: "<YOUR_TENANT_ID>",
73
+ clientId: "<YOUR_CLIENT_ID>",
74
+ });
75
+ const client = new OpenEnergyPlatformManagementServiceAPIs(credential, subscriptionId);
76
+ ```
67
77
 
68
78
  ### JavaScript Bundle
79
+
69
80
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
70
81
 
71
82
  ## Key concepts
@@ -80,8 +91,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
91
 
81
92
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
93
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
94
+ ```ts snippet:SetLogLevel
95
+ import { setLogLevel } from "@azure/logger";
96
+
85
97
  setLogLevel("info");
86
98
  ```
87
99
 
@@ -99,9 +111,7 @@ If you'd like to contribute to this library, please read the [contributing guide
99
111
 
100
112
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
113
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Foep%2Farm-oep%2FREADME.png)
103
-
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
114
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
115
  [azure_sub]: https://azure.microsoft.com/free/
106
116
  [azure_sub]: https://azure.microsoft.com/free/
107
117
  [azure_portal]: https://portal.azure.com
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { OpenEnergyPlatformManagementServiceAPIs } from "./openEnergyPlatformManagementServiceAPIs.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,uCAAuC,EAAE,MAAM,8CAA8C,CAAC;AACvG,cAAc,iCAAiC,CAAC"}
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export * from "./models";
10
- export { OpenEnergyPlatformManagementServiceAPIs } from "./openEnergyPlatformManagementServiceAPIs";
11
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { OpenEnergyPlatformManagementServiceAPIs } from "./openEnergyPlatformManagementServiceAPIs.js";
12
+ export * from "./operationsInterfaces/index.js";
12
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,uCAAuC,EAAE,MAAM,8CAA8C,CAAC;AACvG,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { OpenEnergyPlatformManagementServiceAPIs } from \"./openEnergyPlatformManagementServiceAPIs.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -5,8 +5,12 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter, __rest } from "tslib";
9
8
  export class LroImpl {
9
+ sendOperationFn;
10
+ args;
11
+ spec;
12
+ requestPath;
13
+ requestMethod;
10
14
  constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
11
15
  this.sendOperationFn = sendOperationFn;
12
16
  this.args = args;
@@ -14,15 +18,15 @@ export class LroImpl {
14
18
  this.requestPath = requestPath;
15
19
  this.requestMethod = requestMethod;
16
20
  }
17
- sendInitialRequest() {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- return this.sendOperationFn(this.args, this.spec);
20
- });
21
+ async sendInitialRequest() {
22
+ return this.sendOperationFn(this.args, this.spec);
21
23
  }
22
- sendPollRequest(path) {
23
- return __awaiter(this, void 0, void 0, function* () {
24
- const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
25
- return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
24
+ async sendPollRequest(path) {
25
+ const { requestBody, ...restSpec } = this.spec;
26
+ return this.sendOperationFn(this.args, {
27
+ ...restSpec,
28
+ path,
29
+ httpMethod: "GET"
26
30
  });
27
31
  }
28
32
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
@@ -186,7 +186,7 @@ export interface OperationDisplay {
186
186
  */
187
187
  readonly description?: string;
188
188
  }
189
- export declare type EnergyService = Resource & {
189
+ export interface EnergyService extends Resource {
190
190
  properties?: EnergyServiceProperties;
191
191
  /** Resource tags. */
192
192
  tags?: {
@@ -194,10 +194,12 @@ export declare type EnergyService = Resource & {
194
194
  };
195
195
  /** Geo-location where the resource lives. */
196
196
  location: string;
197
- };
197
+ }
198
198
  /** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
199
199
  export declare enum KnownCheckNameAvailabilityReason {
200
+ /** Invalid */
200
201
  Invalid = "Invalid",
202
+ /** AlreadyExists */
201
203
  AlreadyExists = "AlreadyExists"
202
204
  }
203
205
  /**
@@ -208,15 +210,22 @@ export declare enum KnownCheckNameAvailabilityReason {
208
210
  * **Invalid** \
209
211
  * **AlreadyExists**
210
212
  */
211
- export declare type CheckNameAvailabilityReason = string;
213
+ export type CheckNameAvailabilityReason = string;
212
214
  /** Known values of {@link ProvisioningState} that the service accepts. */
213
215
  export declare enum KnownProvisioningState {
216
+ /** Unknown */
214
217
  Unknown = "Unknown",
218
+ /** Succeeded */
215
219
  Succeeded = "Succeeded",
220
+ /** Failed */
216
221
  Failed = "Failed",
222
+ /** Canceled */
217
223
  Canceled = "Canceled",
224
+ /** Creating */
218
225
  Creating = "Creating",
226
+ /** Deleting */
219
227
  Deleting = "Deleting",
228
+ /** Updating */
220
229
  Updating = "Updating"
221
230
  }
222
231
  /**
@@ -232,12 +241,16 @@ export declare enum KnownProvisioningState {
232
241
  * **Deleting** \
233
242
  * **Updating**
234
243
  */
235
- export declare type ProvisioningState = string;
244
+ export type ProvisioningState = string;
236
245
  /** Known values of {@link CreatedByType} that the service accepts. */
237
246
  export declare enum KnownCreatedByType {
247
+ /** User */
238
248
  User = "User",
249
+ /** Application */
239
250
  Application = "Application",
251
+ /** ManagedIdentity */
240
252
  ManagedIdentity = "ManagedIdentity",
253
+ /** Key */
241
254
  Key = "Key"
242
255
  }
243
256
  /**
@@ -250,11 +263,14 @@ export declare enum KnownCreatedByType {
250
263
  * **ManagedIdentity** \
251
264
  * **Key**
252
265
  */
253
- export declare type CreatedByType = string;
266
+ export type CreatedByType = string;
254
267
  /** Known values of {@link Origin} that the service accepts. */
255
268
  export declare enum KnownOrigin {
269
+ /** User */
256
270
  User = "user",
271
+ /** System */
257
272
  System = "system",
273
+ /** UserSystem */
258
274
  UserSystem = "user,system"
259
275
  }
260
276
  /**
@@ -266,9 +282,10 @@ export declare enum KnownOrigin {
266
282
  * **system** \
267
283
  * **user,system**
268
284
  */
269
- export declare type Origin = string;
285
+ export type Origin = string;
270
286
  /** Known values of {@link ActionType} that the service accepts. */
271
287
  export declare enum KnownActionType {
288
+ /** Internal */
272
289
  Internal = "Internal"
273
290
  }
274
291
  /**
@@ -278,27 +295,27 @@ export declare enum KnownActionType {
278
295
  * ### Known values supported by the service
279
296
  * **Internal**
280
297
  */
281
- export declare type ActionType = string;
298
+ export type ActionType = string;
282
299
  /** Optional parameters. */
283
300
  export interface LocationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
284
301
  }
285
302
  /** Contains response data for the checkNameAvailability operation. */
286
- export declare type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
303
+ export type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
287
304
  /** Optional parameters. */
288
305
  export interface EnergyServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
289
306
  }
290
307
  /** Contains response data for the listByResourceGroup operation. */
291
- export declare type EnergyServicesListByResourceGroupResponse = EnergyServiceList;
308
+ export type EnergyServicesListByResourceGroupResponse = EnergyServiceList;
292
309
  /** Optional parameters. */
293
310
  export interface EnergyServicesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
294
311
  }
295
312
  /** Contains response data for the listBySubscription operation. */
296
- export declare type EnergyServicesListBySubscriptionResponse = EnergyServiceList;
313
+ export type EnergyServicesListBySubscriptionResponse = EnergyServiceList;
297
314
  /** Optional parameters. */
298
315
  export interface EnergyServicesGetOptionalParams extends coreClient.OperationOptions {
299
316
  }
300
317
  /** Contains response data for the get operation. */
301
- export declare type EnergyServicesGetResponse = EnergyService;
318
+ export type EnergyServicesGetResponse = EnergyService;
302
319
  /** Optional parameters. */
303
320
  export interface EnergyServicesCreateOptionalParams extends coreClient.OperationOptions {
304
321
  /** Request body. */
@@ -309,14 +326,14 @@ export interface EnergyServicesCreateOptionalParams extends coreClient.Operation
309
326
  resumeFrom?: string;
310
327
  }
311
328
  /** Contains response data for the create operation. */
312
- export declare type EnergyServicesCreateResponse = EnergyService;
329
+ export type EnergyServicesCreateResponse = EnergyService;
313
330
  /** Optional parameters. */
314
331
  export interface EnergyServicesUpdateOptionalParams extends coreClient.OperationOptions {
315
332
  /** The resource model definition used for updating a tracked ARM resource. */
316
333
  body?: EnergyResourceUpdate;
317
334
  }
318
335
  /** Contains response data for the update operation. */
319
- export declare type EnergyServicesUpdateResponse = EnergyService;
336
+ export type EnergyServicesUpdateResponse = EnergyService;
320
337
  /** Optional parameters. */
321
338
  export interface EnergyServicesDeleteOptionalParams extends coreClient.OperationOptions {
322
339
  /** Delay to wait until next poll, in milliseconds. */
@@ -328,17 +345,17 @@ export interface EnergyServicesDeleteOptionalParams extends coreClient.Operation
328
345
  export interface EnergyServicesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
329
346
  }
330
347
  /** Contains response data for the listByResourceGroupNext operation. */
331
- export declare type EnergyServicesListByResourceGroupNextResponse = EnergyServiceList;
348
+ export type EnergyServicesListByResourceGroupNextResponse = EnergyServiceList;
332
349
  /** Optional parameters. */
333
350
  export interface EnergyServicesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
334
351
  }
335
352
  /** Contains response data for the listBySubscriptionNext operation. */
336
- export declare type EnergyServicesListBySubscriptionNextResponse = EnergyServiceList;
353
+ export type EnergyServicesListBySubscriptionNextResponse = EnergyServiceList;
337
354
  /** Optional parameters. */
338
355
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
339
356
  }
340
357
  /** Contains response data for the list operation. */
341
- export declare type OperationsListResponse = OperationListResult;
358
+ export type OperationsListResponse = OperationListResult;
342
359
  /** Optional parameters. */
343
360
  export interface OpenEnergyPlatformManagementServiceAPIsOptionalParams extends coreClient.ServiceClientOptions {
344
361
  /** server parameter */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,2CAA2C;AAC3C,MAAM,WAAW,4BAA4B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
  /** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
9
9
  export var KnownCheckNameAvailabilityReason;
10
10
  (function (KnownCheckNameAvailabilityReason) {
11
+ /** Invalid */
11
12
  KnownCheckNameAvailabilityReason["Invalid"] = "Invalid";
13
+ /** AlreadyExists */
12
14
  KnownCheckNameAvailabilityReason["AlreadyExists"] = "AlreadyExists";
13
15
  })(KnownCheckNameAvailabilityReason || (KnownCheckNameAvailabilityReason = {}));
14
16
  /** Known values of {@link ProvisioningState} that the service accepts. */
15
17
  export var KnownProvisioningState;
16
18
  (function (KnownProvisioningState) {
19
+ /** Unknown */
17
20
  KnownProvisioningState["Unknown"] = "Unknown";
21
+ /** Succeeded */
18
22
  KnownProvisioningState["Succeeded"] = "Succeeded";
23
+ /** Failed */
19
24
  KnownProvisioningState["Failed"] = "Failed";
25
+ /** Canceled */
20
26
  KnownProvisioningState["Canceled"] = "Canceled";
27
+ /** Creating */
21
28
  KnownProvisioningState["Creating"] = "Creating";
29
+ /** Deleting */
22
30
  KnownProvisioningState["Deleting"] = "Deleting";
31
+ /** Updating */
23
32
  KnownProvisioningState["Updating"] = "Updating";
24
33
  })(KnownProvisioningState || (KnownProvisioningState = {}));
25
34
  /** Known values of {@link CreatedByType} that the service accepts. */
26
35
  export var KnownCreatedByType;
27
36
  (function (KnownCreatedByType) {
37
+ /** User */
28
38
  KnownCreatedByType["User"] = "User";
39
+ /** Application */
29
40
  KnownCreatedByType["Application"] = "Application";
41
+ /** ManagedIdentity */
30
42
  KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
43
+ /** Key */
31
44
  KnownCreatedByType["Key"] = "Key";
32
45
  })(KnownCreatedByType || (KnownCreatedByType = {}));
33
46
  /** Known values of {@link Origin} that the service accepts. */
34
47
  export var KnownOrigin;
35
48
  (function (KnownOrigin) {
49
+ /** User */
36
50
  KnownOrigin["User"] = "user";
51
+ /** System */
37
52
  KnownOrigin["System"] = "system";
53
+ /** UserSystem */
38
54
  KnownOrigin["UserSystem"] = "user,system";
39
55
  })(KnownOrigin || (KnownOrigin = {}));
40
56
  /** Known values of {@link ActionType} that the service accepts. */
41
57
  export var KnownActionType;
42
58
  (function (KnownActionType) {
59
+ /** Internal */
43
60
  KnownActionType["Internal"] = "Internal";
44
61
  })(KnownActionType || (KnownActionType = {}));
45
62
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAmNH,oFAAoF;AACpF,MAAM,CAAN,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC1C,cAAc;IACd,uDAAmB,CAAA;IACnB,oBAAoB;IACpB,mEAA+B,CAAA;AACjC,CAAC,EALW,gCAAgC,KAAhC,gCAAgC,QAK3C;AAYD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAeX;AAfD,WAAY,sBAAsB;IAChC,cAAc;IACd,6CAAmB,CAAA;IACnB,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,aAAa;IACb,2CAAiB,CAAA;IACjB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;AACvB,CAAC,EAfW,sBAAsB,KAAtB,sBAAsB,QAejC;AAiBD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B;AAcD,+DAA+D;AAC/D,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,aAAa;IACb,gCAAiB,CAAA;IACjB,iBAAiB;IACjB,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** The check availability request body. */\nexport interface CheckNameAvailabilityRequest {\n /** The name of the resource for which availability needs to be checked. */\n name?: string;\n /** The resource type. */\n type?: string;\n}\n\n/** The check availability result. */\nexport interface CheckNameAvailabilityResponse {\n /** Indicates if the resource name is available. */\n nameAvailable?: boolean;\n /** The reason why the given name is not available. */\n reason?: CheckNameAvailabilityReason;\n /** Detailed reason why the given name is available. */\n message?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The list of oep resources. */\nexport interface EnergyServiceList {\n /** The link used to get the next page of oep resources list. */\n nextLink?: string;\n /** The list of oep resources. */\n value?: EnergyService[];\n}\n\nexport interface EnergyServiceProperties {\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly dnsName?: string;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly provisioningState?: ProvisioningState;\n authAppId?: string;\n dataPartitionNames?: DataPartitionNames[];\n}\n\n/** The list of Energy services resource's Data Partition Names. */\nexport interface DataPartitionNames {\n name?: string;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\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\n/** The resource model definition used for updating a tracked ARM resource. */\nexport interface EnergyResourceUpdate {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\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 /**\n * List of operations supported by the resource provider\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /**\n * URL to get the next set of operation list results (if there are any).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /**\n * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\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 * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: Origin;\n /**\n * Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly actionType?: ActionType;\n}\n\n/** Localized display information for this particular operation. */\nexport interface OperationDisplay {\n /**\n * The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n /**\n * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The short, localized friendly description of the operation; suitable for tool tips and detailed views.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n}\n\nexport interface EnergyService extends Resource {\n properties?: EnergyServiceProperties;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Geo-location where the resource lives. */\n location: string;\n}\n\n/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */\nexport enum KnownCheckNameAvailabilityReason {\n /** Invalid */\n Invalid = \"Invalid\",\n /** AlreadyExists */\n AlreadyExists = \"AlreadyExists\"\n}\n\n/**\n * Defines values for CheckNameAvailabilityReason. \\\n * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Invalid** \\\n * **AlreadyExists**\n */\nexport type CheckNameAvailabilityReason = string;\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Unknown */\n Unknown = \"Unknown\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Creating */\n Creating = \"Creating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Updating */\n Updating = \"Updating\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown** \\\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled** \\\n * **Creating** \\\n * **Deleting** \\\n * **Updating**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\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** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n /** User */\n User = \"user\",\n /** System */\n System = \"system\",\n /** UserSystem */\n UserSystem = \"user,system\"\n}\n\n/**\n * Defines values for Origin. \\\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** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n /** Internal */\n Internal = \"Internal\"\n}\n\n/**\n * Defines values for ActionType. \\\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**\n */\nexport type ActionType = string;\n\n/** Optional parameters. */\nexport interface LocationsCheckNameAvailabilityOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the checkNameAvailability operation. */\nexport type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;\n\n/** Optional parameters. */\nexport interface EnergyServicesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type EnergyServicesListByResourceGroupResponse = EnergyServiceList;\n\n/** Optional parameters. */\nexport interface EnergyServicesListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type EnergyServicesListBySubscriptionResponse = EnergyServiceList;\n\n/** Optional parameters. */\nexport interface EnergyServicesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type EnergyServicesGetResponse = EnergyService;\n\n/** Optional parameters. */\nexport interface EnergyServicesCreateOptionalParams\n extends coreClient.OperationOptions {\n /** Request body. */\n body?: EnergyService;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type EnergyServicesCreateResponse = EnergyService;\n\n/** Optional parameters. */\nexport interface EnergyServicesUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The resource model definition used for updating a tracked ARM resource. */\n body?: EnergyResourceUpdate;\n}\n\n/** Contains response data for the update operation. */\nexport type EnergyServicesUpdateResponse = EnergyService;\n\n/** Optional parameters. */\nexport interface EnergyServicesDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface EnergyServicesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type EnergyServicesListByResourceGroupNextResponse = EnergyServiceList;\n\n/** Optional parameters. */\nexport interface EnergyServicesListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type EnergyServicesListBySubscriptionNextResponse = EnergyServiceList;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface OpenEnergyPlatformManagementServiceAPIsOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -430,25 +430,30 @@ export const EnergyService = {
430
430
  type: {
431
431
  name: "Composite",
432
432
  className: "EnergyService",
433
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
433
+ modelProperties: {
434
+ ...Resource.type.modelProperties,
435
+ properties: {
434
436
  serializedName: "properties",
435
437
  type: {
436
438
  name: "Composite",
437
439
  className: "EnergyServiceProperties"
438
440
  }
439
- }, tags: {
441
+ },
442
+ tags: {
440
443
  serializedName: "tags",
441
444
  type: {
442
445
  name: "Dictionary",
443
446
  value: { type: { name: "String" } }
444
447
  }
445
- }, location: {
448
+ },
449
+ location: {
446
450
  serializedName: "location",
447
451
  required: true,
448
452
  type: {
449
453
  name: "String"
450
454
  }
451
- } })
455
+ }
456
+ }
452
457
  }
453
458
  };
454
459
  //# sourceMappingURL=mappers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,4BAA4B,GAA+B;IACtE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,8BAA8B;QACzC,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,aAAa,EAAE;gBACb,cAAc,EAAE,eAAe;gBAC/B,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAA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gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe;YAChC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,yBAAyB;iBACrC;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const CheckNameAvailabilityRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityRequest\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckNameAvailabilityResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResponse\",\n modelProperties: {\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\"\n }\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const EnergyServiceList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnergyServiceList\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EnergyService\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EnergyServiceProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnergyServiceProperties\",\n modelProperties: {\n dnsName: {\n serializedName: \"dnsName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n authAppId: {\n serializedName: \"authAppId\",\n type: {\n name: \"String\"\n }\n },\n dataPartitionNames: {\n serializedName: \"dataPartitionNames\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DataPartitionNames\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DataPartitionNames: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DataPartitionNames\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const EnergyResourceUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnergyResourceUpdate\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EnergyService: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnergyService\",\n modelProperties: {\n ...Resource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"EnergyServiceProperties\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper, EnergyService as EnergyServiceMapper, EnergyResourceUpdate as EnergyResourceUpdateMapper } from "../models/mappers";
8
+ import { CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper, EnergyService as EnergyServiceMapper, EnergyResourceUpdate as EnergyResourceUpdateMapper } from "../models/mappers.js";
9
9
  export const contentType = {
10
10
  parameterPath: ["options", "contentType"],
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,4BAA4B,IAAI,kCAAkC,EAClE,aAAa,IAAI,mBAAmB,EACpC,oBAAoB,IAAI,0BAA0B,EACnD,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AAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA0B;IACjD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,mBAAmB;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,0BAA0B;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper,\n EnergyService as EnergyServiceMapper,\n EnergyResourceUpdate as EnergyResourceUpdateMapper\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: CheckNameAvailabilityRequestMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-06-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body1: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: EnergyServiceMapper\n};\n\nexport const body2: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: EnergyResourceUpdateMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n"]}