@kelvininc/js-client-sdk 7.12.0 → 7.13.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/CHANGELOG.md +33 -0
- package/dist/cjs/models/generated/aCP.d.ts +0 -2
- package/dist/cjs/models/generated/aCP.js +0 -1
- package/dist/cjs/models/generated/aCP.js.map +1 -1
- package/dist/cjs/models/generated/assetClassFailureList.d.ts +22 -0
- package/dist/cjs/models/generated/assetClassFailureList.js +19 -0
- package/dist/cjs/models/generated/assetClassFailureList.js.map +1 -0
- package/dist/cjs/models/generated/dataLabel.d.ts +36 -0
- package/dist/cjs/models/generated/dataLabel.js.map +1 -1
- package/dist/cjs/models/generated/dataLabelCluster.d.ts +12 -0
- package/dist/cjs/models/generated/dataLabelCluster.js.map +1 -1
- package/dist/cjs/models/generated/dataLabelItem.d.ts +36 -0
- package/dist/cjs/models/generated/dataLabelItem.js.map +1 -1
- package/dist/cjs/models/generated/dataLabelListPaginated.d.ts +3 -0
- package/dist/cjs/models/generated/dataLabelListPaginated.js.map +1 -1
- package/dist/cjs/models/generated/dataLabelMetricItem.d.ts +6 -0
- package/dist/cjs/models/generated/dataLabelMetricItem.js.map +1 -1
- package/dist/cjs/models/generated/dataLabelSource.d.ts +6 -0
- package/dist/cjs/models/generated/dataLabelSource.js.map +1 -1
- package/dist/cjs/models/generated/emissionsAssetLists.d.ts +3 -2
- package/dist/cjs/models/generated/emissionsAssetLists.js +2 -1
- package/dist/cjs/models/generated/emissionsAssetLists.js.map +1 -1
- package/dist/cjs/models/generated/emissionsInefficientAsset.d.ts +25 -0
- package/dist/cjs/models/generated/emissionsInefficientAsset.js +24 -0
- package/dist/cjs/models/generated/emissionsInefficientAsset.js.map +1 -0
- package/dist/cjs/models/generated/emissionsInefficientAssetAlarm.d.ts +19 -0
- package/dist/cjs/models/generated/emissionsInefficientAssetAlarm.js +20 -0
- package/dist/cjs/models/generated/emissionsInefficientAssetAlarm.js.map +1 -0
- package/dist/cjs/models/generated/emissionsInefficientAssetAnalytics.d.ts +23 -0
- package/dist/cjs/models/generated/emissionsInefficientAssetAnalytics.js +22 -0
- package/dist/cjs/models/generated/emissionsInefficientAssetAnalytics.js.map +1 -0
- package/dist/cjs/models/generated/failure.d.ts +25 -0
- package/dist/cjs/models/generated/failure.js +23 -0
- package/dist/cjs/models/generated/failure.js.map +1 -0
- package/dist/cjs/models/generated/failureAnalysis.d.ts +25 -0
- package/dist/cjs/models/generated/failureAnalysis.js +24 -0
- package/dist/cjs/models/generated/failureAnalysis.js.map +1 -0
- package/dist/cjs/models/generated/failureAnalysisList.d.ts +18 -0
- package/dist/cjs/models/generated/failureAnalysisList.js +20 -0
- package/dist/cjs/models/generated/failureAnalysisList.js.map +1 -0
- package/dist/cjs/models/generated/failureAnalysisSpectralBand.d.ts +23 -0
- package/dist/cjs/models/generated/failureAnalysisSpectralBand.js +22 -0
- package/dist/cjs/models/generated/failureAnalysisSpectralBand.js.map +1 -0
- package/dist/cjs/models/generated/failureAnalysisThreshold.d.ts +25 -0
- package/dist/cjs/models/generated/failureAnalysisThreshold.js +23 -0
- package/dist/cjs/models/generated/failureAnalysisThreshold.js.map +1 -0
- package/dist/cjs/models/generated/failureAnalysisThresholdsList.d.ts +22 -0
- package/dist/cjs/models/generated/failureAnalysisThresholdsList.js +19 -0
- package/dist/cjs/models/generated/failureAnalysisThresholdsList.js.map +1 -0
- package/dist/cjs/models/generated/failureAnalysisThresholdsUpdate.d.ts +17 -0
- package/dist/cjs/models/generated/failureAnalysisThresholdsUpdate.js +19 -0
- package/dist/cjs/models/generated/failureAnalysisThresholdsUpdate.js.map +1 -0
- package/dist/cjs/models/generated/failureOverviewItem.d.ts +6 -3
- package/dist/cjs/models/generated/failureOverviewItem.js +1 -2
- package/dist/cjs/models/generated/failureOverviewItem.js.map +1 -1
- package/dist/cjs/models/generated/failureOverviewPaginated.d.ts +3 -6
- package/dist/cjs/models/generated/failureOverviewPaginated.js +2 -2
- package/dist/cjs/models/generated/failureOverviewPaginated.js.map +1 -1
- package/dist/cjs/models/generated/index.d.ts +14 -1
- package/dist/cjs/models/generated/index.js +14 -1
- package/dist/cjs/models/generated/index.js.map +1 -1
- package/dist/cjs/models/generated/label.d.ts +15 -0
- package/dist/cjs/models/generated/label.js.map +1 -1
- package/dist/cjs/models/generated/labelItem.d.ts +15 -0
- package/dist/cjs/models/generated/labelItem.js.map +1 -1
- package/dist/cjs/models/generated/labelListPaginated.d.ts +3 -0
- package/dist/cjs/models/generated/labelListPaginated.js.map +1 -1
- package/dist/cjs/models/generated/labelMetadata.d.ts +15 -0
- package/dist/cjs/models/generated/labelMetadata.js.map +1 -1
- package/dist/cjs/models/generated/labelMetadataItem.d.ts +15 -0
- package/dist/cjs/models/generated/labelMetadataItem.js.map +1 -1
- package/dist/cjs/models/generated/loopConfig.d.ts +17 -0
- package/dist/cjs/models/generated/loopConfig.js +19 -0
- package/dist/cjs/models/generated/loopConfig.js.map +1 -0
- package/dist/cjs/models/generated/paginationInfo.d.ts +27 -0
- package/dist/cjs/models/generated/paginationInfo.js +24 -0
- package/dist/cjs/models/generated/paginationInfo.js.map +1 -0
- package/dist/cjs/models/generated/ruleAction.d.ts +2 -0
- package/dist/cjs/models/generated/ruleAction.js +2 -1
- package/dist/cjs/models/generated/ruleAction.js.map +1 -1
- package/dist/cjs/models/generated/ruleExecutionConfig.d.ts +20 -0
- package/dist/cjs/models/generated/ruleExecutionConfig.js +21 -0
- package/dist/cjs/models/generated/ruleExecutionConfig.js.map +1 -0
- package/dist/cjs/models/generated/rulePayload.d.ts +3 -0
- package/dist/cjs/models/generated/rulePayload.js +2 -0
- package/dist/cjs/models/generated/rulePayload.js.map +1 -1
- package/dist/cjs/services/generated/api/aCP.service.js +17 -17
- package/dist/cjs/services/generated/api/aCP.service.js.map +1 -1
- package/dist/cjs/services/generated/api/alarm.service.js +31 -31
- package/dist/cjs/services/generated/api/alarm.service.js.map +1 -1
- package/dist/cjs/services/generated/api/appRegistry.service.js +7 -7
- package/dist/cjs/services/generated/api/appRegistry.service.js.map +1 -1
- package/dist/cjs/services/generated/api/asset.service.d.ts +9 -7
- package/dist/cjs/services/generated/api/asset.service.js +63 -49
- package/dist/cjs/services/generated/api/asset.service.js.map +1 -1
- package/dist/cjs/services/generated/api/bridge.service.js +10 -10
- package/dist/cjs/services/generated/api/bridge.service.js.map +1 -1
- package/dist/cjs/services/generated/api/controlChange.service.js +8 -8
- package/dist/cjs/services/generated/api/controlChange.service.js.map +1 -1
- package/dist/cjs/services/generated/api/dataLabel.service.d.ts +62 -62
- package/dist/cjs/services/generated/api/dataLabel.service.js +83 -83
- package/dist/cjs/services/generated/api/dataLabel.service.js.map +1 -1
- package/dist/cjs/services/generated/api/dataType.service.js +6 -6
- package/dist/cjs/services/generated/api/dataType.service.js.map +1 -1
- package/dist/cjs/services/generated/api/failureDetection.service.d.ts +32 -2
- package/dist/cjs/services/generated/api/failureDetection.service.js +82 -5
- package/dist/cjs/services/generated/api/failureDetection.service.js.map +1 -1
- package/dist/cjs/services/generated/api/instance.service.js +11 -11
- package/dist/cjs/services/generated/api/instance.service.js.map +1 -1
- package/dist/cjs/services/generated/api/integration.service.js +10 -10
- package/dist/cjs/services/generated/api/integration.service.js.map +1 -1
- package/dist/cjs/services/generated/api/map.service.js +14 -14
- package/dist/cjs/services/generated/api/map.service.js.map +1 -1
- package/dist/cjs/services/generated/api/metric.service.js +7 -7
- package/dist/cjs/services/generated/api/metric.service.js.map +1 -1
- package/dist/cjs/services/generated/api/orchestration.service.js +9 -9
- package/dist/cjs/services/generated/api/orchestration.service.js.map +1 -1
- package/dist/cjs/services/generated/api/parameters.service.js +3 -3
- package/dist/cjs/services/generated/api/parameters.service.js.map +1 -1
- package/dist/cjs/services/generated/api/rule.service.js +6 -6
- package/dist/cjs/services/generated/api/rule.service.js.map +1 -1
- package/dist/cjs/services/generated/api/secret.service.js +3 -3
- package/dist/cjs/services/generated/api/secret.service.js.map +1 -1
- package/dist/cjs/services/generated/api/storage.service.js +10 -10
- package/dist/cjs/services/generated/api/storage.service.js.map +1 -1
- package/dist/cjs/services/generated/api/thread.service.js +10 -10
- package/dist/cjs/services/generated/api/thread.service.js.map +1 -1
- package/dist/cjs/services/generated/api/uI.service.js +2 -2
- package/dist/cjs/services/generated/api/uI.service.js.map +1 -1
- package/dist/cjs/services/generated/api/user.service.js +11 -11
- package/dist/cjs/services/generated/api/user.service.js.map +1 -1
- package/dist/cjs/services/generated/api/wireguard.service.js +9 -9
- package/dist/cjs/services/generated/api/wireguard.service.js.map +1 -1
- package/dist/cjs/services/generated/api/workload.service.js +9 -9
- package/dist/cjs/services/generated/api/workload.service.js.map +1 -1
- package/dist/cjs/services/generated/models/aCPUpdateData.d.ts +3 -7
- package/dist/cjs/services/generated/models/aCPUpdateData.js.map +1 -1
- package/dist/cjs/services/generated/models/dataLabelCreateData.d.ts +5 -5
- package/dist/cjs/services/generated/models/dataLabelCreateData.js.map +1 -1
- package/dist/cjs/services/generated/models/dataLabelRangeData.d.ts +2 -2
- package/dist/cjs/services/generated/models/dataLabelRangeData.js.map +1 -1
- package/dist/cjs/services/generated/models/failureAnalysisThresholdData.d.ts +10 -0
- package/dist/cjs/services/generated/models/failureAnalysisThresholdData.js +3 -0
- package/dist/cjs/services/generated/models/failureAnalysisThresholdData.js.map +1 -0
- package/dist/cjs/services/generated/models/failureAnalysisThresholdsUpdateData.d.ts +7 -0
- package/dist/cjs/services/generated/models/failureAnalysisThresholdsUpdateData.js +3 -0
- package/dist/cjs/services/generated/models/failureAnalysisThresholdsUpdateData.js.map +1 -0
- package/dist/cjs/services/generated/models/index.d.ts +4 -0
- package/dist/cjs/services/generated/models/index.js +4 -0
- package/dist/cjs/services/generated/models/index.js.map +1 -1
- package/dist/cjs/services/generated/models/labelCreateData.d.ts +2 -2
- package/dist/cjs/services/generated/models/labelCreateData.js.map +1 -1
- package/dist/cjs/services/generated/models/loopConfigData.d.ts +6 -0
- package/dist/cjs/services/generated/models/loopConfigData.js +3 -0
- package/dist/cjs/services/generated/models/loopConfigData.js.map +1 -0
- package/dist/cjs/services/generated/models/ruleActionData.d.ts +1 -0
- package/dist/cjs/services/generated/models/ruleActionData.js.map +1 -1
- package/dist/cjs/services/generated/models/ruleExecutionConfigData.d.ts +8 -0
- package/dist/cjs/services/generated/models/ruleExecutionConfigData.js +3 -0
- package/dist/cjs/services/generated/models/ruleExecutionConfigData.js.map +1 -0
- package/dist/cjs/services/generated/models/rulePayloadData.d.ts +2 -0
- package/dist/cjs/services/generated/models/rulePayloadData.js.map +1 -1
- package/dist/cjs/services/generated/types/asset.service.types.d.ts +6 -4
- package/dist/cjs/services/generated/types/asset.service.types.js.map +1 -1
- package/dist/cjs/services/generated/types/failureDetection.service.types.d.ts +27 -0
- package/dist/cjs/services/generated/types/failureDetection.service.types.js.map +1 -1
- package/dist/cjs/services/index.d.ts +1 -1
- package/dist/cjs/services/index.js +1 -1
- package/dist/cjs/services/index.js.map +1 -1
- package/dist/cjs/services/pagination/index.d.ts +5 -0
- package/dist/cjs/services/pagination/index.js +9 -0
- package/dist/cjs/services/pagination/index.js.map +1 -0
- package/dist/cjs/services/pagination/pagination-handler.d.ts +24 -0
- package/dist/cjs/services/pagination/pagination-handler.js +45 -0
- package/dist/cjs/services/pagination/pagination-handler.js.map +1 -0
- package/dist/cjs/services/pagination/paginator-base.d.ts +29 -0
- package/dist/cjs/services/pagination/paginator-base.js +70 -0
- package/dist/cjs/services/pagination/paginator-base.js.map +1 -0
- package/dist/cjs/services/pagination/paginator-cursor.d.ts +18 -0
- package/dist/cjs/services/pagination/paginator-cursor.js +38 -0
- package/dist/cjs/services/pagination/paginator-cursor.js.map +1 -0
- package/dist/cjs/services/pagination/paginator-limits.d.ts +20 -0
- package/dist/cjs/services/pagination/paginator-limits.js +54 -0
- package/dist/cjs/services/pagination/paginator-limits.js.map +1 -0
- package/dist/cjs/services/pagination/paginator.types.d.ts +44 -0
- package/dist/cjs/services/pagination/paginator.types.js +11 -0
- package/dist/cjs/services/pagination/paginator.types.js.map +1 -0
- package/dist/esm/models/generated/aCP.d.ts +0 -2
- package/dist/esm/models/generated/aCP.js +0 -1
- package/dist/esm/models/generated/aCP.js.map +1 -1
- package/dist/esm/models/generated/assetClassFailureList.d.ts +22 -0
- package/dist/esm/models/generated/assetClassFailureList.js +15 -0
- package/dist/esm/models/generated/assetClassFailureList.js.map +1 -0
- package/dist/esm/models/generated/dataLabel.d.ts +36 -0
- package/dist/esm/models/generated/dataLabel.js.map +1 -1
- package/dist/esm/models/generated/dataLabelCluster.d.ts +12 -0
- package/dist/esm/models/generated/dataLabelCluster.js.map +1 -1
- package/dist/esm/models/generated/dataLabelItem.d.ts +36 -0
- package/dist/esm/models/generated/dataLabelItem.js.map +1 -1
- package/dist/esm/models/generated/dataLabelListPaginated.d.ts +3 -0
- package/dist/esm/models/generated/dataLabelListPaginated.js.map +1 -1
- package/dist/esm/models/generated/dataLabelMetricItem.d.ts +6 -0
- package/dist/esm/models/generated/dataLabelMetricItem.js.map +1 -1
- package/dist/esm/models/generated/dataLabelSource.d.ts +6 -0
- package/dist/esm/models/generated/dataLabelSource.js.map +1 -1
- package/dist/esm/models/generated/emissionsAssetLists.d.ts +3 -2
- package/dist/esm/models/generated/emissionsAssetLists.js +2 -1
- package/dist/esm/models/generated/emissionsAssetLists.js.map +1 -1
- package/dist/esm/models/generated/emissionsInefficientAsset.d.ts +25 -0
- package/dist/esm/models/generated/emissionsInefficientAsset.js +20 -0
- package/dist/esm/models/generated/emissionsInefficientAsset.js.map +1 -0
- package/dist/esm/models/generated/emissionsInefficientAssetAlarm.d.ts +19 -0
- package/dist/esm/models/generated/emissionsInefficientAssetAlarm.js +16 -0
- package/dist/esm/models/generated/emissionsInefficientAssetAlarm.js.map +1 -0
- package/dist/esm/models/generated/emissionsInefficientAssetAnalytics.d.ts +23 -0
- package/dist/esm/models/generated/emissionsInefficientAssetAnalytics.js +18 -0
- package/dist/esm/models/generated/emissionsInefficientAssetAnalytics.js.map +1 -0
- package/dist/esm/models/generated/failure.d.ts +25 -0
- package/dist/esm/models/generated/failure.js +19 -0
- package/dist/esm/models/generated/failure.js.map +1 -0
- package/dist/esm/models/generated/failureAnalysis.d.ts +25 -0
- package/dist/esm/models/generated/failureAnalysis.js +20 -0
- package/dist/esm/models/generated/failureAnalysis.js.map +1 -0
- package/dist/esm/models/generated/failureAnalysisList.d.ts +18 -0
- package/dist/esm/models/generated/failureAnalysisList.js +16 -0
- package/dist/esm/models/generated/failureAnalysisList.js.map +1 -0
- package/dist/esm/models/generated/failureAnalysisSpectralBand.d.ts +23 -0
- package/dist/esm/models/generated/failureAnalysisSpectralBand.js +18 -0
- package/dist/esm/models/generated/failureAnalysisSpectralBand.js.map +1 -0
- package/dist/esm/models/generated/failureAnalysisThreshold.d.ts +25 -0
- package/dist/esm/models/generated/failureAnalysisThreshold.js +19 -0
- package/dist/esm/models/generated/failureAnalysisThreshold.js.map +1 -0
- package/dist/esm/models/generated/failureAnalysisThresholdsList.d.ts +22 -0
- package/dist/esm/models/generated/failureAnalysisThresholdsList.js +15 -0
- package/dist/esm/models/generated/failureAnalysisThresholdsList.js.map +1 -0
- package/dist/esm/models/generated/failureAnalysisThresholdsUpdate.d.ts +17 -0
- package/dist/esm/models/generated/failureAnalysisThresholdsUpdate.js +15 -0
- package/dist/esm/models/generated/failureAnalysisThresholdsUpdate.js.map +1 -0
- package/dist/esm/models/generated/failureOverviewItem.d.ts +6 -3
- package/dist/esm/models/generated/failureOverviewItem.js +1 -2
- package/dist/esm/models/generated/failureOverviewItem.js.map +1 -1
- package/dist/esm/models/generated/failureOverviewPaginated.d.ts +3 -6
- package/dist/esm/models/generated/failureOverviewPaginated.js +2 -2
- package/dist/esm/models/generated/failureOverviewPaginated.js.map +1 -1
- package/dist/esm/models/generated/index.d.ts +14 -1
- package/dist/esm/models/generated/index.js +14 -1
- package/dist/esm/models/generated/index.js.map +1 -1
- package/dist/esm/models/generated/label.d.ts +15 -0
- package/dist/esm/models/generated/label.js.map +1 -1
- package/dist/esm/models/generated/labelItem.d.ts +15 -0
- package/dist/esm/models/generated/labelItem.js.map +1 -1
- package/dist/esm/models/generated/labelListPaginated.d.ts +3 -0
- package/dist/esm/models/generated/labelListPaginated.js.map +1 -1
- package/dist/esm/models/generated/labelMetadata.d.ts +15 -0
- package/dist/esm/models/generated/labelMetadata.js.map +1 -1
- package/dist/esm/models/generated/labelMetadataItem.d.ts +15 -0
- package/dist/esm/models/generated/labelMetadataItem.js.map +1 -1
- package/dist/esm/models/generated/loopConfig.d.ts +17 -0
- package/dist/esm/models/generated/loopConfig.js +15 -0
- package/dist/esm/models/generated/loopConfig.js.map +1 -0
- package/dist/esm/models/generated/paginationInfo.d.ts +27 -0
- package/dist/esm/models/generated/paginationInfo.js +20 -0
- package/dist/esm/models/generated/paginationInfo.js.map +1 -0
- package/dist/esm/models/generated/ruleAction.d.ts +2 -0
- package/dist/esm/models/generated/ruleAction.js +2 -1
- package/dist/esm/models/generated/ruleAction.js.map +1 -1
- package/dist/esm/models/generated/ruleExecutionConfig.d.ts +20 -0
- package/dist/esm/models/generated/ruleExecutionConfig.js +17 -0
- package/dist/esm/models/generated/ruleExecutionConfig.js.map +1 -0
- package/dist/esm/models/generated/rulePayload.d.ts +3 -0
- package/dist/esm/models/generated/rulePayload.js +2 -0
- package/dist/esm/models/generated/rulePayload.js.map +1 -1
- package/dist/esm/services/generated/api/aCP.service.js +17 -17
- package/dist/esm/services/generated/api/aCP.service.js.map +1 -1
- package/dist/esm/services/generated/api/alarm.service.js +31 -31
- package/dist/esm/services/generated/api/alarm.service.js.map +1 -1
- package/dist/esm/services/generated/api/appRegistry.service.js +7 -7
- package/dist/esm/services/generated/api/appRegistry.service.js.map +1 -1
- package/dist/esm/services/generated/api/asset.service.d.ts +9 -7
- package/dist/esm/services/generated/api/asset.service.js +63 -49
- package/dist/esm/services/generated/api/asset.service.js.map +1 -1
- package/dist/esm/services/generated/api/bridge.service.js +10 -10
- package/dist/esm/services/generated/api/bridge.service.js.map +1 -1
- package/dist/esm/services/generated/api/controlChange.service.js +8 -8
- package/dist/esm/services/generated/api/controlChange.service.js.map +1 -1
- package/dist/esm/services/generated/api/dataLabel.service.d.ts +62 -62
- package/dist/esm/services/generated/api/dataLabel.service.js +83 -83
- package/dist/esm/services/generated/api/dataLabel.service.js.map +1 -1
- package/dist/esm/services/generated/api/dataType.service.js +6 -6
- package/dist/esm/services/generated/api/dataType.service.js.map +1 -1
- package/dist/esm/services/generated/api/failureDetection.service.d.ts +32 -2
- package/dist/esm/services/generated/api/failureDetection.service.js +83 -6
- package/dist/esm/services/generated/api/failureDetection.service.js.map +1 -1
- package/dist/esm/services/generated/api/instance.service.js +11 -11
- package/dist/esm/services/generated/api/instance.service.js.map +1 -1
- package/dist/esm/services/generated/api/integration.service.js +10 -10
- package/dist/esm/services/generated/api/integration.service.js.map +1 -1
- package/dist/esm/services/generated/api/map.service.js +14 -14
- package/dist/esm/services/generated/api/map.service.js.map +1 -1
- package/dist/esm/services/generated/api/metric.service.js +7 -7
- package/dist/esm/services/generated/api/metric.service.js.map +1 -1
- package/dist/esm/services/generated/api/orchestration.service.js +9 -9
- package/dist/esm/services/generated/api/orchestration.service.js.map +1 -1
- package/dist/esm/services/generated/api/parameters.service.js +3 -3
- package/dist/esm/services/generated/api/parameters.service.js.map +1 -1
- package/dist/esm/services/generated/api/rule.service.js +6 -6
- package/dist/esm/services/generated/api/rule.service.js.map +1 -1
- package/dist/esm/services/generated/api/secret.service.js +3 -3
- package/dist/esm/services/generated/api/secret.service.js.map +1 -1
- package/dist/esm/services/generated/api/storage.service.js +10 -10
- package/dist/esm/services/generated/api/storage.service.js.map +1 -1
- package/dist/esm/services/generated/api/thread.service.js +10 -10
- package/dist/esm/services/generated/api/thread.service.js.map +1 -1
- package/dist/esm/services/generated/api/uI.service.js +2 -2
- package/dist/esm/services/generated/api/uI.service.js.map +1 -1
- package/dist/esm/services/generated/api/user.service.js +11 -11
- package/dist/esm/services/generated/api/user.service.js.map +1 -1
- package/dist/esm/services/generated/api/wireguard.service.js +9 -9
- package/dist/esm/services/generated/api/wireguard.service.js.map +1 -1
- package/dist/esm/services/generated/api/workload.service.js +9 -9
- package/dist/esm/services/generated/api/workload.service.js.map +1 -1
- package/dist/esm/services/generated/models/aCPUpdateData.d.ts +3 -7
- package/dist/esm/services/generated/models/aCPUpdateData.js.map +1 -1
- package/dist/esm/services/generated/models/dataLabelCreateData.d.ts +5 -5
- package/dist/esm/services/generated/models/dataLabelCreateData.js.map +1 -1
- package/dist/esm/services/generated/models/dataLabelRangeData.d.ts +2 -2
- package/dist/esm/services/generated/models/dataLabelRangeData.js.map +1 -1
- package/dist/esm/services/generated/models/failureAnalysisThresholdData.d.ts +10 -0
- package/dist/esm/services/generated/models/failureAnalysisThresholdData.js +1 -0
- package/dist/esm/services/generated/models/failureAnalysisThresholdData.js.map +1 -0
- package/dist/esm/services/generated/models/failureAnalysisThresholdsUpdateData.d.ts +7 -0
- package/dist/esm/services/generated/models/failureAnalysisThresholdsUpdateData.js +1 -0
- package/dist/esm/services/generated/models/failureAnalysisThresholdsUpdateData.js.map +1 -0
- package/dist/esm/services/generated/models/index.d.ts +4 -0
- package/dist/esm/services/generated/models/index.js +4 -0
- package/dist/esm/services/generated/models/index.js.map +1 -1
- package/dist/esm/services/generated/models/labelCreateData.d.ts +2 -2
- package/dist/esm/services/generated/models/labelCreateData.js.map +1 -1
- package/dist/esm/services/generated/models/loopConfigData.d.ts +6 -0
- package/dist/esm/services/generated/models/loopConfigData.js +1 -0
- package/dist/esm/services/generated/models/loopConfigData.js.map +1 -0
- package/dist/esm/services/generated/models/ruleActionData.d.ts +1 -0
- package/dist/esm/services/generated/models/ruleActionData.js.map +1 -1
- package/dist/esm/services/generated/models/ruleExecutionConfigData.d.ts +8 -0
- package/dist/esm/services/generated/models/ruleExecutionConfigData.js +1 -0
- package/dist/esm/services/generated/models/ruleExecutionConfigData.js.map +1 -0
- package/dist/esm/services/generated/models/rulePayloadData.d.ts +2 -0
- package/dist/esm/services/generated/models/rulePayloadData.js.map +1 -1
- package/dist/esm/services/generated/types/asset.service.types.d.ts +6 -4
- package/dist/esm/services/generated/types/asset.service.types.js.map +1 -1
- package/dist/esm/services/generated/types/failureDetection.service.types.d.ts +27 -0
- package/dist/esm/services/generated/types/failureDetection.service.types.js.map +1 -1
- package/dist/esm/services/index.d.ts +1 -1
- package/dist/esm/services/index.js +1 -1
- package/dist/esm/services/index.js.map +1 -1
- package/dist/esm/services/pagination/index.d.ts +5 -0
- package/dist/esm/services/pagination/index.js +6 -0
- package/dist/esm/services/pagination/index.js.map +1 -0
- package/dist/esm/services/pagination/pagination-handler.d.ts +24 -0
- package/dist/esm/services/pagination/pagination-handler.js +40 -0
- package/dist/esm/services/pagination/pagination-handler.js.map +1 -0
- package/dist/esm/services/pagination/paginator-base.d.ts +29 -0
- package/dist/esm/services/{pagination-handler.js → pagination/paginator-base.js} +28 -48
- package/dist/esm/services/pagination/paginator-base.js.map +1 -0
- package/dist/esm/services/pagination/paginator-cursor.d.ts +18 -0
- package/dist/esm/services/pagination/paginator-cursor.js +34 -0
- package/dist/esm/services/pagination/paginator-cursor.js.map +1 -0
- package/dist/esm/services/pagination/paginator-limits.d.ts +20 -0
- package/dist/esm/services/pagination/paginator-limits.js +50 -0
- package/dist/esm/services/pagination/paginator-limits.js.map +1 -0
- package/dist/esm/services/pagination/paginator.types.d.ts +44 -0
- package/dist/esm/services/pagination/paginator.types.js +8 -0
- package/dist/esm/services/pagination/paginator.types.js.map +1 -0
- package/package.json +3 -3
- package/dist/cjs/models/generated/failureOverviewStatistics.d.ts +0 -24
- package/dist/cjs/models/generated/failureOverviewStatistics.js +0 -22
- package/dist/cjs/models/generated/failureOverviewStatistics.js.map +0 -1
- package/dist/cjs/services/pagination-handler.d.ts +0 -40
- package/dist/cjs/services/pagination-handler.js +0 -91
- package/dist/cjs/services/pagination-handler.js.map +0 -1
- package/dist/esm/models/generated/failureOverviewStatistics.d.ts +0 -24
- package/dist/esm/models/generated/failureOverviewStatistics.js +0 -18
- package/dist/esm/models/generated/failureOverviewStatistics.js.map +0 -1
- package/dist/esm/services/pagination-handler.d.ts +0 -40
- package/dist/esm/services/pagination-handler.js.map +0 -1
|
@@ -14,8 +14,8 @@ export class BridgeService extends BaseService {
|
|
|
14
14
|
const requestConfig = {
|
|
15
15
|
method: 'post'
|
|
16
16
|
};
|
|
17
|
-
requestConfig.mediaType = 'application/json';
|
|
18
17
|
requestConfig.options = options;
|
|
18
|
+
requestConfig.mediaType = 'application/json';
|
|
19
19
|
return this.request(`/bridges/${encodeURIComponent(String(bridgeName))}/delete`, requestConfig);
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
@@ -29,8 +29,8 @@ export class BridgeService extends BaseService {
|
|
|
29
29
|
method: 'post'
|
|
30
30
|
};
|
|
31
31
|
requestConfig.data = bridge;
|
|
32
|
-
requestConfig.mediaType = 'application/json';
|
|
33
32
|
requestConfig.options = options;
|
|
33
|
+
requestConfig.mediaType = 'application/json';
|
|
34
34
|
return this.request(`/bridges/deploy`, requestConfig, Bridge);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
@@ -43,8 +43,8 @@ export class BridgeService extends BaseService {
|
|
|
43
43
|
const requestConfig = {
|
|
44
44
|
method: 'get'
|
|
45
45
|
};
|
|
46
|
-
requestConfig.mediaType = 'application/json';
|
|
47
46
|
requestConfig.options = options;
|
|
47
|
+
requestConfig.mediaType = 'application/json';
|
|
48
48
|
return this.request(`/bridges/${encodeURIComponent(String(bridgeName))}/get`, requestConfig, Bridge);
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
@@ -102,8 +102,8 @@ export class BridgeService extends BaseService {
|
|
|
102
102
|
queryParameters['sort_asc'] = sortAsc;
|
|
103
103
|
}
|
|
104
104
|
requestConfig.params = queryParameters;
|
|
105
|
-
requestConfig.mediaType = 'application/json';
|
|
106
105
|
requestConfig.options = options;
|
|
106
|
+
requestConfig.mediaType = 'application/json';
|
|
107
107
|
return this.request(`/bridges/list`, requestConfig, BridgeListPaginated);
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
@@ -138,8 +138,8 @@ export class BridgeService extends BaseService {
|
|
|
138
138
|
queryParameters['sort_asc'] = sortAsc;
|
|
139
139
|
}
|
|
140
140
|
requestConfig.params = queryParameters;
|
|
141
|
-
requestConfig.mediaType = 'application/json';
|
|
142
141
|
requestConfig.options = options;
|
|
142
|
+
requestConfig.mediaType = 'application/json';
|
|
143
143
|
return this.request(`/bridges/${encodeURIComponent(String(bridgeName))}/assets/list`, requestConfig, AssetListPaginated);
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
@@ -182,8 +182,8 @@ export class BridgeService extends BaseService {
|
|
|
182
182
|
queryParameters['sort_asc'] = sortAsc;
|
|
183
183
|
}
|
|
184
184
|
requestConfig.params = queryParameters;
|
|
185
|
-
requestConfig.mediaType = 'application/json';
|
|
186
185
|
requestConfig.options = options;
|
|
186
|
+
requestConfig.mediaType = 'application/json';
|
|
187
187
|
return this.request(`/bridges/${encodeURIComponent(String(bridgeName))}/datastreams/list`, requestConfig, BridgeDataStreamListPaginated);
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
@@ -218,8 +218,8 @@ export class BridgeService extends BaseService {
|
|
|
218
218
|
queryParameters['sort_asc'] = sortAsc;
|
|
219
219
|
}
|
|
220
220
|
requestConfig.params = queryParameters;
|
|
221
|
-
requestConfig.mediaType = 'application/json';
|
|
222
221
|
requestConfig.options = options;
|
|
222
|
+
requestConfig.mediaType = 'application/json';
|
|
223
223
|
return this.request(`/bridges/${encodeURIComponent(String(bridgeName))}/metrics/list`, requestConfig, MetricListPaginated);
|
|
224
224
|
}
|
|
225
225
|
/**
|
|
@@ -249,8 +249,8 @@ export class BridgeService extends BaseService {
|
|
|
249
249
|
queryParameters['sort_asc'] = sortAsc;
|
|
250
250
|
}
|
|
251
251
|
requestConfig.params = queryParameters;
|
|
252
|
-
requestConfig.mediaType = 'application/json';
|
|
253
252
|
requestConfig.options = options;
|
|
253
|
+
requestConfig.mediaType = 'application/json';
|
|
254
254
|
return this.request(`/bridges/protocols/mqtt/configuration/list`, requestConfig, MQTTTopicList);
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
@@ -263,8 +263,8 @@ export class BridgeService extends BaseService {
|
|
|
263
263
|
const requestConfig = {
|
|
264
264
|
method: 'get'
|
|
265
265
|
};
|
|
266
|
-
requestConfig.mediaType = 'application/json';
|
|
267
266
|
requestConfig.options = options;
|
|
267
|
+
requestConfig.mediaType = 'application/json';
|
|
268
268
|
return this.request(`/bridges/${encodeURIComponent(String(bridgeName))}/start`, requestConfig);
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
@@ -277,8 +277,8 @@ export class BridgeService extends BaseService {
|
|
|
277
277
|
const requestConfig = {
|
|
278
278
|
method: 'get'
|
|
279
279
|
};
|
|
280
|
-
requestConfig.mediaType = 'application/json';
|
|
281
280
|
requestConfig.options = options;
|
|
281
|
+
requestConfig.mediaType = 'application/json';
|
|
282
282
|
return this.request(`/bridges/${encodeURIComponent(String(bridgeName))}/stop`, requestConfig);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge.service.js","sourceRoot":"","sources":["../../../../../src/services/generated/api/bridge.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrJ,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAWjD;;GAEG;AAEH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAE7C;;;;;OAKG;IAEH,MAAM,CAAC,YAAY,CAAC,EAAE,UAAU,EAAuB,EAAE,OAA+B;QAEvF,MAAM,aAAa,GAAmB;YACrC,MAAM,EAAE,MAAuB;SAC/B,CAAC;QAEF,aAAa,CAAC,SAAS,GAAG,kBAAkB,CAAC;QAC7C,aAAa,CAAC,OAAO,G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QAED,aAAa,CAAC,MAAM,GAAG,eAAe,CAAC;QAEvC,aAAa,CAAC,SAAS,GAAG,kBAAkB,CAAC;QAC7C,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;QAEhC,OAAO,IAAI,CAAC,OAAO,CAAgB,4CAA4C,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC;IAChH,CAAC;IAED;;;;;OAKG;IAEH,MAAM,CAAC,WAAW,CAAC,EAAE,UAAU,EAAsB,EAAE,OAA+B;QAErF,MAAM,aAAa,GAAmB;YACrC,MAAM,EAAE,KAAsB;SAC9B,CAAC;QAEF,aAAa,CAAC,SAAS,GAAG,kBAAkB,CAAC;QAC7C,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;QAEhC,OAAO,IAAI,CAAC,OAAO,CAAkB,YAAY,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IACjH,CAAC;IAED;;;;;OAKG;IAEH,MAAM,CAAC,UAAU,CAAC,EAAE,UAAU,EAAqB,EAAE,OAA+B;QAEnF,MAAM,aAAa,GAAmB;YACrC,MAAM,EAAE,KAAsB;SAC9B,CAAC;QAEF,aAAa,CAAC,SAAS,GAAG,kBAAkB,CAAC;QAC7C,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;QAEhC,OAAO,IAAI,CAAC,OAAO,CAAkB,YAAY,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAChH,CAAC;CACD","sourcesContent":["import { Observable } from 'rxjs';\nimport { EKvHttpMethod, IKvHttpRequest, IKvHttpRequestOptions, IKvHttpResponse } from '../../../core/http';\nimport { AssetListPaginated, Bridge, BridgeDataStreamListPaginated, BridgeListPaginated, MetricListPaginated, MQTTTopicList } from '../../../models';\nimport { BaseService } from '../../base.service';\nimport {\n\tIDeleteBridgeParams,\n\tIDeployBridgeParams,\n\tIGetBridgeParams, IListBridgeAssetsParams,\n\tIListBridgeDataStreamsParams,\n\tIListBridgeMetricsParams, IListBridgeParams, IListMQTTTopicsParams,\n\tIStartBridgeParams,\n\tIStopBridgeParams\n} from '../types';\n\n/**\n * @category Service\n */\n\nexport class BridgeService extends BaseService {\n\n\t/**\n\t * Delete Bridge\n\t * Delete Bridge application Permanently delete an existing <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. This cannot be undone once the API request has been submitted. <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> can be deleted even if the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> is offline. In this case, the information will be immediately deleted on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> and the commands to delete on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> will be sent when it next comes online. **Permission Required:** `kelvin.permission.bridge.delete`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic deleteBridge({ bridgeName }: IDeleteBridgeParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<IKvHttpResponse>(`/bridges/${encodeURIComponent(String(bridgeName))}/delete`, requestConfig);\n\t}\n\n\t/**\n\t * Deploy Bridge\n\t * Deploy Bridge App Deploy a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> to a selected <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. The Kelvin Bridge will handle all the communications and data transfer between external equipment and the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> using one of four communication protocols; OPC UA, MQTT, Modbus TCP / RTU or Emerson ROC. Each protocol will require a different type of payload structure that defines the exact address specifications for each <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> // <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> pairs. **Permission Required:** `kelvin.permission.bridge.create`\n\t * @param bridge Bridge create schema. Supported protocols [`opc-ua`, `mqtt`, `modbus`, `roc`]\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic deployBridge({ bridge }: IDeployBridgeParams, options?: IKvHttpRequestOptions): Observable<Bridge> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.data = bridge;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<Bridge>(`/bridges/deploy`, requestConfig, Bridge);\n\t}\n\n\t/**\n\t * Get Bridge\n\t * Get Bridge Retrieve the properties of a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic getBridge({ bridgeName }: IGetBridgeParams, options?: IKvHttpRequestOptions): Observable<Bridge> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<Bridge>(`/bridges/${encodeURIComponent(String(bridgeName))}/get`, requestConfig, Bridge);\n\t}\n\n\t/**\n\t * List Bridge\n\t * List Bridge Returns a dictionary with a data property containing a list of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a>. **Pagination Sortable Columns:** `bridge.name`, `bridge.title`, `bridge.protocol`, `bridge.acp_name`, `bridge.workload_name`, `bridge.created`, `bridge.updated`, `status_state`, `status_last_seen` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param names Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> by its name. This is given as an array, for example `[extruder-bridge,tank-bridge]`.</p> The filter is done on the full name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `[extruder-bridge,tank-bridge]` will return <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the name `extruder-bridge` but not with the names `demo-extruder-bridge` or `tank-bridge-one`.\n\t * @param search Search and filter the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> list. Both the Display Name and the Name will be included in the search field criteria. This is given as an array, for example `[demo,bridge]`.</p> The search is case insensitive and will find partial matches as well. For example if a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> name or display name is `extruder-bridge`, then a match will be made if the search string is `ext` or `rIDge`.\n\t * @param acpName Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>'s acp_name (This is a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>). This is given as an array, for example `[demo-node-1,extruder-node]`.</p> The filter is done on the full name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `[demo-node-1,extruder-node]` will return <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the parameter acp_name `extruder-node` but not with the names `demo-extruder-node` or `extruder-node-one`.\n\t * @param protocol Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> `protocol`. This is the communication protocol used by the bridge. This is given as an array, for example `[modbus,mqtt]`.</p> There are four options available; `modbus`, `opc-ua`, `mqtt`, `roc`.\n\t * @param workloadName Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> `workload_name`. This is given as an array, for example `[extruder,tank]`.</p> The filter is done on the full workload_name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `[extruder,tank]` will return <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the parameter workload_name `extruder` but not with the workload_name `demo-extruder-bridge` or `bridge-tank`.\n\t * @param statusState Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> `status_state`. This is the communication protocol used by the bridge. This is given as an array, for example `[failed,stopped]`.</p> There are five options available; `running`, `stopped`, `failed`, `deploying`, `offline`.\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> next_page alphanumeric string should be used here to show a list of the next page of results.\n\t * @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> previous_page alphanumeric string should be used here to show a list of the previous page of results.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> parameters. Only one parameter can be selected.</p> There are ten parameter options; `bridge.name`, `bridge.title`, `bridge.protocol`, `bridge.acp_name`, `bridge.workload_name`, `bridge.created`, `bridge.updated`, `status_state` and `status_last_seen`.</p> The default is `bridge.name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listBridge({ names, search, acpName, protocol, workloadName, statusState, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListBridgeParams = {}, options?: IKvHttpRequestOptions): Observable<BridgeListPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (names != null) {\n\t\t\tqueryParameters['names'] = names;\n\t\t}\n\n\t\tif (search != null) {\n\t\t\tqueryParameters['search'] = search;\n\t\t}\n\n\t\tif (acpName != null) {\n\t\t\tqueryParameters['acp_name'] = acpName;\n\t\t}\n\n\t\tif (protocol != null) {\n\t\t\tqueryParameters['protocol'] = protocol;\n\t\t}\n\n\t\tif (workloadName != null) {\n\t\t\tqueryParameters['workload_name'] = workloadName;\n\t\t}\n\n\t\tif (statusState != null) {\n\t\t\tqueryParameters['status_state'] = statusState;\n\t\t}\n\n\t\tif (pageSize != null) {\n\t\t\tqueryParameters['page_size'] = pageSize;\n\t\t}\n\n\t\tif (startingAfter != null) {\n\t\t\tqueryParameters['starting_after'] = startingAfter;\n\t\t}\n\n\t\tif (endingBefore != null) {\n\t\t\tqueryParameters['ending_before'] = endingBefore;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<BridgeListPaginated>(`/bridges/list`, requestConfig, BridgeListPaginated);\n\t}\n\n\t/**\n\t * List Bridge Assets\n\t * List Bridge Assets Returns a dictionary with a data property containing a list of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. **Pagination Sortable Columns:** `asset.name`, `asset.title`, `asset.created`, `asset.updated`, `asset_type.title` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param bridgeName Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> by its name.</p> The filter is done on the full name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `demo-bridge-one` will return <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> linked to the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the name `demo-bridge-one` but not with the names `demo-bridge` or `bridge-one`.\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> next_page alphanumeric string should be used here to show a list of the next page of results.\n\t * @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> previous_page alphanumeric string should be used here to show a list of the previous page of results.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> parameters. Only one parameter can be selected.</p> There are ten parameter options; `asset.name`, `asset.title`, `asset.created`, `asset.updated` and `asset_type.title`.</p> The default is `asset.name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listBridgeAssets({ bridgeName, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListBridgeAssetsParams, options?: IKvHttpRequestOptions): Observable<AssetListPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (pageSize != null) {\n\t\t\tqueryParameters['page_size'] = pageSize;\n\t\t}\n\n\t\tif (startingAfter != null) {\n\t\t\tqueryParameters['starting_after'] = startingAfter;\n\t\t}\n\n\t\tif (endingBefore != null) {\n\t\t\tqueryParameters['ending_before'] = endingBefore;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<AssetListPaginated>(`/bridges/${encodeURIComponent(String(bridgeName))}/assets/list`, requestConfig, AssetListPaginated);\n\t}\n\n\t/**\n\t * List Bridge Data Streams\n\t * List Bridge Data Streams Returns a list of all the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> // <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> pairs that have been deployed with the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. The specific connection details for each Kelvin Asset / Kelvin Metric pair are also returned in a payload. The payload structure will depend on the type of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. There are four types; OPC UA, MQTT, Modbus and ROC. You can apply a number of filters to the return list. **Pagination Sortable Columns:** `bridge_metric_asset.asset_name`, `bridge_metric_asset.metric_name` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param bridgeName <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> name to retrieve the data stream objects.</p> This is the unique identifier name and not the display name (title) of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param assetName Filter the data stream objects of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> which contain specific <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> names.\n\t * @param metricName Filter the data stream objects of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> which contain specific <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> names.\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response parameter under pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> next_page alphanumeric string should be used here to show a list of the next page of results.\n\t * @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response parameter under pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> previous_page alphanumeric string should be used here to show a list of the previous page of results.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> parameters. Only one parameter can be selected.</p> There are two parameter options; `bridge_metric_asset.asset_name`, `bridge_metric_asset.metric_name`.</p> The default is `bridge_metric_asset.asset_name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listBridgeDataStreams({ bridgeName, assetName, metricName, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListBridgeDataStreamsParams, options?: IKvHttpRequestOptions): Observable<BridgeDataStreamListPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (assetName != null) {\n\t\t\tqueryParameters['asset_name'] = assetName;\n\t\t}\n\n\t\tif (metricName != null) {\n\t\t\tqueryParameters['metric_name'] = metricName;\n\t\t}\n\n\t\tif (pageSize != null) {\n\t\t\tqueryParameters['page_size'] = pageSize;\n\t\t}\n\n\t\tif (startingAfter != null) {\n\t\t\tqueryParameters['starting_after'] = startingAfter;\n\t\t}\n\n\t\tif (endingBefore != null) {\n\t\t\tqueryParameters['ending_before'] = endingBefore;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<BridgeDataStreamListPaginated>(`/bridges/${encodeURIComponent(String(bridgeName))}/datastreams/list`, requestConfig, BridgeDataStreamListPaginated);\n\t}\n\n\t/**\n\t * List Bridge Metrics\n\t * List Bridge Metrics Returns a dictionary with a data property containing a list of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metrics</a> on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. **Pagination Sortable Columns:** `metric.name`, `metric.title`, `metric.created`, `metric.updated`, `metric.data_type_name` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metrics</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> next_page alphanumeric string should be used here to show a list of the next page of results.\n\t * @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metrics</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> previous_page alphanumeric string should be used here to show a list of the previous page of results.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> parameters. Only one parameter can be selected.</p> There are ten parameter options; `metric.name`, `metric.title`, `metric.created`, `metric.updated` and `metric.data_type_name`.</p> The default is `metric.name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listBridgeMetrics({ bridgeName, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListBridgeMetricsParams, options?: IKvHttpRequestOptions): Observable<MetricListPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (pageSize != null) {\n\t\t\tqueryParameters['page_size'] = pageSize;\n\t\t}\n\n\t\tif (startingAfter != null) {\n\t\t\tqueryParameters['starting_after'] = startingAfter;\n\t\t}\n\n\t\tif (endingBefore != null) {\n\t\t\tqueryParameters['ending_before'] = endingBefore;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<MetricListPaginated>(`/bridges/${encodeURIComponent(String(bridgeName))}/metrics/list`, requestConfig, MetricListPaginated);\n\t}\n\n\t/**\n\t * List MQTT Topics\n\t * List MQTT Topics Returns a dictionary with a data property containing a list of the MQTT topic payload options available on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a>. The MQTT topic payload definitions defines how <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> which are using the `mqtt` protocol will interpret incoming messages on a topic. **Sortable Columns:** `bridge_mqtt_topic.name`, `bridge_mqtt_topic.title`, `bridge_mqtt_topic.topic`, `bridge_mqtt_topic.created`, `bridge_mqtt_topic.updated` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param names Filter on the MQTT Topics by its name.</p> The filter is done on the full name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `topic-one` will return MQTT topics with the name `topic-one` but not with the names `topic-one-extended` or `topic`.\n\t * @param search Search and filter the MQTT Topic list. The Display Name, the Name and the Topic will be included in the search field criteria. This is given as an array, for example `[one,two]`.</p> The search is case insensitive and will find partial matches as well. For example if a MQTT TOpic name, display name or topic is `topic-one`, then a match will be made if the search string is `one` or `oPic`.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> parameters. Only one parameter can be selected.</p> There are five parameter options; `bridge_mqtt_topic.name`, `bridge_mqtt_topic.title`, `bridge_mqtt_topic.topic`, `bridge_mqtt_topic.created`, `bridge_mqtt_topic.updated`.</p> The default is `bridge_mqtt_topic.name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listMQTTTopics({ names, search, sortBy, sortAsc }: IListMQTTTopicsParams = {}, options?: IKvHttpRequestOptions): Observable<MQTTTopicList> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (names != null) {\n\t\t\tqueryParameters['names'] = names;\n\t\t}\n\n\t\tif (search != null) {\n\t\t\tqueryParameters['search'] = search;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<MQTTTopicList>(`/bridges/protocols/mqtt/configuration/list`, requestConfig, MQTTTopicList);\n\t}\n\n\t/**\n\t * Start Bridge\n\t * Start Bridge application Start a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. The <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> must already be deployed to a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. **Permission Required:** `kelvin.permission.bridge.update`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic startBridge({ bridgeName }: IStartBridgeParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<IKvHttpResponse>(`/bridges/${encodeURIComponent(String(bridgeName))}/start`, requestConfig);\n\t}\n\n\t/**\n\t * Stop Bridge\n\t * Stop Bridge application Stop a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. The <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> must already be deployed to a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. **Permission Required:** `kelvin.permission.bridge.update`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic stopBridge({ bridgeName }: IStopBridgeParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<IKvHttpResponse>(`/bridges/${encodeURIComponent(String(bridgeName))}/stop`, requestConfig);\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"bridge.service.js","sourceRoot":"","sources":["../../../../../src/services/generated/api/bridge.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,6BAA6B,EAAE,mBAAmB,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,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAChH,CAAC;CACD","sourcesContent":["import { Observable } from 'rxjs';\nimport { EKvHttpMethod, IKvHttpRequest, IKvHttpRequestOptions, IKvHttpResponse } from '../../../core/http';\nimport { AssetListPaginated, Bridge, BridgeDataStreamListPaginated, BridgeListPaginated, MetricListPaginated, MQTTTopicList } from '../../../models';\nimport { BaseService } from '../../base.service';\nimport {\n\tIDeleteBridgeParams,\n\tIDeployBridgeParams,\n\tIGetBridgeParams, IListBridgeAssetsParams,\n\tIListBridgeDataStreamsParams,\n\tIListBridgeMetricsParams, IListBridgeParams, IListMQTTTopicsParams,\n\tIStartBridgeParams,\n\tIStopBridgeParams\n} from '../types';\n\n/**\n * @category Service\n */\n\nexport class BridgeService extends BaseService {\n\n\t/**\n\t * Delete Bridge\n\t * Delete Bridge application Permanently delete an existing <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. This cannot be undone once the API request has been submitted. <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> can be deleted even if the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> is offline. In this case, the information will be immediately deleted on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> and the commands to delete on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> will be sent when it next comes online. **Permission Required:** `kelvin.permission.bridge.delete`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic deleteBridge({ bridgeName }: IDeleteBridgeParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<IKvHttpResponse>(`/bridges/${encodeURIComponent(String(bridgeName))}/delete`, requestConfig);\n\t}\n\n\t/**\n\t * Deploy Bridge\n\t * Deploy Bridge App Deploy a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> to a selected <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. The Kelvin Bridge will handle all the communications and data transfer between external equipment and the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> using one of four communication protocols; OPC UA, MQTT, Modbus TCP / RTU or Emerson ROC. Each protocol will require a different type of payload structure that defines the exact address specifications for each <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> // <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> pairs. **Permission Required:** `kelvin.permission.bridge.create`\n\t * @param bridge Bridge create schema. Supported protocols [`opc-ua`, `mqtt`, `modbus`, `roc`]\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic deployBridge({ bridge }: IDeployBridgeParams, options?: IKvHttpRequestOptions): Observable<Bridge> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.data = bridge;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<Bridge>(`/bridges/deploy`, requestConfig, Bridge);\n\t}\n\n\t/**\n\t * Get Bridge\n\t * Get Bridge Retrieve the properties of a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic getBridge({ bridgeName }: IGetBridgeParams, options?: IKvHttpRequestOptions): Observable<Bridge> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<Bridge>(`/bridges/${encodeURIComponent(String(bridgeName))}/get`, requestConfig, Bridge);\n\t}\n\n\t/**\n\t * List Bridge\n\t * List Bridge Returns a dictionary with a data property containing a list of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a>. **Pagination Sortable Columns:** `bridge.name`, `bridge.title`, `bridge.protocol`, `bridge.acp_name`, `bridge.workload_name`, `bridge.created`, `bridge.updated`, `status_state`, `status_last_seen` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param names Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> by its name. This is given as an array, for example `[extruder-bridge,tank-bridge]`.</p> The filter is done on the full name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `[extruder-bridge,tank-bridge]` will return <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the name `extruder-bridge` but not with the names `demo-extruder-bridge` or `tank-bridge-one`.\n\t * @param search Search and filter the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> list. Both the Display Name and the Name will be included in the search field criteria. This is given as an array, for example `[demo,bridge]`.</p> The search is case insensitive and will find partial matches as well. For example if a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> name or display name is `extruder-bridge`, then a match will be made if the search string is `ext` or `rIDge`.\n\t * @param acpName Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>'s acp_name (This is a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>). This is given as an array, for example `[demo-node-1,extruder-node]`.</p> The filter is done on the full name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `[demo-node-1,extruder-node]` will return <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the parameter acp_name `extruder-node` but not with the names `demo-extruder-node` or `extruder-node-one`.\n\t * @param protocol Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> `protocol`. This is the communication protocol used by the bridge. This is given as an array, for example `[modbus,mqtt]`.</p> There are four options available; `modbus`, `opc-ua`, `mqtt`, `roc`.\n\t * @param workloadName Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> `workload_name`. This is given as an array, for example `[extruder,tank]`.</p> The filter is done on the full workload_name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `[extruder,tank]` will return <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the parameter workload_name `extruder` but not with the workload_name `demo-extruder-bridge` or `bridge-tank`.\n\t * @param statusState Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> `status_state`. This is the communication protocol used by the bridge. This is given as an array, for example `[failed,stopped]`.</p> There are five options available; `running`, `stopped`, `failed`, `deploying`, `offline`.\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> next_page alphanumeric string should be used here to show a list of the next page of results.\n\t * @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> previous_page alphanumeric string should be used here to show a list of the previous page of results.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> parameters. Only one parameter can be selected.</p> There are ten parameter options; `bridge.name`, `bridge.title`, `bridge.protocol`, `bridge.acp_name`, `bridge.workload_name`, `bridge.created`, `bridge.updated`, `status_state` and `status_last_seen`.</p> The default is `bridge.name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listBridge({ names, search, acpName, protocol, workloadName, statusState, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListBridgeParams = {}, options?: IKvHttpRequestOptions): Observable<BridgeListPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (names != null) {\n\t\t\tqueryParameters['names'] = names;\n\t\t}\n\n\t\tif (search != null) {\n\t\t\tqueryParameters['search'] = search;\n\t\t}\n\n\t\tif (acpName != null) {\n\t\t\tqueryParameters['acp_name'] = acpName;\n\t\t}\n\n\t\tif (protocol != null) {\n\t\t\tqueryParameters['protocol'] = protocol;\n\t\t}\n\n\t\tif (workloadName != null) {\n\t\t\tqueryParameters['workload_name'] = workloadName;\n\t\t}\n\n\t\tif (statusState != null) {\n\t\t\tqueryParameters['status_state'] = statusState;\n\t\t}\n\n\t\tif (pageSize != null) {\n\t\t\tqueryParameters['page_size'] = pageSize;\n\t\t}\n\n\t\tif (startingAfter != null) {\n\t\t\tqueryParameters['starting_after'] = startingAfter;\n\t\t}\n\n\t\tif (endingBefore != null) {\n\t\t\tqueryParameters['ending_before'] = endingBefore;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<BridgeListPaginated>(`/bridges/list`, requestConfig, BridgeListPaginated);\n\t}\n\n\t/**\n\t * List Bridge Assets\n\t * List Bridge Assets Returns a dictionary with a data property containing a list of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. **Pagination Sortable Columns:** `asset.name`, `asset.title`, `asset.created`, `asset.updated`, `asset_type.title` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param bridgeName Filter on the parameter <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> by its name.</p> The filter is done on the full name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `demo-bridge-one` will return <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> linked to the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the name `demo-bridge-one` but not with the names `demo-bridge` or `bridge-one`.\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> next_page alphanumeric string should be used here to show a list of the next page of results.\n\t * @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> previous_page alphanumeric string should be used here to show a list of the previous page of results.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> parameters. Only one parameter can be selected.</p> There are ten parameter options; `asset.name`, `asset.title`, `asset.created`, `asset.updated` and `asset_type.title`.</p> The default is `asset.name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listBridgeAssets({ bridgeName, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListBridgeAssetsParams, options?: IKvHttpRequestOptions): Observable<AssetListPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (pageSize != null) {\n\t\t\tqueryParameters['page_size'] = pageSize;\n\t\t}\n\n\t\tif (startingAfter != null) {\n\t\t\tqueryParameters['starting_after'] = startingAfter;\n\t\t}\n\n\t\tif (endingBefore != null) {\n\t\t\tqueryParameters['ending_before'] = endingBefore;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<AssetListPaginated>(`/bridges/${encodeURIComponent(String(bridgeName))}/assets/list`, requestConfig, AssetListPaginated);\n\t}\n\n\t/**\n\t * List Bridge Data Streams\n\t * List Bridge Data Streams Returns a list of all the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> // <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> pairs that have been deployed with the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. The specific connection details for each Kelvin Asset / Kelvin Metric pair are also returned in a payload. The payload structure will depend on the type of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. There are four types; OPC UA, MQTT, Modbus and ROC. You can apply a number of filters to the return list. **Pagination Sortable Columns:** `bridge_metric_asset.asset_name`, `bridge_metric_asset.metric_name` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param bridgeName <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> name to retrieve the data stream objects.</p> This is the unique identifier name and not the display name (title) of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param assetName Filter the data stream objects of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> which contain specific <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> names.\n\t * @param metricName Filter the data stream objects of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> which contain specific <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> names.\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response parameter under pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> next_page alphanumeric string should be used here to show a list of the next page of results.\n\t * @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response parameter under pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> previous_page alphanumeric string should be used here to show a list of the previous page of results.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> parameters. Only one parameter can be selected.</p> There are two parameter options; `bridge_metric_asset.asset_name`, `bridge_metric_asset.metric_name`.</p> The default is `bridge_metric_asset.asset_name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listBridgeDataStreams({ bridgeName, assetName, metricName, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListBridgeDataStreamsParams, options?: IKvHttpRequestOptions): Observable<BridgeDataStreamListPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (assetName != null) {\n\t\t\tqueryParameters['asset_name'] = assetName;\n\t\t}\n\n\t\tif (metricName != null) {\n\t\t\tqueryParameters['metric_name'] = metricName;\n\t\t}\n\n\t\tif (pageSize != null) {\n\t\t\tqueryParameters['page_size'] = pageSize;\n\t\t}\n\n\t\tif (startingAfter != null) {\n\t\t\tqueryParameters['starting_after'] = startingAfter;\n\t\t}\n\n\t\tif (endingBefore != null) {\n\t\t\tqueryParameters['ending_before'] = endingBefore;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<BridgeDataStreamListPaginated>(`/bridges/${encodeURIComponent(String(bridgeName))}/datastreams/list`, requestConfig, BridgeDataStreamListPaginated);\n\t}\n\n\t/**\n\t * List Bridge Metrics\n\t * List Bridge Metrics Returns a dictionary with a data property containing a list of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metrics</a> on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. **Pagination Sortable Columns:** `metric.name`, `metric.title`, `metric.created`, `metric.updated`, `metric.data_type_name` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metric</a> objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metrics</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> next_page alphanumeric string should be used here to show a list of the next page of results.\n\t * @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics/' target='_blank'>Kelvin Metrics</a> in the list.</p> The alphanumeric string which are the bookmarks for the beginning and end of the current list is given in the previous JSON response value under the key pagination -> previous_page and pagination -> next_page respectively.</p> The pagination -> previous_page alphanumeric string should be used here to show a list of the previous page of results.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> parameters. Only one parameter can be selected.</p> There are ten parameter options; `metric.name`, `metric.title`, `metric.created`, `metric.updated` and `metric.data_type_name`.</p> The default is `metric.name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listBridgeMetrics({ bridgeName, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListBridgeMetricsParams, options?: IKvHttpRequestOptions): Observable<MetricListPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (pageSize != null) {\n\t\t\tqueryParameters['page_size'] = pageSize;\n\t\t}\n\n\t\tif (startingAfter != null) {\n\t\t\tqueryParameters['starting_after'] = startingAfter;\n\t\t}\n\n\t\tif (endingBefore != null) {\n\t\t\tqueryParameters['ending_before'] = endingBefore;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<MetricListPaginated>(`/bridges/${encodeURIComponent(String(bridgeName))}/metrics/list`, requestConfig, MetricListPaginated);\n\t}\n\n\t/**\n\t * List MQTT Topics\n\t * List MQTT Topics Returns a dictionary with a data property containing a list of the MQTT topic payload options available on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a>. The MQTT topic payload definitions defines how <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridges</a> which are using the `mqtt` protocol will interpret incoming messages on a topic. **Sortable Columns:** `bridge_mqtt_topic.name`, `bridge_mqtt_topic.title`, `bridge_mqtt_topic.topic`, `bridge_mqtt_topic.created`, `bridge_mqtt_topic.updated` **Permission Required:** `kelvin.permission.bridge.read`\n\t * @param names Filter on the MQTT Topics by its name.</p> The filter is done on the full name only according to unique identifier name rules (Must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space but not at the beginning or end).</p> For example a filter with `topic-one` will return MQTT topics with the name `topic-one` but not with the names `topic-one-extended` or `topic`.\n\t * @param search Search and filter the MQTT Topic list. The Display Name, the Name and the Topic will be included in the search field criteria. This is given as an array, for example `[one,two]`.</p> The search is case insensitive and will find partial matches as well. For example if a MQTT TOpic name, display name or topic is `topic-one`, then a match will be made if the search string is `one` or `oPic`.\n\t * @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Assets</a> parameters. Only one parameter can be selected.</p> There are five parameter options; `bridge_mqtt_topic.name`, `bridge_mqtt_topic.title`, `bridge_mqtt_topic.topic`, `bridge_mqtt_topic.created`, `bridge_mqtt_topic.updated`.</p> The default is `bridge_mqtt_topic.name`\n\t * @param sortAsc Sorting order for the results according to the `sort_by` parameter.</p> There are two options; `true` (ascending order) and `false` (descending order).</p> The default is `true` (ascending).\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic listMQTTTopics({ names, search, sortBy, sortAsc }: IListMQTTTopicsParams = {}, options?: IKvHttpRequestOptions): Observable<MQTTTopicList> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\n\t\tconst queryParameters = {};\n\t\tif (names != null) {\n\t\t\tqueryParameters['names'] = names;\n\t\t}\n\n\t\tif (search != null) {\n\t\t\tqueryParameters['search'] = search;\n\t\t}\n\n\t\tif (sortBy != null) {\n\t\t\tqueryParameters['sort_by'] = sortBy;\n\t\t}\n\n\t\tif (sortAsc != null) {\n\t\t\tqueryParameters['sort_asc'] = sortAsc;\n\t\t}\n\n\t\trequestConfig.params = queryParameters;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<MQTTTopicList>(`/bridges/protocols/mqtt/configuration/list`, requestConfig, MQTTTopicList);\n\t}\n\n\t/**\n\t * Start Bridge\n\t * Start Bridge application Start a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. The <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> must already be deployed to a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. **Permission Required:** `kelvin.permission.bridge.update`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic startBridge({ bridgeName }: IStartBridgeParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<IKvHttpResponse>(`/bridges/${encodeURIComponent(String(bridgeName))}/start`, requestConfig);\n\t}\n\n\t/**\n\t * Stop Bridge\n\t * Stop Bridge application Stop a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>. The <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> must already be deployed to a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. **Permission Required:** `kelvin.permission.bridge.update`\n\t * @param bridgeName Unique identifier name for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a>.</p> This must contain only lowercase alphanumeric characters. The `.`, `_` and `-` characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic stopBridge({ bridgeName }: IStopBridgeParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'get' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<IKvHttpResponse>(`/bridges/${encodeURIComponent(String(bridgeName))}/stop`, requestConfig);\n\t}\n}\n"]}
|
|
@@ -15,8 +15,8 @@ export class ControlChangeService extends BaseService {
|
|
|
15
15
|
method: 'post'
|
|
16
16
|
};
|
|
17
17
|
requestConfig.data = controlChange;
|
|
18
|
-
requestConfig.mediaType = 'application/json';
|
|
19
18
|
requestConfig.options = options;
|
|
19
|
+
requestConfig.mediaType = 'application/json';
|
|
20
20
|
return this.request(`/control-changes/create`, requestConfig, ControlChange);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
@@ -51,8 +51,8 @@ export class ControlChangeService extends BaseService {
|
|
|
51
51
|
queryParameters['sort_asc'] = sortAsc;
|
|
52
52
|
}
|
|
53
53
|
requestConfig.params = queryParameters;
|
|
54
|
-
requestConfig.mediaType = 'application/json';
|
|
55
54
|
requestConfig.options = options;
|
|
55
|
+
requestConfig.mediaType = 'application/json';
|
|
56
56
|
return this.request(`/control-changes/sync/${encodeURIComponent(String(node))}/download`, requestConfig, ControlChangePaginated);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
@@ -65,8 +65,8 @@ export class ControlChangeService extends BaseService {
|
|
|
65
65
|
const requestConfig = {
|
|
66
66
|
method: 'get'
|
|
67
67
|
};
|
|
68
|
-
requestConfig.mediaType = 'application/json';
|
|
69
68
|
requestConfig.options = options;
|
|
69
|
+
requestConfig.mediaType = 'application/json';
|
|
70
70
|
return this.request(`/control-changes/${encodeURIComponent(String(controlChangeId))}/get`, requestConfig, ControlChangeGet);
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
@@ -80,8 +80,8 @@ export class ControlChangeService extends BaseService {
|
|
|
80
80
|
method: 'post'
|
|
81
81
|
};
|
|
82
82
|
requestConfig.data = controlChangeClustering;
|
|
83
|
-
requestConfig.mediaType = 'application/json';
|
|
84
83
|
requestConfig.options = options;
|
|
84
|
+
requestConfig.mediaType = 'application/json';
|
|
85
85
|
return this.request(`/control-changes/clustering/get`, requestConfig, ControlChangeClustering);
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
@@ -117,8 +117,8 @@ export class ControlChangeService extends BaseService {
|
|
|
117
117
|
}
|
|
118
118
|
requestConfig.params = queryParameters;
|
|
119
119
|
requestConfig.data = controlChangeLast;
|
|
120
|
-
requestConfig.mediaType = 'application/json';
|
|
121
120
|
requestConfig.options = options;
|
|
121
|
+
requestConfig.mediaType = 'application/json';
|
|
122
122
|
return this.request(`/control-changes/last/get`, requestConfig, ControlChangeGetPaginated);
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
@@ -154,8 +154,8 @@ export class ControlChangeService extends BaseService {
|
|
|
154
154
|
}
|
|
155
155
|
requestConfig.params = queryParameters;
|
|
156
156
|
requestConfig.data = controlChangeRange;
|
|
157
|
-
requestConfig.mediaType = 'application/json';
|
|
158
157
|
requestConfig.options = options;
|
|
158
|
+
requestConfig.mediaType = 'application/json';
|
|
159
159
|
return this.request(`/control-changes/range/get`, requestConfig, ControlChangeGetPaginated);
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
@@ -191,8 +191,8 @@ export class ControlChangeService extends BaseService {
|
|
|
191
191
|
}
|
|
192
192
|
requestConfig.params = queryParameters;
|
|
193
193
|
requestConfig.data = controlChangeList;
|
|
194
|
-
requestConfig.mediaType = 'application/json';
|
|
195
194
|
requestConfig.options = options;
|
|
195
|
+
requestConfig.mediaType = 'application/json';
|
|
196
196
|
return this.request(`/control-changes/list`, requestConfig, ControlChangeGetPaginated);
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
@@ -207,8 +207,8 @@ export class ControlChangeService extends BaseService {
|
|
|
207
207
|
method: 'post'
|
|
208
208
|
};
|
|
209
209
|
requestConfig.data = controlChange;
|
|
210
|
-
requestConfig.mediaType = 'application/json';
|
|
211
210
|
requestConfig.options = options;
|
|
211
|
+
requestConfig.mediaType = 'application/json';
|
|
212
212
|
return this.request(`/control-changes/sync/${encodeURIComponent(String(node))}/upload`, requestConfig);
|
|
213
213
|
}
|
|
214
214
|
}
|