import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; /** * An array of Variant objects */ export type AutotunePartialUpdateDtoVariants = { /** * Variant name */ name: string; /** * Variant JSON data */ json?: any | undefined; }; /** * The initial time period where Autotune will equally split the traffic. */ export declare const AutotunePartialUpdateDtoExplorationWindow: { 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 AutotunePartialUpdateDtoExplorationWindow = ClosedEnum; /** * The maximum duration between the exposure and success event that counts as a success. */ export declare const AutotunePartialUpdateDtoAttributionWindow: { 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 AutotunePartialUpdateDtoAttributionWindow = 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 AutotunePartialUpdateDtoWinnerThreshold: { 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 AutotunePartialUpdateDtoWinnerThreshold = ClosedEnum; export type AutotunePartialUpdateDto = { /** * A brief summary of what the autotune is being used for. */ description?: string | undefined; /** * An array of Variant objects. */ variants?: Array | undefined; /** * The event you are trying to optimize for. */ successEvent?: string | undefined; /** * 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?: AutotunePartialUpdateDtoExplorationWindow | undefined; /** * The maximum duration between the exposure and success event that counts as a success. */ attributionWindow?: AutotunePartialUpdateDtoAttributionWindow | undefined; /** * 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?: AutotunePartialUpdateDtoWinnerThreshold | undefined; }; /** @internal */ export declare const AutotunePartialUpdateDtoVariants$inboundSchema: z.ZodType; /** @internal */ export type AutotunePartialUpdateDtoVariants$Outbound = { name: string; json?: any | undefined; }; /** @internal */ export declare const AutotunePartialUpdateDtoVariants$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 AutotunePartialUpdateDtoVariants$ { /** @deprecated use `AutotunePartialUpdateDtoVariants$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AutotunePartialUpdateDtoVariants$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AutotunePartialUpdateDtoVariants$Outbound` instead. */ type Outbound = AutotunePartialUpdateDtoVariants$Outbound; } /** @internal */ export declare const AutotunePartialUpdateDtoExplorationWindow$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AutotunePartialUpdateDtoExplorationWindow$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 AutotunePartialUpdateDtoExplorationWindow$ { /** @deprecated use `AutotunePartialUpdateDtoExplorationWindow$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 `AutotunePartialUpdateDtoExplorationWindow$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 AutotunePartialUpdateDtoAttributionWindow$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AutotunePartialUpdateDtoAttributionWindow$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 AutotunePartialUpdateDtoAttributionWindow$ { /** @deprecated use `AutotunePartialUpdateDtoAttributionWindow$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 `AutotunePartialUpdateDtoAttributionWindow$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 AutotunePartialUpdateDtoWinnerThreshold$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AutotunePartialUpdateDtoWinnerThreshold$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 AutotunePartialUpdateDtoWinnerThreshold$ { /** @deprecated use `AutotunePartialUpdateDtoWinnerThreshold$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly EightyPercent: "80%"; readonly NinetyPercent: "90%"; readonly NinetyFivePercent: "95%"; readonly NinetyEightPercent: "98%"; readonly NinetyNinePercent: "99%"; }>; /** @deprecated use `AutotunePartialUpdateDtoWinnerThreshold$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 AutotunePartialUpdateDto$inboundSchema: z.ZodType; /** @internal */ export type AutotunePartialUpdateDto$Outbound = { description?: string | undefined; variants?: Array | undefined; successEvent?: string | undefined; successEventValue?: string | undefined; explorationWindow?: string | undefined; attributionWindow?: string | undefined; winnerThreshold?: string | undefined; }; /** @internal */ export declare const AutotunePartialUpdateDto$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 AutotunePartialUpdateDto$ { /** @deprecated use `AutotunePartialUpdateDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AutotunePartialUpdateDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AutotunePartialUpdateDto$Outbound` instead. */ type Outbound = AutotunePartialUpdateDto$Outbound; } //# sourceMappingURL=autotunepartialupdatedto.d.ts.map