@kelvininc/js-client-sdk 7.11.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 +44 -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.d.ts +1 -1
- package/dist/cjs/services/generated/api/uI.service.js +3 -3
- 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/controlChangeListData.d.ts +2 -1
- package/dist/cjs/services/generated/models/controlChangeListData.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/generated/types/uI.service.types.d.ts +1 -1
- package/dist/cjs/services/generated/types/uI.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.d.ts +1 -1
- package/dist/esm/services/generated/api/uI.service.js +3 -3
- 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/controlChangeListData.d.ts +2 -1
- package/dist/esm/services/generated/models/controlChangeListData.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/generated/types/uI.service.types.d.ts +1 -1
- package/dist/esm/services/generated/types/uI.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controlChange.service.js","sourceRoot":"","sources":["../../../../../src/services/generated/api/controlChange.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9I,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AASjD;;GAEG;AAEH,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IAEpD;;;;;OAKG;IAEH,MAAM,CAAC,mBAAmB,CAAC,EAAE,aAAa,EAA8B,EAAE,OAA+B;QAExG,MAAM,aAAa,GAAmB;YACrC,MAAM,EAAE,MAAuB;SAC/B,CAAC;QACF,aAAa,CAAC,IAAI,GAAG,aAAa,CAAC;QAEnC,aAAa,CAAC,SAAS,GAAG,kBAAkB,CAAC;QAC7C,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;QAEhC,OAAO,IAAI,CAAC,OAAO,CAAgB,yBAAyB,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;;;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,GAAG,OAAO,CAAC;QAEhC,OAAO,IAAI,CAAC,OAAO,CAAkB,yBAAyB,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IACzH,CAAC;CACD","sourcesContent":["import { Observable } from 'rxjs';\nimport { EKvHttpMethod, IKvHttpRequest, IKvHttpRequestOptions, IKvHttpResponse } from '../../../core/http';\nimport { ControlChange, ControlChangeClustering, ControlChangeGet, ControlChangeGetPaginated, ControlChangePaginated } from '../../../models';\nimport { BaseService } from '../../base.service';\nimport {\n\tICreateControlChangeParams,\n\tIDownloadControlChangeParams, IGetControlChangeClusteringParams, IGetControlChangeParams, IGetLastControlChangeParams,\n\tIGetRangeControlChangeParams,\n\tIListControlChangeParams,\n\tIUploadControlChangeParams\n} from '../types';\n\n/**\n * @category Service\n */\n\nexport class ControlChangeService extends BaseService {\n\n\t/**\n\t * Create Control Change\n\t * Create Control Change Send a new value to be written to a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pair. The <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> Manager will automatically find which <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> hosts the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pair. **Permission Required:** `kelvin.permission.control_change.create`\n\t * @param controlChange Control change create schema\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic createControlChange({ controlChange }: ICreateControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChange> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.data = controlChange;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<ControlChange>(`/control-changes/create`, requestConfig, ControlChange);\n\t}\n\n\t/**\n\t * Download Control Change\n\t * Download Control Change This is required only for internal <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> management. It will download all control changes on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> tagged as `pending` to the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. **Pagination Sortable Columns:** `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp` **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param node Name of an existing <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> to check for <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> objects tagged as `pending` on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> and initiate download to this <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</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-control-change/' target='_blank'>Kelvin Control Change</a> request objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Kelvin Asset Statistic 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-control-change/' target='_blank'>Kelvin Control Change</a> requests 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-control-change/' target='_blank'>Kelvin Control Change</a> requests 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 Asset</a> parameters. Only one parameter can be selected.</p> There are sevens parameter options; `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp`.</p> The default is `control_change.id`\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 downloadControlChange({ node, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IDownloadControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangePaginated> {\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<ControlChangePaginated>(`/control-changes/sync/${encodeURIComponent(String(node))}/download`, requestConfig, ControlChangePaginated);\n\t}\n\n\t/**\n\t * Get Control Change\n\t * Get Control Change Returns the properties of a single <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> request via its unique ID. Returned object will not only give the `status` and `payload` of the last <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> but also the `status_log` containing the information of when the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> was created, sent to bridge and confirmed with a read. **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeId Unique identifier id for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a>.</p> This must contain only lowercase alphanumeric characters and the `-` character only. For example `764168a8-0e1e-33aa-adc7-14dfbb78dfad`\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic getControlChange({ controlChangeId }: IGetControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangeGet> {\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<ControlChangeGet>(`/control-changes/${encodeURIComponent(String(controlChangeId))}/get`, requestConfig, ControlChangeGet);\n\t}\n\n\t/**\n\t * Get Control Change Clustering\n\t * Get Control Change Clustering **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeClustering Control Change Clustering schema\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic getControlChangeClustering({ controlChangeClustering }: IGetControlChangeClusteringParams, options?: IKvHttpRequestOptions): Observable<ControlChangeClustering[]> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.data = controlChangeClustering;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<ControlChangeClustering[]>(`/control-changes/clustering/get`, requestConfig, ControlChangeClustering);\n\t}\n\n\t/**\n\t * Get Last Control Change\n\t * Get Last Control Change Returns a list of the last <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> for each <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pairs for each of the body parameters in the array `asset_names`. The list will include <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Changes</a> that succeeded, failed or are pending. Each object will not only give the `status` and `payload` of the last <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> but also the `status_log` containing the information of when the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> was created, sent to bridge and confirmed with a read. **Pagination Sortable Columns:** `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp` **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeLast Last control change schema\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Kelvin Asset Statistic objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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 the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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-control-change/' target='_blank'>Kelvin Control Change</a> parameters. Only one parameter can be selected.</p> There are seven parameter options; `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated` and `control_change.timestamp`.</p> The default is `control_change.id`\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 getLastControlChange({ controlChangeLast, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IGetLastControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangeGetPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' 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.data = controlChangeLast;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<ControlChangeGetPaginated>(`/control-changes/last/get`, requestConfig, ControlChangeGetPaginated);\n\t}\n\n\t/**\n\t * Get Range Control Change\n\t * Get Range Control Change. Returns a list of the history of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> status changes that have happened within a date range for each <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pairs for each of the body parameters in the array `asset_names`. **Pagination Sortable Columns:** `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp` **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeRange Control change range schema\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Kelvin Asset Statistic objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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 the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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-control-change/' target='_blank'>Kelvin Control Change</a> parameters. Only one parameter can be selected.</p> There are seven parameter options; `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated` and `control_change.timestamp`.</p> The default is `control_change.id`.\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 getRangeControlChange({ controlChangeRange, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IGetRangeControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangeGetPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' 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.data = controlChangeRange;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<ControlChangeGetPaginated>(`/control-changes/range/get`, requestConfig, ControlChangeGetPaginated);\n\t}\n\n\t/**\n\t * List Control Change\n\t * List Control Change lists the Control Changes for each asset metric. Returns a list of the history of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> requests for each <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pairs for each of the body parameters in the array `asset_names`. **Pagination Sortable Columns:** `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp` **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeList Control change list schema\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Kelvin Asset Statistic objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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 the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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-control-change/' target='_blank'>Kelvin Control Change</a> parameters. Only one parameter can be selected.</p> There are seven parameter options; `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated` and `control_change.timestamp`.</p> The default is `control_change.id`.\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 listControlChange({ controlChangeList, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangeGetPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' 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.data = controlChangeList;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<ControlChangeGetPaginated>(`/control-changes/list`, requestConfig, ControlChangeGetPaginated);\n\t}\n\n\t/**\n\t * Upload Control Change\n\t * Upload Control Change This is required only for internal <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> management. It will update the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> with the current status of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> requests on a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. **Permission Required:** `kelvin.permission.control_change.create`\n\t * @param node Name of an existing <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> to check <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> statuses and initiate upload (synchronize) to the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</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 controlChange Control change upload schema\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic uploadControlChange({ node, controlChange }: IUploadControlChangeParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.data = controlChange;\n\n\t\trequestConfig.mediaType = 'application/json';\n\t\trequestConfig.options = options;\n\n\t\treturn this.request<IKvHttpResponse>(`/control-changes/sync/${encodeURIComponent(String(node))}/upload`, requestConfig);\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"controlChange.service.js","sourceRoot":"","sources":["../../../../../src/services/generated/api/controlChange.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9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AAG,iBAAiB,CAAC;QACvC,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;QAChC,aAAa,CAAC,SAAS,GAAG,kBAAkB,CAAC;QAE7C,OAAO,IAAI,CAAC,OAAO,CAA4B,uBAAuB,EAAE,aAAa,EAAE,yBAAyB,CAAC,CAAC;IACnH,CAAC;IAED;;;;;;OAMG;IAEH,MAAM,CAAC,mBAAmB,CAAC,EAAE,IAAI,EAAE,aAAa,EAA8B,EAAE,OAA+B;QAE9G,MAAM,aAAa,GAAmB;YACrC,MAAM,EAAE,MAAuB;SAC/B,CAAC;QACF,aAAa,CAAC,IAAI,GAAG,aAAa,CAAC;QACnC,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;QAChC,aAAa,CAAC,SAAS,GAAG,kBAAkB,CAAC;QAE7C,OAAO,IAAI,CAAC,OAAO,CAAkB,yBAAyB,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IACzH,CAAC;CACD","sourcesContent":["import { Observable } from 'rxjs';\nimport { EKvHttpMethod, IKvHttpRequest, IKvHttpRequestOptions, IKvHttpResponse } from '../../../core/http';\nimport { ControlChange, ControlChangeClustering, ControlChangeGet, ControlChangeGetPaginated, ControlChangePaginated } from '../../../models';\nimport { BaseService } from '../../base.service';\nimport {\n\tICreateControlChangeParams,\n\tIDownloadControlChangeParams, IGetControlChangeClusteringParams, IGetControlChangeParams, IGetLastControlChangeParams,\n\tIGetRangeControlChangeParams,\n\tIListControlChangeParams,\n\tIUploadControlChangeParams\n} from '../types';\n\n/**\n * @category Service\n */\n\nexport class ControlChangeService extends BaseService {\n\n\t/**\n\t * Create Control Change\n\t * Create Control Change Send a new value to be written to a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pair. The <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> Manager will automatically find which <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> hosts the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-bridges/' target='_blank'>Kelvin Bridge</a> with the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pair. **Permission Required:** `kelvin.permission.control_change.create`\n\t * @param controlChange Control change create schema\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic createControlChange({ controlChange }: ICreateControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChange> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.data = controlChange;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<ControlChange>(`/control-changes/create`, requestConfig, ControlChange);\n\t}\n\n\t/**\n\t * Download Control Change\n\t * Download Control Change This is required only for internal <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> management. It will download all control changes on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> tagged as `pending` to the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. **Pagination Sortable Columns:** `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp` **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param node Name of an existing <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> to check for <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> objects tagged as `pending` on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> and initiate download to this <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</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-control-change/' target='_blank'>Kelvin Control Change</a> request objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Kelvin Asset Statistic 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-control-change/' target='_blank'>Kelvin Control Change</a> requests 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-control-change/' target='_blank'>Kelvin Control Change</a> requests 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 Asset</a> parameters. Only one parameter can be selected.</p> There are sevens parameter options; `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp`.</p> The default is `control_change.id`\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 downloadControlChange({ node, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IDownloadControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangePaginated> {\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<ControlChangePaginated>(`/control-changes/sync/${encodeURIComponent(String(node))}/download`, requestConfig, ControlChangePaginated);\n\t}\n\n\t/**\n\t * Get Control Change\n\t * Get Control Change Returns the properties of a single <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> request via its unique ID. Returned object will not only give the `status` and `payload` of the last <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> but also the `status_log` containing the information of when the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> was created, sent to bridge and confirmed with a read. **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeId Unique identifier id for the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a>.</p> This must contain only lowercase alphanumeric characters and the `-` character only. For example `764168a8-0e1e-33aa-adc7-14dfbb78dfad`\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic getControlChange({ controlChangeId }: IGetControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangeGet> {\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<ControlChangeGet>(`/control-changes/${encodeURIComponent(String(controlChangeId))}/get`, requestConfig, ControlChangeGet);\n\t}\n\n\t/**\n\t * Get Control Change Clustering\n\t * Get Control Change Clustering **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeClustering Control Change Clustering schema\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic getControlChangeClustering({ controlChangeClustering }: IGetControlChangeClusteringParams, options?: IKvHttpRequestOptions): Observable<ControlChangeClustering[]> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.data = controlChangeClustering;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<ControlChangeClustering[]>(`/control-changes/clustering/get`, requestConfig, ControlChangeClustering);\n\t}\n\n\t/**\n\t * Get Last Control Change\n\t * Get Last Control Change Returns a list of the last <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> for each <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pairs for each of the body parameters in the array `asset_names`. The list will include <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Changes</a> that succeeded, failed or are pending. Each object will not only give the `status` and `payload` of the last <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> but also the `status_log` containing the information of when the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> was created, sent to bridge and confirmed with a read. **Pagination Sortable Columns:** `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp` **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeLast Last control change schema\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Kelvin Asset Statistic objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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 the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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-control-change/' target='_blank'>Kelvin Control Change</a> parameters. Only one parameter can be selected.</p> There are seven parameter options; `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated` and `control_change.timestamp`.</p> The default is `control_change.id`\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 getLastControlChange({ controlChangeLast, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IGetLastControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangeGetPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' 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.data = controlChangeLast;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<ControlChangeGetPaginated>(`/control-changes/last/get`, requestConfig, ControlChangeGetPaginated);\n\t}\n\n\t/**\n\t * Get Range Control Change\n\t * Get Range Control Change. Returns a list of the history of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> status changes that have happened within a date range for each <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pairs for each of the body parameters in the array `asset_names`. **Pagination Sortable Columns:** `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp` **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeRange Control change range schema\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Kelvin Asset Statistic objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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 the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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-control-change/' target='_blank'>Kelvin Control Change</a> parameters. Only one parameter can be selected.</p> There are seven parameter options; `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated` and `control_change.timestamp`.</p> The default is `control_change.id`.\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 getRangeControlChange({ controlChangeRange, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IGetRangeControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangeGetPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' 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.data = controlChangeRange;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<ControlChangeGetPaginated>(`/control-changes/range/get`, requestConfig, ControlChangeGetPaginated);\n\t}\n\n\t/**\n\t * List Control Change\n\t * List Control Change lists the Control Changes for each asset metric. Returns a list of the history of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> requests for each <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/' target='_blank'>Kelvin Asset</a> / <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-metrics' target='_blank'>Kelvin Metric</a> pairs for each of the body parameters in the array `asset_names`. **Pagination Sortable Columns:** `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated`, `control_change.timestamp` **Permission Required:** `kelvin.permission.control_change.read`\n\t * @param controlChangeList Control change list schema\n\t * @param pageSize Number of <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Kelvin Asset Statistic objects.\n\t * @param startingAfter An alphanumeric string to move to the next page of the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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 the <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> 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-control-change/' target='_blank'>Kelvin Control Change</a> parameters. Only one parameter can be selected.</p> There are seven parameter options; `control_change.id`, `control_change.asset_name`, `control_change.metric_name`, `control_change.last_state`, `control_change.created`, `control_change.updated` and `control_change.timestamp`.</p> The default is `control_change.id`.\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 listControlChange({ controlChangeList, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListControlChangeParams, options?: IKvHttpRequestOptions): Observable<ControlChangeGetPaginated> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' 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.data = controlChangeList;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<ControlChangeGetPaginated>(`/control-changes/list`, requestConfig, ControlChangeGetPaginated);\n\t}\n\n\t/**\n\t * Upload Control Change\n\t * Upload Control Change This is required only for internal <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> management. It will update the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> with the current status of all <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> requests on a <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a>. **Permission Required:** `kelvin.permission.control_change.create`\n\t * @param node Name of an existing <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-nodes/' target='_blank'>Kelvin Node</a> to check <a href='https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-control-change/' target='_blank'>Kelvin Control Change</a> statuses and initiate upload (synchronize) to the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</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 controlChange Control change upload schema\n\t * @param {IKvHttpRequestOptions} options Request optional parameters\n\t */\n\n\tstatic uploadControlChange({ node, controlChange }: IUploadControlChangeParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse> {\n\n\t\tconst requestConfig: IKvHttpRequest = {\n\t\t\tmethod: 'post' as EKvHttpMethod\n\t\t};\n\t\trequestConfig.data = controlChange;\n\t\trequestConfig.options = options;\n\t\trequestConfig.mediaType = 'application/json';\n\n\t\treturn this.request<IKvHttpResponse>(`/control-changes/sync/${encodeURIComponent(String(node))}/upload`, requestConfig);\n\t}\n}\n"]}
|
|
@@ -9,180 +9,180 @@ import { ICreateDataLabelParams, ICreateLabelMetadataBulkParams, ICreateLabelMet
|
|
|
9
9
|
export declare class DataLabelService extends BaseService {
|
|
10
10
|
/**
|
|
11
11
|
* Create Data Label
|
|
12
|
-
* Create Data Label
|
|
12
|
+
* Create Data Label <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> are a way to annotate specific events for one or more <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. This is particularly useful if you need to freeze a set of data points and decision making notes from the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> and/or from third party applications (such as an MES or a specialized machine learning model) in one data package that can be visualized on a dashboard or retrieved at a later date for analysis. **Permission Required:** `kelvin.permission.data_label.create`
|
|
13
13
|
* @param datalabel DataLabel create schema
|
|
14
14
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
15
15
|
*/
|
|
16
16
|
static createDataLabel({ datalabel }: ICreateDataLabelParams, options?: IKvHttpRequestOptions): Observable<DataLabel>;
|
|
17
17
|
/**
|
|
18
18
|
* Create Label
|
|
19
|
-
* Create Label **Permission Required:** `kelvin.permission.data_label.create`
|
|
19
|
+
* Create Label Creates a label that can be used as a reference and filter in <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a>. Tip: When a create/update <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> API request is performed and the Label does not exist, this `Create Label` API request will be automatically performed. **Permission Required:** `kelvin.permission.data_label.create`
|
|
20
20
|
* @param label Label create schema
|
|
21
21
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
22
22
|
*/
|
|
23
23
|
static createLabel({ label }: ICreateLabelParams, options?: IKvHttpRequestOptions): Observable<Label>;
|
|
24
24
|
/**
|
|
25
25
|
* Create Label Metadata
|
|
26
|
-
* Create Label Metadata **Permission Required:** `kelvin.permission.data_label.create`
|
|
27
|
-
* @param labelName Label name
|
|
26
|
+
* Create Label Metadata Creates a custom JSON payload that can be attached to a Label. You can create multiple different types of metadata payloads for each Label. When performing a `get` or `list` API request on Label or <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> then you can also add this metadata name. This Label Metadata payload will then be embedded in the response. For listing Labels you can also perform filters on the Label Metadata payload to only return labels with Metadata Label payload parameters matching the filters. This Label Metadata does not affect the operations of Labels or <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> on the Kelvin Platform. Label Metadata is not available in the <a href=\"https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-manager-ui\" target=\"_blank\">Kelvin Manager UI</a>. **Permission Required:** `kelvin.permission.data_label.create`
|
|
27
|
+
* @param labelName Unique identifier name for the Label.</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.
|
|
28
28
|
* @param labelmetadata Label Metadata create schema
|
|
29
29
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
30
30
|
*/
|
|
31
31
|
static createLabelMetadata({ labelName, labelmetadata }: ICreateLabelMetadataParams, options?: IKvHttpRequestOptions): Observable<LabelMetadata>;
|
|
32
32
|
/**
|
|
33
33
|
* Create Label Metadata Bulk
|
|
34
|
-
* Create Label Metadata Bulk **Permission Required:** `kelvin.permission.data_label.create`
|
|
34
|
+
* Create Label Metadata Bulk Bulk create option for create Label Metadata API which creates a custom JSON payload that can be attached to a Label. You can create multiple different types of metadata payloads for each Label. When performing a `get` or `list` API request on Label or <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> then you can also add a metadata parameter. The Label Metadata payload will then be embedded in the response. For listing Labels you can also perform filters on the Label Metadata payload to only return labels with Metadata Label payload parameters matching the filters. This Label Metadata does not affect the operations of Labels or <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> on the Kelvin Platform. Label Metadata is not available in the <a href=\"https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-manager-ui\" target=\"_blank\">Kelvin Manager UI</a>. **Permission Required:** `kelvin.permission.data_label.create`
|
|
35
35
|
* @param labelmetadatabulk Label Bulk Metadata create schema
|
|
36
36
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
37
37
|
*/
|
|
38
38
|
static createLabelMetadataBulk({ labelmetadatabulk }: ICreateLabelMetadataBulkParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse>;
|
|
39
39
|
/**
|
|
40
40
|
* Delete Data Label
|
|
41
|
-
* Delete Data Label **Permission Required:** `kelvin.permission.data_label.delete`
|
|
42
|
-
* @param datalabelId Data Label
|
|
41
|
+
* Delete Data Label Permanently delete an existing <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a>. This cannot be undone once the API request has been submitted. **Permission Required:** `kelvin.permission.data_label.delete`
|
|
42
|
+
* @param datalabelId Unique integer number for the <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Label</a> to update.</p> This is similar to a primary key in a database which is a unique integer number representing one row of data.
|
|
43
43
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
44
44
|
*/
|
|
45
45
|
static deleteDataLabel({ datalabelId }: IDeleteDataLabelParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse>;
|
|
46
46
|
/**
|
|
47
47
|
* Delete Label
|
|
48
|
-
* Delete Label **Permission Required:** `kelvin.permission.data_label.delete`
|
|
49
|
-
* @param labelName Label name
|
|
48
|
+
* Delete Label Permanently delete an existing Label. This cannot be undone once the API request has been submitted. <span style=\"color: #ff0000;font-weight: bold;\">WARNING</span> : If you delete a Label, all related <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> will also be permanently deleted ! **Permission Required:** `kelvin.permission.data_label.delete`
|
|
49
|
+
* @param labelName Unique identifier name for the Label.</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.
|
|
50
50
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
51
51
|
*/
|
|
52
52
|
static deleteLabel({ labelName }: IDeleteLabelParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse>;
|
|
53
53
|
/**
|
|
54
54
|
* Delete Label Metadata
|
|
55
|
-
* Delete Label Metadata **Permission Required:** `kelvin.permission.data_label.delete`
|
|
56
|
-
* @param labelName Label name
|
|
57
|
-
* @param labelMetadataName Label Metadata name
|
|
55
|
+
* Delete Label Metadata Permanently delete an existing Label Metadata object associated with a specific Label. This cannot be undone once the API request has been submitted. This will only delete the specific Label Metadata object linked to the Label. If there is a Label Metadata object with the same name and payload BUT associated with a different Label, this will not be deleted. **Permission Required:** `kelvin.permission.data_label.delete`
|
|
56
|
+
* @param labelName Unique identifier name for the Label.</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.
|
|
57
|
+
* @param labelMetadataName Label Metadata unique identifier name to retrieve.</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.
|
|
58
58
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
59
59
|
*/
|
|
60
60
|
static deleteLabelMetadata({ labelName, labelMetadataName }: IDeleteLabelMetadataParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse>;
|
|
61
61
|
/**
|
|
62
62
|
* Delete Label Metadata Bulk
|
|
63
|
-
* Delete Label Metadata Bulk **Permission Required:** `kelvin.permission.data_label.delete`
|
|
63
|
+
* Delete Label Metadata Bulk Bulk delete option for delete Label Metadata API which permanently deletes an existing Label Metadata object associated with a specific Label. This cannot be undone once the API request has been submitted. This will only delete the specific Label Metadata object linked to the Label. If there is a Label Metadata object with the same name and payload BUT associated with a different Label, this will not be deleted. **Permission Required:** `kelvin.permission.data_label.delete`
|
|
64
64
|
* @param labelmetadatabulk Label Bulk Metadata delete schema
|
|
65
65
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
66
66
|
*/
|
|
67
67
|
static deleteLabelMetadataBulk({ labelmetadatabulk }: IDeleteLabelMetadataBulkParams, options?: IKvHttpRequestOptions): Observable<IKvHttpResponse>;
|
|
68
68
|
/**
|
|
69
69
|
* Filter Data Label
|
|
70
|
-
* Filter Data Label **Pagination Sortable Columns:** `data_label.id` **Permission Required:** `kelvin.permission.data_label.read`
|
|
70
|
+
* Filter Data Label An advanced version of List Data Label which allows you to also filter on <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. All other options in List Data Label API are also available in this API request. **Pagination Sortable Columns:** `data_label.id` **Permission Required:** `kelvin.permission.data_label.read`
|
|
71
71
|
* @param datalabelfilter Data Label filter schema
|
|
72
|
-
* @param pageSize Number of objects to be returned
|
|
73
|
-
* @param startingAfter
|
|
74
|
-
* @param endingBefore
|
|
75
|
-
* @param sortBy
|
|
76
|
-
* @param sortAsc
|
|
72
|
+
* @param pageSize Number of <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</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/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> objects.
|
|
73
|
+
* @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</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.
|
|
74
|
+
* @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</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.
|
|
75
|
+
* @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> parameters. Only one parameter can be selected.</p> There in only one parameter option; `data_label.id`.</p> The default is `data_label.id`
|
|
76
|
+
* @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).
|
|
77
77
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
78
78
|
*/
|
|
79
79
|
static filterDataLabel({ datalabelfilter, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IFilterDataLabelParams, options?: IKvHttpRequestOptions): Observable<DataLabelListPaginated>;
|
|
80
80
|
/**
|
|
81
81
|
* Get Data Label
|
|
82
|
-
* Get Data Label **Permission Required:** `kelvin.permission.data_label.read`
|
|
83
|
-
* @param datalabelId Data Label
|
|
82
|
+
* Get Data Label Retrieve the properties of a <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Label</a>. **Permission Required:** `kelvin.permission.data_label.read`
|
|
83
|
+
* @param datalabelId Unique integer number for the <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Label</a> to update.</p> This is similar to a primary key in a database which is a unique integer number representing one row of data.
|
|
84
84
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
85
85
|
*/
|
|
86
86
|
static getDataLabel({ datalabelId }: IGetDataLabelParams, options?: IKvHttpRequestOptions): Observable<DataLabel>;
|
|
87
87
|
/**
|
|
88
88
|
* Get Data Label Last
|
|
89
|
-
* Get Data Label Last
|
|
89
|
+
* Get Data Label Last Retrieve the properties of only the last <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Label</a> entry.</p> Some options are available to limit the search criteria or range. </p> Finding the last entry can be limited to either after `start_date` or before `end_date` or between the two dates. Also an array of <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 or Label names can be filtered. **Permission Required:** `kelvin.permission.data_label.read`
|
|
90
90
|
* @param datalabelrangeget Data Label range get schema
|
|
91
91
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
92
92
|
*/
|
|
93
93
|
static getDataLabelLast({ datalabelrangeget }: IGetDataLabelLastParams, options?: IKvHttpRequestOptions): Observable<DataLabel[]>;
|
|
94
94
|
/**
|
|
95
95
|
* Get Data Label Range
|
|
96
|
-
* Get Data Label Range
|
|
96
|
+
* Get Data Label Range Retrieve the properties of a list of <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> where the `start_date` or `end_date` of the <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> is within the range of this GET API `start_date` and `end_date`. **Permission Required:** `kelvin.permission.data_label.read`
|
|
97
97
|
* @param datalabelrangeget Data Label range get schema
|
|
98
98
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
99
99
|
*/
|
|
100
100
|
static getDataLabelRange({ datalabelrangeget }: IGetDataLabelRangeParams, options?: IKvHttpRequestOptions): Observable<DataLabel[]>;
|
|
101
101
|
/**
|
|
102
102
|
* Get Data Labels Clustering
|
|
103
|
-
* Get Data Labels Clustering
|
|
103
|
+
* Get Data Labels Clustering Groups and counts the occurrence of Label Names within a defined time bucket for recorded <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a>. The grouping can also be filtered to only include certain parameters of <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a>. For example you can filter on Label names, <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, and time range. **Permission Required:** `kelvin.permission.data_label.read`
|
|
104
104
|
* @param datalabelclustering Data Label range cluster schema
|
|
105
105
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
106
106
|
*/
|
|
107
107
|
static getDataLabelsClustering({ datalabelclustering }: IGetDataLabelsClusteringParams, options?: IKvHttpRequestOptions): Observable<DataLabelCluster[]>;
|
|
108
108
|
/**
|
|
109
109
|
* Get Label
|
|
110
|
-
* Get Label **Permission Required:** `kelvin.permission.data_label.read`
|
|
111
|
-
* @param labelName Label name
|
|
112
|
-
* @param metadata Inject
|
|
110
|
+
* Get Label Retrieve the properties of a Label. **Permission Required:** `kelvin.permission.data_label.read`
|
|
111
|
+
* @param labelName Unique identifier name for the Label.</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.
|
|
112
|
+
* @param metadata Inject Label Metadata into the response
|
|
113
113
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
114
114
|
*/
|
|
115
115
|
static getLabel({ labelName, metadata }: IGetLabelParams, options?: IKvHttpRequestOptions): Observable<Label>;
|
|
116
116
|
/**
|
|
117
117
|
* Get Label Metadata
|
|
118
|
-
* Get Label Metadata **Permission Required:** `kelvin.permission.data_label.read`
|
|
119
|
-
* @param labelName Label name
|
|
120
|
-
* @param labelMetadataName Label Metadata name
|
|
118
|
+
* Get Label Metadata Retrieves the Label Metadata object associated with a Label. This will only retrieve the specific Label Metadata object linked to the Label. If there is a Label Metadata object with the same name and payload BUT associated with a different Label, this will not be retrieved. **Permission Required:** `kelvin.permission.data_label.read`
|
|
119
|
+
* @param labelName Unique identifier name for the Label.</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.
|
|
120
|
+
* @param labelMetadataName Label Metadata unique identifier name to retrieve.</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.
|
|
121
121
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
122
122
|
*/
|
|
123
123
|
static getLabelMetadata({ labelName, labelMetadataName }: IGetLabelMetadataParams, options?: IKvHttpRequestOptions): Observable<LabelMetadata>;
|
|
124
124
|
/**
|
|
125
125
|
* List Data Label
|
|
126
|
-
* List Data Label **Pagination Sortable Columns:** `data_label.id` **Permission Required:** `kelvin.permission.data_label.read`
|
|
127
|
-
* @param search Search
|
|
128
|
-
* @param pageSize Number of objects to be returned
|
|
129
|
-
* @param startingAfter
|
|
130
|
-
* @param endingBefore
|
|
131
|
-
* @param sortBy
|
|
132
|
-
* @param sortAsc
|
|
126
|
+
* List Data Label Returns an array of dictionary objects with all the <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> based on any of the parameters given. If no parameters are given, all <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> will be returned. **Pagination Sortable Columns:** `data_label.id` **Permission Required:** `kelvin.permission.data_label.read`
|
|
127
|
+
* @param search Search and filter the <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> list. Both the Display Name (title) and the Name will be included in the search field criteria. This is given as an array, for example `[pump,fan]`.</p> The search is case insensitive and will find partial matches as well. For example if a <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> name or display name is `centrifugal_pump`, then a match will be made if the search string is `pum` or `FUGaL`.
|
|
128
|
+
* @param pageSize Number of <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</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/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> objects.
|
|
129
|
+
* @param startingAfter An alphanumeric string to move to the next page of <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</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.
|
|
130
|
+
* @param endingBefore An alphanumeric string to move to the previous page of <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</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.
|
|
131
|
+
* @param sortBy Sort the results by one of the <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> parameters. Only one parameter can be selected.</p> There in only one parameter option; `data_label.id`.</p> The default is `data_label.id`
|
|
132
|
+
* @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).
|
|
133
133
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
134
134
|
*/
|
|
135
135
|
static listDataLabel({ search, pageSize, startingAfter, endingBefore, sortBy, sortAsc }?: IListDataLabelParams, options?: IKvHttpRequestOptions): Observable<DataLabelListPaginated>;
|
|
136
136
|
/**
|
|
137
137
|
* List Label
|
|
138
|
-
* List Label **Pagination Sortable Columns:** `label.name` **Permission Required:** `kelvin.permission.data_label.read`
|
|
139
|
-
* @param names Filter
|
|
140
|
-
* @param search Search
|
|
141
|
-
* @param metadata Inject
|
|
142
|
-
* @param metadataFilter
|
|
143
|
-
* @param pageSize Number of objects to be returned
|
|
144
|
-
* @param startingAfter
|
|
145
|
-
* @param endingBefore
|
|
146
|
-
* @param sortBy
|
|
147
|
-
* @param sortAsc
|
|
138
|
+
* List Label Returns a dictionary with a data property containing a list of all Labels on the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a>. **Pagination Sortable Columns:** `label.name` **Permission Required:** `kelvin.permission.data_label.read`
|
|
139
|
+
* @param names Filter Label on the parameter by its name. This is given as an array, for example `[extruder,tank]`.</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,tank]` will return Labels with the name `extruder` but not with the names `demo-ch-extruder-gear-setpoint` or `demo-og-gas-tank-level`.
|
|
140
|
+
* @param search Search and filter the Label list. Both the Display Name (title) and the Name will be included in the filter field criteria. This is given as an array, for example `[extruder,tank]`.</p> The search is case insensitive and will find partial matches as well. For example if a Label name or display name is `demo-og-centrifugal-pump-speed`, then a match will be made if the filter string is `demo` or `FUGaL`.
|
|
141
|
+
* @param metadata Inject Label Metadata into the response
|
|
142
|
+
* @param metadataFilter Array of metadata keys/value filter conditions. For <metadata_name> with the same name, the filter conditions will result in OR queries. For <metadata_name> with different names will result in AND queries. Example: [ <metadata_name>.<payload_key_to_search>=<payload_value_to_search>, <metadata_name2>.<payload_key2_to_search>=<payload_value2_to_search> ]
|
|
143
|
+
* @param pageSize Number of Label objects to be returned. Page size can be between 1 and 1000 objects.</p> The default is 20 Label objects.
|
|
144
|
+
* @param startingAfter An alphanumeric string to move to the next page of Labels 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.
|
|
145
|
+
* @param endingBefore An alphanumeric string to move to the previous page of Labels 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.
|
|
146
|
+
* @param sortBy Sort the results by one of the Label parameters. Only one parameter can be selected.</p> There is only parameter option available which is also the default; `label.name`.
|
|
147
|
+
* @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).
|
|
148
148
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
149
149
|
*/
|
|
150
150
|
static listLabel({ names, search, metadata, metadataFilter, pageSize, startingAfter, endingBefore, sortBy, sortAsc }?: IListLabelParams, options?: IKvHttpRequestOptions): Observable<LabelListPaginated>;
|
|
151
151
|
/**
|
|
152
152
|
* List Label Metadata
|
|
153
|
-
* List Label Metadata **Pagination Sortable Columns:** `label_metadata.name`, `label_metadata.label_name` **Permission Required:** `kelvin.permission.data_label.read`
|
|
154
|
-
* @param labelName Label name
|
|
155
|
-
* @param search Search Label Metadata
|
|
156
|
-
* @param pageSize Number of objects to be returned
|
|
157
|
-
* @param startingAfter
|
|
158
|
-
* @param endingBefore
|
|
159
|
-
* @param sortBy
|
|
160
|
-
* @param sortAsc
|
|
153
|
+
* List Label Metadata Returns a filtered list of Label Metadata objects linked with a Label. The path parameter is required but the query parameters are optional. If no query parameters are given with the API request, then the defaults will be used to return the Label Metadata list. The defaults are the first 20 Label Metadata linked to the Label returned in alphabetical order by the unique identifier name. **Pagination Sortable Columns:** `label_metadata.name`, `label_metadata.label_name` **Permission Required:** `kelvin.permission.data_label.read`
|
|
154
|
+
* @param labelName Unique identifier name for the Label.</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.
|
|
155
|
+
* @param search Search and filter the Label Metadata objects list. Only the Name will be included in the search field criteria. This is given as an array, for example `[pump,fan]`.</p> The search is case insensitive and will find partial matches as well. For example if a Label Metadata name is centrifugal_pump, then a match will be made if the search string is `pum` or `FUGaL`.
|
|
156
|
+
* @param pageSize Number of Label Metadata objects to be returned. Page size can be between 1 and 1000 objects. The default is 20 Label Metadata objects.
|
|
157
|
+
* @param startingAfter An alphanumeric string to move to the next page of Label Metadata objects 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.
|
|
158
|
+
* @param endingBefore An alphanumeric string to move to the previous page of Label Metadata objects 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.
|
|
159
|
+
* @param sortBy Sort the results by one of the Label Metadata parameters. Only one parameter can be selected.</p> There are two parameter options; `label_metadata.name`, `label_metadata.label_name`. The default is `label_metadata.name`
|
|
160
|
+
* @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). The default is `true` (ascending).
|
|
161
161
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
162
162
|
*/
|
|
163
163
|
static listLabelMetadata({ labelName, search, pageSize, startingAfter, endingBefore, sortBy, sortAsc }: IListLabelMetadataParams, options?: IKvHttpRequestOptions): Observable<LabelMetadataListPaginated>;
|
|
164
164
|
/**
|
|
165
165
|
* Update Data Label
|
|
166
|
-
* Update Data Label
|
|
166
|
+
* Update Data Label <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> in the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> are a way to annotate specific events for one or more <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. This is particularly useful if you need to freeze a set of data points and decision making notes from the <a href='https://docs.kelvininc.com/latest/kelvin-overview/overview/#kelvin-platform' target='_blank'>Kelvin Platform</a> and/or from third party applications (such as an MES or a specialized machine learning model) in one package that can be visualized on a dashboard or retrieved at a later date for analysis. If `metrics` are provided in the update, it will replace the full existing list. **Permission Required:** `kelvin.permission.data_label.update`
|
|
167
167
|
* @param datalabel DataLabel update schema
|
|
168
|
-
* @param datalabelId
|
|
168
|
+
* @param datalabelId Unique integer number for the <a href='https://docs.kelvininc.com/latest/documentation/kelvin-platform/kelvin-api/kelvin-api-categories/data-labels/' target='_blank'>Kelvin Data Labels</a> to update.</p> This is similar to a primary key in a database which is a unique integer number representing one row of data.
|
|
169
169
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
170
170
|
*/
|
|
171
171
|
static updateDataLabel({ datalabel, datalabelId }: IUpdateDataLabelParams, options?: IKvHttpRequestOptions): Observable<DataLabel>;
|
|
172
172
|
/**
|
|
173
173
|
* Update Label
|
|
174
|
-
* Update Label **Permission Required:** `kelvin.permission.data_label.update`
|
|
174
|
+
* Update Label Update an existing Label with any new values passed through the body parameters. **Permission Required:** `kelvin.permission.data_label.update`
|
|
175
175
|
* @param label Label update schema
|
|
176
|
-
* @param labelName Label name
|
|
176
|
+
* @param labelName Unique identifier name for the Label.</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.
|
|
177
177
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
178
178
|
*/
|
|
179
179
|
static updateLabel({ label, labelName }: IUpdateLabelParams, options?: IKvHttpRequestOptions): Observable<Label>;
|
|
180
180
|
/**
|
|
181
181
|
* Update Label Metadata
|
|
182
|
-
* Update Label Metadata **Permission Required:** `kelvin.permission.data_label.update`
|
|
182
|
+
* Update Label Metadata Updates the payload of an existing Label Metadata object associated with a Label. The payload will be completely replaced by the new payload. Any existing key/value pairs that you want to keep must be included in your new payload that is sent with the API request. This will only update the payload of the specific Label Metadata object linked to the Label. If there is a Label Metadata object with the same name and payload BUT associated with a different Label, this will not be updated. **Permission Required:** `kelvin.permission.data_label.update`
|
|
183
183
|
* @param labelmetadata Label Metadata update schema
|
|
184
|
-
* @param labelName Label name
|
|
185
|
-
* @param labelMetadataName Label Metadata name
|
|
184
|
+
* @param labelName Unique identifier name for the Label.</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.
|
|
185
|
+
* @param labelMetadataName Label Metadata unique identifier name to retrieve.</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.
|
|
186
186
|
* @param {IKvHttpRequestOptions} options Request optional parameters
|
|
187
187
|
*/
|
|
188
188
|
static updateLabelMetadata({ labelmetadata, labelName, labelMetadataName }: IUpdateLabelMetadataParams, options?: IKvHttpRequestOptions): Observable<LabelMetadata>;
|