import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export type TeamCreationDtoDefaultGateMetrics = { /** * The name of the metric. */ name: string; /** * The type of the metric. */ type: string; }; export type TeamCreationDtoDefaultExperimentPrimaryMetrics = { /** * The name of the metric. */ name: string; /** * The type of the metric. */ type: string; }; export type TeamCreationDtoDefaultExperimentSecondaryMetrics = { /** * The name of the metric. */ name: string; /** * The type of the metric. */ type: string; }; export type TeamCreationDtoDefaultHoldoutMetrics = { /** * The name of the metric. */ name: string; /** * The type of the metric. */ type: string; }; /** * Who can change team configurations: "anyone" or "team_only". */ export declare const TeamCreationDtoChangeTeamConfigs: { readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; }; /** * Who can change team configurations: "anyone" or "team_only". */ export type TeamCreationDtoChangeTeamConfigs = ClosedEnum; /** * Who can review and approve changes: "anyone", "team_only", or "admin_only". */ export declare const TeamCreationDtoReviewApproval: { readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; readonly AdminOnly: "admin_only"; }; /** * Who can review and approve changes: "anyone", "team_only", or "admin_only". */ export type TeamCreationDtoReviewApproval = ClosedEnum; export type TeamCreationDto = { /** * The name of the team. */ name: string; /** * Array of member email addresses in the team. */ members: Array; /** * Array of admin email addresses in the team. */ admins: Array; /** * Default gate metrics for the team. */ defaultGateMetrics: Array; /** * Default primary metrics for experiments in the team. */ defaultExperimentPrimaryMetrics: Array; /** * Default secondary metrics for experiments in the team. */ defaultExperimentSecondaryMetrics: Array; /** * Default holdout metrics for the team. */ defaultHoldoutMetrics: Array; /** * Who can change team configurations: "anyone" or "team_only". */ changeTeamConfigs: TeamCreationDtoChangeTeamConfigs; /** * Who can review and approve changes: "anyone", "team_only", or "admin_only". */ reviewApproval: TeamCreationDtoReviewApproval; /** * Default target applications for the team. */ defaultTargetApplications: Array; /** * Default holdout ID for the team, if applicable. */ defaultHoldoutID?: any | null | undefined; /** * Whether reviews are required for changes, if applicable. */ requireReviews?: any | null | undefined; /** * Whether gate templates are required for the team, if applicable. */ requireGateTemplates?: any | null | undefined; /** * Whether experiment templates are required for the team, if applicable. */ requireExperimentTemplates?: any | null | undefined; }; /** @internal */ export declare const TeamCreationDtoDefaultGateMetrics$inboundSchema: z.ZodType; /** @internal */ export type TeamCreationDtoDefaultGateMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const TeamCreationDtoDefaultGateMetrics$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 TeamCreationDtoDefaultGateMetrics$ { /** @deprecated use `TeamCreationDtoDefaultGateMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TeamCreationDtoDefaultGateMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TeamCreationDtoDefaultGateMetrics$Outbound` instead. */ type Outbound = TeamCreationDtoDefaultGateMetrics$Outbound; } /** @internal */ export declare const TeamCreationDtoDefaultExperimentPrimaryMetrics$inboundSchema: z.ZodType; /** @internal */ export type TeamCreationDtoDefaultExperimentPrimaryMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const TeamCreationDtoDefaultExperimentPrimaryMetrics$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 TeamCreationDtoDefaultExperimentPrimaryMetrics$ { /** @deprecated use `TeamCreationDtoDefaultExperimentPrimaryMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TeamCreationDtoDefaultExperimentPrimaryMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TeamCreationDtoDefaultExperimentPrimaryMetrics$Outbound` instead. */ type Outbound = TeamCreationDtoDefaultExperimentPrimaryMetrics$Outbound; } /** @internal */ export declare const TeamCreationDtoDefaultExperimentSecondaryMetrics$inboundSchema: z.ZodType; /** @internal */ export type TeamCreationDtoDefaultExperimentSecondaryMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const TeamCreationDtoDefaultExperimentSecondaryMetrics$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 TeamCreationDtoDefaultExperimentSecondaryMetrics$ { /** @deprecated use `TeamCreationDtoDefaultExperimentSecondaryMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TeamCreationDtoDefaultExperimentSecondaryMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TeamCreationDtoDefaultExperimentSecondaryMetrics$Outbound` instead. */ type Outbound = TeamCreationDtoDefaultExperimentSecondaryMetrics$Outbound; } /** @internal */ export declare const TeamCreationDtoDefaultHoldoutMetrics$inboundSchema: z.ZodType; /** @internal */ export type TeamCreationDtoDefaultHoldoutMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const TeamCreationDtoDefaultHoldoutMetrics$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 TeamCreationDtoDefaultHoldoutMetrics$ { /** @deprecated use `TeamCreationDtoDefaultHoldoutMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TeamCreationDtoDefaultHoldoutMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TeamCreationDtoDefaultHoldoutMetrics$Outbound` instead. */ type Outbound = TeamCreationDtoDefaultHoldoutMetrics$Outbound; } /** @internal */ export declare const TeamCreationDtoChangeTeamConfigs$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TeamCreationDtoChangeTeamConfigs$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 TeamCreationDtoChangeTeamConfigs$ { /** @deprecated use `TeamCreationDtoChangeTeamConfigs$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; }>; /** @deprecated use `TeamCreationDtoChangeTeamConfigs$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; }>; } /** @internal */ export declare const TeamCreationDtoReviewApproval$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TeamCreationDtoReviewApproval$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 TeamCreationDtoReviewApproval$ { /** @deprecated use `TeamCreationDtoReviewApproval$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; readonly AdminOnly: "admin_only"; }>; /** @deprecated use `TeamCreationDtoReviewApproval$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; readonly AdminOnly: "admin_only"; }>; } /** @internal */ export declare const TeamCreationDto$inboundSchema: z.ZodType; /** @internal */ export type TeamCreationDto$Outbound = { name: string; members: Array; admins: Array; defaultGateMetrics: Array; defaultExperimentPrimaryMetrics: Array; defaultExperimentSecondaryMetrics: Array; defaultHoldoutMetrics: Array; changeTeamConfigs: string; reviewApproval: string; defaultTargetApplications: Array; defaultHoldoutID?: any | null | undefined; requireReviews?: any | null | undefined; requireGateTemplates?: any | null | undefined; requireExperimentTemplates?: any | null | undefined; }; /** @internal */ export declare const TeamCreationDto$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 TeamCreationDto$ { /** @deprecated use `TeamCreationDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TeamCreationDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TeamCreationDto$Outbound` instead. */ type Outbound = TeamCreationDto$Outbound; } //# sourceMappingURL=teamcreationdto.d.ts.map