@azure/digital-twins-core 2.0.0-alpha.20241204.1 → 2.0.0-alpha.20241205.2
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/dist/browser/constants.d.ts +2 -0
- package/dist/browser/constants.d.ts.map +1 -0
- package/{types/digital-twins-core.d.ts → dist/browser/digitalTwinsClient.d.ts} +270 -546
- package/dist/browser/digitalTwinsClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/digitalTwinsClient.js +6 -6
- package/dist/browser/digitalTwinsClient.js.map +1 -0
- package/dist/browser/generated/azureDigitalTwinsAPI.d.ts +19 -0
- package/dist/browser/generated/azureDigitalTwinsAPI.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/azureDigitalTwinsAPI.js +1 -1
- package/dist/browser/generated/azureDigitalTwinsAPI.js.map +1 -0
- package/dist/browser/generated/index.d.ts +5 -0
- package/dist/browser/generated/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/index.js +4 -4
- package/dist/browser/generated/index.js.map +1 -0
- package/dist/browser/generated/models/index.d.ts +335 -0
- package/dist/browser/generated/models/index.d.ts.map +1 -0
- package/dist/browser/generated/models/mappers.d.ts +23 -0
- package/dist/browser/generated/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/models/parameters.d.ts +27 -0
- package/dist/browser/generated/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
- package/dist/browser/generated/models/parameters.js.map +1 -0
- package/dist/browser/generated/operations/digitalTwinModels.d.ts +106 -0
- package/dist/browser/generated/operations/digitalTwinModels.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/digitalTwinModels.js +3 -3
- package/dist/browser/generated/operations/digitalTwinModels.js.map +1 -0
- package/dist/browser/generated/operations/digitalTwins.d.ts +285 -0
- package/dist/browser/generated/operations/digitalTwins.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/digitalTwins.js +3 -3
- package/dist/browser/generated/operations/digitalTwins.js.map +1 -0
- package/dist/browser/generated/operations/eventRoutes.d.ts +69 -0
- package/dist/browser/generated/operations/eventRoutes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/eventRoutes.js +3 -3
- package/dist/browser/generated/operations/eventRoutes.js.map +1 -0
- package/dist/browser/generated/operations/index.d.ts +5 -0
- package/dist/browser/generated/operations/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/operationsInterfaces → dist/browser/generated/operations}/index.js +4 -4
- package/dist/browser/generated/operations/index.js.map +1 -0
- package/dist/browser/generated/operations/query.d.ts +28 -0
- package/dist/browser/generated/operations/query.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/query.js +2 -2
- package/dist/browser/generated/operations/query.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/digitalTwinModels.d.ts +78 -0
- package/dist/browser/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/digitalTwinModels.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/digitalTwins.d.ts +234 -0
- package/dist/browser/generated/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/digitalTwins.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/eventRoutes.d.ts +46 -0
- package/dist/browser/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/eventRoutes.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts +5 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/operations → dist/browser/generated/operationsInterfaces}/index.js +4 -4
- package/dist/browser/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/query.d.ts +20 -0
- package/dist/browser/generated/operationsInterfaces/query.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/query.js.map +1 -0
- package/dist/browser/generated/pagingHelper.d.ts +13 -0
- package/dist/browser/generated/pagingHelper.d.ts.map +1 -0
- package/dist/browser/index.d.ts +3 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +4 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +5 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/tracing.d.ts +6 -0
- package/dist/browser/tracing.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/tracing.js +1 -1
- package/dist/browser/tracing.js.map +1 -0
- package/dist/commonjs/constants.d.ts +2 -0
- package/dist/commonjs/constants.d.ts.map +1 -0
- package/dist/commonjs/constants.js +7 -0
- package/dist/commonjs/constants.js.map +1 -0
- package/dist/commonjs/digitalTwinsClient.d.ts +270 -0
- package/dist/commonjs/digitalTwinsClient.d.ts.map +1 -0
- package/dist/commonjs/digitalTwinsClient.js +410 -0
- package/dist/commonjs/digitalTwinsClient.js.map +1 -0
- package/dist/commonjs/generated/azureDigitalTwinsAPI.d.ts +19 -0
- package/dist/commonjs/generated/azureDigitalTwinsAPI.d.ts.map +1 -0
- package/dist/commonjs/generated/azureDigitalTwinsAPI.js +72 -0
- package/dist/commonjs/generated/azureDigitalTwinsAPI.js.map +1 -0
- package/dist/commonjs/generated/index.d.ts +5 -0
- package/dist/commonjs/generated/index.d.ts.map +1 -0
- package/dist/commonjs/generated/index.js +19 -0
- package/dist/commonjs/generated/index.js.map +1 -0
- package/dist/commonjs/generated/models/index.d.ts +335 -0
- package/dist/commonjs/generated/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/models/index.js +10 -0
- package/dist/commonjs/generated/models/index.js.map +1 -0
- package/dist/commonjs/generated/models/mappers.d.ts +23 -0
- package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/models/mappers.js +475 -0
- package/dist/commonjs/generated/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/models/parameters.d.ts +27 -0
- package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/models/parameters.js +280 -0
- package/dist/commonjs/generated/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/operations/digitalTwinModels.d.ts +106 -0
- package/dist/commonjs/generated/operations/digitalTwinModels.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/digitalTwinModels.js +294 -0
- package/dist/commonjs/generated/operations/digitalTwinModels.js.map +1 -0
- package/dist/commonjs/generated/operations/digitalTwins.d.ts +285 -0
- package/dist/commonjs/generated/operations/digitalTwins.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/digitalTwins.js +749 -0
- package/dist/commonjs/generated/operations/digitalTwins.js.map +1 -0
- package/dist/commonjs/generated/operations/eventRoutes.d.ts +69 -0
- package/dist/commonjs/generated/operations/eventRoutes.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/eventRoutes.js +226 -0
- package/dist/commonjs/generated/operations/eventRoutes.js.map +1 -0
- package/dist/commonjs/generated/operations/index.d.ts +5 -0
- package/dist/commonjs/generated/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/index.js +15 -0
- package/dist/commonjs/generated/operations/index.js.map +1 -0
- package/dist/commonjs/generated/operations/query.d.ts +28 -0
- package/dist/commonjs/generated/operations/query.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/query.js +68 -0
- package/dist/commonjs/generated/operations/query.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.d.ts +78 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwins.d.ts +234 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwins.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwins.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/eventRoutes.d.ts +46 -0
- package/dist/commonjs/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/eventRoutes.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/eventRoutes.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/query.d.ts +20 -0
- package/dist/commonjs/generated/operationsInterfaces/query.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/query.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/query.js.map +1 -0
- package/dist/commonjs/generated/pagingHelper.d.ts +13 -0
- package/dist/commonjs/generated/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/generated/pagingHelper.js +36 -0
- package/dist/commonjs/generated/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +3 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +8 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +5 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +11 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/tracing.d.ts +6 -0
- package/dist/commonjs/tracing.d.ts.map +1 -0
- package/dist/commonjs/tracing.js +17 -0
- package/dist/commonjs/tracing.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/constants.d.ts +2 -0
- package/dist/esm/constants.d.ts.map +1 -0
- package/dist/esm/constants.js +4 -0
- package/dist/esm/constants.js.map +1 -0
- package/dist/esm/digitalTwinsClient.d.ts +270 -0
- package/dist/esm/digitalTwinsClient.d.ts.map +1 -0
- package/dist/esm/digitalTwinsClient.js +406 -0
- package/dist/esm/digitalTwinsClient.js.map +1 -0
- package/dist/esm/generated/azureDigitalTwinsAPI.d.ts +19 -0
- package/dist/esm/generated/azureDigitalTwinsAPI.d.ts.map +1 -0
- package/dist/esm/generated/azureDigitalTwinsAPI.js +67 -0
- package/dist/esm/generated/azureDigitalTwinsAPI.js.map +1 -0
- package/dist/esm/generated/index.d.ts +5 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/dist/esm/generated/index.js +13 -0
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/models/index.d.ts +335 -0
- package/dist/esm/generated/models/index.d.ts.map +1 -0
- package/dist/esm/generated/models/index.js +9 -0
- package/dist/esm/generated/models/index.js.map +1 -0
- package/dist/esm/generated/models/mappers.d.ts +23 -0
- package/dist/esm/generated/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/models/mappers.js +472 -0
- package/dist/esm/generated/models/mappers.js.map +1 -0
- package/dist/esm/generated/models/parameters.d.ts +27 -0
- package/dist/esm/generated/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/models/parameters.js +277 -0
- package/dist/esm/generated/models/parameters.js.map +1 -0
- package/dist/esm/generated/operations/digitalTwinModels.d.ts +106 -0
- package/dist/esm/generated/operations/digitalTwinModels.d.ts.map +1 -0
- package/dist/esm/generated/operations/digitalTwinModels.js +290 -0
- package/dist/esm/generated/operations/digitalTwinModels.js.map +1 -0
- package/dist/esm/generated/operations/digitalTwins.d.ts +285 -0
- package/dist/esm/generated/operations/digitalTwins.d.ts.map +1 -0
- package/dist/esm/generated/operations/digitalTwins.js +745 -0
- package/dist/esm/generated/operations/digitalTwins.js.map +1 -0
- package/dist/esm/generated/operations/eventRoutes.d.ts +69 -0
- package/dist/esm/generated/operations/eventRoutes.d.ts.map +1 -0
- package/dist/esm/generated/operations/eventRoutes.js +222 -0
- package/dist/esm/generated/operations/eventRoutes.js.map +1 -0
- package/dist/esm/generated/operations/index.d.ts +5 -0
- package/dist/esm/generated/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/operations/index.js +12 -0
- package/dist/esm/generated/operations/index.js.map +1 -0
- package/dist/esm/generated/operations/query.d.ts +28 -0
- package/dist/esm/generated/operations/query.d.ts.map +1 -0
- package/dist/esm/generated/operations/query.js +63 -0
- package/dist/esm/generated/operations/query.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwinModels.d.ts +78 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwinModels.js +9 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwinModels.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwins.d.ts +234 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwins.js +9 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwins.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/eventRoutes.d.ts +46 -0
- package/dist/esm/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/eventRoutes.js +9 -0
- package/dist/esm/generated/operationsInterfaces/eventRoutes.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.js +12 -0
- package/dist/esm/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/query.d.ts +20 -0
- package/dist/esm/generated/operationsInterfaces/query.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/query.js +9 -0
- package/dist/esm/generated/operationsInterfaces/query.js.map +1 -0
- package/dist/esm/generated/pagingHelper.d.ts +13 -0
- package/dist/esm/generated/pagingHelper.d.ts.map +1 -0
- package/dist/esm/generated/pagingHelper.js +32 -0
- package/dist/esm/generated/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +5 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +8 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/tracing.d.ts +6 -0
- package/dist/esm/tracing.d.ts.map +1 -0
- package/dist/esm/tracing.js +14 -0
- package/dist/esm/tracing.js.map +1 -0
- package/dist/react-native/constants.d.ts +2 -0
- package/dist/react-native/constants.d.ts.map +1 -0
- package/dist/react-native/constants.js +4 -0
- package/dist/react-native/constants.js.map +1 -0
- package/dist/react-native/digitalTwinsClient.d.ts +270 -0
- package/dist/react-native/digitalTwinsClient.d.ts.map +1 -0
- package/dist/react-native/digitalTwinsClient.js +406 -0
- package/dist/react-native/digitalTwinsClient.js.map +1 -0
- package/dist/react-native/generated/azureDigitalTwinsAPI.d.ts +19 -0
- package/dist/react-native/generated/azureDigitalTwinsAPI.d.ts.map +1 -0
- package/dist/react-native/generated/azureDigitalTwinsAPI.js +67 -0
- package/dist/react-native/generated/azureDigitalTwinsAPI.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +5 -0
- package/dist/react-native/generated/index.d.ts.map +1 -0
- package/dist/react-native/generated/index.js +13 -0
- package/dist/react-native/generated/index.js.map +1 -0
- package/dist/react-native/generated/models/index.d.ts +335 -0
- package/dist/react-native/generated/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/models/index.js +9 -0
- package/dist/react-native/generated/models/index.js.map +1 -0
- package/dist/react-native/generated/models/mappers.d.ts +23 -0
- package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/models/mappers.js +472 -0
- package/dist/react-native/generated/models/mappers.js.map +1 -0
- package/dist/react-native/generated/models/parameters.d.ts +27 -0
- package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/models/parameters.js +277 -0
- package/dist/react-native/generated/models/parameters.js.map +1 -0
- package/dist/react-native/generated/operations/digitalTwinModels.d.ts +106 -0
- package/dist/react-native/generated/operations/digitalTwinModels.d.ts.map +1 -0
- package/dist/react-native/generated/operations/digitalTwinModels.js +290 -0
- package/dist/react-native/generated/operations/digitalTwinModels.js.map +1 -0
- package/dist/react-native/generated/operations/digitalTwins.d.ts +285 -0
- package/dist/react-native/generated/operations/digitalTwins.d.ts.map +1 -0
- package/dist/react-native/generated/operations/digitalTwins.js +745 -0
- package/dist/react-native/generated/operations/digitalTwins.js.map +1 -0
- package/dist/react-native/generated/operations/eventRoutes.d.ts +69 -0
- package/dist/react-native/generated/operations/eventRoutes.d.ts.map +1 -0
- package/dist/react-native/generated/operations/eventRoutes.js +222 -0
- package/dist/react-native/generated/operations/eventRoutes.js.map +1 -0
- package/dist/react-native/generated/operations/index.d.ts +5 -0
- package/dist/react-native/generated/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/operations/index.js +12 -0
- package/dist/react-native/generated/operations/index.js.map +1 -0
- package/dist/react-native/generated/operations/query.d.ts +28 -0
- package/dist/react-native/generated/operations/query.d.ts.map +1 -0
- package/dist/react-native/generated/operations/query.js +63 -0
- package/dist/react-native/generated/operations/query.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.d.ts +78 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwins.d.ts +234 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwins.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwins.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/eventRoutes.d.ts +46 -0
- package/dist/react-native/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/eventRoutes.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/eventRoutes.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.js +12 -0
- package/dist/react-native/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/query.d.ts +20 -0
- package/dist/react-native/generated/operationsInterfaces/query.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/query.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/query.js.map +1 -0
- package/dist/react-native/generated/pagingHelper.d.ts +13 -0
- package/dist/react-native/generated/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/generated/pagingHelper.js +32 -0
- package/dist/react-native/generated/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +3 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +4 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +5 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +8 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/tracing.d.ts +6 -0
- package/dist/react-native/tracing.d.ts.map +1 -0
- package/dist/react-native/tracing.js +14 -0
- package/dist/react-native/tracing.js.map +1 -0
- package/package.json +64 -49
- package/dist/index.js +0 -2613
- package/dist/index.js.map +0 -1
- package/dist-esm/src/digitalTwinsClient.js.map +0 -1
- package/dist-esm/src/generated/azureDigitalTwinsAPI.js.map +0 -1
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/models/parameters.js.map +0 -1
- package/dist-esm/src/generated/operations/digitalTwinModels.js.map +0 -1
- package/dist-esm/src/generated/operations/digitalTwins.js.map +0 -1
- package/dist-esm/src/generated/operations/eventRoutes.js.map +0 -1
- package/dist-esm/src/generated/operations/index.js.map +0 -1
- package/dist-esm/src/generated/operations/query.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/digitalTwinModels.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/digitalTwins.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/eventRoutes.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/query.js.map +0 -1
- package/dist-esm/src/index.js +0 -4
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/tracing.js.map +0 -1
- /package/{dist-esm/src → dist/browser}/constants.js +0 -0
- /package/{dist-esm/src → dist/browser}/constants.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/digitalTwinModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/digitalTwins.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/eventRoutes.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/query.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/pagingHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/pagingHelper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../../src/generated/operations/digitalTwins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAA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CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC;IACrE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,0CAA0C,GAA6B;IAC3E,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC;IACrE,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\";\nimport { DigitalTwins } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureDigitalTwinsAPI } from \"../azureDigitalTwinsAPI\";\nimport {\n DigitalTwinsListRelationshipsNextOptionalParams,\n DigitalTwinsListRelationshipsOptionalParams,\n DigitalTwinsListRelationshipsResponse,\n IncomingRelationship,\n DigitalTwinsListIncomingRelationshipsNextOptionalParams,\n DigitalTwinsListIncomingRelationshipsOptionalParams,\n DigitalTwinsListIncomingRelationshipsResponse,\n DigitalTwinsGetByIdOptionalParams,\n DigitalTwinsGetByIdResponse,\n DigitalTwinsAddOptionalParams,\n DigitalTwinsAddResponse,\n DigitalTwinsDeleteOptionalParams,\n DigitalTwinsUpdateOptionalParams,\n DigitalTwinsUpdateResponse,\n DigitalTwinsGetRelationshipByIdOptionalParams,\n DigitalTwinsGetRelationshipByIdResponse,\n DigitalTwinsAddRelationshipOptionalParams,\n DigitalTwinsAddRelationshipResponse,\n DigitalTwinsDeleteRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipResponse,\n DigitalTwinsSendTelemetryOptionalParams,\n DigitalTwinsSendComponentTelemetryOptionalParams,\n DigitalTwinsGetComponentOptionalParams,\n DigitalTwinsGetComponentResponse,\n DigitalTwinsUpdateComponentOptionalParams,\n DigitalTwinsUpdateComponentResponse,\n DigitalTwinsListRelationshipsNextResponse,\n DigitalTwinsListIncomingRelationshipsNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DigitalTwins operations. */\nexport class DigitalTwinsImpl implements DigitalTwins {\n private readonly client: AzureDigitalTwinsAPI;\n\n /**\n * Initialize a new instance of the class DigitalTwins class.\n * @param client Reference to the service client\n */\n constructor(client: AzureDigitalTwinsAPI) {\n this.client = client;\n }\n\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n public listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams\n ): PagedAsyncIterableIterator<Record<string, unknown>> {\n const iter = this.listRelationshipsPagingAll(id, 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.listRelationshipsPagingPage(id, options, settings);\n }\n };\n }\n\n private async *listRelationshipsPagingPage(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Record<string, unknown>[]> {\n let result: DigitalTwinsListRelationshipsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listRelationships(id, 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._listRelationshipsNext(\n id,\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 *listRelationshipsPagingAll(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams\n ): AsyncIterableIterator<Record<string, unknown>> {\n for await (const page of this.listRelationshipsPagingPage(id, options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n public listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams\n ): PagedAsyncIterableIterator<IncomingRelationship> {\n const iter = this.listIncomingRelationshipsPagingAll(id, 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.listIncomingRelationshipsPagingPage(id, options, settings);\n }\n };\n }\n\n private async *listIncomingRelationshipsPagingPage(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<IncomingRelationship[]> {\n let result: DigitalTwinsListIncomingRelationshipsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listIncomingRelationships(id, 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._listIncomingRelationshipsNext(\n id,\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 *listIncomingRelationshipsPagingAll(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams\n ): AsyncIterableIterator<IncomingRelationship> {\n for await (const page of this.listIncomingRelationshipsPagingPage(\n id,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieves a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinsGetByIdOptionalParams\n ): Promise<DigitalTwinsGetByIdResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n getByIdOperationSpec\n );\n }\n\n /**\n * Adds or replaces a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * ModelDecommissioned - The model for the digital twin is decommissioned.\n * * TwinLimitReached - The maximum number of digital twins allowed has been reached.\n * * ValidationFailed - The digital twin payload is not valid.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param twin The digital twin instance being added. If provided, the $dtId property is ignored.\n * @param options The options parameters.\n */\n add(\n id: string,\n twin: Record<string, unknown>,\n options?: DigitalTwinsAddOptionalParams\n ): Promise<DigitalTwinsAddResponse> {\n return this.client.sendOperationRequest(\n { id, twin, options },\n addOperationSpec\n );\n }\n\n /**\n * Deletes a digital twin. All relationships referencing the digital twin must already be deleted.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * RelationshipsNotDeleted - The digital twin contains relationships.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n delete(\n id: string,\n options?: DigitalTwinsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Updates a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n update(\n id: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateOptionalParams\n ): Promise<DigitalTwinsUpdateResponse> {\n return this.client.sendOperationRequest(\n { id, patchDocument, options },\n updateOperationSpec\n );\n }\n\n /**\n * Retrieves a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n getRelationshipById(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsGetRelationshipByIdOptionalParams\n ): Promise<DigitalTwinsGetRelationshipByIdResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, options },\n getRelationshipByIdOperationSpec\n );\n }\n\n /**\n * Adds a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, relationship id, or payload is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * OperationNotAllowed - The relationship cannot connect to the same digital twin.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * TargetTwinNotFound - The digital twin target of the relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param relationship The data for the relationship.\n * @param options The options parameters.\n */\n addRelationship(\n id: string,\n relationshipId: string,\n relationship: Record<string, unknown>,\n options?: DigitalTwinsAddRelationshipOptionalParams\n ): Promise<DigitalTwinsAddRelationshipResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, relationship, options },\n addRelationshipOperationSpec\n );\n }\n\n /**\n * Deletes a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n deleteRelationship(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsDeleteRelationshipOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, relationshipId, options },\n deleteRelationshipOperationSpec\n );\n }\n\n /**\n * Updates the properties on a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 409 Conflict\n * * RelationshipAlreadyExists - The relationship already exists.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param patchDocument JSON Patch description of the update to the relationship properties.\n * @param options The options parameters.\n */\n updateRelationship(\n id: string,\n relationshipId: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateRelationshipOptionalParams\n ): Promise<DigitalTwinsUpdateRelationshipResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, patchDocument, options },\n updateRelationshipOperationSpec\n );\n }\n\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n private _listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams\n ): Promise<DigitalTwinsListRelationshipsResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n listRelationshipsOperationSpec\n );\n }\n\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n private _listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams\n ): Promise<DigitalTwinsListIncomingRelationshipsResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n listIncomingRelationshipsOperationSpec\n );\n }\n\n /**\n * Sends telemetry on behalf of a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or message id is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin.\n * @param options The options parameters.\n */\n sendTelemetry(\n id: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendTelemetryOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, messageId, telemetry, options },\n sendTelemetryOperationSpec\n );\n }\n\n /**\n * Sends telemetry on behalf of a component in a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, message id, or component path is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin's component.\n * @param options The options parameters.\n */\n sendComponentTelemetry(\n id: string,\n componentPath: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendComponentTelemetryOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, componentPath, messageId, telemetry, options },\n sendComponentTelemetryOperationSpec\n );\n }\n\n /**\n * Retrieves a component from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or component path is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param options The options parameters.\n */\n getComponent(\n id: string,\n componentPath: string,\n options?: DigitalTwinsGetComponentOptionalParams\n ): Promise<DigitalTwinsGetComponentResponse> {\n return this.client.sendOperationRequest(\n { id, componentPath, options },\n getComponentOperationSpec\n );\n }\n\n /**\n * Updates a component on a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, component path, or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n updateComponent(\n id: string,\n componentPath: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateComponentOptionalParams\n ): Promise<DigitalTwinsUpdateComponentResponse> {\n return this.client.sendOperationRequest(\n { id, componentPath, patchDocument, options },\n updateComponentOperationSpec\n );\n }\n\n /**\n * ListRelationshipsNext\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param nextLink The nextLink from the previous successful call to the ListRelationships method.\n * @param options The options parameters.\n */\n private _listRelationshipsNext(\n id: string,\n nextLink: string,\n options?: DigitalTwinsListRelationshipsNextOptionalParams\n ): Promise<DigitalTwinsListRelationshipsNextResponse> {\n return this.client.sendOperationRequest(\n { id, nextLink, options },\n listRelationshipsNextOperationSpec\n );\n }\n\n /**\n * ListIncomingRelationshipsNext\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param nextLink The nextLink from the previous successful call to the ListIncomingRelationships\n * method.\n * @param options The options parameters.\n */\n private _listIncomingRelationshipsNext(\n id: string,\n nextLink: string,\n options?: DigitalTwinsListIncomingRelationshipsNextOptionalParams\n ): Promise<DigitalTwinsListIncomingRelationshipsNextResponse> {\n return this.client.sendOperationRequest(\n { id, nextLink, options },\n listIncomingRelationshipsNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsGetByIdHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst addOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsAddHeaders\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.twin,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifNoneMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"PATCH\",\n responses: {\n 202: {},\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst getRelationshipByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsGetRelationshipByIdHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst addRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsAddRelationshipHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.relationship,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifNoneMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer\n};\nconst updateRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateRelationshipHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst listRelationshipsOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RelationshipCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.relationshipName],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listIncomingRelationshipsOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/incomingrelationships\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IncomingRelationshipCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst sendTelemetryOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/telemetry\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.telemetry,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.messageId,\n Parameters.telemetrySourceTime\n ],\n mediaType: \"json\",\n serializer\n};\nconst sendComponentTelemetryOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}/telemetry\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.telemetry,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.messageId,\n Parameters.telemetrySourceTime\n ],\n mediaType: \"json\",\n serializer\n};\nconst getComponentOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsGetComponentHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateComponentOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}\",\n httpMethod: \"PATCH\",\n responses: {\n 202: {},\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateComponentHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst listRelationshipsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RelationshipCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listIncomingRelationshipsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IncomingRelationshipCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eventRoutes.js","sourceRoot":"","sources":["../../../../src/generated/operations/eventRoutes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAcnD,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,OAAuC;QAEvC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,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,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE,CAAC;IAChD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,cAAc,CAAC;IAChE,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\";\nimport { EventRoutes } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureDigitalTwinsAPI } from \"../azureDigitalTwinsAPI\";\nimport {\n EventRoute,\n EventRoutesListNextOptionalParams,\n EventRoutesListOptionalParams,\n EventRoutesListResponse,\n EventRoutesGetByIdOptionalParams,\n EventRoutesGetByIdResponse,\n EventRoutesAddOptionalParams,\n EventRoutesDeleteOptionalParams,\n EventRoutesListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EventRoutes operations. */\nexport class EventRoutesImpl implements EventRoutes {\n private readonly client: AzureDigitalTwinsAPI;\n\n /**\n * Initialize a new instance of the class EventRoutes class.\n * @param client Reference to the service client\n */\n constructor(client: AzureDigitalTwinsAPI) {\n this.client = client;\n }\n\n /**\n * Retrieves all event routes.\n * Status codes:\n * * 200 OK\n * @param options The options parameters.\n */\n public list(\n options?: EventRoutesListOptionalParams\n ): PagedAsyncIterableIterator<EventRoute> {\n const iter = this.listPagingAll(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.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: EventRoutesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EventRoute[]> {\n let result: EventRoutesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: EventRoutesListOptionalParams\n ): AsyncIterableIterator<EventRoute> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieves all event routes.\n * Status codes:\n * * 200 OK\n * @param options The options parameters.\n */\n private _list(\n options?: EventRoutesListOptionalParams\n ): Promise<EventRoutesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Retrieves an event route.\n * Status codes:\n * * 200 OK\n * * 404 Not Found\n * * EventRouteNotFound - The event route was not found.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: EventRoutesGetByIdOptionalParams\n ): Promise<EventRoutesGetByIdResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n getByIdOperationSpec\n );\n }\n\n /**\n * Adds or replaces an event route.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * EventRouteEndpointInvalid - The endpoint provided does not exist or is not active.\n * * EventRouteFilterInvalid - The event route filter is invalid.\n * * EventRouteIdInvalid - The event route id is invalid.\n * * LimitExceeded - The maximum number of event routes allowed has been reached.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n add(id: string, options?: EventRoutesAddOptionalParams): Promise<void> {\n return this.client.sendOperationRequest({ id, options }, addOperationSpec);\n }\n\n /**\n * Deletes an event route.\n * Status codes:\n * * 204 No Content\n * * 404 Not Found\n * * EventRouteNotFound - The event route was not found.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n delete(id: string, options?: EventRoutesDeleteOptionalParams): Promise<void> {\n return this.client.sendOperationRequest(\n { id, options },\n deleteOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: EventRoutesListNextOptionalParams\n ): Promise<EventRoutesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/eventroutes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventRouteCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.resultsPerPage],\n serializer\n};\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/eventroutes/{id}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventRoute\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst addOperationSpec: coreClient.OperationSpec = {\n path: \"/eventroutes/{id}\",\n httpMethod: \"PUT\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.eventRoute,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/eventroutes/{id}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventRouteCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept, Parameters.resultsPerPage],\n serializer\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,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 \"./digitalTwinModels\";\nexport * from \"./query\";\nexport * from \"./digitalTwins\";\nexport * from \"./eventRoutes\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/generated/operations/query.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,UAAU,CACR,kBAAsC,EACtC,OAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,kBAAkB,EAAE,OAAO,EAAE,EAC/B,uBAAuB,CACxB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;YAC/B,aAAa,EAAE,OAAO,CAAC,sBAAsB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,kBAAkB;IAC1C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE;QAChB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,cAAc;KAC1B;IACD,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 { Query } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureDigitalTwinsAPI } from \"../azureDigitalTwinsAPI\";\nimport {\n QuerySpecification,\n QueryQueryTwinsOptionalParams,\n QueryQueryTwinsResponse\n} from \"../models\";\n\n/** Class containing Query operations. */\nexport class QueryImpl implements Query {\n private readonly client: AzureDigitalTwinsAPI;\n\n /**\n * Initialize a new instance of the class Query class.\n * @param client Reference to the service client\n */\n constructor(client: AzureDigitalTwinsAPI) {\n this.client = client;\n }\n\n /**\n * Executes a query that allows traversing relationships and filtering by property values.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * BadRequest - The continuation token is invalid.\n * * SqlQueryError - The query contains some errors.\n * * TimeoutError - The query execution timed out after 60 seconds. Try simplifying the query or\n * adding conditions to reduce the result size.\n * * 429 Too Many Requests\n * * QuotaReachedError - The maximum query rate limit has been reached.\n * @param querySpecification The query specification to execute.\n * @param options The options parameters.\n */\n queryTwins(\n querySpecification: QuerySpecification,\n options?: QueryQueryTwinsOptionalParams\n ): Promise<QueryQueryTwinsResponse> {\n return this.client.sendOperationRequest(\n { querySpecification, options },\n queryTwinsOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst queryTwinsOperationSpec: coreClient.OperationSpec = {\n path: \"/query\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueryResult,\n headersMapper: Mappers.QueryQueryTwinsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.querySpecification,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.resultsPerPage\n ],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"digitalTwinModels.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/digitalTwinModels.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 {\n DigitalTwinsModelData,\n DigitalTwinModelsListOptionalParams,\n DigitalTwinModelsAddOptionalParams,\n DigitalTwinModelsAddResponse,\n DigitalTwinModelsGetByIdOptionalParams,\n DigitalTwinModelsGetByIdResponse,\n DigitalTwinModelsUpdateOptionalParams,\n DigitalTwinModelsDeleteOptionalParams\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DigitalTwinModels. */\nexport interface DigitalTwinModels {\n /**\n * Retrieves model metadata and, optionally, model definitions.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * @param options The options parameters.\n */\n list(\n options?: DigitalTwinModelsListOptionalParams\n ): PagedAsyncIterableIterator<DigitalTwinsModelData>;\n /**\n * Uploads one or more models. When any error occurs, no models are uploaded.\n * Status codes:\n * * 201 Created\n * * 400 Bad Request\n * * DTDLParserError - The models provided are not valid DTDL.\n * * InvalidArgument - The model id is invalid.\n * * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached.\n * * ModelVersionNotSupported - The version of DTDL used is not supported.\n * * 409 Conflict\n * * ModelAlreadyExists - The model provided already exists.\n * @param options The options parameters.\n */\n add(\n options?: DigitalTwinModelsAddOptionalParams\n ): Promise<DigitalTwinModelsAddResponse>;\n /**\n * Retrieves model metadata and optionally the model definition.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinModelsGetByIdOptionalParams\n ): Promise<DigitalTwinModelsGetByIdResponse>;\n /**\n * Updates the metadata for a model.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * * 409 Conflict\n * * ModelReferencesNotDecommissioned - The model refers to models that are not decommissioned.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param updateModel An update specification described by JSON Patch. Only the decommissioned property\n * can be replaced.\n * @param options The options parameters.\n */\n update(\n id: string,\n updateModel: Record<string, unknown>[],\n options?: DigitalTwinModelsUpdateOptionalParams\n ): Promise<void>;\n /**\n * Deletes a model. A model can only be deleted if no other models reference it.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * * 409 Conflict\n * * ModelReferencesNotDeleted - The model refers to models that are not deleted.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param options The options parameters.\n */\n delete(\n id: string,\n options?: DigitalTwinModelsDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/digitalTwins.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 {\n DigitalTwinsListRelationshipsOptionalParams,\n IncomingRelationship,\n DigitalTwinsListIncomingRelationshipsOptionalParams,\n DigitalTwinsGetByIdOptionalParams,\n DigitalTwinsGetByIdResponse,\n DigitalTwinsAddOptionalParams,\n DigitalTwinsAddResponse,\n DigitalTwinsDeleteOptionalParams,\n DigitalTwinsUpdateOptionalParams,\n DigitalTwinsUpdateResponse,\n DigitalTwinsGetRelationshipByIdOptionalParams,\n DigitalTwinsGetRelationshipByIdResponse,\n DigitalTwinsAddRelationshipOptionalParams,\n DigitalTwinsAddRelationshipResponse,\n DigitalTwinsDeleteRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipResponse,\n DigitalTwinsSendTelemetryOptionalParams,\n DigitalTwinsSendComponentTelemetryOptionalParams,\n DigitalTwinsGetComponentOptionalParams,\n DigitalTwinsGetComponentResponse,\n DigitalTwinsUpdateComponentOptionalParams,\n DigitalTwinsUpdateComponentResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DigitalTwins. */\nexport interface DigitalTwins {\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams\n ): PagedAsyncIterableIterator<Record<string, unknown>>;\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams\n ): PagedAsyncIterableIterator<IncomingRelationship>;\n /**\n * Retrieves a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinsGetByIdOptionalParams\n ): Promise<DigitalTwinsGetByIdResponse>;\n /**\n * Adds or replaces a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * ModelDecommissioned - The model for the digital twin is decommissioned.\n * * TwinLimitReached - The maximum number of digital twins allowed has been reached.\n * * ValidationFailed - The digital twin payload is not valid.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param twin The digital twin instance being added. If provided, the $dtId property is ignored.\n * @param options The options parameters.\n */\n add(\n id: string,\n twin: Record<string, unknown>,\n options?: DigitalTwinsAddOptionalParams\n ): Promise<DigitalTwinsAddResponse>;\n /**\n * Deletes a digital twin. All relationships referencing the digital twin must already be deleted.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * RelationshipsNotDeleted - The digital twin contains relationships.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n delete(id: string, options?: DigitalTwinsDeleteOptionalParams): Promise<void>;\n /**\n * Updates a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n update(\n id: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateOptionalParams\n ): Promise<DigitalTwinsUpdateResponse>;\n /**\n * Retrieves a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n getRelationshipById(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsGetRelationshipByIdOptionalParams\n ): Promise<DigitalTwinsGetRelationshipByIdResponse>;\n /**\n * Adds a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, relationship id, or payload is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * OperationNotAllowed - The relationship cannot connect to the same digital twin.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * TargetTwinNotFound - The digital twin target of the relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param relationship The data for the relationship.\n * @param options The options parameters.\n */\n addRelationship(\n id: string,\n relationshipId: string,\n relationship: Record<string, unknown>,\n options?: DigitalTwinsAddRelationshipOptionalParams\n ): Promise<DigitalTwinsAddRelationshipResponse>;\n /**\n * Deletes a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n deleteRelationship(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsDeleteRelationshipOptionalParams\n ): Promise<void>;\n /**\n * Updates the properties on a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 409 Conflict\n * * RelationshipAlreadyExists - The relationship already exists.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param patchDocument JSON Patch description of the update to the relationship properties.\n * @param options The options parameters.\n */\n updateRelationship(\n id: string,\n relationshipId: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateRelationshipOptionalParams\n ): Promise<DigitalTwinsUpdateRelationshipResponse>;\n /**\n * Sends telemetry on behalf of a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or message id is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin.\n * @param options The options parameters.\n */\n sendTelemetry(\n id: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendTelemetryOptionalParams\n ): Promise<void>;\n /**\n * Sends telemetry on behalf of a component in a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, message id, or component path is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin's component.\n * @param options The options parameters.\n */\n sendComponentTelemetry(\n id: string,\n componentPath: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendComponentTelemetryOptionalParams\n ): Promise<void>;\n /**\n * Retrieves a component from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or component path is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param options The options parameters.\n */\n getComponent(\n id: string,\n componentPath: string,\n options?: DigitalTwinsGetComponentOptionalParams\n ): Promise<DigitalTwinsGetComponentResponse>;\n /**\n * Updates a component on a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, component path, or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n updateComponent(\n id: string,\n componentPath: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateComponentOptionalParams\n ): Promise<DigitalTwinsUpdateComponentResponse>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eventRoutes.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/eventRoutes.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 {\n EventRoute,\n EventRoutesListOptionalParams,\n EventRoutesGetByIdOptionalParams,\n EventRoutesGetByIdResponse,\n EventRoutesAddOptionalParams,\n EventRoutesDeleteOptionalParams\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a EventRoutes. */\nexport interface EventRoutes {\n /**\n * Retrieves all event routes.\n * Status codes:\n * * 200 OK\n * @param options The options parameters.\n */\n list(\n options?: EventRoutesListOptionalParams\n ): PagedAsyncIterableIterator<EventRoute>;\n /**\n * Retrieves an event route.\n * Status codes:\n * * 200 OK\n * * 404 Not Found\n * * EventRouteNotFound - The event route was not found.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: EventRoutesGetByIdOptionalParams\n ): Promise<EventRoutesGetByIdResponse>;\n /**\n * Adds or replaces an event route.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * EventRouteEndpointInvalid - The endpoint provided does not exist or is not active.\n * * EventRouteFilterInvalid - The event route filter is invalid.\n * * EventRouteIdInvalid - The event route id is invalid.\n * * LimitExceeded - The maximum number of event routes allowed has been reached.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n add(id: string, options?: EventRoutesAddOptionalParams): Promise<void>;\n /**\n * Deletes an event route.\n * Status codes:\n * * 204 No Content\n * * 404 Not Found\n * * EventRouteNotFound - The event route was not found.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n delete(id: string, options?: EventRoutesDeleteOptionalParams): Promise<void>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,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 \"./digitalTwinModels\";\nexport * from \"./query\";\nexport * from \"./digitalTwins\";\nexport * from \"./eventRoutes\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/query.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 QuerySpecification,\n QueryQueryTwinsOptionalParams,\n QueryQueryTwinsResponse\n} from \"../models\";\n\n/** Interface representing a Query. */\nexport interface Query {\n /**\n * Executes a query that allows traversing relationships and filtering by property values.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * BadRequest - The continuation token is invalid.\n * * SqlQueryError - The query contains some errors.\n * * TimeoutError - The query execution timed out after 60 seconds. Try simplifying the query or\n * adding conditions to reduce the result size.\n * * 429 Too Many Requests\n * * QuotaReachedError - The maximum query rate limit has been reached.\n * @param querySpecification The query specification to execute.\n * @param options The options parameters.\n */\n queryTwins(\n querySpecification: QuerySpecification,\n options?: QueryQueryTwinsOptionalParams\n ): Promise<QueryQueryTwinsResponse>;\n}\n"]}
|
package/dist-esm/src/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,kBAAkB,GAQnB,MAAM,sBAAsB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n DigitalTwinsClient,\n DigitalTwinsClientOptions,\n GetModelOptions,\n ListEventRoutesOptions,\n ListModelsOptions,\n QueryTwinsOptions,\n ListIncomingRelationshipsOptions,\n ListRelationshipsOptions,\n} from \"./digitalTwinsClient\";\n\nexport {\n DigitalTwinsAddOptionalParams,\n DigitalTwinsAddHeaders,\n DigitalTwinsAddResponse,\n DigitalTwinsGetByIdResponse,\n DigitalTwinsUpdateOptionalParams,\n DigitalTwinsUpdateHeaders,\n DigitalTwinsDeleteOptionalParams,\n DigitalTwinsGetByIdHeaders,\n DigitalTwinsAddRelationshipOptionalParams,\n DigitalTwinsAddRelationshipHeaders,\n DigitalTwinsAddRelationshipResponse,\n DigitalTwinsUpdateRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipResponse,\n DigitalTwinsUpdateRelationshipHeaders,\n DigitalTwinsDeleteRelationshipOptionalParams,\n DigitalTwinsListRelationshipsResponse,\n RelationshipCollection,\n DigitalTwinsListIncomingRelationshipsResponse,\n IncomingRelationship,\n IncomingRelationshipCollection,\n DigitalTwinsGetRelationshipByIdHeaders,\n DigitalTwinsGetRelationshipByIdResponse,\n DigitalTwinsUpdateComponentOptionalParams,\n DigitalTwinsUpdateComponentHeaders,\n DigitalTwinsGetComponentHeaders,\n DigitalTwinsUpdateComponentResponse,\n DigitalTwinsGetComponentResponse,\n DigitalTwinModelsGetByIdResponse,\n DigitalTwinModelsListResponse,\n DigitalTwinModelsAddResponse,\n DigitalTwinsUpdateResponse,\n EventRoute,\n EventRouteCollection,\n EventRoutesGetByIdResponse,\n EventRoutesListNextResponse,\n DigitalTwinsModelData,\n QueryQueryTwinsHeaders,\n QueryQueryTwinsResponse,\n QueryResult,\n QuerySpecification,\n PagedDigitalTwinsModelDataCollection,\n} from \"./generated/models\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,SAAS,EAAE,wBAAwB;IACnC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,WAAW;CAC5B,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createTracingClient } from \"@azure/core-tracing\";\nimport { SDK_VERSION } from \"./constants\";\n\n/**\n * Creates a tracing client to manage tracing spans.\n * @internal\n */\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.DigitalTwins\",\n packageName: \"@azure/digital-twins-core\",\n packageVersion: SDK_VERSION,\n});\n"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|