import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export type ExperimentFullUpdateDtoLinks = { /** * The URL of the link */ url: string; /** * The title of the link */ title?: string | undefined; }; export type ExperimentFullUpdateDtoGroups = { name: string; id?: any | null | undefined; size: number; parameterValues: { [k: string]: any; }; disabled?: boolean | undefined; description?: string | undefined; foreignGroupID?: string | undefined; }; export type ExperimentFullUpdateDtoPrimaryMetrics = { name: string; type: string; }; export type ExperimentFullUpdateDtoSecondaryMetrics = { name: string; type: string; }; /** * Target apps assigned to this experiment */ export type ExperimentFullUpdateDtoTargetApps = string | Array; /** * Default error margin used for results */ export declare const ExperimentFullUpdateDtoDefaultConfidenceInterval: { readonly Eighty: "80"; readonly Ninety: "90"; readonly NinetyFive: "95"; readonly NinetyEight: "98"; readonly NinetyNine: "99"; }; /** * Default error margin used for results */ export type ExperimentFullUpdateDtoDefaultConfidenceInterval = ClosedEnum; /** * The current status of the experiment */ export declare const ExperimentFullUpdateDtoStatus: { readonly Active: "active"; readonly Setup: "setup"; readonly DecisionMade: "decision_made"; readonly Abandoned: "abandoned"; readonly Archived: "archived"; }; /** * The current status of the experiment */ export type ExperimentFullUpdateDtoStatus = ClosedEnum; export type ExperimentFullUpdateDto = { /** * A helpful summary of what this experiment does */ description: string; /** * The type of ID which the experiment is based on */ idType: string; /** * A statement that will be tested by this experiment */ hypothesis: string; /** * Links to relevant documentation or resources */ links?: Array | undefined; /** * The test groups for your experiment */ groups: Array; /** * Optional control group ID */ controlGroupID?: string | undefined; /** * Percent of layer allocated to this experiment */ allocation: number; /** * Primary metric tags for the experiment */ primaryMetricTags?: Array | undefined; /** * Secondary metric tags for the experiment */ secondaryMetricTags?: Array | undefined; /** * Main metrics needed to evaluate your hypothesis */ primaryMetrics?: Array | undefined; /** * Additional metrics to monitor that might impact the analysis or final decision of the experiment */ secondaryMetrics?: Array | undefined; /** * Target apps assigned to this experiment */ targetApps?: string | Array | undefined; /** * Tags associated with the experiment */ tags?: Array | undefined; /** * How long the experiment is expected to last in days */ duration?: number | undefined; /** * Target exposures for the experiment */ targetExposures?: number | undefined; /** * Restrict your experiment to users passing the selected feature gate */ targetingGateID?: any | null | undefined; /** * Is Bonferroni correction applied? */ bonferroniCorrection: boolean; /** * Default error margin used for results */ defaultConfidenceInterval: ExperimentFullUpdateDtoDefaultConfidenceInterval; /** * The current status of the experiment */ status: ExperimentFullUpdateDtoStatus; /** * ID of the launched group, null otherwise */ launchedGroupID?: any | null | undefined; /** * Source name of the assignment */ assignmentSourceName?: string | undefined; /** * Name of the source experiment for assignment */ assignmentSourceExperimentName?: string | undefined; /** * The Statsig ID of the creator of this experiment */ creatorID?: any | null | undefined; /** * The email of the creator of this experiment */ creatorEmail?: any | null | undefined; /** * For Warehouse Native */ isAnalysisOnly?: any | null | undefined; /** * Enterprise only */ team?: any | null | undefined; /** * Allocation duration in days */ allocationDuration?: number | undefined; /** * Cohorted analysis duration in days */ cohortedAnalysisDuration?: number | undefined; /** * Fixed analysis duration in days */ fixedAnalysisDuration?: number | undefined; }; /** @internal */ export declare const ExperimentFullUpdateDtoLinks$inboundSchema: z.ZodType; /** @internal */ export type ExperimentFullUpdateDtoLinks$Outbound = { url: string; title?: string | undefined; }; /** @internal */ export declare const ExperimentFullUpdateDtoLinks$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 ExperimentFullUpdateDtoLinks$ { /** @deprecated use `ExperimentFullUpdateDtoLinks$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoLinks$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoLinks$Outbound` instead. */ type Outbound = ExperimentFullUpdateDtoLinks$Outbound; } /** @internal */ export declare const ExperimentFullUpdateDtoGroups$inboundSchema: z.ZodType; /** @internal */ export type ExperimentFullUpdateDtoGroups$Outbound = { name: string; id?: any | null | undefined; size: number; parameterValues: { [k: string]: any; }; disabled?: boolean | undefined; description?: string | undefined; foreignGroupID?: string | undefined; }; /** @internal */ export declare const ExperimentFullUpdateDtoGroups$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 ExperimentFullUpdateDtoGroups$ { /** @deprecated use `ExperimentFullUpdateDtoGroups$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoGroups$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoGroups$Outbound` instead. */ type Outbound = ExperimentFullUpdateDtoGroups$Outbound; } /** @internal */ export declare const ExperimentFullUpdateDtoPrimaryMetrics$inboundSchema: z.ZodType; /** @internal */ export type ExperimentFullUpdateDtoPrimaryMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const ExperimentFullUpdateDtoPrimaryMetrics$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 ExperimentFullUpdateDtoPrimaryMetrics$ { /** @deprecated use `ExperimentFullUpdateDtoPrimaryMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoPrimaryMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoPrimaryMetrics$Outbound` instead. */ type Outbound = ExperimentFullUpdateDtoPrimaryMetrics$Outbound; } /** @internal */ export declare const ExperimentFullUpdateDtoSecondaryMetrics$inboundSchema: z.ZodType; /** @internal */ export type ExperimentFullUpdateDtoSecondaryMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const ExperimentFullUpdateDtoSecondaryMetrics$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 ExperimentFullUpdateDtoSecondaryMetrics$ { /** @deprecated use `ExperimentFullUpdateDtoSecondaryMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoSecondaryMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoSecondaryMetrics$Outbound` instead. */ type Outbound = ExperimentFullUpdateDtoSecondaryMetrics$Outbound; } /** @internal */ export declare const ExperimentFullUpdateDtoTargetApps$inboundSchema: z.ZodType; /** @internal */ export type ExperimentFullUpdateDtoTargetApps$Outbound = string | Array; /** @internal */ export declare const ExperimentFullUpdateDtoTargetApps$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 ExperimentFullUpdateDtoTargetApps$ { /** @deprecated use `ExperimentFullUpdateDtoTargetApps$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoTargetApps$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDtoTargetApps$Outbound` instead. */ type Outbound = ExperimentFullUpdateDtoTargetApps$Outbound; } /** @internal */ export declare const ExperimentFullUpdateDtoDefaultConfidenceInterval$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ExperimentFullUpdateDtoDefaultConfidenceInterval$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 ExperimentFullUpdateDtoDefaultConfidenceInterval$ { /** @deprecated use `ExperimentFullUpdateDtoDefaultConfidenceInterval$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Eighty: "80"; readonly Ninety: "90"; readonly NinetyFive: "95"; readonly NinetyEight: "98"; readonly NinetyNine: "99"; }>; /** @deprecated use `ExperimentFullUpdateDtoDefaultConfidenceInterval$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Eighty: "80"; readonly Ninety: "90"; readonly NinetyFive: "95"; readonly NinetyEight: "98"; readonly NinetyNine: "99"; }>; } /** @internal */ export declare const ExperimentFullUpdateDtoStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ExperimentFullUpdateDtoStatus$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 ExperimentFullUpdateDtoStatus$ { /** @deprecated use `ExperimentFullUpdateDtoStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Setup: "setup"; readonly DecisionMade: "decision_made"; readonly Abandoned: "abandoned"; readonly Archived: "archived"; }>; /** @deprecated use `ExperimentFullUpdateDtoStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Setup: "setup"; readonly DecisionMade: "decision_made"; readonly Abandoned: "abandoned"; readonly Archived: "archived"; }>; } /** @internal */ export declare const ExperimentFullUpdateDto$inboundSchema: z.ZodType; /** @internal */ export type ExperimentFullUpdateDto$Outbound = { description: string; idType: string; hypothesis: string; links?: Array | undefined; groups: Array; controlGroupID?: string | undefined; allocation: number; primaryMetricTags?: Array | undefined; secondaryMetricTags?: Array | undefined; primaryMetrics?: Array | undefined; secondaryMetrics?: Array | undefined; targetApps?: string | Array | undefined; tags?: Array | undefined; duration?: number | undefined; targetExposures?: number | undefined; targetingGateID?: any | null | undefined; bonferroniCorrection: boolean; defaultConfidenceInterval: string; status: string; launchedGroupID?: any | null | undefined; assignmentSourceName?: string | undefined; assignmentSourceExperimentName?: string | undefined; creatorID?: any | null | undefined; creatorEmail?: any | null | undefined; isAnalysisOnly?: any | null | undefined; team?: any | null | undefined; allocationDuration?: number | undefined; cohortedAnalysisDuration?: number | undefined; fixedAnalysisDuration?: number | undefined; }; /** @internal */ export declare const ExperimentFullUpdateDto$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 ExperimentFullUpdateDto$ { /** @deprecated use `ExperimentFullUpdateDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentFullUpdateDto$Outbound` instead. */ type Outbound = ExperimentFullUpdateDto$Outbound; } //# sourceMappingURL=experimentfullupdatedto.d.ts.map