import { PricingRuleOperator, RuleOperator, ShippingOptionPriceType as ShippingOptionPriceTypeEnum } from "@medusajs/framework/utils"; import { z } from "@medusajs/framework/zod"; export type AdminGetShippingOptionParamsType = z.infer; export declare const AdminGetShippingOptionParams: z.ZodObject<{ fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { fields?: string | undefined; }, { fields?: string | undefined; }>; export type AdminGetShippingOptionsParamsType = z.infer; export declare const AdminGetShippingOptionsParams: z.ZodObject<{ fields: z.ZodOptional; } & { offset: z.ZodEffects>, number, unknown>; limit: z.ZodEffects>, number, unknown>; order: z.ZodOptional | z.ZodDefault>; with_deleted: z.ZodEffects, boolean | undefined, unknown>; } & { id: z.ZodOptional]>>; q: z.ZodOptional; service_zone_id: z.ZodOptional]>>; shipping_profile_id: z.ZodOptional]>>; provider_id: z.ZodOptional]>>; stock_location_id: z.ZodOptional]>>; is_return: z.ZodOptional, string | boolean, string | boolean>, boolean, string | boolean>>; admin_only: z.ZodOptional, string | boolean, string | boolean>, boolean, string | boolean>>; shipping_option_type_id: z.ZodOptional]>>; created_at: z.ZodOptional]>>; updated_at: z.ZodOptional]>>; deleted_at: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { offset: number; limit: number; order?: string | undefined; id?: string | string[] | undefined; fields?: string | undefined; provider_id?: string | string[] | undefined; service_zone_id?: string | string[] | undefined; shipping_profile_id?: string | string[] | undefined; created_at?: any; updated_at?: any; deleted_at?: any; is_return?: boolean | undefined; with_deleted?: boolean | undefined; q?: string | undefined; stock_location_id?: string | string[] | undefined; admin_only?: boolean | undefined; shipping_option_type_id?: string | string[] | undefined; }, { order?: string | undefined; id?: string | string[] | undefined; fields?: string | undefined; provider_id?: string | string[] | undefined; service_zone_id?: string | string[] | undefined; shipping_profile_id?: string | string[] | undefined; created_at?: any; updated_at?: any; deleted_at?: any; is_return?: string | boolean | undefined; offset?: unknown; limit?: unknown; with_deleted?: unknown; q?: string | undefined; stock_location_id?: string | string[] | undefined; admin_only?: string | boolean | undefined; shipping_option_type_id?: string | string[] | undefined; }>; /** * SHIPPING OPTIONS RULES */ export type AdminGetShippingOptionRuleParamsType = z.infer; export declare const AdminGetShippingOptionRuleParams: z.ZodObject<{ fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { fields?: string | undefined; }, { fields?: string | undefined; }>; export type AdminCreateShippingOptionRuleType = z.infer; export declare const AdminCreateShippingOptionRule: z.ZodObject<{ operator: z.ZodNativeEnum; attribute: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strict", z.ZodTypeAny, { value: string | string[]; attribute: string; operator: RuleOperator; }, { value: string | string[]; attribute: string; operator: RuleOperator; }>; export type AdminUpdateShippingOptionRuleType = z.infer; export declare const AdminUpdateShippingOptionRule: z.ZodObject<{ id: z.ZodString; operator: z.ZodNativeEnum; attribute: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strict", z.ZodTypeAny, { id: string; value: string | string[]; attribute: string; operator: RuleOperator; }, { id: string; value: string | string[]; attribute: string; operator: RuleOperator; }>; /** * SHIPPING OPTIONS */ export declare const AdminCreateShippingOptionTypeObject: z.ZodObject<{ label: z.ZodString; description: z.ZodOptional; code: z.ZodString; }, "strict", z.ZodTypeAny, { code: string; label: string; description?: string | undefined; }, { code: string; label: string; description?: string | undefined; }>; export declare const AdminCreateShippingOptionPriceWithCurrency: z.ZodObject<{ currency_code: z.ZodString; amount: z.ZodNumber; rules: z.ZodOptional; operator: z.ZodNativeEnum; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }>, "many">>; }, "strict", z.ZodTypeAny, { amount: number; currency_code: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; }, { amount: number; currency_code: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; }>; export declare const AdminCreateShippingOptionPriceWithRegion: z.ZodObject<{ region_id: z.ZodString; amount: z.ZodNumber; rules: z.ZodOptional; operator: z.ZodNativeEnum; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }>, "many">>; }, "strict", z.ZodTypeAny, { amount: number; region_id: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; }, { amount: number; region_id: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; }>; export declare const AdminUpdateShippingOptionPriceWithCurrency: z.ZodObject<{ id: z.ZodOptional; currency_code: z.ZodOptional; amount: z.ZodOptional; rules: z.ZodOptional; operator: z.ZodNativeEnum; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }>, "many">>; }, "strict", z.ZodTypeAny, { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; currency_code?: string | undefined; }, { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; currency_code?: string | undefined; }>; export declare const AdminUpdateShippingOptionPriceWithRegion: z.ZodObject<{ id: z.ZodOptional; region_id: z.ZodOptional; amount: z.ZodOptional; rules: z.ZodOptional; operator: z.ZodNativeEnum; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }>, "many">>; }, "strict", z.ZodTypeAny, { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; region_id?: string | undefined; }, { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; region_id?: string | undefined; }>; export declare const AdminCreateShippingOption: z.ZodEffects>; price_type: z.ZodNativeEnum; provider_id: z.ZodString; type: z.ZodOptional; code: z.ZodString; }, "strict", z.ZodTypeAny, { code: string; label: string; description?: string | undefined; }, { code: string; label: string; description?: string | undefined; }>>; type_id: z.ZodOptional; prices: z.ZodArray; operator: z.ZodNativeEnum; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }>, "many">>; }, "strict", z.ZodTypeAny, { amount: number; currency_code: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; }, { amount: number; currency_code: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; }>, z.ZodObject<{ region_id: z.ZodString; amount: z.ZodNumber; rules: z.ZodOptional; operator: z.ZodNativeEnum; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }>, "many">>; }, "strict", z.ZodTypeAny, { amount: number; region_id: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; }, { amount: number; region_id: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; }>]>, "many">; rules: z.ZodOptional; attribute: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strict", z.ZodTypeAny, { value: string | string[]; attribute: string; operator: RuleOperator; }, { value: string | string[]; attribute: string; operator: RuleOperator; }>, "many">>; metadata: z.ZodOptional>; }, "strict", z.ZodTypeAny, { provider_id: string; prices: ({ amount: number; currency_code: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; } | { amount: number; region_id: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; })[]; name: string; service_zone_id: string; shipping_profile_id: string; price_type: ShippingOptionPriceTypeEnum; type?: { code: string; label: string; description?: string | undefined; } | undefined; data?: Record | undefined; metadata?: Record | undefined; type_id?: string | undefined; rules?: { value: string | string[]; attribute: string; operator: RuleOperator; }[] | undefined; }, { provider_id: string; prices: ({ amount: number; currency_code: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; } | { amount: number; region_id: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; })[]; name: string; service_zone_id: string; shipping_profile_id: string; price_type: ShippingOptionPriceTypeEnum; type?: { code: string; label: string; description?: string | undefined; } | undefined; data?: Record | undefined; metadata?: Record | undefined; type_id?: string | undefined; rules?: { value: string | string[]; attribute: string; operator: RuleOperator; }[] | undefined; }>, { provider_id: string; prices: ({ amount: number; currency_code: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; } | { amount: number; region_id: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; })[]; name: string; service_zone_id: string; shipping_profile_id: string; price_type: ShippingOptionPriceTypeEnum; type?: { code: string; label: string; description?: string | undefined; } | undefined; data?: Record | undefined; metadata?: Record | undefined; type_id?: string | undefined; rules?: { value: string | string[]; attribute: string; operator: RuleOperator; }[] | undefined; }, { provider_id: string; prices: ({ amount: number; currency_code: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; } | { amount: number; region_id: string; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; })[]; name: string; service_zone_id: string; shipping_profile_id: string; price_type: ShippingOptionPriceTypeEnum; type?: { code: string; label: string; description?: string | undefined; } | undefined; data?: Record | undefined; metadata?: Record | undefined; type_id?: string | undefined; rules?: { value: string | string[]; attribute: string; operator: RuleOperator; }[] | undefined; }>; export type AdminUpdateShippingOptionType = z.infer; export declare const AdminUpdateShippingOption: z.ZodEffects; data: z.ZodOptional>; price_type: z.ZodOptional>; provider_id: z.ZodOptional; shipping_profile_id: z.ZodOptional; type: z.ZodOptional; code: z.ZodString; }, "strict", z.ZodTypeAny, { code: string; label: string; description?: string | undefined; }, { code: string; label: string; description?: string | undefined; }>>; type_id: z.ZodOptional; prices: z.ZodOptional; currency_code: z.ZodOptional; amount: z.ZodOptional; rules: z.ZodOptional; operator: z.ZodNativeEnum; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }>, "many">>; }, "strict", z.ZodTypeAny, { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; currency_code?: string | undefined; }, { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; currency_code?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; region_id: z.ZodOptional; amount: z.ZodOptional; rules: z.ZodOptional; operator: z.ZodNativeEnum; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }, { value: number; attribute: "item_total"; operator: PricingRuleOperator; }>, "many">>; }, "strict", z.ZodTypeAny, { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; region_id?: string | undefined; }, { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; region_id?: string | undefined; }>]>, "many">>; rules: z.ZodOptional; attribute: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strict", z.ZodTypeAny, { id: string; value: string | string[]; attribute: string; operator: RuleOperator; }, { id: string; value: string | string[]; attribute: string; operator: RuleOperator; }>, z.ZodObject<{ operator: z.ZodNativeEnum; attribute: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strict", z.ZodTypeAny, { value: string | string[]; attribute: string; operator: RuleOperator; }, { value: string | string[]; attribute: string; operator: RuleOperator; }>]>, "many">>; metadata: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type?: { code: string; label: string; description?: string | undefined; } | undefined; data?: Record | undefined; metadata?: Record | undefined; provider_id?: string | undefined; prices?: ({ id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; currency_code?: string | undefined; } | { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; region_id?: string | undefined; })[] | undefined; name?: string | undefined; shipping_profile_id?: string | undefined; type_id?: string | undefined; rules?: ({ value: string | string[]; attribute: string; operator: RuleOperator; } | { id: string; value: string | string[]; attribute: string; operator: RuleOperator; })[] | undefined; price_type?: ShippingOptionPriceTypeEnum | undefined; }, { type?: { code: string; label: string; description?: string | undefined; } | undefined; data?: Record | undefined; metadata?: Record | undefined; provider_id?: string | undefined; prices?: ({ id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; currency_code?: string | undefined; } | { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; region_id?: string | undefined; })[] | undefined; name?: string | undefined; shipping_profile_id?: string | undefined; type_id?: string | undefined; rules?: ({ value: string | string[]; attribute: string; operator: RuleOperator; } | { id: string; value: string | string[]; attribute: string; operator: RuleOperator; })[] | undefined; price_type?: ShippingOptionPriceTypeEnum | undefined; }>, { type?: { code: string; label: string; description?: string | undefined; } | undefined; data?: Record | undefined; metadata?: Record | undefined; provider_id?: string | undefined; prices?: ({ id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; currency_code?: string | undefined; } | { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; region_id?: string | undefined; })[] | undefined; name?: string | undefined; shipping_profile_id?: string | undefined; type_id?: string | undefined; rules?: ({ value: string | string[]; attribute: string; operator: RuleOperator; } | { id: string; value: string | string[]; attribute: string; operator: RuleOperator; })[] | undefined; price_type?: ShippingOptionPriceTypeEnum | undefined; }, { type?: { code: string; label: string; description?: string | undefined; } | undefined; data?: Record | undefined; metadata?: Record | undefined; provider_id?: string | undefined; prices?: ({ id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; currency_code?: string | undefined; } | { id?: string | undefined; rules?: { value: number; attribute: "item_total"; operator: PricingRuleOperator; }[] | undefined; amount?: number | undefined; region_id?: string | undefined; })[] | undefined; name?: string | undefined; shipping_profile_id?: string | undefined; type_id?: string | undefined; rules?: ({ value: string | string[]; attribute: string; operator: RuleOperator; } | { id: string; value: string | string[]; attribute: string; operator: RuleOperator; })[] | undefined; price_type?: ShippingOptionPriceTypeEnum | undefined; }>; //# sourceMappingURL=validators.d.ts.map