UNPKG

@medusajs/medusa

Version:

Building blocks for digital commerce

216 lines 5.64 kB
import { z } from "zod"; export type AdminGetShippingProfileParamsType = z.infer<typeof AdminGetShippingProfileParams>; export declare const AdminGetShippingProfileParams: z.ZodObject<{ fields: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { fields?: string | undefined; }, { fields?: string | undefined; }>; export declare const AdminGetShippingProfilesParamsFields: z.ZodObject<{ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>; q: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{ $eq: any; $ne: any; $in: any; $nin: any; $like: any; $ilike: any; $re: any; $contains: any; $gt: any; $gte: any; $lt: any; $lte: any; }, "strip", z.ZodTypeAny, { $eq?: any; $ne?: any; $in?: any; $nin?: any; $like?: any; $ilike?: any; $re?: any; $contains?: any; $gt?: any; $gte?: any; $lt?: any; $lte?: any; }, { $eq?: any; $ne?: any; $in?: any; $nin?: any; $like?: any; $ilike?: any; $re?: any; $contains?: any; $gt?: any; $gte?: any; $lt?: any; $lte?: any; }>]>>; updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{ $eq: any; $ne: any; $in: any; $nin: any; $like: any; $ilike: any; $re: any; $contains: any; $gt: any; $gte: any; $lt: any; $lte: any; }, "strip", z.ZodTypeAny, { $eq?: any; $ne?: any; $in?: any; $nin?: any; $like?: any; $ilike?: any; $re?: any; $contains?: any; $gt?: any; $gte?: any; $lt?: any; $lte?: any; }, { $eq?: any; $ne?: any; $in?: any; $nin?: any; $like?: any; $ilike?: any; $re?: any; $contains?: any; $gt?: any; $gte?: any; $lt?: any; $lte?: any; }>]>>; deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{ $eq: any; $ne: any; $in: any; $nin: any; $like: any; $ilike: any; $re: any; $contains: any; $gt: any; $gte: any; $lt: any; $lte: any; }, "strip", z.ZodTypeAny, { $eq?: any; $ne?: any; $in?: any; $nin?: any; $like?: any; $ilike?: any; $re?: any; $contains?: any; $gt?: any; $gte?: any; $lt?: any; $lte?: any; }, { $eq?: any; $ne?: any; $in?: any; $nin?: any; $like?: any; $ilike?: any; $re?: any; $contains?: any; $gt?: any; $gte?: any; $lt?: any; $lte?: any; }>]>>; }, "strip", z.ZodTypeAny, { id?: string | string[] | undefined; q?: string | undefined; type?: string | undefined; name?: string | undefined; created_at?: any; updated_at?: any; deleted_at?: any; }, { id?: string | string[] | undefined; q?: string | undefined; type?: string | undefined; name?: string | undefined; created_at?: any; updated_at?: any; deleted_at?: any; }>; export type AdminGetShippingProfilesParamsType = z.infer<typeof AdminGetShippingProfilesParams>; export declare const AdminGetShippingProfilesParams: 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; }>; export type AdminCreateShippingProfileType = z.infer<typeof AdminCreateShippingProfile>; export declare const AdminCreateShippingProfile: z.ZodObject<{ name: z.ZodString; type: z.ZodString; metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>; }, "strict", z.ZodTypeAny, { type: string; name: string; metadata?: Record<string, unknown> | null | undefined; }, { type: string; name: string; metadata?: Record<string, unknown> | null | undefined; }>; export type AdminUpdateShippingProfileType = z.infer<typeof AdminUpdateShippingProfile>; export declare const AdminUpdateShippingProfile: z.ZodObject<{ name: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>; }, "strict", z.ZodTypeAny, { name?: string | undefined; type?: string | undefined; metadata?: Record<string, unknown> | null | undefined; }, { name?: string | undefined; type?: string | undefined; metadata?: Record<string, unknown> | null | undefined; }>; //# sourceMappingURL=validators.d.ts.map