inventory-db
    Preparing search index...

    Variable DiscountTargetOwnQueryOneSchemaConst

    DiscountTargetOwnQueryOneSchema: ZodObject<
        {
            distinct: ZodOptional<
                ZodArray<
                    ZodEnum<
                        {
                            categoryId: "categoryId";
                            discountId: "discountId";
                            id: "id";
                            priceLevelId: "priceLevelId";
                            productId: "productId";
                            storeId: "storeId";
                            type: "type";
                            variantId: "variantId";
                        },
                    >,
                >,
            >;
            where: ZodOptional<
                ZodPipe<
                    ZodTransform<any, unknown>,
                    ZodObject<
                        {
                            categoryId: ZodOptional<
                                ZodUnion<
                                    [
                                        ZodCoercedNumber<unknown>,
                                        ZodObject<
                                            {
                                                equals: ...;
                                                gt: ...;
                                                gte: ...;
                                                in: ...;
                                                lt: ...;
                                                lte: ...;
                                                not: ...;
                                                notIn: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                >,
                            >;
                            discountId: ZodOptional<
                                ZodUnion<
                                    [
                                        ZodCoercedNumber<unknown>,
                                        ZodObject<
                                            {
                                                equals: ...;
                                                gt: ...;
                                                gte: ...;
                                                in: ...;
                                                lt: ...;
                                                lte: ...;
                                                not: ...;
                                                notIn: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                >,
                            >;
                            id: ZodOptional<
                                ZodUnion<
                                    [
                                        ZodCoercedNumber<unknown>,
                                        ZodObject<
                                            {
                                                equals: ...;
                                                gt: ...;
                                                gte: ...;
                                                in: ...;
                                                lt: ...;
                                                lte: ...;
                                                not: ...;
                                                notIn: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                >,
                            >;
                            priceLevelId: ZodOptional<
                                ZodUnion<
                                    [
                                        ZodCoercedNumber<unknown>,
                                        ZodObject<
                                            {
                                                equals: ...;
                                                gt: ...;
                                                gte: ...;
                                                in: ...;
                                                lt: ...;
                                                lte: ...;
                                                not: ...;
                                                notIn: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                >,
                            >;
                            productId: ZodOptional<
                                ZodUnion<
                                    [
                                        ZodCoercedNumber<unknown>,
                                        ZodObject<
                                            {
                                                equals: ...;
                                                gt: ...;
                                                gte: ...;
                                                in: ...;
                                                lt: ...;
                                                lte: ...;
                                                not: ...;
                                                notIn: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                >,
                            >;
                            storeId: ZodOptional<
                                ZodUnion<
                                    [
                                        ZodCoercedNumber<unknown>,
                                        ZodObject<
                                            {
                                                equals: ...;
                                                gt: ...;
                                                gte: ...;
                                                in: ...;
                                                lt: ...;
                                                lte: ...;
                                                not: ...;
                                                notIn: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                >,
                            >;
                            type: ZodOptional<
                                ZodEnum<
                                    {
                                        CATEGORY: "CATEGORY";
                                        PRICE_LEVEL: "PRICE_LEVEL";
                                        PRICE_LEVEL_CATEGORY: "PRICE_LEVEL_CATEGORY";
                                        PRICE_LEVEL_PRODUCT: "PRICE_LEVEL_PRODUCT";
                                        PRICE_LEVEL_VARIANT: "PRICE_LEVEL_VARIANT";
                                        PRODUCT: "PRODUCT";
                                        STORE: "STORE";
                                        STORE_CATEGORY: "STORE_CATEGORY";
                                        STORE_PRODUCT: "STORE_PRODUCT";
                                        STORE_VARIANT: "STORE_VARIANT";
                                        VARIANT: "VARIANT";
                                    },
                                >,
                            >;
                            variantId: ZodOptional<
                                ZodUnion<
                                    [
                                        ZodCoercedNumber<unknown>,
                                        ZodObject<
                                            {
                                                equals: ...;
                                                gt: ...;
                                                gte: ...;
                                                in: ...;
                                                lt: ...;
                                                lte: ...;
                                                not: ...;
                                                notIn: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                >,
                            >;
                        },
                        $strip,
                    >,
                >,
            >;
        },
        $strip,
    > = ...