import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export type ExperimentPartialUpdateDtoLinks = { /** * The URL of the link */ url: string; /** * The title of the link */ title?: string | undefined; }; export type ExperimentPartialUpdateDtoGroups = { name: string; id?: any | null | undefined; size: number; parameterValues: { [k: string]: any; }; disabled?: boolean | undefined; description?: string | undefined; foreignGroupID?: string | undefined; }; export type ExperimentPartialUpdateDtoPrimaryMetrics = { name: string; type: string; }; export type ExperimentPartialUpdateDtoSecondaryMetrics = { name: string; type: string; }; /** * Target apps assigned to this experiment */ export type ExperimentPartialUpdateDtoTargetApps = string | Array; /** * Default error margin used for results */ export declare const ExperimentPartialUpdateDtoDefaultConfidenceInterval: { readonly Eighty: "80"; readonly Ninety: "90"; readonly NinetyFive: "95"; readonly NinetyEight: "98"; readonly NinetyNine: "99"; }; /** * Default error margin used for results */ export type ExperimentPartialUpdateDtoDefaultConfidenceInterval = ClosedEnum; /** * The current status of the experiment */ export declare const ExperimentPartialUpdateDtoStatus: { readonly Active: "active"; readonly Setup: "setup"; readonly DecisionMade: "decision_made"; readonly Abandoned: "abandoned"; readonly Archived: "archived"; }; /** * The current status of the experiment */ export type ExperimentPartialUpdateDtoStatus = ClosedEnum; export type ExperimentPartialUpdateDto = { /** * A helpful summary of what this experiment does */ description?: string | undefined; /** * The type of ID which the experiment is based on */ idType?: string | undefined; /** * A statement that will be tested by this experiment */ hypothesis?: string | undefined; /** * Links to relevant documentation or resources */ links?: Array | undefined; /** * The test groups for your experiment */ groups?: Array | undefined; /** * Optional control group ID */ controlGroupID?: string | undefined; /** * Percent of layer allocated to this experiment */ allocation?: number | undefined; /** * 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 | undefined; /** * Default error margin used for results */ defaultConfidenceInterval?: ExperimentPartialUpdateDtoDefaultConfidenceInterval | undefined; /** * The current status of the experiment */ status?: ExperimentPartialUpdateDtoStatus | undefined; /** * 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 ExperimentPartialUpdateDtoLinks$inboundSchema: z.ZodType; /** @internal */ export type ExperimentPartialUpdateDtoLinks$Outbound = { url: string; title?: string | undefined; }; /** @internal */ export declare const ExperimentPartialUpdateDtoLinks$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 ExperimentPartialUpdateDtoLinks$ { /** @deprecated use `ExperimentPartialUpdateDtoLinks$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoLinks$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoLinks$Outbound` instead. */ type Outbound = ExperimentPartialUpdateDtoLinks$Outbound; } /** @internal */ export declare const ExperimentPartialUpdateDtoGroups$inboundSchema: z.ZodType; /** @internal */ export type ExperimentPartialUpdateDtoGroups$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 ExperimentPartialUpdateDtoGroups$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 ExperimentPartialUpdateDtoGroups$ { /** @deprecated use `ExperimentPartialUpdateDtoGroups$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoGroups$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoGroups$Outbound` instead. */ type Outbound = ExperimentPartialUpdateDtoGroups$Outbound; } /** @internal */ export declare const ExperimentPartialUpdateDtoPrimaryMetrics$inboundSchema: z.ZodType; /** @internal */ export type ExperimentPartialUpdateDtoPrimaryMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const ExperimentPartialUpdateDtoPrimaryMetrics$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 ExperimentPartialUpdateDtoPrimaryMetrics$ { /** @deprecated use `ExperimentPartialUpdateDtoPrimaryMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoPrimaryMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoPrimaryMetrics$Outbound` instead. */ type Outbound = ExperimentPartialUpdateDtoPrimaryMetrics$Outbound; } /** @internal */ export declare const ExperimentPartialUpdateDtoSecondaryMetrics$inboundSchema: z.ZodType; /** @internal */ export type ExperimentPartialUpdateDtoSecondaryMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const ExperimentPartialUpdateDtoSecondaryMetrics$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 ExperimentPartialUpdateDtoSecondaryMetrics$ { /** @deprecated use `ExperimentPartialUpdateDtoSecondaryMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoSecondaryMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoSecondaryMetrics$Outbound` instead. */ type Outbound = ExperimentPartialUpdateDtoSecondaryMetrics$Outbound; } /** @internal */ export declare const ExperimentPartialUpdateDtoTargetApps$inboundSchema: z.ZodType; /** @internal */ export type ExperimentPartialUpdateDtoTargetApps$Outbound = string | Array; /** @internal */ export declare const ExperimentPartialUpdateDtoTargetApps$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 ExperimentPartialUpdateDtoTargetApps$ { /** @deprecated use `ExperimentPartialUpdateDtoTargetApps$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoTargetApps$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDtoTargetApps$Outbound` instead. */ type Outbound = ExperimentPartialUpdateDtoTargetApps$Outbound; } /** @internal */ export declare const ExperimentPartialUpdateDtoDefaultConfidenceInterval$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ExperimentPartialUpdateDtoDefaultConfidenceInterval$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 ExperimentPartialUpdateDtoDefaultConfidenceInterval$ { /** @deprecated use `ExperimentPartialUpdateDtoDefaultConfidenceInterval$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Eighty: "80"; readonly Ninety: "90"; readonly NinetyFive: "95"; readonly NinetyEight: "98"; readonly NinetyNine: "99"; }>; /** @deprecated use `ExperimentPartialUpdateDtoDefaultConfidenceInterval$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 ExperimentPartialUpdateDtoStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ExperimentPartialUpdateDtoStatus$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 ExperimentPartialUpdateDtoStatus$ { /** @deprecated use `ExperimentPartialUpdateDtoStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Setup: "setup"; readonly DecisionMade: "decision_made"; readonly Abandoned: "abandoned"; readonly Archived: "archived"; }>; /** @deprecated use `ExperimentPartialUpdateDtoStatus$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 ExperimentPartialUpdateDto$inboundSchema: z.ZodType; /** @internal */ export type ExperimentPartialUpdateDto$Outbound = { description?: string | undefined; idType?: string | undefined; hypothesis?: string | undefined; links?: Array | undefined; groups?: Array | undefined; controlGroupID?: string | undefined; allocation?: number | undefined; 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 | undefined; defaultConfidenceInterval?: string | undefined; status?: string | undefined; 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 ExperimentPartialUpdateDto$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 ExperimentPartialUpdateDto$ { /** @deprecated use `ExperimentPartialUpdateDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentPartialUpdateDto$Outbound` instead. */ type Outbound = ExperimentPartialUpdateDto$Outbound; } //# sourceMappingURL=experimentpartialupdatedto.d.ts.map