import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export type GatePartialUpdateDtoTargetValue = Array | Array | string | number; export declare const GatePartialUpdateDtoRulesType: { 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 GatePartialUpdateDtoRulesType = ClosedEnum; export type GatePartialUpdateDtoConditions = { targetValue?: Array | Array | string | number | null | undefined; operator?: string | undefined; field?: any | null | undefined; customID?: any | null | undefined; type: GatePartialUpdateDtoRulesType; }; export type GatePartialUpdateDtoRules = { /** * 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 GatePartialUpdateDtoType: { readonly Permanent: "PERMANENT"; readonly Temporary: "TEMPORARY"; }; export type GatePartialUpdateDtoType = ClosedEnum; export type GatePartialUpdateDtoTargetApps = string | Array; export type GatePartialUpdateDtoMonitoringMetrics = { name: string; type: string; }; export type GatePartialUpdateDto = { isEnabled?: boolean | undefined; description?: string | undefined; rules?: Array | undefined; tags?: Array | undefined; type?: GatePartialUpdateDtoType | 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 GatePartialUpdateDtoTargetValue$inboundSchema: z.ZodType; /** @internal */ export type GatePartialUpdateDtoTargetValue$Outbound = Array | Array | string | number; /** @internal */ export declare const GatePartialUpdateDtoTargetValue$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 GatePartialUpdateDtoTargetValue$ { /** @deprecated use `GatePartialUpdateDtoTargetValue$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoTargetValue$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoTargetValue$Outbound` instead. */ type Outbound = GatePartialUpdateDtoTargetValue$Outbound; } /** @internal */ export declare const GatePartialUpdateDtoRulesType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GatePartialUpdateDtoRulesType$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 GatePartialUpdateDtoRulesType$ { /** @deprecated use `GatePartialUpdateDtoRulesType$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 `GatePartialUpdateDtoRulesType$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 GatePartialUpdateDtoConditions$inboundSchema: z.ZodType; /** @internal */ export type GatePartialUpdateDtoConditions$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 GatePartialUpdateDtoConditions$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 GatePartialUpdateDtoConditions$ { /** @deprecated use `GatePartialUpdateDtoConditions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoConditions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoConditions$Outbound` instead. */ type Outbound = GatePartialUpdateDtoConditions$Outbound; } /** @internal */ export declare const GatePartialUpdateDtoRules$inboundSchema: z.ZodType; /** @internal */ export type GatePartialUpdateDtoRules$Outbound = { name: string; passPercentage: number; conditions: Array; environments?: Array | null | undefined; id?: string | undefined; baseID?: string | undefined; }; /** @internal */ export declare const GatePartialUpdateDtoRules$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 GatePartialUpdateDtoRules$ { /** @deprecated use `GatePartialUpdateDtoRules$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoRules$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoRules$Outbound` instead. */ type Outbound = GatePartialUpdateDtoRules$Outbound; } /** @internal */ export declare const GatePartialUpdateDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GatePartialUpdateDtoType$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 GatePartialUpdateDtoType$ { /** @deprecated use `GatePartialUpdateDtoType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Permanent: "PERMANENT"; readonly Temporary: "TEMPORARY"; }>; /** @deprecated use `GatePartialUpdateDtoType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Permanent: "PERMANENT"; readonly Temporary: "TEMPORARY"; }>; } /** @internal */ export declare const GatePartialUpdateDtoTargetApps$inboundSchema: z.ZodType; /** @internal */ export type GatePartialUpdateDtoTargetApps$Outbound = string | Array; /** @internal */ export declare const GatePartialUpdateDtoTargetApps$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 GatePartialUpdateDtoTargetApps$ { /** @deprecated use `GatePartialUpdateDtoTargetApps$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoTargetApps$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoTargetApps$Outbound` instead. */ type Outbound = GatePartialUpdateDtoTargetApps$Outbound; } /** @internal */ export declare const GatePartialUpdateDtoMonitoringMetrics$inboundSchema: z.ZodType; /** @internal */ export type GatePartialUpdateDtoMonitoringMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const GatePartialUpdateDtoMonitoringMetrics$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 GatePartialUpdateDtoMonitoringMetrics$ { /** @deprecated use `GatePartialUpdateDtoMonitoringMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoMonitoringMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDtoMonitoringMetrics$Outbound` instead. */ type Outbound = GatePartialUpdateDtoMonitoringMetrics$Outbound; } /** @internal */ export declare const GatePartialUpdateDto$inboundSchema: z.ZodType; /** @internal */ export type GatePartialUpdateDto$Outbound = { isEnabled?: boolean | undefined; description?: string | undefined; rules?: Array | undefined; 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 GatePartialUpdateDto$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 GatePartialUpdateDto$ { /** @deprecated use `GatePartialUpdateDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GatePartialUpdateDto$Outbound` instead. */ type Outbound = GatePartialUpdateDto$Outbound; } //# sourceMappingURL=gatepartialupdatedto.d.ts.map