import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export type GateFullUpdateDtoTargetValue = Array | Array | string | number; export declare const GateFullUpdateDtoRulesType: { 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 GateFullUpdateDtoRulesType = ClosedEnum; export type GateFullUpdateDtoConditions = { targetValue?: Array | Array | string | number | null | undefined; operator?: string | undefined; field?: any | null | undefined; customID?: any | null | undefined; type: GateFullUpdateDtoRulesType; }; export type GateFullUpdateDtoRules = { /** * 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; /** * 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 declare const GateFullUpdateDtoType: { readonly Permanent: "PERMANENT"; readonly Temporary: "TEMPORARY"; }; export type GateFullUpdateDtoType = ClosedEnum; export type GateFullUpdateDtoTargetApps = string | Array; export type GateFullUpdateDtoMonitoringMetrics = { name: string; type: string; }; export type GateFullUpdateDto = { isEnabled: boolean; description: string; rules: Array; tags?: Array | undefined; type?: GateFullUpdateDtoType | undefined; idType?: string | undefined; targetApps?: string | Array | undefined; creatorID?: any | null | undefined; creatorEmail?: any | null | undefined; team?: any | null | undefined; measureMetricLifts?: boolean | undefined; monitoringMetrics?: Array | undefined; }; /** @internal */ export declare const GateFullUpdateDtoTargetValue$inboundSchema: z.ZodType; /** @internal */ export type GateFullUpdateDtoTargetValue$Outbound = Array | Array | string | number; /** @internal */ export declare const GateFullUpdateDtoTargetValue$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 GateFullUpdateDtoTargetValue$ { /** @deprecated use `GateFullUpdateDtoTargetValue$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoTargetValue$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoTargetValue$Outbound` instead. */ type Outbound = GateFullUpdateDtoTargetValue$Outbound; } /** @internal */ export declare const GateFullUpdateDtoRulesType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GateFullUpdateDtoRulesType$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 GateFullUpdateDtoRulesType$ { /** @deprecated use `GateFullUpdateDtoRulesType$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 `GateFullUpdateDtoRulesType$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 GateFullUpdateDtoConditions$inboundSchema: z.ZodType; /** @internal */ export type GateFullUpdateDtoConditions$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 GateFullUpdateDtoConditions$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 GateFullUpdateDtoConditions$ { /** @deprecated use `GateFullUpdateDtoConditions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoConditions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoConditions$Outbound` instead. */ type Outbound = GateFullUpdateDtoConditions$Outbound; } /** @internal */ export declare const GateFullUpdateDtoRules$inboundSchema: z.ZodType; /** @internal */ export type GateFullUpdateDtoRules$Outbound = { name: string; passPercentage: number; conditions: Array; environments?: Array | null | undefined; id?: string | undefined; baseID?: string | undefined; }; /** @internal */ export declare const GateFullUpdateDtoRules$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 GateFullUpdateDtoRules$ { /** @deprecated use `GateFullUpdateDtoRules$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoRules$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoRules$Outbound` instead. */ type Outbound = GateFullUpdateDtoRules$Outbound; } /** @internal */ export declare const GateFullUpdateDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GateFullUpdateDtoType$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 GateFullUpdateDtoType$ { /** @deprecated use `GateFullUpdateDtoType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Permanent: "PERMANENT"; readonly Temporary: "TEMPORARY"; }>; /** @deprecated use `GateFullUpdateDtoType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Permanent: "PERMANENT"; readonly Temporary: "TEMPORARY"; }>; } /** @internal */ export declare const GateFullUpdateDtoTargetApps$inboundSchema: z.ZodType; /** @internal */ export type GateFullUpdateDtoTargetApps$Outbound = string | Array; /** @internal */ export declare const GateFullUpdateDtoTargetApps$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 GateFullUpdateDtoTargetApps$ { /** @deprecated use `GateFullUpdateDtoTargetApps$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoTargetApps$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoTargetApps$Outbound` instead. */ type Outbound = GateFullUpdateDtoTargetApps$Outbound; } /** @internal */ export declare const GateFullUpdateDtoMonitoringMetrics$inboundSchema: z.ZodType; /** @internal */ export type GateFullUpdateDtoMonitoringMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const GateFullUpdateDtoMonitoringMetrics$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 GateFullUpdateDtoMonitoringMetrics$ { /** @deprecated use `GateFullUpdateDtoMonitoringMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoMonitoringMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDtoMonitoringMetrics$Outbound` instead. */ type Outbound = GateFullUpdateDtoMonitoringMetrics$Outbound; } /** @internal */ export declare const GateFullUpdateDto$inboundSchema: z.ZodType; /** @internal */ export type GateFullUpdateDto$Outbound = { isEnabled: boolean; description: string; rules: Array; tags?: Array | undefined; type?: string | undefined; idType?: string | undefined; targetApps?: string | Array | undefined; creatorID?: any | null | undefined; creatorEmail?: any | null | undefined; team?: any | null | undefined; measureMetricLifts?: boolean | undefined; monitoringMetrics?: Array | undefined; }; /** @internal */ export declare const GateFullUpdateDto$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 GateFullUpdateDto$ { /** @deprecated use `GateFullUpdateDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GateFullUpdateDto$Outbound` instead. */ type Outbound = GateFullUpdateDto$Outbound; } //# sourceMappingURL=gatefullupdatedto.d.ts.map