UNPKG

@medusajs/medusa

Version:

Building blocks for digital commerce

59 lines 1.88 kB
import { z } from "zod"; export type AdminGetNotificationParamsType = z.infer<typeof AdminGetNotificationParams>; export declare const AdminGetNotificationParams: z.ZodObject<{ fields: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { fields?: string | undefined; }, { fields?: string | undefined; }>; export declare const AdminGetNotificationsParamsFields: z.ZodObject<{ q: z.ZodOptional<z.ZodString>; id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>; channel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>; }, "strip", z.ZodTypeAny, { q?: string | undefined; id?: string | string[] | undefined; channel?: string | string[] | undefined; }, { q?: string | undefined; id?: string | string[] | undefined; channel?: string | string[] | undefined; }>; export type AdminGetNotificationsParamsType = z.infer<typeof AdminGetNotificationsParams>; export declare const AdminGetNotificationsParams: z.ZodObject<{ [x: string]: any; [x: number]: any; [x: symbol]: any; $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, { [x: string]: any; }, { [x: string]: any; }>, "many">>>; $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, { [x: string]: any; }, { [x: string]: any; }>, "many">>>; }, "strip", z.ZodTypeAny, { [x: string]: any; [x: number]: any; [x: symbol]: any; $and?: { [x: string]: any; }[] | undefined; $or?: { [x: string]: any; }[] | undefined; }, { [x: string]: any; [x: number]: any; [x: symbol]: any; $and?: { [x: string]: any; }[] | undefined; $or?: { [x: string]: any; }[] | undefined; }>; //# sourceMappingURL=validators.d.ts.map