import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export type MultiDynamicConfigRuleAddDtoTargetValue = Array | Array | string | number; export declare const MultiDynamicConfigRuleAddDtoType: { 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 MultiDynamicConfigRuleAddDtoType = ClosedEnum; export type MultiDynamicConfigRuleAddDtoConditions = { targetValue?: Array | Array | string | number | null | undefined; operator?: string | undefined; field?: any | null | undefined; customID?: any | null | undefined; type: MultiDynamicConfigRuleAddDtoType; }; export type MultiDynamicConfigRuleAddDtoRules = { /** * The name of this rule. */ name: string; /** * Of the users that meet the conditions of this rule, what percent should return true. */ passPercentage: number; /** * An array of Condition objects. */ conditions: Array; 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; returnValue?: { [k: string]: any; } | undefined; returnValueJson5?: string | undefined; }; export type MultiDynamicConfigRuleAddDto = { /** * A list of new dynamic config rules */ rules: Array; }; /** @internal */ export declare const MultiDynamicConfigRuleAddDtoTargetValue$inboundSchema: z.ZodType; /** @internal */ export type MultiDynamicConfigRuleAddDtoTargetValue$Outbound = Array | Array | string | number; /** @internal */ export declare const MultiDynamicConfigRuleAddDtoTargetValue$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 MultiDynamicConfigRuleAddDtoTargetValue$ { /** @deprecated use `MultiDynamicConfigRuleAddDtoTargetValue$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MultiDynamicConfigRuleAddDtoTargetValue$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MultiDynamicConfigRuleAddDtoTargetValue$Outbound` instead. */ type Outbound = MultiDynamicConfigRuleAddDtoTargetValue$Outbound; } /** @internal */ export declare const MultiDynamicConfigRuleAddDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MultiDynamicConfigRuleAddDtoType$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 MultiDynamicConfigRuleAddDtoType$ { /** @deprecated use `MultiDynamicConfigRuleAddDtoType$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 `MultiDynamicConfigRuleAddDtoType$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 MultiDynamicConfigRuleAddDtoConditions$inboundSchema: z.ZodType; /** @internal */ export type MultiDynamicConfigRuleAddDtoConditions$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 MultiDynamicConfigRuleAddDtoConditions$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 MultiDynamicConfigRuleAddDtoConditions$ { /** @deprecated use `MultiDynamicConfigRuleAddDtoConditions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MultiDynamicConfigRuleAddDtoConditions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MultiDynamicConfigRuleAddDtoConditions$Outbound` instead. */ type Outbound = MultiDynamicConfigRuleAddDtoConditions$Outbound; } /** @internal */ export declare const MultiDynamicConfigRuleAddDtoRules$inboundSchema: z.ZodType; /** @internal */ export type MultiDynamicConfigRuleAddDtoRules$Outbound = { name: string; passPercentage: number; conditions: Array; environments?: Array | null | undefined; id?: string | undefined; baseID?: string | undefined; returnValue?: { [k: string]: any; } | undefined; returnValueJson5?: string | undefined; }; /** @internal */ export declare const MultiDynamicConfigRuleAddDtoRules$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 MultiDynamicConfigRuleAddDtoRules$ { /** @deprecated use `MultiDynamicConfigRuleAddDtoRules$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MultiDynamicConfigRuleAddDtoRules$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MultiDynamicConfigRuleAddDtoRules$Outbound` instead. */ type Outbound = MultiDynamicConfigRuleAddDtoRules$Outbound; } /** @internal */ export declare const MultiDynamicConfigRuleAddDto$inboundSchema: z.ZodType; /** @internal */ export type MultiDynamicConfigRuleAddDto$Outbound = { rules: Array; }; /** @internal */ export declare const MultiDynamicConfigRuleAddDto$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 MultiDynamicConfigRuleAddDto$ { /** @deprecated use `MultiDynamicConfigRuleAddDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MultiDynamicConfigRuleAddDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MultiDynamicConfigRuleAddDto$Outbound` instead. */ type Outbound = MultiDynamicConfigRuleAddDto$Outbound; } //# sourceMappingURL=multidynamicconfigruleadddto.d.ts.map