import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export type MultiRuleUpdateDtoTargetValue = Array | Array | string | number; export declare const MultiRuleUpdateDtoType: { readonly AppVersion: "app_version"; readonly BrowserName: "browser_name"; readonly BrowserVersion: "browser_version"; readonly Country: "country"; readonly CustomField: "custom_field"; readonly Email: "email"; readonly EnvironmentTier: "environment_tier"; readonly FailsGate: "fails_gate"; readonly FailsSegment: "fails_segment"; readonly IpAddress: "ip_address"; readonly Locale: "locale"; readonly OsName: "os_name"; readonly OsVersion: "os_version"; readonly PassesGate: "passes_gate"; readonly PassesSegment: "passes_segment"; readonly Public: "public"; readonly Time: "time"; readonly UnitId: "unit_id"; readonly UserId: "user_id"; readonly Url: "url"; readonly Javascript: "javascript"; readonly DeviceModel: "device_model"; readonly TargetApp: "target_app"; }; export type MultiRuleUpdateDtoType = ClosedEnum; export type MultiRuleUpdateDtoConditions = { targetValue?: Array | Array | string | number | null | undefined; operator?: string | undefined; field?: any | null | undefined; customID?: any | null | undefined; type: MultiRuleUpdateDtoType; }; export type MultiRuleUpdateDtoRules = { /** * The name of this rule. */ name?: string | undefined; /** * Of the users that meet the conditions of this rule, what percent should return true. */ passPercentage?: number | undefined; /** * An array of Condition objects. */ conditions?: Array | undefined; /** * The environments this rule is enabled for. */ environments?: Array | null | undefined; /** * The Statsig ID of this rule. */ id?: string | undefined; /** * The base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout */ baseID?: string | undefined; }; export type MultiRuleUpdateDto = { rules: Array; }; /** @internal */ export declare const MultiRuleUpdateDtoTargetValue$inboundSchema: z.ZodType; /** @internal */ export type MultiRuleUpdateDtoTargetValue$Outbound = Array | Array | string | number; /** @internal */ export declare const MultiRuleUpdateDtoTargetValue$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MultiRuleUpdateDtoTargetValue$ { /** @deprecated use `MultiRuleUpdateDtoTargetValue$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MultiRuleUpdateDtoTargetValue$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MultiRuleUpdateDtoTargetValue$Outbound` instead. */ type Outbound = MultiRuleUpdateDtoTargetValue$Outbound; } /** @internal */ export declare const MultiRuleUpdateDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MultiRuleUpdateDtoType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MultiRuleUpdateDtoType$ { /** @deprecated use `MultiRuleUpdateDtoType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly AppVersion: "app_version"; readonly BrowserName: "browser_name"; readonly BrowserVersion: "browser_version"; readonly Country: "country"; readonly CustomField: "custom_field"; readonly Email: "email"; readonly EnvironmentTier: "environment_tier"; readonly FailsGate: "fails_gate"; readonly FailsSegment: "fails_segment"; readonly IpAddress: "ip_address"; readonly Locale: "locale"; readonly OsName: "os_name"; readonly OsVersion: "os_version"; readonly PassesGate: "passes_gate"; readonly PassesSegment: "passes_segment"; readonly Public: "public"; readonly Time: "time"; readonly UnitId: "unit_id"; readonly UserId: "user_id"; readonly Url: "url"; readonly Javascript: "javascript"; readonly DeviceModel: "device_model"; readonly TargetApp: "target_app"; }>; /** @deprecated use `MultiRuleUpdateDtoType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly AppVersion: "app_version"; readonly BrowserName: "browser_name"; readonly BrowserVersion: "browser_version"; readonly Country: "country"; readonly CustomField: "custom_field"; readonly Email: "email"; readonly EnvironmentTier: "environment_tier"; readonly FailsGate: "fails_gate"; readonly FailsSegment: "fails_segment"; readonly IpAddress: "ip_address"; readonly Locale: "locale"; readonly OsName: "os_name"; readonly OsVersion: "os_version"; readonly PassesGate: "passes_gate"; readonly PassesSegment: "passes_segment"; readonly Public: "public"; readonly Time: "time"; readonly UnitId: "unit_id"; readonly UserId: "user_id"; readonly Url: "url"; readonly Javascript: "javascript"; readonly DeviceModel: "device_model"; readonly TargetApp: "target_app"; }>; } /** @internal */ export declare const MultiRuleUpdateDtoConditions$inboundSchema: z.ZodType; /** @internal */ export type MultiRuleUpdateDtoConditions$Outbound = { targetValue?: Array | Array | string | number | null | undefined; operator?: string | undefined; field?: any | null | undefined; customID?: any | null | undefined; type: string; }; /** @internal */ export declare const MultiRuleUpdateDtoConditions$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MultiRuleUpdateDtoConditions$ { /** @deprecated use `MultiRuleUpdateDtoConditions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MultiRuleUpdateDtoConditions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MultiRuleUpdateDtoConditions$Outbound` instead. */ type Outbound = MultiRuleUpdateDtoConditions$Outbound; } /** @internal */ export declare const MultiRuleUpdateDtoRules$inboundSchema: z.ZodType; /** @internal */ export type MultiRuleUpdateDtoRules$Outbound = { name?: string | undefined; passPercentage?: number | undefined; conditions?: Array | undefined; environments?: Array | null | undefined; id?: string | undefined; baseID?: string | undefined; }; /** @internal */ export declare const MultiRuleUpdateDtoRules$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MultiRuleUpdateDtoRules$ { /** @deprecated use `MultiRuleUpdateDtoRules$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MultiRuleUpdateDtoRules$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MultiRuleUpdateDtoRules$Outbound` instead. */ type Outbound = MultiRuleUpdateDtoRules$Outbound; } /** @internal */ export declare const MultiRuleUpdateDto$inboundSchema: z.ZodType; /** @internal */ export type MultiRuleUpdateDto$Outbound = { rules: Array; }; /** @internal */ export declare const MultiRuleUpdateDto$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MultiRuleUpdateDto$ { /** @deprecated use `MultiRuleUpdateDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MultiRuleUpdateDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MultiRuleUpdateDto$Outbound` instead. */ type Outbound = MultiRuleUpdateDto$Outbound; } //# sourceMappingURL=multiruleupdatedto.d.ts.map