ChangeThresholdConditionUnion type

Represents the Change threshold detection condition.

type ChangeThresholdConditionUnion =
  | {
      anomalyDetectorDirection: "Both"
      changePercentage: number
      shiftPoint: number
      suppressCondition: SuppressCondition
      withinRange: true
    }
  | {
      anomalyDetectorDirection: "Up" | "Down" | "Both"
      changePercentage: number
      shiftPoint: number
      suppressCondition: SuppressCondition
      withinRange: false
    }