@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.
- package/CHANGELOG.md +18 -2
- package/LICENSE +4 -4
- package/README.md +30 -20
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +33 -16
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/models/index.js +17 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +9 -4
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/openEnergyPlatformManagementServiceAPIs.d.ts +4 -2
- package/dist/browser/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist/browser/openEnergyPlatformManagementServiceAPIs.js +110 -0
- package/dist/browser/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/energyServices.d.ts +3 -3
- package/dist/browser/operations/energyServices.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/energyServices.js +132 -137
- package/dist/browser/operations/energyServices.js.map +1 -0
- package/dist/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/locations.d.ts +3 -3
- package/dist/browser/operations/locations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/locations.js +3 -2
- package/dist/browser/operations/locations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/energyServices.d.ts +1 -1
- package/dist/browser/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/energyServices.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/locations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-oep.d.ts → dist/commonjs/models/index.d.ts} +368 -492
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +65 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +17 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +462 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +13 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +116 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
- package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.js +115 -0
- package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/dist/commonjs/operations/energyServices.d.ts +95 -0
- package/dist/commonjs/operations/energyServices.d.ts.map +1 -0
- package/dist/commonjs/operations/energyServices.js +429 -0
- package/dist/commonjs/operations/energyServices.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/locations.d.ts +19 -0
- package/dist/commonjs/operations/locations.d.ts.map +1 -0
- package/dist/commonjs/operations/locations.js +54 -0
- package/dist/commonjs/operations/locations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +52 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/energyServices.d.ts +59 -0
- package/dist/commonjs/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/energyServices.js +10 -0
- package/dist/commonjs/operationsInterfaces/energyServices.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/locations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/locations.js +10 -0
- package/dist/commonjs/operationsInterfaces/locations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +368 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +62 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +17 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +459 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +13 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +113 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
- package/dist/esm/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist/esm/openEnergyPlatformManagementServiceAPIs.js +110 -0
- package/dist/esm/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/dist/esm/operations/energyServices.d.ts +95 -0
- package/dist/esm/operations/energyServices.d.ts.map +1 -0
- package/dist/esm/operations/energyServices.js +424 -0
- package/dist/esm/operations/energyServices.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/locations.d.ts +19 -0
- package/dist/esm/operations/locations.d.ts.map +1 -0
- package/dist/esm/operations/locations.js +49 -0
- package/dist/esm/operations/locations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +47 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/energyServices.d.ts +59 -0
- package/dist/esm/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/energyServices.js} +2 -4
- package/dist/esm/operationsInterfaces/energyServices.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/locations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/locations.js +9 -0
- package/dist/esm/operationsInterfaces/locations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +368 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +62 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +17 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +459 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +13 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +113 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
- package/dist/react-native/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist/react-native/openEnergyPlatformManagementServiceAPIs.js +110 -0
- package/dist/react-native/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/dist/react-native/operations/energyServices.d.ts +95 -0
- package/dist/react-native/operations/energyServices.d.ts.map +1 -0
- package/dist/react-native/operations/energyServices.js +424 -0
- package/dist/react-native/operations/energyServices.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/locations.d.ts +19 -0
- package/dist/react-native/operations/locations.d.ts.map +1 -0
- package/dist/react-native/operations/locations.js +49 -0
- package/dist/react-native/operations/locations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +47 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/energyServices.d.ts +59 -0
- package/dist/react-native/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/energyServices.js +9 -0
- package/dist/react-native/operationsInterfaces/energyServices.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/locations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/locations.js +9 -0
- package/dist/react-native/operationsInterfaces/locations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +87 -74
- package/review/{arm-oep.api.md → arm-oep-node.api.md} +7 -20
- package/dist/index.js +0 -1269
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesCreateSample.js +0 -31
- package/dist-esm/samples-dev/energyServicesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesDeleteSample.js +0 -31
- package/dist-esm/samples-dev/energyServicesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesGetSample.js +0 -31
- package/dist-esm/samples-dev/energyServicesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesUpdateSample.js +0 -31
- package/dist-esm/samples-dev/energyServicesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts +0 -2
- package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailability.js +0 -33
- package/dist-esm/samples-dev/locationsCheckNameAvailability.js.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +0 -33
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceCreate.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceCreate.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceCreate.js +0 -31
- package/dist-esm/samples-dev/oepResourceCreate.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceDelete.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceDelete.js +0 -31
- package/dist-esm/samples-dev/oepResourceDelete.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceGet.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceGet.js +0 -31
- package/dist-esm/samples-dev/oepResourceGet.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js +0 -43
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceUpdate.js +0 -31
- package/dist-esm/samples-dev/oepResourceUpdate.js.map +0 -1
- package/dist-esm/samples-dev/operationsList.d.ts +0 -2
- package/dist-esm/samples-dev/operationsList.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsList.js +0 -29
- package/dist-esm/samples-dev/operationsList.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -29
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.d.ts.map +0 -1
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js +0 -71
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js.map +0 -1
- package/dist-esm/src/operations/energyServices.d.ts.map +0 -1
- package/dist-esm/src/operations/energyServices.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/locations.d.ts.map +0 -1
- package/dist-esm/src/operations/locations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/energyServices.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/energyServices.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -403
- package/src/models/mappers.ts +0 -475
- package/src/models/parameters.ts +0 -133
- package/src/openEnergyPlatformManagementServiceAPIs.ts +0 -108
- package/src/operations/energyServices.ts +0 -568
- package/src/operations/locations.ts +0 -67
- package/src/operations/operations.ts +0 -59
- package/src/operationsInterfaces/energyServices.ts +0 -113
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/locations.ts +0 -26
- package/src/operationsInterfaces/operations.ts +0 -21
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/energyServices.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
|
@@ -0,0 +1,459 @@
|
|
|
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 const CheckNameAvailabilityRequest = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "CheckNameAvailabilityRequest",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
name: {
|
|
14
|
+
serializedName: "name",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
type: {
|
|
20
|
+
serializedName: "type",
|
|
21
|
+
type: {
|
|
22
|
+
name: "String"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export const CheckNameAvailabilityResponse = {
|
|
29
|
+
type: {
|
|
30
|
+
name: "Composite",
|
|
31
|
+
className: "CheckNameAvailabilityResponse",
|
|
32
|
+
modelProperties: {
|
|
33
|
+
nameAvailable: {
|
|
34
|
+
serializedName: "nameAvailable",
|
|
35
|
+
type: {
|
|
36
|
+
name: "Boolean"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
reason: {
|
|
40
|
+
serializedName: "reason",
|
|
41
|
+
type: {
|
|
42
|
+
name: "String"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
message: {
|
|
46
|
+
serializedName: "message",
|
|
47
|
+
type: {
|
|
48
|
+
name: "String"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
export const ErrorResponse = {
|
|
55
|
+
type: {
|
|
56
|
+
name: "Composite",
|
|
57
|
+
className: "ErrorResponse",
|
|
58
|
+
modelProperties: {
|
|
59
|
+
error: {
|
|
60
|
+
serializedName: "error",
|
|
61
|
+
type: {
|
|
62
|
+
name: "Composite",
|
|
63
|
+
className: "ErrorDetail"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
export const ErrorDetail = {
|
|
70
|
+
type: {
|
|
71
|
+
name: "Composite",
|
|
72
|
+
className: "ErrorDetail",
|
|
73
|
+
modelProperties: {
|
|
74
|
+
code: {
|
|
75
|
+
serializedName: "code",
|
|
76
|
+
readOnly: true,
|
|
77
|
+
type: {
|
|
78
|
+
name: "String"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
message: {
|
|
82
|
+
serializedName: "message",
|
|
83
|
+
readOnly: true,
|
|
84
|
+
type: {
|
|
85
|
+
name: "String"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
target: {
|
|
89
|
+
serializedName: "target",
|
|
90
|
+
readOnly: true,
|
|
91
|
+
type: {
|
|
92
|
+
name: "String"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
details: {
|
|
96
|
+
serializedName: "details",
|
|
97
|
+
readOnly: true,
|
|
98
|
+
type: {
|
|
99
|
+
name: "Sequence",
|
|
100
|
+
element: {
|
|
101
|
+
type: {
|
|
102
|
+
name: "Composite",
|
|
103
|
+
className: "ErrorDetail"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
additionalInfo: {
|
|
109
|
+
serializedName: "additionalInfo",
|
|
110
|
+
readOnly: true,
|
|
111
|
+
type: {
|
|
112
|
+
name: "Sequence",
|
|
113
|
+
element: {
|
|
114
|
+
type: {
|
|
115
|
+
name: "Composite",
|
|
116
|
+
className: "ErrorAdditionalInfo"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
export const ErrorAdditionalInfo = {
|
|
125
|
+
type: {
|
|
126
|
+
name: "Composite",
|
|
127
|
+
className: "ErrorAdditionalInfo",
|
|
128
|
+
modelProperties: {
|
|
129
|
+
type: {
|
|
130
|
+
serializedName: "type",
|
|
131
|
+
readOnly: true,
|
|
132
|
+
type: {
|
|
133
|
+
name: "String"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
info: {
|
|
137
|
+
serializedName: "info",
|
|
138
|
+
readOnly: true,
|
|
139
|
+
type: {
|
|
140
|
+
name: "Dictionary",
|
|
141
|
+
value: { type: { name: "any" } }
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
export const EnergyServiceList = {
|
|
148
|
+
type: {
|
|
149
|
+
name: "Composite",
|
|
150
|
+
className: "EnergyServiceList",
|
|
151
|
+
modelProperties: {
|
|
152
|
+
nextLink: {
|
|
153
|
+
serializedName: "nextLink",
|
|
154
|
+
type: {
|
|
155
|
+
name: "String"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
value: {
|
|
159
|
+
serializedName: "value",
|
|
160
|
+
type: {
|
|
161
|
+
name: "Sequence",
|
|
162
|
+
element: {
|
|
163
|
+
type: {
|
|
164
|
+
name: "Composite",
|
|
165
|
+
className: "EnergyService"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
export const EnergyServiceProperties = {
|
|
174
|
+
type: {
|
|
175
|
+
name: "Composite",
|
|
176
|
+
className: "EnergyServiceProperties",
|
|
177
|
+
modelProperties: {
|
|
178
|
+
dnsName: {
|
|
179
|
+
serializedName: "dnsName",
|
|
180
|
+
readOnly: true,
|
|
181
|
+
type: {
|
|
182
|
+
name: "String"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
provisioningState: {
|
|
186
|
+
serializedName: "provisioningState",
|
|
187
|
+
readOnly: true,
|
|
188
|
+
type: {
|
|
189
|
+
name: "String"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
authAppId: {
|
|
193
|
+
serializedName: "authAppId",
|
|
194
|
+
type: {
|
|
195
|
+
name: "String"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
dataPartitionNames: {
|
|
199
|
+
serializedName: "dataPartitionNames",
|
|
200
|
+
type: {
|
|
201
|
+
name: "Sequence",
|
|
202
|
+
element: {
|
|
203
|
+
type: {
|
|
204
|
+
name: "Composite",
|
|
205
|
+
className: "DataPartitionNames"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
export const DataPartitionNames = {
|
|
214
|
+
type: {
|
|
215
|
+
name: "Composite",
|
|
216
|
+
className: "DataPartitionNames",
|
|
217
|
+
modelProperties: {
|
|
218
|
+
name: {
|
|
219
|
+
serializedName: "name",
|
|
220
|
+
type: {
|
|
221
|
+
name: "String"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
export const Resource = {
|
|
228
|
+
type: {
|
|
229
|
+
name: "Composite",
|
|
230
|
+
className: "Resource",
|
|
231
|
+
modelProperties: {
|
|
232
|
+
id: {
|
|
233
|
+
serializedName: "id",
|
|
234
|
+
readOnly: true,
|
|
235
|
+
type: {
|
|
236
|
+
name: "String"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
name: {
|
|
240
|
+
serializedName: "name",
|
|
241
|
+
readOnly: true,
|
|
242
|
+
type: {
|
|
243
|
+
name: "String"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
type: {
|
|
247
|
+
serializedName: "type",
|
|
248
|
+
readOnly: true,
|
|
249
|
+
type: {
|
|
250
|
+
name: "String"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
systemData: {
|
|
254
|
+
serializedName: "systemData",
|
|
255
|
+
type: {
|
|
256
|
+
name: "Composite",
|
|
257
|
+
className: "SystemData"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
export const SystemData = {
|
|
264
|
+
type: {
|
|
265
|
+
name: "Composite",
|
|
266
|
+
className: "SystemData",
|
|
267
|
+
modelProperties: {
|
|
268
|
+
createdBy: {
|
|
269
|
+
serializedName: "createdBy",
|
|
270
|
+
type: {
|
|
271
|
+
name: "String"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
createdByType: {
|
|
275
|
+
serializedName: "createdByType",
|
|
276
|
+
type: {
|
|
277
|
+
name: "String"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
createdAt: {
|
|
281
|
+
serializedName: "createdAt",
|
|
282
|
+
type: {
|
|
283
|
+
name: "DateTime"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
lastModifiedBy: {
|
|
287
|
+
serializedName: "lastModifiedBy",
|
|
288
|
+
type: {
|
|
289
|
+
name: "String"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
lastModifiedByType: {
|
|
293
|
+
serializedName: "lastModifiedByType",
|
|
294
|
+
type: {
|
|
295
|
+
name: "String"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
lastModifiedAt: {
|
|
299
|
+
serializedName: "lastModifiedAt",
|
|
300
|
+
type: {
|
|
301
|
+
name: "DateTime"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
export const EnergyResourceUpdate = {
|
|
308
|
+
type: {
|
|
309
|
+
name: "Composite",
|
|
310
|
+
className: "EnergyResourceUpdate",
|
|
311
|
+
modelProperties: {
|
|
312
|
+
tags: {
|
|
313
|
+
serializedName: "tags",
|
|
314
|
+
type: {
|
|
315
|
+
name: "Dictionary",
|
|
316
|
+
value: { type: { name: "String" } }
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
export const OperationListResult = {
|
|
323
|
+
type: {
|
|
324
|
+
name: "Composite",
|
|
325
|
+
className: "OperationListResult",
|
|
326
|
+
modelProperties: {
|
|
327
|
+
value: {
|
|
328
|
+
serializedName: "value",
|
|
329
|
+
readOnly: true,
|
|
330
|
+
type: {
|
|
331
|
+
name: "Sequence",
|
|
332
|
+
element: {
|
|
333
|
+
type: {
|
|
334
|
+
name: "Composite",
|
|
335
|
+
className: "Operation"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
nextLink: {
|
|
341
|
+
serializedName: "nextLink",
|
|
342
|
+
readOnly: true,
|
|
343
|
+
type: {
|
|
344
|
+
name: "String"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
export const Operation = {
|
|
351
|
+
type: {
|
|
352
|
+
name: "Composite",
|
|
353
|
+
className: "Operation",
|
|
354
|
+
modelProperties: {
|
|
355
|
+
name: {
|
|
356
|
+
serializedName: "name",
|
|
357
|
+
readOnly: true,
|
|
358
|
+
type: {
|
|
359
|
+
name: "String"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
isDataAction: {
|
|
363
|
+
serializedName: "isDataAction",
|
|
364
|
+
readOnly: true,
|
|
365
|
+
type: {
|
|
366
|
+
name: "Boolean"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
display: {
|
|
370
|
+
serializedName: "display",
|
|
371
|
+
type: {
|
|
372
|
+
name: "Composite",
|
|
373
|
+
className: "OperationDisplay"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
origin: {
|
|
377
|
+
serializedName: "origin",
|
|
378
|
+
readOnly: true,
|
|
379
|
+
type: {
|
|
380
|
+
name: "String"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
actionType: {
|
|
384
|
+
serializedName: "actionType",
|
|
385
|
+
readOnly: true,
|
|
386
|
+
type: {
|
|
387
|
+
name: "String"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
export const OperationDisplay = {
|
|
394
|
+
type: {
|
|
395
|
+
name: "Composite",
|
|
396
|
+
className: "OperationDisplay",
|
|
397
|
+
modelProperties: {
|
|
398
|
+
provider: {
|
|
399
|
+
serializedName: "provider",
|
|
400
|
+
readOnly: true,
|
|
401
|
+
type: {
|
|
402
|
+
name: "String"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
resource: {
|
|
406
|
+
serializedName: "resource",
|
|
407
|
+
readOnly: true,
|
|
408
|
+
type: {
|
|
409
|
+
name: "String"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
operation: {
|
|
413
|
+
serializedName: "operation",
|
|
414
|
+
readOnly: true,
|
|
415
|
+
type: {
|
|
416
|
+
name: "String"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
description: {
|
|
420
|
+
serializedName: "description",
|
|
421
|
+
readOnly: true,
|
|
422
|
+
type: {
|
|
423
|
+
name: "String"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
};
|
|
429
|
+
export const EnergyService = {
|
|
430
|
+
type: {
|
|
431
|
+
name: "Composite",
|
|
432
|
+
className: "EnergyService",
|
|
433
|
+
modelProperties: {
|
|
434
|
+
...Resource.type.modelProperties,
|
|
435
|
+
properties: {
|
|
436
|
+
serializedName: "properties",
|
|
437
|
+
type: {
|
|
438
|
+
name: "Composite",
|
|
439
|
+
className: "EnergyServiceProperties"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
tags: {
|
|
443
|
+
serializedName: "tags",
|
|
444
|
+
type: {
|
|
445
|
+
name: "Dictionary",
|
|
446
|
+
value: { type: { name: "String" } }
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
location: {
|
|
450
|
+
serializedName: "location",
|
|
451
|
+
required: true,
|
|
452
|
+
type: {
|
|
453
|
+
name: "String"
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
};
|
|
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,EAA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AAS,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"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const contentType: OperationParameter;
|
|
3
|
+
export declare const body: OperationParameter;
|
|
4
|
+
export declare const accept: OperationParameter;
|
|
5
|
+
export declare const $host: OperationURLParameter;
|
|
6
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
7
|
+
export declare const resourceGroupName: OperationURLParameter;
|
|
8
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
9
|
+
export declare const resourceName: OperationURLParameter;
|
|
10
|
+
export declare const body1: OperationParameter;
|
|
11
|
+
export declare const body2: OperationParameter;
|
|
12
|
+
export declare const nextLink: OperationURLParameter;
|
|
13
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,kBAGlB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAY5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
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 { CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper, EnergyService as EnergyServiceMapper, EnergyResourceUpdate as EnergyResourceUpdateMapper } from "../models/mappers.js";
|
|
9
|
+
export const contentType = {
|
|
10
|
+
parameterPath: ["options", "contentType"],
|
|
11
|
+
mapper: {
|
|
12
|
+
defaultValue: "application/json",
|
|
13
|
+
isConstant: true,
|
|
14
|
+
serializedName: "Content-Type",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export const body = {
|
|
21
|
+
parameterPath: "body",
|
|
22
|
+
mapper: CheckNameAvailabilityRequestMapper
|
|
23
|
+
};
|
|
24
|
+
export const accept = {
|
|
25
|
+
parameterPath: "accept",
|
|
26
|
+
mapper: {
|
|
27
|
+
defaultValue: "application/json",
|
|
28
|
+
isConstant: true,
|
|
29
|
+
serializedName: "Accept",
|
|
30
|
+
type: {
|
|
31
|
+
name: "String"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export const $host = {
|
|
36
|
+
parameterPath: "$host",
|
|
37
|
+
mapper: {
|
|
38
|
+
serializedName: "$host",
|
|
39
|
+
required: true,
|
|
40
|
+
type: {
|
|
41
|
+
name: "String"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
skipEncoding: true
|
|
45
|
+
};
|
|
46
|
+
export const subscriptionId = {
|
|
47
|
+
parameterPath: "subscriptionId",
|
|
48
|
+
mapper: {
|
|
49
|
+
constraints: {
|
|
50
|
+
MinLength: 1
|
|
51
|
+
},
|
|
52
|
+
serializedName: "subscriptionId",
|
|
53
|
+
required: true,
|
|
54
|
+
type: {
|
|
55
|
+
name: "String"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
export const resourceGroupName = {
|
|
60
|
+
parameterPath: "resourceGroupName",
|
|
61
|
+
mapper: {
|
|
62
|
+
constraints: {
|
|
63
|
+
MaxLength: 90,
|
|
64
|
+
MinLength: 1
|
|
65
|
+
},
|
|
66
|
+
serializedName: "resourceGroupName",
|
|
67
|
+
required: true,
|
|
68
|
+
type: {
|
|
69
|
+
name: "String"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
export const apiVersion = {
|
|
74
|
+
parameterPath: "apiVersion",
|
|
75
|
+
mapper: {
|
|
76
|
+
defaultValue: "2021-06-01-preview",
|
|
77
|
+
isConstant: true,
|
|
78
|
+
serializedName: "api-version",
|
|
79
|
+
type: {
|
|
80
|
+
name: "String"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
export const resourceName = {
|
|
85
|
+
parameterPath: "resourceName",
|
|
86
|
+
mapper: {
|
|
87
|
+
serializedName: "resourceName",
|
|
88
|
+
required: true,
|
|
89
|
+
type: {
|
|
90
|
+
name: "String"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
export const body1 = {
|
|
95
|
+
parameterPath: ["options", "body"],
|
|
96
|
+
mapper: EnergyServiceMapper
|
|
97
|
+
};
|
|
98
|
+
export const body2 = {
|
|
99
|
+
parameterPath: ["options", "body"],
|
|
100
|
+
mapper: EnergyResourceUpdateMapper
|
|
101
|
+
};
|
|
102
|
+
export const nextLink = {
|
|
103
|
+
parameterPath: "nextLink",
|
|
104
|
+
mapper: {
|
|
105
|
+
serializedName: "nextLink",
|
|
106
|
+
required: true,
|
|
107
|
+
type: {
|
|
108
|
+
name: "String"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
skipEncoding: true
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -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,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAuB;IACtC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,kCAAkC;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,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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"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Locations, EnergyServices, Operations } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { OpenEnergyPlatformManagementServiceAPIsOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class OpenEnergyPlatformManagementServiceAPIs extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
subscriptionId: string;
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the OpenEnergyPlatformManagementServiceAPIs class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId The ID of the target subscription.
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: OpenEnergyPlatformManagementServiceAPIsOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
18
|
+
locations: Locations;
|
|
19
|
+
energyServices: EnergyServices;
|
|
20
|
+
operations: Operations;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=openEnergyPlatformManagementServiceAPIs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openEnergyPlatformManagementServiceAPIs.d.ts","sourceRoot":"","sources":["../../src/openEnergyPlatformManagementServiceAPIs.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,qDAAqD,EAAE,MAAM,mBAAmB,CAAC;AAE1F,qBAAa,uCAAwC,SAAQ,UAAU,CAAC,aAAa;IACnF,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,qDAAqD;IA8EjE,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;CACxB"}
|