import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; /** * An array of Variant objects */ export type AutotuneFullUpdateDtoVariants = { /** * Variant name */ name: string; /** * Variant JSON data */ json?: any | undefined; }; /** * The initial time period where Autotune will equally split the traffic. */ export declare const AutotuneFullUpdateDtoExplorationWindow: { readonly Onehr: "1hr"; readonly TwentyFourhr: "24hr"; readonly FortyEighthr: "48hr"; readonly One: "1"; readonly TwentyFour: "24"; readonly FortyEight: "48"; readonly Onehrs: "1hrs"; readonly TwentyFourhrs: "24hrs"; readonly FortyEighthrs: "48hrs"; }; /** * The initial time period where Autotune will equally split the traffic. */ export type AutotuneFullUpdateDtoExplorationWindow = ClosedEnum; /** * The maximum duration between the exposure and success event that counts as a success. */ export declare const AutotuneFullUpdateDtoAttributionWindow: { readonly Onehr: "1hr"; readonly Twohr: "2hr"; readonly Fourhr: "4hr"; readonly TwentyFourhr: "24hr"; readonly Onehrs: "1hrs"; readonly Twohrs: "2hrs"; readonly Fourhrs: "4hrs"; readonly TwentyFourhrs: "24hrs"; readonly One: "1"; readonly Two: "2"; readonly Four: "4"; readonly TwentyFour: "24"; }; /** * The maximum duration between the exposure and success event that counts as a success. */ export type AutotuneFullUpdateDtoAttributionWindow = ClosedEnum; /** * The "probability of best" threshold a variant needs to achieve for Autotune to declare it the winner, stop collecting data, and direct all traffic. */ export declare const AutotuneFullUpdateDtoWinnerThreshold: { readonly EightyPercent: "80%"; readonly NinetyPercent: "90%"; readonly NinetyFivePercent: "95%"; readonly NinetyEightPercent: "98%"; readonly NinetyNinePercent: "99%"; }; /** * The "probability of best" threshold a variant needs to achieve for Autotune to declare it the winner, stop collecting data, and direct all traffic. */ export type AutotuneFullUpdateDtoWinnerThreshold = ClosedEnum; /** * Autotune object */ export type AutotuneFullUpdateDto = { /** * A brief summary of what the autotune is being used for. */ description?: string | undefined; /** * An array of Variant objects. */ variants: Array; /** * The event you are trying to optimize for. */ successEvent: string; /** * The value that should come with the event for it to be considered successful. */ successEventValue?: string | undefined; /** * The initial time period where Autotune will equally split the traffic. */ explorationWindow: AutotuneFullUpdateDtoExplorationWindow; /** * The maximum duration between the exposure and success event that counts as a success. */ attributionWindow: AutotuneFullUpdateDtoAttributionWindow; /** * The "probability of best" threshold a variant needs to achieve for Autotune to declare it the winner, stop collecting data, and direct all traffic. */ winnerThreshold: AutotuneFullUpdateDtoWinnerThreshold; }; /** @internal */ export declare const AutotuneFullUpdateDtoVariants$inboundSchema: z.ZodType; /** @internal */ export type AutotuneFullUpdateDtoVariants$Outbound = { name: string; json?: any | undefined; }; /** @internal */ export declare const AutotuneFullUpdateDtoVariants$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 AutotuneFullUpdateDtoVariants$ { /** @deprecated use `AutotuneFullUpdateDtoVariants$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AutotuneFullUpdateDtoVariants$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AutotuneFullUpdateDtoVariants$Outbound` instead. */ type Outbound = AutotuneFullUpdateDtoVariants$Outbound; } /** @internal */ export declare const AutotuneFullUpdateDtoExplorationWindow$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AutotuneFullUpdateDtoExplorationWindow$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 AutotuneFullUpdateDtoExplorationWindow$ { /** @deprecated use `AutotuneFullUpdateDtoExplorationWindow$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Onehr: "1hr"; readonly TwentyFourhr: "24hr"; readonly FortyEighthr: "48hr"; readonly One: "1"; readonly TwentyFour: "24"; readonly FortyEight: "48"; readonly Onehrs: "1hrs"; readonly TwentyFourhrs: "24hrs"; readonly FortyEighthrs: "48hrs"; }>; /** @deprecated use `AutotuneFullUpdateDtoExplorationWindow$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Onehr: "1hr"; readonly TwentyFourhr: "24hr"; readonly FortyEighthr: "48hr"; readonly One: "1"; readonly TwentyFour: "24"; readonly FortyEight: "48"; readonly Onehrs: "1hrs"; readonly TwentyFourhrs: "24hrs"; readonly FortyEighthrs: "48hrs"; }>; } /** @internal */ export declare const AutotuneFullUpdateDtoAttributionWindow$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AutotuneFullUpdateDtoAttributionWindow$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 AutotuneFullUpdateDtoAttributionWindow$ { /** @deprecated use `AutotuneFullUpdateDtoAttributionWindow$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Onehr: "1hr"; readonly Twohr: "2hr"; readonly Fourhr: "4hr"; readonly TwentyFourhr: "24hr"; readonly Onehrs: "1hrs"; readonly Twohrs: "2hrs"; readonly Fourhrs: "4hrs"; readonly TwentyFourhrs: "24hrs"; readonly One: "1"; readonly Two: "2"; readonly Four: "4"; readonly TwentyFour: "24"; }>; /** @deprecated use `AutotuneFullUpdateDtoAttributionWindow$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Onehr: "1hr"; readonly Twohr: "2hr"; readonly Fourhr: "4hr"; readonly TwentyFourhr: "24hr"; readonly Onehrs: "1hrs"; readonly Twohrs: "2hrs"; readonly Fourhrs: "4hrs"; readonly TwentyFourhrs: "24hrs"; readonly One: "1"; readonly Two: "2"; readonly Four: "4"; readonly TwentyFour: "24"; }>; } /** @internal */ export declare const AutotuneFullUpdateDtoWinnerThreshold$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AutotuneFullUpdateDtoWinnerThreshold$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 AutotuneFullUpdateDtoWinnerThreshold$ { /** @deprecated use `AutotuneFullUpdateDtoWinnerThreshold$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly EightyPercent: "80%"; readonly NinetyPercent: "90%"; readonly NinetyFivePercent: "95%"; readonly NinetyEightPercent: "98%"; readonly NinetyNinePercent: "99%"; }>; /** @deprecated use `AutotuneFullUpdateDtoWinnerThreshold$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly EightyPercent: "80%"; readonly NinetyPercent: "90%"; readonly NinetyFivePercent: "95%"; readonly NinetyEightPercent: "98%"; readonly NinetyNinePercent: "99%"; }>; } /** @internal */ export declare const AutotuneFullUpdateDto$inboundSchema: z.ZodType; /** @internal */ export type AutotuneFullUpdateDto$Outbound = { description?: string | undefined; variants: Array; successEvent: string; successEventValue?: string | undefined; explorationWindow: string; attributionWindow: string; winnerThreshold: string; }; /** @internal */ export declare const AutotuneFullUpdateDto$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 AutotuneFullUpdateDto$ { /** @deprecated use `AutotuneFullUpdateDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AutotuneFullUpdateDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AutotuneFullUpdateDto$Outbound` instead. */ type Outbound = AutotuneFullUpdateDto$Outbound; } //# sourceMappingURL=autotunefullupdatedto.d.ts.map