Documentation
    Preparing search index...

    Variable powerStreamSetCommandSchemaConst

    powerStreamSetCommandSchema: ZodDiscriminatedUnion<
        "cmdCode",
        [
            ZodObject<
                { sn: ZodType<`HW51${string}`, ZodTypeDef, `HW51${string}`> } & {
                    cmdCode: ZodLiteral<"WN511_SET_SUPPLY_PRIORITY_PACK">;
                    params: ZodObject<
                        { supplyPriority: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]> },
                        "strip",
                        ZodTypeAny,
                        { supplyPriority: 0 | 1 },
                        { supplyPriority: 0 | 1 },
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    cmdCode: "WN511_SET_SUPPLY_PRIORITY_PACK";
                    params: { supplyPriority: 0
                    | 1 };
                    sn: `HW51${string}`;
                },
                {
                    cmdCode: "WN511_SET_SUPPLY_PRIORITY_PACK";
                    params: { supplyPriority: 0
                    | 1 };
                    sn: `HW51${string}`;
                },
            >,
            ZodObject<
                { sn: ZodType<`HW51${string}`, ZodTypeDef, `HW51${string}`> } & {
                    cmdCode: ZodLiteral<"WN511_SET_PERMANENT_WATTS_PACK">;
                    params: ZodObject<
                        { permanentWatts: ZodNumber },
                        "strip",
                        ZodTypeAny,
                        { permanentWatts: number },
                        { permanentWatts: number },
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    cmdCode: "WN511_SET_PERMANENT_WATTS_PACK";
                    params: { permanentWatts: number };
                    sn: `HW51${string}`;
                },
                {
                    cmdCode: "WN511_SET_PERMANENT_WATTS_PACK";
                    params: { permanentWatts: number };
                    sn: `HW51${string}`;
                },
            >,
            ZodObject<
                { sn: ZodType<`HW51${string}`, ZodTypeDef, `HW51${string}`> } & {
                    cmdCode: ZodLiteral<"WN511_SET_BAT_LOWER_PACK">;
                    params: ZodObject<
                        { lowerLimit: ZodNumber },
                        "strip",
                        ZodTypeAny,
                        { lowerLimit: number },
                        { lowerLimit: number },
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    cmdCode: "WN511_SET_BAT_LOWER_PACK";
                    params: { lowerLimit: number };
                    sn: `HW51${string}`;
                },
                {
                    cmdCode: "WN511_SET_BAT_LOWER_PACK";
                    params: { lowerLimit: number };
                    sn: `HW51${string}`;
                },
            >,
        ],
    > = ...