@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"energyServices.js","sourceRoot":"","sources":["../../../src/operations/energyServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAoBxC,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IACZ,MAAM,CAA0C;IAEjE;;;OAGG;IACH,YAAY,MAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE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a,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { EnergyServices } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { OpenEnergyPlatformManagementServiceAPIs } from \"../openEnergyPlatformManagementServiceAPIs.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n EnergyService,\n EnergyServicesListByResourceGroupNextOptionalParams,\n EnergyServicesListByResourceGroupOptionalParams,\n EnergyServicesListByResourceGroupResponse,\n EnergyServicesListBySubscriptionNextOptionalParams,\n EnergyServicesListBySubscriptionOptionalParams,\n EnergyServicesListBySubscriptionResponse,\n EnergyServicesGetOptionalParams,\n EnergyServicesGetResponse,\n EnergyServicesCreateOptionalParams,\n EnergyServicesCreateResponse,\n EnergyServicesUpdateOptionalParams,\n EnergyServicesUpdateResponse,\n EnergyServicesDeleteOptionalParams,\n EnergyServicesListByResourceGroupNextResponse,\n EnergyServicesListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EnergyServices operations. */\nexport class EnergyServicesImpl implements EnergyServices {\n private readonly client: OpenEnergyPlatformManagementServiceAPIs;\n\n /**\n * Initialize a new instance of the class EnergyServices class.\n * @param client Reference to the service client\n */\n constructor(client: OpenEnergyPlatformManagementServiceAPIs) {\n this.client = client;\n }\n\n /**\n * Returns list of oep resources..\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<EnergyService> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EnergyService[]> {\n let result: EnergyServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<EnergyService> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists a collection of oep resources under the given Azure Subscription ID.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: EnergyServicesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<EnergyService> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: EnergyServicesListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EnergyService[]> {\n let result: EnergyServicesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: EnergyServicesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<EnergyService> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns list of oep resources..\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams\n ): Promise<EnergyServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists a collection of oep resources under the given Azure Subscription ID.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: EnergyServicesListBySubscriptionOptionalParams\n ): Promise<EnergyServicesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Returns oep resource for a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesGetOptionalParams\n ): Promise<EnergyServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Method that gets called if subscribed for ResourceCreationBegin trigger.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnergyServicesCreateResponse>,\n EnergyServicesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<EnergyServicesCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, options },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Method that gets called if subscribed for ResourceCreationBegin trigger.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesCreateOptionalParams\n ): Promise<EnergyServicesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesUpdateOptionalParams\n ): Promise<EnergyServicesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes oep resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes oep resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: EnergyServicesListByResourceGroupNextOptionalParams\n ): Promise<EnergyServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: EnergyServicesListBySubscriptionNextOptionalParams\n ): Promise<EnergyServicesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyServiceList\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyServiceList\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyService\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyService\n },\n 201: {\n bodyMapper: Mappers.EnergyService\n },\n 202: {\n bodyMapper: Mappers.EnergyService\n },\n 204: {\n bodyMapper: Mappers.EnergyService\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body1,\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyService\n },\n default: {}\n },\n requestBody: Parameters.body2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyServiceList\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyServiceList\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./locations.js";
2
+ export * from "./energyServices.js";
3
+ export * from "./operations.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./locations.js";
9
+ export * from "./energyServices.js";
10
+ export * from "./operations.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,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\nexport * from \"./locations.js\";\nexport * from \"./energyServices.js\";\nexport * from \"./operations.js\";\n"]}
@@ -0,0 +1,19 @@
1
+ import { Locations } from "../operationsInterfaces/index.js";
2
+ import { OpenEnergyPlatformManagementServiceAPIs } from "../openEnergyPlatformManagementServiceAPIs.js";
3
+ import { CheckNameAvailabilityRequest, LocationsCheckNameAvailabilityOptionalParams, LocationsCheckNameAvailabilityResponse } from "../models/index.js";
4
+ /** Class containing Locations operations. */
5
+ export declare class LocationsImpl implements Locations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Locations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: OpenEnergyPlatformManagementServiceAPIs);
12
+ /**
13
+ * Checks the name availability of the resource with requested resource name.
14
+ * @param body NameAvailabilityRequest object.
15
+ * @param options The options parameters.
16
+ */
17
+ checkNameAvailability(body: CheckNameAvailabilityRequest, options?: LocationsCheckNameAvailabilityOptionalParams): Promise<LocationsCheckNameAvailabilityResponse>;
18
+ }
19
+ //# sourceMappingURL=locations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locations.d.ts","sourceRoot":"","sources":["../../../src/operations/locations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EACL,4BAA4B,EAC5B,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE;;;OAGG;gBACS,MAAM,EAAE,uCAAuC;IAI3D;;;;OAIG;IACH,qBAAqB,CACnB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;CAMnD"}
@@ -0,0 +1,49 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
+ /** Class containing Locations operations. */
12
+ export class LocationsImpl {
13
+ client;
14
+ /**
15
+ * Initialize a new instance of the class Locations class.
16
+ * @param client Reference to the service client
17
+ */
18
+ constructor(client) {
19
+ this.client = client;
20
+ }
21
+ /**
22
+ * Checks the name availability of the resource with requested resource name.
23
+ * @param body NameAvailabilityRequest object.
24
+ * @param options The options parameters.
25
+ */
26
+ checkNameAvailability(body, options) {
27
+ return this.client.sendOperationRequest({ body, options }, checkNameAvailabilityOperationSpec);
28
+ }
29
+ }
30
+ // Operation Specifications
31
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
32
+ const checkNameAvailabilityOperationSpec = {
33
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability",
34
+ httpMethod: "POST",
35
+ responses: {
36
+ 200: {
37
+ bodyMapper: Mappers.CheckNameAvailabilityResponse
38
+ },
39
+ default: {
40
+ bodyMapper: Mappers.ErrorResponse
41
+ }
42
+ },
43
+ requestBody: Parameters.body,
44
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
45
+ headerParameters: [Parameters.contentType, Parameters.accept],
46
+ mediaType: "json",
47
+ serializer
48
+ };
49
+ //# sourceMappingURL=locations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locations.js","sourceRoot":"","sources":["../../../src/operations/locations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IACP,MAAM,CAA0C;IAEjE;;;OAGG;IACH,YAAY,MAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,qBAAqB,CACnB,IAAkC,EAClC,OAAsD;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,IAAI,EAAE,OAAO,EAAE,EACjB,kCAAkC,CACnC,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EACF,8FAA8F;IAChG,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,IAAI;IAC5B,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,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 { Locations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { OpenEnergyPlatformManagementServiceAPIs } from \"../openEnergyPlatformManagementServiceAPIs.js\";\nimport {\n CheckNameAvailabilityRequest,\n LocationsCheckNameAvailabilityOptionalParams,\n LocationsCheckNameAvailabilityResponse\n} from \"../models/index.js\";\n\n/** Class containing Locations operations. */\nexport class LocationsImpl implements Locations {\n private readonly client: OpenEnergyPlatformManagementServiceAPIs;\n\n /**\n * Initialize a new instance of the class Locations class.\n * @param client Reference to the service client\n */\n constructor(client: OpenEnergyPlatformManagementServiceAPIs) {\n this.client = client;\n }\n\n /**\n * Checks the name availability of the resource with requested resource name.\n * @param body NameAvailabilityRequest object.\n * @param options The options parameters.\n */\n checkNameAvailability(\n body: CheckNameAvailabilityRequest,\n options?: LocationsCheckNameAvailabilityOptionalParams\n ): Promise<LocationsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n checkNameAvailabilityOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body,\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -0,0 +1,18 @@
1
+ import { Operations } from "../operationsInterfaces/index.js";
2
+ import { OpenEnergyPlatformManagementServiceAPIs } from "../openEnergyPlatformManagementServiceAPIs.js";
3
+ import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
4
+ /** Class containing Operations operations. */
5
+ export declare class OperationsImpl implements Operations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Operations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: OpenEnergyPlatformManagementServiceAPIs);
12
+ /**
13
+ * Lists the available operations of Microsoft.OpenEnergyPlatform resource provider.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
17
+ }
18
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE;;;OAGG;gBACS,MAAM,EAAE,uCAAuC;IAI3D;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
+ /** Class containing Operations operations. */
12
+ export class OperationsImpl {
13
+ client;
14
+ /**
15
+ * Initialize a new instance of the class Operations class.
16
+ * @param client Reference to the service client
17
+ */
18
+ constructor(client) {
19
+ this.client = client;
20
+ }
21
+ /**
22
+ * Lists the available operations of Microsoft.OpenEnergyPlatform resource provider.
23
+ * @param options The options parameters.
24
+ */
25
+ list(options) {
26
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
27
+ }
28
+ }
29
+ // Operation Specifications
30
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
31
+ const listOperationSpec = {
32
+ path: "/providers/Microsoft.OpenEnergyPlatform/operations",
33
+ httpMethod: "GET",
34
+ responses: {
35
+ 200: {
36
+ bodyMapper: Mappers.OperationListResult
37
+ },
38
+ default: {
39
+ bodyMapper: Mappers.ErrorResponse
40
+ }
41
+ },
42
+ queryParameters: [Parameters.apiVersion],
43
+ urlParameters: [Parameters.$host],
44
+ headerParameters: [Parameters.accept],
45
+ serializer
46
+ };
47
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAA0C;IAEjE;;;OAGG;IACH,YAAY,MAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,oDAAoD;IAC1D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { OpenEnergyPlatformManagementServiceAPIs } from \"../openEnergyPlatformManagementServiceAPIs.js\";\nimport {\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: OpenEnergyPlatformManagementServiceAPIs;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: OpenEnergyPlatformManagementServiceAPIs) {\n this.client = client;\n }\n\n /**\n * Lists the available operations of Microsoft.OpenEnergyPlatform resource provider.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.OpenEnergyPlatform/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,59 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { EnergyService, EnergyServicesListByResourceGroupOptionalParams, EnergyServicesListBySubscriptionOptionalParams, EnergyServicesGetOptionalParams, EnergyServicesGetResponse, EnergyServicesCreateOptionalParams, EnergyServicesCreateResponse, EnergyServicesUpdateOptionalParams, EnergyServicesUpdateResponse, EnergyServicesDeleteOptionalParams } from "../models/index.js";
4
+ /** Interface representing a EnergyServices. */
5
+ export interface EnergyServices {
6
+ /**
7
+ * Returns list of oep resources..
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: EnergyServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<EnergyService>;
12
+ /**
13
+ * Lists a collection of oep resources under the given Azure Subscription ID.
14
+ * @param options The options parameters.
15
+ */
16
+ listBySubscription(options?: EnergyServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<EnergyService>;
17
+ /**
18
+ * Returns oep resource for a given name.
19
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
+ * @param resourceName The resource name.
21
+ * @param options The options parameters.
22
+ */
23
+ get(resourceGroupName: string, resourceName: string, options?: EnergyServicesGetOptionalParams): Promise<EnergyServicesGetResponse>;
24
+ /**
25
+ * Method that gets called if subscribed for ResourceCreationBegin trigger.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param resourceName The resource name.
28
+ * @param options The options parameters.
29
+ */
30
+ beginCreate(resourceGroupName: string, resourceName: string, options?: EnergyServicesCreateOptionalParams): Promise<PollerLike<PollOperationState<EnergyServicesCreateResponse>, EnergyServicesCreateResponse>>;
31
+ /**
32
+ * Method that gets called if subscribed for ResourceCreationBegin trigger.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param resourceName The resource name.
35
+ * @param options The options parameters.
36
+ */
37
+ beginCreateAndWait(resourceGroupName: string, resourceName: string, options?: EnergyServicesCreateOptionalParams): Promise<EnergyServicesCreateResponse>;
38
+ /**
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
+ * @param resourceName The resource name.
41
+ * @param options The options parameters.
42
+ */
43
+ update(resourceGroupName: string, resourceName: string, options?: EnergyServicesUpdateOptionalParams): Promise<EnergyServicesUpdateResponse>;
44
+ /**
45
+ * Deletes oep resource
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param resourceName The resource name.
48
+ * @param options The options parameters.
49
+ */
50
+ beginDelete(resourceGroupName: string, resourceName: string, options?: EnergyServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
51
+ /**
52
+ * Deletes oep resource
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param resourceName The resource name.
55
+ * @param options The options parameters.
56
+ */
57
+ beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: EnergyServicesDeleteOptionalParams): Promise<void>;
58
+ }
59
+ //# sourceMappingURL=energyServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"energyServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/energyServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,aAAa,EACb,+CAA+C,EAC/C,8CAA8C,EAC9C,+BAA+B,EAC/B,yBAAyB,EACzB,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,4BAA4B,CAAC,EAChD,4BAA4B,CAC7B,CACF,CAAC;IACF;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;OAIG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=energyServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"energyServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/energyServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n EnergyService,\n EnergyServicesListByResourceGroupOptionalParams,\n EnergyServicesListBySubscriptionOptionalParams,\n EnergyServicesGetOptionalParams,\n EnergyServicesGetResponse,\n EnergyServicesCreateOptionalParams,\n EnergyServicesCreateResponse,\n EnergyServicesUpdateOptionalParams,\n EnergyServicesUpdateResponse,\n EnergyServicesDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a EnergyServices. */\nexport interface EnergyServices {\n /**\n * Returns list of oep resources..\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<EnergyService>;\n /**\n * Lists a collection of oep resources under the given Azure Subscription ID.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: EnergyServicesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<EnergyService>;\n /**\n * Returns oep resource for a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesGetOptionalParams\n ): Promise<EnergyServicesGetResponse>;\n /**\n * Method that gets called if subscribed for ResourceCreationBegin trigger.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnergyServicesCreateResponse>,\n EnergyServicesCreateResponse\n >\n >;\n /**\n * Method that gets called if subscribed for ResourceCreationBegin trigger.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesCreateOptionalParams\n ): Promise<EnergyServicesCreateResponse>;\n /**\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesUpdateOptionalParams\n ): Promise<EnergyServicesUpdateResponse>;\n /**\n * Deletes oep resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes oep resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./locations.js";
2
+ export * from "./energyServices.js";
3
+ export * from "./operations.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./locations.js";
9
+ export * from "./energyServices.js";
10
+ export * from "./operations.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,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\nexport * from \"./locations.js\";\nexport * from \"./energyServices.js\";\nexport * from \"./operations.js\";\n"]}
@@ -0,0 +1,11 @@
1
+ import { CheckNameAvailabilityRequest, LocationsCheckNameAvailabilityOptionalParams, LocationsCheckNameAvailabilityResponse } from "../models/index.js";
2
+ /** Interface representing a Locations. */
3
+ export interface Locations {
4
+ /**
5
+ * Checks the name availability of the resource with requested resource name.
6
+ * @param body NameAvailabilityRequest object.
7
+ * @param options The options parameters.
8
+ */
9
+ checkNameAvailability(body: CheckNameAvailabilityRequest, options?: LocationsCheckNameAvailabilityOptionalParams): Promise<LocationsCheckNameAvailabilityResponse>;
10
+ }
11
+ //# sourceMappingURL=locations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/locations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,4BAA4B,EAC5B,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,qBAAqB,CACnB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACpD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=locations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/locations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 CheckNameAvailabilityRequest,\n LocationsCheckNameAvailabilityOptionalParams,\n LocationsCheckNameAvailabilityResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Locations. */\nexport interface Locations {\n /**\n * Checks the name availability of the resource with requested resource name.\n * @param body NameAvailabilityRequest object.\n * @param options The options parameters.\n */\n checkNameAvailability(\n body: CheckNameAvailabilityRequest,\n options?: LocationsCheckNameAvailabilityOptionalParams\n ): Promise<LocationsCheckNameAvailabilityResponse>;\n}\n"]}
@@ -0,0 +1,10 @@
1
+ import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
2
+ /** Interface representing a Operations. */
3
+ export interface Operations {
4
+ /**
5
+ * Lists the available operations of Microsoft.OpenEnergyPlatform resource provider.
6
+ * @param options The options parameters.
7
+ */
8
+ list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
9
+ }
10
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;CAC/E"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists the available operations of Microsoft.OpenEnergyPlatform resource provider.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given a result page from a pageable operation, returns a
6
+ * continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page A result object from calling .byPage() on a paged operation.
9
+ * @returns The continuation token that can be passed into byPage().
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,30 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given a result page from a pageable operation, returns a
11
+ * continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page A result object from calling .byPage() on a paged operation.
14
+ * @returns The continuation token that can be passed into byPage().
15
+ */
16
+ export function getContinuationToken(page) {
17
+ if (typeof page !== "object" || page === null) {
18
+ return undefined;
19
+ }
20
+ return pageMap.get(page)?.continuationToken;
21
+ }
22
+ export function setContinuationToken(page, continuationToken) {
23
+ if (typeof page !== "object" || page === null || !continuationToken) {
24
+ return;
25
+ }
26
+ const pageInfo = pageMap.get(page) ?? {};
27
+ pageInfo.continuationToken = continuationToken;
28
+ pageMap.set(page, pageInfo);
29
+ }
30
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}