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