Variable CreateAlertSchemaConst
CreateAlertSchema: ZodObject<
{
detectedValue: ZodNumber;
limitValue: ZodNumber;
periodType: ZodOptional<ZodString>;
thresholdId: ZodString;
thresholdName: ZodString;
thresholdType: ZodString;
utilityType: ZodString;
},
$strip,
> = ...
Validates payload for creating an alert.
Used to parse and validate inbound create alert requests.