export type ThresholdMetricType = "AGENT_THRESHOLD" | "CALL_THRESHOLD"; export type ThresholdEntityType = "ENTRY_POINT" | "QUEUE" | "SITE" | "TEAM" | "AGENT"; export type ThresholdOperatorSymbol = ">=" | "<=" | ">" | "<" | "="; export type ThresholdOperandApiReadValue = "LESS_THAN_EQUAL_TO" | "LESS_THAN" | "EQUALS_TO" | "EQUAL_TO" | "GREATER_THAN" | "GREATER_THAN_EQUAL_TO" | ThresholdOperatorSymbol; export type ThresholdOperandApiWriteValue = "LESS_THAN_EQUAL_TO" | "LESS_THAN" | "EQUALS_TO" | "GREATER_THAN" | "GREATER_THAN_EQUAL_TO"; export type ThresholdRulesApiMeta = { page: number; pageSize: number; totalPages: number; totalRecords: number; }; export type ThresholdRuleApi = { id: string; organizationId?: string; name: string; description?: string; metricType: string; entityType: string; entryPointId?: string; contactServiceQueueId?: string; siteId?: string; teamId?: string; userId?: string; entityName?: string; callThresholdMetric?: string; agentThresholdMetric?: string; thresholdMetricName?: string; operand?: string; operator?: string; triggerValue?: number; triggerInterval?: number; notificationReceivers?: string[]; textNotificationReceivers?: string[]; status?: boolean; active?: boolean; agentViewable?: boolean; version?: number; createdTime?: number; lastUpdatedTime?: number; }; export type ThresholdMetricApi = { id: string; name: string; description?: string; metricType: string; entityType: string; defaultOperator?: string; unit?: string; metricId?: number; type?: number; dataType?: string; topicType?: number; simpleMetric?: number; measureType?: number; allowZero?: boolean; }; export type ThresholdRule = { id: string; organizationId?: string; name: string; description?: string; metricType: ThresholdMetricType; entityType: ThresholdEntityType; entityId: string; entityName?: string; thresholdMetricId: string; thresholdMetricName?: string; operator: ThresholdOperatorSymbol; triggerValue: number; triggerInterval: number; notificationReceivers: string[]; textNotificationReceivers?: string[]; active: boolean; agentViewable?: boolean; version?: number; createdTime?: number; lastUpdatedTime?: number; }; export type ThresholdRuleCreatePayload = { name: string; description?: string; metricType: ThresholdMetricType; entityType: ThresholdEntityType; entityId: string; entityName?: string; thresholdMetricId: string; thresholdMetricName?: string; operator: ThresholdOperatorSymbol; triggerValue: number; triggerInterval: number; notificationReceivers: string[]; textNotificationReceivers?: string[]; active: boolean; }; export type ThresholdRuleUpdatePayload = { id?: string; version?: number; name?: string; description?: string; metricType?: ThresholdMetricType; entityType?: ThresholdEntityType; entityId?: string; entityName?: string; thresholdMetricId?: string; thresholdMetricName?: string; operator?: ThresholdOperatorSymbol; triggerValue?: number; triggerInterval?: number; notificationReceivers?: string[]; textNotificationReceivers?: string[]; active?: boolean; }; export type ThresholdMetric = { id: string; name: string; description?: string; metricType: ThresholdMetricType; entityType: ThresholdEntityType; defaultOperator?: ThresholdOperatorSymbol; unit?: string; metricId?: number; type?: number; dataType?: string; topicType?: number; simpleMetric?: number; measureType?: number; allowZero?: boolean; }; export type ThresholdRulesResponse = { meta?: { page: number; pageSize: number; totalPages: number; totalRecords: number; }; data: ThresholdRule[]; }; export type ThresholdMetricsResponse = { data: ThresholdMetric[]; }; export type ThresholdRulesApiResponse = { meta?: ThresholdRulesApiMeta; data: ThresholdRuleApi[]; }; export type ThresholdMetricsApiResponse = { data: ThresholdMetricApi[]; }; //# sourceMappingURL=threshold-rules.types.d.ts.map