Documentation
    Preparing search index...

    Variable delta2PDCommandSchemaConst

    delta2PDCommandSchema: ZodDiscriminatedUnion<
        "operateType",
        [
            ZodObject<
                extendShape<
                    extendShape<
                        {
                            id: ZodNumber;
                            sn: ZodType<`R331${string}`, ZodTypeDef, `R331${string}`>;
                            version: ZodLiteral<"1.0">;
                        },
                        { moduleType: ZodLiteral<1> },
                    >,
                    {
                        operateType: ZodLiteral<"standbyTime">;
                        params: ZodObject<
                            { standbyMin: ZodNumber },
                            "strip",
                            ZodTypeAny,
                            { standbyMin: number },
                            { standbyMin: number },
                        >;
                    },
                >,
                "strip",
                ZodTypeAny,
                {
                    id: number;
                    moduleType: 1;
                    operateType: "standbyTime";
                    params: { standbyMin: number };
                    sn: `R331${string}`;
                    version: "1.0";
                },
                {
                    id: number;
                    moduleType: 1;
                    operateType: "standbyTime";
                    params: { standbyMin: number };
                    sn: `R331${string}`;
                    version: "1.0";
                },
            >,
            ZodObject<
                extendShape<
                    extendShape<
                        {
                            id: ZodNumber;
                            sn: ZodType<`R331${string}`, ZodTypeDef, `R331${string}`>;
                            version: ZodLiteral<"1.0">;
                        },
                        { moduleType: ZodLiteral<1> },
                    >,
                    {
                        operateType: ZodLiteral<"dcOutCfg">;
                        params: ZodObject<
                            { enabled: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]> },
                            "strip",
                            ZodTypeAny,
                            { enabled: 0 | 1 },
                            { enabled: 0 | 1 },
                        >;
                    },
                >,
                "strip",
                ZodTypeAny,
                {
                    id: number;
                    moduleType: 1;
                    operateType: "dcOutCfg";
                    params: { enabled: 0
                    | 1 };
                    sn: `R331${string}`;
                    version: "1.0";
                },
                {
                    id: number;
                    moduleType: 1;
                    operateType: "dcOutCfg";
                    params: { enabled: 0
                    | 1 };
                    sn: `R331${string}`;
                    version: "1.0";
                },
            >,
            ZodObject<
                extendShape<
                    extendShape<
                        {
                            id: ZodNumber;
                            sn: ZodType<`R331${string}`, ZodTypeDef, `R331${string}`>;
                            version: ZodLiteral<"1.0">;
                        },
                        { moduleType: ZodLiteral<1> },
                    >,
                    {
                        operateType: ZodLiteral<"lcdCfg">;
                        params: ZodObject<
                            { brightLevel: ZodLiteral<3>; delayOff: ZodNumber },
                            "strip",
                            ZodTypeAny,
                            { brightLevel: 3; delayOff: number },
                            { brightLevel: 3; delayOff: number },
                        >;
                    },
                >,
                "strip",
                ZodTypeAny,
                {
                    id: number;
                    moduleType: 1;
                    operateType: "lcdCfg";
                    params: { brightLevel: 3; delayOff: number };
                    sn: `R331${string}`;
                    version: "1.0";
                },
                {
                    id: number;
                    moduleType: 1;
                    operateType: "lcdCfg";
                    params: { brightLevel: 3; delayOff: number };
                    sn: `R331${string}`;
                    version: "1.0";
                },
            >,
            ZodObject<
                extendShape<
                    extendShape<
                        {
                            id: ZodNumber;
                            sn: ZodType<`R331${string}`, ZodTypeDef, `R331${string}`>;
                            version: ZodLiteral<"1.0">;
                        },
                        { moduleType: ZodLiteral<1> },
                    >,
                    {
                        operateType: ZodLiteral<"pvChangePrio">;
                        params: ZodObject<
                            { pvChangeSet: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]> },
                            "strip",
                            ZodTypeAny,
                            { pvChangeSet: 0 | 1 },
                            { pvChangeSet: 0 | 1 },
                        >;
                    },
                >,
                "strip",
                ZodTypeAny,
                {
                    id: number;
                    moduleType: 1;
                    operateType: "pvChangePrio";
                    params: { pvChangeSet: 0
                    | 1 };
                    sn: `R331${string}`;
                    version: "1.0";
                },
                {
                    id: number;
                    moduleType: 1;
                    operateType: "pvChangePrio";
                    params: { pvChangeSet: 0
                    | 1 };
                    sn: `R331${string}`;
                    version: "1.0";
                },
            >,
            ZodObject<
                extendShape<
                    extendShape<
                        {
                            id: ZodNumber;
                            sn: ZodType<`R331${string}`, ZodTypeDef, `R331${string}`>;
                            version: ZodLiteral<"1.0">;
                        },
                        { moduleType: ZodLiteral<1> },
                    >,
                    {
                        operateType: ZodLiteral<"acAutoOutConfig">;
                        params: ZodObject<
                            {
                                acAutoOutConfig: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>;
                                minAcOutSoc: ZodNumber;
                            },
                            "strip",
                            ZodTypeAny,
                            { acAutoOutConfig: 0
                            | 1; minAcOutSoc: number },
                            { acAutoOutConfig: 0 | 1; minAcOutSoc: number },
                        >;
                    },
                >,
                "strip",
                ZodTypeAny,
                {
                    id: number;
                    moduleType: 1;
                    operateType: "acAutoOutConfig";
                    params: { acAutoOutConfig: 0
                    | 1; minAcOutSoc: number };
                    sn: `R331${string}`;
                    version: "1.0";
                },
                {
                    id: number;
                    moduleType: 1;
                    operateType: "acAutoOutConfig";
                    params: { acAutoOutConfig: 0
                    | 1; minAcOutSoc: number };
                    sn: `R331${string}`;
                    version: "1.0";
                },
            >,
        ],
    > = ...