import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export type DefaultGateMetrics = { /** * The name of the metric. */ name: string; /** * The type of the metric. */ type: string; }; export type DefaultExperimentPrimaryMetrics = { /** * The name of the metric. */ name: string; /** * The type of the metric. */ type: string; }; export type DefaultExperimentSecondaryMetrics = { /** * The name of the metric. */ name: string; /** * The type of the metric. */ type: string; }; export type DefaultHoldoutMetrics = { /** * 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 ChangeTeamConfigs: { readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; }; /** * Who can change team configurations: "anyone" or "team_only". */ export type ChangeTeamConfigs = ClosedEnum; /** * Who can review and approve changes: "anyone", "team_only", or "admin_only". */ export declare const ReviewApproval: { 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 ReviewApproval = ClosedEnum; export type Members = { /** * The email address of the user. */ email: string; /** * The user's first name. */ firstName: string; /** * The user's last name. */ lastName: string; /** * The user's role, which can be 'Admin', 'Read Only', 'Member', or any custom role name. */ role: string; }; export type Admins = { /** * The email address of the user. */ email: string; /** * The user's first name. */ firstName: string; /** * The user's last name. */ lastName: string; /** * The user's role, which can be 'Admin', 'Read Only', 'Member', or any custom role name. */ role: string; }; export type TeamDto = { /** * The name of the team. */ name: string; /** * 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: ChangeTeamConfigs; /** * Who can review and approve changes: "anyone", "team_only", or "admin_only". */ reviewApproval: ReviewApproval; /** * 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; members: Array; admins: Array; }; /** @internal */ export declare const DefaultGateMetrics$inboundSchema: z.ZodType; /** @internal */ export type DefaultGateMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const DefaultGateMetrics$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 DefaultGateMetrics$ { /** @deprecated use `DefaultGateMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DefaultGateMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DefaultGateMetrics$Outbound` instead. */ type Outbound = DefaultGateMetrics$Outbound; } /** @internal */ export declare const DefaultExperimentPrimaryMetrics$inboundSchema: z.ZodType; /** @internal */ export type DefaultExperimentPrimaryMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const DefaultExperimentPrimaryMetrics$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 DefaultExperimentPrimaryMetrics$ { /** @deprecated use `DefaultExperimentPrimaryMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DefaultExperimentPrimaryMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DefaultExperimentPrimaryMetrics$Outbound` instead. */ type Outbound = DefaultExperimentPrimaryMetrics$Outbound; } /** @internal */ export declare const DefaultExperimentSecondaryMetrics$inboundSchema: z.ZodType; /** @internal */ export type DefaultExperimentSecondaryMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const DefaultExperimentSecondaryMetrics$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 DefaultExperimentSecondaryMetrics$ { /** @deprecated use `DefaultExperimentSecondaryMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DefaultExperimentSecondaryMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DefaultExperimentSecondaryMetrics$Outbound` instead. */ type Outbound = DefaultExperimentSecondaryMetrics$Outbound; } /** @internal */ export declare const DefaultHoldoutMetrics$inboundSchema: z.ZodType; /** @internal */ export type DefaultHoldoutMetrics$Outbound = { name: string; type: string; }; /** @internal */ export declare const DefaultHoldoutMetrics$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 DefaultHoldoutMetrics$ { /** @deprecated use `DefaultHoldoutMetrics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DefaultHoldoutMetrics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DefaultHoldoutMetrics$Outbound` instead. */ type Outbound = DefaultHoldoutMetrics$Outbound; } /** @internal */ export declare const ChangeTeamConfigs$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ChangeTeamConfigs$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 ChangeTeamConfigs$ { /** @deprecated use `ChangeTeamConfigs$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; }>; /** @deprecated use `ChangeTeamConfigs$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; }>; } /** @internal */ export declare const ReviewApproval$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ReviewApproval$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 ReviewApproval$ { /** @deprecated use `ReviewApproval$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; readonly AdminOnly: "admin_only"; }>; /** @deprecated use `ReviewApproval$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Anyone: "anyone"; readonly TeamOnly: "team_only"; readonly AdminOnly: "admin_only"; }>; } /** @internal */ export declare const Members$inboundSchema: z.ZodType; /** @internal */ export type Members$Outbound = { email: string; firstName: string; lastName: string; role: string; }; /** @internal */ export declare const Members$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 Members$ { /** @deprecated use `Members$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Members$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Members$Outbound` instead. */ type Outbound = Members$Outbound; } /** @internal */ export declare const Admins$inboundSchema: z.ZodType; /** @internal */ export type Admins$Outbound = { email: string; firstName: string; lastName: string; role: string; }; /** @internal */ export declare const Admins$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 Admins$ { /** @deprecated use `Admins$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Admins$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Admins$Outbound` instead. */ type Outbound = Admins$Outbound; } /** @internal */ export declare const TeamDto$inboundSchema: z.ZodType; /** @internal */ export type TeamDto$Outbound = { name: string; 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; members: Array; admins: Array; }; /** @internal */ export declare const TeamDto$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 TeamDto$ { /** @deprecated use `TeamDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TeamDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TeamDto$Outbound` instead. */ type Outbound = TeamDto$Outbound; } //# sourceMappingURL=teamdto.d.ts.map